* {
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
}
body.nav{
    overflow: hidden;
}
body.nav #overlay{
    display: block;
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

h1, h2{
    font-size: 30px;
    margin-bottom: 30px;
    color: #0872BE;
}
h2{
    margin-bottom: 10px;
}
h3 {
    font-size: 24px;
    margin: 10px 0;
}
p{
    line-height: 26px;
    margin-bottom: 15px;
}
a{text-decoration: none}
.clear{
    clear: both;
}
.show{
    display: block;
}
.wrapper{
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}
.ruler{
    margin:20px 0;
    border-top: 1px solid #ccc;
}

#overlay{
    display: none;
}
header{
    margin: 20px 0 70px 0;
}
header a{
    text-decoration: none;
    color: #252525;
}
header a:hover{
    color: #0872BE;
}
header #cell{
    display: inline-block;
    width: 25%;
    vertical-align: top;
    margin-top: 40px;
    text-align: center;
}
header #cell span{
    display: block;
    margin-bottom: 5px;
}
header #cell a{
    display: inline-block;
    font-family: Fira Sans, sans-serif;
    font-weight: 300;
}
header #siteLogo{
    display: inline-block;
    width: 50%;
    text-align: center;
}
header #siteLogo a img{
    width: 50px;
}
header #siteLogo h1{
    font-size: 26px;
    font-weight: normal;
    font-family: 'Abel', sans-serif;
    margin-bottom: 0;
}
header #siteLogo h1 a{
    color: #0872BE;
}
header #siteLogo h3{
    font-size: 14px;
    font-weight: 300;
    font-family: 'Fira Sans', sans-serif;
    color: #333;
    margin: 5px 0 0;
}
header form{
    display: inline-block;
    width: 24%;
    vertical-align: top;
    margin-top: 25px;
    text-align: center;
}
header form input{
    width: 150px;
    padding: 5px 10px;
    outline: none;
    border: 1px solid #666;
    margin-bottom: 20px;
}
header form button{
    background: none;
    border: none;
    color: #666;
    margin-left: -26px;
    font-size: 14px;
}
header form span{
    padding: 5px 12px;
    background: #ccc;
    font-size: 16px;
    font-family: Fira Sans, sans-serif;
    font-weight: 300;
}
header form span:hover, header form span.active{
    background: #0872BE;
    color: #fff;
}
header form span:hover a, header form span.active a{
    color: #fff;
}

header ul{
    list-style: none;
    text-align: center;
}
header li{
    display: inline-block;
    margin: 0 20px;
}
header li a{
    color: #333;
    font-family: Fira Sans, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
}
header li.current-cat a{
    color: #0872BE;
}
header #times{
    display: none;
}

header ul li.tags{
    position: relative;
}
header .tags ul {
    text-align: left;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -300px;
    padding: 40px 10px;
    background: #fff;
    border-left: 1px solid #ccc;
    width: 0;
    z-index: 999;
    overflow: scroll;
    transition: right 0.3s ease;
}
header .tags ul.active {
    right: 0;
    width: 250px;
}
header .tags ul #pTimes{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
header .tags ul #pTimes:hover{
    color: #0872BE;
}
header .tags li{
    display: list-item;
    margin: 20px 5px 20px 25px;
}
header .tags li a{
    text-transform: none;
    font-weight: 300;
}

#headerImg{
    width: 100%;
    margin-top: -30px;
}

#products{
    margin: 0 auto;
}
#products h2{
    margin-top: 50px;
}
.viewAll{
    float: right;
    padding: 7px 15px;
    margin-top: -15px;
    display: block;
    background: #2288D0;
    color: #fff;
    font-size: 0.9em;
}
.viewAll:hover{
    background: #0872BE;
}
.products li{
    display: inline-block;
    position: relative;
    width: 22.6% !important;
    margin: 2% 1% !important;
    float: none !important;
    border: 1px solid #999;
    text-align: center;
    box-sizing: border-box;
    background: #fff;
    transition: all .2s;
}
.products li:hover{
    border: 1px solid #2288D0;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.5);
}
.products li a{
    text-decoration: none;
}
.products li img{
    display: block;
    margin: 0 auto !important;
    width: 80% !important;
    height: auto;
}
.products li h2{
    display: block;
    margin: 20px 7px 0 !important;
    height: 35px;
    color: #000;
    line-height: 22px;
    font-family: Fira Sans, sans-serif;
    font-weight: 300;
}
.products li .price{
    display: block;
    margin: 25px 5px !important;
    color: #000 !important;
    font-weight: bold !important;
}
.products li .price del{
    transform: skewY(-10deg);
    margin-right: 5px;
}
.products li .price ins{text-decoration: none !important}

.products li .onsale{
    top: -12px !important;
    right: -12px !important;
    transform: scale(0.7);
    background: #0872BE !important;
    font-weight: normal !important;
}
.products li .warranty {
    top: 5px;
    left: -10px;
    background: #0872bef0;
    position: absolute;
    color: #fff;
    padding: 5px;
    font-size: 0.9em;
}
.products li .soldOut {
    top: 60px;
    left: -17px;
    background: #0872bef0;
    position: absolute;
    color: #fff;
    padding: 3px 5px;
    font-size: 0.65em;
    transform: rotate(-90deg);
}
.products li.product a.button{
    display: block !important;
    padding: 12px 10px;
    margin-top: 5px;
    text-transform: uppercase;
    background: #449DDC;
    font-weight: normal;
    color: #fff;
    cursor: hand;
    border-radius: 0;
}
.products li .add_to_cart_button:hover{
    background: #2288D0;
    color: #fff;
}
.products li .add_to_cart_button i{
    margin-right: 5px;
}

#contents{
    margin: 50px auto;
}
.woocommerce-message {
    border-top-color: #0872BE;
}
.woocommerce-message::before{color: #0872BE !important}
.woocommerce-message .button{
    background: #0872BE !important;
    color: #fff !important;
    font-weight: normal !important;
}
.woocommerce-message .button:hover{
    background: #2288D0 !important;
}
.woocommerce-product-gallery__wrapper, .flex-viewport{
    border: 1px solid #cccccc;
}
div.sale > .onsale{
    background: #2288D0 !important;
    font-weight: normal !important;
    top: -10px !important;
    left: -15px !important;
}
.summary .price ins{text-decoration: none}
.summary .price{
    color: #000 !important;
}
.woocommerce-variation-price .price{
    display: block;
    margin-bottom: 15px;
}
.variations select{
    font-size: 0.9em;
}
.quantity input {
    font-size: 1em;
}
span.sku{display: inline-block !important}
.single_add_to_cart_button{
    font-weight: normal !important;
    background: #0872BE !important;
}
.single_add_to_cart_button:hover{
    background: #2288D0 !important;
}
.added_to_cart{
    display: block !important;
    margin-bottom: 11px;
    color: #2288D0;
}
.product_meta span {
    display: block;
    margin: 15px 0;
    font-size: 0.9em;
}
.product_meta a{
    text-decoration: underline;
    color: #0872BE;
}
.product_meta a:hover{text-decoration: none}
.woocommerce-Tabs-panel h2{display: none}
section.related {
    margin-top: 50px;
}
#coupon_code{
    width: 100px;
    height: 38px;
}
.checkout-button{
    background: #2288D0 !important;
}
.checkout-button:hover{
    background: #0872BE !important;
}
.woocommerce input, .woocommerce textarea{
    padding: 7px;
}
.woocommerce fieldset{
    padding: 10px;
    border: 1px solid #aaa;
}
.button{
    background: #2288D0 !important;
    color: #ffffff !important;
    font-weight: normal !important;
}
.button:hover{
    background: #0872BE !important;
}
#tab-description ul{
    margin-left: 30px;
}
#tab-description li{
    line-height: 28px;
    margin-bottom: 7px;
}
.woocommerce-Address header{
    height: auto;
    margin-bottom: 10px;
}
.woocommerce-MyAccount-navigation ul{
    list-style: none;
}
.woocommerce-MyAccount-navigation li a{
    display: block;
    color: #000000;
    padding: 10px 0;
}
.woocommerce-MyAccount-navigation a:hover{
    text-decoration: underline;
}
.woocommerce-order-details h2, .woocommerce-customer-details h2{
    font-size: 24px;
}
.product-name a{
    color: #2288D0;
}
#contact h2{
    margin-bottom: 30px;
}
#contact b{
    display: inline-block;
    font-size: 1.1em;
    margin-bottom: 8px;
}
#contact p{
    margin-bottom: 30px;
    line-height: 20px;
}
#contact div{
    display: inline-block;
    width: 49%;
    vertical-align: text-top;
}
#contact ul{
    list-style: none;
    margin-top: 50px;
}
#contact li{
    display: inline-block;
    width: 80px;
}
#contact li a{
    text-decoration: none;
    color: #000;
    font-size: 40px;
}
#contact li a:hover{
    color: #0872BE;
}

#footer{
    margin-top: 40px;
    font-size: 16px;
}
#footer ul{
    float: left;
    width: 25%;
    list-style: none;
}
#footer h3{
    text-transform: uppercase;
    font-size: 18px;
    color: #666;
}
#footer ul > li{
    margin: 20px 0;
}
#footer ul li a{
    text-decoration: none;
    color: #333;
}
#footer ul li a:hover{
    text-decoration: underline;
}
#footer ul#last{
    text-align: center;
}
#footer #last a img{
    width: 50px;
}
#footer #last h4{
    font-size: 18px;
    font-family: 'Abel', sans-serif;
    margin-bottom: 10px;
}
#footer #last h4 a{
    color: #0872be;
}
#footer #last ul{
    width: 100%;
    margin-top: 15px;
}
#footer #last li{
    display: inline-block;
    font-size: 30px;
    margin: 5px 10px;
}
#footer #last li a:hover{
    color: #0872be;
}
#footer #tel{
    display: block;
    color: #2388d1;
    margin: 20px 0;
    font-size: 20px;
    font-family: Fira Sans, sans-serif;
    font-weight: 300;
}

footer{
    background: url("images/landmarks.png") no-repeat top center;
    background-size: contain;
    padding-top: 20%;
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
    position: relative;
}
footer span{
    position: absolute;
    bottom: 20px;
    margin-left: -94px;
}

#footerMenu{
    display: none;
    position: fixed;
    z-index: 998;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #999;
}
#footerMenu ul{
    list-style: none;
    text-align: center;
}
#footerMenu li{
    display: inline-block;
    width: 32%;
    padding: 12px 0;
    text-align: center;
}
#footerMenu a{
    text-decoration: none;
    display: block;
    color: #333;
}
#footerMenu a i{
    font-size: 26px;
}

/* MOBILE DEVICES */

@media all and (max-width: 1000px) {
    .wrapper{
        padding: 0 16px;
    }
    header{
        margin-bottom: 20px;
        padding-top: 40px;
    }
    header #cell {
        display: block;
        width: 100%;
        margin: 0;
        background: #0872be;
        box-shadow: 0px 3px 8px #666;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 10px 0;
        z-index: 997;
        color: #fff;
    }
    header #cell span{display: inline-block;}
    header #cell a{
        color: #fff;
    }
    header #times{
        display: block;
        font-size: 24px;
        cursor: pointer;
        position: fixed;
        top: 15px;
        left: 260px;
    }
    header #siteLogo{
        display: block;
        width: 100%;
    }
    header form{
        display: block;
        width: 100%;
    }
    header form input{
        width: 250px;
        margin-bottom: 0;
    }
    header form span{
        display: none;
    }
    body.nav header #nav{
        display: block;
        width: 300px;
    }
    header #nav{
        display: none;
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 999;
        width: 0;
        padding: 40px 0;
        border-right: 1px solid #ccc;
        box-shadow: 0 10px 20px #333;
        background: #0872BE;
        color: #fff;
        text-align: left;
        overflow-y: scroll;
        transition: all .5s ease-in-out 0s;
    }
    header #nav li{
        display: block;
        margin: 30px 50px;
    }
    header #nav li a{
        color: #fff;
    }
    header #nav li.current-cat a{
        text-decoration: underline;
    }
    header .tags a i {display: none;}
    header .tags ul {
        position: relative;
        background: none;
        border: none;
        list-style: square;
        left: 0;
        width: 100%;
        padding: 0;
    }
    header .tags ul #pTimes {
        display: none;
    }
    header .tags li{
        margin: 30px 5px 30px 18px !important;
        display: list-item !important;
    }

    .products li{
        width: 47% !important;
        margin: 20px 0 !important;
        border: none;
        box-sizing: border-box;
    }
    .products li:nth-child(odd){
        margin-right: 8px !important;
    }
    .products li:nth-child(even){
        margin-left: 8px !important;
    }
    .products li:hover{
        border: none;
        box-shadow: none;
    }
    .products li .warranty{
        top: 0;
        left: 0;
        font-size: 0.8em;
    }
    .products li h2{
        margin: 10px 0 0 !important;
    }
    .products li .price{
        margin: 25px 0 15px !important;
    }
    .products li.product a.button{
        padding: 7px;
        font-size: 0.8em;
    }

    #footer{
        margin-top: 0;
        font-size: 14px;
        text-align: center;
    }
    #footer h3{
        font-size: 14px;
    }
    #footer ul#last{
        margin-top: 30px;
    }
    #footer ul.hideMobile{
        display: none;
    }
    #footer ul{
        float: none;
        width: 100%;
    }

    footer span{
        font-size: 0.8em;
        bottom: 15px;
        margin-left: -75px;
    }
    body{padding-bottom: 51px}
    #footerMenu{display: block}
}

@media all and (max-width: 950px) {
   
}
@media all and (max-width: 770px) {
    h2{
        text-align: center;
    }
    #automation #sofa {
        float: none;
        margin: 0 auto 20px;
        width: 350px;
        display: block;
    }
    #contact div{
        display: block;
        width: 70%;
        margin: 0 auto;
    }
    #contact ul{
        text-align: center;
    }
    #contact ul li{
        width: 23%;
    }
}
@media all and (max-width: 650px) {
    #automation #sofa {
        width: 80%;
    }
    .fb_dialog {
        bottom: 40px !important;
    }
}
@media all and (max-width: 600px) {
    footer span{
        font-size: 0.7em;
        bottom: 7px;
        margin-left: -65px;
    }
}
@media all and (max-width: 500px) {
    h2{
        font-size: 26px;
    }
    #automation #sofa {
        width: 100%;
    }
}
@media all and (max-width: 430px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs{
        font-size: 0.8em;
    }
}
@media all and (max-width: 380px) {
    .products li{
        width: 46% !important;
    }
}
