@media (min-width: 1440px) {
    .logo {
        width: 145px !important;
    }
}

.logo {
    height: 85px;
}

@media (max-width: 1020px) {
    .logo {
        height: 60px;
    }
}

/*.main {*/
/*    top: 20px;*/
/*}*/

@media (min-width: 1020px) {
    .event-card {
        height: 465px;
    }
}

@media (min-width: 1330px) {
    .banner-image {
        top: 0 !important;
    }
}

.bx-wrapper {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.header {
    position: fixed;
    z-index: 150;
    left: 0;
    right: 0;
}


.popup-search {
    top: 100px !important;
    z-index: 1000;
}

.bx-wrapper .bx-controls-direction a {
    z-index: 100 !important;
}

.about-event__text p {
    text-align: justify !important;
}

.popup-search__close {
    top: 64px !important;
}

form.search-event-form input[type="submit"] {
    display: none;
}

@media (max-width: 1020px) {
    /*#slider {*/
    /*    display: none;*/
    /*}*/
    .bx-wrapper {
        margin-top: 119px !important;
        margin-bottom: 14px !important;

    }

    .event-search._offset {
        padding-top: 162px;
    }

    .main-block {
        margin-top: 0 !important;
    }

    .event-poster {
        padding-top: 140px;
    }

    #order .note {
        display: none;
    }

    #svg svg {
        width: 100%;
        margin-top: -140px;
        margin-bottom: -200px;
    }

    #map .admission {
        width: 100% !important;
    }

    #map .admission .sector div {
        width: 100% !important;
        padding: 15px 15px 0 0 !important;
    }

    #map .admission .sector .name {
        padding: 0 !important;
    }

    #map .admission select {
        height: 17px !important;
    }

    .search-icon {
        float: right;
    }

    .event-search {
        display: none;
    }

    .poster-main {
        min-height: 222px !important;
    }

    .platform-about {
        margin-top: 95px !important;
    }

    .platform-about__img {
        width: 100% !important;
        height: auto !important;
    }

    .banner-image {
        position: absolute;
        top: 122px !important;
        min-height: 219px !important;
    }
}

.sticky-cart {
    display: none;
    z-index: 1;
}

#cart-button {
    display: none;
}

.place-card__type {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-back {
    background-color: white;
    height: 110px;
}

.main-block {
    margin-top: 105px;
}

.cart__counter {
    display: none;
}

#google_translate_element {
    width: 300px;
    float: right;
    text-align: right;
    display: block
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

#goog-gt-tt {
    display: none !important;
    top: 0px !important;
}

.goog-tooltip skiptranslate {
    display: none !important;
    top: 0px !important;
}

.activity-root {
    display: hide !important;
}

.status-message {
    display: hide !important;
}

.started-activity-container {
    display: hide !important;
}

/*@media (max-width: 1020px) {*/
/*    .main._offset {*/
/*        margin-top: 207px;*/
/*    }*/
/*}*/

/*.bx-viewport {*/
/*   background-image: url('../images/bann.jpg')!important;*/
/*}*/

.banner-image {
    position: absolute;
    top: 151px;
    min-height: 475px;
}


/*.main._offset {*/
/*    margin-top: 110px;*/
/*}*/

/*.event-search._bg {*/
/*    padding: 30px 0;*/
/*    background-image: url("/img/bann.jpg");*/
/*}*/

.header__top {
    margin-top: -110px;
}

#order .notickets {
    border: 1px solid #8d1d4b;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1);
    max-width: 400px;
    margin: 50px auto 100px auto;
    text-align: center;
    padding-bottom: 30px;
}

#order .notickets .title {
    padding: 20px;
    font: 18px PTSansBold;
    border-bottom: 1px solid #8d1d4b;
    margin-bottom: 30px;
}

#order .note {
    border: #f4f4f4;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1);
    padding: 15px 20px 10px 20px;
    margin-bottom: 20px;
}

#order .note .cart {
    float: right;
    margin: 27px 20px 0 0;
}

#order .note .cart a {
    background: #2ea5af;
    padding: 10px 15px;
    display: inline-block;
    color: #fff;
    border-radius: 2px;
}

#order .note .cart a:hover {
    opacity: .8;
}

#order .note .title {
    font: 18px PTSansBold;
}

#order .note ol {
    margin: 10px 0;
}

#order .note li {
    padding: 1px;
    color: #666;
    font-size: 12px;
}

/*#map {*/
/*    min-height: 200px;*/
/*    min-width: 1200px;*/
/*}*/
#map .box {
    margin: 0 auto;
}

#map .load {
    padding: 40px;
    text-align: center;
    line-height: 20px;
    display: none;
}

#map .legend {
    text-align: center;
    font-size: 12px;
    padding: 30px 0 20px 0;
}

#map .legend span {
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 3px;
    border: 1px solid #bbb;
    margin: 0 5px 0 15px;
    border-radius: 2px;
}

#map .places {
    position: relative;
    -moz-user-select: none;
    -webkit-user-select: none;
}

#map .places b {
    position: absolute;
    font-weight: normal;
    color: #666;
    text-align: center;
}

#map .places .place {
    width: 16px;
    height: 16px;
    border: 1px solid #bbb;
    border-radius: 2px;
    background: #f6f6f6;
}

#map .places .ticket {
    cursor: pointer;
    font: 8px PTSans, sans-serif;
    line-height: 17px;
}

#map .places .ticket img {
    width: 16px;
    height: 16px;
}

#map .places .selected {
    background-color: #ec5959 !important;
    border: 1px solid #8d1d4b;
}


/* Подсказка при наведении на место */
#map .places span {
    display: none;
    position: absolute;
    z-index: 10;
    background: #000;
    padding: 8px 10px 10px 10px;
    color: #fff;
    opacity: .8;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    text-align: left;
}

#map .places span strong {
    font: 14px PTSansBold;
    font-weight: normal;
    display: block;
}

#map .places span div {
    font-size: 10px;
}

#map .places span:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

#map .places span.tr {
    bottom: 33px;
    left: -16px;
}

#map .places span.tr:after {
    left: 10px;
    bottom: -10px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #000;
}

#map .places span.tl {
    bottom: 33px;
    right: -16px;
}

#map .places span.tl:after {
    right: 10px;
    bottom: -10px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #000;
}

#map .places span.br {
    top: -16px;
    left: 43px;
}

#map .places span.br:after {
    left: -10px;
    top: 10px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #000;
}

#map .places span.bl {
    top: -16px;
    right: 43px;
}

#map .places span.bl:after {
    right: -10px;
    top: 10px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #000;
}


/* Входные места */
#map .admission {
    text-align: center;
    width: 930px;
    margin: 0 auto;
    box-sizing: initial !important;
    margin-bottom: 35px;
}

#map .admission .header {
    overflow: hidden;
    border-left: 1px solid #8d1d4b;
}

#map .admission .header div {
    border: 1px solid #2fa6af;
    border-left: 0;
    padding: 15px;
    float: left;
}

#map .admission .name {
    width: 350px;
}

#map .admission .price {
    width: 150px;
}

#map .admission .count {
    width: 150px;
}

#map .admission .custom-cart {
    width: 155px;
}

#map .admission .sector {
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    overflow: hidden;
    color: #666;
}

#map .admission .sector div {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 15px 15px 0 15px;
    height: 33px;
    float: left;
}

#map .admission .sector .name {
    padding: 0 15px;
    height: 48px;
    display: table;
}

#map .admission .sector .name span {
    display: table-cell;
    vertical-align: middle;
}

#map .admission select {
    border: 1px solid #2fa6af;
    padding: 5px 15px;
    margin-top: -6px;
    width: 75px;
    border-radius: 2px;
    height: 30px;
}

#map .admission button {
    border: 0;
    padding: 5px 15px;
    margin-top: -6px;
    background: #2fa6af;
    color: #fff;
    border-radius: 2px;
}

#map .admission button:hover {
    opacity: .8;
}

#map .admission .custom-cart span {
    display: none;
}

#map .to-cart {
    text-align: center;
    padding: 40px 0 80px 0;
}

#map .to-cart a {
    display: inline-block;
    padding: 10px 20px;
    background: #2fa6af;
    color: #fff;
    border-radius: 2px;
}

#map .to-cart a:hover {
    opacity: .8;
}

#sectors {
    border: 1px solid #8d1d4b;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1);
    width: 680px;
}

#sectors .title {
    border-bottom: 1px solid #8d1d4b;
    padding: 15px;
    text-align: center;
    font: 18px PTSansBold;
}

#sectors .head {
    border-bottom: 1px solid #8d1d4b;
    overflow: hidden;
}

#sectors .head div {
    border-left: 1px solid #8d1d4b;
    float: left;
    padding: 15px 10px;
    text-align: center;
}

#sectors .head div:first-child {
    border: 0;
}

#sectors .name {
    width: 340px;
}

#sectors .price {
    width: 140px;
}

#sectors .order {
    width: 135px;
}

#sectors .sector {
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    color: #666;
}

#sectors .sector div {
    border-left: 1px solid #ddd;
    float: left;
    padding: 15px 10px 0 10px;
    text-align: center;
    height: 33px;
}

#sectors .sector div:first-child {
    border: 0;
}

#sectors button {
    border: 0;
    padding: 5px 15px;
    margin-top: -6px;
    background: #8d1d4b;
    color: #fff;
    border-radius: 2px;
}

#sectors button:hover {
    opacity: .8;
}

.event-sectors {
    overflow: hidden;
}

#svg {
    text-align: center;
}

#svg path {
    stroke: #ddd;
    fill: #fff;
    stroke-width: 1px;
}

#svg path.active {
    fill: #dfb427;
    stroke: #dfb427;
    cursor: pointer;
}

#svg path.active:hover {
    opacity: .8;
}

#svg text {
    font-size: 10px;
    pointer-events: none;
}

#svg div {
    background: #000;
    padding: 10px;
    position: absolute;
    opacity: .9;
    color: #fff;
    border-radius: 5px;
    width: 200px;
    font-size: 12px;
    line-height: 18px;
}

#svg div:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-left: 15px solid #000;
    border-bottom: 15px solid transparent;
}

#svg div strong {
    font: 14px PTSansBold;
    font-weight: normal;
    display: block;
}

#svg div span {
    color: #bbb;
    display: block;
}

.hall-scheme {
    float: right;
    margin-right: 30px;
    width: 400px;
    text-align: center;
}

.hall-scheme img {
    border: 1px solid #ddd;
    cursor: pointer;
    width: 200px;
}

#scroller {
    width: 100%;
/*    overflow: hidden;*/
    position: relative;
}

.pinch-zoom-container {
    min-height: 900px;
}

#map .places {
    position: absolute;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

/* Календарь событий */
#calendar.main {
    float: right;
}

#calendar {
    width: 225px;
    height: 300px;
}

#calendar .month {
    background: #d7d7d7;
    color: #fff;
    text-align: center;
    border-radius: 1px;
    line-height: 40px;
    width: 100%;
}

#calendar .prev,
#calendar .next {
    background: #d7d7d7 url(../images/sprite-icons.png?1) no-repeat;
    display: block;
    height: 18px;
    width: 18px;
    border: 11px solid #d7d7d7;
    border-radius: 1px;
}

#calendar .prev:hover,
#calendar .next:hover {
    background-color: #e2e2e2;
    border-color: #e2e2e2;
}

#calendar .prev {
    float: left;
    background-position: 1px -1px;
}

#calendar .next {
    float: right;
    background-position: -12px -1px;
}

#calendar .days {
    text-align: center;
    padding-top: 14px;
}

#calendar .days span {
    font: 14px MyriadProSemibold;
    text-align: center;
    width: 29px;
    display: inline-block;
    line-height: 24px;
    color: #cba22c;
}

#calendar .grid {
    text-align: center;
}

#calendar .grid a,
#calendar .grid span {
    text-align: center;
    width: 29px;
    display: inline-block;
    padding-top: 9px;
    position: relative;
    line-height: 26px;
}

#calendar .grid b:hover,
#calendar .grid a:hover {
    font-weight: bold;
}

#calendar .grid span {
    color: #999;
}

#calendar .grid b {
    background: #a0a0a0;
    color: #fff;
    position: absolute;
    width: 29px;
    top: -10px;
    left: 0;
    font-weight: normal;
    line-height: 28px;
    padding-top: 1px;
    border-radius: 3px;
}

#calendar .event {
    color: #000;
}

#calendar .event:before {
    content: '';
    display: block;
    background: #d7d7d7;
    position: absolute;
    width: 29px;
    z-index: -1;
    top: 7px;
    left: 0;
    height: 29px;
    border-radius: 3px;
}


/* Слайдер на главной странице */
#slider .box {
    opacity: 0;
    display: none;
    /*position: absolute;*/
    /*height: 280px;*/
    /*background: #dfb427;*/
    /*width: 780px;*/
}

#slider .box:first-child {
    opacity: 1;
    display: block;
}

/*#slider .box .image {*/
/*    display: inline-block;*/
/*    height: 280px;*/
/*    width: 380px;*/
/*    overflow: hidden;*/
/*}*/
/*#slider .box img {*/
/*    height: 280px;*/
/*}*/
/*#slider .note {*/
/*    font-size: 12px;*/
/*    margin-bottom: -5px;*/
/*}*/
/*#slider .view {*/
/*    float: right;*/
/*    width: 340px;*/
/*    margin: 15px 30px 0 0;*/
/*    position: relative;*/
/*    height: 230px;*/
/*}*/
/*#slider .title {*/
/*    font: 26px PTSansBold;*/
/*}*/
/*#slider .date {*/
/*    margin: 25px 0 0 25px;*/
/*}*/
/*#slider .date:before {*/
/*    content: '';*/
/*    background: url(../images/sprite.png) no-repeat -160px 0;*/
/*    display: inline-block;*/
/*    height: 16px;*/
/*    width: 15px;*/
/*    position: absolute;*/
/*    margin-left: -25px;*/
/*}*/
/*#slider .venue {*/
/*    margin: 5px 0 0 25px;*/
/*}*/
/*#slider .venue:before {*/
/*    content: '';*/
/*    background: url(../images/sprite.png) no-repeat -176px 0;*/
/*    display: inline-block;*/
/*    height: 16px;*/
/*    width: 13px;*/
/*    position: absolute;*/
/*    margin-left: -25px;*/
/*}*/
/*#slider .buy {*/
/*    display: inline-block;*/
/*    padding: 5px 15px 6px 15px;*/
/*    border: 1px solid #333;*/
/*    border-radius: 2px;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*}*/

/* SEO текст на страницах */
.seo {
    clear: both;
}

.seo h3 {
    color: #888;
    margin: 0 0 15px 0;
    padding-top: 10px;
    font-size: 18px;
}

.seo .text {
    color: #999;
    /*column-count: 3;*/
    /*-webkit-column-count: 3;*/
    /*-moz-column-count: 3;*/
    /*column-gap: 30px;*/
    /*-webkit-column-gap: 30px;*/
    /*-moz-column-gap: 30px;*/
    text-align: justify;
    height: 210px;
    overflow: hidden;
}

.show_more_button {
    display: none;
}

.show_more {
    order: 1;
    color: blue;
    text-decoration: underline;
    font-size: 15px;
    cursor: pointer;
    float: right;
}

.seo .text p {
    margin: 0 0 15px 0;
}

.seo .text a {
    color: #666;
}

.seo .text a:hover {
    border-bottom: 1px dashed #bbb;
}

/*.seo .main p:first-child {*/
/*    text-align: center!important;*/
/*}*/

.legend {
    text-align: center;
    font-size: 12px;
    padding: 30px 0 20px 0;
}

.legend span {
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 3px;
    border: 1px solid #bbb;
    margin: 0 5px 0 15px;
    border-radius: 2px;
}

nav.container li ul {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #eaeaea;
    border-bottom: 0;
    margin-left: -1px;
    z-index: 10;
}

nav.container li:hover ul {
    display: block;
}

nav.container li li {
    display: block;
    border-left: 0;
    border-bottom: 1px solid #eaeaea;
}

nav.container li li a {
    padding: 8px 40px 8px 20px;
}

nav.container li li a:hover {
    text-shadow: 0 0 2px rgba(0, 0, 0, .4);
}

.header-menu__item:not(:last-of-type) {
    font-size: 16px !important;
}

._events-list .event-card__img {
    height: 60px;
    width: 65px;
    object-fit: cover;
    border-radius: 5px 5px 5px 5px !important;
}

.custom {
    position: absolute;
    top: 7%;
    right: 5%;
    max-width: 400px;
}

.event-search {
    margin-top: -10px !important;
}

.request-ticket {
    /*  margin-top: 150px;*/
}

.request-ticket h2 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.request-ticket #request {
    width: 70%;
    margin: 0 auto;
}

.request-ticket input, .request-ticket textarea, .btn-request-form {
    margin: 5px;
}

.btn-request-form {
    width: 100%;
}

.request-ticket form {
    margin-bottom: 30px;
}

.request-ticket .confirm {
    text-align: center;
    font-size: 23px;
    width: 80%;
    margin: 0 auto;
}

.request-ticket .number {
    font-size: 36px;
    padding: 10px;
    background-color: #eaeaea;
    width: 30%;
    margin: 10px auto;
}

.request-ticket .confirm-header {
    padding-top: 35px;
    margin-top: 32px;
    font-size: 43px;
    font-weight: bold;
}

@media (max-width: 1020px) {
    .custom {
        display: none;
    }

    .title, h1 {
        font-size: 33px;
    }

    .event-poster-custom {
        margin-top: 123px !important;
    }

    .event-date {
        font-size: 16px !important;
    }

    /*.legend {
        text-align: initial;
        -webkit-column-count: 3;
        column-rule: 1px solid #ccc;
    }*/
    .legend p {
        font-size: 10px;
    }

    .btn._nobg {
        padding: 23px 3px;
    }

    .event-card__link {
        grid-column-start: 4;
        display: block;
        grid-row-start: 1;
        width: 59px !important;
        font-size: 10px !important;
    }

    .event-card__date {
        font-size: 10px;
    }

    .event-card__name {
        font-size: 12px;
    }
}

/* Масштабирование схемы зала */
#scale {
    position: absolute;
    right: 0;
    opacity: .5;
    margin-top: 90px;
    z-index: 199;
}

#scale img {
    width: 30px;
}

#scale a {
    display: block;
    cursor: pointer;
}

.not-active-date {
    color: var(--primary-green) !important;
}

.dates {
    display: inline-block;
}

.dates a {
    display: inherit;
    margin-right: 3px;
}

.event-date {
    font-size: 19px;
    color: grey;
}

.date-block {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.legend p {
    display: initial;
}

.pay_form_second {
    margin-top: 160px;
}

.booking-results__place .event-card__close::before, .booking-results__place .event-card__close::after {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    width: 100%;
    height: 2px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 1px;
    background-color: var(--primary-dark-lighest);
}

.booking-results__place .event-card__close::before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.booking-results__place .event-card__close::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.booking-results__place .event-card__close:hover {
    cursor: pointer;
}

.booking-results__place .event-card__close:hover::before, .booking-results__place .event-card__close:hover::after {
    background-color: var(--primary-accent);
}

.booking-results__place .event-card__close {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    grid-area: close;
    -ms-grid-column: 4;
    grid-column-start: 4;
    -ms-grid-row: 1;
    grid-row-start: 1;
    float: right;
}


@font-face {
    font-family: 'Anonymous Pro';
    src: url('/js/card-info/AnonymousPro-Regular.ttf') format('truetype');
}

body {
    /* padding: 40px;
     min-width: 700px;
     margin: 0;
     font-size: 30px;*/
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
}

* {
    box-sizing: border-box;
    outline: none;
}

#cards {
    width: 19.5em;
    height: 10em;
    position: relative;
    margin: 0;
}

#front, #back {
    position: absolute;
    width: 19.5em;
    height: 13em;
    border-radius: 0.5em;
}

#front {
    top: 0;
    left: 0;
    background: #ddd;
    z-index: 100;
}

#number {
    width: 100%;
    margin-bottom: 0.3em;
}

#front-fields {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1em;
}

#bank-link {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 320px;
    height: 30px;
    display: block;
    position: relative;
    left: 1em;
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
}

#brand-logo {
    position: absolute;
    bottom: 1em;
    right: 1em;
    text-align: right;
    height: 1.6em;
}

#back {
    bottom: -4em;
    right: -6em;
    background: #bbb;
    padding-top: 1em;
    padding-right: 1em;
    padding-left: 14.5em;
}

#code {
    width: 100%;
}

.field {
    height: 34px;
    padding: 0.3em 0.5em;
    border: none;
    font-family: 'Anonymous Pro', monospace;
    font-size: 0.8em;
    text-indent: 0.1em;
}

.expired {
    float: left;
    width: 3em;
    margin-right: 0.5em;
    margin-top: 0.3em;
}

.label {
    font-size: 0.7em;
    display: block;
    margin-top: 0.5em;
}

.block h2 {
    margin: 0 0 0.3em 0;
    font-size: 0.7em;
}

ul {
    margin: 0;
}

#validation li {
    margin-bottom: 10px;
}

#validation li.valid {
    color: green;
}

#validation li.invalid {
    color: red;
}


.card-wrapper {
    padding-top: 50px;
    margin: 0 auto;
    width: 27em;
    height: 27em;
}

.btn-wrapper {
    padding-top: 73px;
    margin: 0 auto;
    width: 27em;
}

.cost-commission {
    text-align: center;
    margin-top: 4em;
}

@media (min-width: 100px) and (max-width: 600px) {
    .label {
        font-size: 0.9em;
        display: block;
        margin-top: 0.5em;
    }

    #back {
        bottom: -7.5em;
        right: 3em;
        background: #bbb;
        padding-top: 7em;
        padding-right: 0em;
        padding-left: 10.5em;
        left: 1em;
    }

    #front {
        top: 0;
        left: 0;
        background: #ddd;
        z-index: 100;
    }

    #front, #back {
        position: absolute;
        width: 17.5em;
        height: 12em;
        border-radius: 0.5em;
    }

    #code-label {
        font-size: 0.7em;
    }

    #number {
        width: 100%;
        margin-bottom: 0.3em;
    }

    .card-wrapper {
        margin: 0 auto;
        width: 100%;
        height: 25em;
        padding: 10px;
    }
    .card-wrapper h1, .card-wrapper h2 {
        text-align: center;
    }
    .btn-wrapper {
        margin: 0 auto;
        width: 17em;
    }

    .cost-commission {
        text-align: center;
        margin-top: 6em;
    }

    #code {
        width: 64%;
    }

    #cards {
        width: 100%;
        height: 10em;
        position: relative;
        margin: 0;
    }

    .btn-wrapper {
        margin: auto auto;
        width: 100%;
        padding: 5px;
    }

    .pay_form_second {
        margin-top: 0px;
        min-height: 750px;
    }

    #bank-link {
        top: 1em;
        right: 1em;
        width: 320px;
        height: 30px;
        display: block;
        position: relative;
        left: 1em;
        background-size: contain;
        background-position: top left;
        background-repeat: no-repeat;
    }

    .card-wrapper h1 {
        margin-bottom: 8px;
        margin-top: 0px;
        font-size: 20px;
    }

    .payment-wrapper {
        padding: 19px;
    }
    .payment-attention {
        font-size: 10px;
    }
    .card-wrapper h2 {
        font-size: 20px;
    }
}

@media (min-width: 375px) and (max-width: 600px) {
    #back {
        right: 1em;
    }


    .footer_payment_ico img {
        width: 50px;
    }

    .seo {
        padding-top: 30px;
    }

    ._events-list .event-card__date .day {
        font-size: 28px;
    }

    .text-confirm {
        margin-right: 7px;
    }
}

@media (min-width: 300px) and (max-width: 600px) {
    .modal__title {
        font-size: 22px;
    }

    .checkbox__modal_form_confirm {
        line-height: normal;
    }

}

@media (min-width: 1020px) {
    .event-card__date {
        padding-right: 0px;
    }
    ._events-list .event-card__img {
        height: 124px;
        width: 214px;
    }
}

@media (min-width: 100px) and (max-width: 600px) {
    .event-card img {
        height: 55px;
        width: 55px;
        border-radius: 0;
    }
}


.footer_payment_ico img {
    width: 50px;
}

.invalid {
    border-color: #f00;
}



@media (max-width: 1020px) {
    .event-poster{
        padding: 24px 0 9px;
    }
}
