@media (max-width: 767px) {
#header { position:relative;}
#header .top-bar, #header .top-bar-simple{ display:none;}
#header .search-btn, #header .logo{ margin:10px 0 !important; border:0;}
#header .search-btn{ width:40px;}
#header .search-btn{ height:42px;font-size: 24px;}
.navbar-toggle .icon-bar{border-bottom: 3px solid #333;}
.navbar-toggle{ margin:17px 0 0;}
#header .main-nav{ width:100%;padding: 0 0 10px;}
#header .main-nav li{ float:none;}
#header .main-nav li a{ line-height:normal !important;font-size: 14px; padding:10px 0 !important; color:#333;border-top: 1px solid #f1f1f1 !important;}
.smallHeader #header{ position:relative; top:0;}
#footer .footer-left, #footer .footer-right {float: none;width: auto;}
#footer .height-50{ height:20px;}
section { padding: 60px 0;}
.owl-item .image-and-text-box { padding: 0;}
.image-and-text-box .bordered-thumb{ margin-left:0; margin-right:0;}
.contact-us-bar, .contact-us-bar .text-right{ text-align:center;}
.contact-us-bar .btn{ margin-top:15px;}
.contact-us-bar h4 {font-size: 18px;}
.owl-item .service-box{ margin:0;}
#header .main-nav li a i{ background: #f9f9f9;float: right;height: 27px;line-height: 27px; margin-top: -5px;text-align: center;width: 40px;}
.tp-rightarrow.default, .tp-leftarrow.default{ display:none !important;}
#header.header-two .main-nav{ margin:0;}
h1, .h1, h2, .h2, h3, .h3{ font-size:24px;}
.text-box{ margin-bottom:30px;}
.highlighted-sec li{ width:100%;}
.header-links{ display:none;}
#header.header-three .main-nav{ padding:0;}
}

@media (max-width: 590px) {
body{ min-width:320px; font-size:16px;}
input[type="text"], input[type="email"], input[type="number"], input[type="password"]{ height:44px;}
#footer .footer-top p { line-height: 25px;}
#footer .footer-top {padding: 20px 0;}
.footer-bottom p{ text-align:center; padding:5px 0;}
#footer .footer-bottom{ padding:10px 0;}
.navbar-toggle { margin-top: 14px;}
}
@media (max-width: 450px) {.quries-img{ width:100%; margin:0 0 15px 0;}}

@media (min-width: 768px) and (max-width: 991px) {
#header .logo{ margin:14px 0 10px !important; border:0;}
#header{ position:relative;}
#header .main-nav li a i { width: auto; padding-left: 2px;}
#header .main-nav { float: left;}
#header .main-nav li{ margin:0 7px;}
#header .main-nav li a{ line-height:normal; padding:22px 0; font-size:15.5px;}
#footer .footer-left, #footer .footer-right {float: none;width: auto;}
#footer .height-50{ height:20px;}
.contact-us-bar, .contact-us-bar .text-right{ text-align:center;}
.contact-us-bar .btn{ margin-top:15px;}
#header.header-two .main-nav li a{ padding-left:5px;padding-right:5px;}
#header.header-two .main-nav li { margin: 0 5px;}
#header.header-two .header-contact-widget li{ padding-top:5px;}
#header .logo, #header.header-two .logo{ float:none; display:block; text-align:center;}
}

@media (min-width: 992px) and (max-width: 1199px) {
#header .main-nav li {margin: 0 4px;}
#header .main-nav li a i { width: 15px;}
#header .main-nav li a{ font-size:14px;}
#header.header-two .header-contact-widget li{ padding-right:15px;}
#header.header-two .header-contact-widget li p{ font-size:14px;}
#footer .footer-top .col-md-3{ width:24%;}
#footer .footer-top .col-md-9{ width:76%;}


}


@media (min-width: 768px){.table-mobile-heading{ display:none;}.tp-rightarrow.default, .tp-leftarrow.default{ opacity:1 !important;}.doing-the-right-text{ font-size:33px;}}
@media (min-width: 1170px){#footer .footer-top .col-md-3{ width:20%;}#footer .footer-top .col-md-9{ width:80%;}}

@media (min-width: 768px) and (max-width: 991px) {
.header-links, #header.header-three .main-nav{ float:none; text-align:center; padding:0;}
.header-links li, #header.header-three  .main-nav li{ float:none; display:inline-block;}


}
/* HEADER 3 */
@media (min-width: 992px) and (max-width: 1800px) {
.header-links{ margin-top:10px;position: relative;top: 12px;}
#header.header-three  .main-nav li a{ line-height:75px;}
#header.header-three .main-nav{ float:right;}
#header.header-three .main-nav li a { font-size: 16px;}
.fixed-header.smallHeader #header.header-three .header-links { margin-top: -56px;}
}
@media (min-width: 1801px){
.fixed-header.smallHeader #header.header-three  .logo{ margin:13px 30px 0;}
.fixed-header.smallHeader #header.header-three  .main-nav{ padding-top:5px;}
.fixed-header.smallHeader #header.header-three  .header-links{ margin-top:16px;}
}