/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
select{
/*-webkit-appearance: none;
-moz-appearance: none;
appearance: none;*/
    padding: 5px 0px 5px 2px !important;
}
/*and for my next trick, reset!*/
*{
    margin: 0;
    padding: 0;
}

/*base fonts*/
*{font-size: 16px;}

.cf:before,
.cf:after {
  display: table;
  content: "";
}
.cf:after {
  clear: both;
}
/* 16 grid columns */

[class*="col-"]{
    float: left;
    padding: 0 10px;
}
[class*="col-"]:first-of-type{
    padding-left: 0;
}
[class*="col-"]:last-of-type{
    padding-right: 0;
}
.container{margin: auto;position: relative;}
@media screen and (min-width: 1280px) {
    .container{
        max-width: 1280px;
        width: 100%;
    }
    .col-lg-1{width: calc(1 / 16 * 100%);}
    .col-lg-2{width: calc(2 / 16 * 100%);}
    .col-lg-3{width: calc(3 / 16 * 100%);}
    .col-lg-4{width: calc(4 / 16 * 100%);}
    .col-lg-5{width: calc(5 / 16 * 100%);}
    .col-lg-6{width: calc(6 / 16 * 100%);}
    .col-lg-7{width: calc(7 / 16 * 100%);}
    .col-lg-8{width: calc(8 / 16 * 100%);}
    .col-lg-9{width: calc(9 / 16 * 100%);}
    .col-lg-10{width: calc(10 / 16 * 100%);}
    .col-lg-11{width: calc(11 / 16 * 100%);}
    .col-lg-12{width: calc(12 / 16 * 100%);}
    .col-lg-13{width: calc(13 / 16 * 100%);}
    .col-lg-14{width: calc(14 / 16 * 100%);}
    .col-lg-15{width: calc(15 / 16 * 100%);}
    .col-lg-16{width: calc(16 / 16 * 100%);}    
}

/* Uber-nav */
#choose-site{display: none;}
#uber-nav{background-color: #232323;}

#uber-nav > ul{
    width: 100%;
    margin: auto;
}
#uber-nav li{
    height: 100%;
    color: #c2c2c2;
    list-style: none;
}
#uber-nav li a {
    color: #c2c2c2;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 28px;
    padding: 5px 8px;
    font-size: 0.875em;
}
#uber-nav li a:hover{
    color: #fff;
    text-decoration: none;
}
#uber-nav li a.active{
    color: #fff;
}

/* end uber nav */

#top-ad{
    background-color: #333;
    padding: 8px 0;
}
#bottom-ad div, #top-ad div{margin: auto; text-align: center;}

/* header */
header{padding: 20px 0;}
header #menu-site-menu{
    text-align: right;
    z-index: 10;
    display: inline-block;
    width: calc(100% - 45px);
}
header #menu-site-menu > li{text-align: right;}
header #menu-site-menu li{list-style: none;}
header #menu-site-menu > li{
    display: inline-block; 
    position: relative;
    z-index: 999;
}
header #menu-site-menu li a{
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 10px 5px;
    width: 100%;
}
header #menu-site-menu li .sub-menu{
    position: absolute;
    display: none;
}
/*header #menu-site-menu li:hover .sub-menu{
    display: block;
    border: 1px solid #000;
}
header #menu-site-menu li:hover .sub-menu li{
    white-space: nowrap;
    width: 100%;
    border-bottom: 1px solid #000;
    text-align: left;
}*/
header #menu-site-menu > li > a:nth-of-type(2){display: none;}

#search{
    display: none;
    position: absolute;
    right: 2px;
    top: calc(100% - 3px);
    z-index: 1034;
}
#search.active{display: block;}
#search input{
    width: 320px;
    border: 1px solid #000;
    height: 40px;
    padding-left: 10px;
}
#search input[type=submit]{display: none;}

#main{
    display: flex;
    justify-content: center;
}
#main > *{}

/*-- HOMEPAGE --*/
#slider .rscaption{
    position: absolute;
    bottom: 0;
    width: 50%;
    padding: 20px;
    /*text-shadow: 1px 1px #000000;*/
}
#slider .rscaption h2{font-size: 14px;text-transform: uppercase;letter-spacing: 4px;}
#slider .rscaption p{font-size: 36px;}
#slider-caption{display: none;}
#area-1, #area-2, #area-3{margin-bottom: 50px;}
#area-1{}
#area-1 > div:first-of-type{margin-left: 0;}
#area-1 .latest-products{}
#area-1 .latest-products article{}
#area-1 .latest-products article > a{
    display: flex;
    height: 300px;
    background-color: #000;
    width: 300px;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #000;
}
#area-1 .latest-products article img{ max-width: 100%; max-height: 100%; height: auto; margin-top: 5px; }
#area-1 .latest-products article img{}
#area-1 .latest-products{}
#area-1 .latest-news{}
#area-1 .latest-news .news-item{
    margin-bottom: 20px;
}

#area-2{}

#area-3{}
#area-3 .latest-trends article a img{
  height: auto;
  width: 100%;
}
#area-3 > div:first-of-type{
    margin-left: 0;
}
#area-3 > div:first-of-type > div{
    margin-bottom: 50px;
}
/*--  Homepage --*/

/*-- GENERAL PAGE --*/
.home #content h1{
    font-size: 1.125em;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}
/*-- END GENERAL PAGE --*/

/*-- Category Page--*/
.category{}
.category .alm-reveal a img, .post-type-archive-project .alm-reveal a img{
    max-width: 220px; 
    max-height: 180px; 
    height: auto; 
    margin-right: 10px;
}
/*-- End Category Page--*/

/*-- Single Page--*/
.entry{}
.related-posts{clear: both;}
/*-- End Single Page--*/

/*-- product page --*/
.single-product .company-name+hr{margin: 17px 0;}
.product-categories .mobile{display: none;}
/*-- end product page --*/



/*-- RIGHT RAIL --*/
#sidebar{max-width: 320px;}
#sidebar > *{float: right;margin-bottom: 20px; max-width: 300px; width: 100%; background-color: #e8e3dd;}
#sidebar .block{
    padding: 15px 10px;
}
#sidebar .block .show{}
#sidebar .block .show *{font-size: 0.85em;}
#sidebar .block .show img{max-width: 170px; height: auto;float: left;margin-right: 10px;}

#sidebar .block .btn, .page .btn{
    width: 135px;
    display: inline-block;
    margin-bottom: 8px;
    border-radius: 5px;
}


/*-- FOOTER --*/
footer{/*padding-bottom: 100px;*/}
footer > .container {max-width: 960px;}
footer hr{margin-bottom: 25px;}
footer > ul.container{margin-bottom: 25px; display: flex; justify-content: space-between;}
footer > ul > li > ul > li{
    color: #fff;
    list-style-type: disc;
    margin-left: 20px;
}
.container.copy{
    display: flex;
    justify-content: space-between;
    color:#fff;
}
.container.copy span{
    font-size: 0.75em;
    padding-top: 10px;
}
.container.copy span a{
    font-size: 1em;
}
.container.copy span:last-of-type{padding-top: 0;}
.container.copy span:last-of-type a{
    font-size: 2em;
}
.container.copy a{color: #fff;}
#bottom-ad .container > *{margin: auto;padding: 10px 0;}

@media screen and (min-width: 1280px) {
    header .toggle.menu{
      display: none;
    }
    #uber-nav{height: 38px;}
    #uber-nav > ul{
        max-width: 980px;
    }
    #uber-nav ul{height: 100%;}
    #uber-nav > ul > li{
        float: left;
        width: 50%;
        border: none;
    }
    #uber-nav li{
        display: inline-block;
        float: left;
        border-right: 1px solid #555555;
    }
    #uber-nav > ul > li > ul > li:first-of-type{border-left: 0px solid #555555;}
    #uber-nav li a {
        display: inline-block;
    }
    #area-1 > div{
        width: calc(50% - 10px);
        float: left;
        margin-left: 20px;
    }
    #area-3 > div{
        width: calc(50% - 10px);
        float: left;
        margin-left: 20px;
    }
    
    header #menu-site-menu li:hover .sub-menu{
        display: block;
        border: 1px solid #000;
    }
    header #menu-site-menu li:hover .sub-menu li{
        white-space: nowrap;
        width: 100%;
        border-bottom: 1px solid #000;
        text-align: left;
    }

    /*-- events page--*/
    .post-type-archive-event{}
    .post-type-archive-event .entry{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .post-type-archive-event .entry article{
        width: calc(100% / 2 - 10px);
    }
    .post-type-archive-event{}
    .post-type-archive-event .featured-post{padding: 15px;}

    /*-- events page--*/

    /*-- Product page--*/
    .single-product .product-categories, .post-type-archive-product .product-categories {
        width: 140px;
        float: left;
    }
    .single-product .entry, .post-type-archive-product .entry, .tax-product_category .entry {
        width: calc(100% - 160px);
        float: right;
    }
    .single-product .related-posts div{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .single-product .related-posts article{
        width: calc(100% / 3 - 10px);
    }
    .single-product .related-posts .entry-thumb{margin: 0;}
    /*-- end Product page--*/

    .post-type-archive-product .entry > div:first-of-type, .tax-product_category .entry > div:first-of-type{
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .post-type-archive-product .entry > div article, .tax-product_category .entry > div article{
        width: calc(100% / 3 - 10px);
        margin-bottom: 20px;
    }
    .post-type-archive-product .entry > div article .entry-thumb img{
        width: 100%; 
        height: auto;
    }
    .post-type-archive-product .product-categories, .tax-product_category .product-categories{
        list-style: none;
        width: 140px;
        float: left;
    }
    .post-type-archive-event .featured-post > a:first-of-type, .category .featured-post > a:first-of-type, .post-type-archive-project .featured-post > a:first-of-type{
        float: left;
        display: block;
    }
    .category .featured-post a img, .post-type-archive-project .featured-post a img{
        max-width: 378px; 
        max-height: 298px;
        margin-right: 0;
    }
    .post-type-archive-project .featured-post div, .category .featured-post div, .post-type-archive-project .featured-post div{
        width: calc(100% - 380px);
        padding: 5px 10px 5px;
        float: right;
    }
    .post-type-archive-event .featured-post div{
        width: calc(100% - 385px);
        padding: 0px 10px 12px;
        float: right;
    }
}
@media screen and (max-width: 1279px) {
  header #menu-site-menu > li{}
  header #menu-site-menu > li > a:first-of-type{width: calc(100% - 40px);}
  header #menu-site-menu > li > a:nth-of-type(2){
      width: 40px;
      display: inline-block;
      font-weight: bold;
      text-align: center;
  }
  header #menu-site-menu > li > a:nth-of-type(2) i{font-weight: inherit;}
  header #menu-site-menu li .sub-menu.active{
      display: block;
      border: 1px solid #000;
  }
  #main{max-width: 768px;}
  #area-1 > div{width: 100%;}

  /*#uber-nav{display: none;}*/
  .toggle{display: inline-block;}
  #choose-site{
      display: block;
      background-color: #232323;
      text-align: right;
      height: 38px;
      line-height: 38px;
      padding: 0 10px;
      color: #fff;
      text-decoration: none;
      font-size: 14px;
  }
  #choose-site.active{
    background: #000;
  }
  #uber-nav li{border-top: 1px solid #555555;}
  #uber-nav li a {
      display: block;
  }
  #uber-nav > ul{display: none;}
  #uber-nav > ul.active{display: block;}
  #uber-nav > ul > li > ul > li:nth-of-type(n+2) > a{
      margin-left: 35px;
  }
  section#content {
      max-width: 420px;
      width: 100%;
  }
  #menu-site-menu{
      display: none;
      width: 300px;
  }
  header #menu-site-menu li.selected:hover > a {
      color: #fff;
      background-color: #000;
  }
  header #menu-site-menu li.selected > a {
      color: #fff;
      background-color: #000;
  }
  header #menu-site-menu li.selected .sub-menu li a {
  color: #0086cb;
  }
  #menu-site-menu.active{
      display: block;
  }
  #menu-site-menu.active li{
      border-bottom: 1px solid #000;
  }
  header .container div{
      position: relative;
  }
  header #menu-site-menu{
      display: none;
      position: absolute;
      right: 1px;
      background-color: #000;
      width: 300px;
      border: 1px solid #000;
  }
  header #menu-site-menu > li{
      display: block;
      text-align: left;
      border-bottom: 1px solid #000;        
  }
  header #menu-site-menu > li.current-menu-item > a{
      background-color: #000;
      color: #fff;
  }
  header #menu-site-menu > li .sub-menu li a{ background-color: #fff; }
  header #menu-site-menu > li.current-menu-item .sub-menu{}
  header #menu-site-menu > li.current-menu-item .sub-menu{}
  header #menu-site-menu > li > a{background-color: #ebebeb;}
  header #menu-site-menu li .sub-menu{position: relative;}
  header .container{margin: 0 15px;}
  #area-1 > div:first-of-type {
      margin-bottom: 50px;
  }
  #area-1 .latest-products article img{
      max-width: 100%;
  }
  #area-3 .latest-trends article a img {
      height: auto;
      width: 100%;
      max-width: 320px;
  }
  .category .featured-post{}
  .post-type-archive-project .featured-post > a:first-of-type, .category .featured-post > a:first-of-type{
      display: block;
      background-color: #000;
      text-align: center;
  }
  .post-type-archive-project .featured-post > img, .category .featured-post > img{
      display: block;
      margin: auto;
  }
  .post-type-archive-project .featured-post div, .category .featured-post div{
      padding: 10px;
  }
  .post-type-archive-product .entry > div:first-of-type, .tax-product_category .entry > div:first-of-type{
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
  }
  .post-type-archive-product .entry > div article, .tax-product_category .entry > div article{
      width: calc(100% / 3 - 10px);
  }
  .post-type-archive-event .featured-post {
    padding: 15px;
  }
  .product-categories .mobile{
    display: block;
    position: relative;
  }
  .product-categories .mobile select{
    width: 100%;
    padding: 10px;
    border: 2px solid #c9c3bc;
    border-radius: 5px;
    margin-bottom: 15px;
  }
  .product-categories .mobile label:before{
    font-family: 'fontawesome';
    content: "\f0d7";
    position: absolute;
    right: 7px;
    top: 13px;
    z-index: 10;
    pointer-events: none;
  }
  .product-categories ul{display: none;}

}
@media screen and (max-width: 767px) {
    #brand{float: none;}
    #brand img{float: none; max-width: 320px;}
    header .container .social{float: right;margin-top: 8px;z-index: 90;}
    header #menu-site-menu {
      width: calc(100% + 30px);
      left: -15px;
    }
    #slider-caption{display: block;}
    #slider .rscaption{display: none;}
    #search {
        width: 100%;
        right: 0;
    }
    #search input{
        width: 100%;
    }
    header .col-lg-10{
        float: none !important;
    }
    #area-2 #projects .slides li img {
        float: none;
        width: 100%;
        border: 1px solid #000;
    }
    #area-2 #projects .slides li div{
        float: none;
        width: 100%;
    }
    #area-3 .latest-trends article a img{
      height: auto;
      width: 100%;
      display: block;
      margin: auto;
      margin-bottom: 15px;
    }
    #main{display: block;margin: 0 10px;}
    #main > *{margin: auto;float: none;}
    #bottom-ad div, #top-ad div{margin: auto;}

    .category .news-item a, .post-type-archive-project .news-item a {
        float: none!important;
        display: block !important;
    }
    .category .alm-reveal a img, .post-type-archive-project .alm-reveal a img{
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: inherit;
    }
    .post-type-archive-product .entry > div:first-of-type, .tax-product_category .entry > div:first-of-type {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .post-type-archive-product .entry > div article, .tax-product_category .entry > div article {
        width: calc(100% / 2 - 10px);
    }
    .entry .featured >img {
      border: 0 !important;
    }


    #sidebar > *{
        float: none;
        margin: 0 auto 20px;
    }
    /*footer > *{margin: 0 10px!important;}*/
    footer > ul.container{float: none;display: block; margin: 0 10px!important;}
    footer > ul.container > li{margin-bottom: 35px;}
    footer > ul.container > li li{margin-bottom: 5px;}
    .container.copy {
        display: block;
    }
    .container.copy span{display: block;margin-bottom: 30px;}
    /*#top-ad, #bottom-ad{display: none;}*/
    .page .ginput_container{
      width: 100%!important;
    }
    .page .gform_wrapper .ginput_complex.has_street span input[type=text], .page .gform_wrapper .ginput_complex.has_street .address_country select{
      width: 100%!important;}
    .gform_wrapper ul.gform_fields li.gfield {
      display: block!important;
    }
}
#HCD_prestitial, #HCD_wallpaper, #HCD_sliding_billboard{height: -0px;}

