/*
Theme Name:Child Theme for Divi
Theme URI: https://wp-ninja.net
Description: Child Theme For Divi
Author: Eduard Ungureanu
Author URI: https://wp-ninja.net
Template: Divi
*/

/* Start your custom CSS bellow this comment
============================================ */
:root{
	--marron:#093C61;
	/* --marron:#b78300; */
}
.elementor-shortcode .elementor-column > div[class^="elementor-col-"]{
	padding:10px;	
}
.elementor-shortcode .elementor-column > div[class^="elementor-col-"] .image{
	width:100%;
	text-align:center;
	max-height: 180px;
}
.elementor-shortcode .elementor-column > div[class^="elementor-col-"] .image img{
	width:auto;
	max-height:100%;
	margin:0 auto;
	max-height: 180px;
}
@media(max-width: 768px){
	.elementor-shortcode .elementor-column > div[class^="elementor-col-"]{
		width:100%;
	}
}
.et_pb_post {
	clear:left;
}
.et_pb_post .entry-featured-image-url {
  float: left;
  max-width: 150px;
  margin-right: 15px;
}
#saharianos_lists_wrapper{
	margin:0px!important;
}
#saharianos_lists{
	width:100%!important;
	margin-right:0px!important;
}
body.single-product.postid-75422 .et_pb_module.et_pb_wc_add_to_cart{
	display:none;
}
.page.page-id-76109 .elementor-shortcode .elementor-column > .elementor-column{
	/* padding:10px; */
	margin:10px;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.15);
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.15);
	padding: 10px;
}
.page.page-id-76109 .elementor-shortcode .elementor-column > .elementor-column > .inner{
	text-align: center;
	/* margin-top:auto; */
}

body.single-post .category-sahariano .et_post_meta_wrapper > img{
	display: none;
}
/* .filter-posts-wrapper > .filter-layout{
	display: none;
} */
 body:not(.page-id-76109) #sidebar > div#text-12,
 body.page-id-76109 #sidebar > div:not(#text-12){
	display: none;
 }

 .ymc-extra-container .filter-default-inner .filter-buttons br{
	display: none!important;;
}
 .ymc-container .filter-content .posts-grid .post-card__image a img:hover{
	transform: scale(1.1);
 }
/* .ymc-container .filter-content .posts-grid .post-card__image a{
	min-height: 200px;
	background-color: #ccc;
} */
.ymc-container .button--primary, .ymc-extra-container .button--primary{
	background-color: var(--marron)!important;
}
.ymc-container .button--primary:hover{
	background-color: var(--marron);
	opacity: 0.8;
}
.ymc-container .filter-posts-search .search-form, .ymc-extra-container .filter-posts-search .search-form{
	max-width: 100%;
}
#top-menu li.btn.btn-primary.btn-invert a{

	color: var(--marron)!important;
}
#top-menu li.btn.btn-primary{
	margin-right: 20px;
}
#top-menu li.btn.btn-primary.btn-invert{
	background-color: #fff!important;
	border:1px solid var(--marron);
}
/* #et_search_icon span::before, */
.et-cart-info > span{
	/* margin-top:-4px; */
	top: 4px!important;
	position: relative;
}
.et-cart-info span::before,
#et_search_icon::before {
	font-size: 26px;
	color:var(--marron)!important;
}
@media(max-width: 1400px){
	#top-menu li{
		padding-right: 11px;
	}
}
/* @media (max-width: 1365px) {
  #et_mobile_nav_menu {
    display: block;
  }
}
@media (max-width: 1365px) {
  #top-menu {
    display: none;
  }
} */

#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post-title img{
	height: auto;
	max-height: 120px;
}


/* del custom */

.et_pb_slide.et_pb_media_alignment_center.et_pb_bg_layout_dark.et-pb-active-slide{
    min-height:  418px !important;
    max-height:  418px !important;
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
background-color: #eee !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #999 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpcf7-submit {
color: #000 !important;
margin: 8px auto 0;
cursor: pointer;
font-size: 20px;
font-weight: 500;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 6px 20px;
line-height: 1.7em;
background: transparent;
border: 2px solid;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}

.wpcf7-submit:hover { 
background-color: #eee; 
border-color:#eee; 
padding: 6px 20px !important; 
}

#saharianos_table_wrapper, #saharianos_lists_wrapper{
    margin: auto 10%;
}


.flip-photo-box {
  width: 50%;
  perspective: 1000px;
}

@media (max-width: 980px){
	.flip-photo-box {
		width: 80%;
  max-width: 1100px;
	padding: 30px 0;
	}
}

.flip-photo-box-inner {
  position: relative;
  width: 100%;
  height: 350px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-photo-box:hover .flip-photo-box-inner {
  transform: rotateY(180deg);
}

.flip-photo-box-front, .flip-photo-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-photo-box-back {
  transform: rotateY(180deg);
}

#post-45814 > div.entry-content > div.flip-photo-box img{
	width: auto !important;
	height: 350px !important;
}

button.single_add_to_cart_button {
    background: var(--marron)!important;
}

.ctdag-pagination-buttons {
	display: none !important;
}

.et_pb_section {
    padding: 0px 0 !important;
}

/*.et_pb_module.ctdag_acf_gallery {
    max-height: 250px;
}*/
.elementor-button{
	background-color: var(--marron)!important;
}

.ctdag-main-container.ctdag-layout-mini-masonry {
	max-height:160px !important;
	overflow: hidden !important;
}

.galeria-fotos img{
		float: left;
    height: 175px;
    object-fit: cover;
}

@media (max-width: 980px) {
    a.et-cart-info {
        display: none;
    }
} 
@media only screen and (min-width: 981px) {
  .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
    padding: 51px 0 15px 152px;
  }
	#et-top-navigation {
 padding-left:152px!important;
	
}
}
#et-top-navigation {
  float: left;
}
#top-menu li.btn.btn-primary a{
	padding-bottom:0px!important;
	color:#fff!important;
}
#top-menu li a, .et_search_form_container input{
	font-weight: 500!important;
	color:#333!important;
}
h1{
	font-size:60px;
}
h2{
	font-size:40px;
}
h3{
	font-size:36px;
}
h4{
	font-size:32px;
}
ul#top-menu > li.current_page_parent:not(.btn)::after,
ul#top-menu > li.current_page_item:not(.btn)::after {
  content:" ";
  display:block;
  height:2px;
  background-color:var(--marron);
  margin-top:-35px
}

#top-menu li.current_page_parent li.current_page_item > a {
  color: var(--marron)!important;
}

/* vistas de blog */
.ccchildpages > .ccchildpage{
    background: none transparent;
    border-radius:3px;
    box-shadow: 0px 2px 4px 1px rgba(0,0,0,.15);
    -moz-box-shadow: 0px 2px 4px 1px rgba(0,0,0,.15);
    -webkit-box-shadow: 0px 2px 4px 1px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
}
.ccchildpages > .ccchildpage p.ccpages_more {
  text-align: center;
  display: block;
  margin-top: 20px;
  order:3;
}
.ccchildpages > .ccchildpage p.ccpages_more a{
    background-color: #406263;
    padding: 8px 20px;
    border-radius: 3px;
    color: #fff;
    font-style: normal;
    margin-left: 0;
    float: none;
}
.ccchildpages > .ccchildpage a.ccpage_title_link,
.ccpage_linked_title{
    font-size: 24px;
    line-height: 1.2;
    order:1;
	text-align:center;
}
.ccchildpages > .ccchildpage > .ccpage_linked_thumb{
  order:0;
}
/* .ccchildpages > .ccchildpage > .ccpage_linked_thumb > img{
    margin: -14px -27px 10px -27px;
    width: calc( 100% + 54px )!important;
} */
.ccchildpages > .ccchildpage > .ccpages_excerpt{
  order:2;
}
/*fin vistas de blog*/

li.product.type-product{
	padding: 15px!important;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}

#top-menu li.btn.btn-primary{
	background-color: var(--marron);
	padding: 10px 20px 10px!important;
	border-radius: 5px;
}
li.product h2.woocommerce-loop-product__title,
li.product h2.woocommerce-loop-product__title + .price{
	text-align:center;
}
/* PONER PADDING EN LAS FOTOS CON SOMBRA (añadir IDs de pginas) */
body.page-id-47290 .box-shadow-overlay + img[class^="wp-image"]{
	padding:10px;
}
