/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.creainsight.cz
 Description:    Divi Child Theme for Casa Moderna
 Author:         Crea Insight s.r.o.
 Author URI:     http://www.creainsight.cz
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

body a {
	text-decoration: none;
}

.cookie-consent-footer-btn {
	cursor: pointer;
}

.cookies-settings {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 99999;
}

.cs-container {
	width: 50%;
	min-width: 800px;
	position: relative;
	z-index: 99999;
	margin-left: auto;
	margin-right: auto;
	max-height: 60vh;
	margin-top: 20vh;
	border: solid 1px gray;
	background-color: #fff;
	padding: 30px;
	padding-bottom: 45px;
	overflow-y: auto;
	box-shadow: 0px 0px 30px 10px #000;
	border-radius: 20px;
}

.cs-close {
	float: right;
	cursor: pointer;
	color: #000;
}

.cs-close:hover {
	opacity: 0.5;
}

.cs-header {
	padding: 15px 0px;
	border: none;
	border-bottom: solid 1px #c1c1c1;
}

.cs-header p {
	font-size: 18px;
}

.cs-option {
	border: solid 1px #c1c1c1;
	border-top: none;
	padding: 18px;
}

.cs-opt-info-icon {
	font-family: 'courier', serif;
	border: solid 1px #857e6d;
	display: inline-block;
	line-height: 18px;
	font-size: 14px;
	width: 18px;
	height: 18px;
	text-align: center;
	border-radius: 10px;
	color: #857e6d;
	padding-left: 1px;
	cursor: pointer;
	font-weight: 600;
	transition: 0.3s;
	background-color: #fff;
	vertical-align: top;
}

.cs-opt-info-icon:hover {
	background-color: #857e6d;
	color: #fff;
	opacity: 0.5;
}

.cs-opt-name {
	display: inline-block;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.2em;
	vertical-align: top;
	font-weight: 500;
}

.cs-opt-txt {
	display: none;
	text-align: justify;
	padding: 10px;
	padding-top: 30px;
}

.cs-opt-tgl {
	display: inline-block;
	vertical-align: top;
	float: right;
}

.opt-label-txt {
	display: none;
}

.opt-switch-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.opt-switch-label {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
	margin-bottom: 0;
}

.opt-switch-nob {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #857E6D62;
	border: 1px solid #857e6d;
	transition: all .2s ease-in 0s;
	border-radius: 20px;
}

.opt-switch-nob::before {
	content: '';
	width: 21px;
	height: 21px;
	position: absolute;
	bottom: 1px;
	left: 1px;
	background-color: #857e6d;
	border-radius: 20px;
	transition: .4s;
	opacity: 0.3;
}

input:checked + .opt-switch-label .opt-switch-nob::before {
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
	opacity: 1;
}

.cs-opt-tgl-aa-note {
	font-weight: 600;
	color: #00a600;
}

.cs-btns-container {
	text-align: right;
	padding: 40px 0;
}

.cookies-line {
	position: fixed;
	bottom: 10%;
	left: 5%;
	display: none;
	width: 90%;
	z-index: 99999;
	background-color: #857e6d;
	padding: 40px;
	color: #fff;
	border-radius: 20px;
	box-shadow: 0px 10px 30px 0px #808080;
}

.cl-container {
	display: flex;
	flex-direction: row;
	gap: 100px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	justify-content: space-between;
	align-items: center;
}

.cl-text h2 {
	color: #ffffff;
}

.cl-btns {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cl-btn, .cs-btn {
	width: 100%;
	white-space: nowrap;
	background-color: transparent;
	text-align: center;
	padding: 8px 50px;
	border-radius: 8px;
	opacity: 1;
	transition: all ease-in-out 300ms;
	cursor: pointer;
}

.cl-btn {
	color: #fff;
	border: 1px solid #ffffff;
}

.cl-btn:hover, .cl-btn.cl-btn-acc {
	background-color: #ffffff;
	color: #475155;
}

.cl-btn:hover {
	opacity: 0.8;
}

.cs-btn {
	color: #53565a;
	border: 1px solid #53565a;
}

.cs-btn:hover, .cs-btn.cs-btn-acc {
	background-color: #53565a;
	color: #ffffff;
}

.cs-btn:hover {
	opacity: 0.8;
}

/* GENERAL */

.et_pb_module.et_pb_fullwidth_code iframe {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
}

html[lang="cs-CZ"] .lang-hide-en {
	display: none;
}

html[lang="en-GB"] .lang-hide-cs {
	display: none;
}

/* LAYOUT */	

.et_pb_row {
	width: 90%;
}

.et_pb_row.et_pb_equal_columns .et_pb_column {
	align-self: center;
}

.et_pb_row.logowall-row .et_pb_column {
	text-align: center;
}

.et_pb_module.sp-header-module {
	height: 410px;
	display: flex;
}

.et_pb_module.sp-header-module .et_pb_fullwidth_header_container {
	align-self: center;
}

.et_pb_row.contacts-row {
	text-align: center;
}

.et_pb_row.contacts-row .et_pb_column {
	float: none;
	display: inline-block;
}

.et_pb_row.contacts-row .et_pb_column.hidden-column {
	display: none;
}

.et_pb_module.dif_instagram_feed {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

/* MAIN MENU */

#main-header, #top-header {
	z-index: 99998;
}

#top-menu li.main-menu-inverted-item.menu-item::before {
	content: '';
	width: 100%;
	height: 92px;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #53565a;
	transition: all ease-in-out 0.3s;
}

#top-menu li.main-menu-inverted-item.menu-item:hover::before {
	background-color: #857e6d;
}

#top-menu li {
	padding-right: 0px;
}

#top-menu li a {
	font-weight: 300;
	padding-left: 20px;
	padding-right: 20px;
}

#top-menu li.main-menu-inverted-item.menu-item a, .et-fixed-header #top-menu li.main-menu-inverted-item.menu-item a {
	color: #fff !important;
}

#top-menu li.main-menu-inverted-item.menu-item a:hover, .et-fixed-header #top-menu li.main-menu-inverted-item.menu-item a:hover {
	color: #c2ab5d !important;
}

#top-menu-nav > ul > li > a:hover {
	opacity: 1;
	color: #c2ab5d !important;
}

#top-menu-nav > ul > li > a::after {
	content: '';
	background-color: #c2ab5d;
	width: 20px;
	height: 2px;
	position: absolute;
	bottom: 20px;
	left: 50%;
	margin-left: -10px;
	transition: all ease-in-out 0.5s;
	opacity: 0;
}

.et-fixed-header #top-menu-nav > ul > li > a::after {
	bottom: 10px;
}

#top-menu-nav > ul > li > a:hover::after {
	opacity: 1;
}

/* HEADLINEs */

.et_pb_module.et_pb_text.hp-extra-text h1 {
	font-weight: 100;
	text-transform: none;
	font-size: 65px;
	line-height: 85px;
}

.et_pb_module_header {
	text-align: center;
	font-weight: 200;
	text-transform: none;
	font-size: 60px;
	line-height: 75px;
}

.et_pb_module.et_pb_post_title h1 {
	font-weight: 200;
	text-align: center;
	text-transform: none;
	font-size: 52px;
	line-height: 75px;
	letter-spacing: 3px;
}

h2, .et_pb_column_1_3 h2, .et_pb_column_1_4 h2 {
	font-weight: 200;
	text-transform: none;
	font-size: 52px;
	line-height: 75px;
	letter-spacing: 3px;
}

h3 {
	font-weight: 200;
	text-transform: none;
	font-size: 26px !important;
	letter-spacing: 3px;
	padding-bottom: 30px;
}

.et_pb_row.contacts-row .et_pb_module.et_pb_text h3 {
	font-size: 16px !important;
	font-weight: bold;
	letter-spacing: 1px;
	padding-bottom: 0px !important;
}

/* TEXTs */

.et_pb_module.et_pb_text.hp-extra-text p {
	font-weight: 100;
	text-transform: none;
	font-size: 35px;
	line-height: 50px;
	letter-spacing: 0px;
}

p {
	font-weight: 400;
}

.et_pb_module.et_pb_text.category-description-module p {
	text-align: center;
}

p a {
	font-weight: bold;
}

.et_pb_row.contacts-row .et_pb_module.et_pb_text p strong {
	font-size: 13px;
	line-height: 1em;
}

.et-pb-contact-message {
	text-align: center;
}

/* IMAGEs */

.et_pb_row.logowall-row .et_pb_module.et_pb_image {
	width: 14%;
	display: inline-block;
	vertical-align: middle;
	margin: 1.3%;
}

/* BUTTONs */

body.et_button_no_icon .et_pb_button, body.et_button_no_icon .et_pb_button:hover {
	padding: 15px 20px !important;
	font-weight: 300;
}

.et_pb_button.sortiment-tlacitko {
	min-width: 230px;
}

.et_pb_section.product-header-section .et_pb_button_module_wrapper.et_pb_module {
	display: inline-block;
	margin-right: 30px;
}

.et_pb_button.ask-button {
	background-color: transparent;
	color: #857e6d !important;
	font-weight: 400 !important;
}

.et_pb_button.ask-button:hover {
	background-color: #857e6d45 !important;
}

.more-link {
	font-size: 13px;
	background-color: #857e6d;
	border-width: 1px !important;
	border-color: #857e6d;
	border-radius: 0px;
	border-style: solid;
	letter-spacing: 1px;
	color: #fff;
	padding: 15px 20px !important;
	font-weight: 300;
	transition: all ease-in-out 0.3s;
	cursor: pointer;
	font-family: 'Jost',Helvetica,Arial,Lucida,sans-serif;
	text-transform: uppercase;
	display: inline-block !important;
	margin-top: 30px;
}

.more-link:hover {
	background-color: transparent;
	color: #857e6d;
}

/* GALLERY */

.et_pb_module.et_pb_gallery.about-gallery-module .et_pb_gallery_item {
	width: 31%;
	margin: 1%;
	display: inline-block !important;
	float: none;
}

.project-template-default.single-project .et_pb_grid_item.et_pb_gallery_item {
	padding: 10px;
}

/* PORTFOLIOs */

.et_pb_portfolio_grid_items {
	text-align: center;
}

.et_pb_portfolio_grid_items .project {
	width: 45% !important;
	float: none !important;
	display: inline-block;
	margin: 2% !important;
	position: relative;
	vertical-align: top;
}

.et_pb_portfolio_grid_items .project .et_pb_module_header {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	color: #fff;
	font-weight: normal;
	background-color: #857e6d;
	opacity: 0;
	z-index: 10;
	transition: all ease-in-out 0.3s;
	line-height: 1.3em;
	padding-top: 20px;
	padding-bottom: 20px;
}

.et_pb_portfolio_grid_items .project:hover .et_pb_module_header {
 	opacity: 1;
}

.et_pb_module.sp-portfolio .et_pb_module_header {
	position: relative;
	opacity: 1;
	margin-top: 0px;
}

.et_pb_module.sp-portfolio .post-meta, .et_pb_module.sp-portfolio .post-meta a {
	width: 100%;
	text-align: center;
	color: #fff;
	background-color: #857e6d;
	position: relative;
	margin-top: 0px;
	font-weight: 300;
	padding-bottom: 10px;
}

/* PROJECTs */

.single-project h1 {
	font-weight: 200;
	text-transform: none;
	font-size: 40px;
	line-height: 60px;
}

.single-project .et_pb_row {
	max-width: 1280px !important;
}

.single-project .et_pb_row .et_pb_column {
	padding: 1%;
}

.single-project .et_pb_module.et_pb_image {
	padding-bottom: 20px;
}

/* PRODUCTs */

.et_pb_module.et_pb_code.post-page-terms-module a {
	color: #c2ab5d;
	transition: all ease-in-out 0.3s;
}

.et_pb_module.et_pb_code.post-page-terms-module a:hover {
	text-decoration: underline !important;
}

.single-post .et_pb_row .et_pb_column {
	padding: 2%;
}

.single-post h1 {
	font-weight: 200;
	text-transform: none;
	font-size: 40px;
	line-height: 1.5em;
	letter-spacing: 3px;
	padding-bottom: 40px;
}

.single-post .entry-content tr td {
	border-top: 1px solid #eee;
	padding: 15px 30px;
}

.single-post .entry-content tr td:first-child {
	width: 33%;
}

.single-post .entry-content tr:nth-child(odd) td {
	background-color: rgba(0,0,0,.025);
}

/* BLOGs */

.et_pb_module.et_pb_blog_grid_wrapper article {
	text-align: center;
	border: none;
}

.et_pb_module.et_pb_blog_grid_wrapper article .et_pb_image_container img {
	max-width: 400px;
	min-width: unset;
}

.single-post .et_pb_module.et_pb_posts {
	font-size: 0px;
}

.single-post .et_pb_module.et_pb_posts article {
	display: inline-block;
	vertical-align: top;
	width: 17%;
	margin-right: 3.75%;
	text-align: center;
}

.single-post .et_pb_module.et_pb_posts article:last-child {
	margin-right: 0%;
}

.single-post .et_pb_module.et_pb_posts article .entry-title {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0px;
}

/* FOOTER */

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

#footer-widgets {
	padding-top: 50px !important;
}

.fwidget {
	display: block;
	width: 100%;
	margin-bottom: 20px !important;
}

.fwidget.widget_text {
	margin-bottom: 50px !important;
}

.wp-block-group {
	margin-bottom: 20px !important;
}

.wp-block-group svg {
	width: 30px;
	cursor: pointer;
}

.fwidget table tr td {
	padding-bottom: 10px;
	border: none;
}

.fwidget table tr td:first-child {
	padding-right: 30px;
}

.fwidget p a {
	font-weight: unset;
}

#footer-widgets .footer-widget li::before {
	border-radius: 0px;
	border-style: solid;
	border-width: 1px;
	content: "";
	left: 0;
	position: absolute;
	top: 9px;
	width: 4px;
	height: 4px;
	border-top: none;
	border-left: none;
	transform: rotate(-45deg);
}

.fwidget p img {
	width: 15px !important;
	height: 15px !important;
	margin-right: 10px;
}

/* RESPONZIVITY */

@media only screen and (max-width: 1600px) {
	#main-header .container {
		width: 90%;
	}	
}

@media only screen and (max-width: 1440px) {
	#main-header .container {
		width: 94%;
	}
	
	#top-menu li a {
		padding-left: 15px;
		padding-right: 15px;
	}	
}

@media only screen and (max-width: 1280px) {
	#top-menu li a {
	  font-size: 14px !important;
	}
	
	#top-menu li a {
	  padding-left: 10px;
	  padding-right: 10px;
	}
}

@media only screen and (max-width: 1170px) {
	#main-header .container {
		width: 96%;
	}
	
	#top-menu li a {
	  padding-left: 8px;
	  padding-right: 8px;
	}
}

@media only screen and (max-width: 980px) {

	.cookies-line {
		top: 5%;
		overflow-y: auto;
	}

	.cl-container {
		flex-direction: column;
		gap: 40px;
	}

	.cl-text h2 {
		font-size: 30px;
	}

	.cs-container {
		min-width: 90%;
	}

	.cs-btns-container {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	#main-footer .footer-widget h4, #main-footer .widget_block h1, #main-footer .widget_block h2, #main-footer .widget_block h3, #main-footer .widget_block h4, #main-footer .widget_block h5, #main-footer .widget_block h6 {
		color: #ffffff;
		font-size: 20px;
	}
	
	.et_pb_section.left-right-section .et_pb_row:nth-child(even) {
		display: flex;
		flex-flow: column-reverse;
	}	
	
	.et_pb_section.left-right-section .et_pb_row .et_pb_column.et-last-child, .et_pb_row .et_pb_column:last-child {
		margin-bottom: 30px;
	}
	
	.et_pb_module.dif_instagram_feed .dif-insta-media-container {
		height: 250px;
	}	
	
	.single-post .et_pb_module.et_pb_posts article {
		width: 28%;
		margin-right: 8%;
	}	
	
	.single-post .et_pb_module.et_pb_posts article:nth-child(3) {
		margin-right: 0%;
	}	
	
	.single-post .et_pb_module.et_pb_posts article:nth-child(n+4) {
		display: none;
	}	
}

@media only screen and (max-width: 800px) {
	.et_pb_module.dif_instagram_feed .dif-insta-media-container {
		height: 200px;
	}	
}

@media only screen and (max-width: 600px) {
	.et_pb_module.dif_instagram_feed .dif-insta-media-container {
		height: 150px;
	}	
	
	.single-post .et_pb_module.et_pb_posts article {
		width: 70%;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	
	.single-post .et_pb_module.et_pb_posts article:nth-child(3) {
		margin-right: auto;
	}
}

@media only screen and (max-width: 479px) {
	.et_pb_module.dif_instagram_feed .dif-insta-media-container {
		height: 130px;
	}	
}

@media only screen and (max-width: 425px) {
	.et_pb_module.dif_instagram_feed .dif-insta-media-container {
		height: 110px;
	}	
}

@media only screen and (max-width: 320px) {
	.et_pb_module.dif_instagram_feed .dif-insta-media-container {
		height: 80px;
	}	
}





