html, body {
    height: calc(100% - 1px); /* 1px for the border of the footer, otherwise creates scrollbars*/
}

body {
    display: flex;
    flex-direction: column;
    background-color: #EFEFEF;
}

.modal-body {
    padding: 2rem !important;
}

.modal-body-on-popup {
    padding: 0 2rem 2rem 2rem !important;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.flex {
    display: flex;
    flex-direction: row;
}

.full-width {
    width: 100%;
}

.big-font {
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-link {
    color: black;
    transition: all 0.4s;
}

    .nav-link:hover {
        color: #757575;
    }

#navbar-container {
    border-bottom: 1px solid black;
}

nav {
    width: 90%;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
}

/* Login */

#main-login {
    width: 80%;
    min-width: 1050px;
    margin: auto;
    margin-top: 3% !important;
}

#login-title-top {
    display: none;
    text-align: center;
}

#main-container-login {
    display: flex;
    height: 75%;
    justify-content: center;
}

#container-instructivos{
    width:75%;
}

#login-button {
    width: 100%;
    transition: all 0.4s;
}

.login-form-title {
    margin-bottom: 2.5em;
}


.login-title {
    margin: auto;
    margin-bottom:40px;
}

    .login-title img {
        margin-right: 20px;
    }

.card-login {
    height: auto;
    min-height: 182px;
    min-width: 182px;
    padding: 10px 5px;
}

    .card-login img{
        margin-top:10px;
    }

    #AFIPGarbage {
        position: sticky;
        bottom: 60px;
        right: 20px;
        margin-left: auto;
    }

.container-small-cards-login {
    display: flex;
    padding-left: 1rem;
}

    .container-small-cards-login img{
        margin-right: 10px;
    }

    .container-small-cards-login strong {
        align-self:center;
    }

    .container-small-cards-login span {
        align-self: center;
    }



.mensaje-no-celulares {
    width: fit-content;
    margin: auto;
    margin-top: 1em;
    display: none;
}

#containerlogin {
    height: 540px;
    width: 400px;
    text-align: center !important;
    margin: auto;
    margin-top: 2em;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

#form-login label {
    float: left;
}

.footer {
    width: 100%;
    height: 40px; /* Set the fixed height of the footer here */
    line-height: 40px; /* Vertically center the text there */
    background-color: #f5f5f5;
    border-top: 1px solid white;
}

.border-black {
    border-top: 1px solid black;
}

small {
    font-size: 100% !important;
}

/* Home */
#tus-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    grid-gap: 25px;
}

#button_deco {
    margin-right: 20px;
    border: 1px solid #158CBA;
    border-radius: 25px;
    padding: 0px 10px 3px 10px;
    color: #158CBA;
    float: right;
    transition: all 0.4s;
}

    #button_deco a {
        color: #158CBA;
        transition: all 0.4s;
    }

        #button_deco a:hover {
            color: #20b0e8;
        }

.card {
    box-shadow: 0 2px 2px rgba(0,0,0,0.19), 0 2px 2px rgba(0,0,0,0.23);
}

.tabla-pagos {
    overflow-y: scroll;
    max-height: 600px;
}

.titulo-seccion {
    color: black;
    font-weight: 400;
    font-size: 1.8em;
}

.letra-chica {
    color: forestgreen;
    font-weight: 400;
    font-size: small;
    text-align: right;
}

.texto-validacion {
    color: red;
    font-size: x-small;
    float: right;
}

#tu-cuenta {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 25px;
}

.card-home {
    height: auto;
    min-height: 180px;
    padding-left: 20px;
    padding-top: 10px;
    min-width:200px;
}

#id_pagos .alert {
    margin-bottom: 0;
}

/* Topbar */
#topbar .navbar {
    padding: 0.5rem 20%;
}

.navbar-nav .nav-link {
    margin: auto 1rem;
}

#navbarNav {
    color: white;
    font-weight: 600;
    border-radius: 10px;
    margin: auto;
}

.panel-user {
    float: right;
}


/* Mis Datos */
.form-card {
    background-color: white;
    padding: 2em 3em 3em 3em;
    margin: 2em auto !important;
}

#form-title {
    text-align: left;
    margin-top: 0px;
    margin-bottom: 1em;
}

.form-section-title {
    text-align: left;
    margin-top: 1em;
    padding-top: 5px;
    padding-bottom: 0px
}

.container-title-section {
    display: flex;
    justify-content: space-between;
    padding-top: 1em;
}

.btn-edit-section {
    margin-top: auto;
}

#id_tipo {
    min-width: 200px;
}

/* Asistencia */
.card-instructivo {
    height: auto;
    min-height: 180px;
    padding: 10px 5px;
}

    .card-instructivo img {
        width: 140px;
    }

    .card .card-instructivo h5 {
        color: #158cba;
        font-size: large;
        margin-bottom:1rem;
    }

.card-with-effect {
    transition: all 0.3s ease-in-out;
    text-decoration: none; 
}

    .card-with-effect:hover {
        transform: translateY(-5px);
        background: #fafafa;
    }



/* Media Queries */
@media (max-width:1500px){
    #main-login {
        width: 90%;
    }
}

@media (max-width:1300px) {
    #main-login {
        width: 100%;
    }
    h2{
        font-size: 1.8rem;
    }
    #container-instructivos{
        margin-left:20px;
    }
    .home-rigth{
        margin-left:20px !important;
        margin-right:20px !important;
    }
}
@media (max-width:1050px) {
    #main-login {
        min-width: initial;
    }
    #login-title-left {
        display: none;
    }
    #login-title-top {
        display: block;
    }

    #container-instructivos{
        display:none;
    }

    #formSoporte {
        width: 700px !important;
    }

    nav{
        width: 100%;
    }

    #tu-cuenta {
        grid-template-columns: 1fr;
    }
}

@media(max-width:800px) {
    #main-login {
        width: 90%;
    }
    .login-title {
        margin-top: 30px;
    }
    #navbarNav{
        display:none;
    }
    .mensaje-no-celulares {
        display: block;
    }

    #containerlogin {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
    #main-login{
        width:100%;
    }
    .hidden-small-viewport {
        display: none;
    }

    .home-rigth {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
}

@media (max-width:450px) {
    #containerlogin {
        width: 90%;
        padding: 3rem 0px;
    }

    #footer1 {
        display: none;
    }
}





/* Viejos */
.home-left {
    width: calc(100%-500px) !important;
    float: left;
    margin-right: 10px;
    margin-left: 50px;
}

.home-rigth {
    width: 500px;
    float: right;
    margin-left: 50px;
    margin-right: 50px;
}

#formSoporte {
    width: 900px;
}

.ag-card {
    border: solid 1px;
    border-radius: 10px;
    border-color: #eee;
}

.badge-primary {
    background-color: #ddd;
}

.badge-danger {
    background-color: #f2b0b0;
}

.badge-light {
    background-color: #ddd;
    float: right;
    margin-right: 16px;
    margin-top: 16px;
}

    .badge-light a, .badge-light a:hover, .badge-light a:visited, .badge-light a:link {
        color: #ffffff;
        text-decoration: none;
    }


.badge-pill-adjust a, .badge-pill-adjust a:hover, .badge-pill-adjust a:visited, .badge-pill-adjust a:link {
    color: #ffffff;
    text-decoration: none;
}

.badge-pill-adjust {
    margin-top: -17px;
}

.foot-right {
    margin: 0px;
    padding: 0px 30px 0px 0px;
}

.foot-left {
    margin: 0px;
    padding: 0px 0px 0px 30px;
}

.foot-center {
    margin: 0px;
    padding: 0px 0px 0px 0px;
}

.non-sizable {
    resize: none !important;
}

.login-row {
    padding-left: 20px;
    padding-right: 20px;
}

.modal-body-about {
    position: relative;
    padding: 10px;
}

.container-nav {
    margin-left: 10px;
    margin-right: 10px;
}

main {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 30px;
    float: inherit;
}

.img-button-w8 {
    text-align: center;
    width: 24px;
}

.col-det-title {
    text-align: right;
    width: 80px;
}

.col-det-message {
    height: 100px;
    overflow: auto;
}

.col-borrar {
    width: 70px;
}

.col-fecha {
    width: 120px;
}

.col-ip, .col-codigo {
    width: 150px;
}

.col-nombre {
    width: 200px;
}

.col-usuario {
    width: 400px;
}

.col-gd-parametro {
    width: 100px;
    padding: 0px 0px 8px 20px;
}

.col-gd-fecha {
    width: 120px;
    padding: 5px;
}

.col-gd-filtro {
    width: 200px;
    padding: 5px;
}

.col-gd-mensaje {
    width: 300px;
    padding: 5px;
}

.centrado {
    text-align: center;
}

.aderecha {
    text-align: right;
}

.aizquierda {
    text-align: left;
}

.divderecha {
    float: right;
}

.divizquierda {
    float: left;
}

.oculto {
    display: none;
}

.footer-text {
    font-size: x-small;
}

.footer-img {
    width: 10%;
}

.pad-0 {
    padding: 0px;
}

.pad-5 {
    padding: 5px;
}

.pad-20 {
    padding: 20px;
}

.pad-r-20 {
    padding-right: 20px;
}

.pad-r-30 {
    padding-right: 30px;
}

.full-width {
    width: 100%;
}

.mrgbot-3 {
    margin-bottom: 3px;
}

.black-color {
    color: #000;
}

.white-bgcolor {
    background-color: #ffffff;
}

.query-grid {
    vertical-align: top;
    padding: 0px 5px 0px 0px;
}

.query-result {
    padding: 5px 3px 5px 0px;
    min-height: 100px
}

.query-graph {
    width: 370px;
    vertical-align: top;
}

.query-expand {
    padding: 5px 0px 5px 3px;
    min-height: 100px;
    max-height: 350px;
    width: inherit;
    position: fixed;
    overflow-y: scroll;
}

.table-extracondensed > thead > tr > th,
.table-extracondensed > tbody > tr > th,
.table-extracondensed > tfoot > tr > th,
.table-extracondensed > thead > tr > td,
.table-extracondensed > tbody > tr > td,
.table-extracondensed > tfoot > tr > td {
    padding: 1px 4px 1px 4px;
}

.user-dd-menu {
    right: 0;
    left: auto;
}

.user-dd-button {
    width: 18px;
    height: 18px;
    padding: 0px 4px;
    text-align: left;
    vertical-align: top;
}

span.tab {
    padding: 0 80px;
}

.main-form-subpages {
    position: inherit;
    width: 700px;
    text-align: center !important;
    margin: auto;
    margin-top: 0px;
}

#container-midder-licenseadd {
    position: inherit;
    width: 800px;
    text-align: center !important;
    margin: auto;
    margin-top: 0px;
}

#table-items-th1 {
    width: auto !important;
}

#table-items-th2 {
    width: auto !important;
}

#table-items-th3 {
    width: auto !important;
}

#table-items-th4 {
    width: auto !important;
}

.menu-grid {
    vertical-align: central;
}
