/* All Responsive
================================================== */

@media only screen and (max-width: /*959px*/1023px) {
#lhc_status_container {
    display: block;
}
}

@media only screen and (max-width: /*959px*/1189px) {
#header, #pre-header {
    width:100vw;
}

#front_header_pic_cool {
  display:block;
}


.sliderEnabled #primary #content-wrap .content center > div.service-block-wrapper {
  padding-bottom:15px;
}

.sliderEnabled #primary #content-wrap .content center div{
  /*overflow-x:scroll;*/
}
  /*hide things*/
  #navigation ul {
    display: none;
  }

  #toplink {
    display: none !important;
  }
  
  #home-slider {
    display:none;
  }

  #wrap.sliderEnabled {
    position: inherit;
  }

  #main-content.sliderEnabled {
    /* 216px; */
    margin-top:142px;
  }

  body.toolbar #main-content.sliderEnabled {
    margin-top: 100px;
  }
  #header-social {
    display: none;
  }
  .header-location {
    /*display:none;*/
    /*float: right;*/
    /*right:0px;*/
    top:45px;
    position:relative;
    z-Index:100000;
    left:-66px;
  }

  #header-wrap {
    height: 56px;
  }

  #pre-header {
    /*display:none;*/
    top: -45px;
    position:absolute;
    width:100%;
  }

  


  /*logo*/
  #logo {
    text-align: center;
  }

  #logo img {
    display: inline-block;
  }

  #logo h1 a, #logo h2 a {
    display: block;
    float: none;
  }
    
  /*navigation top menu*/
  #navigation {
    height: 70px;
    width: 100%;
    position: inherit;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 0;
    background: #e73420 url("../images/responsive-nav.png") right center no-repeat;
    margin-top: 30px;
  }

  #navigation .selector {
    width: 100%;
    color: #fff;
    font-weight: bold;
    line-height: 70px;
    text-indent: 40px;
  }

  #navigation .selector {
    height: 50px;
    width: 100%;
    display: -moz-inline-box;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
    cursor: pointer !important;
  }

  #navigation .selector:hover {
    opacity: 1;
    -moz-opacity: 1;
    -webkit-opacity: 1;
  }

  #navigation .selector select:focus {
    outline: 0;
  }

  #navigation .selector span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #navigation .selector select {
    position: absolute;
    top: 0px;
    left: 0;
    height: 70px;
    background: none;
    width: 100%;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666 !important;
    cursor: pointer;
  }

  #navigation .selector {
    margin: 0;
    padding: 0;
    border: none;
  }

  #navigation .selector option {
    background: #000;
    -webkit-appearance: none;
    padding: 10px 40px;
    border: none;
    border-bottom: 1px solid #222;
  }
    
  /*display dropdown nav*/
  #navigation .selector {
    display: inline-block;
  }
  
}


/* Tablet (Portrait) = Design for a width of 730px
================================================== */


@media only screen and (min-width: 768px) and (max-width: 1189px) {
  .adoptedTable/*, .service-block-wrapper*/ {
     overflow-x:scroll;
     text-overflow:ellipsis;
  }
  /*main*/
  #wrap, #main-content, #header_top_wrapper/*, #pre-header*/ {
    width: /*690px*/100%;
  }
  #content {
    width: /*380px*/65%;
  }
  #sidebar {
    width: 190px;
  }
  .sidebar-bg{
    background-image: url("../images/sidebar-bg-tablet.png");
  }

  .meta li{
    display: block;
  }
  
    
  /*footer*/
  .preface-block, .footer-block {
    float: left;
    width: 190px;
    margin-right: 20px;
  }
  
  


.sliderEnabled #primary #content-wrap .content center > div.service-block-wrapper {
  padding-bottom:15px;
}


#sidebar .region .block h2 {
  font-size: 1.1em;
}


}

@media only screen and (min-width: 1000px) and (max-width: 1189px) {
  #content {
    width: 75%;
  }
}



/* Mobile (Portrait) = Design for a width of 280px
================================================== */

@media only screen and (max-width: 767px) {

.page-node #content-wrap .view-blog div.view-content {
    overflow-x:scroll;
}
.headerPhoneBtn {
    display: inline-block;
    float: right;
    margin-top: 10px;
    margin-right: 20px;
}
  /*main*/
   #pre-header {
    display:none;
  }
  .header-location {
    display:none;
  }


  #header-social{
    display: none;
  }
  #wrap, #main-content, #header_top_wrapper, #pre-header {
    width: /*280px*/100%;
  }
  #content {
    width: 100%;
  }
  .node-teaser img {
    float: none;
  }
  ul.inline li {
    display: block;
    padding: 5px;
  }

  #sidebar {
    width: 100%;
  }
  .preface-block, .footer-block {
    width: 100%;
  }

  .comment .attribution, .comment .comment-text { 
    display: inline-block;
  }
  
  .sidebar-bg{
    background-image: none;
    margin-bottom: 0;
  }
  
  #sidebar{
    width: 100%;
    background: #f9f9f9;
    margin: 30px -30px -30px;
    padding: 30px;
    border-top: 1px solid #ddd;
  }
  
  .meta li{
    display: block;
  }
  
  .adoptedTable/*, .service-block-wrapper*/ {
     overflow-x:scroll;
     text-overflow:ellipsis;
  }
  .service-block-wrapper {
    width:/*220px*/100%;
  }
  .service-block-wrapper .service-block, .service-block-wrapper .service-block figure, .service-block-wrapper .service-block img {
    max-width: 210px;
  }
.service-block-wrapper .service-block {width:210px ! important;}
.service-block-wrapper .service-block .service-content {width:210px ! important;}
.service-block-wrapper .service-block .service-title {width:210px ! important;}
.page-node #content-wrap img {
    margin:0px;
    max-width: /*200px*/100%;
  }

#block_video_tv_aside {
  width: 100%;
  height: 100%;
  position:absolute;
  top:0;
  left:0;
}

#block_video_tv_aside_container {
  position:relative;
  width:100%;
  height: 0;
  padding-bottom:56.25%;
}
.juicebox-gallery img , .page-node #content-wrap .juicebox-gallery img{
    max-width: none;
}
}


/* Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {

  #wrap, #main-content, #header_top_wrapper, #pre-header {
    width: /*370px*/100%;
  }

}
@media only screen and (max-width: 522px) {

.region-content #block-views-blog-block td.views-field-field-image
{
    display: none;
}
}
@media only screen and (max-width: 1189px) {
  .menu_mob {
      display:inline-block;color: #fff;font-weight: bold;line-height: 65px;float: right;margin-right:80px;       
  }
  #header {
   height: 65px;
   top: -10px;
  }
  #navigation {
    top: 0;margin-top: 0px;
  }

}

.btn_liqpay {
    _border: 1px solid #f0563d;
    border: 1px solid #25d14f;
    background: #25d14f;
    font-size: 15px;
    font-weight: 500;
    line-height: 45px ! important;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    transition: all 0.5s ease-in-out 0s;
    _color: #f0563d;
    color: #fff;
    padding: 0px 10px;
    border-radius: 5px;
    white-space: nowrap;  margin-left: 10px;margin-right: 10px;
    box-shadow: 0 1px 0 0 white inset;display: inline-block;}
.btn_liqpay:hover {
  color: #fff;border: 1px solid #f0563d;
  background: none repeat scroll 0 0 #f0563d;

}
.qbay,.page_link {

    border: 1px solid #f0563d;
    background: #f0563d;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    line-height: 45px ! important;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    transition: all 0.5s ease-in-out 0s;
        padding: 0px 10px;
    border-radius: 5px;
    white-space: nowrap; display: inline-block;
    box-shadow: 0 1px 0 0 white inset;

}

.qbay:hover,.page_link:hover {
  background: #fff
}
.regbtn {  _text-align: center;}

#sidebar  a.registr {
  background: #f0563d none repeat scroll 0 0;
  border: medium none; margin: 0 auto;
  border-radius: 5px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 45px;
  padding: 10px 30px;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: all 0.5s ease-in-out 0s;
  white-space: nowrap;
}
#header-wrap {
  z-index: 9999;
}
.lightbox-container .lightbox {  box-sizing: border-box;
  display:inline-block;width:49%;margin-left: 1%;
}
.page-node #content-wrap  .lightbox img {  box-sizing: border-box;
  border: 1px solid #cccccc;
  height: auto;
  margin: 0.5em 1em 0.5em 0;
  max-width: 97.4%;
  padding: 6px;
}
@media only screen and (max-width: 540px) {
    .qbay {
      margin-bottom: 10px
    }
    .commerce-add-to-cart {
      text-align: center;
    }

}

#mob_lang #lang_menu_lnk {
  width: auto !important;padding-left: 20px;background-position: left center !important;color: #fff !important;
}

#mob_lang {  cursor: pointer;display: none;
  position: absolute;padding: 20px;;z-index: 11;margin-left: 10px;
}
#mob_lang ul li a {
  color:  #e73420 !important;
}

#mob_lang ul {  position: absolute;left: 10px;top:70px;font-family: Arial;
  background: #fff;margin: 0;padding: 10px 10px 10px 30px;
    -webkit-box-shadow:  2px 2px 6px  rgba(0,0,0,0.5);
-moz-box-shadow:  2px 2px 6px  rgba(0,0,0,0.5);
box-shadow:  2px 2px 6px  rgba(0,0,0,0.5);
}
@media only screen and (max-width: 340px) {
.headerPhoneBtn .chevron-down span {
  display: none;
}
}
@media only screen and (max-width: 1189px) {
#mob_lang {
  display: block;
}

}
.field-name-field-images {
  float: left;
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
.field-name-field-images {
  float: none;
}

}
.bbb {
  display: inline; vertical-align: top;  margin-top: 40px;
}
.text-center {
  text-align: center;
}
