/* #Mobile (Portrait) ================================================== */ /* Note: Design for a width of 320px */ @media only screen and (max-width: 767px) { .main-box {max-width:320px; padding:19px 0;} /* ---------------------------------------- Slider ---------------------------------------- */ #slider-wrapper {height:185px;} .camera_prev, .camera_next, .camera_commands {top:40%;} .camera_wrap .camera_pag {bottom:-24px;} .camera_thumbs_cont ul li {width:140px;} .camera_thumbs_cont {display:none;} /*---------------------------------------- Navigations ---------------------------------------- */ /* Primary navigation */ nav.primary { clear:both; width:100%; margin:0; text-align:center; padding:0px 0; } .sf-menu {display:none;} /*---------------------------------------- Header ---------------------------------------- */ #header {height:179px;} .row-logo {height:101px;} .row-menu { height:35px; background:none; border:none; } /* Logo */ .logo {padding:10px 0 0 0px;} /* Header widget */ #widget-header ul { padding:10px 0px 0 0; margin:0; overflow:hidden; } #widget-header ul li { margin:0 0px 2px 0px; float:none; display:block; text-align:right; font-size:10px; line-height:15px; } #widget-header ul li a { font-size:10px; line-height:15px; } #top-search { left:10px; top:-58px; width:181px; } .bg-form {width:181px;} #top-search .input-search {width:157px;} /*---------------------------------------- Recent Posts Cars ---------------------------------------- */ .right-content-area .latestpost li { margin:0 0px 16px 0; width:100%; float:none; display:block; } /*---------------------------------------- Recent Posts Projects ---------------------------------------- */ .recent-posts li .featured-thumbnail { width:100%; height:auto; float:none; display:block; margin:4px 0px 20px 0; } /*---------------------------------------- Recent Posts Services ---------------------------------------- */ .recent-posts.services li { width:100%; float:none; margin:0 0px 14px 0; } /* Flickr widget */ .flickrImages a { width:49px; height:49px; } /* Request a quote */ .box-text { width:100%; float:none; } .box-button { width:100%; float:none; text-align:center; padding-left:0; padding-right:0; } .box-button .button { float:none; } /*---------------------------------------- Post ---------------------------------------- */ .post-holder .featured-thumbnail { width:100%; height:auto; margin:4px 0px 20px 0; } .post-holder h2.entry-title, .post-holder h1.entry-title {padding-top:0;} .post-holder.testimonial .featured-thumbnail { width:150px; height:150px; } /* Comments */ .comment-meta { position:static; padding-bottom:1em; } .comment-author { padding-bottom:0; } #commentform input[type="text"], #commentform textarea { width:100%; } /* Comment Form */ .commentlist ul.children {margin-left:0;} /* Team */ .recent-posts.team li { float:none; width:auto; margin:0 0 30px 0; } .recent-posts.team li .featured-thumbnail { width:120px; height:auto; overflow:hidden; float:left; margin:0 20px 0 0; } /* Services */ .recent-posts.services li { float:none; width:100%; margin:0 0 30px 0; } .recent-posts.services li .featured-thumbnail { float:left; } /*--------------------------------------- 404 ---------------------------------------- */ .error404-num {font-size:170px;} /*---------------------------------------- Testimonials ---------------------------------------- */ article.testimonial, .testi-single { padding:245px 20px 20px 45px; background-position:5px 239px; } article.testimonial .featured-thumbnail, .testi-single .featured-thumbnail { width:200px!important; height:200px!important; left:50%; margin-left:-100px; top:20px; } /* Images */ .frame.alignleft, .frame.alignright, .frame.alignnone { margin-right:0; width:284px; } .frame.alignleft img, .frame.alignright img, .frame.alignnone img { width:100%; height:auto; } /* Related Posts */ .related-posts li { width:auto; float:none; margin:0 0 .5em 0; } .related-posts li:first-child { margin-left:0; } .related-posts li .featured-thumbnail { display:none; } /* SlidesJS */ .slides_container { width:300px; } .slides_container .item { width:300px; height:250px; } .slides_container .item .thumbnail img { width:100%; height:auto; } /* Address */ .address dt { width:auto; margin:0 0 20px 0; padding:0 0 0 55px; font-size:12px; float:none; } .address dd { float:none; width:auto; padding:0 0 0 43px; margin:0 0 20px 0; } .address dd span { width:100px; } /* Comments */ .commentlist ul.children { margin-left:0; } /*---------------------------------------- Portfolio ---------------------------------------- */ /* Default layout 3 columns */ #gallery .portfolio li { width:300px; margin:0 0px 30px 0; float:none; } #gallery .portfolio li a.image-wrap { width:300px; height:194px; } #gallery .portfolio li a.image-wrap img { width:100%; height:auto; } /* 1 column portfolio*/ #gallery.one_column .portfolio li { width:300px; margin:0 0px 30px 0; float:none; } #gallery.one_column .portfolio li a.image-wrap { width:300px; height:194px; float:none; margin-left:0px; margin-bottom:20px; } /* 2 columns portfolio*/ #gallery.two_columns .portfolio li { width:300px; margin:0 0 30px 0; float:none; } #gallery.two_columns .portfolio li a.image-wrap { width:300px; height:194px; } /* 4 columns portfolio*/ #gallery.four_columns .portfolio li { width:300px; margin:0 0 30px 0; float:none; } #gallery.four_columns .portfolio li a.image-wrap { width:300px; height:194px; } /* Carousel */ .es-carousel ul li h4 { display:none; } .es-carousel ul li .excerpt { display:none; } .es-carousel ul li .link { display:none; } .post_list .featured-thumbnail { float:left; margin:0 20px 0 0; } .latestpost .featured-thumbnail { float:left; margin:0 20px 0 0; } /* Post Formats ---------------------------------------- */ /* Image Post Format */ .image-post-format img { width:100%; overflow:hidden; } /* Gallery Post Format */ .slides_container_gallery { width:300px; height:150px; } .slides_container_gallery .g_item { width:300px; } /* Audio Format Type */ .audiojs .scrubber { width:130px; } /* Google Map */ .google-map { position: relative; padding-bottom: 46.25%; height: 0; overflow: hidden; margin:0 0 2% 0; } .google-map iframe, .google-map object, .google-map embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* Contact form */ .wpcf7-not-valid-tip { width:287px !important; position:absolute; left:0 !important; top:0 !important; padding:4px 0 4px 10px !important; background:#f3b7b7 !important; color:red !important; border:1px solid red !important; } /*---------------------------------------- Sidebar ---------------------------------------- */ #sidebar {padding-top:30px;} #searchform .searching {width:240px;} /*---------------------------------------- Footer ---------------------------------------- */ nav.footer { float:none; text-align:center; padding:0 0 10px 0; } nav.footer ul {text-align:center;} #footer-text { width:auto; float:none; text-align:center; } }