/*CSS file for Flint Modals*/
@charset "UTF-8";

.modal-background.hide,
.modal.hide {display: none;}
.modal-background.show,
.modal.show {display:block}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.4);
}

.modal {
    position: fixed;
    top: 25%;
    z-index: 9999;
    width: 21.875rem;
    background-color: #FFF;
    border-radius: 0.313rem;
    box-shadow: 0 0.313rem 0.438rem rgba(0,0,0,.35);
    text-align: left;
    padding: 1.675rem 1.25rem 1.875rem 1.25rem;    
    text-align: center;
    box-sizing: border-box;
}

.modal h1, .modal h2, .modal h3, .modal h4, .modal h5, .modal h6, .modal p, .modal div {
    text-align: left;
}

.modal .confirm {
    display: block;
    /*margin: 0.5rem auto;*/
    padding: 1.0rem 2.0rem;
    background-color: #CCC;
    color: #FFF !important;
    width: 100%;
    /*min-width: 10.0rem;*/
    font-weight: 700;
    text-align: center
}

.modal .close {
    position: absolute;
    display: block;
    width: 1.875rem;
    height: 1.875rem;
    top: -0.875rem;
    right: -0.875rem;
    background-image: url('//flint-img.iheart.com/desktop/img/closebtn.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

@media only screen and (max-width: 769px) {
    .modal {
        width: 100%;
        width: 41.250rem;
    }
}

@media only screen and (max-width: 376px) {
    .modal {
        width: 100%;
        max-width: 23.636rem;
    }
}
