/*
Theme Name: Divi Child Theme
Description: Child Theme For Divi
Author: Your Name
Version: 1.0.0
Template: Divi
*/
:root {
	/*--dark: #242424;*/
	--dark: #353535;
}
body.dark-mode {
	background-color: var(--dark) !important;
	color: #fff !important;
}
body.dark-mode #main-header, 
body.dark-mode #main-header .nav li ul,
body.dark-mode .et_mobile_menu {
	background-color: #222222 !important;
}
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
	color: #ffffff !important;
}
body .et_pb_blog_grid .et_pb_post .entry-title a, 
body .et_pb_blog_grid .not-found-title {
	color: inherit !important;
}
body.dark-mode .et_pb_blog_grid .et_pb_post .entry-title a, 
body.dark-mode .et_pb_blog_grid .not-found-title {
	color: #FFFFFF !important;
}
body.dark-mode #top-menu a {
	color: rgba(255,255,255,0.6) !important;
}
body.dark-mode #main-header .nav li ul a {
	color: rgba(255,255,255,0.7) !important;
}
body.dark-mode .et_pb_bg_layout_light .et_pb_post p {
	color: #fff !important;
}
body.dark-mode .et-search-form input {
	color: #fff !important;
}
body.dark-mode .et_mobile_menu li a {
	color: #fff;
}
.et_pb_blog_grid .et_pb_image_container img,
.et_pb_lightbox_image img,
.mfp-img {
	transition: transform .3s;
}
.et_pb_blog_grid .et_pb_image_container img,
.et_pb_lightbox_image img,
.mfp-img {
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.5));
}
.et_pb_blog_grid .et_pb_image_container:hover img,
.et_pb_lightbox_image:hover img {
	filter: drop-shadow(15px 15px 5px rgba(0,0,0,.6));
}
.img2 .et_pb_lightbox_image img {
	filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.5)) drop-shadow(-3px 3px 3px rgba(0,0,0,0.3));
}
.img2 .et_pb_lightbox_image:hover img {
	filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.6)) drop-shadow(-6px 6px 6px rgba(0,0,0,0.4));
}
body.dark-mode .et_pb_blog_grid .et_pb_image_container img,
body.dark-mode .et_pb_lightbox_image img,
body.dark-mode .mfp-img {
	filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.7));
}
body.dark-mode .et_pb_blog_grid .et_pb_image_container:hover img,
body.dark-mode .et_pb_lightbox_image:hover img {
	filter: drop-shadow(20px 20px 10px rgba(0,0,0,0.8));
}
body.dark-mode .img2 .et_pb_lightbox_image img {
	filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.7)) drop-shadow(-3px 3px 3px rgba(0,0,0,0.4));
}
body.dark-mode .img2 .et_pb_lightbox_image:hover img {
	filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.8)) drop-shadow(-6px 6px 6px rgba(0,0,0,0.6));
}
.flex {
	display: flex;
}
.my-meta-wrap p {
	padding-bottom: 0 !important;
	font-size: .85rem;
}
.image-row {
	display: flex;
	flex-direction: column;
}
.et_pb_blog_grid .entry-title {
	display: none;
}
.et_pb_blog_grid .entry-title.my-title {
	display: block;
}
.et_pb_blog_grid .et_pb_post .entry-featured-image-url {
	margin-bottom: 0;
}
.et_pb_blog_grid .reverse-img {
	display: none;
}
.et_pb_blog_grid .et_pb_image_container {
	margin-bottom: 19px;
	position: relative;
}
.show-backs .et_pb_blog_grid .et_pb_image_container {
	display: none;
}
.show-backs .et_pb_blog_grid .et_pb_image_container.reverse-img {
	display: block;
}

.toggle input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}
.toggle label {
	cursor: pointer;
	text-indent: -9999px;
	width: 50px;
	height: 27px;
	background: #c83b2d;
	display: block;
	border-radius: 50px;
	position: relative;
}

.toggle label:after {
	content: '';
	position: absolute;
	top: 1px;
	left: 5px;
	width: 25px;
	height: 25px;
	background: #fff;
	border-radius: 49px;
	transition: 0.3s;
}

.toggle input:checked + label {
	background: #bada55;
}

.toggle input:checked + label:after {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

.toggle label:active:after {
	width: 130px;
}
.settings-row {
	text-align: center;
	display: flex;
	justify-content: space-evenly;
	align-content: center;
	flex-direction: row;
	flex-grow: 1;
}
.settings-row .col {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}
.settings-row .toggle {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.single .settings-row .col:first-of-type,
.single .settings-row .col:nth-of-type(2) {
	display: none;
}
/*nav layout*/
.et_header_style_left .logo_container {
	position: relative;
	height: auto;
	width: auto;
	display: flex;
	align-items: center;
}
#logo { 
	padding-right: 10px; 
}
#logo-text, #logo-tagline { 
	margin:0; 
	padding:0; 
	display:block;
}
#logo-tagline { 
	opacity: 0.7; 
	margin-left: 16px; 
	vertical-align: sub; 
}
@media only screen and (max-width: 767px) { 
	#logo-tagline { 
		display: none; 
	}
}
.et_hide_primary_logo .logo_container { 
	height: 100% !important; 
	opacity: 1 !important; 
}
.et_hide_primary_logo .logo_container #logo { 
	display: none; 
}
.container.et_menu_container {
	display: flex;
	width: 100%;
	justify-content: space-between;
}
@media only screen and (max-width: 1500px) { 
	.container.et_menu_container {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.et_header_style_left #et-top-navigation {
	padding-left: 0 !important;
	margin-left: auto;
}
.single .people {
	display: flex;
	justify-content: space-between;
	padding-bottom: 0;
}
/*from customizer*/
header #logo {
	display: none;
}
.et_pb_title_featured_container img {
	width: unset;
}
.et_pb_image_container img, .et_pb_post a img {
	width: unset !important;
} 
.widget_wp_categories_widget ul li, .widget_wpcategorieswidget ul li {
	font-size: 14px !important;
	border-bottom: unset!important;
	line-height: 28.3px!important;
	margin-bottom: .5em;
}
.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.logo_col {
	width: 25%;
	text-align: center;
	padding: 20px 0;
}
.logo_col img {
	height: 100px;
	width: auto;
}
.pub_col {
	width: 33.3%;
	text-align: l;
	padding: 10px 0;
}
.pub_col .tax-img {
	max-width: 30px;
	height: auto;
	margin-right: 10px;
	vertical-align: middle;
}
#cats .row.flex {
	justify-content: space-between;
}
.et_pb_blog_grid .et_pb_post {
	border-width: 0;
}
.col-12 {
	width: 100%;
}
.term_list .header-row {
	margin-bottom: 20px;
}
.term_list .header-row .col {
	flex-basis: 5%;
}
/*lightbox*/
.mfp-close {
	opacity: .9 !important;
}
img.mfp-img {
	max-height: unset !important;
	max-width: 100%;
}
.mfp-content {
    pointer-events: none!important;
}
.translated {
	font-style: italic;
}
.card-row {
	margin-top: 1em;
}
.card-additional p,
.inscription p {
	font-size: 1.15rem;
	line-height: 1.5;
}
.card-additional p,
.card-additional .translated,
.translated.inscription {
	margin-top: 1em;
	display: block;
}
#cats .col {
	flex: 1 1 33.333%;
}
h3.addressed {
	font-size: 1.25em;
	margin-top: 1em;
}
.taxlinks .col {
	padding-left: 2em;
	padding-right: 1em;
	margin-left: 2em;
	border-left: 1px solid grey;
}
.card-row {
	margin-top: 1em;
	border-top: 1px solid grey;
	padding-top: 1em;
	flex-wrap: wrap;
}
.col-1 .taxlinks {
	flex-basis: 100%;
}
.col-1 .card-content {
	flex-basis: 100%;
}
.col-1 .taxlinks .col {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	border-left: unset;
}
.card-row.col-1 {
	flex-direction: column;
}
@media only screen and (min-width: 577px) { 
	.col-1 .taxlinks {
		flex-basis: 100%;
		display: flex;
		justify-content: space-between;
	}
}
@media only screen and (max-width: 991px) { 
	.col-1 .taxlinks .col {
		flex: 1 1 25%;
	}
}
@media only screen and (max-width: 767px) { 
	.col-1 .taxlinks .col {
		flex: 1 1 33.333%;
	}
}
@media only screen and (min-width: 900px) { 
	.card-content {
		flex-basis: 75%;
	}
	.taxlinks {
		flex-basis: 25%;
	}
}
@media only screen and (max-width: 899px) { 
	.card-content {
		flex-basis: 60%;
	}
	.taxlinks {
		flex-basis: 40%;
	}
}
@media only screen and (max-width: 576px) { 
	.card-row {
		display: block;
	}
	.taxlinks {
		border-top: 1px solid gray;
		margin-top: 1em;
		padding-top: 1em;
	}
	.taxlinks .col {
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		border-left: unset;
	}
	.single .people {
		display: block;
	}
}
@media only screen and (min-width: 577px) { 
	.col-from .meta-inner,
	.col-ref .meta-inner {
		max-width: 600px;
	}
	.meta-inner {
		min-width: 140px;
		padding-left: 10px;
	}
	.card-meta .col-date .meta-inner {
		padding-left: 0;
	}
}
.card-additional {
	margin-bottom: 1em;
}
.widget_lc_taxonomy {
	text-align: right;
}
#main-content {
	background-color: transparent !important;
}
.mfp-figure:after {
	background: transparent;
	box-shadow: unset;
}
@media (max-width: 479px) {
  .et_pb_blog_grid .et_pb_post > h2.entry-title {
    display: none;
  }
}
.et_pb_image_container.portrait {
	text-align: center;
}
.et_pb_blog_grid .et_pb_image_container.portrait img:not(.calced) {
	min-width: unset !important;
	max-width: 260px;
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
}
@media only screen and (max-width: 767px) {
	.et_pb_blog_grid .et_pb_image_container.portrait img:not(.calced) {
		max-width: 100%;
	}	
}
.et_pb_blog_grid .post-content-inner {
	text-align: center;
}
.et_pb_blog_grid .et_pb_image_container.portrait img.calced {
	min-width: unset !important;
	max-width: unset;
	width: auto !important;
	margin-left: auto;
	margin-right: auto;
}
/*single card post animation*/
.image-row img:hover {
	cursor: zoom-in;
}
@media only screen and (min-width: 576px) {
	.card-title h1 {
		background: rgba(255,255,255,.25);
	}
	body.dark-mode .card-title h1,
	body.dark-mode .card-title h2 {
		background: rgba(53,53,53,.25);
	}
	.card-title h1 {
		margin-top: 1.5%;
	}
	.both-landscape {
		margin-bottom: .5%;
	}
	.image-row .et_pb_lightbox_image {
		position: relative;
	}
	.image-row {
		flex-direction: row;
		align-items: stretch;
		justify-content: center;
		height: 560px;
	}
	.image-row.both-portrait {
		height: 575px;
	}
	.image-row.both-landscape {
		height: 415px;
	}
	.img2,
	.img1 {
		position: relative;
	}
	.img2 img,
	.img1 img {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		transition: all .5s ease-in-out;
	}
	.img2 img {
		margin: auto 0;
	}
	.img1 .et_pb_lightbox_image {
		transform: rotate(-2deg);
		display: block;
	}
	.img2 .et_pb_lightbox_image {
		transform: rotate(20deg);
	}
	.both-landscape .img2 .et_pb_lightbox_image,
	.both-portrait .img2 .et_pb_lightbox_image {
		transform: rotate(10deg);
	}
	.img1 .et_pb_lightbox_image {
		position: relative;
		z-index: 2;
	}
	.img2 .et_pb_lightbox_image {
		position: relative;
		z-index: 1;
		width: 100%;
		height: 100%;
		display: block;
		transition: all .5s ease-in-out;
	}
	.img2 .et_pb_lightbox_image {
		position: relative;
		z-index: 1;
		width: 100%;
		height: 100%;
		display: block;
		transition: all .5s ease-in-out;
	}
	.both-landscape .col-img {
		flex-basis: 50%;
	}
	.both-portrait .img2 img,
	.both-landscape .img2 img {
		padding-top: 10%;
	}
	.image-row img {
		transition: transform .3s;
	}
	.image-row img:hover,
	.et_pb_blog_grid .et_pb_image_container:hover img {
		transform: scale(1.025);
	}
	.right-animator {
		width: 100%;
		height: 100%;
		transition: all .5s ease-in-out;
	}
	.right-animator.move-right img {
		left: 15%;
		transition: all .5s ease-in-out;
		z-index: 1;
	}
	.both-portrait .right-animator.move-right img {
		left: 25%;
	}
	.right-animator.move-right .et_pb_lightbox_image {
		z-index: 1;
		transition: all .5s ease-in-out;
	}
	.right-animator.keep-right .et_pb_lightbox_image,
	.right-animator.move-right.keep-right .et_pb_lightbox_image {
		z-index: 3;
		transition: all .5s ease-in-out;
	}
	.right-animator.keep-right img,
	.right-animator.move-right.keep-right img {
		left: 15%;
		transition: all .5s ease-in-out;
		z-index: 3;
	}
	.both-portrait .right-animator.keep-right img,
	.both-portrait .right-animator.move-right.move-right img {
		left: 25%;
	}
	.right-animator.move-under .et_pb_lightbox_image,
	.right-animator.move-under img {
		z-index: 1;
	}
	.right-animator.on-bottom .et_pb_lightbox_image {
		z-index: 1;
		transition: all .5s ease-in-out;
	}
	.right-animator.on-bottom img {
		left: 0;
		transition: all .5s ease-in-out;
		z-index: 1;
	}
	.right-animator.on-top img {
		left: 0;
		transition: all .5s ease-in-out;		
		z-index: 3;
	}
	.right-animator.on-top .et_pb_lightbox_image {
		z-index: 3;
		transition: all .5s ease-in-out;
	}
	
	.left-animator {
		width: 100%;
		height: 100%;
		transition: all .5s ease-in-out;
	}
	.left-animator.move-left img {
		left: -15%;
		transition: all .5s ease-in-out;
		z-index: 1;
	}
	.both-portrait .left-animator.move-left img {
		left: -25%;
	}
	.left-animator.move-left .et_pb_lightbox_image {
		z-index: 1;
		transition: all .5s ease-in-out;
	}
	.left-animator.keep-left .et_pb_lightbox_image,
	.left-animator.move-left.keep-left .et_pb_lightbox_image {
		z-index: 3;
		transition: all .5s ease-in-out;
	}
	.left-animator.keep-left img,
	.left-animator.move-left.keep-left img {
		left: -15%;
		transition: all .5s ease-in-out;
		z-index: 3;
	}
	.both-portrait .left-animator.keep-left img,
	.both-portrait .left-animator.move-left.move-left img {
		left: -25%;
	}
	.left-animator.move-under .et_pb_lightbox_image,
	.left-animator.move-under img {
		z-index: 1;
	}
	.left-animator.on-bottom .et_pb_lightbox_image {
		z-index: 1;
		transition: all .5s ease-in-out;
	}
	.left-animator.on-bottom img {
		left: 0;
		transition: all .5s ease-in-out;
		z-index: 1;
	}
	.left-animator.on-top img {
		left: 0;
		transition: all .5s ease-in-out;		
		z-index: 3;
	}
	.left-animator.on-top .et_pb_lightbox_image {
		z-index: 3;
		transition: all .5s ease-in-out;
	}
}
/*simple v details*/
.simple .et_pb_blog_grid .entry-title,
.simple .et_pb_blog_grid .my-meta-wrap {
	display: none !important;
}
.et_pb_image_container:hover {
	z-index: 11 !important;
}
.simple .et_pb_blog_grid .et_pb_image_container {
	margin-bottom: 0;
}
.et_pb_blog_grid .size-1of3 .et_pb_post {
	padding: 10px;
}
/*switch labels*/
.toggle input[type="checkbox"] {
	display: none;
}
@media only screen and (max-width: 690px) {
	.tlabel {
		display: none;
	}
	body.simple .label-simple {
		display: block;
	}
	body.details .label-details {
		display: block;
	}
	body.show-fronts .label-fronts {
		display: block;
	}
	body.show-backs .label-backs {
		display: block;
	}
	
	body.dark-mode .label-dark {
		display: block;
	}
	body.light-mode .label-light {
		display: block;
	}
}
.pagination.top {
	padding-bottom: 30px;
	margin-top: -20px;
}
@media only screen and (min-width: 576px) {
	.image-row.mixed .col-img.landscape {
		flex-basis: 60%;
	}
	.image-row.mixed .col-img.portrait {
		flex-basis: 40%;
	}
	.image-row.both-portrait .col-img {
		flex-basis: 50%;
	}
}

.et_pb_gutters3 .et_pb_module.et_pb_posts_nav.nav-single {
	margin-bottom: 10px !important;
}
.scroll-link {
	padding-bottom: 20px !important;
}
@media only screen and (min-width: 1200px) {
	.image-row.mixed,
	.image-row.both-portrait {
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
	.image-row.both-portrait {
		max-width: 50%;
	}
	.scroll-link {
		display: none;
	}
	.et_pb_gutters3 .et_pb_module.et_pb_posts_nav.nav-single {
		margin-bottom: 0 !important;
	}
	.image-row.both-landscape {
		margin-top: 40px;
	}
	.image-row.mixed,
	.image-row.both-portait	{
		margin-top: 20px;
	}
	.card-title {
		text-align: center;
	}
	.card-title h1,
	.card-title h2 {
		margin-left: auto;
		margin-right: auto;
		width: fit-content;
	}
}
h2.translated {
	font-size: 20px;
}
.card-title h1 {
	font-size: 24px;
}
.card-title {
	margin-bottom: 10px;
}
.person-filter.active {
	color: #bada55;
	font-weight: bold;
}
.person-filter.active:after {
content: '\52'!important;
color: #bada55;
font-family: 'ETMODULES'!important;
margin-left: 10px;
}
footer .et_pb_widget select {
	width: auto;
}
footer .widget_archive {
	width: 100% !important;
}
footer .widget_archive select {
	width: 100% !important;
}
footer .title {
	text-align: left;
}
@media only screen and (max-width: 991px) {
	header .et_search_form_container {
		max-width: 100% !important;
		margin: 0 !important;
		width: 100% !important;
	}
}
@media only screen and (max-width: 600px) {
	.settings-row {
		order: 3;
		flex-basis: 100%;
	}
	.container.et_menu_container {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.et_pb_menu_hidden + .et_search_outer {
		position: relative;
		max-height: 81px !important;
	}
	.container.et_search_form_container.et_pb_search_visible {
		max-height: 81px !important;
	}
	.et_pb_menu_hidden #top-menu, .et_pb_menu_hidden .mobile_menu_bar {
		opacity: 1;
		-webkit-animation: unset;
		animation: unset;
	}
	#logo-text {
		font-size: 20px;
	}
}
