.modal-tsop__pic {
    width: 300px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

@media screen and (min-width: 677px) and (max-width: 1023px) {
    .modal-tsop__pic {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .modal-tsop__pic {
        display: none;
    }
}

.modal-tsop__cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.28);
}

.modal-tsop {
    font-family: "Roboto", "Arial", sans-serif;
    position: fixed;
    display: flex;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: -2;
}

.modal-tsop__logo {
    /*width: 40%;*/
    /*height: 40%;*/
    display: flex;
    flex-direction: row;
    -ms-flex-align: start;
    align-content: flex-start;
    margin-bottom: 8%;
}

.modal-tsop__btns {
    display: flex;
    flex-direction: row;
    margin: 5px;
    margin-left: 0px;
}

.btn-white, .btn-white span {
    color: #005FAE;
    text-decoration: none;
}

.modal-tsop__btn {
    display: flex;
    justify-content: center; /*Центрирование по горизонтали*/
    align-items: center;     /*Центрирование по вертикали */
    text-align: center;
    /*width: 20%;*/
    height: auto;
    padding: 8px;
    border-radius: 3px;
    text-decoration: none;
    margin: 5px;
    margin-left: 0px;
    border: 1px solid #005FAE;
}

.btn-blue,.btn-blue span {
    color: #FFFFFF;
    background-color: #005FAE;
}

.modal-tsop__content {
    position: relative;
    width: 60%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.modal-tsop__block {
    display: flex;
    flex-direction: column;
}

.modal-tsop__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: justify;
    margin-bottom: 20px;
}

.modal-tsop__header {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0em;
    text-align: left;
    margin-bottom: 10px;
}

.modal-tsop--opened {
    transition: all 0.3s;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.promo-popup__cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.28);
}

.modal-tsop__close {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: none;
    color: #999999;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
