﻿@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);

/**
 * 	1. Color system
 *	2. Options
 *	3. Body
 *	4. Typography
 *	5. Breadcrumbs
 *	6. Cards
 *	7. Dropdowns
 *	8. Buttons
 *	9. Typography
 *	10. Progress bars
 *	11. Tables
 *	12. Forms
 *	14. Component
 */

@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);
@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);

/* HOME PAGE */

.home-container {
    width: 100%;
    height: calc(100vh - 3.5rem); /* Resta la altura del top-row */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.home-button {
    width: 300px;
    height: 80px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    background-color: #008464;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .home-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
        background-color: #008464;
    }

    .home-button:active {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

/* Responsive design */
@media (max-width: 768px) {
    .home-container {
        height: calc(100vh - 3.5rem);
    }

    .home-button {
        width: 250px;
        height: 70px;
        font-size: 20px;
    }

    .buttons-container {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .home-button {
        width: 200px;
        height: 60px;
        font-size: 18px;
    }

    .buttons-container {
        gap: 20px;
    }
}

/* Para pantallas con sidebar */
@media (min-width: 641px) {
    .home-container {
        height: calc(100vh - 3.5rem); /* Ajusta para el top-row */
    }
}

/* END HOME PAGE*/

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}


/*******************
Preloader
********************/
.preloader {
    width: 100%;
    height: 100%;
    top: 0px;
    position: fixed;
    z-index: 99999;
    background: #fff;
}

    .preloader .cssload-speeding-wheel {
        position: absolute;
        top: calc(50% - 3.5px);
        left: calc(50% - 3.5px);
    }

.loader,
.loader__figure {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loader {
    overflow: visible;
    padding-top: 2em;
    height: 0;
    width: 2em;
}

.loader__figure {
    height: 0;
    width: 0;
    box-sizing: border-box;
    border: 0 solid #094c24;
    border-radius: 50%;
    -webkit-animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    -moz-animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.loader__label {
    float: left;
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    margin: 0.5em 0 0 50%;
    font-size: 0.875em;
    letter-spacing: 0.1em;
    line-height: 1.5em;
    color: #094c24;
    white-space: nowrap;
    -webkit-animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    -moz-animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@-webkit-keyframes loader-figure {
    0% {
        height: 0;
        width: 0;
        background-color: #094c24;
    }

    29% {
        background-color: #094c24;
    }

    30% {
        height: 2em;
        width: 2em;
        background-color: transparent;
        border-width: 1em;
        opacity: 1;
    }

    100% {
        height: 2em;
        width: 2em;
        border-width: 0;
        opacity: 0;
        background-color: transparent;
    }
}

@-moz-keyframes loader-figure {
    0% {
        height: 0;
        width: 0;
        background-color: #094c24;
    }

    29% {
        background-color: #094c24;
    }

    30% {
        height: 2em;
        width: 2em;
        background-color: transparent;
        border-width: 1em;
        opacity: 1;
    }

    100% {
        height: 2em;
        width: 2em;
        border-width: 0;
        opacity: 0;
        background-color: transparent;
    }
}

@keyframes loader-figure {
    0% {
        height: 0;
        width: 0;
        background-color: #094c24;
    }

    29% {
        background-color: #094c24;
    }

    30% {
        height: 2em;
        width: 2em;
        background-color: transparent;
        border-width: 1em;
        opacity: 1;
    }

    100% {
        height: 2em;
        width: 2em;
        border-width: 0;
        opacity: 0;
        background-color: transparent;
    }
}

@-webkit-keyframes loader-label {
    0% {
        opacity: 0.25;
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}

@-moz-keyframes loader-label {
    0% {
        opacity: 0.25;
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}

@keyframes loader-label {
    0% {
        opacity: 0.25;
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}


/*******************
icons path
*******************/
@font-face {
    font-family: 'icomoon';
    src: url("fonts/icomoon.ttf?-rdmvgc") format("truetype");
}

@font-face {
    font-family: 'simple-line-icons';
    src: url("fonts/Simple-Line-Icons.ttf?-i3a2kk") format("truetype");
}

@font-face {
    font-family: 'themify';
    src: url("fonts/themify.ttf") format("truetype");
}

@font-face {
    font-family: 'FontAwesome';
    src: url("fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype");
}

@font-face {
    font-family: 'Material Design Icons';
    src: url("fonts/materialdesignicons-webfont.ttf") format("truetype");
}

/*============================================================== 
 For all pages 
 ============================================================== */
#main-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-wrapper {
    background: #edf1f5;
    position: relative;
}


.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    padding: 0px 25px;
}

/*******************
 Footer
*******************/
.footer {
    bottom: 0;
    color: #212529;
    left: 0px;
    padding: 17px 15px;
    right: 0;
    border-top: 1px solid #e9ecef;
    background: #fff;
}

/*
Template Name: Admin Template
Author: Wrappixel

File: scss
*/
/*Theme Colors*/
/**
 * Table Of Content
 *
 * 	1. Color system
 *	2. Options
 *	3. Body
 *	4. Typography
 *	5. Breadcrumbs
 *	6. Cards
 *	7. Dropdowns
 *	8. Buttons
 *	9. Typography
 *	10. Progress bars
 *	11. Tables
 *	12. Forms
 *	14. Component
 */
/*============================================================== 
 For Desktop & above all (1650px) 
 ============================================================== */
/*============================================================== 
 For Laptop & above all (1370px) 
 ============================================================== */
/*-- ============================================================== 
 Small Desktop & above all (1024px) 
 ============================================================== */
@media (min-width: 1024px) {
    .page-wrapper, .footer {
        margin-left: 220px;
    }
}

@media (max-width: 1023px) {
    .inbox-center a {
        width: 200px;
    }

    .d-flex {
        display: block !important;
    }

        .d-flex.no-block {
            display: flex !important;
        }
}

/*-- ============================================================== 
 Ipad & above all(768px) 
 ============================================================== */
@media (min-width: 768px) {
    .navbar-header {
        width: 220px;
        flex-shrink: 0;
    }

        .navbar-header .navbar-brand {
            padding-top: 0px;
        }
}

/*-- ============================================================== 
 Phone and below ipad(767px) 
 ============================================================== */
@media (max-width: 767px) {

    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding: 0px 15px 0px 15px;
        overflow: hidden;
    }
    /*Header*/
    .topbar {
        width: 100%;
    }

        .topbar .top-navbar {
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
            flex-wrap: nowrap;
            -webkit-align-items: center;
        }

            .topbar .top-navbar .navbar-collapse {
                display: flex;
                width: 100%;
            }

            .topbar .top-navbar .navbar-nav {
                flex-direction: row;
            }

                .topbar .top-navbar .navbar-nav > .nav-item.show {
                    position: static;
                }

                    .topbar .top-navbar .navbar-nav > .nav-item.show .dropdown-menu {
                        width: 100%;
                        margin-top: 0px;
                    }

                .topbar .top-navbar .navbar-nav .dropdown-menu {
                    position: absolute;
                }
}

.footer-form {
    display: inline-flex;
    justify-content: space-between;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    text-align: center;
    gap: 1%;
}

    .footer-form .button-footer-form {
        width: 48%;
        box-sizing: border-box;
    }

    .footer-form .button-footer-form-full-width {
        width: 100%;
        box-sizing: border-box;
    }

.button-save-wfull {
    width: 100%;
}

.button-cancel-wfull {
    width: 98%;
}

.control-maxtext-wrapper-response {
    height: 150px;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #008464;
    border-bottom: 1px solid #d6d5d5;
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
            text-decoration: underline;
        }

        .top-row ::deep a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

        .top-row ::deep a, .top-row ::deep .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth ::deep a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
