/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS
 * #39171A
 * #fed635 
 * */













@font-face {
  	font-family: "Poppins";
  	src: url('../fonts/Poppins-Bold.ttf') format('truetype'); 
	font-weight: 700;
}

@font-face {
  	font-family: "Poppins";
  	src: url('../fonts/Poppins-SemiBoldItalic.ttf') format('truetype'); 
	font-weight: 600;
}


@font-face {
  	font-family: "Work Sans";
  	src: url('../fonts/WorkSans-Regular.ttf') format('truetype'); 
	font-weight: 400;
}
@font-face {
  	font-family: "Work Sans";
  	src: url('../fonts/WorkSans-Medium.ttf') format('truetype'); 
	font-weight: 500;
}

h1,h2,h3,h4,h5,h6{
	color: #39171A !important;
}
h1,h3{
	text-transform:unset !important;
}
h1,h2, .avia-animated-number-title{
	font-family: "Poppins";
	font-weight: 700 !important;
}
h3{
	font-family: "Poppins" !important;
	font-weight: 600 !important;
	font-size:28px;
	line-height: 35px;
}

h4,h5,h6{
	font-family: "Work Sans" !important;
	font-weight: 500 !important;
	font-size:24px;
}
h1{
	padding-bottom:20px;
	font-size:35px;
}
h2, .avia-animated-number-title{
	font-size:34px;
}
p, input[type="text"], input[type="submit"], .avia-menu-text, .avia-button.avia-size-large, .avia-animated-number-content {
	font-size:16px !important;
	font-family: "Work Sans" !important;
	font-weight: 400;
}

/*Menu */

.logo{	
	/*left: 50% !important;
	transform: translateY(50%);	*/
}
.current-menu-item a .avia-menu-text{
	font-weight: 500 !important;	
}
#menu-item-28 a{	
	/*margin-left: 380%;*/
}
#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
	padding: 13px 32px;
}

/*Botones*/
.avia_ajax_form .button {
	min-width: 139px;
}
input[type="submit"]{
	float:right;
	background-color: #39171A !important;
    color: #ffff !important;
	border: unset !important;	
}
.avia-button.avia-size-large, input[type="submit"] , #top .av-menu-button > a .avia-menu-text{
	border-radius:25px !important;	
}
.avia-button.avia-size-large, input[type="submit"] {
	margin-top:20px !important;
}
/*Formulario*/
fieldset{
	margin-top:30px;
}
input[type="text"]{
	border:unset !important;
	border-bottom:2px solid #39171A !important;
}
.form_element{
	padding:5px 0;
}

/*Footer*/
#text-2{
	text-align:right;
}

.iconos-footer img{
	margin:0px 10px;
}

#footer {
	padding: 30px 0 0 0;
}
#footer .widget {
	margin:20px 0 5px 0;
}
#footer .container > *:first-child {
	width: 22%;
}
#footer .container > *:nth-child(2) {
	width: 12%;	
	margin-top:20px;
}
#footer .container > *:nth-child(3) {
	width: 26%;
	margin-top:50px;
}
#footer .container > *:nth-child(4) {
	width: 21%;
	margin-top:20px;
}

/*Inicio*/
.header-contacto h3{
	font-family: "Poppins" !important;
	font-weight: 500 !important;
}

/*Nosotros*/

.equipo{
	background-color:#FED635;
	margin-top:0px !important;
	border: 2px solid #FED635;
	border-top: 0px !important;
	border-radius: 0px 0px 40px 40px;
	height:120px;
}
.equipo h4{
	font-weight:600 !important;
}
.equipo-img{
	margin-bottom:0px !important;
}
.beneficios{
	display:inline-block; 
	margin-top:20px;
}
.beneficios img{
	width:15%; 
	float:left;
}
.beneficios div{
	width:80%;
	float:right;
}

/*Engreidos*/

.engreidos .avia-image-container{
	margin-bottom:30px;
}
 /*Contacto*/
.beneficios-contacto{
	display:flex;
	flex-direction:column;
}
.beneficios-contacto .beneficios div{
	margin-top:20px;
}
.icono-mapa{
    	position: absolute;
    	z-index: 1;
		left: 50%;
    	bottom: 60%;
	}



/* dekstop style */





.logo{
	height:140px;
	top:30px;
}
@media only screen and (min-width: 891px) {

  /* Add your Mobile Styles here */

/* MENU split */

  /*------------------------*/
  /* CSS - Logo center split menu
  /*----
  --------------------*/

  /*In the below code nth-child(x) the value of x should be half the number of total menu items*/
  #top #header .av-main-nav li:nth-child(3) {
    /* Adjust the width of the logo */
      margin-right:300px;
  }

  #header .main_menu {
      /*background: gold;*/
      width: 100%;
      left: 46%;
      transform: translateX(-45%);
  }
	
	html[lang="en-US"] #header .main_menu{
		   /*background: gold;*/
      width: 100%;
      left: 44%;
      transform: translateX(-45%);
		
	}

  .av-main-nav-wrap {
      left: 51%;
      transform: translateX(-50%);
  }

  #header .logo {
      left: 47%;
      transform: translateX(-50%);
      z-index:999;
  }

  #header .logo img {    
      top: 50%;
      transform: translateY(-50%);
    /* max-width: 100px;  */
  }

  #header .main_menu *{
    font-size:18px;
    font-weight:400;
  }

  #header .main_menu a{
  /*  color:white;*/
  }


  #header .main_menu a:hover,  .current-menu-item * {
    color:red;
  }


}















/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 890px) {
  /* Add your Mobile Styles here */
	h1{
		padding-bottom:20px;
		font-size:28px;
	}
	
	h2, .avia-animated-number-title{
		font-size:26px;
	}	
	h3{
		font-size:22px;
		line-height: 35px;
	}

	h4,h5,h6{
		font-size:20px;
	}
	#text-2, .textwidget, #nav_menu-2, #media_image-2, #socket .container {
		text-align:center;
	}
	#socket .copyright {
    	float: unset;
	}
	.iconos-footer img {
    	margin: 0px 2px;
	}
	/*Formulario*/
	.formulario{
		padding:50px  !important;
	}
	/*Contacto*/
	.beneficios-contacto .beneficios div{
		margin-top:10px;
	}
	
}