html {
    /* To make use of full height of page*/
    min-height: 100%;
    margin: 0;
}

body {
    margin: 0;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: #F3F7FC;
    overflow: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.notification-blur {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0a68eb8c;
    z-index: 50;
}

.blur {
    filter: opacity(0.01);
  }

/* Header */

.header {
    background: #F3F7FC;
    flex: 0 1 18vh;
}

.header-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;

    padding: 10px 36px;
}

.logo svg {
    width: 289px;
    height: 62px; 
    object-fit: cover;
}

/*--Container-Allert--*/
.containter-allert {
    display: none;

}

/*--Container-Notification--*/

.notification-row {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding: 24px 24px 24px 24px;
    background: #FFFFFF;
    border-radius: 8px;
    flex-wrap: nowrap;
}

.notification-column {

    display: none;
    flex-direction: column;
    align-items: flex-start;

    padding: 24px 24px 24px 24px;
    background: #FFFFFF;
    border-radius: 8px;
    flex-wrap: nowrap;

    z-index: 100;
    position: absolute;
    align-self: end;
}

.notification-text {

    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 2em;


    color: #00408B;
}

.notification-comments {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 22px;
    color: grey;

}

.agreement {
    margin-top: 30px;
    width: 70%;
}



/*--Main--*/

.main {
    flex: 1 1 80vh;
}

.presentation {
    margin: 0;
    border: 0;
    min-height: 200px;
    height: 82vh;
    background-image: url("../img/Present.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;

}

/*---Container-Event---*/

.container-event {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;

    margin-left: 5.85%;
    margin-right: 1em;
    margin-top: 4em;

    z-index: 20;

}

.container-eventDate {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 8px 16px;

    background: #EAEAEA;
    border-radius: 4px;

}

.container-eventDate img {
    margin-right: 10px;
    color: blue;
}

.event-date {
    font-family: Roboto;
    font-weight: 400;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 24px;

    color: rgba(0, 0, 0, 0.54);

}

.event-name {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 64px;
    line-height: 75px;
    letter-spacing: 0.2px;
    margin: 0.3em 0;

    color: #00408B;
}

.event-start {
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 22px;
    letter-spacing: 0.3px;

    color: #00408B;
}

/*---Container-final---*/

.container-final {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.final-text {

    margin: 1px 0em;

    font-family: Roboto, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 4em;
    line-height: 1em;
    text-align: center;
    letter-spacing: 0.01em;

    color: #00408B;

}

.final-comments {

    width: 70vw;
    /*height: 135px;*/

    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 32px;

    /* or 133% */
    text-align: center;
    letter-spacing: 0.3px;

    /* Grey */
    color: rgba(0, 0, 0, 0.54);

    margin: 32px 0px;
}

.btn-redirect {

    padding: 12px 18px;
    width: 255px;
    height: 60px;

    background: #00408B;
    color: white;
    border-radius: 8px;
    border: 0;

    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 18px;

    margin: 32px 0px;
}

/*---Container-linkNotValid---*/


.container-linkNotValid {
    display: none;
    margin-top: 1em;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.container-linkNotValid img {
    margin-right: 2em;
}

/*---Container-loader---*/

.container-loader {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.container-loader img {
    animation: linear;
}

.parent {
    display: flex;
    height: 100%;
}

.commons {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    font-weight: bold;
}

.content {
    width: 100%;
    height: 100%;
    float: left;
}

iframe.content {
    border: none;
}

.bg {
    background-color: #F3F7FC;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.agent-controls {
    display: flex;
    flex-direction: column;
    padding-left: 0.5%;
}

p {
    margin-top: 0%;
    margin-bottom: 0%;
}

.reload-blur {
    filter: opacity(0.01);
}

.message {
    display: flex;
    justify-content: center;
}

.loader {
    text-align: center;
    position: center;
}

.bg-item {
    position: relative;
    top: 10%;
    text-align: center;
}

.end-button {
    padding: 10%;
}

@font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/*---Container-preloader---*/
.container-preloader {
    display: none;
}

.lds-spinner {
    
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    opacity: 0;

}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 50px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background: #00408B;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}








/* max-width */

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    /* Экран не начатого мероприятия */
    .container-event {
        margin-top: 2em;
    }
  .event-date {
    font-size: 1em;
  }
  .event-name {
    font-size: 2.1em;
    line-height: unset;
  }
  .event-start {
    font-size: 1em;
    line-height: unset;
  }
  .agreement {
    margin-top: 0;
    width: 95%;
  }
  .disclaimer {
    font-size: 0.7em;
    margin-top: 0;
    margin-bottom: 1em;
  }

  /* Экран не начатого мероприятия */

    /* Экран спасибо */
  
    .final-text {
        font-size: 2em;
      }
      .final-comments {
        font-size: 1em;
        line-height: unset;
        margin: 1em 0;
      }
      .btn-redirect {
          margin: 1em 0;
      }
    
      /* Экран спасибо */
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media screen and (max-width: 767.98px),
       screen and (max-height: 400px) {

    html {
        font-size: 14px;
    }

    /* Ссылка не действительна */
    .container-linkNotValid img {
        margin-right: 1em;
        width: 1.5em;
    }

    .notification-text {
        font-size: 1em;
    }

    /* Ссылка не действительна */

    /* Header */
    .header-container {
        padding: 5px 26px;
    }

    .logo svg {
        width: 205px;
        height: 44px; 
    }

    /* Header */

    /* Экран не начатого мероприятия и принятия согласий */
    .container-event {
        margin-top: 0.5em;
    }

    .event-date {
        font-size: 1.1em;
    }

    .event-name {
        font-size: 1.4em;
        line-height: unset;
    }

    .event-start {
        font-size: 1.1em;
        line-height: unset;
    }

    .agreement {
        margin-top: 0;
        width: 95%;
    }

    .disclaimer {
        font-size: 0.7em;
        margin-top: 0;
        margin-bottom: 1em;
    }

    /* Экран не начатого мероприятия */

    /* Экран спасибо */

    .final-text {
        font-size: 1.5em;
    }

    .final-comments {
        width: 90vw;
        font-size: 1em;
        line-height: unset;
        margin: 0.5em 0;
    }

    .btn-redirect {
        height: 50px;
        margin: 0.1em 0 0.3em;
    }

    /* Экран спасибо */

}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}






.sessions-container {
    display: none;
    padding: 0 1em;
}
.sub-container-wrapper {
    display: flex;
    height: inherit;
}
.session-row-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3em;
    background-color: white;
    border-radius: 0.3em;
    padding: 0.3em;
    font-family: Roboto, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 1em;
    color: #00408B;
}
.session-list {
    width: max-content;
}
.session-list-header {
    display: flex;
    padding-bottom: 1em;
}
.connection-id {
    position: fixed;
    bottom: 0;
    right: 0;
}
.btn-remove {
    background: lightcoral;
    color: white;
    border-radius: 0.3em;
    border: 0;
    font-family: Roboto, serif;
}

.session-list-header p {
    font-family: Roboto, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 1em;
    color: #00408B;
    text-align: center;
    letter-spacing: 0.01em;
}