﻿/* VERTIKALNI BLOK Visina 480px */
.inin-vert-block{
	margin-bottom: 15px;
	padding-right: 8px;
	padding-left: 8px;
}
.inin-vert-block a{
	text-decoration: none;
    display:block;
    border-radius: 0px;
    background-color: #FFFFFF;
    width: 100%;
	height: 480px;
    float:left;
	overflow: hidden;
    transition: 0.5s;
}
.inin-vert-block .img-wrapper{
    display:block;
    float: left;
    width: 100%;
    height: 250px;
    background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.inin-vert-block .datum{
	display: block;
	text-align: right;
	position: absolute;
	margin-top: 8px;
	margin-right: 8px;
    font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	background: #076B82 !important;
	color: #FFFFFF;
	top: 0px;
	right: 0px;
	padding-top: 8px;
	padding-right: 12px;
	padding-bottom: 4px;
	padding-left: 12px;
    border-radius: 0px;
}
.inin-vert-block .description {
    display:block;
    float: left;
    width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 15px;
    line-height: 25px;
    height: 215px;
    overflow:hidden;
}
.inin-vert-block h2{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 21px;
	font-weight: 400;
	text-align: center;
	line-height: 25px;
	padding-top: 20px;
	padding-bottom: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #014251 !important;
    /* color: #2169A0 !important; */
}
.inin-vert-block p{
    font-size: 16px;
	font-family: 'Montserrat', sans-serif;
    color: #444444;
}
.inin-vert-block a:hover{
    background-color: #FFFFFF;
}
.inin-vert-block a:hover h2{
    color: #076b82 !important;
}
@media screen and (max-width: 360px) {
    .inin-vert-block h2{
        font-size: 20px;
    }
}

/* HORIZONTALNI BLOK Visina 300px */
.inin-hor-block{
	margin-bottom: 15px;
	padding-right: 8px;
	padding-left: 8px;
}
.inin-hor-block a{
	text-decoration: none;
	display:block;
	border-radius: 0px;
	background-color: #FFFFFF;
	float: left;
	width:100%;
	height: 250px;
	overflow:hidden;
    transition: 0.5s;
}
.inin-hor-block .img-wrapper{
	overflow: hidden;
	display:block;
	float: left;
	width: 45%;
    height: 100%;
    background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.inin-hor-block .description {
	display:block;
	float: left;
	width: 55%;
	line-height: 25px;
	height: 225px;
	overflow:hidden;
	padding-top: 25px;
	padding-right: 25px;
	padding-left: 25px;
}
.inin-hor-block .datum{
	display: block;
	width: 100%;
	text-align: left;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	color: #333333;
	padding-top: 0px;
	padding-bottom: 15px;
}
.inin-hor-block h2{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 21px;
	font-weight: 400;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #014251 !important;
    /* color: #2169A0 !important; */
}
.inin-hor-block p{
    font-size: 16px;
	font-family: 'Montserrat', sans-serif;
    color: #444444;
	text-align: left;
}
.inin-hor-block a:hover{
}
.inin-hor-block a:hover h2{
    color: #076b82 !important;
}

/* HORIZONTALNI BLOK Visina 300px */
.inin-hor-block-200{
	margin-bottom: 15px;
	padding-right: 8px;
	padding-left: 8px;
}
.inin-hor-block-200 a{
	text-decoration: none;
	display:block;
	border-radius: 0px;
	background-color: #FFFFFF;
	float: left;
	width:100%;
	height: 200px;
	overflow:hidden;
    transition: 0.5s;
}
.inin-hor-block-200 .img-wrapper{
	overflow: hidden;
	display:block;
	float: left;
	width: 30%;
    height: 100%;
    background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.inin-hor-block-200 .description {
	display:block;
	float: left;
	width: 70%;
	line-height: 25px;
	height: 175px;
	overflow:hidden;
	padding-top: 25px;
	padding-right: 25px;
	padding-left: 25px;
}
.inin-hor-block-200 .datum{
	display: block;
	width: 100%;
	text-align: left;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	color: #333333;
	padding-top: 0px;
	padding-bottom: 15px;
}
.inin-hor-block-200 h2{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 21px;
	font-weight: 400;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #014251 !important;
    /* color: #2169A0 !important; */
}
.inin-hor-block-200 p{
    font-size: 16px;
	font-family: 'Montserrat', sans-serif;
    color: #444444;
	text-align: left;
}
.inin-hor-block-200 a:hover{
}
.inin-hor-block-200 a:hover h2{
    color: #076b82 !important;
}

/* KATEGORIJA BLOK - Samo slika i h2 */
.inin-category-block{
	margin-bottom: 15px;
	padding-right: 8px;
	padding-left: 8px;
}
.inin-category-block a{
	text-decoration: none;
	display:block;
	border-radius: 0px;
	background-color: #006699;
	width:100%;
	float:left;
	height:250px;
	overflow:hidden;
  transition: 0.5s;
}
.inin-category-block .img-wrapper{
	overflow: hidden;
	display:block;
	float: left;
	width: 100%;
  height: 100%;
	position: relative;
}
.inin-category-block .description {
	width: 100%;
	position: absolute;
	height: 100%;
	display: flex;
  justify-content: center;
  align-items: center;
}
.inin-category-block h2{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 36px;
	font-weight: 400;
	text-align: center;
	margin: 0px;
	color: #FFFFFF;
	text-transform: uppercase;
	padding-top: 0px;
	padding-right: 15px;
	padding-bottom: 0px;
	padding-left: 15px;
	text-shadow: rgba(0, 0, 0, 0.8) 0px 1px 2px;
  transition: 0.5s;
}
.inin-category-block a:hover{
}
.inin-category-block a:hover h2{
    color: #1e97f4;
}
@media screen and (max-width: 360px) {
    .inin-category-block h2{
        font-size: 20px;
    }
}

/* HORIZONTALNI KONTAKT BLOK Visina 200px */
.inin-contact-block-hor{
	margin-bottom: 15px;
	padding-right: 8px;
	padding-left: 8px;
}
.inin-contact-block-hor a,
.inin-contact-block-hor .no-link
{
	text-decoration: none;
	display:block;
	border-radius: 0px;
	background-color: #FFFFFF;
	float: left;
	width:100%;
	height: 200px;
	overflow:hidden;
    transition: 0.5s;
}
.inin-contact-block-hor .img-wrapper{
	overflow: hidden;
	display:block;
	float: left;
	width: 30%;
    height: 100%;
    background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.inin-contact-block-hor .description {
	display:block;
	float: left;
	width: 70%;
	line-height: 25px;
	height: 175px;
	overflow:hidden;
	padding-top: 15px;
	padding-right: 15px;
	padding-left: 15px;
}
.inin-contact-block-hor h2{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 21px;
	font-weight: 400;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #014251 !important;
    /* color: #2169A0 !important; */
}
.inin-contact-block-hor h3{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18px;
	font-weight: 200;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #333333 !important;
}
.inin-contact-block-hor p{
    font-size: 16px;
	font-family: 'Montserrat', sans-serif;
    color: #444444;
	text-align: left;
	white-space: pre-wrap;
}
.inin-contact-block-hor a:hover{
}
.inin-contact-block-hor a:hover h2{
    color: #076b82 !important;
}

/* HORIZONTALNI REFRENCE BLOK Visina 200px */
.inin-references-block-hor{
  background-color: #ffffff;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.2);
	margin-bottom: 15px;
	padding-right: 8px;
	padding-left: 0px;
}
.inin-references-block-hor .img-wrapper{
  overflow: hidden;
  display:block;
  float: left;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-height: 100%;  
  max-width: 100%; 
  width: auto;
  height: auto;
  position: absolute;  
  top: 0;  
  bottom: 0;  
  left: 0;  
  right: 0;  
  margin: auto;
}
.inin-references-block-hor .description {
	display:block;
	float: left;
	width: 70%;
	line-height: 25px;
	height: 175px;
	overflow:hidden;
	padding-top: 25px;
	padding-right: 25px;
	padding-left: 25px;
}
.inin-references-block-hor h2{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 21px;
	font-weight: 400;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #014251 !important;
    /* color: #2169A0 !important; */
}
.inin-references-block-hor a{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18px;
	font-weight: 200;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #333333 !important;
}
.inin-references-block-hor p{
    font-size: 16px;
	font-family: 'Montserrat', sans-serif;
    color: #444444;
	text-align: left;
}
.inin-references-block-hor a:hover{
}
.inin-references-block-hor a:hover h2{
    color: #076b82 !important;
}

/* ARTICLE THUMBNAIL ON REFERENCES */
.article-thumbnail {
  width: 250px;
  height: 250px;
  position: relative;
  clear: right;
  float: left;
}

/* BLOK NA ČLANCIMA */
.sikirevci-hor-block-200{
	margin-bottom: 0px;
	padding-right: 0px;
	padding-left: 0px;
	float: left;
}
.sikirevci-hor-block-200 a{
	text-decoration: none;
	display:block;
	border-radius: 0px;
	background-color: #e6e6e6;
	float: left;
	width:100%;
	height: 300px;
	overflow:hidden;
    transition: 0.5s;
    background-size: cover;
    background-position: bottom;
}
.sikirevci-hor-block-200 .img-wrapper{
	overflow: hidden;
	display:block;
	float: left;
	width: 50%;
    height: 100%;
    background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.sikirevci-hor-block-200 .description {
	display:block;
	float: left;
	width: 50%;
	line-height: 25px;
	height: auto;
	overflow:hidden;
	padding-top: 20px;
	padding-right: 20px;
	padding-left: 20px;
}
.sikirevci-hor-block-200 .datum {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-family: 'Ubuntu', sans-serif;
    color: #585858;
    padding-top: 0px;
    padding-bottom: 20px;
}
.sikirevci-hor-block-200 h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #7aab17 !important;
}
.sikirevci-hor-block-200 p {
    font-size: 16px;
    font-family: 'Ubuntu', sans-serif;
    color: #444444;
    text-align: left;
    margin-bottom: 15px;
}

.btn-read-more {
background: linear-gradient(to right, #7aab17 0%, #99cc33 100%);
border: none;
color: #ffffff;
border-radius: 50px;
margin-left: 20px;
font-family: 'Ubuntu', sans-serif;
}

/* VERTIKALNI BLOK Visina 480px */
.sikirevci-vert-block{
  margin-bottom: 25px;
  padding-right: 25px;
  padding-left: 25px;
  float: left;
}
.sikirevci-vert-block a{
	text-decoration: none;
	display:block;
	border-radius: 0px;
	background-color: rgba(255,255,255,0.75);
	float: left;
	width:100%;
	height: 250px;
	overflow:hidden;
  transition: 0.5s;
  background-size: cover;
  background-position: bottom;
}
.sikirevci-vert-block .img-wrapper{
  display:block;
  float: left;
  width: 25%;
  height: 250px;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}
.sikirevci-vert-block .description {
	display:block;
	float: left;
	width: 75%;
	line-height: 25px;
	height: auto;
	overflow:hidden;
	padding-top: 15px;
	padding-right: 20px;
	padding-left: 20px;
}
.sikirevci-vert-block h2{
  font-family: 'Ubuntu', sans-serif;
  font-size: 23px;
  font-weight: bold;
  text-align: left;
  padding-top: 0px;
  padding-bottom: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
  color: #7aab17 !important;
}
.sikirevci-vert-block p{
  font-size: 17px;
  font-family: 'Ubuntu', sans-serif;
  color: #444444;
  text-align: left;
  margin-bottom: 20px;
}

.btn-read-more-big {
  background: linear-gradient(to right, #7aab17 0%, #99cc33 100%);
  border: none;
  color: #ffffff;
  border-radius: 50px;
  margin-left: 20px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
}

.btn-read-more-bus {
  background: linear-gradient(to right, #7aab17 0%, #99cc33 100%);
  border: none;
  color: #ffffff;
  border-radius: 50px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  display: block;
  margin: 0 auto;
  width: 50%;
}

@media (max-width: 425px) {
  .sikirevci-hor-block-200 a {
    height: 100%;
  }
  .sikirevci-hor-block-200 .img-wrapper {
    height: 150px;
    width: 100%;
  }
  .sikirevci-hor-block-200 .description {
    height: 100%;
    width: 100%;
  }
  .sikirevci-hor-block-200 h2 {
    font-size: 15px;
  }
  .btn-read-more {
    margin-bottom: 20px;
  }
  .sikirevci-vert-block p {
    height: 110px;
  }
}
/* HOME HEXAGONS */
#hexGrid {
  overflow: hidden;
  width: 87.8%;
  margin: 0 auto;
  padding: 0.866% 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
}

#hexGrid:after {
  content: "";
  display: block;
  clear: both;
}

.hex {
  position: relative;
  list-style-type: none;
  float: left;
  overflow: hidden;
  visibility: hidden;
  outline: 1px solid transparent;  /* fix for jagged edges in FF on hover transition */
  transform: rotate(-60deg) skewY(30deg) translatez(-1px);
}

.hex * {
  position: absolute;
  visibility: visible;
  outline: 1px solid transparent;  /* fix for jagged edges in FF on hover transition */
}

.hexIn {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  transform: skewY(-30deg) rotate(60deg);
}

/*** HEX CONTENT **********************************************************************/
.hex .hex-img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  background-position: center;
  background-size: contain;
}

.hex .description {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  background-color: rgba(255, 255, 0, 0.1);
  font-weight: 300;
}

.hex h1 {
    margin: 0px;
    font-size: 1.5em;
    z-index: 1;
    color: #ffffff;
    text-transform: uppercase;
    width: 100%;
    text-shadow: 0px 0px 10px #000;
    line-height: 24px;
}

/*** HOVER EFFECT  **********************************************************************/
.hexIn:hover h1, .hexIn:focus h1{
}

/*** SPACING AND SIZING *****************************************************************/
@media (min-width: 1081px) {
  #hexGrid {
    width: 55%;
  }
}
@media (min-width:1001px) {  /* <- 2-3  hexagons per row */
  .hex {
    width: 32.666%;    /* = (100-2) / 3 */
    padding-bottom: 37.720%;    /* =  width / sin(60) */
  }
  .hex:nth-child(5n+1),
  .hex:nth-child(5n+2) {
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }
  .hex:nth-child(5n+3),
  .hex:nth-child(5n+4),
  .hex:nth-child(5n+5) {
    margin-top: -8.564%;
    margin-bottom: -8.564%;
  }
  .hex:nth-child(5n+2),
  .hex:nth-child(5n+4) {
    margin-right: 1%;
    margin-left: 1%;
  }
  .hex:nth-child(5n+1) {
    margin-left: 0.5%;
  }
  .hex:nth-child(5n+3),
  .hex:nth-child(5n+6) {
    clear: left;
  }
}

@media (max-width: 1000px) {  /* <- 1-2  hexagons per row */
  .hex {
    width: 49.5%;    /* = (100-1) / 2 */
    padding-bottom: 57.158%;    /* =  width / sin(60) */
  }
  .hex:nth-child(3n+1) {
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }
  .hex:nth-child(3n+2),
  .hex:nth-child(3n+3) {
    margin-top: -13.423%;
    margin-bottom: -13.423%;
  }
  .hex:nth-child(3n+1) {
    margin-left: 0.5%
  }
  .hex:nth-child(3n+3) {
    margin-left: 1%;
  }
  .hex:nth-child(3n+2),
  .hex:nth-child(3n+4) {
    clear: left;
  }
}

@media (max-width: 425px) {
  #hexGrid {
    font-size: 13px;
  }
  .hex h1 {
    font-size: 1.1em;
    line-height: 1.1em;
  }
}

/* SUBCATEGORY HEXAGONS */
#subcategoryHexGrid {
  overflow: hidden;
  width: 57.8%;
  margin: 0 auto;
  padding: 0.866% 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
}

#subcategoryHexGrid:after {
  content: "";
  display: block;
  clear: both;
}

.subcategory-hex {
  position: relative;
  list-style-type: none;
  float: left;
  overflow: hidden;
  visibility: hidden;
  outline: 1px solid transparent;  /* fix for jagged edges in FF on hover transition */
  transform: rotate(-60deg) skewY(30deg) translatez(-1px);
}

.subcategory-hex * {
  position: absolute;
  visibility: visible;
  outline: 1px solid transparent;  /* fix for jagged edges in FF on hover transition */
}

/*** HEX CONTENT **********************************************************************/
.subcategory-hex .hex-img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  background-position: center;
  background-size: contain;
}

.subcategory-hex .description {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  background-color: rgba(255, 255, 0, 0.1);
  font-weight: 300;
}

.subcategory-hex h1 {
    margin: 0px;
    font-size: 1.5em;
    z-index: 1;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px #000;
    line-height: 24px;
}
/*** SPACING AND SIZING *****************************************************************/
@media (min-width:1201px) {  /* <- 2-3  hexagons per row */
  .subcategory-hex {
    width: 32.666%;    /* = (100-2) / 3 */
    padding-bottom: 37.720%;    /* =  width / sin(60) */
  }
  .subcategory-hex:nth-child(5n+1),
  .subcategory-hex:nth-child(5n+2) {
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }
  .subcategory-hex:nth-child(5n+3),
  .subcategory-hex:nth-child(5n+4),
  .subcategory-hex:nth-child(5n+5) {
    margin-top: -8.564%;
    margin-bottom: -8.564%;
  }
  .subcategory-hex:nth-child(5n+2),
  .subcategory-hex:nth-child(5n+4) {
    margin-right: 1%;
    margin-left: 1%;
  }
  .subcategory-hex:nth-child(5n+1) {
    margin-left: 0.5%;
  }
  .subcategory-hex:nth-child(5n+3),
  .subcategory-hex:nth-child(5n+6) {
    clear: left;
  }
}

@media (max-width: 1200px) {  /* <- 1-2  hexagons per row */
  .subcategory-hex {
    width: 49.5%;    /* = (100-1) / 2 */
    padding-bottom: 57.158%;    /* =  width / sin(60) */
  }
  .subcategory-hex:nth-child(3n+1) {
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }
  .subcategory-hex:nth-child(3n+2),
  .subcategory-hex:nth-child(3n+3) {
    margin-top: -13.423%;
    margin-bottom: -13.423%;
  }
  .subcategory-hex:nth-child(3n+1) {
    margin-left: 0.5%
  }
  .subcategory-hex:nth-child(3n+3) {
    margin-left: 1%;
  }
  .subcategory-hex:nth-child(3n+2),
  .subcategory-hex:nth-child(3n+4) {
    clear: left;
  }
}

@media (max-width: 425px) {
  #subcategoryHexGrid {
    font-size: 13px;
    width: 87.8%;
  }
  .subcategory-hex h1 {
    font-size: 1.1em;
    line-height: 1.1em;
  }
}

/* EFFEKTI */
.fx-circle {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.2);
}
.fx-circle:hover {
  transform: scale(1.025);
}
.fx-circle::before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	content: '';
	width: 0;
	height: 0;
	background: rgba(255,255,255,.2);
	border-radius: 100%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 0;
}
.fx-circle:hover::before {
	-webkit-animation: circle .75s;
	animation: circle .75s;
}
@-webkit-keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 0;
	}
}
@keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 0;
	}
}