/* Events page */

.main #hwm-ubs-ticketsystem {
    width: 1760px;
    max-width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    margin: 0 auto;
}

.skin.skin-inner {
    width: 100%;
}

.main #hwm-ubs-ticketsystem .hwm-afisha-menu {
    padding-bottom: 44px;
    border-bottom: 1px solid #000000;
    margin-bottom: 54px;
}

.main #hwm-ubs-ticketsystem {
    text-align: left;
}

#hwm-ubs-ticketsystem a.btn,
#hwm-ubs-ticketsystem button.btn,
.main #hwm-ubs-ticketsystem .hwm-afisha-actual-date .hwm-afisha-actual-date-item {
    padding: 9px 14px;
}

.main #hwm-ubs-ticketsystem .fullscreen-notify .content .notify-button,
.main #hwm-ubs-ticketsystem .buy-main-content-wrapper .datepicker-wrapper .reset-button-wrapper .reset-button {
    border: 1px solid #000000;
    color: #000000;
}

.main #hwm-ubs-ticketsystem .fullscreen-notify .content .notify-button:hover,
.main #hwm-ubs-ticketsystem .buy-main-content-wrapper .datepicker-wrapper .reset-button-wrapper .reset-button:hover {
    background: #000000;
    color: #ffffff!important;
}

.main #hwm-ubs-ticketsystem .hwm-afisha-actual-date .hwm-afisha-actual-date-item {
    border: 1px solid #000000;
}

.hwm-afisha-filter-date .d-flex.top-flex-wrapper div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px;
}

.hwm-afisha-filter-date .selected-date-text {
    width: 100%;
}

.hwm-afisha-filter-date img.calendar-icon {
    display: none;
}

#hwm-ubs-ticketsystem a.btn:hover,
#hwm-ubs-ticketsystem button.btn:hover,
#hwm-ubs-ticketsystem .hwm-afisha-actual-date .hwm-afisha-actual-date-item:hover {
    background: #000000!important;
    color: #ffffff!important;
    text-decoration: none;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper {
    max-width: 830px;
    margin-bottom: 49px;
    margin-top: 64px;
}

.week-calendar-wrapper {
    position: relative;
}

.week-calendar-arrow {
    position: absolute;
    top: -62px;
    right: 0;
}

.week-calendar-arrow svg {
    display: none;
}

.week-calendar-arrow.week-calendar-prev,
.week-calendar-arrow.week-calendar-next {
    width: 45px;
    height: 40px;
    background-size: cover;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='62' height='46' viewBox='0 0 62 46' fill='none'%3e%3cpath d='M1 23L51 23' stroke='black' stroke-miterlimit='10'%3e%3c/path%3e%3cpath d='M30.1445 43.9951L51.1445 22.9951L30.1445 1.99512' stroke='currentColor' stroke-miterlimit='16'%3e%3c/path%3e%3c/svg%3e");
    background-position: -5px;
    transition: all .3s ease-out!important;
}

.week-calendar-arrow.week-calendar-prev {
    right: 67px;
    transform: rotate(180deg);
}

.week-calendar-arrow.week-calendar-prev:hover,
.week-calendar-arrow.week-calendar-next:hover {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='62' height='46' viewBox='0 0 62 46' fill='none'%3e%3cpath d='M1 23L51 23' stroke='black' stroke-miterlimit='10' stroke-width='2'%3e%3c/path%3e%3cpath d='M30.1445 43.9951L51.1445 22.9951L30.1445 1.99512' stroke='currentColor' stroke-miterlimit='16' stroke-width='2'%3e%3c/path%3e%3c/svg%3e");
    background-position: 0;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item {
    border: 1px solid #000000;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item.active {
    color: #000000;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item.selected {
    border-color: #000000;
    border-width: 1px;
    margin-top: 1px;
    margin-left: -1px;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item:hover,
.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item.selected {
    background: #000000;
    color: #ffffff;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarWeek {
    font-size: 16px;
    font-weight: 500;
    padding-top: 0;
    height: 44px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #000000;
    margin: -1px -1px 0 -1px;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item.selected .calendarWeek,
.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item:hover .calendarWeek {
    border: 1px solid #ffffff;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarDay {
    font-size: 46px;
    font-weight: 400;
}

.main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarMonth {
    font-size: 16px;
}

.main #hwm-ubs-ticketsystem .afisha-tiles .tiles-wrapper {
    grid-column-gap: 33px!important;
    grid-row-gap: 33px!important;
}

.main #hwm-ubs-ticketsystem .afisha-item-card {
    border: none;
}

#hwm-ubs-ticketsystem .afisha-item-card .image {
    padding-bottom: 100%;
    position: relative;
}

#hwm-ubs-ticketsystem .afisha-item-card .image img {
    position: absolute;
}

.main #hwm-ubs-ticketsystem .afisha-item-card .text-wrapper {
    padding: 14px 0 0;
}

.main #hwm-ubs-ticketsystem .afisha-item-card .hwm-afisha-item-title {
    font-weight: 400;
    font-size: 27px;
}

.main #hwm-ubs-ticketsystem .afisha-item-card .afisha-buy-button .btn {
    margin: 0;
    width: fit-content;
}

.main .hwm-afisha-actual-date div {
    margin-bottom: 10px;
}

.main #hwm-ubs-ticketsystem .hwm-afisha-list .hwm-afisha-empty,
.main #hwm-ubs-ticketsystem .hwm-afisha-actual-date {
    text-align: left;
}

.main #hwm-ubs-ticketsystem a,
.main #hwm-ubs-ticketsystem a:hover {
    color: #000000;
}

/* Tickets page */

.main #hwm-ubs-ticketsystem .buy-main-content-wrapper,
.main #hwm-ubs-ticketsystem .tickets {
    max-width: 830px;
}

.main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets,
.main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .ticket-type,
.main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .ticket-price,
.main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .item-tickets-count {
    font-size: 27px;
    font-weight: 400!important;
}

.main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .add-delete-buttons {
    display: flex;
    justify-content: space-between;
}

.main #hwm-ubs-ticketsystem .buy-panel-wrapper .cart-panel .cart-item-info .cart-item-title {
    font-size: 16px;
    font-weight: 400;
}

#hwm-ubs-ticketsystem .justify-content-between {
    align-items: baseline;
}

.cart-total-label {
    text-transform: capitalize;
}

.main #hwm-ubs-ticketsystem .form-group {
    margin-bottom: 13px;
}

.main #hwm-ubs-ticketsystem .custom-control {
    min-height: 0;
    padding-left: 1.5rem;
}

.main #hwm-ubs-ticketsystem label.custom-control-label {
    font-size: 12px;
}

.main #hwm-ubs-ticketsystem .custom-control-label:before,
.main #hwm-ubs-ticketsystem .custom-control-label:after{
    top: .05rem;
}

.main #hwm-ubs-ticketsystem .custom-control a,
.main #hwm-ubs-ticketsystem .buy-panel-wrapper .cart-panel .go-afisha-button {
    color: #000000;
    text-decoration: underline;
}

.main #hwm-ubs-ticketsystem .custom-control a:hover,
.main #hwm-ubs-ticketsystem .buy-panel-wrapper .cart-panel .go-afisha-button:hover {
    text-decoration: none;
}

.main #hwm-ubs-ticketsystem .buy-panel-wrapper .cart-panel .checkout-submit-button {
    margin: 0 25px 30px 25px;
    box-sizing: border-box;
    opacity: 1;
    padding: 9px 14px;
    width: calc(100% - 50px);
}

.main #hwm-ubs-ticketsystem .hwm-afisha-filter-date .datepicker-wrapper .vdp-datepicker__calendar .cell.selected,
.main #hwm-ubs-ticketsystem .buy-main-content-wrapper .datepicker-wrapper .vdp-datepicker__calendar .cell.selected {
    background: #000000;
    color: #ffffff!important;
}

.main #hwm-ubs-ticketsystem .hwm-afisha-filter-date .datepicker-wrapper .vdp-datepicker__calendar .cell.day:hover,
.main #hwm-ubs-ticketsystem .buy-main-content-wrapper .datepicker-wrapper .vdp-datepicker__calendar .cell.day:hover {
    color: #000000!important;
}

.main #hwm-ubs-ticketsystem .hwm-afisha-filter-date .datepicker-wrapper .vdp-datepicker__calendar .cell.selected:hover,
.main #hwm-ubs-ticketsystem .buy-main-content-wrapper .datepicker-wrapper .vdp-datepicker__calendar .cell.selected:hover {
    color: #ffffff!important;
}

.main #hwm-ubs-ticketsystem .buy-main-content-wrapper .datepicker-wrapper .reset-button-wrapper {
    border-top: 1px solid #000000;
}

/* Cart page */

.hwm-cart-page {
    max-width: 1264px;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-items-header {
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .add-remove-button {
    padding: 9px;
    width: 30px;
    height: 30px;
}

.add-delete-buttons-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-item .item-extra .item-location {
    max-width: none;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .item-title a,
.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-item .item-count,
.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-item .item-price {
    min-width: 68px;
    font-weight: 400;
    font-size: 27px;
    line-height: 1;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .inc-error {
    margin: 0;
    color: #000000;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .col-item-delete {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

.main #hwm-ubs-ticketsystem .item-delete-button {
    position: relative;
    height: 28px;
    width: 28px;
}

.main #hwm-ubs-ticketsystem .item-delete-button img {
    display: none;
}

.main #hwm-ubs-ticketsystem .item-delete-button:after,
.main #hwm-ubs-ticketsystem .item-delete-button:before {
    content: '';
    width: 22px;
    height: 1px;
    background: #000000;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    -o-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.main #hwm-ubs-ticketsystem .item-delete-button:before {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    -o-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .hwm-cart-footer {
    color: #000000;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .checkout-button-container {
    display: flex;
    flex-wrap: wrap;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .checkout-button-container {
    gap: 30px;
}

.main #hwm-ubs-ticketsystem .hwm-cart-page .checkout-button-container .continue-shopping-button.hidden-xs {
    margin-right: 0;
}

.main #hwm-ubs-ticketsystem .align-items-center .form-group {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 1199px) {
    .main #hwm-ubs-ticketsystem .btn {
        font-size: 14px !important;
    }

    #hwm-ubs-ticketsystem a.btn, #hwm-ubs-ticketsystem button.btn {
        padding: 6px 12px;
    }

    .main #hwm-ubs-ticketsystem .hwm-afisha-menu {
        padding-bottom: 24px;
        margin-bottom: 34px;
    }

    .main #hwm-ubs-ticketsystem .week-calendar-wrapper {
        margin-bottom: 30px;
        margin-top: 54px;
    }

    .hwm-afisha-filter-date .d-flex.top-flex-wrapper div,
    .main #hwm-ubs-ticketsystem .afisha-item-card .hwm-afisha-item-title {
        font-size: 22px;
    }

    .week-calendar-arrow {
        top: -42px;
    }

    .week-calendar-arrow.week-calendar-prev {
        right: 47px;
    }

    .week-calendar-arrow.week-calendar-prev,
    .week-calendar-arrow.week-calendar-next {
        width: 35px;
        height: 30px;
    }

    .main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarDay {
        font-size: 34px;
    }

    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets,
    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .ticket-type,
    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .ticket-price,
    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .item-tickets-count,
    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .item-title a,
    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-item .item-count,
    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-item .item-price,
    .main #hwm-ubs-ticketsystem .hwm-cart-page .hwm-cart-footer .total-xs,
    .main #hwm-ubs-ticketsystem .hwm-cart-page .hwm-cart-footer .col-item-price-total {
        font-size: 22px;
    }

    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .add-delete-button {
        width: 33px;
        height: 33px;
    }
}

@media (max-width: 992px) {
    .main #hwm-ubs-ticketsystem {
        padding: 0 24px;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .cart-items-header {
        display: none;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-item-main {
        position: relative;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .col-item-delete {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .col-sm-8 {
        flex: 1;
        max-width: 66.66666667%;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .col-sm-1 {
        flex: 0 0 20.333333%;
        max-width: 200px;
        text-align: right;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .cart-items .item-price {
        text-align: right;
    }
}

@media (max-width: 699px) {
    .main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarWeek {
        font-size: 12px;
        height: 28px;
    }

    .main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarDay {
        font-size: 20px;
    }

    .main #hwm-ubs-ticketsystem .week-calendar-wrapper .week-calendar .item .calendarMonth {
        font-size: 8px;
    }

    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets, .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .ticket-type, .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .ticket-price, .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .item-tickets-count {
        font-size: 16px;
    }

    .main #hwm-ubs-ticketsystem .hwm-ubs-content .item-tickets .add-delete-button {
        width: 23px;
        height: 23px;
    }

    .main #hwm-ubs-ticketsystem .hwm-cart-page .checkout-button-container {
        gap: 5px;
    }
}

@media (max-width: 540px) {
    .main #hwm-ubs-ticketsystem {
        padding: 0 16px;
    }
}