._text-align-left {
    text-align: left;
}

._text-align-center {
    text-align: center;
}

.popup-tint {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.2);
    display: none;
    opacity: 0;
    transition: opacity .2s;

    animation-duration: 0.70s;  /* Время работы анимации */
    animation-fill-mode: both;  /* Поведение анимации */
    animation-name: fadeInDown; /* Имя анимации */
}

@keyframes fadeInDown { /* Сама анимация */
    0% {                /* Старт анимации */
        transform: translate3d(0px, -100%, 0px);
    }
    100% {              /* в финале анимации - финал это заданная 0.55s */
        transform: none;
    }
}

.popup-tint.show {
    display: block;
    opacity: 1;
}

.popup-tint.hide {
    display: block;
    opacity: 0 !important;
}

.popup-window {
    font-family: 'Exo 2',sans-serif;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 680px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    overflow: hidden;
    border-radius: 4px;
}

.popup-title {
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px 40px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(to bottom, #008A9D, #20709D);
    box-sizing: border-box;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,.4);
}

.popup-content {
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
}

.popup-text {
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
    color: #333;
}

.popup-text h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 32px;
    color: #666;
}

.popup-text ul {
    padding: 20px 0 0 10px;
    font-size: 16px;
}

.popup-text ul li {
    margin-bottom: 10px;
}

.popup-text ul li:last-child {
    margin-bottom: 0;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.popup-button {
    width: auto;
    margin: 10px 0 20px;
    height: 40px;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: inset 0 -3px 1px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.3);
    background: -webkit-linear-gradient(top, #81b700 0, #789f00 100%);
    background: linear-gradient(to bottom, #81b700 0, #789f00 100%);
    border: 1px solid #ddd;
    border-top: none;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    font-weight: 700;
    font-size: 20px;
    padding: 0 20px;

    border-radius: 3px;
}

.popup-button:hover {
    background: linear-gradient(to bottom, #789f00 0, #81b700 100%);
}

.popup-buttonLink {
    color: #008A9D;
    text-decoration: underline;
    cursor: pointer;
    padding: 0 10px;
}

.popup-close-button {
    width: 28px;
    height: 28px;
    display: block;
    position: absolute;
    right: 8px;
    top: 8px;
    background-color: #fff;
    cursor: pointer;
    border-radius: 50%;
}

.popup-close-button:before,
.popup-close-button:after {
    display: block;
    content: '';
    width: 16px;
    height: 2px;
    position: absolute;
    background-color: #333;
    left: 50%;
    top: 50%;
}

.popup-close-button:before {
    transform: translate(-50%,-50%) rotate(45deg);
}

.popup-close-button:after {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.suitcase {
    background-repeat: no-repeat;
    background-image: url('suitcase.svg');
    width: 128px;
    height: 128px;
    display: block;
    margin: 0 auto;
}
