/*

Theme Name: Haven Child

Description: Haven is created by <a href="https://themefuse.com/">ThemeFuse</a>. Child themes are the recommended way of making modifications to a theme. <a href="http://codex.wordpress.org/Child_Themes">Reade More</a>

Author: ThemeFuse

Author URI: https://themefuse.com/

Template: haven

$attachment_id = get_field('category_image', $child_category);
			$image = wp_get_attachment_image_src( $attachment_id, 'medium_large' );
    		?>

Version: 1.0

Text Domain: the-core

Tags: left-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready

*/

body.search-results .wrap-entry-meta{
	display: none;
}

body.search-results .entry-content p{
	display: none;
}

.menu-search-mobile{
	padding: 5px !important;
}

.menu-search-mobile .fw-submit-wrap{
	right: 5px;
}

.menu-search-mobile .fw-input-search .fw-wrap-search-form{
	width: 100%;
}

.menu-search-mobile .fw-submit-wrap:before{
	font-size: 26px;
	color: #eaeaea;
}

.menu-search-mobile .fw-input-search{
	width: 100%;
  color: #eaeaea;
  border-color: #00000000;
  border-radius: 4px;
	margin: 0 !important;
	float: unset !important;
	background-color: #4e4e4e;
}

.menu-search-mobile div.fw-input-search{
	padding: 10px 0px !important;
}

.menu-search-mobile input.fw-input-search{
	padding: 0!important;
}

.fw-404-page a span{
	color: #113b46;
}

.fw-404-page a:hover span{
	color: #fff;
}

.homepage-main-slider .forcefullwidth_wrapper_tp_banner{
	position: unset !important;
}

.page-template-default .fw-content-area{
	padding-right: 0;
}

.fw-default-page > .fw-container{
	padding-left: 0;
}

#fancybox-right {
    right: -20px;
}

#fancybox-right-ico{
	left: auto;
	right: 20px;
}

#fancybox-left-ico{
	left: 20px;
}

.scroll-to-top{
	border-color: #113b46;
}

.entry-header{
	display: none;
}

.fw-default-page .fw-container{
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.fw-header-main{
	border-bottom: 1px solid #0000000a;
}

.header-1 .fw-header-main .fw-container{
	padding-top: 0;
	padding-bottom: 15px;
	padding-right: 0;
}

.header-1 .fw-sticky-menu .fw-header-main .fw-container{
	padding-bottom: 0;
}

.header-1 .primary-navigation > ul{
	position: relative;
}

.header-1 .primary-navigation > ul:before{
	position: absolute;
    width: 1px;
    height: 60px;
    content: '';
    background-color: #0000000a;
    left: 0;
    top: -15px;
}

.header-1 .primary-navigation > ul > li{
	position: relative;
}

.header-1 .primary-navigation > ul > li:after{
	position: absolute;
    width: 100%;
    height: 3px;
    content: '';
    background-color: #1d687b;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.header-1 .primary-navigation > ul > li:hover:after{
    opacity: 1;
}

.header-1 .primary-navigation > ul > li:before{
	position: absolute;
    width: 1px;
    height: 60px;
    content: '';
    background-color: #0000000a;
    top: -15px;
}


.header-1 .primary-navigation > ul > li > a {
	margin-right: 20px;
	margin-left: 20px;
}

.header-1 .primary-navigation > ul > li:first-child > a{
	margin-left: 20px;
}

.fw-site-navigation > ul > li ul{
	top: 25px;
	left: 0 !important;
	padding-top: 20px;
}

.fw-text-top-bar{
	width:100%;
}

.fw-top-bar{
	height: 100px;
}

.fw-text-top-bar{
	margin-bottom: -28px;
}

.fw-top-bar > .fw-container > p{
	position: absolute;
    font-size: 28px;
    font-weight: 400;
    top: 59%;
    left: 40%;
    transform: translate(-50%, 125%);
}

.top-bar-contact{
	color: #194f5d;
	display: block;
	float: right;
	position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(15%);
}

.top-bar-contact a{
	color: #4f5d75;
}

.top-bar-mail{
	margin-bottom: 12px;
	text-align: left;
	float: left;
}

.top-bar-mail i{
	font-size: 17px;
  margin-right: 10px;
}

.top-bar-phone{
	margin-left: 15px;
  transform: translateY(50%);
  float: left;
}

.top-bar-phone i{
	display: inline-block;
  font-size: 40px;
  line-height: 50px;
  margin-right: 10px;
  margin-left: 4px;
}

.top-bar-phone > div{
	display: inline-block;
}

.top-bar-phone > div > a{
	display: block;
	line-height: 24px;
}


.top-bar-logo > .fw-wrap-logo{
	display: block;
}

.top-bar-logo{
	width: 145px;
  display: inline-block;
  float: left;
  position: absolute;
  left: 0;
  margin-top: 21px;
}

.top-bar-logo > .fw-wrap-logo > a{
	width: 100%;
}

.mobile-logo{
	display: none;
}

.fw-sticky-menu-open .mobile-logo{
	display: block;
}

.fw-sticky-menu-open .fw-header-main .fw-container{
	padding-bottom: 0;
}

.fw-sticky-menu-open .mmenu-link{
	margin-top: 24px !important;
}

.fw-logo-retina.header-1 .mmenu-link, .fw-logo-retina.header-5 .mmenu-link a i{
	    margin-bottom: 10px;
}

.fw-logo-retina .fw-site-logo {
    width: 89px;
}

.fw-search-form input{
	border-radius: 5px;
}

@media (max-width: 1200px){
	.fw-logo-retina .fw-site-logo{
		width: 60px;
	}

	.fw-header-main .fw-search{
		display: none;
	}
}

@media (max-width: 991px){
	.top-bar-contact{
		position: unset;
		margin-top: 15px;
		width: 100%;
		text-align: center;
		display: none;
	}

	.top-bar-logo{
		width: 100px;
		position: unset;
		display: block;
  	margin: auto;
  	float: unset;
	}

	.fw-top-bar > .fw-container > p{
		position: unset;
    margin-left: 0;
    transform: translateY(27%);
    text-align: center;
	}

	.fw-logo-retina.header-1 .mmenu-link, .fw-logo-retina.header-5 .mmenu-link{
    margin-top: 25px!important;
    width: 100%;
    text-align: center;
	}

	.fw-logo-retina.header-1 .fw-sticky-menu-open .mmenu-link{
		margin-right: 10px;
		width: unset;
	}

	.fw-top-bar p{
		display: none;
	}

	.fw-top-bar{
		height: 100px;
	}

	.fw-input-search{
		
		margin: 20px 0 0 5px;
		width: 100%;
	}

	.fw-logo-retina.header-1 .fw-header:not(.fw-header-sticky-new-logo) .fw-search, .fw-logo-retina.header-5 .fw-header:not(.fw-header-sticky-new-logo) .fw-search{
		margin-top: 20px!important;
	}

	.fw-wrap-search-form{
		margin: 0 auto;
	}
}

.homepage-link-image{
	height: 210px;
	background-position: center;
    background-size: cover;
}

.homepage-link-name{
	margin-top: 5px;
	margin-bottom: 20px;
	text-align: center;
	font-size: 19px;
}


/*===================PROIZVODI======================*/
.category-banner{
	height: 240px;
	background-position: center;
	background-size: cover;
	margin-bottom: 20px;
}

.products-list .fw-col-md-2{
	padding: 0 !important;
}


.products-list > div > div{
	padding-left: 5px;
    padding-right: 5px;
	margin-bottom: 25px;
}

.product-details{
	padding: 6px;
    border: 1px solid #c3c3c3;
}

.product-image{
	width: 100%;
  background-position: center;
  background-size: contain;
  position: relative;
  -webkit-transition: all 0.3s;
  overflow: hidden;
  background-repeat: no-repeat;
}

.product-image img{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	max-height: 100%;
	height: 150%;
	max-width: unset;
}

.product-image::after{
	position: absolute;
	content: '';
	height: 100%;
	width: 100%;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	background-color: #000;
	opacity: 0;
}

.product-image:hover{
	background-size: 150% !important;
}

.product-image:hover img{
	max-height: 120%;
}

.product-image:hover::after{
	opacity: 0.5;
}


.product-title{
	text-align: center;
	font-size: 22px !important;
    line-height: 25px !important;
}

.category-nav > ul{
	list-style: none;
	overflow: hidden;
	padding: 0;
	max-height: 0;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
}

.category-nav > ul  li{
	padding: 8px 10px;
	border: solid 1px #aaa;
	border-top: 0;
	width: 100%;
	color: #4f5d75;
}

.category-nav > ul a:first-child li{
	border-top: solid 1px #aaa;
}

.category-nav > ul li:hover{
	background-color: #ccc;
}

.show > ul{
	max-height: 1000px; 
}

.active{
	color: #1f6779 !important;
	background-color: #e4e4e4;
}

.category-nav > span{
	padding: 8px 10px;
    background-color: #aaa;
    font-size: 20px;
    line-height: 28px;
    display: block;
    color: #fff;
    cursor: pointer;
}

.category-nav > span > i{
	float: right;
    line-height: 29px;
    margin-right: 10px;
}

.post-margin-top{
	margin-top: 30px;
}

.product-thumbnail{
	padding: 6px;
    border: solid 1px #aaa;
    position: relative;
}

.product-thumbnail img{
	width: 100%;	
}

.product-thumbnail a::after{
	content: "\f002";
  font-style: unset;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 35px;
  width: 35px;
  background-color: #fff;
  color: #000;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 26px;
  line-height: 35px;
  padding: 0px 6px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}

.product-thumbnail:hover a::after{
	background-color: #113b46;
	color: #fff;
}

.product-gallery{
	margin-top: 15px;
	margin-bottom: 15px;
	width: 100%;
}

.product-gallery a{
}

.product-gallery-image{
	width: 80px;
    height: 80px;
    padding: 6px;
    border: 1px solid #aaa;
    display: inline-block;
}

.product-gallery-image > div{
	height: 100%;
	width: 100%;
	background-position: center;
	background-size: cover;
}


.product-inforation h2{
	font-size: 34px;
}

.custom-paging.paging-container{
    display: inline-block;
    width: 100%;
    text-align: center;
}

.custom-paging .page-numbers{
    position: relative;
    padding: 1.5rem 2.5rem;
    margin-left: -6px;
    line-height: 6.25;
    color: #22434b;
    background-color: #fff;
    border: 1px solid #577779;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
  	transition: all 0.5s;
}

.custom-paging .page-numbers:first-child{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.custom-paging .page-numbers:last-child{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.custom-paging .page-numbers:hover{
    color: #22434b;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.custom-paging .page-numbers.current{
    z-index: 1;
    color: #fff;
    background-color: #22434b;
    border-color: #577779;
}




/*=========================SPECIFIKACIJE=========================*/

.specification-details{
	height: 200px;
	margin-bottom: 50px;
}

.specification-image{
	height: 100%;
	width: 90%;
	position: relative;
	display: block;
    margin: auto;
    background-size: cover;
    background-position: center;
}

.specification-image span{
	font-size: 0;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	width: 90%;
    text-align: center;
}

.specification-image::before{
	position: absolute;
	top:50%;
	left: 50%;
	content: '';
	transform: translate(-50%, -50%);
	height: 0;
	width: 0;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	background-color: #000;
	opacity: 0.5;
}

.specification-image:hover::before{
	height: 100%;
	width: 100%;
}

.specification-image:hover span{
	font-size: 20px;
}

.specification-information{
	text-align: center;
	margin-bottom: 40px;
}

/*========================BLOG====================*/

.fw-post-image {
	margin-bottom: 0 !important;
}

.post-list-type-1{
	-webkit-box-shadow: 0px 0px 32px 0px rgba(122,122,122,0.1);
    -moz-box-shadow: 0px 0px 32px 0px rgba(122,122,122,0.1);
    box-shadow: 0px 0px 32px 0px rgba(122,122,122,0.1);
    padding: 15px;
    padding-top: 15px !important;
}

.postlist .post::after{
	display: none;
}

.single .post.post-details .entry-header, .single .post.post-details .entry-content{
	display: block;
}

.postlist .entry-header{
	display: inline-block;
}

.single .fw-block-image-parent{
	padding: 0 45px;
}

.postlist .fw-post-image{
	width: 50%;
	margin-right: 20px;
    float: left;
}

.postlist .post{
	position: relative;
}

.postlist .post::after{
	content: '';
    background-color: #aaa;
    width: 90%;
    height: 1px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.single .post.post-details .entry-content {
	padding-bottom: 0;
	border-bottom: 0;
}


/*=====================PROJEKTI==========================*/

.projects-list > .fw-col-sm-12 > div{
	padding: 0 2px !important;
	margin-bottom: 2px;
}

.project-image{
	height: 200px;
	width: 100%;
	background-position: center;
	background-size: cover;
	position: relative;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	overflow: hidden;
}

.project-image img{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	max-height: 100%;
	height: 150%;
	max-width: unset;
}


.project-image:hover{
	background-size: 150%;
}

.project-image:hover img{
	max-height: 120%;
}

.project-image:hover .project-name{
	padding-bottom: 25px;
}


.project-name{
	
    position: absolute;
    text-align: center;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffffd4;
    width: 101%;
    padding: 10px 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.project-name span{
	position: relative;
    font-size: 22px;
    line-height: 37px;
    color: #0a0a0a;
    min-width: 70%;
    max-width: 85%;
    display: block;
    margin: auto;
}

.project-name span::before{
	position: absolute;
	left: -10px;
	background-color: #123b46;
	width: 2px;
	height: 37px;
	content: '';
}


/*===================FOOTER===========================*/

.fw-footer-widgets p, .fw-footer-widgets span, .fw-footer-widgets a, .fw-footer-widgets input, .fw-footer-widgets ul, .fw-footer-widgets li{
	font-family: 'Open Sans' !important;
}

.mailpoet_paragraph{
	display: block;
    width: 40%;
    float: left;
    padding: 0 5px;
}

.mailpoet_paragraph:last-of-type{
	width: 20%;
}

.mailpoet_paragraph input[type="text"], .mailpoet_paragraph input[type="email"]{
	width: 100% !important;
	display: inline-block;
    padding: 8px 10px;
    margin-right: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 24px;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #999;
    border-bottom: 1px solid #123b46;
    border-radius: 0;
}

.mailpoet_paragraph input[type="submit"]{
    background-color: #123b46 !important;
    display: inline-block;
    padding: 9px 10px;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    font-family: inherit;
    text-transform: uppercase;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    color: #fff;
    margin-top: 0;
    width: 100%;
    border: 0;
}

.mailpoet_paragraph input[type="submit"]:hover{
    background-color: #25515d;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(87, 119, 121, 0.54);
    -moz-box-shadow: 0px 0px 40px 0px rgba(87, 119, 121, 0.54);
    box-shadow: 0px 0px 40px 0px rgba(87, 119, 121, 0.54);
}



.footer-contact{
	display: inline-block;
  width: 100%;
  color: #37736c;
}

.footer-mail{
	float: right;
  transform: translateY(-15%);
  padding-right: 10%;
}

.footer-mail i{
	color: inherit;
	font-size: 23px;
	margin-right: 10px;
}

.footer-phone {
	float: left;
	padding-left: 11%;
}

.footer-phone i{
	color: inherit;
	display: block;
  font-size: 40px;
  line-height: 50px;
  float: left;
  margin-right: 10px;
  margin-left: 4px;
}

.footer-phone > div{
	float: left;
}

.footer-phone > div > a{
	display: block;
	line-height: 24px;
}

.widget-title span{
	color: #585b6f !important; 
}

.fw-footer-widgets{
	padding: 50px 0;
}

.fw-footer-widgets .fw-row{
	display: flex;
    flex-direction: row;
}

.fw-footer-widgets .fw-inner .fw-row .fw-col-sm-6:first-child{
	width: 0px;
}

.fw-footer-widgets .fw-inner .fw-row .fw-col-sm-6{
	flex-grow: 1;
}

.newsletter-text{
	margin-top: 35px;
	margin-bottom: 40px !important;
}

.widget_media_image img{
	margin-top: 40px;
}

.widget_nav_menu ul li a{
	font-size: 17px;
}

.fw-footer-bar{
	padding: 30px 0;
}

@media (max-width: 980px){
	.postlist .fw-post-image{
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 10px;
	}
}

@media (max-width: 767px){
	.fw-col-xs-6{
		width: 50%;
		float: left;
	}

	.fw-footer-widgets .fw-row{
		display: block;
	}

	.fw-footer-widgets .fw-inner .fw-row .fw-col-sm-6:first-child{
		width: 100%;
		text-align: center;
	}

	.product-description img{
		display: none;
	}
}

@media (max-width: 991px){
	.footer-mail{
		float: unset;
		transform: translateY(0);
		margin-bottom: 30px;
		text-align: center;
		padding-right: 0;
		margin-top: 75px;
	}

	.footer-phone{
		position: absolute;
		float: unset;
		left: 50%;
	    transform: translateX(-50%);
	    padding-left: 0;
	}

	.newsletter-text{
		margin-top: 50px;
	}
}

@media (max-width: 479px){
	.fw-col-xs-6{
		width: 100%;
		float: unset;
	}

	.top-bar-logo{
		width: 100px;
	}

	.fw-header-main .fw-container{
		height: 88px;
	}

	.fw-logo-retina.header-1 .mmenu-link, .fw-logo-retina.header-5 .mmenu-link a i {
    	margin-bottom: 22px;
	}

	.fw-header-main .fw-container a{
		position: absolute;
    	bottom: 0;
    	left: 0;
	}

	.mailpoet_paragraph{
	    width: 100%;
	}

	.mailpoet_paragraph:last-of-type{
		width: 100%;
	}

	.category-banner{
		margin-top: 20px;
	}

	 .fw-header-main .fw-search{
		display: none!important;
	}

}

