/*
Theme Name: Divi Child Theme
Theme URI: elmolinovigo.com
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

/*------------------------------------------------*/
/*-------------------[GENERAL]--------------------*/
/*------------------------------------------------*/	
	h2{
		font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
		font-size: 26px !important;
		font-weight:300;
		line-height: 1.3em !important;
	}
	
	h3{
		font-size:30px;
		line-height: 40px;
	}
	
	h4{
		font-size:24px;
		line-height: 36px;	
	}
	
	h5{
		font-size:18px;
		line-height: 28px;
	}
	
	h6{
		font-size:14px;
		font-weight:700;
		line-height: 24px;
	}

/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/
/*align the hamburger menu to the right right*/
.pa-fullscreen-menu .et_pb_menu__wrap {
	justify-content: flex-end !important;
}

/*hide the desktop version of the menu*/
.pa-fullscreen-menu .et_pb_menu__wrap .et_pb_menu__menu {
	display: none !important;
}

/*show the mobile version of the menu on desktop*/
.pa-fullscreen-menu .et_pb_menu__wrap .et_mobile_nav_menu {
	display: block !important;
	align-items: center !important;
}

/*style the opened menu*/
.pa-fullscreen-menu .opened #mobile_menu1 {
	width: 100vw !important;
	position: fixed !important;
	top: 0em !important;
	left: 0vw !important;
	height: 100vh !important;
	display: flex !important;
	justify-content: center !important;
	flex-direction: column !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: visibility 0.3s, opacity 0.3s ease-in-out;
	padding: 0 !important;
	background-color: #024f72 !important;
}

/*style the closed menu*/
.pa-fullscreen-menu .closed #mobile_menu1 {
	/*background-color: #fff !important;*/
	text-align: center !important;
	width: 100vw !important;
	position: fixed !important;
	left: 100vw !important;
	top: 0em !important;
	height: 100vh !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex-direction: column !important;
	transition: visibility 0.3s, opacity 0.3s, left 1s, ease-in-out;
	opacity: 0 !important;
	visibility: hidden !important;
}

/*remove the bullet points from the list items*/
.pa-fullscreen-menu #mobile_menu1 li {
	list-style: none !important;
	text-align: center !important;
	width: 100%
}

/*move the menu to the top above other elements*/
.pa-fullscreen-menu .et_pb_menu__wrap span.mobile_menu_bar {
	z-index: 999999 !important;
}

/*change the opened menu icon*/
.pa-fullscreen-menu .et_pb_menu__wrap .opened .mobile_menu_bar:before {
	content:  "\4d" !important;
}

/*make the hamburger menu fixed position on mobile
.pa-fullscreen-menu .opened .mobile_menu_bar {
	position: fixed !important;
}*/

/*remove the default blue border top on the mobile menu*/
.pa-fullscreen-menu .et_mobile_menu {
	border-top: none;
}

/*remove the default background color on menu items*/
.pa-fullscreen-menu .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

/*remove the default hover background color and adjust opacity*/
.et_mobile_menu li a:hover {
	background-color: transparent;
	opacity: 1;
}

/*remove the default border bottom on menu items*/
.pa-fullscreen-menu .et_mobile_menu li a {
	border-bottom: none;
	color: #fff !important;
}

/*Rotar icono*/
.mobile_menu_bar:before {
	transition: all .4s ease;
	transform: rotate(0deg);
	display: block;
}

/*Rotar icono en clic final*/
.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}

/* Menú no alineado */
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
.et_pb_menu_0_tb_header.et_pb_menu ul li {
  	position: absolute;
	padding: 0 43% !important;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:first-child {
  	top: 20%;
  	left: -15%;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:nth-child(2) {
	top:30%;
  	left: 2%;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:nth-child(3) {
	top: 40%;
	left: -10%;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:nth-child(4) {
	top: 50%;
	left: 10%;
}
}	

/* Menú numerado */
.et_pb_menu_0_tb_header.et_pb_menu ul li a::before {
	color: #5cafbb;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:first-child a::before {
    content: "01.";
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:nth-child(2) a::before {
    content: "02.";
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:nth-child(3) a::before {
    content: "03.";
}
.et_pb_menu_0_tb_header.et_pb_menu ul li:nth-child(4) a::before {
    content: "04.";
}


/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/

/* slider pantalla completa  */
.divicon_full_screen_slider .et_pb_slides {
  	height: 100vh;
}

.divicon_full_screen_slider .et_pb_slides .et_pb_slide {
 	height: 100%;
}

/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/

	
/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/
#menu-menu-footer li {
  width: 100%;
}
/*Menu footer no hamburguesa*/
@media (max-width: 980px) {
.et_pb_menu .et_pb_menu__wrap {
	flex: unset;
}
.et_pb_menu .et_pb_menu__menu {
  display: block;
}
.et_pb_menu .et_mobile_nav_menu {
  display: none;
}
}

/*------------------------------------------------*/
/*--------------------[FORM]-----------------------*/
/*------------------------------------------------*/
label{
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
	font-size: 18px !important;
	font-weight:300;
	color: #fff;
	line-height: 1.3em !important;
}

input[type=text], input[type=email], textarea {
    padding: 10px 20px;
    border: none;
    color: #fff !important;
    font-size: 20px;
}

input[type="submit"]{
	padding:8px 16px;
	margin-top:32px;
	border:none;
	display:block;
	color:#fff;
	background-color:#133042;
} 