/* Portrait phones and smaller */

@media (min-width: 320px) and (max-width: 480px) {
#homepagearae .mainslider .item {
    direction: rtl;
    height: auto;
    overflow: hidden;
    position: relative;
}

header, nav {display: none;}

#headerphone {display: block;}

#section_one .searcharea {margin: 0 auto 20px;width: auto;}

#section_one .searchareahidden {bottom: auto;margin: 0 15px;top: 0;width: auto;}

#section_one .searchareahidden form input {width: 80%;}

#section_one .searchareahidden form button {width: 20%;}

#section_one .socialmedia {margin: 0 auto;}

#section_one .socialmedia a {line-height: 40px;margin: 0 10px;}

.block_one .postone, .block_four .postone {margin: 15px auto 0;}

.block_one .postone .imgthumb, .block_three .postone .imgthumb, .block_four .postone .imgthumb {height: 230px;}

.block_seven .postitem .imgthumb, #postsinfiles .postitem .imgthumb {float: none;height: 200px;width: 100%;}

.block_seven .postitem .content, #postsinfiles .postitem .content {margin: 0 auto;padding: 10px 0;}

footer .footerone .footermenu ul li {width: 50%;}

footer .footerone .socialmedia {margin: 15px auto 20px;}

footer .footertwo .copyrights {float: none;text-align: center;}

footer .footertwo .castle {float: none;text-align: center;}
iframe {
    width: 100%;
    height: auto;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}
}



/* Smart phones and Tablets */

@media (min-width: 481px) and (max-width: 767px) {

header, nav {display: none;}

#headerphone {display: block;}

#section_one .searcharea {margin: 0 auto 20px;width: auto;}

#section_one .searchareahidden {bottom: auto;margin: 0 15px;top: 0;width: auto;}

#section_one .searchareahidden form input {width: 80%;}

#section_one .searchareahidden form button {width: 20%;}

#section_one .socialmedia {margin: 0 auto;}

#section_one .socialmedia a {line-height: 40px;margin: 0 10px;}

.block_one .postone, .block_four .postone {margin: 15px auto 0;}

.block_one .postone .imgthumb, .block_three .postone .imgthumb, .block_four .postone .imgthumb {height: 230px;}

.block_seven .postitem .imgthumb, #postsinfiles .postitem .imgthumb {float: none;height: 200px;width: 100%;}

.block_seven .postitem .content, #postsinfiles .postitem .content {margin: 0 auto;padding: 10px 0;}

footer .footerone .footermenu ul li {width: 50%;}

footer .footerone .socialmedia {margin: 15px auto 20px;}

footer .footertwo .copyrights {float: none;text-align: center;}

footer .footertwo .castle {float: none;text-align: center;}

}



/* Small Screens */

@media (min-width: 768px) and (max-width: 991px) {
#homepagearae .mainslider .item {
    direction: rtl;
    height: auto;
    overflow: hidden;
    position: relative;
}

header, nav {display: none;}

#headerphone {display: block;}

#section_one .searcharea {margin: 0 auto 20px;width: auto;}

#section_one .searchareahidden {bottom: auto;margin: 0 15px;top: 0;width: auto;}

#section_one .searchareahidden form input {width: 80%;}

#section_one .searchareahidden form button {width: 20%;}

#section_one .socialmedia {margin: 0 auto;}

#section_one .socialmedia a {line-height: 40px;margin: 0 10px;}

.block_one .postone, .block_four .postone {margin: 15px auto 0;}

.block_one .postone .imgthumb, .block_three .postone .imgthumb, .block_four .postone .imgthumb {height: 230px;}

.block_seven .postitem .imgthumb, #postsinfiles .postitem .imgthumb {float: none;height: 200px;width: 100%;}

.block_seven .postitem .content, #postsinfiles .postitem .content {margin: 0 auto;padding: 10px 0;}

footer .footerone .footermenu ul li {width: 50%;}

footer .footerone .socialmedia {margin: 15px auto 20px;}

footer .footertwo .copyrights {float: none;text-align: center;}

footer .footertwo .castle {float: none;text-align: center;}
iframe {
    width: 100%;
    height: auto;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}
}



/* Medium Screens */

@media (max-width: 1000px) {

}



/* Large Screens */

@media (max-width: 1328px) {

}



/* Large Screens */

@media (max-width: 1559px) {

}