/*--------------------- GENERAL -----------------------*/

.clearfix{
		content: "";
		display: block;
		clear: both;
	}	

header{
    background: #284f8a;
    width: 80%;
    height: 90px;
    padding: 0 10% 0 10%;
}

.wrap_bloque{
    width: 80%;
    padding: 50px 10% 50px 10%;
    text-align: center;
    background: url(../images/ptrn.png) repeat;
    float: left;
}

.wrap_bloque h1{
    font-family: 'aleoR' cursive;
    font-size: 35px;
    color: #284F8A;
}

.wrap_bloque p{
    font-family: 'sansL' monospace;
    font-size: 18px;
    color: #444;
    margin: 10px 0;
}

.wrap_bloque h1:after{
    background: url(../images/waves.png) no-repeat 20px 13px;
    content: '\00a0';
    position: absolute;
    height: 35px;
    width: 110px;
    
}

.wrap_bloque h1:before{
    background: url(../images/waves.png) no-repeat 20px 13px;
    content: '\00a0';
    position: absolute;
    height: 35px;
    width: 110px;
    margin-left: -110px;
}

a, a:visited, a:active {
    color: white;
    text-decoration: none;
    
}

/*--------------------- contacto -----------------------*/


#formcontacto{
    width: 100%;
}

input:required{
    box-shadow: none;
}

input{
    background: #fff;
    padding: 5px 10px;
    margin: 5px 0;
    color: #444;
    font-family: 'sansR';
    font-size: 16px;
    border: none;
    width: calc(100% - 20px);
}

textarea{
    background: #fff;
    padding: 5px 10px;
    margin: 5px 0;
    color: #444;
    height: 100px;
    font-family: 'sansR';
    font-size: 16px;
    border: none;
    width: calc(100% - 20px)
}

.form_button{
    background: #DA7B2B;
    height: 35px;
    line-height: 35px;
    font-family: 'sansB';
    font-size: 16px;
    width: 150px;
    color:  #fff;
    padding: 0;
    float: right;

}

.form_button:hover{
    background: #fda051;
}




/*--------------------- FOOTER -----------------------*/


footer{
    width: 80%;
    height: 150px;
    padding: 10px 10% 10px 10%;
    background: #4196a8;
    border-top: #da7b2b 4px solid;
    clear: both;
}

.izq{
    width: 40%;
    margin-right: 10%;
    float: left;
}

.izq h1{
    font-family: 'aleoR' cursive;
    color: white;
    font-size: 27px;
    margin: 0 0 20px 0;
    
}

.der{
    width: 40%;
    float: right;
    text-align: right;
    margin-top: 40px;
}

.der p{
    font-family: 'aleoL' cursive;
    color: white;
    font-size: 14px;
    
}

.social{
    font-family: 'aleoL' cursive;
    color: white;
    font-size: 16px;
    margin: 10px 0;
}

.social img{
    vertical-align: middle;
    margin-right: 10px;
}

.linksfull{
	display: block;
	height: 40px;
	margin: auto;
	
	background: #004250;
	width: 80%;
	padding: 0 10% 0 10%;
}

.linksfull p{
	display: inline-block;
	color: white;
	margin-right: 15px;
	margin-top: 12px
	
}

/*--------------------- SECCION INTERNA -----------------------*/

#wrap_seccion{
    margin: 60px 0;
    
}

#wrap_productos{

    border: 10px solid #E8E8E8;
    height: auto;
    background-color: white;
    float: left;
    width: calc(100% - 40px);
    padding: 40px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.34);
    margin-bottom: 60px;
}

#wrap_productos:first-of-type{
    margin: 60px 0;
}

#wrap_productos:first-of-type:before{
  content: '';
  position: absolute;
  margin-top: -80px;
  left: 50%;
  margin-left: -40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 40px;
  border-color: transparent transparent #E8E8E8 transparent;
}


.prod_izq{
      width: calc(30% - 1px) !important;
      border-right: 1px solid #DDDDDD;
}

.prod_izq img{
      max-width: 100%;
}

.seccion_der{
    float: right;
    width: 60%;
    text-align: left;
    
}

.seccion_izq{
    float: left;
    width: 30%;
    margin-right: 10%;
}

.seccion_izq h2{
    font-family: 'aleoB' cursive;
    font-size: 22px;
    color: #444;
    text-align: left;
}

.seccion_izq p{
    
    text-align: left;
    margin-bottom: 20px;
}

#menu-producto{
    list-style-type: none;
    margin: 30px auto;
}

#menu-producto li{
    display: inline-block;
    margin: 0 5px 27px 0;
}

#menu-producto li a {
  padding: 10px;
  color: rgb(40, 79, 138);
  border: 1px solid #567DB6;
  border-radius: 7px;
}

#menu-producto li a:hover {
    background: #fff;
    border: 1px solid white;
}

.cat_prod01{
      background: rgb(40, 79, 138);
      color: white;
      font-size: 20px;
      font-family: 'aleoL' cursive;
/*      padding: 10px;*/
    height: 50px;
    line-height: 50px;
    
}

.cat_prod01 span{
    background: #da7b2b;    
    height: 50px;
    float: left;
    padding: 0 10px;
}

.cat_prod01 img{
    vertical-align: middle;
}

.cat_prod02{
      color: rgb(40, 79, 138);
      font-size: 16px;
      font-family: 'sansR' cursive;
      padding: 10px 0;
      margin: 5px 0;
    
}

.cat_prod02 span{
      background: #4196A8;
      color:white;
      font-size: 16px;
      font-family: 'sansR' cursive;
      padding: 5px 10px;
      margin: 5px 0;
    
}


/*--------------------- HOME PRODUCTOS -----------------------*/

#wrap_home_products{
    margin: 40px 0;
    
}

article {
    background: #2b98a7;
    display: inline-block;
    margin: 0 10px;
}

article p {
    color: white !important;
    font-family: 'aleoR' cursive !important;
}

.smallp {
    color: white !important;
    font-family: 'aleoR' cursive !important;
    font-size: 14px !important;
}

.pic {
/*  float: left;*/
  height: 237px;
  width: 190px;
  overflow: hidden;
}

.pic2 {
/*  float: left;*/
  height: 145px;
  width: 120px;
  overflow: hidden;

}

.zoom img {
  height: 237px;
  width: 190px;
 
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
 
.zoom img:hover {
  width: 228px;
  height: 284px;
}









/*--------------------- MAIN NAV -----------------------*/

#main_nav ul li{
    display: inline-block;
    list-style-type: none;
    margin: 0 10px;
}

#main_nav ul li a{
    font-family: 'aleoR', cursive;
    font-size: 16px;
    color: white;
    text-decoration: none;
    
}

#main_nav ul li a:hover{
    color: #ff9a48;

}


#main_nav img{
    float: left;
}

#main_nav ul{
    float: right;
    margin-top: 35px;
}

.active_menu{
    background: #fff;
    border: 1px solid white !important;

}
.active_menu a{
    color: #333;
}

.back{
    padding: 10px 15px;
    background: #DA7B2B;
    font-family: 'sansR';
    
     
}

.back:hover{
    background: #f79a4c;
}

.back:before{
    font-family: 'FontAwesome'; 
    content: '\f112';
    margin-right: 5px;
    
}
/*--------------------- FONTS -----------------------*/
    
@font-face {
    font-family: 'aleoR';
    src: url('fonts/aleo-regular-webfont.eot');
    src: url('fonts/aleo-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/aleo-regular-webfont.woff2') format('woff2'),
         url('fonts/aleo-regular-webfont.woff') format('woff'),
         url('fonts/aleo-regular-webfont.ttf') format('truetype'),
         url('fonts/aleo-regular-webfont.svg#aleoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'aleoB';
    src: url('fonts/aleo-bold-webfont.eot');
    src: url('fonts/aleo-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/aleo-bold-webfont.woff2') format('woff2'),
         url('fonts/aleo-bold-webfont.woff') format('woff'),
         url('fonts/aleo-bold-webfont.ttf') format('truetype'),
         url('fonts/aleo-bold-webfont.svg#aleobold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'aleoL';
    src: url('fonts/aleo-light-webfont.eot');
    src: url('fonts/aleo-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/aleo-light-webfont.woff2') format('woff2'),
         url('fonts/aleo-light-webfont.woff') format('woff'),
         url('fonts/aleo-light-webfont.ttf') format('truetype'),
         url('fonts/aleo-light-webfont.svg#aleolight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'sansR';
    src: url('fonts/sourcesanspro-regular-webfont.eot');
    src: url('fonts/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-regular-webfont.woff2') format('woff2'),
         url('fonts/sourcesanspro-regular-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'sansB';
    src: url('fonts/sourcesanspro-bold-webfont.eot');
    src: url('fonts/sourcesanspro-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-bold-webfont.woff2') format('woff2'),
         url('fonts/sourcesanspro-bold-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-bold-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-bold-webfont.svg#source_sans_probold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'sansL';
    src: url('fonts/sourcesanspro-light-webfont.eot');
    src: url('fonts/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-light-webfont.woff2') format('woff2'),
         url('fonts/sourcesanspro-light-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-light-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot?v=4.0.3');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('fonts/fontawesome-          webfont.woff?v=4.0.3') format('woff'),                 url('fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'),    url('fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}



/*--------------------- MENU MOBILE -----------------------*/

.nav-button { display: none; } /* hide the navigation button by default */

.primary-nav { display: none;}

#logo_nav { display: none;}

/*--------------------- RESPONSIVENESS -----------------------*/



@media only screen and (min-width: 0px) and (max-width: 1365px) {
    .pic {  width: 170px;}
}

@media only screen and (min-width: 0px) and (max-width: 1024px) {
    .pic {  width: 190px;}
    article {  margin: 10px;} 
}



    
    
@media only screen and (min-width: 0px) and (max-width: 768px) {
    
    header { height: 50px; }
    .social {font-size: 14px;}
    .wrap_bloque {width: 90%;  padding: 50px 5% 50px 5%;}
    
	.linksfull{
	display: block;
	height: auto;
	margin: auto;
	
	background: #004250;
	width: 80%;
	padding: 5% 10% 5% 10%;
}
	
	.linksfull p{
	display: block;
	width: 100%;
	color: white;
	margin-right: 0px;
	margin-top: 5px
	
}
	
	

    /*------------ MENU MOBILE ------------*/
    
    nav { display: none;}
    
    

	/* Navigation Button
	-------------------------------------------------------- */
    


	.nav-button {
		display: block;
		position: absolute;
		top: 7px;
		left: 7px;
		width: 50px;
		height: 35px;
		background: url('../images/menu-icon-large.png'), -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../images/menu-icon-large.png'),    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../images/menu-icon-large.png'),     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../images/menu-icon-large.png'),      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
		cursor: pointer;
		border: 0 none;
		border-bottom: 1px solid rgba(255,255,255,.1);
		box-shadow: 0 0 4px rgba(0,0,0,.7) inset;
		border-radius: 5px;
		z-index: 999;
		text-indent: -9999px;
	}
	.nav-button:hover { 
		background-color: rgba(0,0,0,.1); 
	}
	.nav-button.open {
		background: url('../images/close-icon-large.png'), -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../images/close-icon-large.png'),    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../images/close-icon-large.png'),     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../images/close-icon-large.png'),      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
	}

	/* Navigation Bar
	-------------------------------------------------------- */

	

	.primary-nav {
		width: 100%;
		float: none;
		background-color: #284f8a; /* fondo del menu */
		background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-image:    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-image:     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-image:      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		display: block;
		height: 50px;
		margin: 0;
		padding: 0;
		overflow: hidden;
		box-shadow: 0 1px 2px rgba(0,0,0,.6);
		position: absolute;
		top: 0px;
		left: 0px;
		z-index: 998;
		clear: both;
	}
	.primary-nav li {
		display: none;
		width: 100%;
		font-family: Arial;
	}
	.primary-nav li a {
		display: block;
		width: 90%;
		padding: 10px 5%;
		font-size: 14px;
		font-weight: bold;
		text-shadow: -1px -1px 0 rgba(0,0,0,.15);
		color: white;
		text-decoration: none;
		border-bottom: 1px solid rgba(0,0,0,.2);
		border-top: 1px solid rgba(255,255,255,.1);
        text-align: left;
	}
	.primary-nav li a:hover {
        
		background-color: rgba(0,0,0,.5);
		border-top-color: transparent;
	}
	.primary-nav > li:first-child {
		border-top: 1px solid rgba(0,0,0,.2);
	}

	/* Toggle the navigation bar open  */

	.primary-nav.open { 
		height: auto; 
		padding-top: 50px;
	}
	.primary-nav.open li { 
		display: block; 
        
	}

	/* Submenus â€“ optional .parent class indicates dropdowns */
    
    

	.primary-nav > li:hover > a {
		background: rgba(0,0,0,.5);
		border-bottom-color: transparent;
        
	}
	.primary-nav li.parent > a:after {
		content: "â–¼";
		color: rgba(255,255,255,.5);
		float: right;
	}
	.primary-nav li.parent > a:hover {
		background: rgba(0,0,0,.75);
	}
	.primary-nav li ul {
		display: none;
		background: rgba(0,0,0,.5);
		border-top: 0 none;
		padding: 0;
	}
	.primary-nav li ul a {
		border: 0 none;
		font-size: 10px;
		padding: 10px 5%;
		font-weight: normal;
        padding-left: 50px;

		font-weight: bold;
		text-decoration: none;
        text-align: left;
        
	}
	.primary-nav li:hover ul {
		display: block;
		border-top: 0 none;
	}

} 

/*------------ MENU MOBILE ------------*/
@media only screen and (min-width: 0px) and (max-width: 360px) { 
    
    .wrap_bloque h1:after, .wrap_bloque h1:before {display: none;}
    .wrap_bloque h1 {font-size: 30px;}
    footer {  height: 300px; }
    .izq, .der {width: 100%;}
    .der {text-align: left;}
    
    #wrap_productos {  width: calc(100% - 60px);  padding: 20px;}
    .seccion_der {   margin-top: 20px; }
    .cat_prod02 { font-size: 12px; }
    .seccion_der, .seccion_izq {  width: 100%; }
    .prod_izq {border: none; width: 100% !important}
    #wrap_productos:before { margin-top: -70px; }
    

}