/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/



/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*--------------------[RWD]-----------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*--[ADD TUTORIAL CUSTOMIZATION BELOW THIS LINE]--*/
/*------------------------------------------------*/
/*------------------------------------------------*/
/*------------------------------------------------*/



* {  -webkit-locale: auto; white-space: normal;}

body {
   scroll-margin-top:100px !important;
}
.vst.et_blog_reorder .et_pb_post {display:block;}
.vst.et_blog_reorder .pagination .alignleft {float:right;}
.vst.et_blog_reorder .pagination .alignright {float:left;}

/* Set the position of the featured image and its container */
.et_blog_reorder .et_pb_post .et_pb_image_container,
.et_blog_reorder .et_pb_post .entry-featured-image-url {
    order: 1;
}

/* Rearrange the post meta information */
.et_blog_reorder .et_pb_post .post-meta {
    order: 2;
}

/* Set the order of the post title */
.et_blog_reorder .et_pb_post .entry-title {
    order: 3;
}

/* Modify the placement of the post content */
.et_blog_reorder .et_pb_post .post-content {
    order: 4;
}

/* Reorganize the layout of blog posts within the .et_blog_reorder container */
.et_blog_reorder .et_pb_post {
    display: flex;
    flex-direction: column;
	margin-bottom:0;
}

.et_blog_reorder .et_pb_image_container {margin:-20px -20px 0 -20px;}

/*image gallery item aspect ratio square 1:1*/
.et_blog_reorder .entry-featured-image-url {
  padding-top: 100%;
  display: block;
}
.et_blog_reorder .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

.et_blog_reorder .more-link {
  display: inline-block !important;
  position: relative;
}

.et_blog_reorder .more-link:before{
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #ffffff73;
}

.et_blog_reorder .more-link:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
#vesticat .et_blog_reorder .more-link:after {
	background-color: #136d4f !important;
}
 
#vesticat .et_blog_reorder .more-link:hover {color: #136d4f !important;}

.et_blog_reorder .more-link:hover::after {
	transform: scaleX(1); /* Scale the underline on hover */
  	transform-origin: bottom left; /* Set transform origin */
}
.fluid-width-video-wrapper {margin:0 !important;}

@media only screen and ( min-width: 980px ) {
.fluid-width-video-wrapper {padding-top:35% !important;}
	.et_blog_reorder .et_pb_post {min-height:970px;}
.tr_two_col .et_pb_column .et_pb_salvattore_content[data-columns]::before { content: '2 .column.size-1of2' !important;
}
.tr_two_col .et_pb_column .column.size-1of2 {
	width:47% !important;
	margin-right:6%;
}
	.tr_two_col .et_pb_column .column.size-1of2:nth-child(2) {margin-right:0%;}
	
	.tr_two_col .et_pb_image_container {margin:0;}
	.tr_two_col .et_pb_blog_grid .et_pb_post {padding:0;min-height:1000px}

	/*image gallery item aspect ratio square 1:1*/
	.tr_two_col .entry-featured-image-url {
	  padding-top: 100%;
	  display: block;
	}
	.tr_two_col .entry-featured-image-url img {
		position: absolute;
		height: 100%;
		width: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		object-fit: cover;
	}
}
@media only screen and ( max-width: 980px ) {
.tr_two_col .et_pb_column .et_pb_salvattore_content[data-columns]::before { content: '2 .column.size-1of2' !important;
}
.tr_two_col .et_pb_column .column.size-1of2 {
width:100% !important;
margin-right:0%;
}
}

.et_pb_post_content blockquote { padding:24px 30px}
.et_pb_post_content blockquote p {margin-bottom:10px;}
.fluid-width-video-wrapper { margin:30px 0;}



/* mobilni meni full screen - pocetak */
/*changing the Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
/*rotating the Divi Menu icon*/
.mobile_menu_bar:before {
    transition: all .4s ease;
    transform: rotate(0deg);
    display: block;
}

/*rotate the Divi Menu icon on click*/
.mobile_nav.opened .mobile_menu_bar::before {
    transition: all .4s ease;
    transform: rotate(90deg);
    display: block;
}
/* Remove the top line in the mobile menu*/
.et_mobile_menu {
border-top:0;
}
/*making the Divi Menu full width*/
.et_pb_menu .et_mobile_menu{
    min-width: 105vw;
     padding-top: 30%!important;
   margin-left: 5vw;
    padding-bottom: 100vh!important;
}
/*removing the line from the menu items and adding line height*/
.et_mobile_menu li a {
padding:10px 10px!important;
border-bottom: none!important;
}
/*removing padding of the social media icons*/
.et_mobile_menu li li {
    padding-left:0%!important;
}
/* mobilni meni full screen - kraj */





/*** Change Mobile Columns By VictorDuse.com.com ***/
/* 2 Columns Mobile */
@media all and (max-width: 767px) {
	.et_pb_menu__logo {margin-right:0 !important;}
	.et_pb_menu__logo img {float:left;}
	.fluid-width-video-wrapper {padding-top:76% !important;}
	.et_blog_reorder .et_pb_image_container {margin:0;}
	.et_blog_reorder .et_pb_post {margin-bottom:30px !important; padding:0;}
	
    html .et-db .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}
/*** Change Tablet Columns By VictorDuse.com.com ***/
/* 1 Column Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .one-col-tab .et_pb_column {
        margin-right:0 !important;
        width:100% !important;
    }
    
        html .et-db .one-col-tab .et_pb_column:not(:last-child) {
        margin-bottom:30px !important;
    }
}
/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .two-col-tab .et_pb_column {
        width:47.25% !important;
    }
.two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    html .et-db .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right:5.5% !important;
    }
}
/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }
html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

@media all and (max-width: 767px) {
	.two-col-mob .et_pb_column {width:50% !important; border-bottom:1px solid rgba(255,255,255,0.1); padding-bottom:15px; padding-top:15px; margin-bottom:15px !important;}
	.two-col-mob .et_pb_column:not(:nth-child(2n)) {margin-right:0 !important;}
	.two-col-mob.two-col-tab .et_pb_heading_container h3.et_pb_module_heading {padding-bottom:0;}
	.two-col-mob.two-col-tab .et_pb_heading_container {min-height:40px;}
	.two-col-mob.two-col-tab .et_pb_number_counter .percent {height:40px !important;}
	.et_pb_number_counter .percent p {line-height:28px !important;}
	.car-one-col-mob {}
	.car-one-col-mob .et_pb_column:not(:nth-child(2n)) {margin-right:0 !important;}
	.car-one-col-mob .et_pb_column {margin-bottom:0 !important;}
	.car-one-col-mob h6.et_pb_module_header {padding-bottom:0 !important;}
	.prij-two-col-mob { }
	.prij-two-col-mob .et_pb_column {width:47% !important; margin-bottom:0 !important;}
	.prij-two-col-mob .et_pb_column:not(:nth-child(2n)) {margin-right:0 !important;}
	.prij-two-col-mob h6.et_pb_module_header {padding-bottom:0 !important;}
	.prij-two-col-mob .et_pb_column:not(:nth-child(2n)) {margin-right:6% !important;}
	.prij-two-col-mob .et_pb_blurb_container {padding-left:5px;}
}

@media only screen and ( min-width: 980px ) {
.two-col-mob.two-col-tab .et_pb_heading_container {min-height:50px;}
}
