@media screen and (max-width: 1600px) {
  #cms-theme.header-14 {
    margin-left: 270px;
    #cshero-header-left {
      padding: 50px 30px !important;
      width: 270px !important;
    }
    #page-default .entry-content > .vc_row {
      padding-left: 50px;
      padding-right: 50px;
    }
    .vc_row[data-vc-full-width] {
      padding-left: 50px !important;
      padding-right: 50px !important;
    }
    .vc_row[data-vc-stretch-content] {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    .cms-cta-wrapper .container {
      padding-left: 50px;
      padding-right: 50px;
    }
    #cshero-footer {
      #cshero-footer-top > .container, #cshero-footer-bottom  > .container {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
      }
    }
  }
}
@media screen and (min-width: 1360px) {
  .cms-carousel-client-layout3.navigation-horizontal-center {
    .owl-controls {
      .owl-prev, .owl-next {
        left: -81px;
          margin: 0;
          position: absolute;
          top: 50%;
          @include transform(translate(0px, -50%));
      }
      .owl-next {
        left: inherit;
        right: -81px;
      }
    }
  }
}
@media screen and (min-width: 1270px) {
  body {
    .cs-boxed {
      margin: auto;
      width: 1270px;
      .container {
        width: 100%;
      }
      #cshero-footer {
        #cshero-footer-feature-top, #cshero-footer-top, #cshero-footer-bottom, #cs-copyright {
          > .container {
            padding-left: 30px;
            padding-right: 30px;
          }
        }
      }
    }
    #page-wrapper.cs-boxed {
      #cshero-header-inner {
        #cshero-header-top {
          width: 100%;
          > .container {
            padding: 0 30px;
          }
        }
        #cshero-header {
          margin: auto;
          width: 100%;
          padding: 0;
          > .container {
            padding: 0 30px;
          }
        }
      }
      .vc_row[data-vc-full-width] {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        left: 0 !important;
        margin: 0;
      }
      #cms-page-title-wrapper {
        padding: 0 30px;
        #page-title-text, #breadcrumb-text {
          padding: 0 30px;
        }
      }
      #primary {
        padding-left: 0;
        padding-right: 0;
        .entry-content > .vc_row {
          padding: 0 15px;
          margin: 0;
        }
        &.sidebar-active {
          padding-left: 30px;
          padding-right: 15px;
          + #sidebar {
            padding-right: 30px;
          }
          .entry-content > .vc_row {
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin: 0;
            > .vc_column_wrapper > .wpb_column > .vc_column-inner {
              padding-left: 0;
              padding-right: 0;
            }
          }
        }
      }
      .sidebar-left-active #primary.sidebar-active {
        padding-left: 15px;
        padding-right: 30px;
        + #sidebar {
          padding-right: 15px;
          padding-left: 30px;
        }
      }
    }
    &.single {
      .cs-boxed #main {
        > .container {
          padding: 0 30px;
        }
        #cms-cta > .container {
          padding: 0 30px;
        }
      }
    }
    &.post-type-archive-product #main > .container  {
      padding: 0 30px;
    }
  }
}
@media screen and (max-width: 1200px) {
  #cms-theme.header-14 {
    margin-left: 0px;
    border: none;
    #cshero-menu-left-mobile {
      display: block;
    }
    #cshero-header-left {
      padding: 50px 30px !important;
      width: 270px !important;
      z-index: 1001;
      @include transform(translateX(-270px));
      opacity: 0;
      visibility: hidden;
      @include transition(all 220ms ease 0ms);
    }
    &.menu-left-open {
      #cshero-header-left {
        opacity: 1;
        visibility: visible;
        @include transform(translateX(0px));
      }
    }
  }
  #cshero-header-navigation {
    .main-navigation {
      .menu-main-menu {
        > ul > li, > li {
          padding: 0 8px;
        }
      }
      li ul:not(.wg-menu-item) {
        min-width: 190px;
      }
    }
  }
  #cshero-header-inner #cshero-header #cshero-header-logo a span {
    display: none;
  }
  /* Footer */
  #cshero-footer-bottom {
    .title-social {
      display: block;
      margin-bottom: 12px;
    }
    .cs-social {
      margin-left: -2px;
    }
    .title-newsletter {
      position: static;
      margin-bottom: 12px;
    }
    .newsletter-widget {
      padding-left: 0;
    }
    .tnp-widget {
      padding-left: 0;
    }
  }
}
@media screen and (min-width: 1200px) {
  #cshero-header-logo.col-lg-5 {
    width: 34.667%;
  }
  #cshero-header-navigation.col-lg-7 {
    width: 65.333%;
  }
}
@media screen and (max-width: 1024px) and (min-width: 993px) {
  .vc_col-sm-3 {
    .cms-counter-icon {
      float: none;
    }
    .cms-counter-content .cms-counter-title {
      margin-bottom: 20px;
    }
  }
}
@media screen and (max-width: 1024px){   
  #page-title {
    background-attachment: inherit;
  }
  body .vc_tta-container .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab a {
    padding: 10px 18px;
  }
  .custom-row-image {
    left: 0;
    -webkit-width: -webkit-calc(50% - 15px);
    -moz-width: -moz-calc(50% - 15px);
    width: calc(50% - 15px);
  }
  .row-image-holder {
    bottom: 30px;
    left: 30px;
    right: 45px;
    top: 30px;
  }
  .cms-pricing-layout1 .cms-pricing-item {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 1200px) and (min-width: 993px) {
  #cshero-header {
    #cshero-header-logo {
      width: 25%;
    }
    #cshero-header-navigation {
      width: 75%;
    }
  }
  .header-6, .header-7, .header-8, .header-14 {
    #cshero-header #cshero-header-navigation {
      width: 100%;
    }
  }
}
@media screen and (min-width: 993px) {
  .line-gap {
    .cms-counter-wraper:before {
      width: 3px;
      height: 30px;
      background-color: #e5e5e5;
      content: "";
      position: absolute;
      top: 50%;
      @include transform(translate(0px, -50%));
      right: -3px;
    }
    .wpb_column:last-child .cms-counter-wraper:before {
      width: 0;
    }
  }
  .cms-grid {
    .col-lg-3:nth-child(4n+1) {
      clear: left;
    }
    .col-lg-4:nth-child(3n+1) {
      clear: left;
    }
    .col-lg-6:nth-child(2n+1) {
      clear: left;
    }
  }
  #cshero-menu-mobile {
    display: none !important;
  }
  .practice-layout6, .cms-carousel-client {
    &.nav-top-right {
      .owl-controls {
        position: absolute;
          right: -5px;
          top: -101px;
          .owl-prev, .owl-next {
            margin-top: 0;
          }
      }
    }
  }
  .cms-grid-blog-layout1 {
    .col-lg-4:nth-child(3n+1) {
      clear: left;
    }
    .col-lg-3:nth-child(4n+1) {
      clear: left;
    }
  }
}
@media screen and (max-width: 992px) {
  .fp-section.fp-table {
    margin: 0;
  }
  .cms-services-wraper.cms-services-default .tab-pane .cms-services-content-right {
    padding: 40px 50px;
    h3 {
      font-size: 26px;
    }
  }
  .font-sm {
    font-size: 60px !important;
  }
  .countdown-item-container {
    margin-bottom: 30px;
    border-left: none !important;
  }
  .cms-heading-right {
    padding-top: 20px;
  }
  /* Cta */
  .cms-cta-wrapper{
    &.cms-style-default {
      padding-left: 35px !important;
      &:before {
        display: none;
      }
        .cms-cta-text {
        display: inherit;
        &:before {
          width: 0;
        }
      }
    }
    &.cta-right .cms-cta-button {
      float: none;
    }
  }
  .cms-heading-wrapper {
    &.heading-style3 {
      .cms-heading-inner {
        text-align: left;
        .box:before {
          right: inherit;
          left: -35px;
        }
      }
      .col-lg-6 {
        padding: 0 50px;
        &.cms-heading-right {
          margin-top: 20px;
        }
      }
    }
  }
  .title-tablet {
    font-size: 300% !important;
  }
  .text-center-md {
    text-align: center;
    * {
      text-align: center !important;
    }
    .cart-contents {
      float: none !important;
    }
  }
  /* Text Align */
  .text-rp-center {
    text-align: center !important;
    .wpb_single_image.vc_align_left {
      text-align: center;
    }
  }
  .text-rp-right {
    text-align: right !important;
  }
  .w100-sm {
    width: 100%;
  }
  body > div > div > .container,
  #cs-header > .container{
    width: 100%!important;
  }
  .container{
    width: 100%;
  }
  .icon-slider i {
    height: 60px !important;
    width: 60px !important;
    line-height: 60px !important;
    font-size: 20px !important;
  }
  /* ==========================================================================
      Header Mobile
  ========================================================================== */ 
  body #cshero-header {
    position: static !important;
    > .container {
      position: relative;
      z-index: 99;
    }
    .cshero-header-search {
      right: 70px;
    }
  }
  #cshero-menu-mobile {
    position: absolute;
    right: 0;
    top: 50%;
    @include transform(translate(0px, -50%));
    display: block;
  }
  #cshero-header-navigation {
    display: none;
  }
  #cshero-header-navigation.collapse {
    display: block;
  }
  /* ==========================================================================
     End Header Mobile
  ========================================================================== */
  /* Woo */
  .cart-action-wrap {
    td.coupon, .actions {
      width: 50%;
    }
    .button {
      width: 100% !important;
      float: none;
    }
  }
  #cms-trust.woocommerce .products li, #cms-medico.woocommerce-page .products li {
    width: 50%;
  }
  .vc_row-no-padding.small-1-column .wpb_column {
    margin-top: 0 !important;
  }
  #cshero-footer-feature-top .feature-top-item span:nth-child(2) {
    line-height: 31px;
  }
  /* Call To Action */
  .cms-cta-wrapper {
    &.cta-right .cms-cta-button {
      text-align: center;
      margin-top: 25px;
    }
  }
  #cshero-footer-top {
    .media {
      padding-bottom: 10px;
      .media-left {
        padding: 0;
        display: block;
        img {
          top: 0;
          margin-bottom: 15px;
        }
      }
      .media-body {
        padding: 0;
        display: block;
      }
    }
    [class*="cshero-footer-"]{
      width: 100%;
      margin-bottom: 35px;
      text-align: center;
    }
    .col-xs-12 {
      width: 100%;
    }
    aside.[class^="col-"] {
      margin-bottom: 30px;
      &:last-child {
        margin: 0;
      }
      aside.[class^="widget_"], aside.[class^="widget-"], .widget {
        margin: 30px 0 0;
        &:first-child {
          margin: 0;
        }
      }
    }
  }
  #cshero-footer-bottom .cs-social li {
    margin-bottom: 8px;
  }
}
@media screen and (max-width: 991px) and (min-width: 768px) {
  .cms-grid-wraper .cms-grid-item {
    &.col-sm-6:nth-child(odd) {
      clear: left;
    }
  }
  .text-rp-small {
    font-size: 13px !important;
    line-height: 26px !important;
  }
  .heading-rp-small {
    font-size: 28px !important;
    line-height: 36px !important;
  }
}
@media screen and (max-width: 992px) and (min-width: 768px) {
  /* Responsive Column VC */
  .small-1-column {
    .wpb_column {
      width: 100%;
      + .wpb_column {
        margin-top: 35px;
      }
    }
    &.sm-no-margin .wpb_column + .wpb_column {
      margin-top: 0;
    }
  }
  .small-2-column .wpb_column {
    width: 50%;
    margin-top: 0;
    &:nth-child(2) {
      margin-top: 0;
    }
    &:nth-child(3), &:nth-child(4) {
      margin-top: 35px;
    }
  }
  .small-3-column .wpb_column {
    width: 33.33%;
    + .wpb_column {
      margin-top: 0;
    }
  }
  .section-counter {
    &.small-2-column .wpb_column:nth-child(3), &.small-2-column .wpb_column:nth-child(4) {
      margin-top: 0;
      border-top: 1px solid #ebebeb;
    }
    &.small-2-column.line-dark .wpb_column:nth-child(3), &.small-2-column.line-dark .wpb_column:nth-child(4) {
      border-top: 1px solid #4c4b4b;
    }
    &.small-2-column .wpb_column:nth-child(2) {
      border-right: none !important;
    }
  }
  /* Text Align */
  .text-center-small {
    text-align: center;
    .wpb_wrapper {
      text-align: center;
    }
    .vc_custom_heading {
      text-align: center !important;
    }
  }
  /* End Text Align */
  #cms-trust.woocommerce .products li, #cms-medico.woocommerce-page .products li {
    &:nth-child(even) {
      clear: right;
    }
    &:nth-child(odd) {
      clear: left;
    }
  }
}
@media (min-width: 768px) {
  .column-no-padding {
    [class*="vc_col-"]{
      padding: 0;
    }
    > .vc_column_wrapper {
      padding: 0 15px;
    }
  }
}
@media (max-width: 767px) {
  #cms-theme.header-14 {
    #cshero-header-left {
      padding: 60px 25px !important;
      width: 260px !important;
      @include transform(translateX(-260px));
      #cshero-header-left-logo {
        margin-bottom: 60px;
      } 
      #cshero-header-left-menu .menu-main-menu li {
        a {
          font-size: 13px;
          font-weight: 600;
        }
        .cs-menu-toggle:after {
          font-size: 12px;
        }
      }
    }
    &.menu-left-open {
      #cshero-header-left {
        @include transform(translateX(0px));
      }
    }
  }
  .mobile-clear-space > .vc_column-inner{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .cms-services-wraper {
    &.cms-services-default .tab-pane .cms-services-content-left {
      position: static;
      height: 320px !important;
      .post-thumbnail {
        height: inherit;
      }
    }
    .tab-pane .wpb_column {
      width: 100%;
      .post-thumbnail {
        height: 430px;
      }
    }
    .nav-tabs li {
      display: block;
      a {
        padding: 0;
        i {
          font-size: 22px;
          padding-right: 6px;
          position: relative;
          top: 5px;
        }
        span {
          display: inline-block;
        }
      }
    }
  }
  .font-sm {
    font-size: 32px !important;
  }
  .cms-heading-wrapper .title {
    font-size: 26px;
    &.box:before {
      height: 86px;
    }
  }
  /* Button */
  .btn {
    margin-bottom: 4px;
    &.btn-md {
      padding: 17px 18px;
    }
  }
  /* Page Title */
  #page-title {
    #page-title-text h1 {
      font-size: 23px;
    }
    #page-title-text .sub-title {
      font-size: 15px;
    }
  }
  /* Tab */
  .vc_tta-panels-container .vc_tta-panel-title {
    .vc_tta-controls-icon {
      display: none;
    }
    .vc_tta-title-text {
      margin-left: 0 !important;
      padding-left: 12px !important;
    }
  }
  .vc_tta-style-classic .vc_tta-panel {
    padding-left: 20px;
    padding-right: 20px;
    &.vc_active {
      .vc_tta-panel-title span {
        color: $primary_color;
      }
    }
  }
  .practice-layout6, .practice-layout11 {
    .cms-grid-item {
      margin-bottom: 30px;
    }
  }
  /* Text Align */
  .text-center-xs, .text-center-mini {
    text-align: center;
    .wpb_wrapper {
      text-align: center;
    }
    .vc_custom_heading {
      text-align: center !important;
    }
  }
  .text-left-xs {
    text-align: left !important;
  }
  .small-1-column, .small-2-column, .small-3-column {
    .wpb_column + .wpb_column {
      margin-top: 35px;
    }
    &.sm-no-margin .wpb_column + .wpb_column  {
      margin-top: 0;
    }
  }
  .small-2-column .wpb_column {
    width: 100%;
  }
  .section-counter {
    &.small-2-column .wpb_column {
      border-right: none !important;
    }
  }
  .form-practice .wpcf7-submit {
    margin-bottom: 30px;
  }
  .heading-rp-small {
    font-size: 16px !important;
    line-height: 26px !important;
  }
  /* End Text Align */
  
  /* Single Image VC */
  body .vc_tta-container .vc_tta-panel-body .vc_single_image-wrapper{
    margin-top: 22px;
    img {
      width: 100%;
      margin: 22px 0;
    }
  }
  /* Call Action */
  .cms-cta-wrapper {
    a {
      margin-bottom: 20px;
    }
  }
  /* Client */
  .cms-carousel-client-layout1 .cms-carousel-media {
    line-height: normal;
  }
  /* End Client */
  .cshero-header-search {
    display: none;
  }

  #cshero-footer-feature-top {
    .cshero-footer-feature-inner {
      margin-top: 15px;
    }
    .feature-top-item {
      margin-bottom: 20px;
      width: 100% !important;
      border-right: none;
    }
  }
  #cshero-footer-bottom {
    text-align: center;
    .cshero-footer-bottom1 {
      margin-bottom: 20px;
    }
  }
  /* Blog */
  .post-navigation .nav-link-prev, .cms-related-post-inner .item {
    margin-bottom: 30px;
  }
  /* Shortcode Heading */
  .cms-heading-wrapper.heading-layout1 {
    .cms-heading-button {
      margin-top: 30px;
      padding-left: 115px;
    }
    .cms-heading-content .line-title {
      width: 30px;
    }
  }
  /* End Shortcode Heading */

  /* Footer Top */
  .cms-fancyboxes-layout2 .cms-fancybox-item {
    padding-bottom: 33px;
  }
  .cms-error404 .entry-header h1 {
    font-size: 100px;
    &:before {
      font-size: 130px;
      left: -45px;
      top: -28px;
    }
  }
  .wpb_single_image.icon .vc_single_image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    img {
      width: 100%;
    }
  }
  .cshero-popup-search .cshero-search-inner #searchform input[type="text"] {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  #cms-trust.woocommerce .products li, #cms-medico.woocommerce-page .products li,
  #cms-trust.woocommerce .pr-content.pr-list-active .products li .cshere-woo-item-wrap .cshero-woo-inner,
  #cms-trust.woocommerce .pr-content.pr-list-active .products li .cshere-woo-item-wrap .cshero-woo-meta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #cshero-header-inner #cshero-header #cshero-header-logo a img {
    max-width: 165px;
    height: auto !important;
  }
  /* Shortcode Heading */
  .cms-heading-wrapper.heading-layout1 {
    .cms-heading-content {
      padding-left: 55px;
      &:before {
        width: 30px;
      }
    }
    .cms-heading-button {
      padding-left: 70px;
    }
  }
  /* End Shortcode Heading */
  .cms-testimonial-layout1 {
    .cms-carousel-media img {
      max-width: 100%;
      width: 100%;
      float: none;
    }
    .main-title {
      padding: 0;
      margin-top: 25px;
    }
  }
  #cshero-footer-top ul.menu li,
  #cshero-footer-top .cshero-footer-top3 ul.menu li {
    width: 100%;
  }
}
