.modal{ 
   z-index: 55;
}
.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: auto;
    padding: 3em 1em;
}
.modal__container {
    background: #FFFFFF;  
    max-width: 74.65em; 
    flex-shrink: 0;
    border-radius: 0.625em;
    width: 100%; 
    box-sizing: border-box;
    position: relative;
    margin: auto;
    display: flex; 
    flex-direction: column;
} 
#modal24 .modal__container{
    max-width: 37.5em;
    text-align: center;
    padding: 4.375em 1em;
    align-items: center;
}
#modal24 .modal__btn{
    width: 100%;
    max-width: 19.7em;
}
.modal24text{
    color: #0E284A;
    font-weight: 700;
    font-size: 1.5625em;
    line-height: 1.3;
    margin-bottom: 1.2em;
    max-width: 15.76em;
}
.modal__close{  
    z-index: 7;
    position: absolute;
    width: 1.75em;
    display: flex; 
    background: none;
    border: none;
    top: 1.6875em;
    right: 1.75em; 
}
.modal__close svg{
    width: 100%;
    pointer-events: none;
}
.modal__content{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 4.4375em 4.625em 4.5em;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
   display: none;
}

.micromodal-slide.is-open {
   display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
   animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
   animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
   animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
   animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}
 

.modal__img{
    position: absolute;
    bottom: 1em;
    right: 5.625em;
    width: 31.75em;
}
.modal__title{
    color: #0E284A; 
    font-size: 2.1875em; 
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.6em;
}
.modal__text{
    color: #969696; 
    font-size: 0.875em; 
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.928em;
}
.modal__text span{
    color: #0E284A;
}
.modal__label{
    color: #252525; 
    font-size: 0.875em; 
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.714em;
}
.modal__input{
    font-size: 1em;
    width: 17.5em;
    height: 3.625em; 
    border-radius: 0.625em;
    border: max(1px,0.0625em) solid #9BCA45;
    background: #F8F8F8;
    margin-bottom: 2.1875em;
    padding: 0 1.625em;
}
.modal__input::placeholder{
    color: #7E7E7E;
}
.modal__btn{
    color: #FFF; 
    font-size: 1.125em;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15.5555em;
    height: 4em;
    border-radius: 0.555em;
    background: #9BCA45;
}
.modal__btn:hover{
    background: #EBEBEB;
    color: #797979;
}
@media(max-width: 500px){
    .modal__content{
        padding: 3em 1em;
    }
    .modal__close{
        top: 0.5em;
        right: 0.5em;
    }
    .modal__title{
        font-size: 1.5em;
    }
    .modal__btn{
        width: 100%;
    }
    .modal__input{
        margin-bottom: 1.25em;
        width: 100%;
    }
    .modal__img{
        display: none;
    }
}

#modalPas .modal__container{
    max-width: 66em;
    text-align: left;
    padding: 4.375em 4em;
    align-items: flex-start;
}
#modalPas .modal__btn{ 
    max-width: 100%;
}
@media(max-width: 800px){
    #modalPas .modal__container { 
        padding: 3em 1em 2em; 
    }
}


