/* Modal with responsability text */
.modal-info {
    background-color: rgba(0, 78, 163, .4);
    bottom: 0;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    display: none
}

.modal-info.open {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: auto
}

.modal-info .modal-dialog {
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .8);
    border-radius: 5px;
    height: auto;
    position: relative;
    font-size: 14px;
    line-height: 1.4;
    max-width: 550px;
    padding: 30px 10px;
    margin: auto;
    width: calc(100% - 20px)
}

.modal-info .modal-dialog p {
    margin-bottom: 10px
}

.modal-info .btn-close {
    border: none;
    background: 0 0;
    color: #000;
    position: absolute;
    height: 40px;
    top: 10px;
    font-size: 23px;
    right: 10px;
    width: 40px
}

.modal-info .btn-close:hover {
    color: #007aff
}

.modal-info .modal-body h2 {
    font-size: 23px;
    text-align: center;
    margin-bottom: 20px
}

/* Info banners */
#modal-info-banners div[data-role="banner"] {
    display: none;
}

#modal-info-banners [data-role="banner"].banner-is-active  {
    display: block;
}

#modal-info-banners div[data-role="banner"].banner-is-showing {
    display: block;
    opacity: 1;
    animation-name: fadeInBanner;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

#modal-info-banners div[data-role="banner"].banner-is-hiding {
    opacity: 0;
    animation-name: fadeOutBanner;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

@keyframes fadeInBanner {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOutBanner {
    0% {
        opacity: 1;
        display: block;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
