@charset "utf-8";
@import 'styles.css';

/* CSS Document */

@font-face {
    font-family: 'BrandonText-Regular';
    src: url('../fonts/BrandonText-Regular.eot');
    src: url('../fonts/BrandonText-Regular.woff2') format('woff2'), url('../fonts/BrandonText-Regular.woff') format('woff'), url('../fonts/BrandonText-Regular.ttf') format('truetype'), url('../fonts/BrandonText-Regular.svg#BrandonText-Regular') format('svg'), url('../fonts/BrandonText-Regular.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BrandonText-Black';
    src: url('../fonts/BrandonText-Black.eot');
    src: url('../fonts/BrandonText-Black.woff2') format('woff2'), url('../fonts/BrandonText-Black.woff') format('woff'), url('../fonts/BrandonText-Black.ttf') format('truetype'), url('../fonts/BrandonText-Black.svg#BrandonText-Black') format('svg'), url('../fonts/BrandonText-Black.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'BrandonText-Regular', sans-serif;
    webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    color: #3a3a38;
    background-image: url(../imgs/fondo-cervecera.jpg)
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #000;
}

a.btn-ap-neg:visited {
    color: #ffc72c;
}

main {
    background-color: #fff;
    margin-top: -100px;
}

.btn-ap-neg {
    background-color: #fff;
    letter-spacing: .17em;
    border: 3px solid #ffc72c !important;
    color: #ffc72c;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-box-shadow: 0 0 1px transparent;
    box-shadow: 0 0 1px transparent;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    font-size: 1em;
    font-family: 'BrandonText-Black';
    text-transform: uppercase;
    padding: 15px 33px;
    margin: 1.5em 0;
}


/*a:visited.btn-ap-neg {
    color: #ffc72c;
}*/

.btn-ap-neg:hover,
.btn-ap-neg:focus,
.btn-ap-neg:active,
a.btn-ap-neg:visited:hover {
    color: white;
}

.btn-ap-neg:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffc72c;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.btn-ap-neg:hover:before,
.btn-ap-neg:focus:before,
.btn-ap-neg:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transition-timing-function: cubic-bezier(.52, 1.64, .37, .66);
    transition-timing-function: cubic-bezier(.52, 1.64, .37, .66);
}

.logo-marca {
    background-image: url(../imgs/logo-cervecera-independiente.svg);
    width: 165px;
    height: 165px;
    position: absolute;
    background-size: contain;
    top: 20px;
    -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% - 82px);
}


/* CONTENEDORES */

.contenedor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: #1c4b95;
    background-image: url('../imgs/header-cervecera.jpg')
}

.contenedor {
    background-size: cover;
    height: 450px;
    width: 100%;
    background-position: center;
    -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 a:hover,
.contenedor a:active,
.contenedor a:focus {
    text-decoration: none;
}

.contenedor .caption {
    width: 70%;
    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: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, .50);
    text-align: center;
}

.contenedor .caption .titulo {
    font-size: 2.5em;
    font-family: 'BrandonText-Black', sans-serif;
    margin-top: 1.5em;
}

.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: #ffc72c;
    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: #ffc72c;
}

.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: #ffc72c;
}

.checkbox .helper {
    color: #333;
    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 #ffc72c;
    box-shadow: 0 0 0 0.09em #ffc72c;
}

.checkbox .helper::before,
.checkbox .helper::after {
    background-color: #ffc72c;
}

.checkbox .helper::after {
    top: 0.5em;
    left: 0.05em;
}

.radio .helper {
    font-size: 1.2em;
    color: #fff;
}

.radio label:hover .helper,
.radio input:checked~.helper::before {
    color: #ffc72c;
}

.radio .helper::after {
    background-color: #ffc72c;
    border-color: #ffc72c;
}

.form-group select {
    font-size: 1.5em;
    height: 2em;
}


/* /FORMS */


/* MODAL FILTRO */

.modal-body {
    background-image: url(../imgs/filtro-cervecera.jpg);
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 25px;
    border-radius: 19px;
}

.modal-body .logo-filtro {
    background-image: url(../imgs/logo-cervecera-independiente.svg);
    width: 135px;
    height: 135px;
    margin: 5px auto;
    background-size: contain;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.modal-body .titulo {
    font-family: 'BrandonText-Black';
    font-size: 1.5em;
}

.modal-body .btn-ap-neg {
    background-color: transparent;
}

.modal-body a,
.modal-body a:hover {
    color: #fff;
}

.modal-body button {
    color: #fff;
    margin: 1.5em 10px;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 1);
    opacity: 0.8 !important;
}

.modal-content {
    border-radius: 21px;
}

.modal-body .contenido-menor {
    width: 75%;
    margin: 2em auto;
}


/* /MODAL FILTRO */

footer {
    background: rgba(52, 52, 52, .16);
    margin-top: -130px;
    z-index: -1;
    padding-top: 169px;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: -20px;
}

footer a,
footer a:visited {
    font-family: BrandonText-Regular;
    color: #333;
    font-size: 1em;
    text-decoration: none;
}

footer a:hover {
    opacity: .6;
    text-decoration: none;
    -webkit-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
}

@media (max-width: 767px) {
    .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: 2em !important;
    }
    .logo-marca {
        right: calc(50% - 50px);
    }
    main {
        margin-bottom: 100px;
        margin-top: 0px;
    }
    footer li {
        display: inline-block;
        margin: 10px;
    }
    .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;
    }
}
