/*
 * This should be the blueprint for future implementations without generic styling like body etc..
*/


/** Events Styling **/
.highlights-container {
    margin-top: 70px;
}
.highlights-col {
    display: none;
}

.highlights-container .col-md-4 img {
    background: #ccc;
    height: 200px;
    display: block;
}
.highlights-container h2{
    font-size: 16px;
    letter-spacing: 0;
    font-family: Helvetica,Arial,sans-serif;
    font-weight: 600 !important;
    margin-bottom: 30px;
    text-align: center;
}
.highlights-container img {
    margin-bottom: 20px;
}
.highlights-container  .read-more-btn {
    color: rgb(25,78,150);
}


#CbEventSearch-form, #CbEventSearch-result-container {
    width: 100%;
    margin: 0 auto;  
}
#CbEventSearch-result-container{
    min-height: 60vh;
    max-width: 1050px;
    margin: 0 auto;
}
#CbEventSearch-result-container .noResultsBlock h2 {
    font-size: 16px;
    letter-spacing: 0;
    font-family: Helvetica,Arial,sans-serif;
    font-weight: 600 !important;
}
#CbEventSearch-result-container .noResultsBlock{
    text-align: center;
    padding-top:15vh;
}
#CbEventSearch-result-container .noResultsBlock a:nth-child(3) {
    margin-right: 0;
}
#CbEventSearch-result-container .noResultsBlock a{
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 15px 25px;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 9px 0px #ccc;
    margin-top: 30px;
    letter-spacing: 0;
    background: #f9f9f9;
    font-family: Helvetica,Arial,sans-serif;
    font-weight: 600;
    font-size: 15px;
}
#CbEventSearch-result-container .noResultsBlock-container {
    display: flex;
    justify-content: center;
}
#CbEventSearch-form{
    color: #6d6d6d;
    letter-spacing: 0;
}
#CbEventSearch-form svg{
    fill: #6d6d6d;
}
#CbEventSearch-form svg #arrow {
    fill: #6d6d6d !important;
}
#emptyResultsToInsert{
    display: none;
}
/** NEW **/



.pika-single {
    z-index: auto;
}

/* datepicker */

.datepick a {
    text-decoration: none;
}

.datepick td {
    text-align: center;
    transition: all 0.3s ease;
}
.datepick td:hover a:not(.datepick-selected){
    background-color: #f1f1f1;
}

.datepick {
    width: 100% !important;
}

.datepick-popup {
    z-index: 1338;
    background-color: #fff;
    padding: 10px;
    width: 308px;
    border: 1px solid #ccc;
}

.datepick-popup table {
    width: 100%;
}

.datepick-nav {
    position: relative;
    margin-bottom: 10px;
}

.datepick-cmd-today {
    text-align: center;
    display: none;
}

.datepick-cmd-prev {
    position: absolute;
    top: 0;
    left: 0;
    text-indent: -99999px;
}

.datepick-cmd-next {
    position: absolute;
    top: 0;
    right: 0;
    text-indent: -999999px;
}
.datepick-cmd-next::after, .datepick-cmd-prev::after{
    content: url('../images/img_accordeon-close.png');
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
    text-indent: -15px;
}
.datepick-cmd-next::after{

}
.datepick-cmd-prev::after{
    text-indent: -30px;
    top: 9px;
    transform: rotateZ(180deg);
}
.datepick-month-year{
    pointer-events: none;
}
.datepick-month-header select {
    border-radius: 0;
}

.datepick-ctrl {
    margin-top: 10px;
    position: relative;
}

.datepick-cmd-clear {
    float: left;
    display: none;
}

.datepick-cmd-close {
    float: right;
    display: none;
}

.city-region-search-container {
    display: flex;
    width: 100%;
    position:relative;
}
.geo-city-change {
    font-size:large;
}


.cursor_pointer {
    cursor:pointer;
}
.disabled_input {
    opacity:0.2;
    pointer-events: none;
}

.hasDatepick{
    width: 100%;
    height: 45px;
}
.category_formal_select {
    width:100%;
    display:inline-block;
}
.flag_status{
    width: 130px;
}
.city_range{
    width: 90px;
}
#CbEventSearch-form .icon{
    max-height: 22px;
}
.geo-wrapper, .geo-wrapper *{
    display: inline-block;
}
.geo-wrapper .geo-search-wrapper{
    position: relative;
}
.geo-search-status{
    opacity: 0.2;
    position: absolute;
    z-index: -1;
    max-width: 100%;
}
.city-region-search-container input{
    background: transparent;
    width: 80%;
    height: 45px;
}
input.__AC_invalidated.locate_me_input_disabled::placeholder {
    font-size: 14px !important;
    font-style: normal !important;
}
.locate-me-wrapper{
    height: 20px;
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #f9f9f8;
}
#CbEventSearch-search-icon-container{
    height: 22px;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    position: absolute;
    padding: 2px;
    top: 0;
    right: 0;
    cursor: pointer;
}
.text-search{
    width: 400px;
}
.cat-cluster{
    width: 80px;
}
#CbEventSearch-form select{
    -webkit-appearance:     none;
    -moz-appearance:        none;;
    -ms-appearance:         none;
    -o-appearance:          none;
    appearance:      none;
}
#CbEventSearch-form .select-container{
    position: relative;   
}
#CbEventSearch-form .select-container select:not(.disabled_input){
    cursor: pointer;
}
#CbEventSearch-form .select-pure__select,#CbEventSearch-form .hasDatepick, #CbEventSearch-form .hasDatepick,#CbEventSearch-form .city-region-search-container input{
    height: 45px;
    padding: 8px 15px;
    border-radius: 0;
}
#CbEventSearch-form .select-pure__select{
    background-color: transparent;
    border: 1px solid #D4D4C7;
}
#CbEventSearch-form .category_formal_select::after, #CbEventSearch-form .datepicker-container::after{
    content: url('../images/img_accordeon-close.svg');
    position: absolute;
    display: block;
    transition: 0.3s all;
    right: 20px;
    top: 10px;
    z-index: -1;
}
#CbEventSearch-form .category_formal_select.open::after, #CbEventSearch-form .datepicker-container.open::after{
    transform: rotateZ(90deg);
}

#CbEventSearch-form .select-pure__options{
    top: 43px;
    max-height: 386px;
    display: none;
}
.select-pure__select.select-pure__select--opened > .select-pure__options {
    display: flex !important;
    flex-direction: column;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.39);
    box-sizing: border-box;
    color: #363b3e;
    display: none;
    left: 0;
    max-height: 370px;
    overflow-y: scroll;
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 5;
    background: #fff;
}
#CbEventSearch-form .select-pure__option{
    font-size: 16px;
    padding: 8px;
    transition: all 0.3s ease;
}
#CbEventSearch-form .select-pure__option:hover{
    background-color: #f1f1f1;
}
#CbEventSearch-form .datepicker-container, #CbEventSearch-form .category_formal_select{
    position: relative;
    z-index: 1;
    background-color: #fff;
    color: white;
}
#CbEventSearch-form .datepicker-container{
    z-index: 0;
}
#CbEventSearch-form .select-container:after {
    content: ' ';
    background-image: url('/stage/images/selectbox_arrow_icon.png');
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 1;
    text-align: center;
    width: 15px;
    height: 15px;
    pointer-events: none;
}

#CbEventSearch-form input:focus {
    outline:none;
}

.city-region-search-container.located-by-input input{
    background-color: #dceef9 !important;
}
/**
.city-region-search-container.located-by-browser input{
    background-color: #e9f4d3 !important;
}
**/
.locate-me-wrapper.located-by-browser{
    background-color: #468346 !important;
}
.locate-me-wrapper.located-by-input{
    background-color: #557596 !important;
}
.locate-me-wrapper{
    background-color: #7b7a7a;
}

.small_margin {
    margin-right: 3px;
}

.locate_me_input_disabled,
.__AC_invalidated .locate_me_input_disabled,
.__AC_validated.locate_me_input_disabled,
.__AC_editing.locate_me_input_disabled {
    background-color:#fbfbfb !important;
}

/*
* styling for ks nrw
*/
#CbEventSearch-form .main-search-row, #CbEventSearch-form .sub-search-row-inner{
    display: flex;
}/** Standard Button / Input Design **/
#CbEventSearch-form input, #CbEventSearch-form select,#CbEventSearch-form button, #CbEventSearch-formal-select-input .select-pure__label{ 
    color: #000;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}
#CbEventSearch-reset-location-button, #CbEventSearch-reset-location-button-germany{
    color: #000;
}
#CbEventSearch-form .reset-location-wrapper a,
#CbEventSearch-form .sub-search-row-inner{
    flex-wrap: wrap;
}
#CbEventSearch-form .main-search-row{
    justify-content: flex-end;
    box-shadow: 0 0px 25px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 0px 25px rgba(0, 0, 0, 0.25);
    padding: 0px;
    height: 60px;
/*    margin: 0 10px;*/
    border: 1px solid #e0e0e0;
}
#CbEventSearch-form .main-search-row .searchfield{
    border: none;
    height: 100%;
    padding: 10px 0;
    position: relative;
}
#CbEventSearch-form .main-search-row .searchfield-inner{
    border-right: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    width: 100%;
}
#CbEventSearch-form .main-search-row .searchfield__input{
    padding: 0 25px;
    font-size: 16px;
}
#CbEventSearch-form .main-search-row .searchfield__submit {
    display: flex;
    align-items: center;
}
#CbEventSearch-form .main-search-row .searchfield input {
    border: 0;
    width: 100%;
}
#CbEventSearch-form .main-search-row .searchfield__input::placeholder{
    font-size: 18px;
    font-weight: 400;
}
#CbEventSearch-form input.searchfield__input::placeholder {
    font-style: normal !important;
}
input.__AC_invalidated.locate_me_input_disabled {
    font-style: normal !important;
    font-size: 14px !important;
}
#CbEventSearch-form input[name=city_region_search]{
    background-color: #fff !important;
    background-repeat: no-repeat;
    background-position: right;
}
#CbEventSearch-form input[name=city_region_search].__AC_editing{
    background-image: url(../images/editing.svg);
}
div.__AC_validating,#CbEventSearch-form input[name=city_region_search].__AC_validating {
    background-image: url(../images/validating.svg);
}
div.__AC_validating,#CbEventSearch-form input[name=city_region_search].__AC_validating,
#CbEventSearch-form .location_input_container input[name=city_region_search].__AC_editing{
    background-position-x: calc(100% - 5px);
    background-color: #fbfbfb;
    color: #101010 !important;
}
#CbEventSearch-form .location_input_container .city-region-search-container input.__AC_editing,
#CbEventSearch-form .location_input_container .city-region-search-container input.__AC_validating{
    background-color: #fff !important;
}
#CbEventSearch-form .city-region-search-container input::placeholder, 
#CbEventSearch-form .datepicker-container input{
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #000;

}
#CbEventSearch-form .collapsible-toggler{
    position: relative;
    width: 60px;
    display: block !important;
    padding: 2px 5px;
    transition: all 0.4s ease;
    background-image: radial-gradient(transparent 0%, transparent 100%);
}
#CbEventSearch-form .collapsible-toggler svg{
    visibility: visible !important;
    transition: all 0.4s ease;
}
#CbEventSearch-form:not(.isMobileDevice) .collapsible-toggler:hover svg{
    fill: rgb(22,79,154);
}
#CbEventSearch-form .open .collapsible-toggler svg{
    transform: rotateZ(135deg);
}
#CbEventSearch-form .top-form-part{
    /*min-height: 180px;*/
    min-height: 100px;
}
#CbEventSearch-form .bottom-form-part{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 25px 5px 25px;
}
#CbEventSearch-form .city_range{
    width:200px;
}
#CbEventSearch-form .CbEventSearch-locate-me-button *{
    fill: #A5A5A5;
    transition: all 0.3s;
}
#CbEventSearch-form .CbEventSearch-locate-me-button .locate-me-cross{
    opacity: 0;
}
#CbEventSearch-form[class*=located] .CbEventSearch-locate-me-button:hover .locate-me-cross, 
#CbEventSearch-form.isMobileDevice[class*=located] .CbEventSearch-locate-me-button .locate-me-cross{
    opacity: 1;
}

#CbEventSearch-form:not(.isMobileDevice) .locationfield:hover .CbEventSearch-locate-me-button *{
    fill: #000;
}

#CbEventSearch-form.located-by-browser .CbEventSearch-locate-me-button *{
    fill: #43932f;
}
#CbEventSearch-form.located-by-input .CbEventSearch-locate-me-button *{
    fill: #2b91cf;
}

#CbEventSearch-form.located-by-input .location_search_default, 
#CbEventSearch-form.located-by-input .location_search_located, 
#CbEventSearch-form.located-by-browser .location_search_located{
    display: block;
}
#CbEventSearch-form.located-by-input .location_search_default, 
#CbEventSearch-form.located-by-browser .location_search_default,
#CbEventSearch-form .location_search_located{
    display: none;
}
#CbEventSearch-form .show-location-name{
    color: #000;

}
#CbEventSearch-form .show-location-name .fadeOut:first-child{
    opacity: 0.4;
}
#CbEventSearch-form .show-location-name .fadeOut:nth-child(2){
    opacity: 0.3;
}
#CbEventSearch-form .show-location-name .fadeOut:nth-child(3){
    opacity: 0.2;
}
#CbEventSearch-form .show-location-name .fadeOut:nth-child(4){
    opacity: 0.1;
}
#CbEventSearch-form .locationfield{
    display: none;
    justify-content: center;
    padding: 10px 0px;
    width: 275px;
}
#CbEventSearch-form .searchfield__submit .searchfield__icon{
    width: 55px;
    height: 27px;
    margin-right: 10px;
}
#CbEventSearch-form .top-form-part:not(.open) .locationfield:hover .show-location-name{
    color: #cc3A3e;
    cursor: pointer;
}
#CbEventSearch-form:not(.isMobileDevice) .locationfield:hover, #CbEventSearch-form:not(.isMobileDevice) .collapsible-toggler-container:hover{
    background-color: #F7F7F7;
}
#CbEventSearch-form .locationfield-inner{
    display: flex;
    justify-content: flex-end;
    padding: 0px 25px 0 10px;
    border-right: 1px solid #e0e0e0;
    align-items: center;
}
#CbEventSearch-location-display{
    max-width: 200px;
    display: flex;
    flex-wrap: wrap;
    padding-right: 15px;
}
#CbEventSearch-location-display span{
    width: 100%;
    text-align: right;
}
#CbEventSearch-location-display .location_search_default{
    cursor: pointer;
}
:not(.located-by-input) #CbEventSearch-location-display .location_search_default,
:not(.located-by-browser) #CbEventSearch-location-display .location_search_default{
    margin-top: 0px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#CbEventSearch-location-display .location_search_default:hover{
    color: rgb(22,79,154);
}
.CbEventSearch-locate-me-button{
    width: 32px !important;
    height: 45px;
    padding: 0;
    cursor: pointer;
}
#CbEventSearch-form .location_search_default
#CbEventSearch-form .searchfield__icon{
    height: 32px;
    width: 32px;
}
#CbEventSearch-form .main-search-row{
    z-index: 2;
    position: relative;
}
#CbEventSearch-form .sub-search-row{
    z-index: 1;
    padding: 18px 0 40px;
}
#CbEventSearch-form .day-search-row{
    display: none;
    height: 80px;
    width: 100%;
    position: absolute;
    top:80px;
    background-color: #ccc;
    z-index:-1;
}
#CbEventSearch-form .location_input_container, #CbEventSearch-form .event_date_input_container, #CbEventSearch-form .category_select_container{
    width: 100%;
    padding:  2px 10px;
}
#CbEventSearch-form .labelname{
    display: none;
}
#CbEventSearch-form .__AC_position{
    width: 100% !important;
    z-index: 5;
    top: 34px !important;
}
#CbEventSearch-form .__AC_close{
    top: 15px;
    right: 5px;
    height: 14px;
    width: 14px;
    background-image: url('../images/mc-close-black.svg');
}
#CbEventSearch-form .__AC_layer,#CbEventSearch-form .__AC_data{
    background-color: #fff !important;
}
#CbEventSearch-form .__AC_layer{
    padding-left: 0;
    padding-top: 25px !important;
    border-radius: 0;
}
#CbEventSearch-form .__AC_data div{
    padding-left: 10px;
    transition: all 0.3s ease;
}
#CbEventSearch-form .__AC_data .__AC_record{
    font-weight: 500;
    font-family: Roboto;
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}
#CbEventSearch-form .__AC_data div:hover{
    background-color: #f1f1f1;
    color: #000;
}
#CbEventSearch-form .bottom-form-part a{
    display: none !important;
    text-align: center
}
#CbEventSearch-form .show-range, #CbEventSearch-form .show-range-measurement{
    color: #101010
}
#CbEventSearch-form .show-range-wrapper{
    min-width: 120px;
    display: inline-block; 
}
#CbEventSearch-form .reset-location-icon{
    height: 30px;
}

/* Input Range Styling */

input[type=range] {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    width: 150px; /* Specific width is required for Firefox. */
    background: #E3DFE0;
    border-top: 1px solid #B9B5B6;
    border-radius: 4px;
    height: 4px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #C8C8C8;
    border-radius: 20px;
    width: 18px;
    height: 18px;
}
input[type=range]::-ms-thumb{
    background: #fff;
    border: 1px solid #C8C8C8;
    border-radius: 20px;
    width: 18px;
    height: 18px;
}

input[type=range]:focus {
    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;

    /* Hides the slider so custom styles can be added */
    background: transparent; 
    border-color: transparent;
    color: transparent;
}


/* END Input Range Styling */
.datepick-popup{
    padding: 10px 25px !important;
    z-index: 89999
}
.datepick-popup td a{
    border-radius: 20px;
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto;
    padding-top: 3px;
}
.datepick-popup a{
    color: #101010;
}
.datepick-popup .datepick-selected{
    color: #fff;
    background: rgb(25,78,150);
}
.datepick-popup .datepick td{
    padding: 4px 0;
}
.datepick-month-header{
    text-align: center;
    margin-bottom: 15px;
}
.datepick-month-header select{
    -webkit-appearance: none;
    border: none;
    outline: none;
    box-shadow: none;
}
#CbEventSearch-form .big-filter-container__collapsible-text{
    border-left: 0;
    border-right: 0;
    background: #FAFAFA;
}
#CbEventSearch-form .mobile-locate-me-button-wrapper{
    display: flex;
    background-color: #fafafa;
    justify-content: center;
    border: 1px solid #D4D4C7;
    border-left: 0;
    height: 45px;
    width: 20%;

}
#CbEventSearch-form .show-location-name.mobile{
    margin-left: 5px;
    cursor: pointer;
    display: none;
}
#CbEventSearch-form[class*=located] .show-location-name.mobile{
    display: block;
}
#CbEventSearch-form #result-feedback{
    display: flex;
}
#CbEventSearch-form #result-feedback .count-and-mobile-wrapper{
    color: #000;
}
#CbEventSearch-form #result-feedback .reset-and-location-wrapper > *, 
#CbEventSearch-form #result-feedback .add-event > *{
    border-left: 1px solid #e0e0e0;
    margin-left: 10px;
    padding-left: 10px;
}
#CbEventSearch-form.isApple .city-region-search-container input[name=city_region_search],
#CbEventSearch-form.isApple .hasDatepick{
    font-size: 16px;
}
@media screen and (max-width: 767px){
    .highlights-col:nth-child(1) {
        display: block;
    }
    #CbEventSearch-result-container .noResultsBlock-container {
        flex-direction: column;
    }
    .page-events .big-filter-container{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #CbEventSearch-reset-location-button-germany, .reset-location-wrapper{
        display: none;
    }
    #CbEventSearch-form .category_select_container{
        order: 2
    }
    #CbEventSearch-form .event_date_input_container{
        order: 3;
    }
    #CbEventSearch-form .bottom-form-part{
        padding: 20px 10px;
    }
}
@media screen and (min-width: 768px){
    .highlights-container img {
        /*        min-width: 340px;
                min-height: 239px;*/
    }
    .highlights-col:nth-child(1),
    .highlights-col:nth-child(2){
        display: block;
    }

    #CbEventSearch-result-container .noResultsBlock a{
        margin-right: 40px;
    }

    .CbEventSearch-locate-me-button{
        width: 40px !important;
        height: 56px;
    }
    #CbEventSearch-form .show-location-name.mobile{
        display: none !important;
    }
    .city-region-search-container input{
        width: 100%;
    }
    #CbEventSearch-form .mobile-locate-me-button-wrapper{
        display: none;
    }
    #CbEventSearch-form .labelname{
        font-size: 14px;
        display: block;
        padding-bottom: 5px;
    }
    input[type="range"] {
        width: 200px;
    }


    #CbEventSearch-form .main-search-row .searchfield{
/*        max-width: 55%;*/
    }
    #CbEventSearch-form .locationfield{
        display: block;
    }
    #CbEventSearch-form .category_select_container{
        width: 33.3333%;
    }
    #CbEventSearch-form .event_date_input_container{
        width: 33.3333%;
    }
    #CbEventSearch-form .location_input_container{
        width: 33.3333%;
    }
    #CbEventSearch-form .collapsible-toggler{
        width: 80px;
        padding: 11px 15px;
    }
    #CbEventSearch-form .location_input_container, #CbEventSearch-form .event_date_input_container, #CbEventSearch-form .category_select_container{
        padding: 10px 25px;
    }
    #CbEventSearch-form .main-search-row{
        margin: 0px;
    }
    #CbEventSearch-form .main-search-row{
        height: 80px;
    }

}

@media screen and (min-width: 992px){
    .highlights-col{
        display: block;
    }
}

@media screen and (min-width: 1130px){
    #CbEventSearch-form .main-search-row{
        margin: 0;
    }
    #CbEventSearch-form .big-filter-container__collapsible-text{
        border-left: 1px solid #e0e0e0;
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        background: #FAFAFA;
    }
}
@media screen and (min-width: 1024px){
    .highlights-container img {
        min-width: 340px;
        min-height: 239px;
    }

    #CbEventSearch-form .main-search-row .searchfield{
        width: 100%;
        max-width: none;
    }
    #CbEventSearch-location-display{
        width: 200px;
    }
    #CbEventSearch-form .bottom-form-part a{
        display: block !important;
    }
    #CbEventSearch-form .event_date_input_container{
        border-right: 1px solid #e0e0e0;
        border-left: 1px solid #e0e0e0;
    }
    #CbEventSearch-form .location_input_container, #CbEventSearch-form .event_date_input_container, #CbEventSearch-form .category_select_container{
        width: 33.3333%;
        padding: 0 25px;
    }
}
@media screen and (min-width: 1400px){
    #CbEventSearch-form .select-pure__option{
        font-size: 13px;
        padding: 6px 20px;
    }
    #CbEventSearch-form .__AC_data .__AC_record{
        font-size: 13px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}