@import url('gridstack.min.css');
@import url('jquery.fancybox.min.css');

/* dashboard additional styles
------------------------- */

.grid-stack {
  width: auto;
  margin: -5px -5px 0;
}

.grid-stack-item.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.grid-stack-item:not(.ui-draggable-disabled) .grid-stack-item-content {
  overflow: visible;
}

.grid-stack-item:not(.ui-draggable-disabled) .grid-stack-item-content .dashboard-unit {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: move;
}

.grid-stack-item-content {
  height: 100%;
}

.grid-stack-item-content .dashboard-unit {
  height: calc(100% - 10px);
}

.grid-stack-item-content .dashboard-unit_title {
  color: #fff;
}

.grid-stack-item-content .dashboard-unit_btn {
  background: transparent;
}

.grid-stack-item-content .dashboard-unit_btn:before {
  filter: brightness(0) invert();
}

.ui-draggable-dragging > .grid-stack-item-content {
  box-shadow: none;
}

.dashboard-unit_header {
  position: relative;
  z-index: 1;
}

.dashboard-unit_chart [id*="-license-text"] {
  display: none;
}

.zc-menu {
  display: none !important;
}

.dashboard-unit_option {
  user-select: none;
}

.dashboard-unit_list a {
  display: block;
}

.dashboard-unit img {
  -webkit-user-drag: none;
  user-select: none;
}

.widget-type-agePeriod {
  transform: translateY(15%);
}

.dashboard-unit_chart .zc-rel.zc-main > [id$="-tools"] {
  display: none;
}


/* @media (max-width: 1729px) {

  .widget-type-trainingStructure .zc-rel.zc-main {
    transform-origin: center bottom;
    transform: scale(0.85);
  }

} */

@media (max-width: 1649px) {

  .widget-type-fmsSSS .zc-rel.zc-main {
    transform-origin: center;
    transform: scale(0.80);
  }

}

/* @media (max-width: 1499px) {

  .widget-type-trainingStructure .zc-rel.zc-main {
    transform: scale(0.8);
  }

} */

@media (max-width: 1399px) {
  
  .grid-stack {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 10px;
    position: static;
    height: auto !important;
    margin: 0;
  }
  
  .grid-stack>.grid-stack-item {
    position: static !important;
    width: 100% !important;
    height: 400px !important;
    flex: 1;
    min-width: 45%;
  }
  
  .grid-stack>.grid-stack-item.hidden {
    display: none;
  }
  
  .grid-stack>.grid-stack-item[gs-locked="true"] {
    order: -1;
  }
  
  .grid-stack>.grid-stack-item>.grid-stack-item-content {
    position: static !important;
  }
  
  .dashboard-unit_option ul.dashboard-unit_list li:last-child {
    display: none;
  }

}

@media (max-width: 768px) {
  
  .dashboard-unit {
    margin-bottom: 0;
  }
  
}

@media (max-width: 992px) {
  
  .grid-stack>.grid-stack-item {
    min-width: 100%;
  }
  
}

@media (max-width: 578px) {
  
  .dashboard-unit_horizontal {
    grid-row: span 32;
  }
  
  /* .widget-type-trainingStructure .zc-rel.zc-main {
    transform-origin: center;
    transform: scale(0.6);
  } */
  
  .widget-type-trainingStructure .zc-rel.zc-main > [id$="-legend"] {
    display: none;
  }
  
}


/* scroller-status
------------------------- */

.scroller-status {
  display: none;
  margin: 20px 0;
}

/* loader-ellipse
------------------------- */

.loader-ellipse {
  font-size: 20px;
  position: relative;
  width: 4em;
  height: 1em;
  margin: 10px auto;
}

.loader-ellipse__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: #555;
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.loader-ellipse__dot:nth-child(1),
.loader-ellipse__dot:nth-child(2) {
  left: 0;
}
.loader-ellipse__dot:nth-child(3) { left: 1.5em; }
.loader-ellipse__dot:nth-child(4) { left: 3em; }

@keyframes reveal {
  from { transform: scale(0.001); }
  to { transform: scale(1); }
}

@keyframes slide {
  to { transform: translateX(1.5em); }
}

.loader-ellipse__dot:nth-child(1) {
  animation-name: reveal;
}

.loader-ellipse__dot:nth-child(2),
.loader-ellipse__dot:nth-child(3) {
  animation-name: slide;
}

/* stylelint-disable-next-line no-duplicate-selectors */
.loader-ellipse__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}


/* regular modal styling
------------------------- */

html {
  overflow: visible;
}

.regular-modal-fancybox.fancybox-is-open .fancybox-bg {
  opacity: 0.7;
}

.regular-modal-fancybox .fancybox-slide--html {
  padding: 15px;
}

.regular-modal {
  width: 100%;
  max-width: 600px;
  display: none;
}

.regular-modal__title {
  margin-bottom: 36px;
  font-size: 20px;
  line-height: 1.2em;
  font-weight: bold;
}

@media (max-width: 767px) {
  
  .regular-modal {
    padding: 25px;
  }
  
}


/* togglers styling
------------------------- */

.widgets-toggler {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 18px;
  line-height: 1.2em;
}

.widgets-toggler:last-child {
  margin-bottom: 0;
}

.widgets-toggler__switcher {
  width: 90px;
  flex: 0 0 90px;
  height: 45px;
  border-radius: 30px;
  background-color: #ebf7fc;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.widgets-toggler__switcher span {
  position: absolute;
  width: 35px;
  height: 35px;
  left: 50px;
  top: 5px;
  transition: 0.3s;
  border-radius: 50%;
  background-color: #03a9f4;
  overflow: hidden;
}

.widgets-toggler__switcher span:before {
  content: "ON";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-top: 1px;
  color: #fff;
  font-size: 12px;
  line-height: 1em;
}

.widgets-toggler__switcher.disabled {
  background-color: #fcebeb;
}

.widgets-toggler__switcher.disabled span {
  background-color: #f44336;
  left: 5px;
}

.widgets-toggler__switcher.disabled span:before {
  content: "OFF";
}


.children-unit_img .children-unit_setting {
  z-index: 2;
  position: absolute;
  top: unset;
  left: 10px;
  bottom: 10px;
  width: auto;
  height: fit-content;
  border-radius: 5px;
  background-color: #ebf7fc;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.children-unit_img .children-unit_setting svg {
  width: 20px;
  height: 20px;
}

.main-btn {
  max-width: 355px;
  width: 100%;
  border-radius: 4px;
  color: #fff;
  font: 500 18px/1 "Montserrat", sans-serif;
  text-align: center;
  border: none;
  outline: none;
  padding: 10px 20px;
  background: #00DB5B;
}

.personal-menu__item {
  font: 400 18px/1.2 "Montserrat", sans-serif;
  color: #28304D;
}

.pesonal-title {
  font: 400 22px/1.2 "Montserrat", sans-serif;
  color: #28304D;
  margin-top: 20px;
}

.personal-menu {
  margin: 100px 15px 50px;
}

.personal-menu__item:not(:last-child) {
  margin-bottom: 10px;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-404 {
  margin-top: 40px;
  text-align: center;
  font: 500 20px/1.2 "Montserrat", sans-serif;
}

.text-404 a {
  color: #0098A4;
}



/*
#dashboard-unit_info-about-text_agePeriod.blur-effect {
    filter: blur(4px); 
    pointer-events: none; 
}

#dashboard_info-popup__agePeriod .blur-effect {
    filter: blur(4px); 
    pointer-events: none; 
}

#spinner_agePeriod.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db; 
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
*/


/* Анимация вращения */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.spiner__body {
  position: relative;
}

.is-loading {
  position: relative;
  z-index: -1;
  filter: blur(4px); /* Размытие на 4 пикселя */
  pointer-events: none; /* Отключение взаимодействия */
}

.loader-spiner {
  position: absolute;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 5px solid #555555;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
} 

.cookies-info {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    color: #000000;
    padding: 15px 10px;
    z-index: 100000;
    box-shadow: 0 0 15px #000000;
}
.cookies-info__text {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}
.cookies-info__btn-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cookies-btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
    border: none;
    color: #000000;
}
.cookies-btn--fill {
    background: rgba(0, 152, 164, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
}
.cookies-btn--small {
    color: grey;
    font-size: 14px;
}

.cookies-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    max-width: 300px;
    width: 100%;
    color: #000000;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    z-index: 10000;
}
.cookies-popup.active {
    display: block;
}
.cookies-form {
    margin-top: 10px;
}
.cookies-form__row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}
.cookies-form__input {
    display: unset !important;
}
.cookies-form__label {
    margin-bottom: 5px !important;
}
.cookies-form__text {
    font-size: 14px;
    margin-bottom: 10px;
}
.cookies-form__input--default {
    pointer-events: none;
    accent-color: grey;
}
.cookies-form__label--default {
    pointer-events: none;
}

.cookies-form__btn {
  margin-top: 10px;
}

.info-dushboard__titel {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-dushboard__btn-wrap {
  display: flex;
  justify-content: flex-end;
}

.info-dushboard__btn {
  border: none;
  background: none;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
}

.info-dushboard__btn.hidden {
  display: none;
}

.info-dushboard__list-item {
  display: none;
}

.info-dushboard__list-item.active {
  display: block;
}

.demo-kids-link {
  display: inline-block;
  /* padding: 5px 10px; */
  /* background: #00DB5B; */
  /* border-radius: 4px; */
  /* color: #ffffff; */
  /* font-weight: 600; */
  /* font-size: 16px; */
}

.info-dushboard .fancybox__backdrop {
  background: rgb(24 24 27 / 0%);
}

.border-acent {
  padding: 5px !important;
  border: 5px solid #00DB5B;
  animation: blim-opasity 1s linear infinite;
  border-radius: 4px;
}

@keyframes blim-opasity {
  0% {
    border-color: transparent;
  }
  50% {
    border-color: #00DB5B;
  }
  100% {
    border-color: transparent;
  }
}


.title-dashboard-info {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #28304D;
  margin-bottom: 20px;
}

.dashbord-video-info__video {
  max-width: 100%;
}