@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

html {
    overflow-x: hidden;
}
body {
    font-family: 'Varela Round', sans-serif !important;
    background: #f2f2f2;
    color: #595959;
}

table {
    font-family: 'Varela Round', sans-serif !important;
    font-size: smaller;
    color: #595959;
    width: 100%;
}

.card, .card-header, .card-body, input, option, table * {
    color: #595959;
}

.bg-danger {
    color: #fafafa !important;
}



/*
Disable arrows in number inputs
Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#actions-column {
    margin: auto !important;
}


.card {
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    /*color: #999;*/
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}


.navbar {
    min-height: 48px;
    max-height: 60px;
    padding: 15px 10px;
    margin-bottom: 40px;
    border-bottom: 5px solid #595959;
    /*box-shadow: 0 3px 3px rgba(0, 167, 118, 0.15);*/
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

#submenu {
    margin-bottom: 0;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */


.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 220px;
    max-width: 220px;
    top: 60px;
    background: #595959;
    color: white;
    transition: all 0.6s /*cubic-bezier(0.945, 0.020, 0.270, 0.665)*/;
    transform-origin: bottom left;
    z-index: 999;
    /*box-shadow: 3px 0 3px rgba(0, 167, 118, 0.15);*/
}
@media (max-width: 992px) {
    #sidebar {
        top: 48px;
    }
}

#sidebar.active {
    margin-left: -220px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 5px;
    padding-bottom: 0px;
    background: #595959;
    /*background: #00a776;*/
}

#sidebar ul.components {

    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul li.active > a {
    background: rgba(249,177,47,0.9);

}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px 20px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    /*color: #7386D5;*/
    color: #fafafa;
    background: rgba(249,177,47,0.9);
}




a[data-toggle="collapse"] {
    position: relative;
}

/*.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}*/

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;

}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    background: #fff;
    color: #7386D5 !important;
}
ul.CTAs a:hover {
    background: #e2e2e2 !important;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: none;
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 992px) {
    #sidebar {
        margin-left: -220px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
    .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (min-width: 993px) {
    #sidebarCollapse {
        position: absolute;
        transition-duration: 400ms;
        transition-property: left;
        left: 220px;
        margin-left: 0.6rem;
    }
    #sidebarCollapse.active {
        transition-duration: 400ms;
        transition-property: left;
        left: 220px;
    }
}

#notifications {
    min-width: 300px;
    max-height: 500px;
    overflow: auto;
}
.notification-date {
    font-size: 80%;
}

#filter input, #filter select {
    width: 100%;
}

td {
    white-space: normal !important;
    word-wrap: break-word;
}
.fixed-table {
    table-layout: fixed;
}

.doughnut-label {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    font-size: 1.2rem;
    padding-top: 0.5rem;
}

/*
.fc-timegrid-slot {
    line-height: 3em;
}*/

table#messages tr {
    cursor: pointer;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3000;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #7fd6e8;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#loader-container {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background: rgba(238, 238, 238, 0.85);
    z-index: 2000;
}

@media screen and (min-width: 730px) {
    .dashboard-w-1 {
        width: 14.2857%
    }

    .dashboard-w-2 {
        width: 28.5714%;
    }
}

.generate-buttons button {
    width: 130px;
}
