﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.wrapper {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.content-wrapper {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #EDF0E7 !important;
}

body {
    background-color: #f6f8f3;
}

.navbar-brand img {
    height: 24px;
    margin-right: 5px;
}

.carousel-inner > .item > img {
    margin: auto;
    max-height: 300px;
}

.carousel {
    margin-top: 20px;
}

.service-icon {
    text-align: center;
    margin-bottom: 30px;
}

.service-box {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    min-height: 140px;
    background-color: #fff;
}


    .service-box i {
        font-size: 36px;
        color: #3c8dbc;
        margin-bottom: 10px;
    }

    .service-box img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 10px;
    }

    .service-box p {
        text-align: center;
        margin-top: 10px;
    }

#ListaServicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*   gap: 20px;*/
}

.service-item {
    flex: 1 1 160px;
    max-width: 200px;
    min-width: 140px;
    box-sizing: border-box;
}

.footer-link {
    text-align: center;
    margin-bottom: 40px;
}

    .footer-link a {
        color: #337ab7;
        text-decoration: underline;
    }

.skin-green .main-header .navbar {
    background-color: #5B6F2A !important !important;
}
/*
.header-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: var(--espacio-lateral, 48px);
    padding-right: var(--espacio-lateral, 48px);
    flex-wrap: wrap;
}
*/
/*
@media (max-width: 767px) {
    .header-contenido {
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}*/

@media (max-width: 480px) {
    .service-box {
        margin-bottom: 15px !important;
        padding: 10px;
    }

        .service-box p {
            font-size: 13px;
            margin-top: 5px;
        }

        .service-box strong {
            font-size: 14px;
        }

    .service-item {
        flex: 1 1 45%;
        max-width: 160px;
    }
}

.carousel-control.right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgb(0 0 0 / 0%) 100%) !important;
}

.carousel-control.left {
    background-image: linear-gradient(to right, rgb(0 0 0 / 0%) 0, rgba(0, 0, 0, 0.0001) 100%) !important;
}



.fa {
    font-size: 14px;
}


.login-logo, .register-logo {
    margin-bottom: 0px;
}

.iconcontrol {
    padding-left: 30px;
    padding-right: 30px;
}

.email-group {
    margin-bottom: 5px;
}

.email-error {
    color: red;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

.is-invalid {
    border-color: red !important;
}

.is-valid {
    border-color: #ccc !important;
}

.email-error {
    color: red;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

.i-fa-gtla {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #999;
}

.group-gtla {
    position: relative;
}

.padding-gtla {
    padding-left: 30px;
    padding-right: 30px;
}

.row-flex {
    display: flex;
    align-items: flex-end; /* alinea al fondo del input */
}

.btn-outline-success {
    color: #008d4c;
    background-color: transparent;
    border: 1px solid #398439;
}

    .btn-outline-success:hover,
    .btn-outline-success:focus,
    .btn-outline-success:active {
        background-color: #008d4c;
        color: white;
    }

.btn-outline-danger {
    color: #d73925;
    background-color: transparent;
    border: 1px solid #ac2925;
}

    .btn-outline-danger:hover,
    .btn-outline-danger:focus,
    .btn-outline-danger:active {
        background-color: #d73925;
        color: white;
    }

/*.header-right-gtla {
    border-radius: 15px;
    padding: 5px 20px;
    text-decoration: none;
    cursor: pointer;
    background: #E6E7E8;
    color: #333;
}

.header-right-gtla2 {
    background: #96AE00;
    color: white;
}

a:hover, a:focus {
  
    text-decoration: none;
}*/

.btn-header {
    display: inline-block;
    background: #E6E7E8;
    color: #333;
    border-radius: 15px;
    padding: 2px 15px;
    margin: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.btn-register {
    background: #96AE00;
    color: white;
    cursor: pointer;
}

a:hover, a:focus {
    text-decoration: none;
    opacity: 0.9;
}

/**************************************************************/

#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.overlay-background {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 18px;
}


.login-box, .register-box {
    margin: 3% auto !important;
}


.logo-ajustada {
    width: 100%;
    max-width: 600px;
    min-width: 150px;
    height: auto;
    padding: 20px;
    margin: 0 auto;
    display: block;
}

/* Header fijo */
.main-header-fixed {
    background-color: #5c6e1c;
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

/* Padding lateral adaptable */
.header-row {
    padding: 10px 60px;
}

@media (max-width: 767px) {
    .header-row {
        padding: 10px 15px;
    }
}

/* Logos */
.logo-header-1 {
    /*height: 28px;*/
    max-width: 310px;
    min-width: 120px;
    margin-right: 10px;
}

.logo-header-2 {
    height: 24px;
    margin: 0 30px;
}

.logo-msigob {
    height: 50px;
    padding: 2px 10px;
    max-width: 100%;
}

/* Centrado responsivo */
.header-contenido {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .header-contenido {
        justify-content: center;
        text-align: center;
    }

    .logo-header-1,
    .logo-header-2 {
        display: block;
        margin: 5px auto;
    }

    #menuMovil .btn-header {
        /*display: block;*/
        /*margin: 5px auto;*/
        max-width: 220px;
    }

    .logo-header-2 {
        display: none !important;
    }
}

/* Botones modernos */
.btn-header {
    display: inline-block;
    background: #E6E7E8;
    color: #333;
    border-radius: 15px;
    padding: 2px 15px;
    margin: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-header:hover {
        background-color: #ccc;
        transform: scale(1.05);
    }

.btn-register {
    background: #96AE00;
    color: white;
}

    .btn-register:hover {
        background-color: #85a100;
    }


.panel {
    margin-bottom: 0px !important;
}
