/*
 Theme Name:     Svecarstvo
 Description:    Child tema za svecarstvo-jurkovic.si
 Author:         Vizia
 Author URI:     https://www.vizia.si
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
#top-menu .active a{
	color: #c3095f!important;
}
#top-menu .active a:after{
	content: '';
	border-bottom: 2px solid #c3095f;
	display: block;
	width: 100%;
	position: relative;
	top: 8px;
}

#kontakt tr td {
	border-top: 0 !important;
}

.et_pb_blurb_content .et_pb_main_blurb_image svg {
	transition: all .5s;
}

.et_pb_blurb_content:hover .et_pb_main_blurb_image svg {
	transform: scale(1.1);
}


/*-------------------------------------------------------------*/
/*---------------Image Caption Hover by Divi Soup--------------*/
/*-------------------------------------------------------------*/

/*Remove the grey box from the image*/
.wp-caption {
	 max-width: 100%;
	 margin-bottom: 0;
	 padding: 0;
	 padding-top: 0;
	 border: none;
	 background: none;
	 text-align: center;
}

/*Position the caption*/
.ds-caption-hover .wp-caption p {
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 top: 0;
	 padding: 0;
}

/*Style the description text*/
.ds-caption-hover .wp-caption h6 {
	 position: absolute;
	 display: flex;
	 flex-direction: column;
	 justify-content: center;
	 bottom: 0;
	 width: 100%;
	 height: 20%;
	 text-align: center;
	 font-size: 16px;
	 color: #fff;
	 padding-bottom: 0;
	 background: #00000085;
}

/*Fix extra space below image*/
.ds-caption-hover .wp-caption img {
	 margin-bottom: -6px;
}

/*Style the link text*/
.ds-caption-hover .wp-caption-text a {
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 z-index: 1;
	 display: flex;
	 flex-direction: column;
	 justify-content: center;
	 font-size: 12px;
	 color: #fff;
	 opacity: 0;
	 -webkit-transition: all 0.3s ease;
	 -moz-transition: all 0.3s ease;
	 transition: all 0.3s ease;
}

/*Add a background to the link text*/
.ds-caption-hover .wp-caption-text a:after {
	 content: '';
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 top: 0;
	 left: 0;
	 z-index: -1;
	 background: rgba(0, 0, 0, 0);
	 -webkit-transition: all 0.3s ease;
	 -moz-transition: all 0.3s ease;
	 transition: all 0.3s ease;
}

/*Show link text on hover*/
.ds-caption-hover .wp-caption-text a:hover {
	opacity: 1;
}

.ds-caption-hover:hover .wp-caption h6  {
	opacity: 0;
}

/*Show link background on hover*/
.ds-caption-hover .wp-caption-text a:hover:after {
 background: rgba(0, 0, 0, .6);
}

/*-------------------------------------------------------------*/
/*-------------End Image Caption Hover by Divi Soup------------*/
/*-------------------------------------------------------------*/
