
/**
 * Primary font
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/**
 * Root variables
 */
:root {
    --primary-color: rgb(110, 24, 190);
    --hover-primary-color: rgb(146, 56, 230);
    --focus-primary-color: rgb(127, 52, 197);
    --primary-color-dark: rgb(128, 38, 212);
    --light-color: white;
    --dark-color: rgb(34, 34, 34);
}

/**
 * Override scrollbar
 */
::-webkit-scrollbar {
    width: 9px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    font-family: "Roboto", sans-serif;
}

.font-size-m {
    font-size: 0.95rem;
}

.roboto-thin {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.roboto-black {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.roboto-thin-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.roboto-light-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.roboto-medium-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.roboto-black-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
}

/* Signin page style */
.login-wrapper {
    min-height: 100vh;
    overflow: hidden;
}

.login-image {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

.login-container {
    background-color: var(--primary-color);
    min-height: 100vh;

    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -webkit-transition: width 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: width 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: width 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -ms-transition: width 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.login-form {
    width: 320px;
    background-color: var(--light-color);
    padding: 1.3rem;
    border-radius: 0.75rem;
}

/* Material shadow button */
.btn {
    border-radius: 5px;

    padding: 12px 20px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -moz-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -o-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -ms-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    font-size: 14px;

    letter-spacing: 0.5px;
}

.btn:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);

}

.btn-primary.show {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-md {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 12px 22px;
    font-size: 16px;
}

/**
 * Override primary button in bootstrap
 */
.btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-primary:hover {
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}
.btn-check:checked+.btn:hover {
    color: white !important;
}
.btn-outline-primary:focus-visible {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--hover-primary-color);
    border: 1px solid var(--hover-primary-color);
}

.btn-primary:active:focus {
    background-color: var(--focus-primary-color);
    border: 1px solid var(--focus-primary-color);
}

.btn-check:checked+.btn,
:not(.btn-check)+.btn:active {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Bootstrap form control override */
.form-control:focus {
    border-color: rgba(138, 43, 226, 0.1);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
        0 0 8px rgba(138, 43, 226, 0.6);
}

.form-control {
    font-family: "Roboto", sans-serif !important;
    border-radius: 5px;

    padding-top: 10px;
    padding-bottom: 10px;

    padding-left: 20px;
    padding-right: 20px;

    font-size: 16px;

    letter-spacing: 0.5px;
}

.form-control-sm {
    font-family: "Roboto", sans-serif !important;
    border-radius: 5px;

    padding: 8px 18px;

    font-size: 14px;

    letter-spacing: 0.5px;
}

.form-select:focus {
    border-color: rgba(138, 43, 226, 0.1);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
        0 0 8px rgba(138, 43, 226, 0.6);
}

.form-select {
    font-family: "Roboto", sans-serif !important;
    border-radius: 5px;

    padding-top: 10px;
    padding-bottom: 10px;

    padding-left: 20px;
    padding-right: 20px;

    font-size: 16px;

    letter-spacing: 0.5px;
}

.modal-header, .modal-footer {
    padding: 1.5rem !important;
}

/* Wrapper */
.wrapper {
    display: flex;
    flex-direction: row;
    width: 100vw;
    max-width: 100%;
    min-height: 100vh;
    height: 100vh;
}

/* Main */
.main {
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100%;
    transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    min-height: 100%;
}

/* Sidebar */
.sidebar {
    position: fixed;
    width: 0px;
    opacity: 0;
    visibility: hidden;
    background-color: var(--primary-color);
    min-height: 100%;
    height: 100%;
    overflow-y: auto;
    transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    box-shadow: 1px 0px 16px 0px rgba(0, 0, 0, 0.47);
    -webkit-box-shadow: 1px 0px 16px 0px rgba(0, 0, 0, 0.47);
    -moz-box-shadow: 1px 0px 16px 0px rgba(0, 0, 0, 0.47);
    z-index: 1;
}

.sidebar.show {
    width: 320px;
    opacity: 1;
    visibility: visible;
    transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    -moz-transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    -ms-transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    -o-transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

#closeSidebar {
    position: absolute;
    right: 10px;
    top: 25px;
    border: none;
    background-color: transparent;
    font-size: 1.3rem;
    color: var(--light-color);
}

#collapseSidebarSection {
    border: none;
    background-color: transparent;
    font-size: 1.3rem;
}

.sidebar-menu {
    text-decoration: none;
    padding: 0.45rem 1rem;
    color: var(--light-color);
    width: 100%;
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    align-items: center;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.5px;
}

.sidebar-menu span {
    margin-right: 12px;
    font-size: 1.3rem;
}

.sidebar-menu:hover {
    background-color: var(--hover-primary-color);
}

.sidebar-menu.active {
    background-color: rgb(140, 55, 219);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.sidebar-collapse {
    font-size: 0.85rem;
    background-color: var(--primary-color-dark);
    color: var(--light-color);
    display: flex;
    flex-direction: column;
}

.sidebar-menu-dr {
    width: 100%;
    padding-left: 2.8rem;
    padding-bottom: 0.55rem;
    padding-top: 0.55rem;
    text-decoration: none;
    color: var(--light-color);
}

.sidebar-menu-dr span {
    margin-right: 12px;
    font-size: 1.1rem;
}

.sidebar-menu-dr:hover {
    background-color: var(--hover-primary-color);
}

/* Navigation */
.header-nav {
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -ms-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.header-nav-menu {
    font-size: 1.5rem;
}

.header-nav-link {
    text-decoration: none;
    color: var(--dark-color) !important;
}

/* Main content */
.main-content {
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -ms-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/* Dashboard page */
.cards {
    /* border: 1px solid gray; */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -ms-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);

    /* border: 1px solid rgb(233, 233, 233); */
    border-radius: 6px;
    padding: 1rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.cards-label {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
}

.breadcrumb a {
    text-decoration: none;
    color: rgb(83, 83, 83);

}

.webappthumbnail {
    width: 100%;
    height: 200px;
}

.webappthumbnail img {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

.card-img-container {
    height: 200px;
}

.card-img-container img {
    object-fit: cover;
    height: 100%;
    max-height: 100%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .sidebar {
        width: 320px;
        opacity: 1;
        visibility: visible;
        transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .main {
        width: calc(100% - 320px);
        margin-left: 320px;
    }

    #collapseSidebarSection {
        display: none;
        visibility: hidden;
    }

    #closeSidebar {
        display: none;
        visibility: hidden;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}

#pageLoader {
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(43, 43, 43);
    z-index: 10000;
    opacity: 1;
}

#pageLoader.hide {
    transition: opacity 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Loader */
/* .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #ededed;
} */

.loader {
    max-width: 15rem;
    width: 100%;
    height: auto;
    stroke-linecap: round;
}

circle {
    fill: none;
    stroke-width: 3.5;
    -webkit-animation-name: preloader;
    animation-name: preloader;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-transform-origin: 170px 170px;
    transform-origin: 170px 170px;
    will-change: transform;
}

circle:nth-of-type(1) {
    stroke-dasharray: 550;
}

circle:nth-of-type(2) {
    stroke-dasharray: 500;
}

circle:nth-of-type(3) {
    stroke-dasharray: 450;
}

circle:nth-of-type(4) {
    stroke-dasharray: 300;
}

circle:nth-of-type(1) {
    -webkit-animation-delay: -0.15s;
    animation-delay: -0.15s;
}

circle:nth-of-type(2) {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

circle:nth-of-type(3) {
    -webkit-animation-delay: -0.45s;
    -moz-animation-delay: -0.45s;
    animation-delay: -0.45s;
}

circle:nth-of-type(4) {
    -webkit-animation-delay: -0.6s;
    -moz-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

@-webkit-keyframes preloader {
    50% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes preloader {
    50% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
