/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

  .owl-carousel .owl-nav .owl-prev {
    left: -1em;
  }

  .owl-carousel .owl-nav .owl-next {
    right: -1em;
  }

  #main_carousel .item .content h2.h1 {
    font-size: 1rem;
  }

  .left-lined {
    border-top: none;
    border-left: 1px solid #424241;
  }

  .schema .side {
    font-size: 13px;
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

  section {
    padding: 50px 0 80px;
  }

  section#main {
    padding: 0 0 100px;
  }

  section#main .bg-green p {
    margin-bottom: 0;
  }

  #top {
    font-size: 14px;
    width: 100%;
    padding: .25em 0;
    box-shadow: 0px 2px 10px rgb(0 0 0 / 5%);
    font-weight: 400;
  }

  #main_carousel {
    max-width: 100%;
    margin-bottom: 0;
  }

  #main_carousel .item {
    padding-bottom: 130%;
  }

  #main_carousel .item .content h2.h1 {
    font-size: 2rem;
  }


  #advantages .grid {
    display: grid;
    justify-items: stretch;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    grid-column-gap: 5em;
    grid-row-gap: 0;
  }

  .right-lined {
    border: 0;
    border-right: 1px solid #424241;
  }

  #main_frame .buttons {
    padding-bottom: 2em;
  }

  #main_frame .buttons a {
    font-size: 16px;
    min-height: 60px;
  }

  .left-lined {
    border-top: none;
    border-left: 1px solid #424241;
  }

  .schema .side {
    font-size: 13px;
  }

}

/* Large devices LG (desktops, 992px and up) */
@media (min-width: 992px) {

  /* 1/5 columns */
  .col-lg-1-5 {
    width: 20%;
  }

  .col-lg-2-5 {
    width: 40%;
  }

  .col-lg-3-5 {
    width: 60%;
  }

  .col-lg-4-5 {
    width: 80%;
  }

  #main_carousel .item .content {
    top: 50%;
    justify-content: center;
    padding: 0;
    bottom: 0;
  }

  h2 {
    font-size: 2.4em;
    line-height: 1.3em;
    font-weight: 700;
  }

  .content h2 {
    font-size: 2em;
  }

  .btn.btn-lg {
    font-size: 20px;
    height: 60px;
  }

  .blockquote {
    font-size: 1em;
  }

  .lg-delim {
    border-right: 1px solid #424241;
    padding-right: 3em;
  }

  .delim {
    border: none;
  }

  #main_carousel .item {
    padding-bottom: 60%;

  }

  #main_carousel .item .content h2.h1 {
    font-size: 2rem;
  }

  .back-images .item {
    bottom: 44%;
  }

  .back-images .mask {
    background:
      linear-gradient(180deg, rgba(242, 242, 242, 0.00) 79.37%, rgba(242, 242, 242, 0.64) 90.59%, #F2F2F2 100%),
      radial-gradient(78.98% 65.42% at 82.8% 53.6%, rgba(242, 242, 242, 0.00) 60.48%, rgba(242, 242, 242, 0.80) 71.95%, #F2F2F2 82.95%);
    top: -20%;
    bottom: 43.7%;
    left: -20%;
  }

  #products .item {
    border-bottom: 1px solid var(--color-primary);
  }

  #products .item .icon img {
    min-width: 80px;
  }

  #main .cards .card {
    padding-bottom: 65%;
  }

  #main .cards .card .card-content {
    position: absolute;
  }

  #main .cards .card .card-content .text {
    margin: 0 auto .4em 0;
  }

  #main_frame .buttons {
    margin: 0;
    padding-bottom: 0;
  }

  #main_frame .buttons a {
    margin: 0;
    font-size: 17px;
    min-height: 45px;
  }

  #medcentersorder .card h3 {
    font-size: 1.6rem;
  }

  #partners {
    padding: 3em 0 1em;
  }

  #partners .item img:hover {
    filter: grayscale(0);
    transition: filter .3s;
  }

  #declarations .exclam {
    display: block;
  }

  #declarations .items {
    gap: 7%;
  }

  #declarations .item {
    max-width: 21%;
  }


  #support .title {
    margin: 0;
  }

  #support .title .icon {
    width: 160px;
  }

  #support .title .content {
    font-size: 1.5em;
    line-height: 1.2em;
    max-width: 300px;
  }

  #support .title .content h2 {
    margin-bottom: .5em;
    font-size: 2em;
  }

  #positions .list {
    display: flex;
    justify-content: space-between;
    gap: 8em;
  }

  #advantages .grid {
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
  }

  #transformation .after svg {
    width: 100%;
    height: auto;
  }

  #transformation .before svg {
    width: 100%;
    height: auto;
    margin-top: 3em;
  }

  #transformation .grid {
    display: block;
    font-size: 1em;
  }

  #transformation .grid .card {
    margin-left: -2em;
    margin-right: -1em;
    margin-bottom: 1em;
  }

  #always .on-line {
    border-right: 1px #424243 solid;
  }

  .left-lined {
    border-top: 1px solid #424241;
    border-left: none;
  }

  #consultFormModal .modal-form-block {
    padding-right: 1.3em;
    border-right: 1px solid #333;
  }

  #consultFormModal .modal-contacts-block {
    padding-left: 1.3em;
    border-bottom: none;
  }

  .summary>div {
    grid-gap: 1em 2em;
    display: grid;
    grid-template-columns: auto auto;
  }

  #medcentersorder .card.order ul li,
  #medcentersorder .card.order p {
    font-size: 1.3em;
    background-size: 20px;
  }

  #medcentersorder .card.order ul li {
    margin-bottom: 0;
  }

  #medcentersorder .card.order .btn.btn-primary {
    font-size: 1.2em;
  }

  .schema .side {
    font-size: 14px;
  }

  .become-manufacturer .btn.btn.btn-primary {
    font-size: 1.8em;
  }

  .become-manufacturer p {
    font-size: 1.2em;
  }

  .become-manufacturer .lead {
    font-size: 1.4em;
  }

}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

  /* 1/5 columns */
  .col-xl-1-5 {
    width: 20%;
  }

  .col-xl-2-5 {
    width: 40%;
  }

  .col-xl-3-5 {
    width: 60%;
  }

  .col-xl-4-5 {
    width: 80%;
  }

  header {
    min-height: 100px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
  }

  header .navbar_1 .menu ul {
    gap: 1.5em;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    padding-left: 0em;
    padding-right: 1em;
  }

  header .navbar_1 .btn {
    margin-left: 0;
  }

  #top {
    display: block;
  }

  /* .home header .logo:after {
      content: " ";
      display: block;
      width: 97%;
      left: 0;
      height: .06rem;
      background: #424241;
      top: 3rem;
      position: absolute;

    } */

  #main_carousel .item {
    padding-bottom: 50%;
  }

  #main_carousel .item .content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 68%;
  }

  #main_carousel .item .content h2.h1 {
    font-size: 2.2rem;
  }

  .back-images .item {
    left: 20%;
  }

  .back-images .mask {
    left: 19.9%;
    bottom: -.2%;
  }

  .back-images .item {
    bottom: 0;
  }

  .back-images .mask {
    bottom: -.1%;
  }

  #main_carousel .owl-dots {
    bottom: 15%;
  }

  #products .item .icon {
    width: 106px;
    height: 106px;
  }

  #medbank-is .content_wrapper {
    width: 83%;
  }

  #main_frame .buttons a {
    margin: 0;
    font-size: 18px;
    min-height: 85px;
  }

  #medcentersorder .card .h3 a {
    font-size: 1.5rem;
  }

  #partners {
    padding: 7em 0 2em;
  }

  .schema ul.checked li {
    background-size: 18px;
  }

  .schema figure {
    margin: 0;
    padding: 0;
  }

  footer {
    padding: 120px 0;
  }

  footer .container>div {
    flex-direction: row;
  }

  footer .container>div .menu {
    max-width: 47em;
  }

  footer .container>div .menu>ul {
    margin: auto;
  }

  footer .container>div .menu>ul li {
    margin-bottom: 0;
  }

  footer .container>div .menu>ul li a {
    margin-bottom: .8em;
  }

  footer .container>div .menu>ul li ul li {
    margin-bottom: 0;
  }
  footer .col-lg-4 {
    min-width: 35%;
  }

  .left-lined {
    border: 0;
    border-left: 1px solid #424241;
  }

  .page-template-for-med-company .card.bg-green {
    font-size: 1em;
  }

  .page-template-for-med-company .card.bg-green ul.checked.checked-as-text li {
    background: url(../img/check-mark-434342.svg) 0 0 no-repeat;
    background-size: 1.4em;
    line-height: 1.18em;
    font-size: 1em;
  }

  .summary {
    font-size: 1em;
  }

  .summary>div {
    display: grid;
    grid-template-columns: 20% 30% auto 20%;
  }

  .schema .side {
    font-size: .9em;
  }


}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

  /* 1/5 columns */
  .col-xxl-1-5 {
    width: 20%;
  }

  .col-xxl-2-5 {
    width: 40%;
  }

  .col-xxl-3-5 {
    width: 60%;
  }

  .col-xxl-4-5 {
    width: 80%;
  }

  header .navbar_1 .menu ul {
    gap: 1em;
    padding-left: 3em;
    padding-right: 4em;
  }

  #main_frame .buttons a {
    margin: 0;
    font-size: 20px;
    min-height: 85px;
  }

  #medcentersorder .card .h3 a {
    font-size: 1.7rem;
  }

  #medcentersorder .card.order-2 img {
    width: 275px;
    right: 1em;
    bottom: 1em;
    z-index: 0;
  }

  ul.checked li {
    background-repeat: no-repeat;
    background-position: 0 10%;
    background-size: 18px;
  }

  .page-template-for-med-company .card.bg-green ul.checked.checked-as-text li {
    font-size: 1.2em;
  }

  .schema .side {
    font-size: 1em;
  }

}

/* Bootstrap 5 override */

/* add bootstrap xxxl 1560px (media 1920px) */
@media (min-width: 1600px) {
  .container {
    max-width: 1344px;
  }

  .container-fluid {
    max-width: 1344px;
  }

  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .container-xxxl {
    max-width: 1344px;
  }
}