 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:before, *:after {
  box-sizing: border-box;
}

.tms-h1 {
  font-family: Open Sans, sans-serif;
  font-size: calc(35px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 600;
  color: #455B66;
  line-height: 120%;
  margin-top: 0px;
}

.tms-h1-1 {
  font-family: Open Sans, sans-serif;
  font-size: calc(35px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  color: #455B66;
  line-height: 120%;
  padding: 2%;
}

.tms-h2 {
  font-family: Open Sans, sans-serif;
  font-size: calc(25px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  color: #455B66;
  line-height: 125%;
  margin-bottom: 15px;
}

.tms-h3 {
  font-family: Open Sans, sans-serif;
  font-size: calc(20px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  color: #455B66;
  line-height: 125%;
  margin-bottom: 20px;
}

.tms-h4 {
  font-family: Open Sans, sans-serif;
  font-size: calc(20px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  color: #308DC0;
  line-height: 125%;
  margin-top: 5%;
}

.tms-h5 {
  font-family: Open Sans, sans-serif;
  font-size: calc(15px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400; 
  	color: #455B66;
	text-decoration: none;
	border-bottom: 1px dashed #455B66;
   line-height: 2.0em;
}



.tms-fullImg {
  min-height: 600px;
  width: 100%;
  background: url(../img/tms-2-1.jpg) center 0 no-repeat;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-content: center;

}


.tms-fullImg .tms-h2 {
  text-align: center;
  padding: 26px;
  background-color: rgba(61, 80, 90, 0.6);
  border-radius: 0.25rem 0 0 0.25rem;
  direction: ltr;
  font-size: calc(28px + 5 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 600;
  color: #ffffff;
  line-height: 130%;
  margin: 5%
}




.tms-p {
  font-family: Open Sans, sans-serif;
  font-size: calc(15px + 3 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  color: #455B66;
  line-height: 130%;
  margin-bottom: 15px;
}


.tms-main-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 2%;
}

.tms-wrap {
  padding: 0 24px;
}

.tms-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tms-section {
  margin-bottom: 50px;
}
.tms-section-top {
 margin-top: 30px;
 padding: 3%;
}
  
.tms-section-blue {
  margin-bottom: 50px;
  background-color: #D6E3ED;
  padding: 2%;
}


.tms-img-100 {
  display: inline-block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.tms-img-lab {
  display: inline-block;
  width: 100%;
  max-width: 130px;
}

.tms-img-lab1 {
  display: inline-block;
  width: 100%;
  max-height: 130px;
}

.tms-img-vac {
  display: inline-block;
  width: 100%; 
  max-width: 1000px;
  height: auto;
  border-radius: 0.25rem;
  padding: 2%;
}

.tms-img-resp {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.tms-1-col {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
}

.tms-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  align-items: center;
}

.tms-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
}

.tms-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  padding: 2%;
}

.tms-6-col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 24px;
  padding: 2%;
}



.tms-header {
  margin-bottom: 15px;
}

.tms-center {
  text-align: center;
}

.tms-reverse {
  direction: rtl;
}
.tms-reverse .tms-item {
  direction: ltr;
}

.tms-card {
  background-color: #F5F6F8;
}

.tms-card-text {
  padding: 3%;
}


.tms-card-lab {
  background-color: #Ffffff;
  text-align: center;
  width: 100%;

}

.tms-card-lab-text {
  padding: 1%;

}


.tms-i {
  position: relative;
  display: block;
  text-align: left;
  padding-left: 15px;
}
.tms-i:before {
  content: " ";
  left: 0;
  top: 7px;
  position: absolute;
  height: 7px;
  width: 7px;
  background-color: #e22b2b;
  border-radius: 50%;
  display: inline-block;
}

.tms-i-icon {
  position: relative;
  display: block;
  text-align: left;
  padding-left: 40px;
}
.tms-i-icon:before {
  content: " ";
  left: 0;
  top: -3px;
  position: absolute;
  height: 24px;
  width: 24px;
  background-image: url(../img/tms-i-icon.svg);
  display: inline-block;
}


 /* ------------Style the video WAVE------------*/
.about {
  padding: 100px 0px;
  background-image: url(../img/waves.jpeg);
  color: #fff;
  overflow: hidden;
  position: relative;
  border-radius: 0.0rem;
}
.about-title {
  font-family: Open Sans, sans-serif;
  font-weight: 600;
  font-size:  calc(25px + 5 * ((100vw - 320px) / (1500 - 320)));
  text-align: center;
  position: relative;
  opacity: .7;
}
/* VIDEO */
.video-wave {
  top: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  opacity: 1;
  left: 50%;
  z-index: 0;
  position: absolute;
}


 /* ------------Style the video WAVE------------*/
 


  /* ----------------------medi-------------------------*/ 
  
 
@media only screen and (max-width: 1600px) {

  .tms-item-rotator {
   width: 80%;
   margin-left: 2%
  }  

    
@media only screen and (max-width: 768px) {

  .tms-fullImg {
    background: url(../img/tms-2-11.jpg) center 0 no-repeat;
    grid-template-columns: 1fr;
    align-items: flex-end;
  }
  .tms-fullImg .tms-h2 {
    text-align: center;
  }
  .tms-2-col {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3%;
    text-align: center;
  }

  .tms-3-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tms-4-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
   .tms-6-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .tms-section-top {
    margin-top: 80px;
  }  
  .tabs p {
   padding: 5px;
   margin-right: 10px;
  }
  .tabs {
   max-width: 750px;
   margin: 50px auto;
  } 
 
  .tms-item-rotator {
   width: 85%;
  }  
  
}
@media only screen and (max-width: 576px) {

  .tms-fullImg {
    background: url(../img/tms-2-111.jpg) center 0 no-repeat;
    grid-template-columns: 1fr;
    align-items: flex-end;
  }
  .tms-fullImg .tms-h2 {
    text-align: center;
  }   
  .tms-section {
    margin-bottom: 50px;
  }
  
  .tms-section-top {
    margin-top: 50px;
  }

  .tms-3-col {
    display: grid;
    grid-template-columns: 1fr;
  }
    .tms-4-col {
    display: grid;
    grid-template-columns: 1fr;
  }
  
    .tms-6-col {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .tms-item-rotator {
   width: 100%;
  }   

}



/* -------------Корзина----------------- */

.basket1, .basket2, .basket3
 {
  position: absolute;
  opacity: 0;
  display: box;
  width: 130px;
  height: 130px;
/*  margin: 10px auto; */
  border: 4px solid #FFB0DA;
  border-radius: 100%;  
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 3.0s infinite ease;
/*
sk-scaleout - имя анимации
1.5s		- длительность анимации
infinite    - Анимация проигрывается бесконечно
ease-in-out - Анимация начинается быстро и плавно замедляется в конце. Соответствует cubic-bezier(0,0,0.58,1)
*/
}

.basket1 {animation-delay: 0.20s;}
.basket2 {animation-delay: 0.60s;}
.basket3 {animation-delay: 0.80s;}

@keyframes sk-scaleout {
  0% { 
   -webkit-transform: scale(0);
   transform: scale(0);
	opacity: 0.9;
  } 100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
/* --------------end--------------- */

