@import "_bootstrap.less";
@import "_default.less";
@import "_search.less";
@import "_social-login.less";
@import "_pages.less";
@import "_icemegamenu.less";

.icons-marker {
  font-size: 1.2 * @baseFontSize;
  line-height: @baseLineHeight;
}

// =======================
// Images
// =======================
.item_img,
.category_img {
  font-size: 0;
  line-height: 0;
  margin: 0 0 @baseLineHeight;
  position: relative;
  a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    &:hover {
      img,
      .BWfade {
        opacity: 1 !important;
      }
    }
  }
}

.img-intro__left,
.img-full__left {
  float: left;
  margin-right: @gridGutterWidth1200;
  max-width: 50%;
}

.img-intro__right,
.img-full__right {
  float: right;
  margin-left: @gridGutterWidth1200;
  max-width: 50%;
}

.lazy_preloader {
  background: #fff url("data:image/gif;base64, ") no-repeat center;
  display: inline-block;
  max-width: 100%;
  position: relative;
  vertical-align: middle;
  .lazy_preloader_inner {
    display: block;
    max-width: 100%;
  }
  img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

img.lazy {
  .opacity(0) !important;
  .scale(0.9) !important;
}

img {
  .transition(all 0.5s linear);
}

.BWfade {
  display: block !important;
  height: 100% !important;
  left: 0 !important;
  opacity: 0 !important;
  top: 0 !important;
  .transform(scale(1));
  .transition(all 0.5s linear) !important;
  width: 100% !important;
  z-index: 2;
}

// Well 

.well {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  .border-radius(4px);
  .box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.05));
  margin-bottom: 20px;
  min-height: 20px;
  padding: 19px;
}

// visible blocks

.item__module,
.item {
  .opacity(0);
  .transform(translateY(-30px));
  .transition(all 0.8s ease);
  &.visible-first {
    .opacity(100);
    .transform(translateY(0px));
  }
}

// =======================
// Stuck Menu
// =======================

.stuck {
  .transition(.3s all ease);
  background: white;
  .box-shadow(0 4px 4px rgba(0, 0, 0, 0.07));
  position: relative;
  width: 100% !important;
  z-index: 1034 !important;
}

.scroll-to-fixed-fixed {
  -webkit-transform: translateZ(0);
  z-index: 1034 !important;
  .row-container {
    padding-bottom: 0px !important;
    padding-top: 4px !important;
  }
}

// =======================
// TM Background video
// =======================

.btn-player{
  position: absolute;
  top: 50%;
  left: 50%;
  .translate(-50%,-50%);
}

// =======================
// Module
// =======================

.moduletable {
  &.type1 {
    .pretext {
      span {
        &.item_title_part3,
        &:last-child {
          color: @globalColor;
        }
      }
      .item_title_part_last {
        color: @globalColor;
      }
    }
  }
  &.type2 {
    .pretext {
      color: @globalColor2;
      .item_title_part_last {
        color: @globalColor;
      }
    }
  }
  &.address {
    p {
      padding-bottom: 10px;
    }
  }
  &.size {
    padding-left: 0 !important;
    width: auto;
  }
}

// ============================
// Article Single Modules
// ============================

.mod-article-single {
  margin-bottom: @baseLineHeight*2;
}

// ============================
// NewsFlash Advanced Modules
// ============================

.mod-newsflash-adv {

  &.list {
    .item {
      margin-bottom: 0;
      .item_content {
        background: @globalColor;
        .border-radius(@borderRadiusSmall);
        color: white;
        padding: 33px 20px 25px;
        .transition(all .2s linear);
        .item_title {
          color: white;
          .item_title_part_last {
            display: block;
            font-weight: normal;
          }
          a {
            color: white;
            &:hover {
              color: white;
              .scale(1.05);
            }
          }
        }
        .item_img {
          margin-bottom: 11px;
        }
        &:hover {
          background: @globalColor2;
        }
      }
    }
  }

  &.custom {
    margin-bottom: @baseLineHeight*2;
    .row-fluid {
      margin: 0;
      padding: 0;
      .item {
        margin: 0;
        padding: 0;
        .item_img {
          background: black;
          margin-bottom: 0;
          > img {
            .opacity(50);
          }
          .image_content {
            height: 100%;
            left: 0;
            position: absolute;
            text-align: center;
            top: 0;
            width: 100%;
            &:before {
              content: "";
              display: inline-block;
              height: 100%;
              overflow: hidden;
              vertical-align: middle;
              width: 0;
            }
            > div {
              font-size: @baseFontSize;
              line-height: @baseLineHeight;
              color: #ffffff;
              display: inline-block;
              max-width: 90%;
              vertical-align: middle;
              .item_published {
                color: @globalColor;
                font-size: 56px;
                line-height: 60px;
                font-weight: 900;
                span {
                  font-size: 28px;
                  font-weight: normal;
                  line-height: 44px;
                  vertical-align: top;
                }
              }
              .item_title {
                color: white;
                .item_title_part_last {
                  display: block;
                  font-weight: normal;
                }
              }
              .price {
                color: @globalColor;
                font-size: 56px;
                font-weight: 900;
                line-height: 60px;
                margin-bottom: @baseFontSize;
                small {
                  font-size: 28px;
                  font-weight: normal;
                  line-height: 40px;
                  vertical-align: top;
                }
              }
              .caption {
                font-size: 30px;
                font-weight: 900;
                line-height: 40px;
                margin-bottom: @baseLineHeight;
                text-transform: uppercase;
                span {
                  font-weight: normal;
                }
              }
            }
          }
        }
      }
    }
  }

  &.brands {
    .item {
      .item_img {
        img {
          .opacity(25);
        }
      }
    }
  }

  &.testimonials {
    .item {
      text-align: left;
      .item_title {
        color: @globalColor2;
      }
    }
  }

  &.mod-newsflash-adv__counters {
    text-align: center;
    .counter {
      color: @globalColor2;
      font: 900 56px/80px @sansFontFamily;
      position: relative;
    }
  }

  &.mod-newsflash-adv__pricing_simple {
    .item {
      *[class*=heading-style] {
        margin-bottom: 6px;
      }
      .price {
        font: 18px/24px @altFontFamily;
        margin-bottom: 21px;
      }
      .item_content {
        border: 1px solid #dcdcdc;
        padding: 33px 20px 40px;
        text-align: center;
        ul {
          margin-bottom: @baseLineHeight + 1;
          li {
            background: none;
            font-size: 14px;
            line-height: 24px;
            padding: 0;
            &:before {
              display: none;
            }
            + li {
              margin-top: 12px;
            }
          }
        }
      }
      &.featured {
        .item_content {
          background: @globalColor;
          color: white;
          *[class*=heading-style] {
            color: white;
          }
          .price {
            color: @textColor;
          }
          .btn {
            background: @globalColor;
            border: 1px solid white;
            color: white;
            &:hover {
              background: white;
              color: @globalColor;
            }
          }
        }
      }
    }
  }

  &.mod-newsflash-adv__pricing_detailed {
    .item {
      .price {
        border-bottom: 1px solid #828282;
        font: 35px/40px @altFontFamily;
        margin-bottom: 35px;
        padding-bottom: 38px;
      }
      .item_content {
        border: 1px solid #dcdcdc;
        padding: @baseLineHeight*2 @baseLineHeight @baseLineHeight;
        text-align: center;
        ul {
          li {
            background: none;
            padding: 0;
            &:before {
              display: none;
            }
            + li {
              margin-top: 22px;
            }
          }
        }
      }
      &.featured {
        .item_content {
          background: @globalColor;
          color: white;
          *[class*=heading-style] {
            color: white;
          }
          .price {
            border-color: white;
            color: white;
          }
          ul li {
            color: white !important;
          }
        }
      }
    }
  }

  &.mod-newsflash-adv__progbars_horizontal {
    text-align: center;
    .progress-bar-default .progress-bar__trail {
      stroke: @globalColor;
    }
    .progress-bar-default .progress-bar__stroke {
      stroke: @globalColor2;
    }
    .progress-bar__body {
      font-size: 20px;
      top: auto;
      bottom: 100%;
    }
  }

  &.mod-newsflash-adv__progbars_circle {
    .item_content {
      max-width: 189px;
      margin-right: auto;
      margin-left: auto;
      text-align: center;
      position: relative;
      color: white;
      &:before {
        content: '';
        position: absolute;
        left: 20px;
        top: 20px;
        right: 20px;
        bottom: 20px;
        .border-radius(50%);
        background: @globalColor2;
        z-index: -1;
      }
      .progress-bar__body {
        color: white;
      }
      > * {
        position: relative;
      }
    }
  }

}

// =======================
// Video
// =======================

.rd-video_cnt {
  color: white;
  padding: 8% 0 7.2%;
  *[class*=heading-style] {
    color: white;
  }
  .pretext {
    margin-bottom: @baseFontSize;
    span {
      color: white;
    }
  }
}

// =======================
// Parallax
// =======================

.parallax {
  color: white;
  margin-bottom: @baseLineHeight*2;
  padding: 8.2% 0 6.5%;
  *[class*=heading-style] {
    color: white;
  }
  .pretext {
    margin-bottom: 30px;
    span {
      color: white;
    }
  }  
}

.skills_diagram {
  display: inline-block;
  vertical-align: middle;
}

//===== Testimonials Page ======

.sorting {
  .btn-group {
    > * {
      font-size: @baseFontSize;
    }
  }
}

// =======================
// Blog
// =======================
.page-blog article,
.page-item__blog{

}

.tags {
  //clear: both;
  li {
    font-size: @baseFontSize - 4;
    line-height: @baseLineHeight;
    padding: 0px !important;
    a {
      background: none;
      color: @textColor;
      font-size: @baseFontSize - 4;
      line-height: @baseLineHeight;
      font-weight: normal;
      padding: 0px !important;
      &:hover,
      &:focus,
      &.active,
      &.selected {
        background: none;
        color: @globalColor;
      }
    }
    + li {
      &:before {
        content: '\005C';
        display: inline-block;
        padding: 0 4px;
      }
    }
  }
}

.addthis_toolbox {
  padding-top: @baseFontSize;
}

.video_frame {
  margin-bottom: 26px;
  position: relative;
  iframe {
    border: medium none !important;
    height: 100% !important;
    left: 0;
    margin: 0;
    position: absolute;
    top: 0;
    width: 100% !important;
  }
}

.item_info_dl {
  margin: 0 0 20px;
  dd {
    display: inline;
    margin: 0;
    > * {
      display: inline;
    }
  }
}

// =======================
// Our Team
// =======================

.team_team {
  .item_introtext {
    overflow: hidden;
  }
  .item_content {
    text-align: center;
  }
  .social-links {
    margin-top: 15px;
  }
}

.social-links {
  li {
    display: inline-block;
    margin: 0 5px;
    &:before {
      display: none;
    }
    a {
      .border-radius(1000px);
      color: @white;
      display: block;
      line-height: 52px;
      text-align: center;
      width: 52px;
      background: #45619d;
    }
    a:hover {
      background: @globalColor;
    }
  }
}

.rd-video iframe#player {
  max-width: none;
}

// =======================
// TOP
// =======================

#top {
  background: @grayLighter;
  font-size: 15px;
  padding-top: 5px;
  ul {
    margin-bottom: 6px;
    li {
      //line-height: 39px;
      a {

      }
    }
  }
  a {
    color: @textColor;
    &:hover {
      color: @globalColor;
    }
  }
  ul {
    li {
      a {
        display: block;
      }
    }
  }
}

.fullwidth ul.icesubMenu.sub_level_1 .icemega_cover_module .icemega_modulewrap.pricing .item .item_introtext p {
  display: none;
}

// =======================
// HEADER
// =======================

#header {
  .row-container {
    padding-bottom: 26px;
    padding-top: 26px;
    .transition(all .2s linear);
  }
}

#logo {
  img {
    margin-right: 5px;
    vertical-align: top;
  }
  .siteName {
    font-size: 40px;
    line-height: 42px;
  }
  a {
    color: @grayDark;
    display: inline-block;
    max-width: 100%;
    .item_title_char0,
    .item_title_char1,
    .item_title_char2 {
      font-weight: 900;
      color: @globalColor;
    }
  }
}

// =======================
// NAVIGATION
// =======================

#breadcrumbs {
  background: @grayLighter;
}

// =======================
// NAVIGATION
// =======================

#navigation {
}

.search-block {
  text-align: right;
  input {
    max-width: 100%;
  }
}

.masonry {
  .item {
    margin-left: 0 !important;
  }
}

// =======================
// SHOWCASE
// =======================

#showcase {
}

// =======================
// FEATURE
// =======================

#feature {
}

//.counters {
//  .radial-progress {
//    @circle-size: 270px;
//    @circle-background: #f73a4c;
//    @inset-size: 262px;
//    @percentage-color: #f73a4c;
//    @percentage-font-size: 43px;
//    @percentage-text-width: 120px;
//    @transition-length: 1s;
//    @transition-timing: ease;
//    width: @circle-size;
//    height: @circle-size;
//    &:before {
//      border: (@circle-size - @inset-size)/2 solid #fff;
//      .border-radius(1000px);
//      bottom: 0;
//      content: '';
//      left: 0;
//      position: absolute;
//      right: 0;
//      top: 0;
//    }
//    .circle {
//      .fill {
//        border: (@circle-size - @inset-size)/2 solid; //@circle-background;
//        clip: rect(0px, @circle-size/2, @circle-size, 0px);
//        height: @inset-size;
//        width: @inset-size;
//        border-color: @globalColor;
//      }
//      .mask {
//        clip: rect(0px, @circle-size, @circle-size, @circle-size/2);
//        height: @circle-size;
//        width: @circle-size;
//      }
//    }
//    .inset {
//      background: #fff;
//      background: rgba(255, 255, 255, .5);
//      height: @inset-size;
//      width: @inset-size;
//      margin-left: (@circle-size - @inset-size)/2;
//      margin-top: (@circle-size - @inset-size)/2;
//      .percentage {
//        bottom: 50%;
//        height: @percentage-font-size;
//        left: (@inset-size - @percentage-text-width) / 2;
//        width: @percentage-text-width;
//        .numbers {
//          margin-top: -@percentage-font-size;
//          span {
//            font-size: @percentage-font-size;
//            width: @percentage-text-width;
//            color: @globalColor;
//          }
//        }
//      }
//      .title {
//        top: 50%;
//      }
//    }
//    .number_width (@counter) when (@counter <= 180) {
//      &[data-number="@{counter}"] {
//        .inset .percentage .numbers {
//          width: @counter * @percentage-text-width + @percentage-text-width;
//        }
//      }
//      .number_width(@counter + 1);
//    }
//    .number_width(0);
//  }
//}

// =======================
// MAINTOP
// =======================

#maintop {
  padding-bottom: 19px;
}

// =======================
// CONTENT TOP
// =======================

#content-top {
}

// =======================
// CONTENT
// =======================

#content {
}

#component {
  min-height: 0;
}

.item {
  margin-bottom: @baseLineHeight*2;
  &:after {
    content: '';
    display: block;
    clear: both;
  }
}

.page-item {
  padding-bottom: @baseLineHeight*2;
}

//===== AddThis ======

.at-share-tbx-element a.at-share-btn {
  .transition(all .1s ease);
  &:hover {
    .scale(1.1);
  }
}

// =======================
// CONTENT BOTTOM
// =======================

#content-bottom {
}

// =======================
// ASIDE RIGHT
// =======================

.tagspopular {
  ul {
    margin: 0;
    li {
      display: inline-block;
      list-style: none;
      padding: 0 15px 12px 0;
    }
  }
}

.content-links {
  ul {
    list-style: none;
    margin: 0;
  }
}

// =======================
// MAINBOTTOM
// =======================

#mainbottom {
}

// =======================
// MAINBOTTOM 2
// =======================

#mainbottom-2 {
  padding-top: 29px;
}

// =======================
// MAINBOTTOM 3
// =======================

#mainbottom-3 {
}

// =======================
// MAINBOTTOM 4
// =======================

#mainbottom-4 {
  padding-bottom: @baseLineHeight + 8;
  padding-top: 41px;
}

// =======================
// BOTTOM
// =======================

#bottom {
}

// =======================
// FOOTER
// =======================

.mod-custom {
  &.mod-custom__address {
    padding-bottom: 20px;
    *[class*=material-design] {
      font-size: 27px;
      color: @globalColor;
    }
  }
}

#footer-wrapper {
  background: @grayDarker;
  color: @textColor;
  font-size: 13px;
  a {
    color: @textColor;
    &:hover {
      color: @globalColor;
    }
  }
  .footer-wrapper-inner {
    background: @grayDarker;
  }
  .moduleTitle {
    color: white;
  }
  ul {
    li {
      font-weight: normal;
      +li {
        margin-top: 6px;
      }
    }
  }
}

#footer {
  font-size: 16px;
  line-height: 28px;
  padding-bottom: 92px;
  padding-top: 91px;
  .moduleTitle {
    text-align: left;
  }
}

#copyright {
  padding: 8px 0;
}

.copyright {
  .year {
    &:after {
      content: '.';
      padding: 0 4px 0 0;
    }
  }
}

// =======================
// SOCIAL LIST
// =======================

.nav.menu.social {
  font-size: 0;
  line-height: 0;
  margin: 0;
  li {
    display: inline-block;
    padding: 0;
    margin: 0 10px 10px 0;
    &:before {
      display: none;
    }
    a {
      .border-radius(1000px);
      .box-sizing(border-box);
      color: @white !important;
      display: block;
      font-size: 22px;
      height: 48px;
      line-height: 48px;
      position: relative;
      text-align: center;
      .transition(all 0.5s ease);
      width: 48px;
      background: #434343;
      &:hover {
        background: @globalColor;
      }
    }
  }
}

#style_switcher{
  color: @white;
  &,
  & .toggler{
    background: #333;
  }
  p {
    font-size: 15px !important;
    line-height: 22px !important;
    padding: 0 0 10px !important;
  }
  ul {
    padding: 0 0 10px !important;
  }
  .style_switcher_form{
    .btn{
      color: #333;

      &:hover{
        color: @white;
      }
    }
  }
  & .toggler{
    &:hover{
      color: @white;
    }
  }
}

#to-desktop{
  padding-top: 20px;
  padding-bottom: 20px;
}

#style_switcher.shown {
  z-index: 1034 !important;
}

@import "_responsive.less";

@media print {
  .item__module,
  .item {
    .opacity(100) !important;
    .transform(none) !important;
  }

  .scroll-to-fixed-fixed {
    position: static !important;
    width: 100% !important;
    & + div {
      display: none !important;
    }
  }
}