@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,400i,500,700,900');
*
{
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
*:focus
{
	outline:none;
}
a
{
	text-decoration:none;
}
li
{
	list-style:none;
}
body
{
	font-family: 'Roboto', sans-serif;
	font-size:18px;
	line-height:22px;
	color:#404040;
	font-weight:400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

header
{
    background: #fff;
}
h1
{
    position: absolute;
    top: 5px;
    z-index: 2;
}
h1 img
{
    width: 150px;
    height: 150px;
}
input,
#b-whatsapp
{
    transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out; 
}
footer
{
    padding: 15px;
    background: #5d5d5d;
}
footer p
{
    font-size: 15px;
    line-height: 19px;
    text-align: center;
    color: #fff;
}
footer p a
{
    font-weight: 600;
    color: #f7b142;
}

/*Class*/

.centrar
{
    width: 100%;
    max-width: 1280px;
    margin: auto;
    position: relative;
}
.banner
{
    background:  url(../images/back-banner.jpg) repeat-x;
    position: relative;
}
.banner-container
{
    overflow: hidden;
}
.banner-container > div
{
    margin: auto;
    width: 1280px !important;
    background: #fff;
}
.banner-form
{
    position: absolute;
    right: 30px;
    top: 0;
    z-index: 1;
    width: 430px;
    height: 100%;
    background: rgba(184, 0, 9, 0.80);
    text-align: center;
    padding: 30px 15px 20px 15px;
    overflow-y: auto;
}
.banner-form::-webkit-scrollbar {
     -webkit-appearance: none;
}

.banner-form::-webkit-scrollbar:vertical {
     width:9px;
}

.banner-form::-webkit-scrollbar-button:increment,.contenedor::-webkit-scrollbar-button {
    display: none;
} 

.banner-form::-webkit-scrollbar:horizontal {
    height: 10px;
}

.banner-form::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.30);
    border-radius: 20px;
    border: 0px solid #b88800;
}

.banner-form::-webkit-scrollbar-track {
    border-radius: 10px;  
}
.banner-form h2,
.bottom-form h2
{
   font-weight: 900;
    font-size: 33px;
    line-height: 33px;
    color: #fff;
    text-transform: uppercase;
}
.banner-form p
{
    color: #fff;
    font-size: 33px;
    line-height: 33px;
    letter-spacing: 6px;
    font-weight: 300;
}
.banner-form p span
{
    display: block;
    letter-spacing: 0;
    color: #f7b142;
    font-weight: 900;
    font-size: 43px;
    line-height: 43px;
    letter-spacing: 0px;
    text-transform: uppercase;
	margin-bottom: 25px;
}
.banner-form form > input,
.banner-form form select,
.bottom-form form > input,
.bottom-form form select
{
    display: block;
    color: #fff;
    background: rgba(0,0,0,0.10);
    border-radius: 5px;
    border: 1px dotted #f7b142;
    width: 100%;
    padding: 0 10px;
    height: 40px;
    font-size: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.banner-form form > input:focus,
.banner-form form select:focus,
.bottom-form form > input:focus,
.bottom-form form select:focus
{
    background: rgba(0,0,0,0.30);
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#fff;
}
::-moz-placeholder { /* Firefox 19+ */
  color:#fff;
}
:-ms-input-placeholder { /* IE 10+ */
  color:#fff;
}
:-moz-placeholder { /* Firefox 18- */
  color:#fff;
}
.banner-form form textarea
{
    display: block;
    color: #fff;
    background: rgba(0,0,0,0.10);
    border-radius: 5px;
    border: 1px dotted #f7b142;
    width: 100%;
    padding: 10px;
    height: 80px;
    font-size: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    resize: none;
    
}
.banner-form form .checkbox,
.bottom-form form .checkbox
{
    font-size: 15px;
    line-height: 19px;
    color: #fff;
     display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 20px;
    padding-left: 25px;
    text-align: left;
    font-weight: 300;
}
.banner-form form .checkbox a
{
    color: #f7b142;
    font-weight: 500;
}
.banner-form form .checkbox input,
.bottom-form form .checkbox input
{
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.banner-form form .check,
.bottom-form form .check
{
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #f7b142;
    border-radius: 5px;
}
.banner-form form .checkbox input:checked ~ .check
{
    background-color: #f7b142;
    border:none;
}
.banner-form form .check:after,
.bottom-form form .check:after
{
    content: "";
    position: absolute;
    display: none;
}
.banner-form form .checkbox input:checked ~ .check:after,
.bottom-form form .checkbox input:checked ~ .check:after
{
    display: block;
}
.banner-form form .checkbox .check:after,
.bottom-form form .checkbox .check:after
{
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.banner-form form input[type=submit],
.bottom-form form input[type=submit]
{
    background: #f7b142;
    width: 150px;
    height: 40px;
    color: #fff;
    border: none;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 10px;
}
.bottom-contact
{
    font-size: 0;
    line-height: 0;
    text-align: center;
    padding: 30px 15px;
}
.bottom-contact article
{
    font-size: 17px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin: 0 1%;
}
.bottom-contact h5
{
    text-transform: uppercase;
    color: #b80009;
    margin-bottom: 15px;
}
.bottom-contact p
{
    color: #5d5d5d;
}
.bottom-contact p b
{
    color: #b80009;
}
.bottom-contact .ico
{
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto 15px auto;
}
.bottom-map .centrar
{
    position: relative;
    background: red;
}
.bottom-form
{
    position: absolute;
    top: 0;
    left: 30px;
    z-index: 1;
    height: 620px;
    width: 430px;
    padding: 30px 15px;
    text-align: center;
    background: #f7b142;
}
.bottom-form form > input,
.bottom-form form select
{
    border: 1px dotted #fff;
}
.bottom-form form .checkbox 
{
    font-weight: 400;
}
.bottom-form  form .checkbox a
{
    color: #b70009;
    font-weight: 500;
}
.bottom-form form .check
{
    border: 1px solid #b70009;
}
.bottom-form form .checkbox input:checked ~ .check
{
    background-color: #b70009;
    border:none;
}
.bottom-form form input[type=submit]
{
    background: #b80009;
}
.bottom-form p
{
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    margin: 10px 0 20px 0;
}
.confirmacion-back
{
    background: url(../images/back-confirmacion.jpg)no-repeat;
    background-size: cover;
}
.confirmacion
{
    text-align: center;
    padding: 50px 30px;
}
.confirmacion img
{
    width: 200px;
}
.confirmacion p spam
{
    text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
    line-height: 25px;
    color: #c7373b;
    display: block;
}
.confirmacion a
{
    display: inline-block;
    padding: 10px 20px;
    background: #c7373b;
    color: #fff;
    font-weight: 900;
    margin-top: 50px;
    text-transform: uppercase;
    cursor: pointer;
}
.frase
{
    text-align: center;
    background: #b70009;
    padding: 230px 15px 30px 15px;
    position: relative;
    z-index: 0;
    margin-top: -170px;
}
.frase article p
{
    color: #fff;
    font-size: 25px;
    line-height: 30px;
    font-weight: 100;
    margin: 0 auto 20px auto;
	max-width: 750px;
}
.frase article p strong
{
    color: #f7b141;
}
/*.frase article p:last-child
{
    font-size: 30px;
    line-height: 30px;
}*/
.g-recaptcha > div
{
    margin: auto;
}
.ico-cel
{
    background: url(../images/ico-cel.png) center center no-repeat;
    background-size: 100%;
}
.ico-dir
{
    background: url(../images/ico-dir.png) center center no-repeat;
    background-size: 100%;
}
.ico-hor
{
    background: url(../images/ico-hor.png) center center no-repeat;
    background-size: 100%;
}
.ico-tel
{
    background: url(../images/ico-tel.png) center center no-repeat;
    background-size: 100%;
}
.map iframe
{
    height:420px;/*height:620px;*/
}
.carrousel-fotos
{
    padding: 50px 0 0 0;
    position: relative;
    z-index: 1;
}
.carrousel-fotos h3
{
    padding: 0 15px;
}
.carrousel-fotos article{
	background: #f6f6f6;
	padding: 30px 15px;
}
.carrousel-fotos .nbs-flexisel-item img {
    width: 100%;
    cursor:default;
    margin-bottom: 0px;
    margin-top: 0;
    max-width: 100%;
    border-radius: 15px;
}
.carrousel-fotos .nbs-flexisel-container {
    overflow: hidden;
}
.carrousel-fotos .nbs-flexisel-nav-left, .nbs-flexisel-nav-right {
    width: 40px;
    opacity: 1;
	top: 50% !important;
}
.carrousel-fotos .nbs-flexisel-nav-left {
	left: 0;
    background: #ffffff4f  url(../images/large_left.png) center center no-repeat;
	background-size: 100%;
    border-radius: 0 5px 5px 0;
}
.carrousel-fotos .nbs-flexisel-nav-right {
    right: 0px;
    background: #ffffff4f url(../images/large_right.png) center center no-repeat;
    background-size: 100%;
    border-radius: 5px 0 0 5px;
}
.por-que
{
    padding: 50px 15px 0 15px;
    position: relative;
    z-index: 1;
}
.por-que .centrar
{
    font-size: 0;
    line-height: 0;
}
.por-que h3,
.carrousel-fotos h3
{
    font-size: 32px;
    line-height: 37px;
    color: #b70009;
    text-transform: uppercase;
    text-align: center;
    font-weight: 300;
    margin: 0 auto 50px auto;
    max-width: 650px;
    text-align: center;
}
.por-que h3 b
{
    font-weight: 900;
}
.por-que article
{
    font-size: 17px;
    display: inline-block;
    vertical-align: top;
    margin: 0 1%;
    width: 31.3%;
    background: #f7f7f7;
    text-align: center;
    position: relative;
}
.por-que article:after
{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 28px;
    background: url(../images/sombra-article.png) center bottom no-repeat;
    background-size: 100% 100%;
    left: 0;
    bottom: -28px;
}
.por-que article img
{
    width: 100%;
}
.por-que article img.por-que-img-movil
{
    display: none;
}
.por-que h4
{
    font-size: 23px;
    line-height: 23px;
    color: #b70009;
    text-transform: uppercase;
    margin: 20px 0;
}
.por-que p
{
    color: #5d5d5d;
    padding: 0 15px 20px 15px;
    min-height: 104px;
    line-height: 21px;
}
.top
{
    width: 100%;
    max-width: 1280px;
    margin: auto;
    position: relative;
    padding: 15px 30px;
    
}
.top-contact
{
    text-align: right;
    position: relative;
}
.top-contact span
{
    display: inline-block;
    vertical-align: middle;
    width: 5px;
    height: 5px;
    border-radius: 50px;
    background: #b80009;
    margin: 0 5px;
}
.top-icon
{
   position: relative;
}
.top-icon i
{
    position: absolute;
    top: -15px;
    left: -65px;
    width: 56px;
    height: 54px;
    line-height: 62px;
    background: #b80009;
    color: #fff;
    font-size: 33px;
    text-align: center;
    margin-right: 5px;
}
.top-icon:after
{
    position: absolute;
    z-index: 2;
    content: "";
    display: block;
    left: -65px;
    top: 37px;
    border-top: 15px solid #b80009;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
}
.tx-rojo
{
    color: #b80009;
}
#b-whatsapp{
	position: fixed;
	z-index: 99;
	right: 15px;
	bottom: 40%;
	width: 50px;
	height: 50px;
	border-radius: 50em;
	background: #50aa00;
	color: #fff;
	font-size: 30px;
	line-height: 45px;
	text-align: center;
	border: 3px solid #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.50);
}
.open-day{
    color:#fff;
    display: none;
    background: #f7b142;
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.open-day select{
    border: 1px dotted #464646 !important;
    color: #151515 !important;
}
.open-day select:focus, 
.open-day input:focus{
    background: rgba(255, 255, 255, 0.20) !important;
}
.open-day select:hover,
.open-day input:hover{
    background: rgba(255, 255, 255, 0.20) !important;
}
.open-day input{
    display: block;
    color: #151515 !important;
    background: rgba(0,0,0,0.10);
    border-radius: 5px;
    border: 1px dotted #464646 ;
    width: 100%;
    padding: 0 10px;
    height: 40px;
    font-size: 15px;
    margin-bottom: 0px !important;
    position: relative;
    z-index: 1;
}
.open-day input::placeholder{
    color: #151515 !important;
}

/*Hover*/
@media only screen and (min-width : 851px)
{
    .banner-form form > input:hover,
    .banner-form form select:hover,
    .bottom-form form > input:hover,
    .bottom-form form select:hover
    {
        background: rgba(0,0,0,0.30);
    }
    .banner-form form input[type=submit]:hover,
    .bottom-form form input[type=submit]:hover
    {
        width: 170px;
        box-shadow: 1px 1px 8px rgba(0,0,0,0.50);
    }
    .top-contact a:hover
    {
        color: #b80009;
    }
    .confirmacion a:hover
    {
        background: #f7b142;
    }
	#b-whatsapp:hover{
		transform: scale(1.1)
	}
}

@media only screen and (min-width : 850px) and (max-width : 1024px) 
{
    .banner-form 
    {
        right: 10px;
        width: 330px;
        padding: 15px;
    }
    .banner-form h2, 
    .bottom-form h2 
    {
        font-size: 25px;
        line-height: 25px;
    }
    .banner-form p 
    {
        font-size: 23px;
        line-height: 23px;
    }
    .bottom-form 
    {
        left: 10px;
        height: 650px;
        width: 330px;
        padding: 25px 15px;
    }
    .map iframe 
    {
        height: 300px; /*height: 650px;*/
    }
    .top-contact 
    {
        font-size: 15px;
        line-height: 19px;
    }
    .top-icon:after 
    {
        top: 35px;
    }

}

@media only screen and (min-width : 501px) and (max-width : 849px) 
{
    h1
    {
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    }
    h1 img 
    {
        width: 100px;
        height: 100px;
    }
    .banner-container > div
    {
        width: 100% !important;
    }
    .banner-form 
    {
        right: 0px;
        width: 100%;
        position: initial;
        top: auto;
        height: auto;
        background: rgba(184, 0, 9, 1.00);
        padding: 30px;
    }
    .banner-form h2, 
    .bottom-form h2 
    {
        font-size: 25px;
        line-height: 25px;
    }
    .banner-form p 
    {
        font-size: 23px;
        line-height: 23px;
    }
    /*.banner-form p span 
    {
        font-size: 125px;
        line-height: 125px;
        letter-spacing: 0;
    }*/
    .bottom-form 
    {
        left: 0;
        height: auto;
        width: 100%;
        padding: 30px;
        position: initial;
    }
    .bottom-contact article 
    {
        width: 48%;
        margin: 0 1% 20px 1%;
    }
    .frase article p 
    {
        font-size: 32px;
        line-height: 32px;
    }
    .frase article p br
    {
        display: none;
    }
    .frase article p:last-child 
    {
        font-size: 23px;
        line-height: 23px;
    }
    .map iframe 
    {
        height: 250px;
    }
    .por-que h3 
    {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 30px;
    }
    .por-que article 
    {
        display: block;
        margin: 0;
        width: 100%;
    }
    .por-que article img.por-que-img-movil
    {
        display: block;
    }
    .por-que article img.por-que-img-pc
    {
        display: none;
    }
    .top 
    {
        padding: 80px 0 0 0;
    }
    .top-contact 
    {
        text-align: center;
        font-size: 15px;
        line-height: 19px;
        background: #b70009;
        padding: 30px 15px 15px 15px;
        color: #fff;
    }
    .top-icon:after 
    {
        display: none;
    }
    .top-contact span 
    {
        background: #f7b141;
    }
    .top-contact .tx-rojo 
    {
        color: #f7b141;
    }
    .top-icon
    {
        display: block;
        margin-bottom: 5px;
        text-transform: uppercase;
    }
    .top-icon i 
    {
        position:initial;
        top: auto;
        left: auto;
        width: 20px;
        height: 20px;
        border-radius: 50px;
        line-height: 20px;
        background: #f7b141;
        color: #b70009;
        font-size: 15px;
        margin-right: 0;
    }

}

@media only screen and (max-width : 500px) 
{
    h1
    {
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    }
    h1 img 
    {
        width: 100px;
        height: 100px;
    }
    .banner-container > div
    {
        width: 100% !important;
    }
    .banner-form 
    {
        right: 0px;
        width: 100%;
        position: initial;
        top: auto;
        height: auto;
        background: rgba(184, 0, 9, 1.00);
        padding: 30px 15px;
    }
    .banner-form h2, 
    .bottom-form h2 
    {
        font-size: 25px;
        line-height: 25px;
    }
    .banner-form p 
    {
        font-size: 23px;
        line-height: 23px;
    }
    /*.banner-form p span 
    {
        font-size: 125px;
        line-height: 125px;
        letter-spacing: 0;
    }*/
    .bottom-form 
    {
        left: 0;
        height: auto;
        width: 100%;
        padding: 30px 15px;
        position: initial;
    }
    .bottom-contact article 
    {
        width: 100%;
        margin: 0 0 20px 0;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
    }
    .bottom-contact article:last-child
    {
        border-bottom: none;
    }
    .confirmacion img
    {
        width: 120px;
    }
    .frase article p 
    {
        font-size: 25px;
        line-height: 25px;
    }
    .frase article p br
    {
        display: none;
    }
    .frase article p:last-child 
    {
        font-size: 19px;
        line-height: 19px;
    }
    .map iframe 
    {
        height: 250px;
    }
    .por-que h3 
    {
        font-size: 25px;
        line-height: 25px;
        margin-bottom: 30px;
    }
    .por-que article 
    {
        display: block;
        margin: 0;
        width: 100%;
    }
    .por-que article img.por-que-img-movil
    {
        display: block;
    }
    .por-que article img.por-que-img-pc
    {
        display: none;
    }
    .top 
    {
        padding: 80px 0 0 0;
    }
    .top-contact 
    {
        text-align: center;
        font-size: 15px;
        line-height: 19px;
        background: #b70009;
        padding: 30px 15px 15px 15px;
        color: #fff;
    }
    .top-icon:after 
    {
        display: none;
    }
    .top-contact span 
    {
        background: #f7b141;
    }
    .top-contact .tx-rojo 
    {
        color: #f7b141;
    }
    .top-icon
    {
        display: block;
        margin-bottom: 5px;
        text-transform: uppercase;
    }
    .top-icon i 
    {
        position:initial;
        top: auto;
        left: auto;
        width: 20px;
        height: 20px;
        border-radius: 50px;
        line-height: 20px;
        background: #f7b141;
        color: #b70009;
        font-size: 15px;
        margin-right: 0;
    }

}