/* -------------------------------------------------------------------------- */
body.show_modal,
html.i-amphtml-fie > body.show_modal,
html.i-amphtml-singledoc > body.show_modal {
    margin: 0;
    height: 100%;
    overflow: hidden !important;
}
.modal_back {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    text-align: center;
    z-index: 998;
}
.modal_content {
    display: none;
    vertical-align: middle;
    position: relative;
    box-sizing: border-box;
    width: 900px;
    z-index: 999;
}
body.show_modal .modal_back {
    display: flex;
    align-items: center;
}
body.show_modal .modal_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* -------------------------------------------------------------------------- */
.modal_content > p {
    width: 198px;
    height: 198px;
    flex: 0 0 198px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.05);
    font-size: 72px;
    font-weight: 100;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0;
}
.modal_content > span {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
}
.modal_content > strong {
    font-family: 'Gilroy', serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin: 32px 0 42px 0;
}
.modal_content > strong > b {
    color: #f44336;
    font-weight: 800;
}
/* -------------------------------------------------------------------------- */
.modal_content > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 0 32px 0;
}
.modal_content > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.05);
    padding: 14px 24px;
    cursor: pointer;
    transition: .3s !important;
}
.modal_content > div > div:hover {
    border: 1px solid #4caf50;
    background: #4caf50;
}
.modal_content > div > div:first-child:hover {
    border: 1px solid #f44336;
    background: #f44336;
}
.modal_content > div > div > b {
    font-family: 'Gilroy', serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: #4caf50;
    margin: 0 0 4px 0;
    transition: .3s !important;
}
.modal_content > div > div:first-child > b {
    color: #f44336;
}
.modal_content > div > div > p {
    font-family: 'Gilroy', serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}
.modal_content > div > div:hover > b ,
.modal_content > div > div:hover > p {
    color: #fff !important;
}
/* -------------------------------------------------------------------------- */
@media only screen and (max-height: 540px) {
    .modal_back {
        align-items: flex-start !important;
    }
}
@media only screen and (max-width: 1023px) {
    .modal_back {
        align-items: flex-start !important;
    }
    .modal_content {
        max-width: 100%;
    }
    .modal_content > div {
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: stretch;
    }
    .modal_content > div > div {
        justify-content: flex-start;
        max-width: 280px;
        margin: 0 8px;
    }
}
@media only screen and (max-width: 767px) {
    .modal_content > div > div {
        padding: 8px 12px;
    }
}
@media only screen and (max-width: 424px) {
    .modal_content > p {
        width: 148px;
        height: 148px;
        flex: 0 0 148px;
        font-size: 56px;
        margin: 18px 0;
    }
    .modal_content > span {
        font-size: 16px;
    }
    .modal_content > strong {
        font-size: 36px;
        margin: 18px 0 24px 0;
    }
    .modal_content > div > div > p {
        font-size: 16px;
    }
}
/* -------------------------------------------------------------------------- */
