@import url(/local/modules/datepicker/jquery-ui.css);
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap);
@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500&display=swap);

.events-title {
    margin-top: 30px;
}

.event-cards {
    --margin-events: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--margin-events);
}

.event-cards__elem {
    flex-direction: column;
    display: flex;
    flex: 300px 1 1;
    width: 100%;
    margin: 30px 0;
    min-height: 390px;
}
.event-cards__elem.test_mode {
    background: #d4e6fc;
}

.event-cards__part-top {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 234px;
    color: #fff;
    border-radius: 15px;
}
.event-cards__part-top:hover{
    color: #ffffff;
}

.event-cards__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: ease 1s;
}

.event-cards__elem:hover .event-cards__bg {
    transform: scale(1.2);
}

.event-cards__part-top::before {
    z-index: 1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50.74%, rgba(0, 0, 0, 0.63) 76.89%); */
}

.event-cards__elem .event-cards__team-logos {
    position: relative;
    margin: auto;
    width: 100%;
    display: inline-flex;
}
.event-cards__elem .event-cards__team-logos .lleft,
.event-cards__elem .event-cards__team-logos .lright
{
    width: 50%;
    text-align: center;
    line-height: 80px;
}
.event-cards__elem .event-cards__team-logos .lcenter
{
    text-align: center;
    line-height: 80px;
}

.event-cards__elem .event-cards__team-logos
.event-cards__logo {
    margin: 0 10px;
    height: 100%;
    width: auto;
}

.event-cards__logo {
    margin: 0 10px;
}
.event-cards__liga {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
}
img.event-cards__liga-logo {
    max-height: 32px;
}

.event-cards__date {
    position: absolute;
    max-width: 62%;
    bottom: 25px;
    left: 20px;
    z-index: 1;
    background: rgb(18 18 18 / 70%);
    border-radius: 5px;
    padding: 0px 7px;
}
.event-cards__date-bottom{
    display: none;
}

.event-cards__price.btn-primary {
    position: absolute;
    width: max-content;
    max-width: 35%;
    bottom: 25px;
    right: 20px;
    text-align: right;
    background: var(--accent-color);
    padding: 0;
    z-index: 1;
    font-weight: 500;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    white-space: nowrap;
}
.event-cards__price.btn-primary span {
    padding: 5px 10px;
}
.event__elem--show-more .btn-primary.btn--my-orange {
    background: transparent;
    border: none;
}
.event__elem--show-more .btn-my-orange div{
    color: var(--base-color);
}
.event-cards__title {
    font-weight: bold;
    font-size: 30px;
    margin-top: 10px;
    line-height: 1.2;
    margin-bottom: 5px;
    color:black;
}

.event-cards__address {
    font-weight: 400;
    margin-bottom: 10px;
}

.event__elem--show-more {
    display: flex;
    background: #E9F4FF;
    border-radius: 15px;
    border: 1px solid var(--base-color);
    color: var(--base-color);
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    padding: 20px;
    transition: .2s all ease-out;
    min-height: 234px;
    height: 234px;
    /* height: auto; */
}

.scheme .event__elem--show-more {
    background: none;
}

.search-form {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    /* identical to box height */
    margin: 50px 0 37px;
    color: #233550;
}

.search-form__filter-image-blcok {
    display: flex;
}

.search-form__filter-image {
    margin: auto 8px;
    object-fit: contain;
}

.search-form__filter-lable {
    display: flex;
    flex: auto 0 0;
}

.search-form__filter-text {
    padding: 11px 0 14px 10px;
}

.search-form__row-select {
    display: flex;
    margin-top: 27px;
    gap: 20px;
    justify-content: space-between;
}

.search-form__search-block {
    position: relative;
}

.search-form__search-block::before {
    content: '';
    position: absolute;
    transform: translateY(-50%);
    background: center url(../../img/search-icon.png) no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
    left: 21px;
    top: 50%;
    width: 18px;
    height: 18px;
}

.search-form__search-input {
    position: relative;
    width: 100%;
    border: 1px solid #B1BBCA;
    padding: 11px 15px 11px 56px;
    font-size: 18px;
    line-height: 25px;
    border-radius: 7px;
    background: #FFFFFF;
}

/* Chrome, Edge, Opera */
.search-form__search-input::-webkit-input-placeholder {
    color: #D2D5DA; /* Замените на нужный цвет */
}
/* Firefox 19+ */
.search-form__search-input::-moz-placeholder {
    color: #D2D5DA; /* Замените на нужный цвет */
    opacity: 1;
}
/* IE 10-11 */
.search-form__search-input:-ms-input-placeholder {
    color: #D2D5DA; /* Замените на нужный цвет */
}
/* Edge */
.search-form__search-input::-ms-input-placeholder {
    color: #D2D5DA; /* Замените на нужный цвет */
}
/* Firefox 4-18 */
.search-form__search-input:-moz-placeholder {
    color: #D2D5DA; /* Замените на нужный цвет */
    opacity: 1;
}

.search-form__selector {
    position: relative;
    background: #FFF;
    box-shadow: 0px 0px 4.37676px rgba(0, 0, 0, 0.2);
    padding: 11px 15px 14px;
    cursor: pointer;
    flex: auto 1 0;
    border-radius: 7px;
    max-width: 250px;
}

.search-form__selector-text {
    position: relative;
    margin: 0 auto;
    padding-right: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 25px;
}

.search-form__selector-text--date{
    padding-left: 0px;
}

.search-form__selector-text::after {
    content: '';
    position: absolute;
    height: 7.66px;
    width: 15.32px;
    right: 0;
    top: 45%;
    background: center url(../../img/grey-arrow-down.svg) no-repeat;
    background-size: contain;
}

.search-form__selector--start-date::after{
    content: '–';
    position: absolute;
    top:12px;
    right:-14px;
}

.search-form__selector--genre {
    flex-grow: 2;
}

.search-form__selector--location {
    flex-grow: 3;
}

.search-form__selector-list {
    position: absolute;
    left: 0;
    top: 100%;
    /*width: 100%;*/
    visibility: hidden;
    background: #FFF;
    box-shadow: 0px 0px 4.37676px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    margin-top: 10px;
    text-align: left;
    border-radius: 7px;
    z-index: 10;
}

.search-form__selector-option+.search-form__selector-option {
    border-top: 1px solid #E7ECF3;
}

.search-form__selector-option {
    padding: 17px 25px 15px;
}

.search-form__selector-option:first-of-type {
    padding-top: 23px;
}

.search-form__selector-option[show-all] {
    font-weight: 600;
    background: #f7f7f7;
}

.search-form__selector-option:hover {
    background: #E7ECF3;
}

.search-form__selector-text--date {
    /*padding-left: 40px;*/
}

.search-form__selector-text--date::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
    height: 23px;
    background: center/contain url(../../img/calendar-icon.svg) no-repeat;
}

.search-form__selector-list--date {
    /*width: 350px;*/
    max-width: 90vw;
    right: 0;
    left: auto;
    cursor: auto;
}

.search-form__reset {
    display: flex;
    align-items: center;
}

.search-form__reset-inner {
    color: var(--base-color);
    cursor: pointer;

}

.show-first-day:before,
.show-after-day:before {
    content: '';
    position: absolute;
    background: #c9e4ff;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    margin-left: -25px;
    margin-top: 6px;
}

/* .show-after-day:after {
    content: '';
    position: absolute;
    background: #c9e4ff;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    margin-left: 10px;
    margin-top: 6px;
} */

.search-form__selector--location .scroll,.search-form__selector--liga .scroll
{
    overflow-y: auto;
    max-height: 320px;
}

.search-form__reset-inner.disabled
{
    color: #ccc;
    cursor: default;
}

@media screen and (min-width:992px) {
    .event-cards__elem {
        max-width: calc((100% / 3) - var(--margin-events) * 2 / 3);
    }
}

.show {
    display: block;
    visibility: visible;
}

@media screen and (max-width:1200px) {
    .event-cards__elem .event-cards__team-logos
    {
        color: white;
        margin-top: 25% !important;
    }
}

@media screen and (max-width:768px) {

    .search-form__selector--start-date::after{
        content: '';
    }

    .event-cards__elem {
        height: auto;
    }

    .event-cards__address {
        margin-bottom: 25px;
    }

    .event__elem--show-more {
        background: none;
    }

    .search-form__row-select {
        flex-direction: column;
    }

    .search-form__selector{
        max-width: unset;
    }

    .search-form__filter-lable {
        margin: 0 auto;
    }

    .search-form__selector-list {
        position: static;
        text-align: center;
    }

    .search-form__selector-list--date {
        width: 100%;
        max-width: auto;
    }
    .event-cards__price.btn-primary span{
        font-size: 20px;
    }
    .event-cards__date{
        max-width: 55%;
    }
    .event-cards__elem .event-cards__team-logos
    {
        color: white;
        margin-top: 15% !important;
    }
}
@media screen and (max-width:375px) {
    .event-cards__price.btn-primary{
        right: 12px;
    }
    .event-cards__price.btn-primary span{
        font-size: 20px;
    }
    .event-cards__date{
        left: 12px;
        font-size: 16px;
    }
}
.search-form__selector .ui-widget.ui-widget-content{
    border: none;
    max-width: 100%;
}
.search-form__selector .ui-widget-header {
    border: none;
    background: transparent;
    color: #6A7584;
    font-weight: 400;

}
.search-form__selector .ui-widget-content {
    border: navajowhite;
    background: #ffffff;
    color: #6A7584;
}

.search-form__selector .ui-state-default,
.search-form__selector .ui-widget-content .ui-state-default{
    border: none;
    background: none;
    text-align: center;
    color: #6A7584;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50%;

}

.search-form__selector .calendar_first .ui-state-active,.search-form__selector .ui-widget-content .calendar_first .ui-state-active
{
    background: none;
    color: #6A7584;
}
.search-form__selector .calendar_hasdate .ui-state-default,
.search-form__selector .calendar_first.calendar_hasdate .ui-state-default
{
    background: #c9e4ff;
}
.search-form__selector .ui-state-disabled.calendar_hasdate .ui-state-default
{
    background: none;
}
.search-form__selector .ui-state-highlight,
.search-form__selector  .ui-widget-content .ui-state-highlight
{
    border-radius: 50%;
    background: #c9e4ff;
    color: #444444;
    font-weight: bold;
}

.search-form__selector .ui-state-active,.search-form__selector .ui-widget-content .ui-state-active
{
    border-radius: 50%;
    background: var(--base-color);
    color: #ffffff;
}

.days-of-active
{
    font-size: 14px;
    width: 100%;
    text-align: center;
    margin-top: -5px;
    padding-bottom: 10px;
    color: #ccc;
}

.search-form__selector-option.selected
{
    background: #C1C1C1;
}

.no-events
{
    width: 100%;
    max-width: 500px;
    margin: 40px auto 75px;
    text-align: center;
    display: none;
}

.no-events .heading
{
    font-size: 20px;
    font-weight: bold;
    font-family: "Raleway";

}

.no-events .btn
{
    max-width: 260px;
}

.no-events .icon.icon-arrow-right {
    background: #fff;
    -webkit-mask: url(../../img/arrow-right.svg) no-repeat 50% 50%;
    mask: url(../../img/arrow-right.svg) no-repeat 50% 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
}

.no-events .text
{
    font-size: 14px;
    color: #8b8b8b;
    padding-bottom: 10px;
}

.no-events.show
{
    display: block;
}
.blue-slider-d-none{
    display: none;
}
.btn--my-orange .next {
    display: none;
}
.event-cards__elem .event-cards__team-logos
{
    color: white;
    margin-top: 15%;
}
.event-cards__elem .event-cards__team-logos .event-cards__logo
{
    height: 50%;
}
.event-cards__elem .event-cards__team-logos .lcenter
{
    font-size: 50px;
    color: white;
}