/*
Theme Name: SK
Theme URI: 
Author: the SK
Author URI: 
Description: Template for Surrey keyes company.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive
Text Domain: sk
*/

/*------------------------- General -------------------------*/ 

@font-face {
    font-family: 'CenturyGothic';
    src: url('fonts/CenturyGothic.eot?#iefix') format('embedded-opentype'),  
        url('fonts/CenturyGothic.woff') format('woff'), url('CenturyGothic.ttf')  format('truetype'), 
        url('fonts/CenturyGothic.svg#CenturyGothic') format('svg');
    font-weight: normal;
    font-style: normal;
}

html{
    font-size: 10px;
}

body {
    background-color: #ededed;
    margin: 0px;
    font-family: 'CenturyGothic';
    font-weight: normal;
    font-size: 14px;
}
#page {
    width: 100%;
    max-width: 1050px;
    margin:0 auto;
}
img {
    border:0;
}

p{
    margin: 0;
}

ul, ol{
    padding-left: 30px;
    margin: 5px 0;
}

ol{
    list-style-type: lower-latin;
}

li{
    margin-bottom: 5px;
}

.width66{
    width: 66%;
}

.width70{
    width: 70%;
}

.width80{
    width: 80%;
}

.width90{
    width: 90%;
}

.fz15{
	font-size: 15px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/*------------------------- Header -------------------------*/ 
#header {
    padding: 27px 0 22px;
    position: relative;
}

.logo {
    margin-left: 18%;
}

#header .navigation {
    list-style: none;
    margin: 30px 0 0;
    padding: 0px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 50;
}

.navigation li {
    line-height: 16px;
    padding: 9px 10px 10px;
    border-color: #bcbcbc;
    border-style: solid none none;
    border-width: 1px;
    text-align: right;
    margin: 0;
}

.navigation li.first {
    padding: 10px;
    border: 0;
}

.navigation li a {
    color: #757575;
    display: block;
    font-family: 'CenturyGothic';
    font-size: 14px;
    text-decoration: none;
    font-weight: 700;
}

.navigation li.current-menu-item a {
    color: #ff8117;
}

.navigation li a:hover,
.navigation li a:active{
    color: #ff8117;
}

.mobile-menu{
    display: none;
}

.icon-menu{
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(images/icon-menu.png) center no-repeat;
    top: 20px;
    right: 15px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
}

/*------------------------- Sidebar (slider) -------------------------*/

#sidebar{
    position: absolute;
    z-index: 1;
    margin-top: 48px;
    right: 0;
    left: 34.1%;
}

.home #sidebar,
.contact #sidebar{
    z-index: 3;
}

#sidebar ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

/*------------------------- Main -------------------------*/

#main{
    position: relative;
}

.content{
    width: 59.1%;
    position: relative;
    z-index: 2;
    background: url('images/bg-home-content.png') top right no-repeat;
    color: #fff;
    padding: 20px 10% 15px 2.4%;
    box-sizing: border-box;
    height: 55vw;
    max-height: 580px;
}

.content h1{
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: normal;
}

.content a{
    color: #fff;
    font-style: italic;
}

.icon{
    display: inline-block;
    vertical-align: middle;
    background-size: cover;
    margin-right: 3px;
    background-position: center;
}

.icon-phone{
    width: 40px;
    height: 40px;
    background-image: url('images/icon-phone.svg');
}

.icon-mail{
    width: 42px;
    height: 40px;
    background-image: url('images/icon-email.svg');
    position: relative;
    top: -3px;
}

.scroll{
    height: 100%;
}

.contact-social{
    padding: 30px 0 0 20%;
}

.contact-social a{
    width: 52px;
    height: 52px;
    margin: 0 8px;
}

.icon-fb{
    background-image: url('images/fb.png');
}

.icon-in{
    background-image: url('images/in.png');
}

.phone{
    margin-top: 60px;
}

.contact-social.contact{
    margin-top: 65px;
}

.mail, .phone{
    line-height: 45px;
}

.mail a, .phone a{
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}

a.fb-message-blue {
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background-color: #0084ff;
    border: 1px solid #0084ff;
    width: 127px;
    height: 35px;
    line-height: 35px;
    border-radius: 3px;
    outline: none;
    -webkit-transition: all ease .15s;
    -o-transition: all ease .15s;
    -moz-transition: all ease .15s;
    transition: all ease .15s;
    display: block;
    margin: 15px 0 10px;
}
a.fb-message-blue:hover {
    background-color: #2093ff;
    border: 1px solid #2093ff;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
    /* transform: scale(1.15); */ /* uncomment to add zoom effect */
}
a.fb-message-blue:focus {
    background-color: #0084ff;
    border: 1px solid #0084ff;
    -webkit-box-shadow: inset 0px 0px 8px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0px 0px 8px 0px rgba(0,0,0,0.3);
    box-shadow: inset 0px 0px 8px 0px rgba(0,0,0,0.3);
}

.fb-message-blue i {
    background-image: url('https://i.imgur.com/hjwozo7.png');
    background-repeat: no-repeat;
    background-size: 17px;
    background-position: 7px 9px;
    top: -1px;
    height: 18px;
    width: 17px;
    padding: 10px 7px;
    float: left;
}

.big-text{
    font-size: 20px;
    width: 65%;
    padding: 22px 0;
    margin-bottom: 4.5em;
}


.home-text{
    font-size: 24px;
    margin-top: 25px;
    width: 70%;
}

.home-sub-text{
    font-size: 18px;
    margin-bottom:75px;
}



/*------------------------- Blog -------------------------*/

.blog{
    width: 85.7%;
    margin-left: 14.3%;
    background-color: #fff;
    padding: 50px 25px 50px 26%;
    box-sizing: border-box;
    margin-top: 4em;
    min-height: 540px;
    color: #444;
    line-height: 1.4;
    font-size: 15px;
    position: relative;
}

.blog:before{
    content: '';
    display: block;
    max-width: 450px;
    width: 50%;
    height: 100%;
    position: absolute;
    margin: -7.2em 0 0 -46%;
    background: url(images/bg-navigation.png) top right no-repeat;
}

.blog h1{
    color: #940B39;
    font-weight: bolder;
    line-height: 30px;
    padding: 5px 0;
    margin: 20px 0;
    text-transform: uppercase;
}

.blog p{
    margin-bottom: 10px;
}

.entry-title{
    margin: 20px 0 10px;
}

.entry-title a{
    color: #ff8117;
    text-decoration: none;
    font-size: 20px;
}

.more-link{
    color: #ff8117;
}

.pagination{
    text-align: center;
}

.pagination a{
    font-size: 17px;
    color: #ff8117;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
}

#main .mCSB_scrollTools{
    left: 0;
    height: 93%;
    margin-top: 20px;
}

/*------------------------- Footer -------------------------*/

#footer{
    position: relative;
    color: #9E9E9E;
    padding-top: 30px;
}

#footer .navigation{
    margin: 0;
    padding: 0 0 0 10px;
}

#footer li{
    border: none;
    display: inline-block;
}

#footer li:first-child{
    padding-left: 0;
}

#footer li a{
    color: #9E9E9E;
    font-size: 13px;
    font-weight: normal;
}

#footer li a:hover{
    color: #686868;
}

.copyright{
    font-size: 12px;
    text-align: right;
    padding-right: 10px;
    white-space: nowrap;
}

.soclinks{
    text-align: center;
}

.soclinks a{
    margin: 0 10px;
    text-decoration: none;
    color: #757575;
}

#footer > *{
    width: 50%;
    float: left;
    margin: 0;
    box-sizing: border-box;
}

#footer > p{
    line-height: 35px;
}

/*------------------------- Adaptive -------------------------*/

@media only screen and (max-width: 1040px){
/*    #sidebar{
        left: 35.9%; 
    }*/
    .blog:before{
        width: 50%;
    }
    #header .navigation{
        right: 12px;
    }
    .phone {
        margin-top: 50px;
    }
    .contact-social.contact {
        margin-top: 35px;
    }
    .big-text{
        margin-bottom: 4em;
    }
}

@media only screen and (max-width: 1000px){
/*    #sidebar {
        left: 35.5%;
    }*/
    .content{
        padding-right: 13%;
    }
    .scroll .width80{
        width: 72%;
    }
    .scroll .width70{
        width: 68%;
    }
    .big-text{
        font-size: 18px;
    }
    .home-sub-text{
        margin-bottom: 60px;
    }
    .phone {
        margin-top: 36px;
    }
    .contact-social.contact {
        margin-top: 25px;
    }
}

@media only screen and (max-width: 950px){
/*    #sidebar{
        left: 35.2%;
    }*/
    .phone {
        margin-top: 25px;
    }
    .contact-social.contact {
        margin-top: 13px;
    }
    .big-text{
        margin-bottom: 3em;
    }
}

@media only screen and (max-width: 900px){
/*    #sidebar{
        left: 34.9%; 
    }*/
    .blog{
        padding-left: 30%;
    }
    .blog:before{
        width: 55%;
        margin-left: -51%;
    }
    .big-text{
        font-size: 17px;
        margin-bottom: 2.8em;
    }
    .home-sub-text{
        margin-bottom: 40px;
    }
    .phone, .contact-social.contact {
        margin-top: 0;
    }
}

@media only screen and (max-width: 850px){
/*    #sidebar{
        left: 34.5%; 
    }*/
    .logo {
        margin-left: 6%;
    }
    .content {
        padding-right: 15%;
    }
    .contact-social {
        padding: 10px 0 0 20%;
    }
    .contact-social a {
        width: 38px;
        height: 38px;
    }
    .mail, .phone {
        line-height: 35px;
    }
    .big-text{
        font-size: 17px;
        margin-bottom: 2em;
    }
}

@media only screen and (max-width: 800px){
/*    #sidebar{
        left: 34.1%; 
    }*/
    .blog:before{
        width: 58%;
    }
    .content {
        padding-right: 16%;
    }
    .scroll .width90 {
        width: 85%;
    }
    .scroll ol{
        max-width: 70%;
    }
    a.fb-message-blue{
        margin: 7px 0 5px;
    }
    .big-text{
        margin-bottom: 25px;
    }
    .home-sub-text{
        margin-bottom: 30px;
    }
    .mail{
        margin-bottom: -18px;
    }
}

@media only screen and (max-width: 768px){
    #sidebar{
        position: static;
        margin-top: 12px;
    }
    .mobile-menu{
        display: block;
    }
    #header .navigation{
        display: none;
        left: 0;
        right: 0;
        background-color: #ededed;
        margin: 0;
        padding-top: 30px;
        z-index: 55;
    }
    #header .navigation li{
        width: 120px;
        text-align: center;
        margin: 0 auto;
    }
    #header{
        padding: 6px 0 0;
    }
    .logo{
        margin-left: 4.5%;
    }
    .logo img{
        width: 140px;
    }
    .content{
        background: #00b8bf;
        width: 100%;
        padding-right: 15px;
        height: auto;
        max-height: none;
    }
    .big-text {
        width: 100%;
        padding: 12px 0;
    }
    .width66,
    .scroll .width70,
    .scroll .width80,
    .scroll .width90{
        width: 100%;
    }
    .contact-social {
        padding: 30px 0 0 0;
        text-align: center;
    }
    .contact-social a {
        width: 42px;
        height: 42px;
    }
    a.fb-message-blue{
        margin: 15px 0;
    }
    .blog{
        padding: 20px 25px;
        margin: 20px 0 0 0;
        min-height: inherit;
        width: 100%;
    }
    .blog:before{
        display: none;
    }
    .blog h1{
        text-align: center;
        margin: 10px 0;
    }
    .big-text{
        font-size: 17px;
        margin-bottom: 30px;
    }
    .home-text{
        width: 100%;
    }
    .mail{
        margin-bottom: 0;
    }
    .phone {
        margin-top: 25px;
    }
}

@media only screen and (min-width: 769px){
    #header .navigation{
        display: block !important;
    }
    .overlay{
        display: none !important;
    }
}

@media only screen and (max-width: 650px){
    #footer > *{
        float: none;
        width: 100%;
        text-align: center;
        white-space: normal;
        padding: 0;
    }
}

@media only screen and (max-width: 500px){
    #footer > ul,
    #footer .soclinks{
        float: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }
    #header {
        padding: 11px 0 0;
    }
    .logo img{
        width: 120px;
    }
}

@media only screen and (max-width: 380px){
    .bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto{
        bottom: 6px;
    }
    .bx-wrapper .bx-controls-direction a{
        bottom: 4px;
    }
    .blog{
        padding: 20px 12px;
    }
}