body {
	margin: 0;
	padding: 0;
	font-family: Source Sans Pro,sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 27px;
}

@media screen and (max-width:2500px) {
	body {
		font-size: 25px;
	}
}

@media screen and (max-width:2200px) {
	body {
		font-size: 23px;
	}
}

@media screen and (max-width:1600px) {
	body {
		font-size: 21px;
	}
}

@media screen and (max-width:1400px) {
	body {
		font-size: 19px;
	}
}

@media screen and (max-width:1200px) {
	body {
		font-size: 17px;
	}
}

@media screen and (max-width:1000px) {
	body {
		font-size: 16px;
	}
}

@media screen and (max-width:800px) {
	body {
		font-size: 15px;
	}
}

@media screen and (max-width:640px) {
	body {
		font-size: 14px;
	}
}

@media screen and (max-width:480px) {
	body {
		font-size: 13px;
	}
}

#app {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
}

#app,.flex {
	display: flex;
}

.flex.column {
	flex-direction: column;
}

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

.flex.half {
	flex: 1 1 50%;
	height: 100%;
	width: 100%;
}

@media screen and (max-width:480px) {
	.flex {
		flex-direction: column!important;
	}
}

.header {
	display: flex;
	height: 15vh;
	max-height: 120px;
	min-height: 60px;
	width: 100%;
	background-color: #efefef;
	box-shadow: 0 3px 10px #555;
	justify-content: space-between;
	z-index: 99;
}

.header .left,.header .right {
	display: flex;
	flex: 0 1 215px;
}

.header .right {
	justify-content: flex-end;
}

@media screen and (max-width:786px) {
	.header .left {
		flex: 0 0;
	}
}

.header .logo {
	display: block;
	flex: 2 1 40%;
	background-image: url(../../svg/LogoBHAS.svg);
	width: 100%;
	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	pointer-events: all;
}

.body {
	color: #666;
	background-color: #fff;
	align-items: center;
	line-height: 1.5em;
	flex: 1 1 100%;
}

.body.download {
	flex-direction: column;
	overflow-y: auto;
}

.body .sections {
	display: block;
	width: 80vw;
	max-width: 1000px;
}

.body .sections .section {
	display: inline-block;
	padding-bottom: 3vh;
	width: 100%;
}

.body .sections .section h2 {
	margin: 1.5em 0 1em;
}

.body .sections .section article {
	margin: .7em 0 1.5em;
}

.body .sections .section .items {
	height: auto;
}

.body .sections .section .items .item {
	margin: 5px 5vw 5px 0;
}

.body .sections .section .items .item.icon {
	background-image: url(../../svg/pdf.svg);
	background-repeat: no-repeat;
	background-position: left 14px;
	padding-left: 2.5em;
}

.body .sections .section .items .item h4 {
	margin: .7em 0;
}

.body .sections .section .items .item h4 .docs {
	display: inline-block;
}

.body .sections .section .items .item img {
	width: 100%;
	height: 100%;
}

.body .sections .section .items.census-forms {
	display: block;
	flex-direction: row;
	justify-content: space-between;
}

.body .sections .section .items.census-forms .item {
	display: block;
	height: auto;
	width: 45%;
	float: left;
	margin-right: 4%;
}

.body .sections.reports {
	margin: 0 auto;
}

.panel {
	display: flex;
	flex: 1 1 50%;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	flex-direction: column;
	box-sizing: border-box;
	overflow: hidden;
	cursor: pointer;
	color: #fff;
}

.panel .text {
	flex: 1 0 auto;
}

.panel .text h2 {
	margin: 3vw 3vw 3vh;
	font-size: 120%;
	line-height: 1.3em;
	text-transform: uppercase;
}

.panel .text article {
	margin: 0 3vw;
	font-size: 100%;
}

.panel .image {
	flex: 0 1 60%;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: contain;
	margin: 5%;
}

.panel .overlay {
	display: flex;
	position: absolute;
	padding: 0;
	opacity: .5;
	height: 100%;
	width: 100%;
	background-color: transparent;
	-webkit-transition: opacity .5s;
	transition: opacity .5s;
}

.panel .overlay .text {
	display: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: auto;
	color: #fff;
	text-shadow: 2px 2px 0 #000;
	font-size: 170%;
}

.panel:hover.dinamicki .text article,.panel:hover.dinamicki .text h2 {
	text-shadow: 0 0 6px hsla(0,0%,100%,.6);
	color: hsla(0,0%,100%,0);
}

.panel:hover.dinamicki .image {
	filter: blur(6px);
	-webkit-filter: blur(6px);
}

.panel:hover .overlay {
	opacity: 1;
	background-color: rgba(0,0,0,.6);
}

.panel:hover .overlay .text {
	display: flex;
}

.panel.vizuelni {
	background-color: #ffca01;
}

.panel.vizuelni .text h2 {
	font-size: 180%;
}

.panel.vizuelni .text article {
	font-size: 120%;
}

.panel.vizuelni .image {
	background-image: url(../../svg/popisi_icona_gs.svg);
}

.panel.jednostavan {
	background-color: #0288d1;
}

/*.panel.jednostavan .text {
	flex: 1 1 60%;
}*/

.panel.jednostavan .text h2 {
	font-size: 180%;
}

.panel.jednostavan .text article {
	font-size: 120%;
}

.panel.jednostavan .image {
	background-image: url(../../svg/popis_icona_gs.svg);
}

.panel.dinamicki {
	background-color: #0277bd;
}

.panel.dinamicki .image {
	opacity: .3;
	background-image: url(../../svg/digitron_icona_gs.svg);
}

.panel.dinamicki .text {
	opacity: .3;
}

.panel.download {
	background-color: #0288d1;
}

.panel.download .image {
	background-image: url(../../svg/download.svg);
}

.language-picker-container {
	margin: auto 25px;
	width: auto;
	max-width: 300px;
	height: 50px;
}

.language-picker-container .active-language,.language-picker-container .dropdown {
	width: 100%;
	background-color: #fff;
	border-radius: 4px;
	border: 1px solid #e8e8e8;
}

.language-picker-container .active-language {
	display: flex;
	cursor: pointer;
	pointer-events: all;
	padding: 15px;
	width: 135px;
	font-size: 14px;
}

.language-picker-container .active-language div {
	line-height: 18px;
	flex: 0 0 auto;
	color: #717274;
}

.language-picker-container .active-language .name {
	flex: 2 2 auto;
	font-weight: 600;
	margin-left: 8px;
	background-image: url(../../svg/baseline-arrow_drop_down-24px.svg);
	background-repeat: no-repeat;
	background-position: 100%;
	color: #2c2d30;
}

.language-picker-container .active-language .name.expanded {
	background-image: url(../../svg/baseline-arrow_drop_up-24px.svg);
}

.language-picker-container .dropdown {
	display: none;
	margin-top: 4px;
	padding: 6px 8px 8px;
	width: calc(100% - 18px);
}

.language-picker-container .dropdown.expanded {
	display: flex;
	flex-direction: column;
}

.language-picker-container .dropdown.expanded .item {
	flex: 0 0 auto;
	padding: 14px;
	cursor: pointer;
	pointer-events: all;
	border-radius: 4px;
	font-size: 14px;
	line-height: 18px;
	margin-top: 2px;
}

.language-picker-container .dropdown.expanded .item.selected {
	background-color: rgba(74,144,226,.08);
}

.language-picker-container .dropdown.expanded .item:hover {
	background-color: rgba(0,0,0,.05);
}

@media screen and (max-width:480px) {
	.header .left {
		display: none;
	}

	.header .logo {
		flex: 0 1 50%;
		margin: 15px;
		background-image: url(../../svg/LogoBHASs.svg);
	}

	.header .right {
		flex: 0 1 50%;
	}

	.header .right .language-picker-container {
		margin: auto 12px;
	}

	.header .right .language-picker-container .active-language {
		padding: 15px 10px;
	}

	.panel {
		flex: 1 0 15%;
		flex-direction: row;
		font-size: 90%;
	}

	.panel .text {
		flex: 0 0 65%;
	}

	.panel .text article,.panel .text h2 {
		margin: 5vw;
	}

	.panel .image {
		flex: 0 0 25%;
	}

	.panel.jednostavan {
		flex: 1 0 20%;
	}
}