﻿
.events-container {
    width: 1504px;
    margin: auto;
    display: block;
}

.evets-title {
    margin: 160px 0 100px 0;
    text-align: center;
}

    .evets-title > h1 {
        font-weight: bold;
        font-size: 64px;
        color: #343434;
    }

.event-container {
}

    .event-container > div {
        display: inline-block;
        vertical-align: top;
    }

    .event-container .events {
        width: calc(100% - 360px);
        padding-left: 60px;
    }

    .event-container .map-container {
        display: block;
        margin-bottom: 50px;
    }

        .event-container .map-container > h2 {
            font-size: 32px;
            font-weight: bold;
            text-align: right;
            margin-bottom: 50px;
        }

.filter-box {
    width: 294px;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
}

    .filter-box .line {
        display: block;
        width: 100%;
        height: 1px;
        background: #E7E7E7;
    }

    .filter-box .filter-box-title {
        position: relative;
        display: block;
        padding: 10px 0 10px 8px;
        font-size: 16px;
        color: #1A1A1A;
        font-weight: bold;
        border-bottom: 1px solid #E7E7E7;
    }

    .filter-box .filter-box-warrepper {
        width: calc(100% - 32px);
        margin: 17px auto;
    }


.filter-box-warrepper .filter-item .title {
    font-size: 14px;
    font-weight: bold;
    color: #1A1A1A;
    margin-bottom: 35px;
}

.filter-box-warrepper .filter-item .price-filter {
    margin-top: 35px;
    height: 70px;
    margin-bottom: 35px;
    background: url(/images/events/price-background.svg) no-repeat center center;
}

    .filter-box-warrepper .filter-item .price-filter .price-range {
        padding-top: 53px;
        position:relative;
    }

.filter-box-warrepper .filter-item .date-filter .date-range {
    margin-top: 15px;
}

.filter-box-warrepper .filter-item .country-filter .country-range {
    margin-top: 15px;
}

.filter-box-warrepper .filter-item .category-filter .category-range {
    margin-top: 15px;
}

    .filter-box-warrepper .filter-item .category-filter .category-range .category-item img {
        max-width: 25px;
        max-height: 25px;
        display: inline-block;
        vertical-align: top;
    }

    .filter-box-warrepper .filter-item .category-filter .category-range .category-item div {
        display: inline-block;
        vertical-align: top;
    }


.events {
    position: relative;
}

    .events .event-item {
        position: relative;
        display: block;
        border-top: 1px solid #E7E7E7;
        padding: 25px 0;
    }

        .events .event-item > div {
            display: inline-block;
            vertical-align: top;
        }

        .events .event-item .event-logo {
            position: relative;
            width: 200px;
            height: 125px;
            margin-left: 20px;
        }

            .events .event-item .event-logo img {
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                margin: auto;
                max-width: 100%;
                max-height: 100%;
            }

        .events .event-item .event-info {
            padding-left: 20px;
        }

            .events .event-item .event-info .event-title {
                font-size: 18px;
                font-weight: bold;
                color: #343434;
            }

            .events .event-item .event-info ul {
                margin: 22px 0 0 0;
                color: #343434;
            }

                .events .event-item .event-info ul li {
                    margin-bottom: 5px;
                    line-height: 16px;
                    white-space: nowrap;
                }

                .events .event-item .event-info ul .event-date::before {
                    display: inline-block;
                    vertical-align: top;
                    content: '';
                    width: 16px;
                    height: 16px;
                    background: url(/images/events/date-icon.svg) no-repeat center center;
                    margin-right: 10px;
                }

                .events .event-item .event-info ul .event-address::before {
                    display: inline-block;
                    vertical-align: top;
                    content: '';
                    width: 16px;
                    height: 16px;
                    margin-right: 10px;
                    background: url(/images/events/address-icon.svg) no-repeat center center;
                }

        .events .event-item .event-price-info {
            margin-top: 20px;
        }

            .events .event-item .event-price-info ul > li {
                display: inline-block;
                vertical-align: top;
                color: #0F2554;
                font-size: 18px;
                font-weight: bold;
                line-height: 24px;
            }

                .events .event-item .event-price-info ul > li:first-child {
                    margin-right: 30px;
                }

                .events .event-item .event-price-info ul > li::before {
                    display: inline-block;
                    vertical-align: top;
                    content: '';
                    width: 24px;
                    height: 24px;
                    margin-right: 8px;
                }

            .events .event-item .event-price-info ul > .event-price::before {
                background: url(/images/events/price-icon.svg) no-repeat center center;
            }

            .events .event-item .event-price-info ul > .event-quota::before {
                background: url(/images/events/quota-icon.svg) no-repeat center center;
            }

        .events .event-item .directions {
            float: right;
            position: absolute;
            right: 10px;
            top: 25px;
            text-align: center;
            width: 53px;
            text-align: center
        }

            .events .event-item .directions img {
                margin: auto;
            }

            .events .event-item .directions span {
                margin-top: 12px;
                font-size: 14px;
                color: #0F2554 !important;
                display: block;
            }

            .events .event-item .directions .dx-datagrid-search-text {
                background: transparent;
                display: inline-block;
            }


.map-container {
    margin-top: 25px;
    border-radius: 25px;
}

    .map-container #map {
        border-radius: 40px;
    }

.marker-item {
    pointer-events: auto;
}

    .marker-item .marker {
        font-size: 0px;
    }

        .marker-item .marker .marker-icon {
            display: block;
            margin: auto;
            width: 64px;
        }

            .marker-item .marker .marker-icon .active {
                display: none;
            }

.active-marker .marker-content {
    display: block !important;
}

.active-marker .marker-icon .default {
    display: none;
}

.active-marker .marker-icon .active {
    display: block !important;
}

.marker-item .marker .marker-content {
    display: none;
    width: 410px;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

    .marker-item .marker .marker-content > div {
        display: inline-block;
        vertical-align: top;
    }

    .marker-item .marker .marker-content .logo {
        width: 120px;
        height: 75px;
        position: relative;
    }

        .marker-item .marker .marker-content .logo img {
            max-width: 100%;
            max-height: 100%;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;
        }

    .marker-item .marker .marker-content .detail {
        width: calc(100% - 130px);
        padding-left: 10px;
    }

        .marker-item .marker .marker-content .detail .title {
            display: block;
            font-size: 14px;
            font-weight: bold;
        }

        .marker-item .marker .marker-content .detail .date {
            display: block;
            font-size: 12px;
            margin-top: 10px;
        }

            .marker-item .marker .marker-content .detail .date::before {
                display: inline-block;
                vertical-align: top;
                content: '';
                width: 16px;
                height: 16px;
                background: url(/images/events/date-icon.svg) no-repeat center center;
                margin-right: 5px;
            }

        .marker-item .marker .marker-content .detail .address {
            display: block;
            font-size: 12px;
            margin-top: 10px;
            margin-bottom: 10px;
        }

            .marker-item .marker .marker-content .detail .address::before {
                display: inline-block;
                vertical-align: top;
                content: '';
                width: 16px;
                height: 16px;
                margin-right: 5px;
                background: url(/images/events/address-icon.svg) no-repeat center center;
            }

        .marker-item .marker .marker-content .detail .price {
            display: inline-block;
            vertical-align: top;
            font-size: 12px;
        }

            .marker-item .marker .marker-content .detail .price::before {
                display: inline-block;
                vertical-align: top;
                content: '';
                width: 14px;
                height: 14px;
                margin-right: 8px;
                background: url(/images/events/marker-price-icon.svg) no-repeat center center;
            }

        .marker-item .marker .marker-content .detail .quota {
            display: inline-block;
            vertical-align: top;
            font-size: 12px;
            margin-left: 15px;
        }

            .marker-item .marker .marker-content .detail .quota::before {
                display: inline-block;
                vertical-align: top;
                content: '';
                width: 14px;
                height: 14px;
                margin-right: 8px;
                background: url(/images/events/marker-user-icon.svg) no-repeat center center;
            }

    .marker-item .marker .marker-content .booking {
        display: block;
        width: 100%;
        margin-top: 15px;
    }

        .marker-item .marker .marker-content .booking a {
            color: #0F2554;
            font-size: 14px;
            font-weight: bold;
            text-decoration: none;
            cursor: pointer;
            text-align: center;
            background: #F7F7F7;
            display: block;
            padding: 7px 0;
            border-radius: 12px;
            border: 1px solid #e3dfdf;
            position:relative;
            z-index:999999;
        }







.dx-list-select-all-label {
    padding: 0 10px;
}

.dx-list-item-before-bag.dx-list-select-checkbox-container {
    width: 30px;
}

.dx-calendar {
    border: none;
    background: #fff;
}

.dx-calendar-body {
    background: #fff;
}

.dx-calendar-navigator {
    background: #fff;
}

.dx-button-content {
    background: #fff;
}

.dx-datagrid > .dx-datagrid-rowsview {
    background: #fff;
}

.dx-datagrid-borders > .dx-datagrid-rowsview {
    border: none !important;
}

.dx-datagrid-rowsview .dx-row {
    border: none;
}

.events .event-item .event-info a {
    display: inline-block;
    width: 100%;
}

.filter-btn {
    display: none;
    position: absolute;
    z-index: 999999;
    top: 10px;
}

    .filter-btn .dx-button-text {
        text-transform: none;
    }

.filter-box .close-button {
    display: none;
    position: absolute;
    top: 5px;
    right: 10px;
}

    .filter-box .close-button .dx-button {
        height: 28px;
    }

    .filter-box .close-button .dx-button-has-text .dx-button-content .dx-button-text {
        text-transform: none;
    }

.filter-box.open {
    display: block !important;
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.2);
    border: none;
    border-radius: 0;
}

    .filter-box.open .filter-box-title {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        position: fixed;
        width: 60%;
        background: #fff;
        z-index: 99999999999;
        top: 10%;
    }

    .filter-box.open .filter-content {
        width: 60%;
        background: #fff;
        margin: 10vh auto auto auto;
        border: 1px solid #E7E7E7;
        border-radius: 8px;
        height: 80vh;
        overflow: scroll;
        padding-top: 40px;
    }

        .filter-box.open .filter-content::-webkit-scrollbar-thumb {
            background-color: #343434;
            border: 4px solid transparent;
            border-radius: 8px;
            background-clip: padding-box;
        }

        .filter-box.open .filter-content::-webkit-scrollbar {
            width: 16px;
        }

    .filter-box.open .close-button {
        display: block !important;
    }
#eventGrid .event-row {
    width: 100%;
}
    #eventGrid .event-row > .grid-cell {
        width: 100%;
    }
    @media screen and (max-width:1600px) {
        .events-container {
        width: 90%;
    }
}

@media screen and (max-width:1490px) {
    .events-container {
        width: 90%;
    }

    .event-container .events {
        padding-left: 10px;
        width: calc(100% - 310px);
    }

    .events .event-item .event-info {
        width: calc(100% - 220px);
    }

        .events .event-item .event-info ul {
            width: 80%;
        }

            .events .event-item .event-info ul li {
                white-space: normal;
            }
}

@media screen and (max-width:1250px) {
    .evets-title {
        margin: 60px 0 40px 0;
        text-align: center;
    }

    .events-container {
        width: 95%;
    }

    .evets-title > h1 {
        font-size: 38px;
    }

    .event-container .map-container > h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width:1024px) {
    .map-container #map {
        height: 500px !important;
    }

    .event-container > div {
        display: block;
    }

    .filter-box {
        display: none !important;
    }
    
    .filter-btn {
        display: block;
    }

    .event-container .events {
        width: 100%;
        padding-left:0;
    }

   
}

@media screen and (max-width:680px) {
    .events .event-item .event-logo {
        display: block;
        margin: auto;
    }

    .events .event-item .event-info {
        width: 100%;
        text-align: center;
    }

        .events .event-item .event-info ul {
            width: 100%;
        }

    .filter-box.open .filter-content {
        width: 80%;
    }
    .filter-box.open .filter-box-title{
        width:80%;
    }
    .evets-title{
        margin:40px 0 20px 0;
    }
    .evets-title > h1 {
        font-size: 28px;
    }
    .event-container .map-container > h2 {
        font-size: 19px;
        margin-bottom: 15px;
    }
    .marker-item .marker .marker-content {
        width: 290px;
    }

        .marker-item .marker .marker-content .logo {
            display: block;
            margin: auto;
        }

        .marker-item .marker .marker-content .detail {
            width: calc(100% - 10px);
        }
    .marker-item .marker .marker-icon{
        width:50px;
    }
    .marker-item .marker .marker-icon img{
        max-width:100%;
    }
    .map-container #map{
        border-radius:15px;
    }
}

@media screen and (max-width:480px) {
    .events .event-item .directions{
        position:initial;
        float:initial;
        margin:10px auto auto auto;
    }
}
