.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 20500;
    padding: 2%;
    background: rgba(0, 0, 0, 0.85);
    overflow: hidden;
}

.modal__box {
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    padding: 30px 40px;
    height: auto;
    max-width: 760px;
    max-height: 100%;
    background: url(../../../img/bg_shadow_training.png) center center no-repeat;
    background-color: rgba(0, 0, 0, 0);
    background-color: #eee;
    background-size: 100% 100%;
    -webkit-box-shadow: 0px 5px 10px rgba(30, 30, 30, 0.9);
    -moz-box-shadow: 0px 5px 10px rgba(30, 30, 30, 0.9);
    box-shadow: 0px 5px 10px rgba(30, 30, 30, 0.9);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
    line-height: 1;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.modal__content {
    height: 100%;
    overflow: hidden;
}

.modal__closer {
    position: absolute;
    top: 3px;
    right: 4px;
    background: none;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.modal__closer::before {
    position: absolute;
    top: 0;
    right: 0;
    content: '\f057';
    font-family: 'Fontawesome';
    font-style: normal;
    font-weight: normal;
    font-size: 2.4em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.0em;
    color: #666;
    vertical-align: top;
}

@media only screen and (max-width: 767px) {

    .modal__box {
        padding: 20px 30px;
    }
}

@media only screen and (max-width: 480px) {

    .modal__box {
        padding: 15px 10px;
    }
}
