﻿/*======================================================
    Media Query
=======================================================*/

/* max-width 992px */
@media (max-width: 992px) {
    .padding{ padding: 60px 0; }
    .sm-padding{ padding: 15px; }
    .service-items .sm-padding{ padding: 0 15px 10px; }
    .service-items .service-item{ padding: 30px; }
    p br{ display: none; }
    span br{ display: none; }

    .default-btn{ padding: 0 30px; }

    .section-heading h2{
        font-size: 32px;
        line-height: 42px;
    }
    .section-heading p br{
        display: inherit;
    }
}

/* max-width 768px */
@media all and (max-width: 768px) {
    .padding{ padding: 30px 0; }
    .xs-padding{ padding: 15px; }
    .section-heading p br,
    p br{ display: none; }
    /* .team-items{
        overflow: hidden;
    } */
    .team-items .sm-padding{
      padding: 0 10px;
    }
}

/* max-width 580px */
@media all and (max-width: 580px) {
    #scrollup {
        bottom: 20px;
        right: 20px;
    }
    .header-1 .header-right a.header-btn {
        padding: 8px 15px;
        font-size: 10px;
        height: initial;
        line-height: initial;
    }
    .about-bg-holder .bg-front {
        right: 0px;
        top: 50px;
    }
}

@media (max-width: 320px){
    .header-1 .header-right a.header-btn{ display: none; }
}

/*======================================================
    Main Slider
=======================================================*/

/* max-width 768px */
@media all and (max-width: 768px) {
    p{
      font-size: 13px;
    }
    .slider-content-wrap{ height: 288px; }
    .main-slider .slide-caption.big {
        font-size: 32px;
        line-height: 22px;
        min-height: 30px;
    }
    .main-slider .slide-caption.small{ font-size: 14px; }
    .main-slider .slide-caption.big .inner-layer{
        line-height: 40px;
        margin-top: 25px;
    }
    .main-slider .slide-caption.small{
        margin-top: 10px;
    }
    .main-slider .slide-btn-group {
        margin-top: 10px;
    }
    .border-layers {
        width: 200px;
        height: 290px;
        left: 60px;
        top: 110px;
    }
    .slider-content{
        margin: 0 10px;
    }
    .main-slider .slick-arrow{
        width: 30px;
    }
}

/* max-width 580px */
@media all and (max-width: 580px) {}

/* max-width 420px */
@media all and (max-width: 420px) {}
@media all and (max-width: 380px) {
    .slider-content-wrap {
        height: 288px;
    }
    .main-slider .slide-caption.medium{
        line-height: 1;
    }
    .main-slider .slide-caption.big {
        font-size: 22px;
        line-height: 22px;
        letter-spacing: 0;
    }
    .main-slider .slide-caption.big .inner-layer {
        line-height: 1.2;
        margin-top: 3px;
    }
    .main-slider .slide-caption.small{
        margin-top: 8px;
    }
    .main-slider .slide-btn-group {
        margin-top: 8px;
    }
}

/*======================================================
    Footer Section
=======================================================*/
/* max-width 1024px */
@media (max-width: 1024px) {}

/* max-width 992px */
@media (max-width: 992px){
    .footer-top{ padding: 60px 0; }
    .footer-top.active{ padding: 100px 0 60px; }
    .footer-widget.link-widget{ margin-left: 0; }
    .footer-info-list{ padding: 20px; }
    .footer-info-list svg {
        width: 30px;
        margin-right: 10px;
    }
    .footer-info-list h3 {
        font-size: 12px;
        letter-spacing: 0;
    }
}
/* max-width 768px */
@media all and (max-width: 768px) {
    .statistics-section,.team-section{
      background-repeat: repeat-y;
    }
    .statistics-section .col-6{
        padding-left: 0;
        padding-right: 0;
    }
    .footer-widget {
      margin-left: 0px;
    }
    .footer-widget .mb-20 {
      width: 50%;
      height: unset;
      margin-bottom: 10px;
    }
    .footer-widget .logo {
      margin-bottom: 12px;
    }
    .footer-widget .logo {
      width: 50%;
      height: unset;
    }
    .footer-widget h3 {
      margin-bottom: 14px;
    }

    .widget-links li:not(:last-of-type) {
        margin-bottom: 8px;
    }
    .footer-info-list{
        width: 100%;
    }
    .section-heading h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .footer-info-inner{
        flex-wrap: wrap;
    }
    .footer-info-inner .footer-info-list:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.5);
    }
    .footer-widget.link-widget{ margin-left: 0; }
    .info-active .footer-top {
        padding: 0px;
    }
    .footer-top{ padding: 100px 0; }
    .footer-info-list{ justify-content: flex-start; }
    .sponsor-item {
        padding: 0 25px;
    }
    .footer-cta{
        position: inherit;
    }
    .footer-cta-inner{
        width: 100%;
        padding: 20px;
    }
    .footer-cta-inner .footer-cta-list h2 {
        font-size: 22px;
        line-height: 28px;
    }
    .footer-top.active {
        padding: 0 0 60px;
    }
/*======================================================
    Right Fixed
=======================================================*/
#fixed{
  position: fixed;
  right: 0;
  cursor: pointer;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0px 15px 20px 0px rgba(209, 218, 235, 0.50);
  border-radius: 4px;
  font-size: 12px;
}
#fixed div{
  padding: 5px 10px;
}
#fixed img{
  width: 20px;
  height: 20px;
  margin: 10px 0 5px 0;
}
#fixed .active{
  background: #0678f5;
  color: #fff;
}

#focustips, #calltips{
  position: absolute;
  right: 80px;
  top: 90px;
  width: 180px;
  text-align: center;
  background: #0678f5;
  border-radius: 4px;
  color: #fff;
  padding: 5px 10px;
  display: none;
}
#focustips:before, #calltips:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #0678f5;
  top: 12px;
  right: -16px;
}
#focustips{
  top: 165px;
}
.service-section .buttons{
  display: block;
  position: relative;
  height: 383px;
}
.service-section .buttons-left{
  width: 80px;
  float: left;
}
.service-section .buttons-right{
  width: 80px;
  position: absolute;
  left: 0;
  top: 198px;
}
.service-section .buttons-item{
  margin: 6px 0;
  padding: 0;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
}
.service-section .msg-content .msg-panel .msg img{
  margin: -20px 0 0 10px;
  height: 353px;
  width: 235px;
  position: absolute;
  top: 45px;
  left: 100px;
}
.hot-product .page-btn + .page-btn{
  margin-top: 10px;
}
.hot-product .product-desc{
  height: 100%;
}
}
@media all and (min-width: 1140px) {
  .footer-section .container{
    max-width: 1140px;
  }
  .footer-section .container .col-lg-2{
    max-width: 15%;
    padding: 0;
  }
  .footer-section .container .col-lg-2-big{
    max-width: 18%;
    padding: 0;
  }
  .footer-section .container .col-lg-3{
    max-width: 22%;
    padding: 0;
  }
}
