


#festivals-form .main-sidebar {
    padding-top: 0;

}
#festivals-form .main-container {
    position:relative;
}

.festivals-pagination {
    justify-content: flex-end;
    margin-top: 2rem;
}
.festivals-pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
}
.festivals-pagination .page-link {
    color: #1d70b7;
}
.festivals-pagination .page-link:hover {
    color: #1d70b7;
}

.festivals-header {
    margin-bottom: 1.5rem;
    background: #F0F2F3;
    padding: 15px;
    display: flex;
    align-items:center;

    background: #fff;
    padding: 0 0 10px 0;


    border-bottom: 1px solid #999;

}
.num-results-title {
    font-weight: bold;
    margin-bottom: 0;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif
}
.festivals-header .results-sorting {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.festivals-header .results-sorting label {
    margin-right: 10px;
    margin-bottom: 0;
    white-space: nowrap;
}

.results-sorting .select2-container--bootstrap4 .select2-selection {
    border-radius: 0;
}




.festivals-grid {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
}
.festivals-grid:after {
    clear: both;
    display: table;
    content: '';
}


.festival {
    display: block;
    width: 33.3333%;
    padding: 0 15px;
    margin-bottom: 35px;
}

.festival .festival-image {
    display: block;
    padding-top: 75%;
    position: relative;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.festival .festival-image .edition {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
    display: inline-block;
    text-transform: none;
}


.festival .festival-image img {
    position:absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.festival .festival-details {
    width: 100%;
    padding-left: 0;
    padding-top: 10px;
}

.festival .festival-name {
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
}

.festival .festival-attributes {
    display: block;
}
.festival .festival-location,
.festival .festival-date {
    position: relative;
    line-height: 20px;
    font-weight: bold;
    display: block;
    align-items:center;
    text-transform: none;
    font-size: 1rem;
    padding: 0 0 0 24px;
}

.festival .festival-location > i,
.festival .festival-date > i {
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    margin-right: 8px;
    text-align: center;
    display:block;
}

.festival .festival-date {
    margin-top: 5px;
}
.festival .festival-date .more-dates-info {
    font-weight: normal;
    color: #1d70b7;
    cursor: pointer;
}
.more-dates-tooltip {
    font-size: 12px;
    display: block;
}







.distance-row [class*="col-"] {
    padding-left: 2px;
    padding-right: 2px;
}
.distance-row {
    margin-left: -2px;
    margin-right: -2px;
}





.filters-content {
    background: #F0F2F3;
    padding: 25px;
    position: relative;
}

.filters-header-mobile {
    font-size: 1rem;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    background: #F0F2F3;
    padding: 8px 15px;
    border: 1px solid #ddd;
    cursor: pointer;

    display:none;
}
.filters-header-mobile  i {
    margin-right: 8px;
}


@media (max-width: 992px) {
    .filters-header-mobile {
        display: block;
    }
    .filters {
        margin-bottom: 20px;
    }
    .filters-content {
        padding: 25px 15px;
        display: none;
        border: 1px solid #ddd;
    }

    .filters.active .filters-content {
        display: block;
    }
    .filters.active .filters-header-mobile i:before {
        content: "\f056";
    }
}



.festivals-wrap {
    position: relative;
}


form.loading .filters:after,
form.loading .festivals-wrap:after {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content:'';
    background: rgba(255,255,255,0.5);
}

form.loading .festivals-wrap:after {
    background: url(../img/loader.svg) no-repeat center 100px rgba(255,255,255,0.9);
    background-size: 80px 80px;
}



.filter-block .custom-checkbox + .custom-checkbox {
    margin-top: .25rem;
}

.filter-block label:hover {
    color: #1d70b7;
    cursor: pointer;
}

.filter-block {
    margin-bottom: 30px;
}
.filter-block .show-more-less-btn {
    font-family: 'klavikaregular', Helvetica, Arial, sans-serif;
    padding: 4px 0 0 0;
}
.filter-block .show-more-less-btn i {
    margin-right: 5px;
    font-size: 14px;
}

.filter-block .show-more-less-btn i:before {
    content: "\f077"
}

.filter-block.filter-collapsed .show-more-less-btn i:before {
    content: "\f078";
}

.filter-block .form-control {
    border-radius: 0;
    color: #000;
}
.filter-block .form-control:focus {
    box-shadow: none;
}

.filter-block .input-group .btn {
    border: 1px solid #ced4da;
    border-radius: 0;
}
.filter-block .input-group .btn i {
    position: relative;
    top: 1px;
}

.filter-block.filter-collapsed .custom-checkbox:nth-child(n+6) {
    display: none;
}

.filter-block-title {
    border-bottom: 1px solid #000;
    font-size: 14px;
    font-size: .875rem;
    padding-bottom: 8px;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.custom-control-label {
    color: #000;
}
.custom-control-label::before {
    background: transparent;
    border: 1px solid #000;
}
.filter-block .select2-container--bootstrap4 .select2-selection {
    background: #fff;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {

}
.custom-checkbox .custom-control-label::before {
    border-radius: 0;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before,
.custom-control-input:checked~.custom-control-label::before {
    background-color: #000;
    border-color: #000;
}



.full-width-hero .festival-header h1 {
    font-size: 3rem;
    line-height: 1.5;
    margin-bottom: 0;
    margin-left: 0;
    text-shadow: none;
    color: #293133;
    background: #ffff;

    display: inline;
    background: rgba(255,255,255,1);
    box-shadow: 10px 0 0 rgba(255,255,255,1), -10px 0 0 rgba(255,255,255,1);

    padding: 0 5px 2px 5px;

    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
}


.festival-header {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 25px 200px 40px 10px;

}
.go-back-btn {
    position: absolute;
    top: 115px;
    z-index: 5;
    background: rgba(255,255,255,0.8);
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
}
.go-back-btn i {
    margin-right: 5px;
}

.festival-header .edition {
    margin-top: 10px;
    text-transform: none;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
    margin-left: -10px;
}

.festival-genres {
    padding-bottom: 5px;
    padding-top: 5px;
}
.festival-genres > a {
    text-transform: none;
    margin-bottom: 7px;
    margin-top: 7px;
    border-radius: 0;
}

.festival-container {
    width: 100%;
    display: flex;
}

.festival-content {
    font-size: 18px;
    padding: 5px 60px 5px 0;
    width: calc(100% - 300px);
}

.festival-sidebar {
    width: 300px;
    padding: 20px 0;
}

.festival-sidebar .ad-sidebar {
    margin-top: 25px;

}
.festival-content .website-btn {
    max-width: 220px;
    margin-top: 7px;
}

.festival-images {
    margin: 30px 0;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    column-gap: 8px;
}
.festival-images a img {
    margin: 4px 0;
    width: 100%;
}

.festival-sidebar .festival-logo {
    width: 200px;
    margin: 0 auto;
    flex-shrink: 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content:center;
}
.festival-sidebar .festival-logo img {
    max-height: 100%;
}

.full-width-hero-festival {
    padding-bottom: 0;
    border-bottom: 5px solid var(--color-primary);

}
.full-width-hero-festival:after {
    background: rgba(0,0,0,0.1);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content: '';
}

.festival-hero-slider {
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;

    white-space: nowrap;
    overflow: hidden;
}
.festival-hero {
    display: inline-block;
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
@media (max-width: 1199px) {
    .festival-hero {
        height: 400px;
    }
}
@media (max-width: 767px) {
    .festival-hero {
        height: 340px;
    }
}


.festival-hero .festival-hero-credits {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 115px;
    justify-content: flex-end;

    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
    color: #fff;
    padding-bottom: 15px;
    font-size: 14px;

    text-shadow: 1px 1px 3px rgba(0,0,0,.25);
}




.dots-container .slick-dots {
    z-index: 6;
    position: absolute;
    bottom: 0;
    list-style: none;
    margin: 0;
    padding:0;
    width: 100%;
    text-align: right;
    padding-bottom:10px;
    right: 0;

}
.dots-container .slick-dots > li {
    padding: 0;
    display: inline-block;
    margin: 0 3px;
}
.dots-container .slick-dots > li button {
    box-shadow: none;
    border: 0;
    padding: 0;
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.5);
    color: #fff;
    text-indent: -9999px;
    border-radius: 50%;
    cursor: pointer;
}
.dots-container .slick-dots > li.slick-active button {
    background: rgba(255,255,255,0.9);
}

.field {
    margin: 0;
    padding-bottom: 7px;
    padding-top: 7px;
}

.field + .field {
    border-top: 1px solid #eee;
}

.field > [class*="col-"]:first-child {
    color: #555;
}
.field > [class*="col-"]:last-child {
    padding-left: 20px;
}




.festival-info-section {
    display: flex;
    align-items: flex-start;
    margin-top: 35px;
}
.festival-info-section .info-icon {
    font-size:1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    margin-right: 17px;
}
.festival-info-section .info-icon i {
    display: block;
    margin-top: 1px;
}
.festival-info-section .info-content {
    width: calc(100% - 45px);
}
.fesival-info-section .info-content h4 {
    margin-bottom: 5px;

}


.related-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.related-news-list .related-news-link {
    color: #293133;
    text-decoration: none;
}
.related-news-list li .related-news-time {
    color: #666;
    margin-top: 2px;
}
.related-news-list li + li {
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}
.related-news-list li .related-news-title {
    font-size: 16px;
    margin-bottom: 0;
    font-family: 'klavikaregular', Helvetica, Arial, sans-serif;
}
.related-news-list .related-news-link:hover .related-news-title {
    color: #1d70b7;
}


.festivals-nav-wrap {
    width: 100%;
    display: flex;
    padding: 40px 0;
    background: #F0F2F3;
    margin-bottom: -60px;
    margin-top: 60px;
}
.festivals-nav a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.festivals-nav a .text-muted {
    text-decoration: none;
}

.festivals-nav .nav-icon {
    width: 64px;
    height: 64px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}
.festivals-nav strong {
    display: inline-flex;
    align-items: center;
}
.festivals-nav .prev .nav-icon {
    margin-right: 15px;
}
.festivals-nav i {
    font-size: 36px;
    color: #999;
}

.festivals-nav .prev i {
    margin-right: 15px;
}
.festivals-nav .next .nav-icon {
    margin-left: 15px;
}
.festivals-nav .next i {
    margin-left: 15px;
}

.featured-festivals-content {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px;
}
.featured-festivals-space {
    height: 0;
    padding-top: 28.13%;
    width: 100%;
    display:block;
    margin-top: 20px;
}
.featured-festivals-slider {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}
.featured-festivals-slider .slick-slide {
    outline: 0 !important;
    box-shadow: none !important;
}
.featured-festivals-slider > div {
    display: inline-block;
    width: 100%;
}


.featured-festivals-slider .slick-dots {
    z-index: 6;
    position: absolute;
    right: 15px;
    bottom: 10px;
    list-style: none;
    margin: 0;
    padding:0;
    text-align: right;
}
.featured-festivals-slider .slick-dots > li {
    padding: 0;
    display: inline-block;
    margin: 0 3px;
}
.featured-festivals-slider .slick-dots > li button {
    box-shadow: none;
    border: 0;
    padding: 0;
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.75);
    color: #fff;
    text-indent: -9999px;
    border-radius: 50%;
    cursor: pointer;
}
.featured-festivals-slider .slick-dots > li.slick-active button {
    background: rgba(255,255,255,1);
}
.featured-festival {
    display:block;
    position: relative;
    height: 0;
    padding-top: 28.13%;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;


    text-decoration: none !important;
    outline: 0 !important;
    overflow: hidden;
}
.featured-festival .featured-festival-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right:0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.featured-festival .badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.featured-festival .festival-name {
    font-size: 1.5rem;
    line-height: 1.75em;
    margin-bottom: 0;
    margin-left: 0;
    text-shadow: none;
    color: #293133;
    background: #ffff;
    display: inline;
    box-shadow: 10px 0 0 #fff, -10px 0 0 #fff;
    padding: 3px 0 5px 5px;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
}

.featured-festival .festival-date {
    font-size: 1rem;
    line-height: 1.5;
    padding: 3px 6px 3px 5px;
    background: #fff;
    color: #293133;
    margin-top: 4px;
    font-family: 'klavikamedium', Helvetica, Arial, sans-serif;
}


.festivals-list-ad {
    display: block;
    width: 100%;
    padding: 0 15px;
    text-align: center;
}
.festivals-list-ad iframe {
    margin-bottom: 30px;
}
.festivals-list-ad img {
    margin-bottom: 35px;
}

@media (max-width: 1199px) {
    .festivals-grid {
        margin-left: -10px;
        margin-right: -10px;
    }
    .festival {
        padding-left: 10px;
        padding-right: 10px;
    }
    #festivals-form .main-sidebar {
        margin-top:0;

    }

    .festival .festival-location,
    .festival .festival-date {
        padding-left: 20px;
        line-height: 18px;
    }

    .festival .festival-location > i,
    .festival .festival-date > i {
        width: 14px;
        top: 1px;
    }

    .festival-content {
        font-size: 16px;
    }
    .festival-info-section .info-icon {
        margin-right: 12px;
    }



}

@media (max-width: 991px) {
    .festival-header {
        padding-right: 0;
    }
    .festival-content {
        width: calc(100% - 220px);
        padding-right: 40px;
    }
    .festival-sidebar {
        width: 220px;
    }

    .featured-festivals-space {
        display: none;
    }
    .featured-festivals-content {
        position: static;
        padding: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {



    .festivals-nav .nav-icon{
        display: none;
    }
    .festival-info-section .info-icon {
        margin-right: 8px;
    }
    .festival-container {
        display: block;
    }
    .festival-content {
        width: 100%;
        padding-right: 0;
    }
    .festival-sidebar {
        width: 100%;
    }
    .field > [class*="col-"]:last-child{
        padding-left: 0;
    }

    .festivals-grid {
        margin-left: -5px;
        margin-right: -5px;
    }

    .festivals-header {
        display: block;
    }
    .festivals-header .results-sorting {
        margin-top: 10px;
    }

    .festival {
        width: 50%;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 25px;
    }
    .festival .festival-name {
        font-size: 16px;
    }
    .festivals-list-ad {
        padding-left: 5px;
        padding-right: 5px;
    }
    .festivals-list-ad img {
        margin-bottom: 25px;
    }


    .featured-festival .festival-name {
        font-size: 14px;
    }
    .featured-festival .festival-date {
        font-size: 12px;
    }




    .festivals-pagination {
        justify-content: center;
    }
    .festivals-pagination .page-item {
        display: none;
    }
    .festivals-pagination .page-item:first-child,
    .festivals-pagination .page-item:last-child {
        display: block;
    }


}



.advertisers-slider .slick-list {
    margin: 0 -5px;
}
.advertisers-slider .slick-slide {
    padding: 0 5px;
    height: auto;
    float: none;
    margin-top: 30px;
}
.advertisers-slider .slick-track {
    display: flex;
}

@media (min-width: 768px) {

    .advertisers-slider .slick-list {
        margin: 0 -15px;
    }
    .advertisers-slider .slick-slide {
        padding: 0 15px;
    }
}