/*scrollbar*/
       /*ScrollBar 1  */       
        .category-column::-webkit-scrollbar {
            width: 8px;
        }
		
/* Firefox specific styles */
@-moz-document url-prefix() {
    .category-column {
        scrollbar-color: #274291 #e4e4e4;
        scrollbar-width: thin;
    }
}
		
        .category-column::-webkit-scrollbar-track {
            border-radius: 8px;
            background-color: #e7e7e7;
            border: 1px solid #cacaca;
        }
        
        .category-column::-webkit-scrollbar-thumb {
            border-radius: 8px;
            background-color: #274291;
        }
/**/

.filter_ul1 .c312,
.filter_ul1 .c313,
.filter_ul1 .c314,
.filter_ul1 .c318,
.filter_ul1 .c317 {
  display: none !important;
}

.chosen-terms-labels{
display: flex;
    gap: 0.8em;
    justify-content: center;
    margin-bottom: 60px;
    font-size: 80%;
	display:none;
flex-wrap:wrap;
}

.chosen-terms-labels .trigger-remove{
    padding: 2px 28px 2px 10px;
	position:relative;
	cursor:pointer;
	background: #c7c7c7!important;
	color:var(--plna-cerna)!important;
	line-height:1;
	font-size:15px;
	line-height: 1.3;
}

.chosen-terms-labels button:hover{
opacity:0.8;	
}

.set-of-term{
display:flex;
border-radius:3px;	
	flex-wrap:wrap;
	position:relative;
padding-top: 30px;
	gap:0.5em;
}

.chosen-terms-labels .trigger-remove:after {
    content: '';
    height: 17px;
    width: 17px;
    display: block;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-color: #555555;
    mask-image: url(/wp-content/uploads/2024/06/circle-xmark-regular.svg);
}
.parent-group > .sub-child{
display:none;	
}
.parent-group button {
background: 0!important;
    padding: 0;
    color: var(--plna-cerna)!important;
    border: 0;	
	line-height:1;
	font-size: 15px;
}
.chosen-terms-labels .filter-name{
font-weight:600;	
	flex-shrink:0;
	position:absolute;
	top:2px;
	left:-9px;
	flex-shrink:0;
	white-space:nowrap;
	padding-right:10px;
	background:none;
}
.reset_wrapper{
text-align: center;
    display: block;
  margin:0;
	position:relative;
	padding: 0;
    background: 0!important;
}
.reset_filter {
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    color: var(--cervena);
    padding: 2px 18px;
    margin: 0;
    display: block;
    border: 1px solid #000;
}
.filter-unwrap-icon{
    height: 14px;
    vertical-align: middle;
    margin-left: 6px;
    margin-top: -3px;	
}
.shown{
display:block!important;	
}
.no_map {
    position: absolute;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 2em;
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background: #e1e1e1;
}

#map{
position:relative;	
}
#map:before{
content:'Nahrávám...';
	display:flex;
	justify-content:center;
	align-items:center;
	width:100%;
height:100%;	
	position:absolute;
background:#cbcbcb;
	bottom:0;
left:0;	
	font-size:2em;
}

.parent-category-name:first-of-type{

}
.gm-style-iw-d,.gm-style-iw.gm-style-iw-c{
max-height:300px!important;
}

input.all{
margin-left: 4px;
    vertical-align: middle;

}
.term-set-wrapper{
margin-bottom:6px;	
margin-left: 16px;
	display: none;
}
.category-group .input-bg{
right:-2px;	
}

.input-bg{
    vertical-align: middle;
    position: absolute;
    right:-4px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background: var(--hlavni-modra);	
	display:none;
}
.filter_ul input{
    vertical-align: middle;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background: red;	
}

.sub-child-category-group input{
margin-right:6px!important;	
}
.sub-child-category-group .input-bg{
right:2px!important;	
}

.term-set-wrapper input,.term-set-wrapper .input-bg{
right:8px!important;	
}

.filter_ul input:after{
content:'';
height:100%;
width:100%;
background-color: #ffffff;
	display:block;
	background-image:url(/wp-content/uploads/2024/06/plus-solid.svg);
	background-repeat:no-repeat;
	background-position:center;
	cursor:pointer;
	    background-size: 74%;
	
}
       .filter_ul input:checked~.input-bg{
            display: block;
        }

      .input-bg::after {
            content: "";
            position: absolute;
 display:block;
            left: 7px;
            top: 3px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

.plus_more {
	height:31px;
    padding: 0px 5px;
    border-radius: 5px;
    color: #274291;
    font-weight: 900;
 	width: 22px;
    display: inline-block;
	cursor:context-menu;
margin-left: -4px;
    margin-right: 4px;
	    font-size: 1.2em;
  vertical-align: middle;
    margin-top: -7px;
	background: 0 !important;
    letter-spacing: 0;
    border: 0;
}

.show-all .all {
  display: inline;
}

.filter_ul{
display:none;	
    min-width: 280px;
    background: #fff;
    z-index: 9999;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
padding: 0px;
    padding-bottom: 13px;
    position: absolute;
    top: -42px;
    left: -15px;
   padding-top: 12px;
	overflow:hidden;
	
}

input:checked {
background:red;
}
.remove-terms{
height: 20px;
    background: red;	
}
.filter_name{
	display:none;
}
.filter_name_placeholder:not(.cloned):after{
	content:'';
display:inline-block;	
	background:url(/wp-content/plugins/ajax-filter/images/chevron-down.svg);
    height: 12px;
    width: 27px;
    margin-left: 6px;
    background-size: 100%;
margin-left:6px;	
}

#ajax_filter_rad {
    display: inline-block;
    min-width: 200px;
    width: 100%;
    margin-bottom: 24px;
    padding-top: 0;
    margin-top: 30px;
    border: 1px solid;
    border-top: 2px solid;
    border-bottom: 2px solid;
	text-align:right;
}

.filter_ul .filter_name_placeholder{
    width: calc(100% - 30px);
    margin: auto;
	    position: relative;
	white-space:nowrap;
	margin-top:30px;
}

.zavrit-filtr {
position: absolute;
    right: 8px;
    top: 8px;	
	padding:0;
	background:0!important;
	
}
.zavrit-filtr-img{
    cursor: pointer;
    height: 26px;
    width: 26px;
    padding: 3px;
}


.chosen-term{
     position: absolute;
    top: 50%;
    transform: translateY(-50%);
     width: 100%;
    height: 100%;
  /*  background: #0d7101;*/
/*    color: #fff;*/
    margin-left: -15px;
    padding-left: 15px;
    display: flex;
    align-items: center;
	display:none;
}

.term-mark-check{
    height: 19px;
    vertical-align: middle;
    margin-left: 4px;	
	display:none;
}
	.filter_name_placeholder{
display: block !important;
    padding: 2px 8px;
    border: 1px solid;
    background: #fff!important;
    font-weight: 600;
    position: relative;
    z-index: 10;
		font-size:18px;
		cursor:pointer;
		    color: var(--plna-cerna)!important;
    width: 100%;
    text-align: left;
		
	}
.columns_wrapper{
    display: flex;
    gap:4px;
    row-gap: 20px;
    text-align: left;
    flex-direction: row;
	font-size:18px;

}
.columns_wrapper_reset{
    display: flex;
    flex-direction: row;

       padding: 0 20px 0 52px;
    margin-top: 14px;	
	gap:54px;
}
/*spinner*/
.not_found_filter{
border: 1px solid;
    border-radius: 13px;
    text-align: center;
    padding: 27px;
    position: relative;
    background: #274291;
    color: #fff;
    font-size: 1.5em;
    max-width: 400px;
    margin: auto;
}

#loading-spinner{
position: fixed;
    left: 50%;
    transform: translate(-50%,-50%);
    top: 50%;
	z-index:99999;
	 width: 80px;
  height: 80px;
  animation: rotate 1s linear infinite;

}
@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
#loading-spinner.hidden{
display:none;	
}
.filter_name{
font-weight: 600;
    margin-bottom: 5px;
    margin-top: 20px;
    padding: 0 15px;
}
#ajax_filter_rad .category-group input{
	margin-right: 2px;
}

#ajax_filter_rad .sub-child-category-group label{
    margin-left: 4px;	
}
#ajax_filter_rad label{
margin-right: 6px;
  padding: 9px 0 9px 2px;
    padding-right: 36px;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    position: relative;
	padding-right: 40px!important;
	min-height:44px;
}
.parent-category-name{
min-height:44px;	
}
#ajax_filter_rad .label_all{
display:inline-block;	
	width: calc(100% - 32px);
	white-space:nowrap;
}

.mesta-title-part1, .mesta-title-part4 {
    padding: 3px 9px!important;
border-radius:0!important;
}

.sub-child-category-group{
display:none;	
margin-left: 18px;
}
#ajax_filter_rad input{
margin-left:2px;
	vertical-align:middle;

}

.filter_ul_wrapper{
position:relative;
	    white-space: nowrap;
}



.filtrovat{
    padding: 0 0 0 20px;
    text-transform: unset;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    background: #ffffff;
    margin-left: -1px;
    border-bottom: 1px solid;
    line-height: 1.2;
    position: relative;
    font-size: 18px;
    right: calc(100% - 52px);
    top: -3px;
}
#ajax_filter_rad p{
    font-size: 14px;
    margin-top: 10px;
    text-align: right;
    display: inline-block;
    position: relative;
    margin-bottom: 0px;
    z-index: 1;
    transform: translateY(3px);
}


#ajax_filter_rad p:before {
    content: '';
    display: block;
    width: calc(100% - 14px);
    background: #000;
    position: absolute;
    height: 1px;
    right: 0;
	top:-1px;
}

#ajax_filter_rad p:after{
    content: '';
    display: block;
    position: absolute;
    right: -1px;
    height: calc(100% + 6px);
    width: 30px;
    background: #ffffff;
    top: 1px;
	    z-index: -1;
}
.filtrovat:before{
	
    content: '';
height: calc(100% + 3px);
    display: block;
    background: #ffffff;
    width: 20px;
    position: absolute;
    right: calc(100% - 16px);
    top: -3px;
}
.filtrovat i{
margin-right:4px;	

}


#ajax_filter_rad .category-column{
	display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 4px 15px 0;
	position: relative;
	max-height:460px;
	overflow-x:hidden;
	overscroll-behavior: none;
	
}


/*map*/
.gm-ui-hover-effect{
    width: 36px!important;
    height: 40px!important;	
}

.gm-ui-hover-effect span{
    width:18px!important;
    height: 18px!important;	
}
/**/

@media (max-width: 1500px) {
  #ajax_filter_rad{
     	}


}
@media (max-width: 1400px) {
#posts_archive, .filtered-posts{
	width:100%;
}	


#ajax_filter_rad.active .filtrovat{
    border-bottom: 1px solid #274291;

}
}
@media (max-width: 768px) {
	.columns_wrapper_reset{
	flex-direction:column;	
	}
	#ajax_filter_rad{
	margin-top:20px;	
		margin-bottom:0;
	}
	.columns_wrapper_reset{
	padding: 0 10px 0;	
		gap: 20px;
	}
	.pamatka-title h3{
	    font-size: 22px;	
	}
	.chosen-terms-labels{
	justify-content:start;	
	        padding: 0 10px;	
	}

	.columns_wrapper {
		flex-direction:column;
    display: flex;
    flex-wrap: wrap;
    justify-content: unset;
		
}
}	
@media (max-width: 480px) {
	.category-column {
max-height: 220px;
		max-width: unset;
}
	.filter_ul{
	min-width:260px;	
	}
#ajax_filter_rad label {
    white-space: normal;
}	
	#ajax_filter_rad .category-column {
    max-height: 240px;
}
}

