body {
	background: #222;
}
* {
	outline: none;
}
.clear {
	clear: both;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Barlow', sans-serif;
	font-weight: 500;
}

/*********************************************************** HEADER ***************************************************************/

header {
	width: 100%;
	height: auto;
	background-color: #222;
	font-family: 'Barlow Condensed', sans-serif;
	color: #aaa;
	padding: 20px 0;
}
header a {
	color: #aaa;
}
header a:hover, header a:active {
	color: #ccc;
}
header p {
	margin: 0;
	padding: 0;
}
h1 {
	width: 100%;
	max-width: 200px;
	height: 55px;
	position: relative;
	text-indent: -999999px;
	float: left;
	margin: 0;
	padding: 0;
}
h1 a {
	width: 100%;
	height: 100%;
	display: block;
	background: url(/assets/img/logo_ceste_jastrebarsko.svg) left top no-repeat;
	background-size: contain;
}
#working_hours {
	width: 100%;
	height: auto;
}
#working_hours p:last-child {
	font-size: 1.5em;
	line-height: 1em;
}
time {
	color: #ccc;
}
address {
	height: auto;
	box-sizing: border-box;
	font-style: normal;
	font-weight: normal;
}
header address p:last-child {
	font-size: 1.5em;
	line-height: 1em;
}
.icon {
	width: 50px;
	height: 50px;
	border: 3px solid #8DC63F;
	border-radius: 50%;
	margin: 0 10px 0 0;
	position: relative;
	float: left;
}
#phone {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 38px;
	height: 38px;
	background: url(/assets/img/phone.svg) center center no-repeat;
	background-size: 23px 23px;
	
    -webkit-animation-name: spin2;
    -webkit-animation-duration: 5000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin2;
    -moz-animation-duration: 5000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin2;
    -ms-animation-duration: 5000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    
    animation-name: spin2;
    animation-duration: 5000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin2 {
    0% { transform: rotate(0deg); }
	5% { transform: rotate(10deg); }
    10% { transform: rotate(-10deg); }
    15% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
	25% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    35% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    45% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.minutes-container, .hours-container, .seconds-container {
  	position: absolute;
  	top: 0;
  	right: 0;
  	bottom: 0;
  	left: 0;
}
.hours {
  	background: #8DC63F;
  	height: 30%;
  	left: 48.75%;
  	position: absolute;
  	top: 20%;
  	transform-origin: 50% 100%;
  	width: 3px;
}
.minutes {
  	background: #8DC63F;
  	height: 40%;
  	left: 49%;
  	position: absolute;
  	top: 10%;
  	transform-origin: 50% 100%;
  	width: 2px;
}
.seconds {
  	background: #8DC63F;
  	height: 45%;
  	left: 49.5%;
  	position: absolute;
  	top: 14%;
  	transform-origin: 50% 80%;
  	width: 1px;
  	z-index: 8;
	display: none;
}
@keyframes rotate {
  	100% {
    	transform: rotateZ(360deg);
  	}
}
.hours-container {
  	animation: rotate 43200s infinite linear;
}
.minutes-container {
  	animation: rotate 3600s infinite steps(60);
}
.seconds-container {
  	animation: rotate 60s infinite steps(60);
}
i.wi { 
	font-size: 2.5em;
	color: #8dc63f;
	float: right;
	margin-top: 8px;
}
p.weather {
	font-size: 1.5em;
	margin: 0;
	padding: 0 0 0 20px;
	text-align: right;
	float: right;
	width: auto;
}


/*********************************************************** NAV ***************************************************************/

nav {
	width: 100%;
	height: auto;
	min-height: 30px;
	background-color: #8dc63f;
	color: #aaa;
	padding: 0;
	border-bottom: 1px solid #222222;
	position: relative;
	z-index: 100;
}
nav a {
	color: #222;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.2em;
	line-height: 1em;
	font-weight: 500;
}
nav a:hover, nav a:active, nav a:focus, .dropdown.menu > li.is-active > a {
	color: #000;
}
nav a.active, .dropdown.menu > li.is-dropdown-submenu-parent > a.active:hover, .dropdown.menu > li.is-active > a.active, .drilldown .is-drilldown-submenu a.active {
	color: #8dc63f;
	background-color: #222;
}
.dropdown.menu > li > a {
	padding: 0.5rem 1rem;
}
.dropdown.menu > li.is-dropdown-submenu-parent > a::after, .dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
	border-color: #222222 transparent transparent;
}
.dropdown.menu > li.is-dropdown-submenu-parent > a.active::after, .dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a.active::after {
	border-color: #8dc63f transparent transparent;
}
.is-dropdown-submenu, .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu {
	background: #8dc63f;
	border: none;
	border-left: 1px solid #222;
	border-bottom: 1px solid #222;
	border-right: 1px solid #222;
	min-width: 300px;
}
.dropdown .is-dropdown-submenu a, .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu a {
	padding: 0.5rem 1rem;
}
.dropdown .is-dropdown-submenu a:hover, .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu a:hover, .drilldown a, .drilldown a:hover, .drilldown .is-drilldown-submenu a:hover {
	background-color: #7eab40;
}
.dropdown .is-dropdown-submenu a.active:hover, .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu a.active:hover, .drilldown a.active:hover, .drilldown .is-drilldown-submenu a.active:hover  {
	background-color: #222;
}
.dropdown .is-dropdown-submenu li:last-child a, .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu li:last-child a {
	padding-bottom: 1rem;
}

.is-drilldown {
	margin: 0 -0.625rem;
}
.dropdown.menu > li.is-dropdown-submenu-parent > a {
	padding-right: 2rem;
}
.drilldown a, .drilldown .is-drilldown-submenu a {
	background: #8dc63f;
	padding: 0.5rem 1rem;
}
.drilldown .is-drilldown-submenu {
	background: #8dc63f;
}
.drilldown .js-drilldown-back > a::before {
	border-color: transparent #222222 transparent transparent;
}
.drilldown .is-drilldown-submenu-parent > a::after {
	border-color: transparent transparent transparent #222222;
}
.drilldown .is-drilldown-submenu-parent > a.active::after {
	border-color: transparent transparent transparent #8dc63f;
}
.drilldown .js-drilldown-back > a::before {
	margin-top: -4px;
}

.menu {
	margin: -1 auto auto -2px;
}
.dropdown.menu > li.opens-right > .is-dropdown-submenu, .dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu {
	left: -1px;
}
.menu a, .menu .button {
	line-height: 1.5em;
}


#spinner_master_container															{ display: none; z-index: 999999; position: absolute; top: 0; right: 0; }
#spinner_master_container .columns 													{ padding: 0; }
.spinner-master input[type="checkbox"] + label:before               				{ display: none; }
.spinner-master input[type="checkbox"]:checked + label:before  						{ display: none; }
.spinner-master input[type="checkbox"] + label  									{ height: 30px; }
.spinner-master * 																	{ transition: all 0.3s; -webkit-transition: all 0.3s; box-sizing: border-box; }
.spinner-master 																	{ position: relative; margin: 10px; height: 30px; width: 40px; float: right; }
.spinner-master input[type="checkbox"] 												{ display: none; }
.spinner-master label 																{ cursor: pointer; position: absolute; z-index: 99; height: 100%; width: 100%; top: 0; left: 0; margin: 0; text-indent: -999999px; }
.spinner-master .spinner 															{ position: absolute; height: 5px; width: 100%; background-color: #fff; border-radius: 3px; }
.spinner-master .diagonal.part-1 													{ position: relative; float: left; }
.spinner-master .horizontal 														{ position: relative; float: left; margin-top: 5px; }
.spinner-master .diagonal.part-2 													{ position: relative; float: left; margin-top: 5px; }
.spinner-master input[type="checkbox"]:checked ~ .spinner-spin > .horizontal 		{ opacity: 0;}
.spinner-master input[type="checkbox"]:checked ~ .spinner-spin > .diagonal.part-1 	{ -webkit-transform: rotate(135deg); transform: rotate(135deg); margin-top: 10px; }
.spinner-master input[type="checkbox"]:checked ~ .spinner-spin > .diagonal.part-2 	{ -webkit-transform: rotate(-135deg); transform: rotate(-135deg); margin-top: -15px; }
input[type='checkbox'] + label.spinner-spin, input[type='radio'] + label.spinner-spin {
	width: 100% !important;
}


/*********************************************************** INFO ***************************************************************/

section.info_container {
	width: 100%;
	height: 45px;
	min-height: 0;
	background: #222;
}

/* liScroll styles */

.tickercontainer { /* the outer div with the black border */
	background: #222; 
	width: 100%; 
	height: 45px; 
	margin: 0; 
	padding: 0;
	overflow: hidden; 
}
.tickercontainer .mask { /* that serves as a mask. so you get a sort of padding both left and right */
	position: relative;
	left: 0;
	top: 0;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}
ul.newsticker { /* that's your list */
	position: relative;
	left: 100%;
	font-family: 'Barlow', sans-serif;
	font-weight: 300;
	list-style-type: none;
	margin: 0;
	padding: 0;
	color: #fff;
	line-height: 46px;
	font-size: 1em;
}
ul.newsticker li {
	float: left; /* important: display inline gives incorrect results when you check for elem's width */
	margin: 0;
	padding: 0 20px;
	background: #222;
	width: 600px;
}

/********************************* SLIDER ***************************************************************************************************************************************************************/

section.sliders {
	height: 500px;
	min-height: 0;
}
.bx-wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
	width: 100%;
	height: 100%;
}
.bx-wrapper img {
	max-width: 100%;
	display: block;
}
.bx-wrapper .bx-viewport {	
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
	-ms-transform: translatez(0);
	-o-transform: translatez(0);
	transform: translatez(0);
	width: 100%;
	height: 100% !important;
}

.slider_container {
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slider {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.slider li {
	height: 100%;
}
.slide_container {
	width: 100%;
	display: block;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

/*********************************************************** HOME ***************************************************************/

section {
	width: 100%;
	height: auto;
	min-height: 500px;
	background-color: #f3f3f3;
	padding: 0;
	position: relative;
}
section.map {
	min-height: 0;
	margin: 0;
	padding: 0;
}
section.map iframe {
	border: 0;
	width: 100%;
	height: 450px;
}
.map h2 {
	color: #222;
	text-align: center;
	margin: 0 0 1rem 0;
	padding: 0;
	font-family: 'Barlow Condensed', sans-serif;
	position: relative;
}
.map h2:before {
	width: 100%;
	height: 1px;
	background: #222;
	content: '';
	position: absolute;
	top: 60%;
	display: block;
	z-index: 1;
}
.map h2 span {
	background: #f3f3f3;
	padding: 0 2rem;
	position: relative;
	z-index: 2;
}
section.numbers {
	min-height: 0;
	padding: 2rem 0 1rem 0;
}
.number p {
	background-color: #222;
	text-align: center;
	display: block;
	padding: 2rem 0;
	border-radius: 5px;
	font-family: 'Barlow Condensed', sans-serif;
	color: #aaa;
}
.amount {
	font-size: 2.8em;
	color: #8dc63f;
}
.unit {
	
}
section.services {
	min-height: 0;
	background: #222;
	padding: 1rem 0;
}
.services h2 {
	color: #8dc63f;
	text-align: center;
	margin: 0;
	padding: 0;
	font-family: 'Barlow Condensed', sans-serif;
	position: relative;
}
.services h2:before {
	width: 100%;
	height: 1px;
	background: #8dc63f;
	content: '';
	position: absolute;
	top: 60%;
	display: block;
	z-index: 1;
}
.services h2 span {
	background: #222;
	padding: 0 2rem;
	position: relative;
	z-index: 2;
}
.service {
	padding: 1rem 0;
}
.service_container {
	width: 100%;
	padding-top: 100%;
	position: relative;
	height: 0;
  	overflow: hidden;
}
.service_container a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
  	width: 100%;
  	height: 100%;
	background-color: #fff;
	color: #222;
	text-align: center;
	border-radius: 5px;
	font-family: 'Barlow Condensed', sans-serif;
	background-repeat: no-repeat;
	background-size: auto 40%;
	background-position: 50% 20%;
	line-height: 1.5em;
}
.service_container a span {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	padding: 15% 10%;
	font-size: 1.5em;
}

/*********************************************************** CONTENT ***************************************************************/


.text {
	min-height: 500px;
	background: #fff;
	padding: 2rem 4rem;
	color: #222;
	font-family: 'Barlow', sans-serif;
	text-align: justify;
}
.text p a, .text li a {
	font-style: italic;
	color: #000;
}
.text a:hover {
	color: #000;
	text-decoration: underline;
}
.text table {
	width: 100%;
	padding: 0;
	margin: 2rem 0;
	border-collapse: collapse;
	border: none;
}
.text table th {
	background: #8dc63f;
	border: 1px solid #222;
}
.text table td {
	border: 1px solid #222;
}
tbody tr:nth-child(odd) {
	background-color: #f3f3f3;
}
tbody tr:nth-child(even) {
	background-color: #fff;
}
.ui-accordion-header {
	cursor: pointer;
}
h2 {
	margin-bottom: 1rem;
	font-size: 2.5em;
}
.text h2 {
	color: #222;
	text-align: left;
	margin: 1rem 0;
	padding: 0;
	font-family: 'Barlow Condensed', sans-serif;
	position: relative;
}
.text h2:before {
	width: 100%;
	height: 1px;
	background: #8dc63f;
	content: '';
	position: absolute;
	bottom: 0.6em;
	display: block;
	z-index: 1;
}
.text h2 span {
	background: #fff;
	padding: 0 2rem 0 0;
	position: relative;
	z-index: 2;
}
.text strong {
	font-weight: 600;
}
h3 {
	font-size: 1.6em;
	font-family: 'Barlow Condensed', sans-serif;
}
h3 .ui-icon {
	width: 0;
	height: 0;
	display: inline-block;
	border: inset 6px;
	content: '';
	border-bottom-width: 0;
	border-top-style: solid;
	border-color: #8dc63f transparent transparent;
	margin: 0 7px 7px 0;
}
h3.ui-state-active .ui-icon {
	transform: rotate(-90deg);
}
.ui-accordion-content {
	padding: 0 0 0 25px;
}
.imgs, .docs {
	width: 100%;
	height: auto;
	padding: 1rem 0;
}
.imgs {
	margin: 0 -3px;
}
.mid_img img {
	max-height: 500px;
	display: block;
	position: relative;
	margin: 0 auto;
}
.mid_img, .small_img {
	text-align: center;
	display: block;
	width: auto;
	height: auto;
}
.document_info {
	font-size: 0.7em;
}
.docs.ui-accordion-content {
	padding: 1rem 0 1rem 25px;
}
.docs a {
	color: #222;
}
.docs a i {
	font-size: 2em;
	float: left;
	display: inline-block;
	margin: 5px 20px 10px 0;
}
.small_img {
	display: block;
	width: 150px;
	height: auto;
	padding-top: 150px;
	position: relative;
	overflow: hidden;
	float: left;
	margin: 3px;
}
.small_img div {
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	position: absolute;
	top: 0;
	left: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	margin: 1px;
}
.hidden_img {
	visibility: hidden;
	width: 0;
	height: 0;
}
.lg-backdrop {
	background-color: rgba(0,0,0,0.9);
}
.date {
	font-size: 0.7em;
	margin-top: -1rem;
}
h5 a {
	color: #222;
	font-style: italic;
}

/*********************************************************** NEWS ***************************************************************/

section.news_container {
	min-height: 0;
	padding: 0 0 0.125rem 0;
}
.news_container h2 {
	color: #222;
	text-align: center;
	margin: 1rem 0;
	padding: 0;
	font-family: 'Barlow Condensed', sans-serif;
	position: relative;
}
.news_container h2:before {
	width: 100%;
	height: 1px;
	background: #222;
	content: '';
	position: absolute;
	top: 60%;
	display: block;
	z-index: 1;
}
.news_container h2 span {
	background: #f3f3f3;
	padding: 0 2rem;
	position: relative;
	z-index: 2;
}
.news {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	margin: 0 0 1.875rem 0;
}
.news h3 {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	font-size: 1.5em;
	line-height: 1.2em;
	font-family: 'Barlow', sans-serif;	
	text-align: left;
	border-bottom: 1px solid #aaa;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	margin: 0;
	padding: 0;
}
.news h3 a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 2rem;
	color: #222;
	box-sizing: border-box;
}
.news h3 a span {
	display: block;
	width: 100%;
	font-size: 0.5em;
}
.news_image {
	position: relative;
	padding-top: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -999999px;
}

/*********************************************************** FOOTER ***************************************************************/

footer {
	width: 100%;
	height: auto;
	background-color: #222222;
	font-family: 'Barlow Condensed', sans-serif;
	color: #aaa;
	padding: 20px 0;
}
footer h2 {
	font-size: 1.5em;
	line-height: 1em;
	margin: 10px 0;
	padding: 0;
}
footer p {
	margin: 10px 0;
}
footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	float: right;
}
footer ul li {
	display: inline-block;
}
footer .link_logo {
	display: block;
	width: 150px;
	height: 41px;
	background-size: contain;
	background-position: left top;
	background-repeat: no-repeat;
	margin: 10px;
}
a#link_grad {	
	background-image: url(/assets/img/logo_grad_jastrebarsko.png);
	text-indent: -999999px;
	color: #ffffff !important;
	background-color: #222222;
}
a#link_vode {
	background-image: url(/assets/img/logo_vode_jastrebarsko.svg);
	text-indent: -999999px;
	color: #ffffff !important;
	background-color: #222222;
}
a#link_groblja {
	background-image: url(/assets/img/logo_groblja_jastrebarsko.svg);
	text-indent: -999999px;
	color: #ffffff !important;
	background-color: #222222;
}
a#paydo {
	display: block;
	width: 65px;
	height: 65px;
	margin: 5px 10px;
	background: url(/assets/img/logo_paydo.png) center center no-repeat;
	background-size: contain;	
	clear: both;
	float: right;
	text-indent: -999999px;
	color: #ffffff !important;
	background-color: #222222;
}


/******* PRIVACY ********************************************************************************************************/

/* Cookie Dialog */
#gdpr-cookie-message {
    position: fixed;
    right: 30px;
    bottom: 30px;
    max-width: 375px;
    background-color: #000;
    padding: 20px;
    border-radius: 5px;
    margin-left: 30px;
}
#gdpr-cookie-message h4 {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 10px 0;
	padding:0;
}
#gdpr-cookie-message h5 {
    color: #fff;
    font-size: 16px;
    margin: 10px 0;
	padding:0;
	font-weight:normal;
}
#gdpr-cookie-message p, #gdpr-cookie-message ul {
    color: #fff;
    font-size: 14px;
    line-height: 1.5em;
	font-family: 'Barlow', sans-serif;
	text-align: justify;
}
#gdpr-cookie-message p:last-child {
    margin-bottom: 0;
    text-align: right;
}
#gdpr-cookie-message li {
    width: 49%;
    display: inline-block;
	padding: 5px 0;
}
#gdpr-cookie-message a {
	color:#fff;
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 2px;
    border-bottom: 1px dotted rgba(255,255,255,0.75);
    transition: all 0.3s ease-in;
}
#gdpr-cookie-message a:hover {
    color: white;
    border-bottom-color: var(--red);
    transition: all 0.3s ease-in;
}
#gdpr-cookie-message button,
button#ihavecookiesBtn {
    border: none;
    color: #000;
    font-size: 14px;
    padding: 7px;
    border-radius: 3px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s ease-in;
	font-family: 'Barlow', sans-serif;
	background: white;
}
#gdpr-cookie-message button:hover {
    background: #ccc;
    transition: all 0.3s ease-in;
}
button#gdpr-cookie-advanced {
    background: white;
}
#gdpr-cookie-message button:disabled {
    opacity: 0.3;
}
#gdpr-cookie-message label {
	color: white;
}
#gdpr-cookie-message input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 5px;
	float: left;
	width: 20px;
	height: 20px;
}
