@import url(https://js.arcgis.com/4.23/@arcgis/core/assets/esri/themes/light/main.css);
/*
@geozsZelena: #42a332;
@geozsModra: #006faf;
*/

html,
body {
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	font-family: "Avenir Next", "Helvetica Neue,Helvetica,Arial,sans-serif";
}

#viewDiv {
	position: absolute;
	top: 0;
	padding: 0;
	margin: 0;
	height: calc(100% - 80px);
	width: 100%;
	overflow: hidden;
}

.header {
	position: absolute;
	width: 100%;
	height: 80px;
	border-bottom: 1px solid lightgrey;
	background-color: #ffe0a1;
	color: #323232;
}

.map-viewer-title {
	display: inline-block;
	max-width: 550px;
	padding: 1.5rem 0.5rem 1.5rem 1rem;
	font-size: 1.4rem;
	color: black;
}

.logos-and-languages {
	position: relative;
	float: right;
}

.logos-and-languages .logos {
	display: inline-block;
}

.logos-and-languages .logos img {
	height: 80px;
	width: auto;
}

.lang-and-manual {
	display: inline-block;
	padding: 0;
	/* float: right; */
}

.lang-and-manual a {
	/* display: inline-block; */
	padding: 0.2rem 0rem;
	color: black;
}

.lang-and-manual a img {
	box-shadow: 1px 1px #976e1c;
}


/* Sidebar toggling functionality */
.sidebar_menu {
	font-size: .9rem;
	position: fixed;
	height: calc(100vh - 80px);
	top: 0;
	width: 350px;
	left: -350px;
	color: #323232;
	line-height: 1.3em;
	border-right: 1px solid lightgrey;
	background-color: #ffe0a1;
	overflow-y: auto;
	transition: all 0.3s linear;
	z-index: 1;
}

.sidebar_menu .site-title {
	position: absolute;
	width: 100%;
	height: 30px;
	padding-left: 1rem;
}

.sidebar_menu .site-title span {
	color: black;
	font-size: 1rem;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
}

.sidebar_menu .menu {
	position: absolute;
	top: 50px;
	width: 100%;
}

#check {
	display: none;
}

#check:checked~.sidebar_menu {
	left: 0;
}

#check:checked~.btn_open i {
	opacity: 0;
}

#check:checked~.sidebar_menu .btn_close i {
	opacity: 1;
	color: #505050;
}

.main-container .btn_open i {
	color: #e29e16;
	font-size: 25px;
	line-height: 30px;
	font-weight: 700;
	position: absolute;
	left: 16px;
	cursor: pointer;
	opacity: 1;
	transition: all 0.3s linear;
	z-index: 1;
}

.sidebar_menu .btn_close i {
	font-size: 25px;
	line-height: 30px;
	position: absolute;
	left: 310px;
	cursor: pointer;
	opacity: 0;
	transition: all 0.3s linear;
}

.btn_open i:hover {
	font-size: 30px;
}


/* Bold layer in layer list if visible */
span.visible-layer {
	font-weight: 700;
}


/* Esri components styling */
.esri-ui-top-left.esri-ui-corner>.esri-zoom {
	display: none;
}

.esri-legend__layer-caption {
	display: none;
}


/* Popup */
#puscicaSCrtami {
	width: 30px;
	border-bottom: 30px solid black;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
}

#resultDataPopup {
	position: absolute;
	width: 350px;
	z-index: 1;
}

#resultDataContainer .card-body {
	font-size: 12px;
	max-height: 200px;
	overflow: auto;
}

#resultDataContainer .card-header>h2>button {
	font-size: 12px;
}

.result-data-popup-pointer {
	position: absolute;
	/* ali spodnje dvoje sploh rabis */
	width: 0;
	height: 0;
	z-index: -1;
}

.result-data-popup-aligned-bottom-right .result-data-popup-pointer {
	top: 6px;
	left: 6px;
	transform: rotate(135deg);
}

.result-data-popup-aligned-bottom-left .result-data-popup-pointer {
	top: 6px;
	right: 6px;
	transform: rotate(45deg);
}

.result-data-popup-aligned-top-left .result-data-popup-pointer-direction,
.result-data-popup-aligned-bottom-left .result-data-popup-pointer-direction,
.result-data-popup-aligned-top-right .result-data-popup-pointer-direction,
.result-data-popup-aligned-bottom-right .result-data-popup-pointer-direction {
	top: -6px;
	left: -6px;
	transform: scale(1, 3.5) rotate(45deg);
}

.result-data-popup-pointer-direction {
	background-color: #ffe0a1;
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
}

img.image-thumbnail {
	max-width: 100px;
	height: auto;
}

#resultDataContainer>.card>.card-header {
	background-color: #ffe0a1;
	padding: 0.2rem;
}

#resultDataContainer>.card>.card-header>h2>button {
	color: black;
}


/* Layer Lists */
ul,
#waterManagementLayerListUL {
	list-style-type: none;
}

#waterManagementLayerListUL, #experienceLayerListUl {
	margin: 0;
	padding: 0;
}

#waterManagementLayerListUL>li>ul>li.list-layer-id {
	margin-left: 1rem;
}

#experienceLayerListUl>li.list-layer-id {
	margin-left: 1.5rem;
}

.caret,
.list-layer-id {
	cursor: pointer;
	list-style-type: circle;
	/* list-style: none; */
	word-break: break-word;
	-webkit-user-select: none;
	/* Safari 3.1+ */
	-moz-user-select: none;
	/* Firefox 2+ */
	-ms-user-select: none;
	/* IE 10+ */
	user-select: none;
}

/* li.list-layer-id::before {
	content: '\22C4';
	padding-right: 5px;
} */

.caret::before {
	content: "\203A";
	color: black;
	font-weight: 500;
	font-size: 1.5rem;
	display: inline-block;
	margin-right: 5px;
}

.caret-down::before {
	-ms-transform: rotate(90deg);
	/* IE 9 */
	-webkit-transform: rotate(90deg);
	/* Safari */
	transform: rotate(90deg);
}

.nested {
	display: none;
}

ul.nested.active {
	padding-left: 1.5rem;
}

.active {
	display: block;
}

#mainSidebarAccordion {
	background-color: #e29e16;
	cursor: pointer;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	transition: 0.4s;
}

#mainSidebarAccordion>.card>.card-header {
	background-color: #e29e16;
	padding: 0.2rem;
}

#mainSidebarAccordion>.card>.card-header h2 .btn {
	color: whitesmoke;
}

#bodyWaterMgmtLayerList>.card-body,
#bodyExperienceLayerList>.card-body,
#bodyMetadata>.card-body {
	padding: 1rem;
	background-color: #ffe0a1;
}

#bodyMetadata {
	overflow-y: auto;
}

#bodyMetadataContent {
	word-break: normal;
}


span.layer-opis-title {
	display: block;
	font-weight: 700;
	font-size: .8rem;
	padding-bottom: 0.5rem;
}

span.layer-opis-tekst {
	display: inline-block;
	padding-bottom: 0.5rem;
	font-size: .8rem;
}

span.layer-opis-metadata {
	display: inline-block;
	font-size: .8rem;
}


.flag-icon {
	width: 20px;
	display: inline-block;
	margin-left: .25rem;
}


/* Disclaimer */
#overlay {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.7);
	left: 0;
	top: 0;
	min-width: 100%;
	min-height: 100%;
	z-index: 100;
}

.overlay-content {
	font-family: "Avenir Next W00", "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: center;
	color: whitesmoke;
	border: 2px solid #eaeaea;
	border-radius: .25rem;
	width: 100%;
	font-size: .7rem;
	padding: .5rem;
}

#langChange a {
	color: white;
}

#langChange a img {
	box-shadow: 1px 1px #976e1c;
}


@media (max-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.overlay-content {
		width: 45%;
		min-width: 300px;
		font-size: .9rem;
		padding: 2rem;
	}

	#viewDiv {
		top: 80px;
	}

	.lang-and-manual {
		padding: 1.5rem 0.5rem 1.5rem 1rem;
	}

	.main-container .sidebar_menu {
		top: 80px;
	}

	.sidebar_menu .menu {
		top: 0;
	}

	.btn_close {
		position: absolute;
		top: 5px;
		z-index: 999;
	}
}


