.marker{
	background-repeat: no-repeat;
    margin-top: -20px;
    margin-left: 5px;
}

#contact-box-container{
	position: absolute;
    z-index: 1;
    background: #fff;
    margin: 0;
    box-shadow: 0 0 6px rgb(0 0 0 / 20%);
    border-radius: 4px;
    padding: 10px 18px;
    border-left: 2px solid #009fe3;
	text-align: center;
}

#contact-box-container.praha{
	top: 130px;
    left: 0;
    right: 0;
    width: 180px;
    margin: 0 auto;
    transform: translateX(-230px);
}

#contact-box-container.brno{
	top: 310px;
    left: 0;
    right: 0;
    width: 180px;
    margin: 0 auto;
    transform: translateX(60px);
}

#contact-box-container.ostrava{
	top: 80px;
    right: 0;
    left: 0;
    width: 180px;
    margin: 0 auto;
    transform: translateX(288px);
}

#contact-box-container::after{
	content: "";
    width: 20px;
    height: 20px;
    background: #fefefe;
    transform: rotate(45deg);
    display: block;
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    box-shadow: 4px -4px 6px rgb(0 0 0 / 10%);
	z-index: -1;
}

#contact-box-container.ostrava::after{
	top: unset;
	left: unset;
	right: calc(50% - 10px);
    bottom: -10px;
    box-shadow: 6px 6px 6px rgb(0 0 0 / 10%);
}

#contact-box-container a{
    display: inline-block;
    margin-top: 8px;
    padding: 5px 10px;
    background: #009fe3;
    color: #fff;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
	z-index: 1;
}

#contact-box-container.ostrava h3{
	color: #8bb31d;
}

#contact-box-container.ostrava a{
	background: #8bb31d;
}

#contact-box-container.ostrava{
	border-color: #8bb31d;
}

#contact-box-container a:hover{
	background: #20286d;
}
	
#contact-box-container h3{
	margin-top: 0;
	color: #20286d;
    font-size: 20px;
}

#contact-box-container address{
	line-height: 1.2;
    margin-top: 8px;
    font-size: 14px;
    font-style: normal;
}

.contact-link{
	color: #1990ea !important;
	word-break: break-word;
}

#contact-blocks .wpb_column .uncell{
	box-shadow: 0 0px 4px rgb(215 235 249);
}

#contact-blocks .wpb_column:hover .uncell{
	box-shadow: 0 2px 15px #cee8f3;
}

#contact-blocks .wpb_column:hover .uncell a{
	text-decoration: underline;
}

.contact-link:hover{
	text-decoration: underline;
}

/* kontakt - mapa */

.marker{
    background-repeat: no-repeat;
    margin-top: -20px;
    margin-left: 5px;
}

.mapboxgl-popup {
    max-width: 300px !important;
    min-width: 300px !important;
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    margin-top: -15px;
    margin-left: 2px;
}

.mapboxgl-popup-close-button{
    margin-top: 8px;
    margin-right: 5px;
    color: #000;
    font-size: 20px;
}

.mapboxgl-popup-close-button:hover{
    color: red;
    background: transparent;
}

.mapboxgl-popup-content div.marker-popup-title{
    font-size: 16px;
    font-weight: bolder;
    color: #000;
}

.mapboxgl-popup .marker-popup-description{
    color: #000;
    margin-top: 10px;
}

.mapboxgl-popup p{
    color: #000;
    margin: 0;
}

.marker-popup-btn{
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
    background: #1990EA;
    color: #fff !important;
    border-radius: 2px;
    padding: 5px 10px;
}

.marker-popup-btn:hover{
    background: #1990EA;
    color: #fff !important;
	opacity: .9;
}

@media (max-width: 959px){
	#contact-box-container.praha{
		top: 120px;
	}

	#contact-box-container.brno{
		top: 285px;
		transform: translateX(40px);
	}

	#contact-box-container.ostrava{
		top: 70px;
	    transform: translateX(270px);
	}
}

@media (max-width: 569px){
	#centrum-podpory-sticky .wpb_wrapper{
		flex-direction: column;
		text-align: center;
		padding: 0 10px;
	}
	
	#centrum-podpory-sticky .wpb_wrapper a {
		margin-left: 0 !important;
		margin-top: 18px;
		transform: none;
	}
	
	#contact-box-container{
		position: relative;
		top: unset !important;
		left: unset !important;
		right: unset !important;
		transform: none !important;
		width: calc(100% + 36px) !important;
		margin-left: -18px !important;
		box-shadow: 0 0px 4px rgb(215 235 249);
		margin-bottom: 10px !important;
		border-right-style: solid;
		border-right-width: 2px;
	}
	
	#contact-box-container.praha,#contact-box-container.brno{
		border-right-color:#009fe3 !important;
	}
	
	#contact-box-container address br{
		display: none;
	}
	
	#contact-box-container a{
		font-size: 14px;
	}
	
	#contact-box-container::after{
		display: none;
	}
	
	#contact-map{
		display: none;
	}
	
	#contact-boxes > .row{
		padding-bottom: 0;
	}
}
