@import 'fonts.css';

:root {
  --primary: #1E4FB4;
  --primaty-hover: #1a459e;
  --secondary: #33B953;
  --secondary-hover: #2da54a;
  --default: #666;
  --muted: #EEEEEE;
  --white: #fff;
  --white-50: rgba(255, 255, 255, 0.5);
  --white-75: rgba(255, 255, 255, 0.75);
  --box-shadow: 0 3px 15px 0 rgba(0,0,0,.15);
  --box-shadow-hover: 0 14px 25px rgba(0,0,0,.16);
  --drop-shadow-400: 0 16px 32px -4px rgba(12, 12, 13, 0.1);
}

/* UI */
* {
  box-sizing: border-box;
}

textarea {
  resize: none;
}

.uk-button {
  line-height: 1.2;
  padding: 12px 30px;
}

.uk-button-small {
  line-height: 1.2;
  padding: 6px 20px;
}

.uk-card,
.uk-tile {
  box-shadow: var(--drop-shadow-400);
}

@media (max-width: 960px) {
  .uk-card {
    border-radius: 20px;
  }
  .uk-card-media-top {
    border-radius: 20px 20px 0 0;
  }
}

@media(min-width: 960px){
  .uk-tile {
    border-radius: 40px;
  }
}

/* MARGINS */
.uk-margin-medium-top\@m {
  margin-top: 20px;
}
@media(min-width: 960px){
  .uk-margin-medium-top\@m {
    margin-top: 40px;
  }
}

/* CUSTOM */
.c-slideshow-overlay .el-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255,255,255,.6);
}

.c-slideshow-overlay .el-item > .uk-position-cover {
  z-index: 1;
}

.c-slideshow-dotnav .uk-position-bottom-left {
  position: absolute;
  /* top: 0; */
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 1260px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media(min-width: 960px){
  .c-slideshow-dotnav .uk-position-bottom-left {
    padding-left: 30px;
    padding-right: 30px;
  }
}
/* TABS */
.uk-tab {
  margin: 0;
}
.uk-tab > li:first-child {
  padding: 0;
}
.uk-tab > li > a {
  padding: 5px 30px;
  background: var(--muted);
  border-radius: 20px 20px 0 0;
  transition: all ease .3s;
}

.uk-tab > li.uk-active > a {
  background: var(--white);
}

.uk-tab > li > a:hover {
  background: var(--white-75);
}

.c-switcher-az .uk-switcher {
  background: var(--white);
  box-shadow: var(--drop-shadow-400);
  border-radius: 0 0 15px 15px;
  padding: 20px 15px 30px;
}

.c-switcher-az .el-content li > a {
  font-weight: 600;
}

@media(max-width: 960px){
  .uk-tab {
    flex-wrap: nowrap;
    overflow: auto;
  }
}
@media(min-width: 960px){
  .uk-tab > li > a {
    padding: 5px 50px;
    border-radius: 60px 60px 0 0;
  }
  .uk-tab > li.uk-active > a {
    padding: 5px 100px;
  }
  .c-switcher-az .uk-switcher {
    padding: 40px;
    border-radius: 0 0 40px 40px;
  }
}
/* SWICTHER */
.c-subnav-left {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

@media(max-width: 960px){
  .c-subnav-left {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 0;
  }
  .c-subnav-left.uk-subnav-pill > li > a {
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
  }
  .c-subnav-left.uk-subnav-pill > li:not(:first-child) {
    padding-left: 10px;
  }
  .c-switcher .uk-tile {
    padding: 20px 15px 30px;
    border-radius: 0 0 15px 15px;
  }
}

@media (min-width: 960px) {
  .c-switcher>.uk-grid>div:last-child {
    position: relative;
  }
  .c-switcher .uk-tile {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40px;
    width: calc(100% - 40px);
}
  .c-switcher .uk-switcher {
      padding-right: 15px;
      height: 100%;
  }
}


/* SCROLLBAR */
.c-scrollbar {
  overflow: auto;
}

.c-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: 10px;
}

.c-scrollbar::-webkit-scrollbar-track {
  background: #D3D5E5;
  border-radius: 10px;
}

.c-scrollbar::-webkit-scrollbar-thumb {
  background: #33B953;
  border-radius: 10px;
}

.c-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #591AFF;
}


/* HEADER */
.tm-header .uk-navbar {
  background: var(--white);
  border-radius: 0 0 40px 40px;
  padding-left: 40px;
  padding-right: 40px;
  box-shadow: var(--box-shadow);
}
.tm-header .uk-sticky-below,
.tm-header .uk-sticky-below .uk-navbar-container:not(.uk-navbar-transparent) {
  background: none;
}
/* AZ */
.az-grid ul {
  list-style: none;
  padding: 0;
}

.az-grid > div {
  margin-bottom: 40px;
}

.az-grid ul > li {
  margin-top: 20px;
}

.c-switcher-az .el-content {
  position: static;
}
.c-switcher-az .uk-switcher {
  position: relative;
  max-height: 600px;
  overflow: hidden;
  transition: all ease .3s;
}

.c-switcher-az.c-open .uk-switcher {
  max-height: 4000px;
}

.c-switcher-az.c-open .az-showmore {
  display: none;
}
.c-switcher-az:not(.c-open) .uk-switcher::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 210px;
  z-index: 1;
  border-radius: 0 0 15px 15px;
  /* pointer-events: none; */
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,1) 50%);
}

.az-showmore {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 1;
}
@media(min-width: 640px){
  .az-grid {
    column-count: 2;
    column-gap: 40px;
  }
}
@media(min-width: 960px){
  .az-grid {
    column-count: 3;
    column-gap: 40px;
  }
  .az-grid > div {
    margin-bottom: 70px;
  }
  .az-grid ul > li {
    margin-top: 40px;
  }
  .c-switcher-az:not(.c-open) .uk-switcher::before {
  border-radius: 0 0 40px 40px;
  }
}

/* FORM */
.s-form > .uk-section::before {
  content: '';
  position: absolute;
  top: 140px;
  left: 0;
  right: 40%;
  bottom: 140px;
  background: inherit;
  background-position-y: 70%;
  background-size: cover !important;
}
.s-form > .uk-section {
  background-size: 0 !important;
}

.s-bottom .uk-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Panel icons */
.c-vrachi-panel .uk-card-body .el-content {
    position: absolute;
    top: 0;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*Rating Grid*/
.c-rating-grid .el-meta span {
  --percent: calc(var(--rating) / 5 * 100%);
  line-height: 1;
  letter-spacing: .3rem;
  background: linear-gradient(90deg, #fcb500 var(--percent), rgba(0, 0, 0, .1) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c-rating-grid .el-content {
  font-style: italic;
}




@media (max-width: 1229px) {
  .tm-header {
    display: none !important; 
  }
}

@media (max-width: 1229px) {
  .tm-header-mobile {
    display: block !important; 
  }
}

@media (min-width: 1230px) {
  .tm-header {
    display: block !important; 
  }
}

@media (min-width: 1230px) {
  .tm-header-mobile {
    display: none !important; 
  }
}

/*test*/
.check-test .el-content {
  font-family: Montserrat;
}

/*HEADER MENU*/
.tm-header .uk-navbar-dropdown[stretch="x"] .uk-navbar-dropdown-nav {
  column-count: 2;
  column-gap: 40px;
}

.tm-header .uk-navbar-dropdown[stretch="x"] .uk-navbar-dropdown-nav > li {
  break-inside: avoid-column;  
}

/*Cookie CSS*/

.tm-cookie-banner .uk-container {
  text-align: left !important;
  padding-right: 20px;
  font-size: .875rem;
}

.tm-cookie-banner .cookie-text {
	font-size: 0.8;
	line-height: 1;
}

@media(min-width: 960px){
  .tm-cookie-banner {
    max-width: 420px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tm-cookie-banner{
    border-radius: 40px;
  }
  .tm-cookie-banner .js-custom-cookie-accept {
    border-radius: 35px;
  }
  
}

.tm-cookie-banner {
    z-index: 10150;
}

.tm-cookie-banner .uk-notification-message {
  font-size: 0.875rem;
}

.accessibility-open {
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.accessibility-open__icon {
    display: block;
    width: 50px;
    height: auto;
}