body {
	margin: 0px;
	font-family: 'Montserrat', sans-serif;
	background-image: url("../_images/background-stripe.png");
	background-repeat: repeat;
}

h1, h2 {
	margin: 20px;
	border-bottom: 1px solid rgba(39, 174, 165, 0.2);
	text-indent: 20px;
	color: #27AEA5;
	font-size: 25px;
}
h2 {
	font-size: 20px;
}
p {
	margin: 10px 20px 10px 20px;
	font-size: 14px;
	color: #222;
	text-indent: 20px;
	line-height:150%;
}

.divBlock {
	position: relative;
	width: 1200px;
	margin: auto;
	padding: 0px;
	display: block;
	overflow: auto;
}
.divBlockWide {
	position: relative;
	width: 100%;
	margin: 0px auto 20px auto;
	padding: 0px;
	display: block;
	overflow: hidden;
}
.divCol300, .divCol600, .divCol900 {
	position: relative;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	float: left;
}
.divCol300 {
	width: 300px;
}
.divCol600 {
	width: 600px;
	
}
.divCol900 {
	width: 900px;
	
}

.imgPartner {
	position: relative;
	width: 150px;
	display: block;
	margin: 0px 75px 0px 75px;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter ….3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray;
	-webkit-filter: grayscale(100%);
}
.imgPrimer {
	position: relative;
	width: 112px;
	float: left;
}
.imgPrimer:first-of-type {
	margin: 0px 0px 0px 20px;
}
.imgPrimer:last-of-type {
	margin: 0px 20px 0px 0px;
}

.center {
	font-size: 16px;
	text-align: left;
	display: block;
	margin: 10px 20px 0px 20px;
}

.thumbContainer {
	display: block;
	margin: 10px 0px 30px 0px;
	overflow: auto;
}
.thumbContainer > img {
	position: relative;
	width: 250px;
	float: left;
	margin: 0px 0px 0px 20px;
	padding: 0px 0px 20px 0px;
	background-image: url("_images/bottom-shadow.png");
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: contain;
}
#iframeGoogleMap {
	position: relative;
	height: 400px;
	width: 100%;
	border: none;
	margin: 0px;
	padding: 0px;
}

/* -------------------- header -------------------- */
	#header {
		height: 400px;
		margin: 10px auto 0px auto;
		background-color: #EEE;
		overflow: hidden;
	}
	
	#header > img:nth-of-type(1) {
		position: absolute;
		height: 100%;
		width: 100%;
		top: 0px;
		left: 0px;
	}
	
	#header > a {
		position: absolute;
		margin: 20px 0px 0px 20px;
	}
	#header > a > img {
		height: 130px;
	}
	
	#header > div:nth-of-type(1) {
		position: absolute;
		top: 0px;
		left: 0px;
		height: 0px;
		width: 0px;
		border-top: 	155px solid rgba(255, 255, 255, 0.7);
		border-right: 	155px solid transparent;
		border-bottom: 	155px solid transparent;
		border-left: 	155px solid rgba(255, 255, 255, 0.7);
	}
	#header > div:nth-of-type(2) {
		position: absolute;
		top: 310px;
		left: 0px;
		height: 90px;
		width: 100%;
		background-color: rgba(255, 255, 255, 0.7);
	}
	
	#header > ul {
		position: relative;
		width: 520px;
		list-style: none;
		margin: 315px auto 0px auto;
		padding: 0px;
		display: block;
	}
	#header > ul > li {
		float: left;
	}
	#header > ul > li > a:link, #header > ul > li > a:visited, #header > ul > li > a:hover, #header > ul > li > a:active {
		text-decoration: none;
		line-height: 80px;
		color: #000;
		padding: 0px 20px 0px 20px;
		display: inline-block;
		font-size: 30px;
	}
	#header > ul > li > a:hover {
		color: #222;
	}

/* -------------------- content -------------------- */
	#content {
		background-color: #FFF;
		padding: 0px 0px 20px 0px;
	}

/* -------------------- divFrontPageCategoryPreview -------------------- */
	#divFrontPageCategoryPreview {
		position: relative;
		width: 580px;
		height: 0px;
		display: block;
		margin: 0px 0px 0px 20px;
		transition:			All 0.5s ease;
		-webkit-transition:	All 0.5s ease;
		-moz-transition:	All 0.5s ease;
		-o-transition:		All 0.5s ease;
		overflow: hidden;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		opacity: 0;
	}
	#divFrontPageCategoryPreview > p {
		position: absolute;
		top: 5px;
		display: block;
		margin: 0px;
		padding: 10px;
		text-align: center;
		background-color: rgba(255, 255, 255, 0.75);
		color: #000;
		text-indent: 0px;
	}

/* -------------------- ulSideNav -------------------- */
	#ulSideNav {
		position: relative;
		list-style: none;
		margin: 20px 0px 0px 20px;
		padding: 0px;
	}
	#ulSideNav > li {
		color: #27AEA5;
		font-size: 22px;
	}
	
	#ulSideNav > li > .pageLink, #ulSideNav > li > .anchorLink {
		text-decoration: none;
		font-size: 16px;
		line-height:180%;
		display: block;
		transition:			All 0.25s ease;
		-webkit-transition:	All 0.25s ease;
		-moz-transition:	All 0.25s ease;
		-o-transition:		All 0.25s ease;
	}
	
	#ulSideNav > li > .pageLink {
		color: #27AEA5;
		margin: 5px 0px 0px 10px;
	}
	#ulSideNav > li > .pageLink:hover {
		background-color: rgba(39, 174, 165, 0.05);
		text-indent: 5px;
	}
	
	#ulSideNav > li > .anchorLink {
		color: #222;
		margin: 0px 0px 0px 20px;
	}
	#ulSideNav > li > .anchorLink:hover {
		background-color: #F3F3F3;
		text-indent: 5px;
	}


/* -------------------- divRezultat -------------------- */
	.divInner {
		margin: 14px;
	}
	#divFilter > span {
		display: block;
		margin: 10px 0px 0px 0px;
		color: #27AEA5;
	}
	.divRezultat {
		position: relative;
		margin: 5px 5px 10px 5px;
		padding: 0px 0px 12px 0px;
		background-image: url("_images/bottom-shadow.png");
		background-position: bottom center;
		background-repeat: no-repeat;
		background-size: contain;
		cursor: pointer;
		opacity: 0.85;
		display: inline-block;
	}
	.divRezultat:hover {
		opacity: 1;
	}
	.divRezultat > img {
		width: 205px;
	}

/* -------------------- footer -------------------- */
	#footer {
		margin: 0px auto 50px auto;
		background-color: #EEE;
		border-top: 1px solid #DDD;
	}
	#imgFooterLogo {
		margin: 40px 75px 20px 75px;
		width: 150px;
	}
	.imgFooterPartner {
		position: relative;
		width: 152px;
		margin: 0px 0px 20px 20px;
	}
	#memorandumLink {
		color: #222;
		text-decoration: none;
		font-weight: bold;
		display:table-caption;
	}

/* -------------------- preview -------------------- */
	#preview {
	    position: fixed;
	    top: 0px;
	    left: 0px;
	    height: 100%;
	    width: 100%;
	    background-color: rgba(255, 255, 255, 0.6);
	    z-index: 99;
	}
	#preview > div {
	    position: absolute;
	    top: 10%;
	    left: 10%;
	    height: 80%;
	    width: 80%;
	    background-color: #FFF;
	    -moz-box-shadow:    1px 1px 6px #AAA;
	    -webkit-box-shadow: 1px 1px 6px #AAA;
	    box-shadow:         1px 1px 6px #AAA;
	}
	#preview > div > div {
	    position: absolute;
	    display: block;
	}
	#preview > div > div:nth-of-type(1) {
	    top: 0%;
	    left: 0%;
	    height: 80%;
	    width: 70%;
	    text-align: center;
	}
	#preview > div > div:nth-of-type(1) > img {
	    max-height: 100%;
	    max-width: 100%;
	}
	#preview > div > div:nth-of-type(2) {
	    top: 80%;
	    left: 0%;
	    height: 20%;
	    width: 70%;
	    overflow: hidden;
	}
	#preview > div > div:nth-of-type(2) > img {
	    height: 90%;
	    margin: 2px;
	}
	#preview > div > div:nth-of-type(3) {
	    top: 0%;
	    left: 70%;
	    height: 100%;
	    width: 30%;
	    overflow: auto;
	}
	#preview > div > div:nth-of-type(3) > span {
	    display: block;
	    line-height: 40px;
	    font-size: 30px;
	    color: #27AEA5;
	    font-weight: bold;
	    margin: 10px;
	}
	#preview > div > div:nth-of-type(3) > p {
	    margin: 10px;
	    text-indent: 0px;
	}



/* -------------------- SCREEN SIZE OPTIMIZATION -------------------- */


/* -------------------- 1220px -------------------- */
	@media all and (min-width: 0px) and (max-width: 1220px) {
		.divBlock {
			width: 960px;
		}
		.divCol900 {
			width: 660px;
		}
		.divRezultat {
			margin: 1px;
		}
	}
	
/* -------------------- 980px -------------------- */
	@media all and (min-width: 0px) and (max-width: 980px) {
		.divBlock {
			width: 100%;
		}
		
		#header {
			height: auto;
			margin: 0px 0px -4px 0px;
			overflow: auto;
		}
		#header > img:nth-of-type(1) {
			position: relative;
			height: auto;
			width: 100%;
			z-index: 1;
		}
		#header > a {
			position: absolute;
			top: 0px;
			left: 0px;
			z-index: 3;
		}
		#header > a > img {
			height: 80px;
		}
		#header > div:nth-of-type(1) {
			border-top: 	100px solid rgba(255, 255, 255, 0.7);
			border-right: 	100px solid transparent;
			border-bottom: 	100px solid transparent;
			border-left: 	100px solid rgba(255, 255, 255, 0.7);
			z-index: 2;
		}
		#header > div:nth-of-type(2) {
			display: none;
		}
		#header > ul {
			position: absolute;
			height: 80px;
			width: auto;
			bottom: 4px;
			right: 0px;
			margin: 0px;
			display: block;
			background-color: rgba(255, 255, 255, 0.5);
			z-index: 2;
		}
		
		.divCol300, .divCol600, .divCol900 {
			width: 100%;
		}
		
		#ulSideNav {
			margin: 10px;
		}
		#ulSideNav > li {
			width: 33%;
			float: left;
			text-align: center;
		}
		#ulSideNav > li > .pageLink {
			margin: 10px 0px 10px 0px;
		}
		#ulSideNav > li > .anchorLink {
			display: none;
		}
		
		#footer {
			margin-bottom: 0px;
		}
		#imgFooterLogo {
			margin: 20px auto 0px auto;
			display: block;
			width: 100px;
		}
	}
	
/* -------------------- 980px -------------------- */
	@media all and (min-width: 0px) and (max-width: 480px) {
		#header > img:nth-of-type(1) {
			display: none;
		}
		#header > a {
			position: relative;
			width: auto;
			display: block;
			margin: auto;
			padding: 10px;
			z-index: 3;
		}
		#header > a > img {
			height: 75px;
		}
		#header > div:nth-of-type(1) {
			display: none;
		}
		#header > div:nth-of-type(2) {
			display: none;
		}
		#header > ul {
			position: relative;
			height: 40px;
		}
		#header > ul > li > a:link, #header > ul > li > a:visited, #header > ul > li > a:hover, #header > ul > li > a:active {
			font-size: 20px;
			line-height: 40px;
		}
		
		.divRezultat > img {
			width: 120px;
		}
	}
	
/* -------------------- 980px -------------------- */
	@media all and (orientation: portrait) {
		#preview > div {
			top: 5%;
			height: 90%;
		}
		#preview > div > div:nth-of-type(1), #preview > div > div:nth-of-type(2), #preview > div > div:nth-of-type(3) {
			left: 0%;
			width: 100%;
		}
		#preview > div > div:nth-of-type(1) {
			top: 0%;
			height: 40%;
		}
		#preview > div > div:nth-of-type(2) {
			top: 40%;
			height: 20%;
			background-color: #EEE;
			overflow: hidden;
		}
		#preview > div > div:nth-of-type(2) > img {
			height: 45%;
		}
		#preview > div > div:nth-of-type(3) {
			top: 60%;
			height: 40%;
		}
		#preview > div > div:nth-of-type(3) > span {
			font-size: 18px;
			line-height: 20px;
			margin: 10px;
		}
		

	}
	/* ===== MOBILE FIX MENU GRID ===== */

@media (max-width: 700px) {

    #ulSideNav {
        margin: 10px !important;
        display: block !important;
        overflow: hidden;
    }

    #ulSideNav > li {
        width: 100% !important;
        float: none !important;
        text-align: left !important;
        margin-bottom: 8px;
    }

    #ulSideNav > li > .pageLink,
    #ulSideNav > li > .anchorLink {
        display: block !important;
        padding: 10px;
        background: rgba(39,174,165,0.05);
        border-radius: 4px;
    }

}
/* ===== MOBILE FIX SIDE MENU CLEAN ===== */

@media (max-width: 700px) {

    #ulSideNav {
        margin: 10px !important;
        padding: 0 !important;
    }

    #ulSideNav > li {
        width: 100% !important;
        float: none !important;
        text-align: left !important;
        margin: 0 0 8px 0 !important;
    }

    #ulSideNav > li > .pageLink {
        display: block !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        background: rgba(39,174,165,0.06);
        border-radius: 4px;
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    #ulSideNav > li > .anchorLink {
        display: none !important;
    }

    h1, h2 {
        margin: 14px 10px !important;
        text-indent: 0 !important;
    }

    p {
        margin: 10px !important;
        text-indent: 0 !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .divBlockWide {
        margin-bottom: 10px !important;
    }
}
/* ===== LINK STYLE FIX ===== */

a {
    color: #27AEA5;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

a:hover {
    text-decoration: underline;
}