.filters-section {
    height: 65px;
}

.popup-wrapper {
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0, 0, 0,0.2);
    z-index: 2000;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.filters-section-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;  
    left: 10px; 
}

.obj-filter {
    height: 40px;
    border: none;
    border-radius: 20px;
    outline: none  !important;
    background-color: #ffffff;
    color: rgb(17,31,44);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: rgb(0 0 0 / 10%) 1px 3px 4px;
    padding: 10px 15px 10px 15px;
    box-shadow: rgb(0 0 0 / 12%) 0px 1px 3px 0px, rgb(27 31 35 / 15%) 0px 0px 0px 1px;
}

.selected-filter-point-maps, .selected-filter-point-categories, .selected-filter-point-countries {
    display: none;
}

.filter-cat-popup, .filter-map-popup, .filter-countries-popup {
    background-color: #fff;
    max-width: 500px;
    max-height: 570px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 20px #000;
    transform: translateY(-200%);
    animation: slide-down 0.5s forwards;
    top: 130px;
    left: 0.9%;
}

.popup-wrapper.categories {
    display: none;
}

.popup-wrapper.user-maps {
    display: none;
}

.popup-wrapper.countries {
    display: none;
}

.popup-country-content {
    max-height: 450px;
    overflow-y: scroll;
}

.popup-maps-content {
    max-height: 450px;
    overflow-y: scroll;
}

.popup-wrapper .popup-content {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding-left: 30px;
}

.popup-wrapper .map-visibility {
    color: rgb(17, 31, 44);
    width: 100%;
    padding: 10px 10px 10px 0;
    text-decoration: underline;
    font-family: 'Nunito-ExtraBoldItalic';
}

.user-map {
    padding: 5px;
}

.user-map, .country {
    display: flex;
    width: 100%;
    background-color: #fff;
    margin: 0px 0 12px 0px;
    flex-direction: row;
    cursor: pointer;
}

.user-map {
    padding: 5px;
}

.user-map, .country {
    margin: 0px 0 14px 0px;
}

.popup-wrapper .desc-text {
    word-break: break-word;
    font-family: 'Nunito-LightItalic';
	line-height: 150%;
}

.filter-checkbox-countries {
    height: 18px;
    width: 18px;
    border: 1px solid #c5c6c9;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 18px;
    margin-top: 3px;
    margin-right: 10px;
}

.filter-checkbox-maps {
    height: 16px;
    width: 16px;
    border: 1px solid #5c5c5c;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 16px;
    margin-right: 10px;
    margin-top: 4px;
}

.country  input:checked ~ .filter-checkbox-countries {
    background-color: #111f2c;
    border: 1px solid #111f2c;
}

.user-map input:checked ~ .filter-checkbox-maps {
    background-color: #ffffff;
    border: 1px solid #606060;
    color: #111f2c;
    font-size: 10px;
}

span.filter-checkbox-countries.ctp-checkmark, span.filter-checkbox-maps.ctp-checkmark {
    font-size: 10px;
    color: white;
    text-align: center;
    padding: 3px 0;
    border: 1px solid #111f2c;
}

.filter-checkbox-countries-hidden {
    top: 50%;
    transform: translateY(-50%);
}

.country input[type=checkbox], .user-map input[type=checkbox] {
    opacity: 0;
    height: 0;
    width: 0;
}

.country-empty-top, .categories-empty-top, .maps-empty-top {
    height: 20px;
}

.btn-ok-countries, .btn-ok-categories, .btn-ok-maps {
    display: inline-block;
    position: absolute;
    right: 30px;
    cursor: pointer;
}

.country-filter-bottom, .categories-filter-bottom, .maps-filter-bottom {
    border-top: 1px solid #e4e5e7;
    height: 80px;
    display: flex;
    align-items: center;
}

.obj-filter-text {
    align-items: center;
    font-size: 14px;
    padding: 0 0px 0 5px;
    color: #6c6c6c;
    pointer-events: none;
    font-family: 'Nunito-Regular';
}

span.checkthatplace.ctp-countries_2 {
    pointer-events: none;
}

span.checkthatplace.ctp-categories_2 {
    pointer-events: none;
}

span.checkthatplace.ctp-maps_3 {
    pointer-events: none;
}

#filter-maps, #filter-categories {
    margin-right: 12px;
}

.selected-filter-map, .selected-filter-cat, .selected-filter-countries {
    position: absolute;
    left: 7px;
    font-size: 7px;
    color: #0e8fc1;
}

.ctp-categories_2:before {
    font-size: 18px;
    color: #6c6c6c;
    display: flex;
}
.ctp-countries_2:before {
    font-size: 18px;
    color: #6c6c6c;
    display: flex;
}
.filters-section .ctp-maps_3:before {
    font-size: 18px;
    color: #6c6c6c;
    display: flex;
}

.popup-wrapper.popped-on {
    display: block;
}

.country:hover > .filter-checkbox-countries {
    background-color: #c5c6c9;
}

.country-select-all, .categories-select-all {
    left: 30px;
    cursor: pointer;
}

.country {
    cursor: pointer;
}

.country:hover {
    color: #75cef0;
    font-family: Nunito-Bold;
}

.filter-choice-maps:hover {
    color: #75cef0;
    font-family: Nunito-Bold;
}

.categories-selection-list {
    margin-bottom: 20px;
    overflow-y: scroll;
    max-height: 450px;
}

@keyframes slide-down {
    form{transform: translateY(-200%);}to{transform: translateY(0);}
}


.filter-choice-categories {
    margin: 5px 5px 5px 0;
    padding-right: 10px;
    border-radius: 14px;
    height: 28px;
    display: flex;
    align-items: center;
    background-color: #C4F2FF;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
}

.disabled-filter-selection {
    background-color: #dddddd;
    cursor: not-allowed;
}

.filter-choice-categories:hover {
    transform: scale(1.05);
}

.disabled-filter-selection:hover {
    transform: none;
}

.popup-wrapper .popup .choose-all {
    width: 100%;
}

.popup-wrapper .category img {
    width: 28px;
}

.popup-wrapper .category span {
    margin-left: 10px;
}

.popup-wrapper .btn-ok-filter {
    margin: auto;
    text-align: center;
    width: 60px;
    padding: 8px 0;
    background-color: #111f2c;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-family: 'Nunito-Bold';
}

/*rules for custom choose - Those that are selected*/
.popup-content .category.option-chosen {
    background-color: rgb(17, 31, 44);
    color: #fff;
}

span.country-select-all-txt, span.categories-select-all-txt {
    font-family: 'Nunito-Regular';
}

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

    .filters-section {
        height: 70px;
    }

    .filter-cat-popup, .filter-map-popup, .filter-countries-popup {
        max-width: 440px;
    }

    .popup-wrapper .popup-content {
        padding-left: 0px;
        padding: 0 10px;
    }

}

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

    .filters-section {
        justify-content: center;
    }

    .filters-section-inner {
        left: 0px;
        padding: 0 10px 0 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .obj-filter {
        font-size: 14px;
        height: 40px;
        border-radius: 20px;
        padding: 10px 15px 10px 15px;
    }

    .obj-filter i{
        height: 30px;
        width: 30px;
        border-radius: 15px;
    }
	
	.obj-filter-text {
        font-size: 14px;
	}

    .popup-wrapper .popup {
		margin-left: 10px;
		margin-right: 10px;
	}

}

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

    .ctp-countries_2:before {
        display: none;
    }

    .ctp-categories_2:before {
        display: none;
    }

    .filters-section .ctp-maps_3:before {
        display: none;
    }

    .obj-filter-text {
        padding: 0 0px 0 0px;
    }
	
}

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

    .ctp-countries_2:before {
		padding: 0 0px 0 0px;
    }
	
    .filters-section .ctp-maps_3:before {
		padding: 0 0px 0 0px;
    }
	
    .ctp-categories_2:before {
		padding: 0 0px 0 0px;
    }

	.obj-filter-text {
        padding: 0 6px 0 6px;	
	}
	
}