@charset "utf-8";
@import 'styles.css';

/* CSS Document */

@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('../fonts/SourceSansPro-Regular.eot');
    src: url('../fonts/SourceSansPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Regular.svg#SourceSansPro-Regular') format('svg'),
        url('../fonts/SourceSansPro-Regular.ttf') format('truetype'),
        url('../fonts/SourceSansPro-Regular.woff') format('woff'),
        url('../fonts/SourceSansPro-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro-Black';
    src: url('../fonts/SourceSansPro-Black.eot');
    src: url('../fonts/SourceSansPro-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SourceSansPro-Black.svg#SourceSansPro-Black') format('svg'),
        url('../fonts/SourceSansPro-Black.ttf') format('truetype'),
        url('../fonts/SourceSansPro-Black.woff') format('woff'),
        url('../fonts/SourceSansPro-Black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SourceSansPro-Regular', sans-serif;
    webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
}

header {
    border-bottom: 51px solid #a98f72;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #000;
}

.btn-ap-neg {
    font-family: 'SourceSansPro-Black';
    font-size: 1.6em;
    text-transform: uppercase;
    border: #333 solid 2px;
    background-color: #fff;
    color: #333;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    border-radius: 6px;
    margin: 20px 0;
    padding: 10px 45px;
    text-decoration: none !important;
}

.btn-ap-neg:hover,
.btn-ap-neg:focus,
.btn-ap-neg:active {
    text-decoration: none;
    background-color: #333;
    color: #fff;
}

.logo-marca {
    background-image: url(../imgs/logo-san-miguel.svg);
    width: 120px;
    height: 120px;
    position: absolute;
    top: 10px;
    left: calc(50% - 60px);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.logo-marca.derecha {
    right: 30px;
}

.logo-marca.izquierda {
    left: 30px;
}

.logo-marca.centro {
    right: calc(50% - 50px);
}


/* CONTENEDORES */

.contenedor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: #1c4b95;
}

.contenedor {
    background-size: cover;
    height: 450px;
    width: 100%;
    background-position: center;
}

.posiciontitulo {
    -webkit-box-pack: left;
    -ms-flex-pack: left;
    justify-content: left;
    -webkit-box-align: end;
    -ms-flex-align: end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
}

.contenedor a:hover,
.contenedor a:active,
.contenedor a:focus {
    text-decoration: none;
}

.contenedor.derecha {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.contenedor.centro {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
}

.contenedor.abajo {
    -webkit-box-align: end;
    -ms-flex-align: end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
}

.contenedor .caption {
    width: 40%;
    height: auto;
    padding: 2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    color: #e9e2d6;
    text-shadow: 0 0 10px rgba(0, 0, 0, .50);
}

.contenedor .caption .titulo {
    font-size: 55px;
    text-transform: uppercase;
    font-family: 'SourceSansPro-Black', sans-serif;
    line-height: 0.9;
}

.contenedor .caption .subtitulo {
    font-size: 1em;
}


/* /CONTENEDORES */


/*input[type="text"] {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    padding: 0px 12px;
    border-bottom: #fff solid 1px;
    border-radius: 0;
    color: #fff;
}*/


/* FORMS */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #333 !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.2) inset !important;
    -webkit-transition: background-color 5000s ease-in-out 0s !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.form-group input,
.form-group textarea {
    padding: 0.125em 0.125em 0.0625em;
    font-size: 1.5em;
}

.form-group .control-label {
    color: #333;
    font-size: 1.3em;
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.form-group .bar {
    border-bottom: 0.0625em solid #333;
}

.form-group .bar::before {
    background: #a98f72;
    height: 0.125em;
    bottom: -0.0925em;
    -webkit-transition: left 0.8s ease, width 0.8s ease;
    transition: left 0.8s ease, width 0.8s ease;
}

.form-group select ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group input:not(:placeholder-shown) ~ .control-label,
.form-group input.form-file ~ .control-label,
.form-group input.has-value ~ .control-label,
.form-group textarea:focus ~ .control-label,
.form-group textarea:not(:placeholder-shown) ~ .control-label,
.form-group textarea.form-file ~ .control-label,
.form-group textarea.has-value ~ .control-label {
    font-size: 1em;
    color: #333;
}

.form-group select:focus ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group textarea:focus ~ .control-label {
    color: #a98f72;
}

.form-group select,
.form-group input:focus,
.form-group input:not(:placeholder-shown),
.form-group input.form-file,
.form-group input.has-value,
.form-group textarea:focus,
.form-group textarea:not(:placeholder-shown),
.form-group textarea.form-file,
.form-group textarea.has-value {
    color: #333;
}

.checkbox label,
.form-radio label {
    color: #333;
}

.checkbox input:checked ~ .helper,
.checkbox label:hover .helper {
    color: #a98f72;
}

.checkbox .helper {
    color: #e9e2d6;
    width: 1.2em;
    height: 1.2em;
    -webkit-transition: border-color 0.8s ease;
    transition: border-color 0.8s ease;
}

.checkbox input:checked ~ .helper::before {
    height: 1.3em;
}

.checkbox .helper::before {
    top: 0.85em;
    left: 0.48em;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-box-shadow: 0 0 0 0.09em #a98f72;
    box-shadow: 0 0 0 0.09em #a98f72;
}

.checkbox .helper::before,
.checkbox .helper::after {
    background-color: #a98f72;
}

.checkbox .helper::after {
    top: 0.5em;
    left: 0.05em;
}

.radio .helper {
    font-size: 1.2em;
    color: #e9e2d6;
}

.radio label:hover .helper,
.radio input:checked ~ .helper::before {
    color: #a98f72;
}

.radio .helper::after {
    background-color: #a98f72;
    border-color: #a98f72;
}

.form-group select {
    font-size: 1.5em;
    height: 2em;
}


/* /FORMS */


/* MODAL FILTRO */

.modal-body {
    background-image: url(../imgs/filtro-sanmiguel.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 25px;
    border-radius: 19px;
}

.modal-body .logo-filtro {
    background-image: url(../imgs/logo-san-miguel.svg);
    width: 119px;
    height: 105px;
    margin: 5px auto;
    background-size: cover;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.modal-body .titulo {
    width: 75%;
    font-size: 35px;
    text-transform: uppercase;
    font-family: 'SourceSansPro-Black', sans-serif;
    line-height: 1;
    margin-top: 1.5em;
    margin-bottom: 1em;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, .50);
}

.modal-body a,
.modal-body a:hover,
.modal-body button {
    color: #fff;
}

.modal-backdrop.in {
    filter: alpha(opacity=80);
    opacity: .8;
}

.modal-content {
    border-radius: 21px;
}

.modal-body .btn-ap-neg {
    min-width: 60px;
    margin: 0 5px;
    padding: 10px 35px;
}

.modal-body .botones {
    margin-top: 2em;
    margin-bottom: 1.5em;
}

.modal-body .botones .btn-ap-neg {
    border: #fff solid 2px;
    background-color: transparent;
}

.modal-body .botones .btn-ap-neg:hover {
    background-color: #fff;
    color: #333;
}

.modal-body .contenido-menor {
    width: 75%;
    margin: 2em 0;
}


/* /MODAL FILTRO */

footer {
    font-size: .9em;
    background-color: #233530;
}

footer a,
footer a:visited {
    color: #e9e2d6;
    text-decoration: none;
}

footer a:hover {
    color: #a98f72;
    text-decoration: none;
}

@media (max-width: 767px) {
    .btn-ap-neg {
        font-size: 1.4em;
        padding: 10px 25px;
    }

    .contenedor {
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end !important;
    }

    .contenedor .caption {
        width: 100%;
        height: auto;
        /*margin: 2em;*/
    }

    .contenedor .caption .titulo {
        font-size: 3em !important;
    }

    .logo-marca {
        right: calc(50% - 50px);
        top: 15px;
    }

    main {
        margin-bottom: 100px;
    }

    footer li {
        display: inline-block;
        margin: 10px;
    }

    .modal-body .titulo {
        font-size: 1.7em;
    }

    .modal-body p {
        font-size: .9em;
    }

    .modal-body .contenido-menor {
        width: 100%;
        margin: 2em auto;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .contenedor .caption {
        width: 60%;
        height: auto;
    }
}

@media screen and (min-width:0\0) {
    .control-label {
        top: -1.5em !important;
    }

    input {
        color: #ffaab9 !important;
    }
}

@supports (-ms-ime-align:auto) {
    .control-label {
        top: -1.5em !important;
    }

    input {
        color: #ffaab9 !important;
    }
}
