
/**  
 * # modal window 
 */
.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow:auto; 
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(40,41,37, .67);
    display: none;
}
.overlay.active {
    transition: all .2s linear;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    -moz-transition: all .2s linear;

    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay.active.over-height {
    display: flex!important;
    align-items: flex-start!important;
    justify-content: flex-end!important;    
}
.modal {
    width: 100%;
    max-width: 670px;
    min-height: 290px;
    margin: 3em auto; 
    background-color: #fff;
    position: relative;
    border-radius: 5px;
    box-shadow: 1px 1px 14px 2px rgba(41,40,43, .3);
    overflow: hidden;  
    display: none;
}
.entry-header__modal {
    padding: 1em 2em  .3em 2em;
}
.entry-header__modal h3 {
    margin:1em 0  0 0; 
    font-family: 'ProximaNova-Semibold';
    font-weight: 500;
    line-height: 1;
}
.entry-header__modal span {
    display: block;
    line-height: 1.1;
    padding: .6em 0;
}
.entry-content__modal {
    margin:0; 
    padding: .3em 2em  1.3em 2em;
}
.entry-content__modal h5 {
    margin:  0;
}
.btn-close {
    position: absolute;
    z-index: 1000;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    top: .5em;
    right: .5em;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border:none;
    color: #FF960F;
    font-size: 1.1rem;
}
.btn-close::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    transform: rotate(45deg);
    background-color: #888883;
}
.btn-close::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    transform: rotate(-45deg);
    background-color: #888883;
}
.btn-close:hover.btn-close::before, 
.btn-close:hover.btn-close::after{
    background-color: #282923;
}
.btn-close i {
    line-height: .4px;
    position: absolute;
    top: 50%;
}
.fixScroll {
    width: 100%;
    overflow: hidden;
}
.modal-content {
    width: 100%;
}
.modal-content.loading .loader-gif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content section {
    margin: 2.47em 0;
    position: relative;
}
.modal__entry-header,
.modal__entry-content {
    max-width: 80%;
    margin: 0 auto;
}
.modal-content h3 {
    font-weight: 500;
    line-height: 1.2;
}
.modal-content p {
    line-height: 1.1;
    display: block;
    margin: .6em 0;
}
@media only screen and (max-width : 480px) {
    .modal {
        max-width: 93%;
        margin: 0 auto;
    }   
    .entry-header__modal,
    .entry-content__modal {
        padding: 0 1.5em .3em 1.5em;
    }
    .modal .btn-block {
        margin: 1em 0; 
    }
    .modal-content h3 {
        line-height: 1;
        margin-bottom: .3em ;
    }
}
