﻿.modal__outer-wrap {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(109, 104, 114, .8);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.modal.select-site-version {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: 100vh;
    width: 100%;
    padding: 50px 20px;
    margin-top: 60px;
    overflow-y: auto;
}

.modal__logo {
    max-width: 180px;
    margin: 0 auto 50px auto
}

.modal__header {
    margin-bottom: 40px
}

    .modal__header .txt {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

.modal__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 50px
}


@media(min-width:600px) {
    .modal.select-site-version {
        max-width: 456px;
        height: 257px;
        margin: auto;
        border-radius: 6px;
        -webkit-box-shadow: 0 6px 10px 0 rgba(165, 165, 165, 0.47);
        box-shadow: 0 6px 10px 0 rgba(165, 165, 165, 0.47);
        padding: 40px
    }

    .modal__header {
        margin-bottom: 30px
    }

        .modal__header .txt {
            -webkit-box-pack: start;
            -ms-flex-pack: start;
            justify-content: flex-start
        }

    .modal__footer {
        margin-top: 16px;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end
    }

        .modal__footer .btn {
            min-width: 130px
        }

            .modal__footer .btn:not(:last-child) {
                margin-right: 20px
            }

    .main-section__content {
        margin-bottom: 0
    }
}

@media(max-width:600px) {
    .modal__footer .btn {
        width: calc(50% - 8px)
    }
}
