/*
Theme Name: Eleazar
Template: Divi
Author: Eleazar - Elegant Themes
*/


/* -------------------------------------- FONTS -------------------------------------- */

@font-face {font-family: 'Helv-Neue'; src: url('HelveticaNeue.woff2'); src: url('HelveticaNeue.ttf'); font-weight: normal;}
@font-face {font-family: 'Helv-Neue'; src: url('HelveticaNeue-Bold.woff2'); src: url('HelveticaNeue-Bold.ttf'); font-weight: bold;}

h1,h2,h3,h4,h5,h6, p, span, a, strong {
	font-family: Helv-Neue, Helvetica, Arial, sans-serif !important;
}

.et_pb_post_content a {
	background-color: #eeeeee;
}
.et_pb_post_content a:hover {
	background-color: #dddddd;
}

/* -------------------------------------- NAVBAR -------------------------------------- */
/* Logo */
#logo-luis-dourado {
	margin-bottom: 0px;
}
#logo-luis-dourado * {
	padding-bottom: 0px;
}

.et-l.et-l--header * {
	transition-duration: 0s;
}

/* Hacer que columna menu se vea entera siempre */
body * {
	overflow-y: visible !important;
}

/* Make Navbar vertical and align it */
#et-boc {
	display: flex;
}
.et-l.et-l--header {
	width: 215px;
	top: 22px;
	margin-left: 40px;
	margin-right: 25px !important;
	position: relative;
}
.et_pb_menu .et-menu {
	margin: 0px !important;
}
.et_pb_menu .et-menu > li {
	padding-left: 0px !important;
	padding-right: 0px !important;
}
#menu-menu-ppal {
	flex-direction: column;
	padding-bottom: 40px !important;
}

/* Style Categories and projects names */
.categ-menu {
	border-top: 1px solid #eaeaea;
	padding-top: 4px;
}
.et_pb_menu.et_pb_menu ul li.categ-menu a {
	font-weight: bold;
	color: black !important;
	cursor: default;
}
.et-menu a:hover {
	opacity: 1;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
	color: black !important;
}
.et_pb_menu.et_pb_menu ul li a {
	padding-bottom: 0px !important;
	line-height: 0.9em;
}



.mobile_menu_bar {
	z-index: 99999;
	width: 100vw;
}
#mobile_menu1 {
	left: 3vw;
	top: -22px;
	width: 100vw;
	background: white !important;
	border-top: none;
	padding-top: 30px;
	padding-bottom: 50px;
	position: absolute;
}
#mobile_menu1 li {
	border: none;
}
.categ-menu {
	border-top: 1px solid #eaeaea;
	padding-top: 0px;
	margin-top: 1.5em !important;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li a {
	border: none;
}
.et_pb_menu.et_pb_menu ul li.categ-menu a {
	padding-top: 4px;
}

/* Ocultar AUTHOR */
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.et_pb_menu_page_id-1066 a {
	font-size: 0px !important;
}


/* -------------------------------------- PROJECTS CONTENT -------------------------------------- */
/* Add spacing between text and images */
.et_pb_post_content p {
	max-width: 430px;
}
p + .wp-block-image {
	margin-top: 30px;
}



/* -------------------------------------- FOOTER -------------------------------------- */
.et-l.et-l--footer {
	position: absolute;
	bottom: 0px;
}

footer .et_pb_row {
	max-width: none !important;
}



/* -------------------------------------- RESPONSIVE -------------------------------------- */
/* Center content on bigger screens */
@media only screen and (min-width: 1441px) {
	#et-boc {
		justify-content: center;
	}
}

@media only screen and (min-width: 981px) and (max-width: 1300px) {
	.et-l.et-l--header {
		min-width: 190px;
	}
	#et-main-area, .et-l.et-l--footer {
		margin-right: 40px;
	}
}
@media only screen and (max-width: 980px) {
	/* Equal side spacing */
	#et-main-area {
		margin: 0 3vw;
	}
	.et-l.et-l--header {
		margin: 0 3vw 20px !important;
	}
	/* Navbar */
	.et-l.et-l--header {
		width: 94vw;
	}
	#et-boc {
		display: block;
	}
	.col-navbar {
		width: 94vw;
	}
	.et_mobile_nav_menu {
		margin: 0px !important;
	}
	.mobile_menu_bar::before {
		margin-right: -6px !important;
		top: -10px !important;
		margin-left: auto;
		float: right;
	}
	#logo-luis-dourado h1 {
		margin-left: -1px !important;
	}
	.et_pb_menu {
		position: absolute !important;
		right: 0px !important;
		top: 0px !important;
	}
	.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar::before {
		color: black !important;
	}
	/* Improve UX making links in navbar easier to touch */
	.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 14px !important;
		line-height: 1.2em;
	}
	/* Footer */
	.et-l.et-l--footer {
		position: absolute;
		bottom: 0px;
		right: 0px;
		width: 100%;
		padding-right: 3vw;
	}
	h1,h2,h3,h4,h5,h6, p, span, a, strong {
		font-size: 14px !important;
	}
}

@media only screen and (min-width: 501px) {
	#mobile_menu1 li {
		max-width: 240px;
		margin: auto;
	}
}
@media only screen and (max-width: 500px) {
	#mobile_menu1 {
		padding-left: 0px;
	}
	.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		padding-left: 3vw;
	}
}


