﻿/*
Theme Name: Mardom web
Template: Divi
*/

@import url("../Divi/style.css");



.et-db #et-boc .et-l .et-fb-skeleton__header .et-fb-button-group {
    flex-wrap: nowrap !important;
}
.et-db #et-boc .et-l #et-fb-app .et-fb-button--small {
    width: 40px !important;
}

/* YOUR CSS EDITS GO BELOW THIS LINE AND AND CSS RULES YOU MAKE HERE WILL OVERIDE THE MASTER DIVI THEME CSS RULES */

/* 
* Modulo de blog
*/
.et_pb_blog_0 .et_pb_post .et_pb_image_container{
	border-top: 1px solid #d8d8d8;
	border-left: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
}
.et_pb_blog_0 .et_pb_post .et_pb_image_container .et_overlay{
	border: 0px;
}
.et_pb_blog_0 .et_pb_post .post-content p{
	padding-bottom: 1.2em!important;
}
.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink,
.wp-pagenavi .last, .wp-pagenavi .first{
	padding: 8px 16px;
	border: 1px solid #f78b00 !important;
	color: #f78b00 !important;
	font-weight: 500;
}
.wp-pagenavi .extend{
	display:none;
}

.wp-pagenavi .previouspostslink:hover, .wp-pagenavi .nextpostslink:hover,
.wp-pagenavi .last:hover, .wp-pagenavi .first:hover{
	padding: 8px 16px;
	border: 1px solid #000 !important;
	color: #000 !important;
}
.wp-pagenavi {
	border-top: 0px!important;
}

#id_blog .post-content p{
	display: block;
    display: -webkit-box;
    height: 95px;
    font-size: 14px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2.4em;
}

#id_blog a.more-link{
	color: #61b3de !important;
	box-shadow: 0 0 0 1px #61b3de;
}

#id_blog a.more-link:hover{
	color:#2685b7;
    background:#f3f9fd;
}

#id_blog h1.entry-title > a:hover, #id_blog h2.entry-title > a:hover,
#id_blog h3.entry-title > a:hover, #id_blog h4.entry-title > a:hover,
#id_blog h5.entry-title > a:hover, #id_blog h6.entry-title > a:hover{
	text-decoration: none !important;
}

#id_blog article{
	padding-bottom: 1.4em;
}

#id_blog_h .et_pb_post .post-meta{
	float: left;
	max-width: 60%;
	font-size: 12px;
	line-height: 1.3em;
	margin-top: 0px;
	padding-left: 2em;
}

#id_blog_h .et_pb_post .post-content{
	float: left;
	max-width: 60%;
	line-height: 1.5em;
	padding-left: 1.8em;
	font-size: 14px;
}

#id_blog_h .et_pb_post .post-content .more-link{
	display: none !important;
}

#id_blog_h article{
	padding-top:2em;
	border-bottom: 1px solid #f0f0f0;
    margin-bottom: 13px!important;
}

#id_blog .post.type-post{
	line-height: inherit;
}

.single.single-post .post.type-post p.post-meta,
.single.single-post .post.type-post h1.entry-title, 
.single.single-post .post.type-post h2.entry-title, 
.single.single-post .post.type-post h3.entry-title, 
.single.single-post .post.type-post h4.entry-title,
.single.single-post .post.type-post h5.entry-title, 
.single.single-post .post.type-post h6.entry-title{
	text-align:center;
}

.single.single-post .post.type-post h1.entry-title, 
.single.single-post .post.type-post h2.entry-title, 
.single.single-post .post.type-post h3.entry-title, 
.single.single-post .post.type-post h4.entry-title,
.single.single-post .post.type-post h5.entry-title, 
.single.single-post .post.type-post h6.entry-title{
	font-weight:700;
	font-size: 3rem;
	line-height: 1.2;
	color: #000;
}

.single.single-post .post.type-post{
	font-size: 18px;
	line-height: 2.5rem;
}

.single.single-post .post.type-post > div.entry-content{
	width: 84% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: justify;
	/*font-size: 1.25em;*/
	font-weight: 400;
	color: #000;
}

.single.single-post .post.type-post > div.entry-content > p{
	padding-bottom: 1em !important;
} 

.single.single-post .post.type-post > div.et_post_meta_wrapper{
	width: 84%;
	margin-left: auto;
	margin-right: auto;
}

.single.single-post .post.type-post > div.et_post_meta_wrapper::after{
	background-color: #f7b400;
	content: "";
	display: inline-block;
	height: 3px;
	position: relative;
	vertical-align: middle;
	width: 5%;
	margin-left: 47.5%;
	margin-right: 47.5%;
	margin-top: 40px;
}

.single.single-post article.et_pb_post h2{
	font-weight: 600;
	font-family: "Montserrat",sans-serif;
	margin-top: 1em;
	font-size: 1.5rem;
	line-height: 1.43em;
	margin-bottom: .8em;
	color: #000039;
}

.single.single-post article.et_pb_post h3{
	font-weight: 600;
	font-family: "Montserrat",sans-serif;
	margin-top: 1em;
	font-size: 1.5rem;
	line-height: 1.43em;
	margin-bottom: .8em;
	color: #000039;
}

.single.single-post article.et_pb_post h4{
	font-weight: 600;
	font-family: "Montserrat",sans-serif;
	margin-top: 1em;
	font-size: 1.3rem;
	line-height: 1.5em;
	margin-bottom: .75em;
	color: #000039;
}

.single.single-post article.et_pb_post h5{
	font-weight: 600;
	font-family: "Montserrat",sans-serif;
	margin-top: 1em;
	font-size: 1.1rem;
	line-height: 1.54em;
	margin-bottom: .75em;
	color: #000039;
}

.single.single-post article.et_pb_post .et_post_meta_wrapper img{
	border:1px solid #ddd;
}

@media only screen and (max-width: 1340px) {
	#id_blog_h .et_pb_post .entry-title{
		font-size: 22px;
	}

	#id_blog_h .et_pb_post .post-content{
		line-height: 1.5em;
		padding-left: 1.6em;
	}
}
@media only screen and (max-width: 1140px) {
	#id_blog_h .et_pb_post .entry-title{
		font-size: 18px;
	}
}
@media only screen and (max-width: 1140px) {
	#id_blog_h .et_pb_post .post-meta{
		display: none;
	}
	#id_blog_h .et_pb_post .post-content{
		font-size: 13px;
	}
}

@media only screen and (max-width: 870px) {
	#id_blog_h .et_pb_post .entry-featured-image-url{
		max-width: 100%;
		padding-left: 0px;
	}
	#id_blog_h .et_pb_post .entry-title{
		max-width: 100%;
		font-size: 25px;
		padding-left: 0px;
		margin-bottom: 10px;
	}
	#id_blog_h .et_pb_post .post-content{
		max-width: 100%;
		line-height: 1.5em;
		padding-left: 1.6em;
		font-size: 15px;
		padding-left: 0px;
	}
}
/**
* end block styles
*/

@media (min-width: 981px) {

    .footer-menu a{
        color: #686868;
        text-decoration: none;
        font-weight: 600;
        font-size: 18px
    }
    
    .contact-button a,
    .et-fixed-header #top-menu .contact-button a{
        padding: 15px 30px !important;
        background-color: #12174d;
        border-radius: 30px;
        color: #fff !important;
    }
    .et-fixed-header #top-menu li.current-menu-ancestorcontact-button>a, 
    .et-fixed-header #top-menu li.current-menu-itemcontact-button>a, 
    .et-fixed-header #top-menu li.current_page_item.contact-button>a {
        color: #fff !important;
    }
    .trace-button a{
        padding: 15px 10px !important;
        border-radius: 30px;
        border: 3px solid #f09600;
    }
    
    #top-menu li {
        padding-right: 12px;
        
    }
    
    #top-menu-nav > ul > li > a:hover {
        opacity: 0.7;
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }
    
    .et_header_style_left #et-top-navigation nav > ul > li:hover > a::before, .et_header_style_split #et-top-navigation nav > ul > li:hover > a::before{
        content: " ";
        height: 6px;
        width: 20px;
        background-color: #027957;
        display: block;
        bottom: 32px;
        position: absolute;
    }
    
    .et-fixed-header #et-top-navigation nav > ul > li:hover > a::before, .et-fixed-header #et-top-navigation nav > ul > li:hover > a::before{
        content: " ";
        height: 6px;
        width: 20px;
        background-color: #027957;
        display: block;
        bottom: 20px;
        position: absolute;
    }
    
    .et_header_style_left #et-top-navigation nav > ul > li.contact-button:hover > a::before, 
    .et_header_style_split #et-top-navigation nav > ul > li.contact-button:hover > a::before,
    .et_header_style_left #et-top-navigation nav > ul > li.trace-button:hover > a::before, 
    .et_header_style_split #et-top-navigation nav > ul > li.trace-button:hover > a::before{
        display: none;
    }
    
    .menu-horizontal {
        list-style: none;
        padding: 0;
    }
    
    .menu-horizontal > li {
        background-color: #fff !important;
        
    }
    
    .et_primary_nav_dropdown_animation_fade #et-top-navigation ul li.menu-horizontal>ul, 
    .et_secondary_nav_dropdown_animation_fade #et-secondary-nav li.menu-horizontal>ul {
        display: flex !important;
        flex-direction: row !important;
        transform: translate(-40%, 0%);
        padding-top: 0px;
        padding-bottom: 0px;
        opacity: 0;
        visibility: hidden;
        width: fit-content;
        border-radius: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .et_primary_nav_dropdown_animation_fade #et-top-navigation ul li:hover>ul, 
    .et_secondary_nav_dropdown_animation_fade #et-secondary-nav li:hover>ul {
        visibility: visible;
        opacity: 1;
        border-radius: 10px;
    }
    
    .item-horizontal > a {
        display: flex !important;
        padding: 6px 10px !important;
        height: 80px;
        align-items: center;
        margin-left: 55px;
        line-height:1.2rem
    }
    .item-horizontal {
        padding: 0px 5px !important;
        margin: 0 !important;
    }
    
    .item-horizontal > a::before {
        content: " ";
        height: 50px;
        width: 50px;
        display: block;
        bottom: 15px;
        position: absolute;
        left: -50px;
    }
    .item-horizontal > a::after {
        font-family: 'ETmodules' !important;
        content: "3" !important;
        font-size: 16px !important;
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        height: 80px !important;
        font-weight: 800 !important;
        display: flex;
        align-items: center;
    }
    
    .item-horizontal.icon-logistic > a::before {
        content: url(./images/icons/logistica-01.svg);
    }
    
    .item-horizontal.icon-shipping-agent > a::before {
        content: url(./images/icons/agente-naviero.svg);
    }
    
    .item-horizontal.icon-refrigeration > a::before {
        content: url(./images/icons/servicio-de-refrigeracion.svg);
    }
    
    .item-horizontal.icon-terminals > a::before {
        content: url(./images/icons/patio-contenedores.svg);
    }
    
    .et_primary_nav_dropdown_animation_fade #et-top-navigation ul li.item-horizontal:hover>ul{
        left: 0%;
        top: inherit;
    }
    
    #top-menu li li a {
        Font-size: 14px !important;
        line-height: 1.2rem !important;
    }
    
    .et_primary_nav_dropdown_animation_fade #et-top-navigation ul li.item-horizontal>ul>li a {
        width: 100% !important;
    }
    
    #top-menu li li:hover::before{
        background: #027957;
        width: 4px;
    }

    #top-menu li li:hover {
        background-color: #f9f9f9;
    }
    
    #top-menu li li.item-horizontal:hover::before{
        background:local;
        width: 0;
    }
    
    #top-menu li li::before{
        content: '';
        display: block;
        position: absolute;
        width: 0;
        top: 0;
        bottom: 0;
        left: 0;
        transition: all .2s ease-in-out;
        border-radius: 0 3px 3px 0;
    }
    
    #top-menu li li {
        padding: 2px 10px;
        width: 100%;
    }

    /* Estilos para el contenedor del submenú */
    .menu-item-has-children.ports > .sub-menu {
        display: flex;
        flex-wrap: wrap;
        width: 550px; /* Ajusta el ancho según sea necesario */
    }

    /* Estilos para los elementos del submenú */
    #top-menu .menu-item-has-children.ports > .sub-menu > li {
        width: 50%; /* Ajusta el ancho de cada columna */
    }
}
@media (max-width: 768px) {
    #main-header .et_mobile_menu li ul.sub-menu {
        display: none !important;
    }

    #main-header .et_mobile_menu li ul.sub-menu.d-block {
        display: block !important;
    }
}

.d-block {
    display: block !important;
}