body.modal-opened {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.8);

    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 80px;

    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.modal.active {
    z-index: 9999999;
    opacity: 1;
    visibility: visible;
}

.modal-box {
    box-shadow:  0px 0px 20px #000;
    max-width: 720px;
    margin: 0 auto;
    border-radius: 5px;
}

.modal-header {
    padding: 30px;
    text-align: center;
    background: #041d8d;
    color: #fff;
    position: relative;
    border-radius: 5px 5px 0 0;
}

.modal-header .modal-title {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.modal-header .modal-title strong {
    font-size: 1.2em;
}

.modal-header .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    color: #fff;
    display: block;
}

.modal-body {
    background: #fff;
    border-radius: 0 0 5px 5px;
    padding: 40px;
    text-align: center;
}

.modal-body h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1em;
    border-left: 2px solid #000;
    padding-left: .35em;
}

.modal-body p {
    font-size: 16px;
    margin-bottom: 1em;
}

.modal-body hr {
    margin: 40px auto;
    background: #999;
    height: 1px;
    border: 0;
}

.modal-body hr.noline {
    background: transparent;
    margin: 20px auto;
}








body.modal-opened {
    overflow: hidden;
}

.mobile .modal {
    position: relative;
    min-height: 100vh;
    padding: 0px;
    display: none;
}

.mobile .modal.active {
    display: block;
}


body.mobile.modal-opened {
     overflow: auto;
}

body.mobile.modal-opened .wrapper {
    display: none;
}

.mobile .modal-header {
    padding: 20px;
    border-radius: 0px 0px 0 0;
}

.mobile .modal-header .modal-title {
    font-size: 16px;

}



.mobile .modal-header .btn-close {
    right: 10px;
    top: 10px;
    font-size: 30px;
}

.mobile .modal-body {
    border-radius: 0;
    padding: 40px 20px;
}

.mobile .modal-body h4 {
    font-size: 14px;

}

.mobile .modal-body p {
    font-size: 11px;
}

.mobile .modal-body hr {
    margin: 20px auto;
}

.mobile .modal-body hr.noline {
    margin: 10px auto;
}

