@font-face {
	font-family: 'bpmenu';
	src:url('../fonts/bpmenu/bpmenu.eot');
	src:url('../fonts/bpmenu/bpmenu.eot?#iefix') format('embedded-opentype'),
		url('../fonts/bpmenu/bpmenu.woff') format('woff'),
		url('../fonts/bpmenu/bpmenu.ttf') format('truetype'),
		url('../fonts/bpmenu/bpmenu.svg#bpmenu') format('svg');
	font-weight: normal;
	font-style: normal;
}
/*FONTS
font-family: 'Lato', sans-serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Questrial', sans-serif;
*/
#contacto{
	margin-top: 20px;
}
#contacto h5{
	font-family: 'Questrial', sans-serif;
	color: red;
	font-size: 30px;
	text-align: center;
	font-weight: bold;
}
#contacto p{
	font-family: 'Questrial', sans-serif;
	color: black;
	font-size: 17px;
	text-align: center;
	
}
.txt-oferton h2{
	font-family: 'Questrial', sans-serif;
	color: red;
	font-size: 40px;
	text-align: center;
	font-weight: bold;
}
.modal-header {
    color: white;
    background: red;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: bold;
}
.modal-open .modal {
    background: rgba(0, 0, 0, 0.44);
   }
.txt-oferton{
	margin-top: -40px;
}
#oferto{
	color: white; 
	font-size: 40px; 
	z-index: 22;
	font-weight: bold;
	font-family: 'Montserrat', sans-serif; 
	text-shadow: 2px 2px 2px black;
}
#separador{
	width: 100%;
	height: 100px;
	margin-top: -90px;
}
#menu-container{
	border-bottom: 3px solid red;
	width: 100%;
	padding: 0;
}
#wsp{
	text-align: center;
	color: white;
}
#parallax{
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	background-size: 110%;
	height: 150px;
	width: 100%;
	margin-top: 50px;
}
#txt{
	background: rgba(0, 0, 0, 0.5);
	height: 150px;
	width: 100%;
	text-align: center;
	color: white;
	
}
#txt a{
	background: red;
	color: white;
	padding: 10px 20px;
	text-align: left;
	transition: all 0.3s linear;
	font-size: 15px;
	font-family: 'Montserrat', sans-serif;
}
#txt a:hover{
	border: 2px solid green;
	background: green;
	color: white;
	text-decoration: none;
	transition: all 0.3s linear;
}
#nosotros{
	padding-top: 50px;
}
#nosotros h5{
	font-family: 'Questrial', sans-serif;
	color: red;
	font-size: 25px;
	font-weight: bold;
}
#nosotros span{
	font-family: 'Questrial', sans-serif;
	color: black;
	font-size: 16px;
}
#nosotros h3{
	font-family: 'Montserrat', sans-serif;
	font-size: 40px;
	font-weight: bold;
	text-align: left;
	color: red;
	border-bottom: 2px solid red;
	padding-bottom: 5px;
}
#nosotros h4{
	font-family: 'Montserrat', sans-serif;
	font-size: 27px;
	font-weight: bold;
	text-align: center;

	color: red;
	margin-bottom: 50px;
}
#nosotros p{
	font-family: 'Questrial', sans-serif;
	font-size: 18px;
	text-align: left;
	color: black;
}
/* Main menu wrapper */
.cbp-hsmenu-wrapper {
	position: relative;
}

/* Common style for all lists */
.cbp-hsmenu-wrapper ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
}

/* 100% width bar for menu */
.cbp-hsinner {
	background: white;
	position: relative;
	margin-top: -20px;
	z-index: 100;

}

/* Main menu style */
.cbp-hsmenu-wrapper .cbp-hsmenu {
	width: 95%;
	padding-top: 20px;
	padding-bottom: 20px;
	margin: 0 auto;
	text-align: center;
}

.cbp-hsmenu > li {
	margin-left: 4em;

	display: inline-block;
}

.cbp-hsmenu > li:first-child {
	margin-left: 0;
}

/* Main menu link style */
.cbp-hsmenu > li > a {
	color: red;
	font-weight: bold;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2em;
	line-height: 3em;
	display: inline-block;
	position: relative;
	z-index: 10000;
	outline: none;
}

.no-touch .cbp-hsmenu > li > a:hover,
.no-touch .cbp-hsmenu > li > a:focus,
.cbp-hsmenu > li.cbp-hsitem-open > a {
	font-style: italic;
    font-family: 'Questrial', sans-serif;
    font-weight: bold;
    color: tomato;
    text-decoration: none;
}

/* Add an arrow to the main menu link if it has a submenu (not the only child) */
.cbp-hsmenu > li > a:not(:only-child):before {
	display: inline-block;
	font-family: 'bpmenu';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	content: "\f107";
	font-size: 80%;
	margin-right: 0.3em;
	opacity: 0.4;
	vertical-align: middle;
}

.cbp-hsmenu > li.cbp-hsitem-open > a:not(:only-child):before {
	content: "\f106";
}

/* Add a triangle to currently open menu item link */
.cbp-hsmenu > li.cbp-hsitem-open > a:after {
	top: 142%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: transparent;
	border-top-color: red;
	border-width: 10px;
	left: 50%;
	margin-left: -10px;
}

/* Submenu style */
.cbp-hssubmenu {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	z-index: 0;
	text-align: center; /* for aligning the sub items */
	visibility: hidden;
}

.cbp-hssubmenu:before, 
.cbp-hssubmenu:after { 
	content: " "; 
	display: table; 
}
.cbp-hssubmenu:after { 
	clear: both; 
}

/* Let's allow 6 item in a row */
.cbp-hssubmenu > li {
	width: 16.2%;
	display: inline-block;
	vertical-align: top;
	box-shadow: -28px 0 0 -27px #ddd, 0 -28px 0 -27px #ddd;
	opacity: 0;
	-webkit-transition: opacity 0.1s 0s;
	-moz-transition: opacity 0.1s 0s;
	transition: opacity 0.1s 0s;
}

/* First 6 items don't have upper box shadow */
.cbp-hssubmenu > li:nth-child(-n+6) {
	box-shadow: -28px 0 0 -27px #ddd;
} 

/* Every 7th item does not have a left box shadow */
.cbp-hssubmenu > li:nth-child(6n+1) {
	box-shadow:  0 -28px 0 -27px #ddd;
}

/* The first one does not have any box shadow */
.cbp-hssubmenu > li:first-child {
	box-shadow: none;
}

.cbp-hssubmenu > li a {
	display: block;
	text-align: center;
	color: red;
	font-size: 18px;
	font-weight: bold;
	font-family: 'Montserrat', sans-serif;
	outline: none;
	padding: 2em 1em 1em 1em;
}

.no-touch .cbp-hssubmenu > li a:hover,
.no-touch .cbp-hssubmenu > li a:focus {
	color: #888;
}

.cbp-hssubmenu > li a img {
	border: none;
	outline: none;
	display: inline-block;
	margin: 0;
	max-width: 60%;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.no-touch .cbp-hssubmenu > li a:hover img {
	opacity: 0.5;
}

.cbp-hssubmenu > li a span {
	display: block;
	min-height: 3em;
	margin-top: 0.4em;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
	border-top: 2px solid red;
    z-index: 1000;
    visibility: visible;
    background: white;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu > li {
	opacity: 1;
	-webkit-transition: opacity 0.5s 0.1s;
	-moz-transition: opacity 0.5s 0.1s;
	transition: opacity 0.5s 0.1s;
}

/* Helper div for animating the background */
.cbp-hsmenubg {
	background: #f7f7f7;
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	z-index: 0;
	height: 0px;
}

.no-touch .cbp-hsmenubg {
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

@media screen and (max-width: 65em){
	.cbp-hsmenu-wrapper {
		font-size: 80%;
	}
}

@media screen and (max-width: 51.4375em){
	.cbp-hsmenu-wrapper {
		font-size: 100%;
	}

	.cbp-hsmenu-wrapper .cbp-hsmenu {
		padding: 0;
		max-width: none;
		width: 100%;
	}

	.cbp-hsmenu > li {
		border-top: 1px solid rgba(255,255,255,0.5);
		text-align: center;
		margin: 0 auto;
		display: block;
	}

	.cbp-hsmenu > li:first-child {
		border-top: none;
	}

	.cbp-hsmenu > li > a {
		display: block;
	}

	.cbp-hsmenu > li > a:not(:only-child):before {
		line-height: 1.8;
		right: 0;
		position: absolute;
		font-size: 200%;
	}

	.cbp-hsmenubg {
		display: none;
	}

	.cbp-hssubmenu {
		background: #f7f7f7;
		position: relative;
		overflow: hidden;
		height: 0;
	}

	.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
		height: auto;
	}

	/* Let's only allow 3 item in a row now */
	.cbp-hssubmenu > li {
		width: 30%;
	}

	/* Reset box shadows for the 6 items in row case */
	.cbp-hssubmenu > li:nth-child(-n+6),
	.cbp-hssubmenu > li:nth-child(6n+1) {
		box-shadow: -28px 0 0 -27px #ddd, 0 -28px 0 -27px #ddd;
	}

	/* First 4 items don't have upper box shadow */
	.cbp-hssubmenu > li:nth-child(-n+3) {
		box-shadow: -28px 0 0 -27px #ddd;
	} 

	/* Every 5th item does not have a left box shadow */
	.cbp-hssubmenu > li:nth-child(3n+1) {
		box-shadow:  0 -28px 0 -27px #ddd;
	}

}
.menu-mobil{
	display: none;
	position: fixed;
	top: 0%;
	width: 100%;
	z-index: 1000;
	background: white;
	padding-top: 5px;
	padding-bottom: 5px;
}
#dl-menu{
		display: none;
	}
.dl-menuwrapper button {
    background: #e61212 !important;
}
.dl-menuwrapper .dl-menu {
    background: white;
   }
  .dl-menuwrapper li a {
  	color: red !important;
  	font-family: 'Questrial', sans-serif;
  }
  ul.dl-submenu {
    background: red !important;
   }
   ul.dl-submenu li a{
    color: white !important;
   }
#logo-mobil{
	position: absolute;
	width: 60%;
	margin-left: 30%;
}
@media screen and (max-width: 25em){
	#menu-container{
		display: none;
	}
	#oferto{
		padding-top: 50px;
		font-size: 18px;
	}
	.hom{
		margin-top: 100px;
	}
	/* Let's only allow 1 item in a row now */
	.cbp-hssubmenu > li {
		width: 100%;
		display: block;
	}

	.cbp-hsmenu-wrapper .cbp-hssubmenu > li {
		box-shadow: 0 1px #cecece;
		text-align: left;
	}

	.cbp-hssubmenu > li a {
		text-align: left;
		line-height: 50px;
		padding: 0.4em 1em;
	}

	.cbp-hssubmenu > li a img {
		float: left;
		max-height: 50px;
	}
	#titulo-slider{
		font-size: 25px !important;
	}
	#sub-slider{
		font-size: 15px !important;
	}
	#nosotros p {
	    font-family: 'Questrial', sans-serif;
	    font-size: 14px;
	    text-align: center;
	    color: black;
	}
	#dl-menu{
		display: block;
	}
	.menu-mobil{
		display: block;
	}
	#txt a{
		font-size: 12px;
	}
	.cbp-hsmenu > li.cbp-hsitem-open > a:after {
    top: 103%;
    }
    .home_header {
    	font-size: 15px;
    }
	.cbp-hssubmenu > li a span {
		font-size: 12px;
		min-height: 0;
		margin: 0;
	}
}


/* ==================================== */
/* MEDIA QUERIES RESPONSIVAS */
/* ==================================== */

/* Móvil: hasta 660px */
@media screen and (max-width: 660px) {
    .cbp-hsmenu > li {
        margin-left: 0;
    }
    .txt-oferton h2 {
        font-size: 28px !important;
    }
    #nosotros h5 {
        font-size: 16px !important;
    }
    #nosotros h3 {
        font-size: 22px !important;
    }
    #nosotros h4 {
        font-size: 20px !important;
    }
    #nosotros p {
        font-size: 14px !important;
        text-align: center !important;
    }
    #contacto h5 {
        font-size: 22px !important;
    }
    #contacto p {
        font-size: 14px !important;
    }
    #txt {
        font-size: 14px !important;
    }
    #txt a {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
    .cbp-hssubmenu > li {
        width: 33.33% !important;
    }
    .cbp-hssubmenu > li a {
        font-size: 14px !important;
    }
}

/* Tablet: 661px a 1024px */
@media screen and (max-width: 1024px) and (min-width: 661px) {
    .txt-oferton h2 {
        font-size: 34px !important;
    }
    #nosotros h3 {
        font-size: 30px !important;
    }
    #nosotros h4 {
        font-size: 24px !important;
    }
    #nosotros p {
        font-size: 16px !important;
    }
    .cbp-hssubmenu > li {
        width: 25% !important;
    }
    .cbp-hssubmenu > li a {
        font-size: 16px !important;
    }
}