a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0} @grey: #6a7b81; @white: #ffffff; @orange: #63747c; @pale-orange: lighten(@orange, 10%); @body-font: 'Open Sans', sans-serif; @dark-text: #222; @body-bg: #f3f4f5; .rounded(@radius: 5px) { border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } a { color: @dark-text; text-decoration: underline; transition: color 0.5s ease; &:hover { color: @grey; } } /* html element 62.5% font-size for REM use */ html { margin: 0; padding: 0; } body { line-height: 1; min-width: 300px; margin: 0; padding: 0; } .error{color: red;} .cb, .CB { clear:both; } .cl, .CL { clear: left; } img { max-width:100%; vertical-align:bottom; } strong{ font-weight: bold;} body, div, span, p{ font: 400 13px/21px @body-font; color: @dark-text; } p{ margin: 2px 0 6px; clear: left; } h1{ font: normal 30px/38px @body-font; color: @dark-text; margin: 12px 0 8px; a{ color: @dark-text; text-decoration: none; } } h2{ font: normal 24px/26px @body-font; color: @dark-text; a{ color: @dark-text; text-decoration: none; } } h3{ font: normal 19px/24px @body-font; color: @dark-text; margin: 12px 0 4px; a{ color: @dark-text; text-decoration: none; } } h4{ font: bold 14px/18px @body-font; color: @dark-text; margin: 8px 0 6px; a{ color: @dark-text; text-decoration: none; } } .hidden{display: none;} .outer-wrapper{ margin:0; width: 100%; padding: 0; background: @body-bg; min-height: 900px; } .page-wrapper { max-width:1118px; margin:0 auto; padding: 0; } .outer-top{ background: #fff; /* header */ header { height: 148px; margin: 0 auto; max-width: 1118px; .logo { float: left; width: 28%; a{ display: block; line-height: 148px; img{ vertical-align: middle; } } } /* nav */ nav { /*margin: 30px 0 30px;*/ float: right; width: 70%; ul{ width: 100%; float: left; margin-top: 17px; text-align: right; li{ display: inline-block; list-style: none; text-align: right; padding: 0px 30px; a{ padding: 0px; text-decoration: none; display: block; float: left; font: 600 15px/30px @body-font; color: @grey; background: url('img/nav-dot.png') repeat-x bottom left; transition: color 0.5s ease; &:hover{ color: #333; } } ul{ display: none; } } li.menu-item-22{ padding-right: 0; } li.current-menu-item, .current_page_parent{ a{ &:hover{ } } } } } .media{ width: 30%; float: right; margin-top: 40px; text-align: right; a{ display: inline-block; img{ vertical-align: middle;-webkit-transition: -webkit-transform 0.4s ease-out; -moz-transition: -moz-transform 0.4s ease-out; transition: transform 0.4s ease-out; &:hover{ -webkit-transform: rotateZ(360deg); -moz-transform: rotateZ(360deg); transform: rotateZ(360deg); } } } } } } .cat-nav{ li.menu-item-type-post_type a{ display: none; } li.menu-item-type-taxonomy a, .current-menu-parent li a{ display: block; background: transparent url( "img/cat-unchecked.gif") no-repeat scroll left center; padding-left: 20px; line-height: 20px; text-decoration: none; } .current-menu-parent .current-menu-item a, .current_page_parent li.current-menu-parent a { background: transparent url( "img/cat-checked.gif") no-repeat scroll left center; } } #post-327 li.current-menu-item li a{ background: transparent url( "img/cat-checked.gif") no-repeat scroll left center; } /*HOME PAGE*/ main#post-4{ float: left; width: 100%; .home-sidebar-left{ float: left; width: 22%; .sidebar-content-wrapper{ padding: 30px 30px 30px 0; h1{ margin: 0 0 24px 0; padding: 30px 0 26px 0; line-height: 30px; background: url('img/body-dot.png') repeat-x bottom left, url('img/body-dot.png') repeat-x top left; } h3{ line-height: 28px; } } } .home-content{ float: left; width: 78%; .home-content-inner{ width: 100%; img{ transition: opacity 0.5s ease; &:hover{ /*opacity: 0.5;*/ } } .hr1{ width: 99%; background: #fff; padding: 0 0.5% 0 0.5%; float: left; border-bottom: 3px solid #fff; span{ float: left; margin: 0; padding: 0; margin-right: 0.5%; img{ width: 100%; height: auto !important; } &.img1{ width: 15.4%; } &.img2{ width: 29.6%; } &.img3{ width: 15.4%; } &.img4{ margin: 0; width: 38.1%; } } } .hr2{ width: 99%; background: #fff; padding: 0 0.5% 0 0.5%; float: left; border-bottom: 3px solid #fff; span{ float: left; margin: 0; padding: 0; margin-right: 0.5%; img{ width: 100%; height: auto !important; } &.img1{ width: 30.4%; } &.img2{ width: 37.5%; } &.img3{ width: 15.3%; } &.img4{ margin: 0; width: 15.3%; } } } .hr3{ width: 99%; background: #fff; padding: 0 0.5% 0 0.5%; float: left; border-bottom: 3px solid #fff; span{ float: left; margin: 0; padding: 0; margin-right: 0.5%; img{ width: 100%; height: auto !important; } &.img1{ width: 38.1%; } &.img2{ width: 31.2%; } &.img3{ width: 29.7%; margin: 0; } } } .hr4{ width: 99%; background: #fff; padding: 0 0.5% 0 0.5%; float: left; border-bottom: 3px solid #fff; span{ float: left; margin: 0; padding: 0; margin-right: 0.5%; img{ width: 100%; height: auto !important; } &.img1{ width: 15.4%; } &.img2{ width: 36.4%; } &.img3{ width: 15.4%; } &.img4{ width: 15.4%; } &.img5{ width: 15.4%; margin: 0; } } } .hr5{ width: 99%; background: #fff; padding: 0 0.5% 0 0.5%; float: left; border-bottom: 3px solid #fff; span{ float: left; margin: 0; padding: 0; margin-right: 0.5%; img{ width: 100%; height: auto !important; } &.img1{ width: 15.4%; } &.img2{ width: 29.5%; } &.img3{ width: 15.4%; } &.img4{ width: 38.1%; margin-right: 0; } } } } } } main{ h1{ background: url("img/body-dot.png") repeat-x scroll left bottom, url("img/body-dot.png") repeat-x scroll left top rgba(0, 0, 0, 0); line-height: 35px; margin: 30px 0 24px; padding: 30px 0 26px; } .page-center-content{ float: left; width: 100%; #about-header{ background: none repeat scroll 0 0 #fff; border-bottom: 2px solid #fff; padding: 0 0.3%; width: 99.4%; height: auto; float: left; span{ height: auto; margin-right: 0.3%; float: left; overflow: hidden; img{ width: 100%; height: auto; } } span.about-header-1 { width: 28.55%; } span.about-header-2{ width: 13.51%; } span.about-header-3{ width: 28.55%; } span.about-header-4{ width: 13.51%; } span.about-header-5{ width: 14.58%; margin: 0; } } .page-center-content-inner{ width: 54.5%; margin: 0 auto; .about_col_1{ width: 47%; float: left; margin-right: 4%; } .about_col_2{ width: 47%; float: left; } .contact-details{ width: 37%; float: left; .phone a, .email a{ line-height: 36px; padding-left: 45px; display: inline-block; transition: opacity 0.5s ease; &:hover{ opacity: 0.5; } } .phone a{ background: transparent url( "img/KS_Phone.png") no-repeat scroll left center; } .email a{ background: transparent url( "img/KS_Email.png") no-repeat scroll left center; } } div.wpcf7{ float: left; width: 53%; margin-right: 4%; p{ margin-bottom: 10px; .wpcf7-text, .wpcf7-textarea{ width: 100%; border: solid 1px @dark-text; padding: 0 5px; line-height: 27px; color: #788892; font-family: @body-font; } .wpcf7-textarea{ height: 200px; } } p.submit-wrapper{ .wpcf7-submit{ font-family: @body-font; background: url("img/body-dot.png") repeat-x scroll left bottom, url("img/body-dot.png") repeat-x scroll left top rgba(0, 0, 0, 0); border: none; cursor: pointer; color: @dark-text; padding: 5px 0; } } } } } } #top-button{ position: fixed; bottom: 10px; img{ position: relative; left: -40px; } } /*BLOG*/ .category, .blog{ main{ width: 70%; margin: 0 auto; padding-top: 20px; .blog-sidebar-left{ float: left; width: 23%; margin-right: 2%; .blog-sidebar-content-wrapper{ } } .blog-content{ float: right; width: 75%; .stories-heading{ width: 100%; text-align: center; font: 700 15px/18px @body-font; background: transparent url("img/body-dot.png") repeat-x scroll left bottom; margin-bottom: 10px; padding-bottom: 20px; } .blog-content-inner{ width: 100%; .blog-border{ background: transparent url("img/body-dot.png") repeat-x scroll left bottom; width: 100%; margin: 20px 0 24px; height: 3px; } .blog-col{ width: 98.6%; float: left; padding: 3px 0.7%; margin-bottom: 30px; .blog-post{ width: 32.86%; float: left; a{ h1{ color: @dark-text; margin: 0; padding: 10px 6% 8px; background: none; font: 400 15px/18px @body-font; text-decoration: none; } h2{ color: @dark-text; margin: 0; padding: 2px 6% 10px; background: none; font: 600 12px/20px @body-font; text-decoration: none; } img{ width: 100%; border: 2px solid @white; } text-decoration: none; transition: opacity 0.5s ease; &:hover{ opacity: 0.5; text-decoration: none; } } } .post-middle img{ padding: 0 0.7%; } } } } } } .single{ main{ width: 70%; margin: 0 auto; padding-top: 20px; .blog-sidebar-left{ float: left; width: 23%; margin-right: 2%; .blog-sidebar-content-wrapper{ } } .blog-content{ float: right; width: 75%; .blog-content-inner{ width: 100%; .header-image{ border: 3px solid @white; img{ width: 100%; height: auto; } } .post-copy{ padding: 0 4% 24px; h1{ span{ display: block; } } } .blog-col{ width: 98.6%; float: left; padding: 3px 0.7% 0; margin-bottom: 30px; background: @white; .one-of-one{ padding-bottom: 3px; clear: both; width: 100%; img{width: 100%; height: auto !important;} } .one-of-two{ padding: 0 0.7% 3px 0; width: 49.65%; float: left; clear: both; img{width: 100%; height: auto !important;} } .two-of-two{ padding-bottom: 3px; width: 49.65%; float: left; img{width: 100%; height: auto !important;} } .one-of-three{ padding-bottom: 3px; width: 32.86%; float: left; img{width: 100%; height: auto !important;} } .two-of-three{ padding: 0 0.7% 3px; width: 32.86%; float: left; img{width: 100%; height: auto !important;} } .three-of-three{ padding-bottom: 3px; width: 32.86%; float: left; img{width: 100%; height: auto !important;} } .one-landscape-portrait{ padding: 0 0.7% 3px 0; width: 62.65%; float: left; clear: both; img{width: 100%; height: auto !important;} } .two-landscape-portrait{ padding-bottom: 3px; width: 36.65%; float: left; img{width: 100%; height: auto !important;} } .one-portrait-landscape{ padding: 0 0.7% 3px 0; width: 36.65%; float: left; clear: both; img{width: 100%; height: auto !important;} } .two-portrait-landscape{ padding-bottom: 3px; width: 62.65%; float: left; img{width: 100%; height: auto !important;} } } } } } } /*Gallery*/ main.post-8{ .gallery-center-content{ width: 100%; background: @white; .gallery-center-content-inner{ width: 99.16%; padding: 0px 0.4% 0px 0.4%; span{ float: left; display: block; margin: 0 0.4% 0 0; padding: 0; height: 242px; overflow: hidden; img{ width: 100%; height: auto; transition: opacity 0.5s ease; &:hover{ opacity: 0.5; } } } .gr1{ width: 100%; float: left; padding-bottom: 3px; span.img1{ width: 31.215%; } span.img2{ width: 36.59%; } span.img3{ width: 15.5%; } span.img4{ width: 15.5%; margin-right: 0; } } .sr1{ width: 100%; float: left; padding-bottom: 3px; span.img1{ width: 35%; } span.img2{ width: 31%; } span.img3{ width: 33.2%; margin-right: 0; } } .tr1{ width: 100%; float: left; padding-bottom: 3px; span.img1{ width: 15.5%; } span.img2{ width: 32%; } span.img3{ width: 15.5%; } span.img4{ width: 35.8%; margin-right: 0; } } .fr1{ width: 100%; float: left; padding-bottom: 3px; span.img1{ width: 15.5%; } span.img2{ width: 36.4%; } span.img3{ width: 15.5%; } span.img4{ width: 15.5%; } span.img5{ width: 15.5%; margin-right: 0; } } } } } .footer{ .footer-copy{ #dev{} #copy{} } } @media only screen and (max-width : 1100px) { main.post-8 .gallery-center-content .gallery-center-content-inner span { height: 200px; } } @media only screen and (max-width : 960px) { .outer-top header { .logo a { line-height: 100px; } nav { float: left; width: 100%; ul { float: none; margin: 0 auto; text-align: center; width: 100%; } } } main.post-8 .gallery-center-content .gallery-center-content-inner span { height: 180px; } } @media only screen and (max-width : 850px) { main.post-8 .gallery-center-content .gallery-center-content-inner span { height: 145px; } } @media only screen and (max-width : 700px) { .outer-top header { .logo a { line-height: 100px; img{ max-width: 300px; } } nav { float: left; width: 100%; ul { float: none; margin: 0 auto; text-align: center; width: 100%; li { padding: 0 15px; } } } .media { width: 50%; } } main .page-center-content .page-center-content-inner { width: 80.5%; .contact-details, div.wpcf7 { clear: left; float: left; width: 100%; margin: 0; } } #top main .blog-sidebar-left, #top main .blog-content { margin-right: 0%; width: 100%; float: left; } main#post-4 { .home-content, .home-sidebar-left { float: left; width: 100%; } .home-sidebar-left .sidebar-content-wrapper { clear: both; padding: 3%; width: 94%; } } main.post-8 .gallery-center-content .gallery-center-content-inner span { height: 112px; } } @media only screen and (max-width : 550px) { .outer-top header { height: 325px; .logo a { line-height: 100px; img{ width: 70%; max-width: 300px; } } nav { float: left; width: 100%; ul { float: none; margin: 0 auto; text-align: center; width: 100%; li { clear: both; float: none; margin: 0 auto; padding: 0; text-align: center; width: 100%; a{ display: block; width: 100%; } } } } .media { float: none; width: 100%; text-align: center; margin-top: 10px; } .logo { float: none; width: 100%; text-align: center; } } main .page-center-content .page-center-content-inner { width: 80.5%; .contact-details, div.wpcf7 { clear: left; float: left; width: 100%; margin: 0; } .about_col_1, .about_col_2 { margin: 0%; width: 100%; } } main#post-4 { .home-content, .home-sidebar-left { float: left; width: 100%; } .home-sidebar-left .sidebar-content-wrapper { clear: both; padding: 3%; width: 94%; } } #top main .blog-sidebar-left, #top main .blog-content { margin-right: 0%; width: 100%; float: left; } .category main .blog-content .blog-content-inner .blog-col .blog-post, .blog main .blog-content .blog-content-inner .blog-col .blog-post { float: left; width: 100%; } main.post-8 .gallery-center-content .gallery-center-content-inner { div{ padding:0 !important; } span { height: auto; width: 100% !important; border-bottom: 3px solid #fff; } } }