:root {
    --color-pri: #CA6702;
    --color-pri-light: #e48e38;
    --color-pri-alt: #663405;
    --color-secundario: #bd2c30;
    --color-side: #212529;
}


html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    font-weight: normal;
    background: -webkit-linear-gradient(left, var(--color-pri-alt), var(--color-secundario));
    color: gray;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: var(--color-secundario);
}

    a:hover, a:focus {
        text-decoration: none !important;
        outline: none !important;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

button {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

    button:hover, button:focus {
        text-decoration: none !important;
        outline: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
    line-height: 1.5;
    font-weight: 400;
    font-family: "Poppins", Arial, sans-serif;
    color: #000;
}

.heading-section {
    font-size: 28px;
    color: #000;
}

    .heading-section small {
        font-size: 18px;
    }

.img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.wrapper {
    width: 100%;
}


#sidebar {
    min-width: 300px;
    max-width: 300px;
    background: var(--color-side);
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -300px;
    }

    #sidebar .imguser {
        display: block;
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

        #sidebar .imguser span {
            display: block;
        }

    #sidebar ul.components {
        padding: 0;
    }

    #sidebar ul li {
        font-size: 16px;
    }

        #sidebar ul li > ul {
            margin-left: 10px;
        }

            #sidebar ul li > ul li {
                font-size: 14px;
            }

        #sidebar ul li a {
            padding: 10px 0;
            display: block;
            color: rgba(255, 255, 255, 0.8);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            #sidebar ul li a:hover {
                color: var(--color-secundario);
            }

        #sidebar ul li.active > a {
            background: transparent;
            color: var(--color-secundario);
        }

@media (max-width: 991.98px) {
    #sidebar {
        margin-left: -300px;
    }

        #sidebar.active {
            margin-left: 0;
        }
}

a[data-bs-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media (max-width: 991.98px) {
    #sidebarCollapse span {
        display: none;
    }
}

#content {
    background-color: #ebe7e7;
    width: 100%;
    padding: 0;
    min-height: 100vh;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebarCollapse.btn.btn-primary {
    background: var(--color-secundario);
    border-color: var(--color-secundario);
}

    #sidebarCollapse.btn.btn-primary:hover, #sidebarCollapse.btn.btn-primary:focus {
        background: var(--color-secundario) !important;
        border-color: var(--color-secundario) !important;
    }

    .nameapp {
        font-size: 1.3rem;
        color: var(--color-pri-light);
        margin-right: 5px;
    }

.footer p {
    color: rgba(255, 255, 255, 0.5);
}

/******************************************************************************/
.caja{
    padding: 3%;
    margin-top: 3%;
    margin-bottom: 3%;
    border-radius: 0.5rem;
    background: #fff;
}

.titseccion{
    color: var(--color-pri);
    font-weight: 600;
}
.titseccion:before {
    content: " ";
	width: 150px;
	height: 3px;
	background-color: var(--color-secundario);
	display: block;
	bottom: -40px;
	left: 0px;
	position: relative;
}


/*-- dialog --*/
.loading-spinner {
    width: 50px;
    height: 50px;
	margin: 100px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

dialog {
    text-align: center;
    padding: 20px;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.3);
}
/*-- /dialog --*/

/*-- login --*/
body.login {
    background: none;
    background-color: #f8f9fa !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--color-pri);
}

.login-container .btn {
    width: auto;
}

body.login a {
    color: var(--color-pri);
    text-decoration: none;
    background-color: transparent;
}
/*-- /login --*/

/*-- boton --*/
.btn-app { 
    color: #ffffff;
    background-color: var(--color-pri); 
    border-color: var(--color-pri-alt); 
}

.btn-app:hover, .btn-app:focus, .btn-app:active, 
.btn-app.active, .open .dropdown-toggle.btn-app { 
    color: #ffffff; 
    background-color: var(--color-pri);  
    border-color: var(--color-pri-alt);
} 

.btn-app:active, .btn-app.active, .open .dropdown-toggle.btn-app { 
    background-image: none;
} 

.btn-app.disabled, .btn-app[disabled], fieldset[disabled] .btn-app, 
.btn-app.disabled:hover, .btn-app[disabled]:hover, fieldset[disabled] .btn-app:hover, 
.btn-app.disabled:focus, .btn-app[disabled]:focus, fieldset[disabled] .btn-app:focus, 
.btn-app.disabled:active, .btn-app[disabled]:active, fieldset[disabled] .btn-app:active, 
.btn-app.disabled.active, .btn-app[disabled].active, fieldset[disabled] .btn-app.active { 
    background-color: var(--color-pri-light); 
    border-color: var(--color-pri-alt);
}

.btn-app .badge { 
    color: var(--color-pri-light); 
    background-color: #ffffff;
}
/*-- /boton --*/
