﻿/*================================================================*/
/* DuedlyBlazorSpa\wwwroot\css\duedly.css */
/*================================================================*/

@import url('ia-chat.css');

:root {
    --dl-primary: #c01847;
    --dl-secondary: #1b6d85;
    --dl-success: #198754;
    --dl-danger: #dc3545;
    --dl-warning: #ffc107;
    --dl-info: #0d6efd;
    --dl-light: #f8f9fa;
    --dl-dark: #343a40;
    --dl-white: #ffffff;
    --dl-purple: #6f42c1;
    --dl-blue-accent: #007bff;
    --dl-lightgray: #8e9ead;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    /*font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    text-decoration: none;*/
}

body {
    background: transparent;
}

.dl-btn {
    color: var(--dl-white);
    background-color: var(--dl-primary);
}

    .dl-btn:hover {
        color: var(--dl-primary);
        background-color: var(--dl-white);
    }

.btn-mudbutton {
    color: var(--dl-primary) !important;
    background-color: var(--dl-white) !important;
    border: 1px solid;
    border-color: var(--dl-primary) !important;
    border-radius: 3px;
    text-transform: none;
}

.btn-mudbtn {
    color: var(--dl-white) !important;
    background-color: var(--dl-primary) !important;
    text-transform: none;
}

.ms-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
}

.ms-icon {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

.menu-items {
    z-index: 1000;
    padding: 10px;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media (max-width: 1200px) {
    .menu-items {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
}


.category-card {
    width: 100%;
}

    .category-card:hover {
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    .category-card .category-header {
        background-color: var(--dl-primary);
        color: var(--dl-white);
        padding: .5rem .5rem;
    }

    .category-card .category-content {
        padding: .5rem .5rem;
    }

/* Control de tamaño de columnas en mudgrid para botones */

.dl-gac-1 {
    width: 2rem;
}

.dl-gac-2 {
    width: 7rem;
}

.dl-gac-3 {
    width: 9rem;
}

.dl-gac-4 {
    width: 11rem;
}

[class*="dl-gac"] {
    text-align: right;
}

/* ------------------------------------------------------ */

/* timeline 2 */
ul.timeline-vertical {
    list-style-type: none;
    position: relative;
}

    ul.timeline-vertical:before {
        content: " ";
        background: #d4d9df;
        display: inline-block;
        position: absolute;
        left: 29px;
        width: 2px;
        height: 100%;
        z-index: 400;
    }

    ul.timeline-vertical > li {
        margin: 15px 0;
        padding-left: 35px;
    }

        ul.timeline-vertical > li:before {
            content: " ";
            background: white;
            display: inline-block;
            position: absolute;
            border-radius: 50%;
            border: 3px solid #22c0e8;
            left: 20px;
            width: 20px;
            height: 20px;
            z-index: 400;
        }

/* ----------------------------------------------------- */

/* timeline alt */

.timeline-alt {
    border-left: 3px solid #727cf5;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(114, 124, 245, 0.09);
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 15px;
    list-style: none;
    text-align: left;
    max-width: 45%;
}

@media (max-width: 767px) {
    .timeline-alt {
        max-width: 98%;
        padding: 25px;
    }
}

.timeline-alt h1 {
    font-weight: 300;
    font-size: 1.4em;
}

.timeline-alt h2,
.timeline-alt h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline-alt .event {
    border-bottom: 1px dashed #e8ebf1;
    padding-bottom: 15px;
    margin-bottom: 10px;
    position: relative;
}

    .timeline-alt .event.finished {
        color: var(--dl-success);
    }

    .timeline-alt .event.in-progress {
        color: var(--dl-info);
    }

    .timeline-alt .event.pending {
        color: var(--dl-warning);
    }

    .timeline-alt .event.discard {
        color: var(--dl-lightgray);
    }

    .timeline-alt .event.finished,
    .timeline-alt .event.in-progress,
    .timeline-alt .event.pending,
    .timeline-alt .event.discard {
        font-weight: 700;
    }

@media (max-width: 767px) {
    .timeline-alt .event {
        padding-top: 30px;
    }
}

.timeline-alt .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline-alt .event:before,
.timeline-alt .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline-alt .event:before {
    left: -180px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
    min-width: 120px;
}

@media (max-width: 767px) {
    .timeline-alt .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline-alt .event:after {
    -webkit-box-shadow: 0 0 0 3px #727cf5;
    box-shadow: 0 0 0 3px #727cf5;
    left: -20.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    .timeline-alt .event:after {
        left: -31.8px;
    }
}

.rtl .timeline-alt {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #727cf5;
}

    .rtl .timeline-alt .event::before {
        left: 0;
        right: -170px;
    }

    .rtl .timeline-alt .event::after {
        left: 0;
        right: -55.8px;
    }

/* ----------------------------------------------------- */

.pricing-table {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    padding: 1rem;
}

.pricing-plan {
    width: 300px;
    border-radius: 1.5rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    margin: .9rem;
}

.pricing-plan__higthlighted {
    transform: scale(1.05);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}

.pricing-plan__special {
    padding: 10px;
    text-align: center;
    font-weight: 700;
    background-color: var(--dl-primary);
    color: var(--dl-white);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2) inset;
}

.pricing-plan__header {
    background-color: var(--dl-blue-accent);
    color: var(--dl-white);
    padding: 1.5rem;
}

.pricing-plan__title,
.pricing-plan__summary {
    margin: 0;
    text-align: center;
}

.pricing-plan__title {
    font-size: 1.5rem;
    font-weight: 400;
}

.pricing-plan__summary {
    font-size: 1rem;
    font-weight: 300;
}

.pricing-plan__price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-plan__description {
    padding: 1.5rem;
}

.pricing-plan__services {
    padding: 0;
    margin: 0;
    position: relative;
}

.pricing-plan__feature {
    list-style: none;
    margin: 0;
    padding-left: 1.5rem;
    font-size: .9rem;
}

    .pricing-plan__feature::before {
        content: "\2714";
        color: var(--dl-primary);
        position: absolute;
        left: 0;
    }

    .pricing-plan__feature:not(:last-child) {
        margin-bottom: .5rem;
    }

.pricing-plan__actions {
    padding: 1.5rem;
    border-top: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
}

.pricing-plan__price {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    color: var(--dl-dark);
}

.pricing-plan__text {
    font-size: 0.9rem;
    text-align: center;
    margin: 0 0 10px 0;
}

.pricing-plan__button {
    display: inline-block;
    margin: .9rem auto;
    width: 200px;
    padding: .5rem 1.25rem;
    text-decoration: none;
    color: var(--dl-primary);
    background-color: var(--dl-white);
    border-radius: .3rem;
    border: 1px solid var(--dl-primary);
    letter-spacing: 0.02rem;
    font-weight: 700;
    text-align: center;
}

    .pricing-plan__button:hover {
        color: var(--dl-white);
        background-color: var(--dl-primary);
    }

/* ----------------------------------------------------- */

.signup-tenant {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    width: 100%;
    height: 100vh;
    padding: 2rem;
    position: relative;
}

.signup-tenant__box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.signup-tenant__aside {
    position: relative;
    width: 40%;
    height: 100%;
}

    .signup-tenant__aside::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--dl-primary);
        z-index: 1;
        mix-blend-mode: screen;
    }

    .signup-tenant__aside img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.signup-tenant__form {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dl-white);
}

.signup-tenant__form__title,
.signup-tenant__form__summary {
    margin: 0;
    text-align: center;
}

.signup-tenant__form__title {
    font-size: 1.5rem;
    font-weight: 400;
}

.signup-tenant__form__summary {
    font-size: 1rem;
    font-weight: 300;
}

.signup-tenant__form_content {
    padding: 2rem;
    text-align: center;
    max-width: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
}

/* ----------------------------------------------------- */

.dl-loader {
    width: 100px;
    height: 100px;
    object-fit: scale-down;
    object-position: center center;
}

/* ----------------------------------------------------- */

.dl-disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* ----------------------------------------------------- */

.dl-mudmenu .mud-button {
    text-transform: none;
}

/* ----------------------------------------------------- */

.mud-pagination {
    margin: 5px 0;
}

/* ----------------------------------------------------- */

.dl-drawer-20.mud-drawer--open {
    width: 20vw !important;
}

.dl-drawer-40.mud-drawer--open {
    width: 40vw !important;
}

.dl-drawer-60.mud-drawer--open {
    width: 60vw !important;
}

.dl-drawer-80.mud-drawer--open {
    width: 80vw !important;
}

.dl-drawer-100.mud-drawer--open {
    width: 100vw !important;
}

[class*="dl-drawer"] {
    padding: 5px !important;
}

/* ----------------------------------------------------- */

.dl-stack {
    flex-flow: row wrap !important;
}

.dl-action-stack {
}

    .dl-action-stack button {
        margin: 3px;
        float: left;
    }

        .dl-action-stack button.action-right {
            margin: 3px;
            float: right;
        }

    .dl-action-stack .dropdown-action {
        display: none;
    }



/* ----------------------------------------------------- */

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    .timeline-steps .timeline-step {
        align-items: center;
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 1rem
    }

@media (min-width:768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .25rem dotted #3b82f6;
        width: 3.46rem;
        position: absolute;
        left: 7.5rem;
        top: .3125rem
    }

    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .25rem dotted #3b82f6;
        width: 3.8125rem;
        position: absolute;
        right: 7.5rem;
        top: .3125rem
    }
}

.timeline-steps .timeline-content {
    width: 10rem;
    text-align: center
}

    .timeline-steps .timeline-content .inner-circle-ok, .inner-circle-standby {
        border-radius: 1.5rem;
        height: 1rem;
        width: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .timeline-steps .timeline-content .inner-circle-ok {
        background-color: var(--dl-success);
    }

    .timeline-steps .timeline-content .inner-circle-standby {
        background-color: var(--dl-info);
    }

    .timeline-steps .timeline-content .inner-circle-ok:before, .inner-circle-standby:before {
        content: "";
        display: inline-block;
        height: 3rem;
        width: 3rem;
        min-width: 3rem;
        border-radius: 6.25rem;
        opacity: .5
    }

    .timeline-steps .timeline-content .inner-circle-ok:before {
        background-color: var(--dl-success);
    }

    .timeline-steps .timeline-content .inner-circle-standby:before {
        background-color: var(--dl-info);
    }


/* ----------------------------------------------------- */

.kb-card {
    border-radius: 10px;
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    width: 400px;
    height: 180px;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.6s ease-in;
}

    .kb-card::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -15px;
        right: -15px;
        background: var(--dl-primary);
        height: 220px;
        width: 25px;
        border-radius: 32px;
        transform: scale(1);
        transform-origin: 50% 50%;
        transition: transform 0.25s ease-out;
    }

    .kb-card:hover::before {
        transition-delay: 0.2s;
        transform: scale(40);
    }

    .kb-card:hover {
        color: #ffffff;
    }

    .kb-card p {
        padding: 10px 0;
    }

/* ----------------------------------------------------- */

.floating-btn {
    width: 50px;
    height: 50px;
    background: var(--dl-light);
    text-decoration: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 40px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: background-color 0.25s ease-out, box-shadow 0.25s ease-out;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 9999;
}

    .floating-btn:hover {
        box-shadow: 0 4px 5px -2px rgba(0,0,0,.2), 0 7px 10px 1px rgba(0,0,0,.14), 0 2px 16px 1px rgba(0,0,0,.12);
    }

    .floating-btn.clicked {
        background-color: #4169cc;
    }

    .floating-btn i {
        transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
    }

    .floating-btn.clicked i {
        transform: rotate(315deg);
    }

.form-box {
    margin: 16px auto;
    font-size: 16px;
    border-radius: 9px;
    position: fixed;
    opacity: 0;
    overflow: hidden;
    bottom: 0;
    right: 30px;
    transform: translate(-50%,-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-sizing: border-box;
    background-color: #f5f5f7;
    transition: all .25s ease-in-out;
    z-index: 9999;
}

    .form-box.open {
        transform: translate(10px, -70px);
        height: 490px;
        width: 366px;
        opacity: 1;
    }

.active {
    opacity: 0.7 !important;
}

/* ==============================================================*/
/* =================== responsive breakpoints ===================*/
/* ==============================================================*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    [class*="dl-drawer"].mud-drawer--open {
        width: 100vw !important;
    }

    [class*="dl-gac"] {
        width: 100%;
        justify-content: right !important;
    }

        [class*="dl-gac"] [type=button] {
            margin-left: 3px !important;
        }


    .dl-action-stack button {
        display: none;
    }

    .dl-action-stack .dropdown-action {
        display: block;
    }

    .dl-action-stack.responsive {
        position: relative;
    }

        .dl-action-stack.responsive .dropdown-action {
        }

        .dl-action-stack.responsive button {
            float: none;
            display: block;
        }

            .dl-action-stack.responsive button .mud-button-icon-start {
                display: inline;
            }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    [class*="dl-drawer"].mud-drawer--open {
        width: 100vw !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .dl-drawer-20.mud-drawer--open {
        width: 60vw !important;
    }

    .dl-drawer-40.mud-drawer--open {
        width: 80vw !important;
    }

    .dl-drawer-60.mud-drawer--open {
        width: 100vw !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .dl-drawer-20.mud-drawer--open {
        width: 40vw !important;
    }

    .dl-drawer-40.mud-drawer--open {
        width: 60vw !important;
    }

    .dl-drawer-60.mud-drawer--open {
        width: 80vw !important;
    }

    .dl-drawer-80.mud-drawer--open {
        width: 100vw !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

    .dl-drawer-20.mud-drawer--open {
        width: 20vw !important;
    }

    .dl-drawer-40.mud-drawer--open {
        width: 40vw !important;
    }

    .dl-drawer-60.mud-drawer--open {
        width: 60vw !important;
    }

    .dl-drawer-80.mud-drawer--open {
        width: 80vw !important;
    }

    .dl-drawer-100.mud-drawer--open {
        width: 100vw !important;
    }
}
