@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');
:root {
    --red: #ea0029;
    --gray: #4a4f54;
    --gray-light: #7b7a7a;
    --brand: #ff4d29;
    --dark: #092032;
    --body: #516171;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
}
body {
    font-family: "Barlow", sans-serif;
    color: var(--gray);
    line-height: 1.7;
}
h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 700;
    color: var(--gray);
}
.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bg-red {background-color: var(--red);}
.text-justify{text-align: justify !important}
a {transition: all 0.4s ease;font-weight: 500;}
a:hover {color: var(--red);}
section {padding-top: 80px;padding-bottom: 80px;}
.text-red {color: var(--red) !important;}
.btn-red {border-color: var(--red);background-color: var(--red);color: #fff;}
.btn-red:hover {background-color: #C10022;border-color: #C10022;color: #fff;}
.btn-outline-red {color: var(--red);border: 2px solid var(--red);background-color: transparent;}
.btn-outline-red:hover,
.btn-outline-red:focus {color: #fff !important;background-color: var(--red);border-color: var(--red);text-decoration: none;}

/* navbar */
.top-nav {background-color: var(--red);color: #fff;padding-top: 7px;padding-bottom: 7px;}
.top-nav p {display: inline-block;margin-bottom: 0;margin-right: 10px;}
.top-nav span,
.top-nav i {vertical-align: middle;}
.navbar {box-shadow: var(--shadow);}
.navbar .social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}
.social-icons a:hover {background-color: #fff;color: var(--red);}
#home {top: 0;}
#home .contact-items a{font-weight: 400;color: white}
#home .contact-items a:hover{cursor: pointer;}
#navmenu {top: 40px;}
.navbar .navbar-nav .nav-link {color: var(--gray);}
.navbar .navbar-nav .nav-link:hover {color: var(--red);}
.navbar .navbar-nav .nav-link.active {color: var(--red);}
.navbar-brand {font-size: 28px;font-weight: 700;}
.navbar-brand .dot {color: var(--red);}
.menuactivo{color: var(--red) !important;}

/*footer*/
.footer{background: var(--gray-light);}
.footer a{text-decoration: none;color: white; font-weight: 400}
.footer p{color: white}
.footer i{font-size: 17px}
.footer a:hover{color: var(--red)}
.footer .social-icons a {
    width: 43px;
    height: 43px;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 50%;
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
}
.footer .social-icons i{font-size: 20px;}
.footer .list-group a.btn-link:hover .icon-before {transform: translateX(3px);}
.cajamapa{
    margin-top:15px;
    text-align: center;
    color: var(--gray) !important;
    background:#b3b3b3;
    padding:10px 20px;
    border:1px solid #ececec;
}
.footer .copyright {padding: 25px 0;border-top: 1px solid rgba(256, 256, 256, .1);}
@media(min-width:1301px){
    #trengif{left:70px;top:226px;position:relative;}
    .img-footer{
        min-height:500px;
        background: url("../img/plantilla/footer2000.png") no-repeat;
        background-size:cover;
        margin-bottom:0;
        width:100%;
    }
}
@media(max-width:1300px){
    #trengif{left:50px;top:136px;position:relative;}
    .img-footer{
        min-height:400px;
        background: url("../img/plantilla/footer2000.png") no-repeat;
        background-size: cover;
        margin-bottom:0;
        width: 100%;
    }
}
@media(max-width:1200px){
    #trengif{left:60px;top:100px;position:relative;}
    .img-footer{
        min-height:360px;
        background: url("../img/plantilla/footer1300.png") no-repeat;
        background-size: cover;
        margin-bottom:0;
        width: 100%;
    }
}
@media(max-width:990px){
    #trengif{left:60px;top:52px;position:relative;scale:0.8;}
    .img-footer{
        min-height:270px;
        background: url("../img/plantilla/footer1300.png") no-repeat;
        background-size: cover;
        margin-bottom:0;
        width: 100%;
    }
}
@media (max-width:600px){
    #trengif{scale:0.4;left:-34px;top:0;position:relative;}
    .img-footer{
        min-height:50px;
        background: url("../img/plantilla/footer500.png") no-repeat;
        background-size: cover;
        margin-bottom:-20px;
        width: 100%;
    }
    .megamenu .row .col-md-3{min-height:200px;}
}
@media (max-width:450px) {
    #trengif {scale: 0.4;left: -34px;top: 0;position: relative;}
    .img-footer {
        min-height: 50px;
        background: url("../img/plantilla/footer500.png") no-repeat;
        background-size: cover;
        margin-bottom: -10px;
        width: 100%;
    }
}

/*back to top*/
.back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 48px;
    height: 48px;
    z-index: 100;
    background-color: var(--red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
}
.back-to-top:hover{background-color:var(--red);opacity:0.9;}
.back-to-top i{color:white;font-size: 25px}

/*spinner*/
#spinner .spinner-border{
    width: 45px;
    height: 45px;
}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    background-color: #f6f6f6;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}