.post img, #logo { max-width: 100%; height: auto; width: auto; }
#mobile_nav { display: none; position: relative; padding: 10px 20px 10px 20px; font-size: 15px; color: #fff; text-transform: uppercase; background: #01A7CB; text-align: center; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
#mobile_nav:hover { color: #fff; text-decoration: none; }
#mobile_nav > span { display: block; width: 17px; height: 11px; background: url(//palmwayoptical.com/wp-content/themes/palmway-optical/images/responsive_arrow.png) no-repeat; position: absolute; top: 17px; left: 19px; -moz-transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; }
#mobile_nav.opened > span { -moz-transform: rotate(-180deg); -webkit-transform: rotate(-180deg); -o-transform: rotate(-180deg); transform: rotate(-180deg); }
#mobile_menu { position: absolute; top: 42px; left: 0px; background: #012E63; width: 460px; text-align: center; z-index: 1000; padding: 15px 0 9px; display: none; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
#mobile_menu ul { display: block !important; visibility: visible !important; padding-top: 15px; margin-bottom: -15px; }
#mobile_menu li { padding-bottom: 15px; }
#mobile_menu a { font-style: normal; color: #fff; }
#mobile_menu li.current-menu-item > a, #mobile_menu a:hover { color: #fff; text-decoration: none; }
nav#top-menu ul.mobile_nav { width: 320px; border: 1px solid #d6d6d6; background: #fafafa; display: none; }
.mobile_nav li ul { position: relative; top: 0; width: auto; display: block !important; visibility: visible !important; }
ul#top-menu ul { display: none; }
.wp-caption { max-width: 96%; padding: 8px; }
embed, iframe, object, video { max-width: 100%; }
@media only screen and ( min-width: 960px ) and ( max-width: 1080px ) {
#header-inner, .container, #footer-content { width: 960px; }
a.service-box { width: 190px; margin-right: 40px; }
.footer-widget { width: 280px; }
}
@media only screen and ( min-width: 768px ) and ( max-width: 960px ) {
#header-inner, .container, #footer-content { width: 750px; }
#logo { width: 180px !important; }
#header-info { width: 375px; top: 0px; text-align: right; }
#header-info #header-email { margin-right: 0px; }
#header-info #header-address { display: block; margin-top: 10px; }
ul#top-menu li { padding: 0px 0px 0px 25px; }
#slider-1-layer-3 { margin-left: -60px !important; }
#slider-1-layer-5 { margin-left: 60px !important; }
a.service-box { width: 120px; margin-right: 40px; }
a.service-box h2 { font-size: 20px; line-height: 23px; }
#content { padding: 0px 30px; }
#left-area { width: 487px; }
#sidebar { width: 155px; padding-left: 37px; }
.widget { width: auto; }
.footer-widget { width: 238px; }
#nav_menu-2 { width: 170px; }
}
@media only screen and ( max-width: 960px ) { 
#et-search, p#et-search-title, p#et-search-title span { background: none !important; }
#et-search { width: auto !important; height: auto !important; }
#et-search-inner { padding: 0 !important; }
#et-search-right { float: none !important; clear: both; text-align: left !important; }
#et_search_submit { background: #BBB8B8 !important; color: #111 !important; }
p#et-search-title span { padding: 0 !important; color: #111 !important; text-shadow: none !important; }
#et-searchinput { width: auto !important; }
p#et_choose_posts, p#et_choose_pages, p#et_choose_date, p#et_choose_cat { float: none !important; }
#et-search-left { float: none !important; width: 100% !important; }
}
@media only screen and ( max-width: 767px ) { 
#header-inner, .container, #footer-content { width: 460px; }
#logo { float: none; width: 180px !important; margin: 0 auto 10px; display: block; }
#header-info { position: relative; top: auto; left: auto; right: auto; text-align: center; width: auto; }
#header-info #header-phone, #header-info #header-email, #header-info #header-address { display: block; text-align: center; margin-bottom: 10px; }
#header-info #header-email { display: block; margin-right: 0px; }
#header-info #header-address { display: block; margin-top: 10px; }
#top-menu { display: none; }
#mobile_nav { display: block; }
#slider-1-layer-2, #slider-1-layer-1, #slider-1-layer-3, #slider-1-layer-5 { display: none !important; }
a.service-box { width: auto; margin-right: 0px; margin-bottom: 10px; padding: 10px 23px; display: block; float: none; }
a.service-box i { font-size: 40px; }
a.service-box h2 { font-size: 16px; line-height: 20px; }
#content { padding: 0px 0px; }
#left-area, .enquiries-page #left-area, #enquiries-form { width: auto; float: none; margin: 0px 0px; }
h1.category-title { font-size:  20px; }
h1, h2, h3, h4, h5, h6 { font-size: 20px; padding-bottom: 12px; }
h2.title { text-align: center; }
p { padding-bottom: 18px; }
.post p.meta-info { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; border-bottom: none; }
.post { padding: 35px 0px 10px; }
.comment ul.children { padding-left: 0; }
.quote-center { font-size: 14px !important; }
#sidebar { float: none; margin: 0px 0px; padding: 0px 0px; width: auto; }
.widget { float: none; }
.fullwidth #et_pt_gallery { margin-left: -17px; margin-right: -15px; }
.fullwidth .et_pt_gallery_entry { margin: 0 0px 32px 4px; }
.footer-widget { float: none; width: auto; margin-right: 0px; text-align: center; }
.footer-widget #share-buttons a { display: inline-block !important; float: none !important; text-align: center !important; }
#nav_menu-2 ul li { display: block; width: auto; font-size: 18px; background: none transparent; padding: 0px 0px; }
#copyright, #developed { float: none; text-align: center; }
}
@media only screen and ( max-width: 479px ) {
#header-inner, .container, #footer-content { width: 300px; }
#logo { float: none; width: 180px !important; margin: 0 auto 10px; display: block; }
#header-info { position: relative; top: auto; left: auto; right: auto; text-align: center; width: auto; }
#header-info #header-phone, #header-info #header-email, #header-info #header-address { display: block; text-align: center; margin-bottom: 10px; }
#header-info #header-email { display: block; margin-right: 0px; }
#header-info #header-address { display: block; margin-top: 10px; }
#top-menu, #sidebar { display: none; }
#mobile_nav { display: block; }
#mobile_menu { width: 300px; }
#slider-1-layer-2, #slider-1-layer-1, #slider-1-layer-3, #slider-1-layer-5 { display: none !important; }
a.service-box { width: auto; margin-right: 0px; margin-bottom: 10px; padding: 10px 23px; display: block; float: none; }
a.service-box i { font-size: 40px; }
a.service-box h2 { font-size: 16px; line-height: 20px; }
#content { padding: 0px 0px; }
#left-area, .enquiries-page #left-area, #enquiries-form { width: auto; float: none; margin: 0px 0px; }
h1.category-title { font-size:  20px; }
h1, h2, h3, h4, h5, h6 { font-size: 20px; padding-bottom: 12px; }
h2.title { text-align: center; }
p { padding-bottom: 18px; }
.post p.meta-info { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; border-bottom: none; }
.post { padding: 35px 0px 10px; }
.comment ul.children { padding-left: 0; }
.quote-center { font-size: 14px !important; }
#sidebar { float: none; margin: 0px 0px; padding: 0px 0px; width: auto; }
.widget { float: none; }
.post p.meta-info { border-bottom: 1px solid #F0F0F0; }
.fullwidth #et_pt_gallery { margin-left: 6px; }
.et-protected { width: auto !important; }
.et-protected-form { background: none !important; }
.et-protected-form p input { margin: 0 !important; }
.footer-widget { float: none; width: auto; margin-right: 0px; text-align: center; }
.footer-widget #share-buttons a { display: inline-block !important; float: none !important; text-align: center !important; }
#nav_menu-2 ul li { display: block; width: auto; font-size: 18px; background: none transparent; padding: 0px 0px; }
#copyright, #developed { float: none; text-align: center; }
}