/*
  COLORES:
    color1 => #a61922 =>Rojo;
    color2 => #eaeae9 =>Gris;
    color3 => #000;
    color4 => #fff;
*/

/*GENERAL*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    text-align: center;
    font: 250 15px;

}

footer {
    font-size: 10pt;
    background-color: #a61922;
    color: fff;
}

.title {
    margin-bottom: 15px;
    font: 30px;
    font-family: 'Red Hat Display', sans-serif;
    text-transform: uppercase;
}

.subtitle {
    margin-bottom: 15px;
    font: 20px;
    font-family: 'Red Hat Display', sans-serif;
    text-transform: uppercase;
    text-align: left
}

.contenido {
    padding: 40px 0;

}

.contenido2 {
    padding: 40px 0;
    display: flex;
    justify-content: center;

}

p {
    margin: 10px
}

/*NAVBAR*/

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #a61922;
    font-family: 'Red Hat Display', sans-serif;
}

.logo {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 22px;
    margin-left: 1em;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.burger {
    display: none;
    cursor: pointer;
    margin-right: 1em;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
}

/* Full-width input fields */
input[type=text],
input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.modalcontainer {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 600px;
    /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@media screen and (max-width:1024px) and (min-width:769px) {
    .nav-links {
        width: 90%;
        display: flex;
    }

    .sidenav-active {
        opacity: 0 !important;
        width: 0% !important;
    }

    nav {
        justify-content: space-around;
    }

    .modal-content {
        width: 600px;
        /* Could be more or less, depending on screen size */
    }
}
@media screen and (max-height:550px){
    .sidenav {
        height: 75vh !important;
        line-height: 100% !important;
    }
}
@media screen and (min-height: 551px) and (max-height:800px){
    .sidenav {
        height: 70vh !important;
    }
}
@media screen and (min-height:801px){
    .sidenav {
        height: 50vh !important;
    }
}

@media screen and (max-width:768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #a61922;
        display: none;
        flex-direction: column;
        align-items: center;
        width: 0%;
        /* transform: translateX(100%);
        transition: transform 0.5s ease-in;*/
    }

    .nav-links li {
        opacity: 100;
    }

    .burger {
        display: block;
    }

    .sidenav-active {
        opacity: 0.7 !important;
        width: 100% !important;
    }

    nav {
        justify-content: space-between !important;
    }

    .modal-content {
        width: 80%;
        /* Could be more or less, depending on screen size */
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navlinkfade {
    from {
        opacity: 0;
        transform: translateX(50px)
    }

    to {
        opacity: 1;
        transform: translateX(0px)
    }
}

/*SIDENAV*/
.sidenav {
    position: absolute;
    right: 0px;
    height: 50vh;
    top: 8vh;
    background-color: #a61922;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 0;
    /* 0 width - change this with JavaScript */
    /*position: fixed; /* Stay in place */
    z-index: 1;
    /* Stay on top */
    /*top: 0; /* Stay at the top */
    /*left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    /*padding-top: 60px; /* Place content 60px from the top */
    opacity: 0;
    transition: 0.5s ease-in-out;
    /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5em;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: bold;
    font-size: 1em;
    display: block;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav-active a {
    opacity: 1;
}

/*HEADER*/

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px;
    background-size: cover;
    background-image: url(Fotos/fondo%20container.jpg);
}

/*QSOMOS*/

.nos {
    background: #eaeae9;
    color: #000;
}

.nos p {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
}

/*SOLUCIONES Y RUBROS*/

.rubr {
    color: #000;
    display: flex;
    justify-content: center;
}

.rubr p {

    align-items: center;
    margin-left: auto;

}

/*SERVICIOS*/

.serv1 {

    color: #000;
    display: flex;
    justify-content: center;
}

.serv p {
    max-width: 800px;
    margin: 10px auto;
    padding: 15px;
}

.serv li {
    max-width: 800px;
    margin-left: 10px;
    text-align: left;

}

/*PARALLAX*/

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Red Hat Display', sans-serif;
    line-height: 150%;
    color: #666;
    text-align: center;

}

.parallax1 {
    background-image: url(img/uno.jpg);
    min-height: 80%;
}

.parallax2 {
    background: url(img/dos.jpg);
    min-height: 60%;
}

.parallax3 {
    background: url(img/tres.jpg);
    min-height: 60%;
}

.parallax4 {
    background: url(img/cinco.jpg);
    min-height: 60%;
}

.parallax5 {
    background: url(img/seis.jpg);
    min-height: 60%;
}

.parallax1,
.parallax2,
.parallax3,
.parallax4,
.parallax5 {
    position: relative;
    opacity: .75;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-weight: bold;

}

.heading {

    color: #fff;
    font-size: 550%;
    top: 38%;
    width: 100%;
    letter-spacing: 8px;
    text-shadow: 0 0 10px #000;
}

.heading-sm {
    position: absolute;
    top: 45%;
    width: 100%;
    color: #000;
    font-size: 250%;
    text-transform: uppercase;
    letter-spacing: 5px;

}

.two-col {
    float: left;
    width: 45%;
    padding: 0 4%;
    text-align: left;


}

.two-col2 {
    float: left;
    width: 45%;
    padding: 0 4%;
    text-align: center;


}

section {
    overflow: auto;
    padding: 50px 80px;
}

.dark {
    overflow: auto;
    padding: 50px 80px;
    background-color: #323232;
    color: #f2f2f2;
}

@media (max-width: 768px) {
    .heading {
        font-size: 250%;
    }

    .heading-sm {
        font-size: 180%;
    }

    .two-col {
        width: 100%;
        padding: 0;
        text-align: center;
    }
}

/*FORMULARIO*/

.form-consulta {
    max-width: 500px;
    background: #eee;
    padding: 25px;
    font-family: "Raleway", sans-serif;
    display: inline-block;
}

.campo-form {
    width: 100%;
    height: 36px;
    margin: 2px 0 6px;
    padding-left: 6px;
    box-sizing: border-box;
    border-radius: 3px;
    border: 0;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1em;
    display: inline-block;
}

label span {
    color: #f00;
}

textarea {
    min-height: 150px !important;
}

.btn-form {
    display: inline-block;
    border: 0;
    background: #d57b77;
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-form:hover {
    background: #444;
}

.container {
    position: relative;
    width: 300px;
}

.image {
    display: inline;
    width: 100%;
    height: auto;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: #d57b77;
}

.container:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 12pt;
    position: inherit;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.cont li {
    list-style: none;
}

.continer {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    margin: 10px auto;
    padding: 15px;
}

@media (min-width: 576px) {
    .continer {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .continer {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .continer {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .continer {
        max-width: 1140px;
    }
}

.continer-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col,
.col-auto,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm,
.col-sm-auto,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md,
.col-md-auto,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg,
.col-lg-auto,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl,
.col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.col-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-md-auto {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }

    .col-md-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-md-11 {
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-md-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .order-md-first {
        -ms-flex-order: -1;
        order: -1;
    }

    .order-md-last {
        -ms-flex-order: 13;
        order: 13;
    }

    .order-md-0 {
        -ms-flex-order: 0;
        order: 0;
    }

    .order-md-1 {
        -ms-flex-order: 1;
        order: 1;
    }

    .order-md-2 {
        -ms-flex-order: 2;
        order: 2;
    }

    .order-md-3 {
        -ms-flex-order: 3;
        order: 3;
    }

    .order-md-4 {
        -ms-flex-order: 4;
        order: 4;
    }

    .order-md-5 {
        -ms-flex-order: 5;
        order: 5;
    }

    .order-md-6 {
        -ms-flex-order: 6;
        order: 6;
    }

    .order-md-7 {
        -ms-flex-order: 7;
        order: 7;
    }

    .order-md-8 {
        -ms-flex-order: 8;
        order: 8;
    }

    .order-md-9 {
        -ms-flex-order: 9;
        order: 9;
    }

    .order-md-10 {
        -ms-flex-order: 10;
        order: 10;
    }

    .order-md-11 {
        -ms-flex-order: 11;
        order: 11;
    }

    .order-md-12 {
        -ms-flex-order: 12;
        order: 12;
    }

    .offset-md-0 {
        margin-left: 0;
    }

    .offset-md-1 {
        margin-left: 8.333333%;
    }

    .offset-md-2 {
        margin-left: 16.666667%;
    }

    .offset-md-3 {
        margin-left: 25%;
    }

    .offset-md-4 {
        margin-left: 33.333333%;
    }

    .offset-md-5 {
        margin-left: 41.666667%;
    }

    .offset-md-6 {
        margin-left: 50%;
    }

    .offset-md-7 {
        margin-left: 58.333333%;
    }

    .offset-md-8 {
        margin-left: 66.666667%;
    }

    .offset-md-9 {
        margin-left: 75%;
    }

    .offset-md-10 {
        margin-left: 83.333333%;
    }

    .offset-md-11 {
        margin-left: 91.666667%;
    }
}

.dire {
    text-align: left;
    color: eaeae9;
}

.dire li {
    list-style: none;
    text-decoration: none;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}
