﻿#scroll-dropdown  ul {
    column-count: 2;
    column-gap: 20px;
    left: -100%;
}

#scroll-dropdown > ul > li > ul {
    column-count: 1;
    left: -70%;
}

/****************************************************************************** NAVBAR */
.navbar-fixed-top .navbar-collapse.in {
    overflow-y: visible;
    max-height: none !important;
    height: 90vh !important;
}

@media (max-width: 1200px ){
    .navbar-fixed-top .container {
        overflow-y: auto;
    }

    #scroll-dropdown ul {
        left: 0;
    }
}

/*
#scroll-dropdown > ul {
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    overflow-x: hidden;
    width: 250px;
    z-index: 1200;
    position: relative;
}

#scroll-dropdown .dropdown-menu li {
position: relative;
overflow:visible;
}

#scroll-dropdown .dropdown-menu li ul {
position: absolute;
top: 100%;
left: 100%;
z-index: 100000;
}

*/

/**********************************************DASHBOARD - STATUS*/
/*GENERAL*/
#dashboard .col-md-4, #dashboard .col-md-2, #dashboard .col-md-12 {
    border: 1px solid var(--color-bg);
    border-radius: 25px;
    margin: 20px;
    width: auto;
}

#dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

#dashboard .section-title {
    margin-top: 20px;
    margin-left: 15px;
    color: var(--text-light);
}

#dashboard .status-container, #dashboard .container-right{
    padding-bottom: 20px;
}

/*LEFT CONTAINER*/
#dashboard .container-left {
    grid-column: 1/2;
    grid-row: 1/2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
}

#dashboard .title-container {
    grid-column: 1/3;
    color: var(--border-tab-clear);
}

#dashboard .title-container h2 {
    font-weight: 700;
    margin-left: 20px;
}

#dashboard .direct-access-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#dashboard .direct-access-container a {
    padding: 5px 10px;
    background-color: var(--color-button-help);
    border-radius: 5px;
    color: white;
    width: max-content;
    margin-top: 20px;
    display: flex;
    gap: 5px;
    font-weight: 100;
}

#dashboard .buttons-container {
    display: flex;
    flex-direction: column;
    margin: 20px 10px 30px 10px;
}

#dashboard .ent-reg-container {
    display: flex;
    flex-direction: column;
}

#dashboard .ent-reg-container .fa-container {
    border-top: 15px solid var(--color-bg9);
    border-left: 15px solid var(--color-button-help);
    border-bottom: 15px solid #FAFAFA;
    border-right: 15px solid #FAFAFA;
    border-radius: 75px;
    padding: 10px;
    width: fit-content;
    transform: rotate(45deg);
    transform-origin: center;
}

#dashboard .ent-reg-container .content-container i {
    width: 100px;
    height: 100px;
    transform: rotate(-45deg);
    transform-origin: center;
}

#dashboard .ent-reg-container .content-container i:before {
    margin-bottom: 30px;
    color: var(--text-light);
}

#dashboard .ent-reg-container span, .ventas-container .sub-section span {
    font-weight: 900;
    font-size: 3rem;
    color: black;
}

#dashboard .content-container {
    align-self: center;
    margin-top: 30px;
    position: relative;
}

#dashboard .number-container {
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 22px;
    color: var(--text-light);
}

/*RIGHT CONTAINER*/
#dashboard .container-right {
    grid-column: 2/3;
    grid-row: 1/2;
}

#dashboard .container-right .info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    padding-top: 20px;
}

#dashboard .container-right .progress-bar-circle {
    border: 20px solid red;
    width: 150px;
    height: 150px;
    border-radius: 100px;
    margin-left: 20%;
}

#dashboard .container-right .sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: fit-content;
}

#dashboard .container-right .sections-container .sub-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 10px 30px;
}

#dashboard .container-right .sections-container .tag {
    font-size: 1.2rem;
    padding: 3px 6px;
    border-radius: 50px;
    width: 80px;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

#dashboard .container-right .sections-container .sub-section:nth-child(1) .tag {
    background-color: orange;
}

#dashboard .container-right .sections-container .sub-section:nth-child(2) .tag {
    background-color: #ffd900;
}

#dashboard .container-right .sections-container .sub-section:nth-child(3) .tag {
    background-color: red;
}

#dashboard .container-right .sections-container .sub-section:nth-child(4) .tag {
    background-color: #54c6ad;
}

#dashboard .container-right .number {
    font-size: 3.7rem;
    font-weight: 500;
}

#dashboard .ventas-container {
    grid-column: 1/3;
    display: flex;
    justify-content: space-around;
    padding-top: 30px;
    border-top: 1px solid var(--color-bg);
}

#dashboard .ventas-container .sub-section {
    display: flex;
    width: min-content;
}

#dashboard .ventas-container .sub-section-1 {
    padding-right: 30px;
    border-right: 1px solid var(--color-bg);
}

#dashboard .ventas-container .sub-section p {
    align-self: center;
    margin-left: 10px;
    color: var(--text-light);
}

/*STATUS CONTAINER*/
#dashboard .status-container {
    grid-column: 1/3;
    grid-row: 2/3;
    height: fit-content;
}

#dashboard .status-container .sub-section {
    display: flex;
    margin: 1% 7%;
}

#dashboard .status-container .sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin-top: 30px;
}

#dashboard .status-container .sub-section-1 {
    padding-right: 15%;
    border-right: 1px solid var(--color-bg);
    margin-right: 0;
    width: fit-content;
}

#dashboard .status-container .sub-section-1 .title {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 0px;
    margin-right: 20px;
    width: min-content;
    padding: 0;
}

#dashboard .status-container .sub-section-4 {
    grid-column: 3;
    grid-row: 2;
}

#dashboard .status-container .tag-container {
    justify-items: right;
}

#dashboard .status-container .tag-container p:nth-child(1), .status-container .tag-container p:nth-child(2) {
    background-color: var(--color-button-help);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    width: 160px;
    display: flex;
    gap: 80px;
    padding: 5px 15px;
    border-radius: 10px;
}

#dashboard .status-container .tag-container p:nth-child(2) {
    background-color: var(--color-bg9);
    color: var(--color-button-help);
    justify-content: center;
}

#dashboard .status-container .sub-section > p {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

#dashboard .status-container .sub-section-2 > p {
    margin: 0 10% 0 5%;
}

#dashboard .status-container .sub-section > p span {
    color: var(--color-button-help);
    font-size: 1.2rem;
}

/*MEDIA QUIRIES*/
@media(max-width:476px){
    #dashboard .container-left .title-container {
        margin-bottom:0px;
    }

    #dashboard .container-left {
        display: flex;
        flex-direction: column;
    }

    #dashboard .container-left > div {
        margin: 20px;
    }

    #dashboard .direct-access-container{
        height:auto;
    }

    #dashboard .ventas-container .sub-section span {
        font-size: 2rem;
    }

    #dashboard .container-right .info-container .progress-bar-circle {
        margin-left: 10px;
    }

    #dashboard .container-right .sections-container .tag {
        font-size: 0.9rem;
        width: 60px;
    }

    #dashboard .container-right .number {
        font-size: 2.5rem;
    }

    #dashboard .buttons-container {
        margin: 0 30px 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 20px;
    }
}

@media (max-width:550px) {
    #dashboard .direct-access-container {
        margin-right: 5px;
        padding-right: 0;
        padding-left: 0;
    }

    #dashboard .ent-reg-container {
        margin-left: 5px;
    }

    #dashboard .container-right .progress-bar-circle {
        width: 120px;
        height: 120px;
        margin-left: 20px;
    }

    #dashboard .container-right .sections-container .sub-section {
        margin: 0 10px 10px 10px;
    }

    #dashboard .ventas-container {
        padding-top: 15px;
    }

    .ventas-container .sub-section span {
        font-size: 2.5rem;
    }

    #dashboard .ventas-container .sub-section p {
        font-size: 1.1rem;
    }

    #dashboard .status-container .sections-container {
        display: flex;
        flex-direction: column;
    }

    #dashboard .status-container {
        height: auto;
    }

    #dashboard .status-container .sub-section {
        justify-content: space-between;
    }

    #dashboard .status-container .sections-container .sub-section p {
        max-width:none;
    }
}

@media (min-width: 550px) and (max-width:768px){
    #dashboard .status-container .tag-container p:nth-child(1), .status-container .tag-container p:nth-child(2) {
        font-size: 1.5rem;
        width: 120px;
    }

    #dashboard .status-container .sections-container .sub-section .tag-container .tag i{
        margin-right:-30px;
    }

    #dashboard .status-container .sections-container .sub-section p {
        font-size: 1.3rem;
    }

    #dashboard .status-container .sections-container .sub-section .title {
        font-size: 2rem;
    }

    #dashboard .status-container .sections-container .sub-section span{
        font-size: 1.2rem;
    }
}

@media(max-width:1024px){
    #dashboard{
        display:flex;
        flex-direction:column;
    }

    #dashboard .title-container {
        justify-self: center;
    }

    #dashboard .status-container .sections-container {
        grid-template-columns: 1fr 1fr;
    }

    #dashboard .status-container .sub-section-4 {
        grid-column: 2;
    }

    #dashboard .status-container .sections-container .sub-section {
        margin: 1%;
        padding: 1%;
        border-right: none;
        width: 100%;
    }

    #dashboard .status-container .sub-section p{
        margin: 0 10px 10px 0;
        max-width: 170px;
    }

    #dashboard .status-container .sub-section-1 .title {
        margin-right: 8px;
        width:100%;
    }
}