/*
Theme Name: VMC21
Theme URI: http://www.vmc21.com
Version: 1.0
Description: Tema, oblikovana posebej za VMC 21.
Author: Studio Mars
Author URI: http://www.studiomars.si
Template: Divi
Text Domain: Divi
*/

/* SITE-WIDE STYLES */

@media (max-width: 767px) {
	.et_pb_portfolio_item h2, .et_pb_post h2, .et_pb_title_container h1 {
		font-size: 28px;
	}
}
@media (max-width: 479px) {
	.et_pb_blog_grid h2, .et_pb_post h2 {
		padding-bottom: 10px;
		font-size: 24px;
	}
}
.et_pb_contact p[data-id="privacy"] .et_pb_contact_field_options_title {
	font-weight: 400;
	line-height: 1.4em;
}
#cookie-law-info-bar {
	padding: 16px 30px;
}
hr {
	border: none;
	border-top: 1px solid #e2e2e2;
	margin: 15px 0;
}
#nex-forms .free_version {
	display: none;
}

/* Main Menu */
#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
	padding-right: 0;
}
#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
	position: relative;
	top: auto;
	right: auto;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	content: "";
}
#top-menu > li > a::after {
	content: "";
	border-left: 1px solid #ddd;
	margin-left: 23px;
}
@media (min-width: 981px) and (max-width: 1060px) {
	#et_top_search {
		display: none;
	}
}
.et_pb_section .et_pb_row.custom_width_max {
	max-width: 450px !important;
}
.et-pb-contact-message p {
	padding: 25px 35px !important;
    background-color: #8bc73e;
    color: #fff;
}

/* HOME PAGE */

/* Product Search */
.product_search {
	position: relative;
}
.product_search::after {
	position: absolute;
	right: 30px;
	top: 30px;
	content: "\55";
	font-family: ETmodules!important;
	font-size: 26px;
	color: rgba(0,0,0,0.4);
}
.product_search input {
	-webkit-transition: background-color .5s ease-in-out;
	transition: background-color .5s ease-in-out;
}
.product_search input:focus {
	background-color: #fff !important;
}
@media (max-width: 650px) {
	.product_search::after {
		display: none;
	}
}
/* Search & Filter */
.searchandfilter ul {
	padding-left: 0;
	width: 100%;
}
.searchandfilter ul li {
	display: inline-block;
	margin-left: 3%;
	width: 31.333%;
}
.searchandfilter ul li:first-child {
	margin-left: 0;
}
.searchandfilter ul li:nth-of-type(3) {
	width: calc(31.333% - 50px);
}
.searchandfilter ul li:last-child {
	width: 33px;
	margin-left: 17px;
}
.searchandfilter ul li label {
	width: 100%;
}
.searchandfilter ul li input, .searchandfilter ul li select {
	width: 100%;
	font-size: 18px;
	border: none;
	border-bottom: 1px solid #ddd;
}
.searchandfilter ul li input[type="submit"] {
	font-family: ETmodules!important;
	font-size: 26px;
	color: rgba(0,0,0,0.4);
	background-color: transparent;
	border: none;
	cursor: pointer;
}
.searchandfilter ul li input[type="submit"]:hover {
	color: rgba(0,0,0,1);
}
.searchandfilter_results .container::before {
	display: none;
}
@media (max-width: 767px) {
	.searchandfilter ul li {
		display: block;
		margin-left: 0;
		width: 100%;
	}
	.searchandfilter ul li:nth-of-type(3) {
		display: inline-block;
		width: calc(100% - 50px);
	}
	.searchandfilter ul li:last-child {
		display: inline-block;
	}
}

/* Reference Projects (Blog Grid) */
.project_references .et_pb_blog_grid .et_pb_post {
	padding: 0;
	border: none;
	margin-bottom: 20px !important;
}
.project_references .et_pb_blog_grid .et_pb_image_container {
	margin: 0;
}
.project_references .et_pb_post .entry-featured-image-url {
	margin-bottom: 12px;
}
.project_references .et_pb_post .entry-title {
	min-height: 40px;
	color: #666;
	font-size: 14px;
}
.project_references .et_pb_post .post-content {
	display: none;
}

/* Blog Grid */
.latest_news .et_pb_blog_grid .et_pb_post {
	padding: 39px 39px 29px;
}
.latest_news .et_pb_blog_grid .et_pb_image_container {
    margin: -40px -40px 29px;
}
.et_pb_blog_grid .post-meta, .et_pb_posts .post-meta {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-size: 0.9em !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.et_pb_blog_grid .more-link, .et_pb_posts .more-link {
	letter-spacing: 2px;
	font-size: 16px;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	display: block;
	margin-top: 10px;
}
.et_pb_blog_grid .more-link:after, .et_pb_posts .more-link:after {
    position: absolute;
	font-family: ETmodules!important;
    font-size: 24px;
    font-weight: 400;
    content: "\35";
}
	/* Exception on homepage in reference grid */
.project_references .et_pb_blog_grid .post-meta {
	border: none !important;
}

/* Folded Corner Backgrounds */
.corner-vmc {
	background: linear-gradient(to bottom left, transparent 50%, #8bc73e 50%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%);
}
.corner-tents {
	background: linear-gradient(to bottom left, transparent 50%, #dc6e22 50%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%);
}
.corner-halls {
	background: linear-gradient(to bottom left, transparent 50%, #32aa9a 50%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%);
}
.corner-cubes {
	background: linear-gradient(to bottom left, transparent 50%, #e1ac34 50%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%), linear-gradient(to right, #374f63 99.9%, transparent 99.9%);
}
.folded {
	padding: 50px 45px 40px;
	background-size: 50px 50px, 100% 100%, 100% 100%;
	background-position: 100% 0%, -50px 0%, 100% 50px;
	background-repeat: no-repeat;
	overflow: hidden;
}

/* Icon List */
.checkmark_list ul {
	list-style: none;
}
.checkmark_list ul li {
	margin-left: 10px;
}
.checkmark_list ul li:before {
	margin-left: -26px;
	margin-right: 10px;
	font-family: ETmodules!important;
	font-weight: 400 !important;
	content: "\e052";
}
.project_category-sotori .checkmark_list ul li:before {
	color: #dc6e22;
}
.project_category-hale .checkmark_list ul li:before {
	color: #32aa9a;
}
.project_category-prireditveni-prostori .checkmark_list ul li:before {
	color: #e1ac34;
}

/* PRODUCT ARCHIVE */

/* Product Grid */
/*@media (min-width: 981px) {*/
	.et_pb_gutters2 .et_pb_column_4_4 .et_pb_grid_item {
		width: 31.333%;
		margin-right: 3%;
	}
	.et_pb_gutters2 .et_pb_column_4_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n) {
		margin-right: 3%;
	}
	.et_pb_gutters2 .et_pb_column_4_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
		clear: none;
	}
	.et_pb_column_4_4 .et_pb_grid_item:nth-child(3n+0) {
		margin-right: 0;
	}
	.et_pb_column_4_4 .et_pb_grid_item:nth-child(3n+1) {
		clear: both;
	}
	.et_pb_row .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n+0) {
		margin-right: 3%;
	}
	.et_pb_column_4_4 .et_pb_grid_item:nth-child(4n+1) {
		clear: none;
	}
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n+1) {
		clear: none;
	}
/*}*/
@media (max-width: 980px) {
	.et_pb_column .et_pb_grid_item:nth-child(n) {
		width: 31.333% !important;
		margin: 0 3% 3% 0 !important;
	}
	.et_pb_column .et_pb_grid_item:nth-child(3n+0) {
		margin-right: 0 !important;
	}
	.et_pb_column .et_pb_widget:nth-child(n) {
		width: 100% !important;
		margin-bottom: 0 !important;
	}
}
@media (max-width: 767px) {
	.et_pb_column .et_pb_grid_item:nth-child(n) {
		width: 48.5% !important;
	}
	.et_pb_column .et_pb_grid_item:nth-child(3n+0) {
		margin-right: 3% !important;
	}
	.et_pb_column .et_pb_grid_item:nth-child(2n) {
		margin-right: 0!important;
		clear: none;
	}
}
@media (max-width: 479px) {
	.et_pb_column .et_pb_grid_item:nth-child(n) {
		width: 100% !important;
		margin: 0 0 3% 0 !important;
	}
}

.vmc_product_portfolio .et_pb_grid_item {
	min-height: 480px;
}
.vmc_product_portfolio .project_data {
	padding: 30px;
}
.vmc_product_portfolio.et_pb_portfolio_grid .et_pb_portfolio_item .et_pb_module_header {
	margin: 0 0 15px;
	position: relative;
}
/*.vmc_product_portfolio.et_pb_portfolio_grid .et_pb_portfolio_item .et_pb_module_header a:after {
	position: absolute;
	right: 0;
	content: "\e03c";
	font-family: ETmodules!important;
	font-size: 32px;
	font-weight: 400;
}*/
.vmc_product_portfolio a {
	color: #fff;
}
.vmc_product_portfolio .project_data .project_excerpt p {
	font-size: 14px;
	line-height: 1.7em;
}
.vmc_product_portfolio .project_data .project_excerpt p em {
	font-size: 15px;
	font-weight: 700;
}
/* Force Catalogue Download Popup max-width on mobile */
.et_pb_section .et_pb_row.get_cat_row_mobile {
	max-width: 450px !important;
}

/* SINGLE PRODUCT */

/* Technical Data Table */
.single-project .entry-content table {
	border-top: none;
	border-bottom: 2px solid #ddd;
	border-left: none;
	border-right: none;
}
.single-project .entry-content tr th, .single-project .entry-content tr td {
	padding: 4px;
	border-top: 2px solid #ddd;
	vertical-align: top;
}
.single-project .entry-content tr th {
	font-size: 16px;
	font-weight: 700;
}
.single-project .project_category-sotori .entry-content tr th:nth-child(2) {
	color: #dc6e22;
}
.single-project .project_category-hale .entry-content tr th:nth-child(2) {
	color: #32aa9a;
}
.single-project .project_category-prireditveni-prostori .entry-content tr th:nth-child(2) {
	color: #e1ac34;
}
.single-project .entry-content tr td {
	font-size: 14px;
}
.single-project .entry-content tr td img {
	display: block;
	margin: 5px auto;
}
.single-project .entry-content table table, .single-project .entry-content table table tr td {
	border: none;
	margin: 0;
	padding: 0 4px;
	text-align: center;
	vertical-align: middle;
}
/* Tag Cloud */
.single-project .widget_tag_cloud h4 {
	display: none;
}
.single-project .tagcloud a:hover {
    background: rgba(0,0,0,.1);
}
.single-project .tagcloud a {
	display: inline-block;
	margin-bottom: 12px;
	margin-right: 8px;
	padding: 4px 14px;
	border: 1px solid #ddd;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	background: #fff;
	font-size: 16px !important;
	color: #666;
}

.single-project .et_pb_post {
    margin-bottom: 0;
}

@media (max-width: 980px) {
	.et_pb_row_fullwidth .et_pb_column {
		border: none !important;
	}
}

/* SERVICES PAGE */

.entry-content .vmc_multicol_text table {
	border: none;
}
.entry-content .vmc_multicol_text table tr td {
	border: none;
	vertical-align: top;
	padding: 10px 3px;
}

/* NEWS & SPECIAL OFFERS PAGE */

@media (min-width: 981px) {
.blog-first-post .et_pb_post {
	background-color: #f6f7f8;
	padding-top: 50px;
	margin-bottom: 0;
}
.blog-first-post .et_pb_post .entry-featured-image-url {
	width: 50%;
	height: 100%;
	float: right;
	margin-top: -50px;
	margin-bottom: 0;
}
.blog-first-post .et_pb_post a img {
	width: 100%;
	height: 500px;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}
.blog-first-post .entry-title {
	width: 40%;
	margin: 60px 50px 10px;
}
.blog-first-post .post-meta {
	width: 40%;
	margin: 0 50px 20px;
}
.blog-first-post .et_pb_post .post-meta a {
	position: absolute;
	top: 50px;
	left: 50px;
	background-color: #374f63;
	padding: 4px 8px 4px 12px;
	color: #fff;
}
.blog-first-post .post-content {
	width: 40%;
	margin: 0 50px;
}
.blog-first-post .post-content .more-link {
	clear: none;
}
}
@media (max-width: 980px) {
.blog-first-post .et_pb_post {
	background-color: #f6f7f8;
	min-height: 320px;
	padding: 0 40px 30px 40px;
	margin-bottom: 0;
}
.blog-first-post .et_pb_post .entry-featured-image-url {
	margin: 0 -40px 30px;
}
.blog-first-post .et_pb_post a img {
	min-width: 100%;
	max-width: 100%;
	height: auto;
}
}

.et_pb_post_extra a.more-link {
	display: block !important;
	border-bottom: none !important;
}
.single .et_pb_post {
	margin-bottom: 0;
	padding-bottom: 0;
}
#sidebar .et_pb_widget {
	padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
}
#sidebar .custom-html-widget li {
	margin-bottom: 2%;
}
#sidebar .custom-html-widget li a {
	display: block;
	background-color: #f6f7f8;
    padding: 7px 15px;
	color: #374f63;
	font-weight: 600;
	border-left: 1px solid #374f63;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#sidebar .custom-html-widget li a:hover {
	background-color: #374f63;
	color: #fff;
}
@media (max-width: 980px) {
	.et_pb_post_extra.el_dbe_grid_extended .post-content {
		padding: 30px 39px !important;
	}
}

/* SINGLE POST */

.single-post .entry-content table {
	border-top: none;
	border-bottom: 2px solid #ddd;
	border-left: none;
	border-right: none;
}
.single-post #content-area .entry-content tr th, .single-post #content-area .entry-content tr td {
	padding: 8px 4px;
	border-top: 2px solid #ddd;
	vertical-align: top;
}
.single-post #content-area .entry-content tr th {
	font-size: 16px;
	font-weight: 700;
}
.single-post #content-area .entry-content tr td {
	font-size: 14px;
	line-height: 20px;
}
.single-post #content-area .entry-content tr td img {
	display: block;
	margin: 5px auto;
}

/* CONTACT PAGE */

.et_pb_column_1_3 .et_pb_team_member_image {
	max-width: 340px;
	margin: 0 0 20px;
}
@media (min-width: 768px) and (max-width: 980px) {
	.et_pb_column_1_3 .et_pb_team_member_image {
		margin: 0 30px 20px 0;
	}
}
.et_pb_team_member_description h4 {
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 0;
}
.et_pb_team_member_description p {
	padding-bottom: 0;
}
.et_pb_team_member_description hr {
	border: none;
	border-top: 1px solid #e2e2e2;
	margin: 15px 0;
}

#obrazec input, #obrazec textarea {
	background-color: #fff !important;
}

.absolute_map .et_pb_map {
	position: absolute;
	overflow:visible;
	height: 100%; 
}

/* FOOTER */

.footer-widget #custom_html-2 {
	max-width: 190px;
}
.footer-widget #custom_html-2 img {
	width: 90%;
	display: block;
	margin: 0 auto 20px;
}
.footer-widget #custom_html-2 p {
	text-align: center;
}
#footer-widgets .footer-widget .et_pb_widget ul li {
	margin-bottom: 0;
}
@media (min-width: 981px) {
	#footer-widgets {
		padding: 6% 0 2%;
	}
	.footer-widget #nav_menu-2 {
		margin-left: 50px;
	}
	.footer-widget #custom_html-3 {
		margin-left: 25px;
	}
}

/* SEARCH RESULTS */

.search-results #main-content .container {
	padding-bottom: 40px;
}
.search-results #main-content .container::before {
	display: none;
}
.search_results_header {
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 40px;
	font-size: 20px;
}
.search_results_header p span {
	font-weight: 700;
}
@media (min-width: 981px) {
	.grid-search li {
		display: inline-block;
		width: 22.5%;
		margin-right: 3%;
		vertical-align: top;
	}
	.grid-search li:nth-of-type(4n+0) {
		margin-right: 0;
	}
}
.grid-search img {
	margin-bottom: 15px;
}
.grid-search h2 {
	font-size: 24px;
}
.grid-search .post-meta {
	display: none;
}

/* MONARCH */

.et_monarch .et_pb_section .et_social_inline_bottom {
    margin-bottom: 0;
}
html[lang="sl-SI"] .et_monarch .et_social_inline_bottom::before {
	content: "Deli ta prispevek";
}
html[lang="en-US"] .et_monarch .et_social_inline_bottom::before {
	content: "Share this post";
}
html[lang="hr"] .et_monarch .et_social_inline_bottom::before {
	content: "Dijeli ovaj post";
}
html[lang="ro-RO"] .et_monarch .et_social_inline_bottom::before {
	content: "Distribuie aceasta postare";
}
html[lang="sr-RS"] .et_monarch .et_social_inline_bottom::before {
	content: "Deli ovaj post";
}
.et_monarch .et_social_inline_bottom::before {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.et_monarch .et_social_autowidth li {
    margin: 0 1.5% 1.5% 0 !important;
	float: none;
    display: inline-block;
}
.et_monarch .et_social_autowidth li:last-child {
    margin-right: 0 !important;
}


