/*
Theme Name: Медбанк Лэндинг Медцентра-партнера
Theme URI: dimeco.ru
Author: DimecoDEV
Author URI: dimeco.ru
Description: The theme was created for the network of sites Dimeco
Tags: commercial
Version: 0.0 (prealpha)
Requires at least: 6.0
Tested up to: 6.0.2
Requires PHP: 7.0
Text Domain: dimeco
*/
html {
  overflow-x: hidden;
}
body {
  font-family: Montserrat, sans-serif;
  position: relative;
  font-weight: 500;
  max-width: 100vw;
  overflow-x: hidden;
}

a, a:hover, a:active, a:visited {
  color: inherit;
}
a:hover, a:active, a:visited {
  opacity: .9;
}

.alignleft {
  float: left;
  margin-right: 2em;
  margin-bottom: 1em;
  vertical-align: top;
}
.alignright {
  float: right;
  margin-left: 2em;
  margin-bottom: 1em;
  vertical-align: top;
}
img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.gradient {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}
.gradient-1 {
  background: linear-gradient(190.77deg, #FFF9DF 4.46%, #FFFFFF 25.05%, rgba(228, 255, 253, 0) 44.66%, #FFFFFF 65.26%, rgba(236, 235, 255, 0.7) 82.91%, #FFE8E0 98.6%, rgba(255, 232, 224, 0) 98.6%);
  opacity: 0.3;
}
.gradient-2 {
  background: linear-gradient(353.32deg, #FFF9DF -43.29%, #FFFFFF -22.42%, #FFE8CD -2.27%, #FFFFFF 17.89%, rgba(228, 255, 253, 0.97) 38.04%, #FFFFFF 58.19%, rgba(236, 235, 255, 0.7) 76.91%, #FFE8E0 94.9%, #FFE8E0 94.9%);
  opacity: 0.75;
}

.btn-outline {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  display: flex;
  align-items: center;
  text-align: center;
  white-space: normal;
  color: #424241;
  border: 1px solid #424241;
}

.btn-white {
  border-radius: 2em;
  background: #FFFFFF;
  box-shadow: .4em .3em .4em rgba(0, 0, 0, 0.25);
  transition: box-shadow .15s ease-in-out;
  padding: .5em 1.2em;
  font-weight: 600;
}
.btn-white:hover,
.btn-white:active,
.btn-white:focus {
  background: #FFFFFF;
  box-shadow: .1em .1em .2em rgba(0, 0, 0, 0.25);
}



header {
  display: flex;
  align-items: center;
  padding-top: .4em;
  padding-bottom: .4em;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  margin-bottom: 2em;
  background: #fff;
}
header h1.logo {
  color: #324288;
  font-weight: 600;
  font-size: 14px;
  padding-bottom: .2em;
  border-bottom: 1px solid #324288;
  display: inline-block;
}
header .btn-outline {
  max-width: 170px;
}
header img.logo {
  max-width: 300px;
  max-height: 100px;
}


@media (min-width: 768px) {
  header {
    height: 60px;
  }
  header h1.logo {
    font-size: 20px;
  }
}
@media (min-width: 991px) {
  header{
    height: 100px;
  }
  header h1.logo {
    font-size: 23px;
  }
}

@media (min-width: 1200px) {
  header h1.logo {
    font-size: 26px;
  }
}

section {
  padding-top: 2em;
  padding-bottom: 2em;
}

/* CARDS */

.card {
  padding: 1em 3.3em;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}
.card>h2 {
  font-weight: 700;
}
.card>div {
  padding: 1em 0;
}
.card>div>p {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
}
.card .btn {
  margin: 0 auto;
  font-size: 23px;
  font-weight: 500;
}

.card-red {
  background: #FFE8E0;
  border: 1px solid #ECB6A5;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}
.card-red .btn {
  background: rgba(252, 162, 85, 0.28);
  border: 1px solid #FCA255;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.card-blue {
  background: #DBEEF9;
  border: 1px solid #7FC0E6;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}
.card-blue .btn {
  background: rgba(75, 178, 228, 0.53);
  border: 1px solid #4BB2E4;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}


/* STEPS */

#steps {
  font-size: 1.2em;
}

#steps h3 {
  font-weight: 700;
}

#steps .step,
#steps .step-content {
  display: flex;
  width: 100%;
  gap: 1em;
  position: relative;
}
#steps .step .number {
  min-width: 1.2em;
  height: 1.5em;
  display: flex;
  justify-content: center;
  margin: .2em 0 .2em 0;
  color: #BC5E5A;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  font-weight: 700;
}
#steps .step .title {
  margin: .2em 0 .2em 0;
}

#steps .line {
  min-height: 1em;
  margin: .5em 0;
  width: 1em;
  position: relative;
}
#steps .line:after {
  content: "";
  display: block;
  position: absolute;
  top: .5em;
  left: 0.52em;
  width: 1px;
  bottom: .5em;
  background: #888;
}
#steps .step:last-child:after {
  content: none;
}
#steps .step:after {
  content: "";
  display: block;
  position: absolute;
  left: 0.52em;
  width: 1px;
  bottom: -1.5em;
  background: #888;
  top: 2.5em;
}
#steps .step:last-child:after {
  content: none;
}


#steps .atable {
  margin-top: 1.3em;
  margin-bottom: 1.3em;
  font-size: .8em;
  margin-left: -2em;
}
#steps .atable .header {
  display: grid;
  grid-template-columns: auto;
  padding: 0 2em;
  text-align: center;
}
#steps .atable .header .atd {
  font-weight: 700;
  font-size: 1.1em;
  margin: 0 .3em;
  background: #4BB2E4;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px 10px 0px 0px;
  padding: .4em 2em;
  color: #fff;
}

#steps .atable .atrg {
  z-index: 1;
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  background: #FFFFFF;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1.3em 1em;
  gap: 1em;
  margin-bottom: .5em;
}

#steps .atable .atrg .atr {
  display: contents;
}
#steps .atable .atrg .atd {
  text-align: center;
}
#steps .atable .atrg .atd:first-child {
  text-align: left;
  position: relative;
}
#steps .atable .atrg .atd:first-child:after {
  content: "";
  display: block;
  position: absolute;
  right: -.5em;
  top:-.5em;
  bottom: -.5em;
  width: 1px;
  background: #424241;
}
#steps .atable .atrg [colspan="2"] {
  grid-column: 2 / span 2;
}
#steps .petit {
  font-size: .85em;
  font-weight: 500;
  margin-left: 2em;

}

@media (min-width: 1199px) {
  #steps .step,
  #steps .step-content {
    display: flex;
    width: 100%;
    gap: 1em;
    font-size: 1em;
  }
  #steps .atable {
    font-size: 1em;
    padding: 1em;
    margin-top: 0;
    margin-bottom: .3em;
  }
  #steps .atable .header .atd {
    font-weight: 700;
    font-size: 25px;
    margin: 0 1em;
  }
  #steps .atable .header {
    grid-template-columns: 30% auto auto;
  }
  #steps .atable .header .atd:first-child {
    opacity: 0;
  }
  #steps .atable .atrg {
    padding: 1.3em 2em;
    grid-template-columns: 30% auto auto;
  }
  #steps .atable .atrg .atd:first-child:after {
    right: -1em;
  }

}

@media (min-width: 768px) {
  #steps .atable {
    margin-left: 0em;
  }
  #steps .atable .header .atd {
    font-size: 1.3em;
  }
  #steps .petit {
    margin-left: 0em;
  }
}

#exclam {
  font-size: 1.2em;
}
#exclam .declarations {
  padding-top: 3em;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
}
#exclam .declarations .exclam {
  height: 80px;
  width: 70px;
}
#exclam .declarations .exclam img {
  position: relative;
  top: -10px; left: -10px;
  width: 70px;
}
#exclam .declarations .item {
  margin-bottom: 2em;
  font-size: .8em;
}

@media (min-width: 768px) {
  #exclam .declarations .item {
   font-size: 1em;
  }
  #exclam .declarations .exclam {
    height: 80px;
    width: 90px;
  }
}

#cabinet .card-blue {
  background: #DBEEF9;
  box-shadow: 2.66667px 2.66667px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border: none;
  padding: 1.2em 2em 0;
}

ul.checked {
  padding: 1em 0;
  margin: 0;
}
ul.checked li,
.summary strong {
  padding-top: .3em;
  list-style: none;
  background: url(../img/check-mark-C3E3C5.svg) 0 0 no-repeat;
  line-height: 1.2em;
  padding-left: 1.8em;
  padding-bottom: 1em;
}
ul.checked.checked-white-ice li {   background: url(../img/check-mark-DBEEF9.svg) 0 0 no-repeat; }
ul.checked.checked-green li {       background: url(../img/check-mark-C3E3C5.svg) 0 0 no-repeat; }
ul.checked.checked-pink li {        background: url(../img/check-mark-FFE8E0.svg) 0 0 no-repeat; }
ul.checked.checked-pippin li {      background: url(../img/check-mark-FFE8E0.svg) 0 0 no-repeat; }
ul.checked.checked-mercury li {     background: url(../img/check-mark-E5E5E5.svg) 0 0 no-repeat; }
ul.checked.checked-surf-crest li {  background: url(../img/check-mark-C3E3C5.svg) 0 0 no-repeat; }
ul.checked.checked-link-water li {  background: url(../img/check-mark-CFCBF1.svg) 0 0 no-repeat; }
ul.checked.checked-spindle li {     background: url(../img/check-mark-B9DAE9.svg) 0 0 no-repeat; }
ul.checked.checked-zinnwaldite li { background: url(../img/check-mark-EABEB0.svg) 0 0 no-repeat; }
ul.checked.checked-as-text li {     background: url(../img/check-mark-434342.svg) 0 0 no-repeat; }
ul.checked.checked-picton-blue li { background: url(../img/check-mark-4BB2E4.svg) 0 0 no-repeat; }

.uplined {
  padding-top: 0.6em;
  position: relative;
}

.uplined::after {
  content: " ";
  width: 80px;
  height: 1px;
  background-color: #424241;
  position: absolute;
  top: 0;
  left: 0;
}
@media (min-width: 1200px) {
  .uplined {
    max-width: 20%;
    }
}

footer {
  padding-top: 2em;
  padding-bottom: 3em;
}
footer .container::before {
  padding-bottom: 2em;
  content: "";
  display: block;
  width: 100%;
  border-top: 1px solid #424241;
}
footer .logo {
  color: #324288;
  font-weight: 600;
  padding-bottom: 0.2em;
  font-size: 1.1em;
  /* border-bottom: 1px solid #324288; */
  display: inline-block;
  margin-bottom: 1em;
}
footer .col-left,
footer .col-center {
  margin-bottom: 1.3em;
}
@media (min-width: 1200px) {
  footer .logo {
    font-size: 1.5em;
  }
}

@media (max-width: 600px) {
  html #wpadminbar {
    top: -46px;
  }
}

.contacts .phone,
.contacts .email {
  padding-left: 2.5em;
  background: url(img/ico-env.svg) left center no-repeat;
  background-size: 1.7em;
  margin-bottom: .3em;
}
.contacts .phone {
  background-image: url(img/ico-tel.svg);
}

#banner .card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: 65%;
  background-repeat: no-repeat;
  border-radius: .5em;
  padding: 2em;
}
#banner .card .card-img {
  padding: 0em 20% 0em 0em;
}
#banner h1 {
  color: #fff;
  margin-bottom: 1em;
  font-size: 1.3em;
}
#banner .card .btn {
  font-size: 1.1em;
}

@media (min-width: 992px) {
  #banner .card {
    aspect-ratio: 3;
  }
  #banner .card .card-img {
    padding: 2em 40% 2em 3em;
  }
  #banner h1 {
    color: #424241;
    text-shadow: none;
    font-size: calc(1.375rem + 1vw);
  }
  #banner .card .btn {
    font-size: 1.3em;
  }
}

#banner2 .card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  background-size: cover;
  background-position: 69%;
  background-repeat: no-repeat;
  padding: 2em;
  border-radius: .5em;
}
#banner2 h1 {
  margin-bottom: 1em;
  font-size: 1.3em;
  width: 80%;
}

@media (min-width: 1200px) {
  #banner2 .card {
    padding: 2em 10% 2em 3em;
    aspect-ratio: 4.3;
  }
  #banner2 h1 {
    font-size: calc(1.375rem + 1vw);
  }
}

#burger-toggler {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2em;
  height: 1.5em;
}
#burger-toggler span {
  display: block;
  width: 100%;
  height: .15em;
  background-color: #444;

  margin: .1em 0;
}
#burger-menu {
  position: absolute;
  top: 0;
  height: 100vh;
  left: 100vw;
  width: auto;
  background-color: #fff;
  min-width: 33vw;
  max-width: 80vw;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: left 0.5s ease-in-out;
  padding: 2em;
}
#burger-menu.active {
  opacity: 1;
  left: calc(100vw - var(--mobile-menu-width) );
  transition: left 0.5s ease-in-out;
}
#burger-menu-back-layout {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, z-index 0.5s step-end, visibility 0.5s step-end;
}
#burger-menu-back-layout.active {
  opacity: 1;
  visibility: visible;
  z-index: 90;
  transition: opacity 0.5s ease-in-out, z-index 0.5s step-start, visibility 0.5s step-start;
}

#burger-menu #close {
  cursor: pointer;
  font-size: 3em;
}

.nav-link {
  width: max-content;
}