@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


/* ====================================================================================================================================== */
/* THEMES ======================================================================================================== */
/* ====================================================================================================================================== */
:root {
    --color-Primary: #006893;
    --color-Secondary: #009DE0;
    --color-Dark: #073447;
    --color-Info: #0070A1;
    --color-Danger: #A11028;
    --color-Success: #09A5AB;
    --color-Warning: #0070A1;
    --color-Light: #647EFA;
    --color-Back-Primary: #006893;
    --color-Back-Secondary: #009DE0;
    --color-Back-Dark: #073447;
    --color-Back-Info: #E0AE16;
    --color-Back-Danger: #B04758;
    --color-Back-Success: #09A5AB;
    --color-Back-Warning: #0070A1;
    --color-Back-Light: #f5f5f5;
    --color-Grey: #cccccc;
    --color-RGB-Primary: 0, 104, 147;
    --color-RGB-Secondary: 0, 157, 224;
    --color-RGB-Dark: 7, 52, 71;
    --color-RGB-Info: 0, 112, 161;
    --color-RGB-Danger: 161, 16, 40;
    --color-RGB-Success: 9, 165, 171;
    --color-RGB-Warning: 0, 112, 161;
    --color-RGB-Light: 100, 126, 250;
}

/* ====================================================================================================================================== */
/* =============== USER IDENTITY ======================================================================================================== */
/* ====================================================================================================================================== */
#user-identity button.signInWithButton {
    margin: 8px;
    padding: 8px;
    height: 40px;
    min-width: 140px;
}

#user-identity .login-body {
    background: white;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.5rem;
    transition: box-shadow 300ms cubic-bezier(.4,0,.2,1) 0ms;
}

#user-identity .btn-primary {
    background-color: var(--color-Back-Primary);
    border-radius: 0.3rem;
}

    #user-identity .btn-primary:hover {
        background-color: var(--color-Back-Secondary);
        color: white;
    }

/* Loading page */
#user-identity .triangle-container {
    left: calc(-50vw + 50%);
    position: fixed;
    right: calc(-50vw + 50%);
    top: 0;
    bottom: 0;
    z-index: -1;
    background-color: #16A4E0;
}

#user-identity .triangles {
    background-image: url("../images/triangles.svg");
    background-size: cover;
    height: 100%;
    bottom: 0;
    left: 0;
    mix-blend-mode: hard-light;
    position: fixed;
    right: 0;
    top: 0;
    background-position: center center;
}

#user-identity .loading-container {
    position: relative;
    text-align: center;
    background-color: #fff;
    margin: 10% auto 0 auto;
    padding: 20px;
}

#user-identity .loading-items {
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../images/preloader.gif') center no-repeat #fff;
}

#user-identity .logo {
    text-align: center;
}

    #user-identity .logo h4 {
        margin: 20px auto;
    }

#user-identity .loading-container, .mdc-card {
    border-radius: 0 !important;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

#user-identity .additional-info {
    color: #636c72;
    background-color: rgba(0,0,0,.04);
    padding: 10px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .875rem;
}

#user-identity a {
    font-weight: 600;
    color: var(--color-Secondary);
    /*text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);*/
}

    #user-identity a:hover {
        font-weight: 700;
        color: var(--color-Primary);
    }

/* ====================================================================================================================================== */
/* BOOTSTRAP OVERRIDES ======================================================================================================== */
/* ====================================================================================================================================== */

.table .thead-dark th {
    background-color: var(--color-Back-Dark);
    color: white;
    font-weight: 600;
}

.table .thead-info th {
    background-color: var(--color-Back-Info);
    color: white;
    font-weight: 600;
}

/* ====================================================================================================================================== */
/* BLAZOR LOADING ======================================================================================================== */
/* ====================================================================================================================================== */
.spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

    .spinner > div {
        width: 18px;
        height: 18px;
        background-color: #333;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}


/* ====================================================================================================================================== */
/* S I D E  B A R  ======================================================================================================== */
/* ====================================================================================================================================== */

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -19rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

    #sidebar-wrapper .sidebar-heading {
        padding: 0.32rem 1.25rem;
        /*padding: 0.875rem 1.25rem;*/
        font-size: 1.2rem;
        padding-bottom: 1px;
    }

    #sidebar-wrapper .list-group {
        width: 19rem; /*13rem;*/
    }

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

.sidebar {
    /*    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-image: linear-gradient(180deg, rgb(var(--color-RGB-Secondary)) 0%, #006893 100%);
    min-width: 300px; /*220px*/
    max-width: 300px;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.6);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

.navbar-brand {
    padding-top: unset;
}


.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .sidebar .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .sidebar .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .sidebar .nav-item a {
        color: var(--color-Dark);/*#464969; d7d7d7;*/
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        font-weight: 600;
        text-shadow: 2px 7px 5px rgb(0 0 0 / 30%), 0px -4px 10px rgb(255 255 255 / 30%);
    }

    .sidebar .nav-item .sb-menu-grp {
        background-image: linear-gradient(180deg, rgb(var(--color-RGB-Dark)) 0%, #006893 0%);
/*        background-color: rgba(var(--color-RGB-Dark),0.45);
*/        color: white;
    }

        .sidebar .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .sidebar .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }


@media (min-width: 1025px) and (max-width: 1280px) {
    #page-content-wrapper {
        min-width: 100vw;
    }
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -19rem;
    }
}
/* ====================================================================================================================================== */
/*Bootstrap Override*/
/* ====================================================================================================================================== */
/* Red border */
hr.Normal {
    border-top: 1px solid var(--color-Back-Dark);
}

/* Dashed red border */
hr.Dashed {
    border-top: 1px dashed var(--color-Back-Dark);
}

/* Dotted red border */
hr.Dotted {
    border-top: 1px dotted var(--color-Back-Dark);
}

/* Thick red border */
hr.Thick {
    border: 1px solid var(--color-Back-Dark);
}

/* Large rounded green border */
hr.Large {
    border: 10px solid var(--color-Back-Dark);
    border-radius: 5px;
}

hr.Double {
    border-top: 3px double var(--color-Back-Dark);
}

.page-item.active .page-link {
    color: white !important;
}

.main-title {
    font-weight: 300;
    font-size: 40px;
    margin-bottom: 30px;
    margin-top: 30px;
    text-transform: none;
}

    .main-title.text-center:after {
        font-family: 'elemis';
        content: "\e600";
        display: block;
        color: #4aa2d1;
        font-size: 14px;
        margin-top: 25px;
        font-weight: normal;
    }

@font-face {
    font-family: 'elemis';
    src: url('elemis/elemis60d860d8.eot?-yfjv6u');
    src: url('elemis/elemisd41dd41d.eot?#iefix-yfjv6u') format('embedded-opentype'), url('elemis/elemis60d860d8.woff?-yfjv6u') format('woff'), url('elemis/elemis60d860d8.ttf?-yfjv6u') format('truetype'), url('elemis/elemis60d860d8.svg?-yfjv6u#elemis') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {
    width: 100%;
    overflow-x: hidden;
    font-size: 15px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    color: #606060;
    font-family: 'Raleway', sans-serif;
}

.bg-dark {
    /*background-color: #2d323e !important;*/
    background-color: var(--color-Dark) !important;
}


html, body {
    height: 100%;
}



.btn-circle.btn-xs {
    width: 20px;
    height: 20px;
    padding: 5px 0px;
    border-radius: 10px;
    font-size: 6px;
    text-align: center;
}

.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    font-size: 8px;
    text-align: center;
}

.btn-circle.btn-md {
    width: 38px;
    height: 38px;
    padding: 5px 5px;
    border-radius: 18px;
    font-size: 10px;
    text-align: center;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 12px;
    text-align: center;
}

a, .btn-link {
    color: var(--color-Primary);
}

    a:hover {
        color: var(--color-Secondary);
        text-decoration: none;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--color-Primary);
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--color-Primary);
    border-color: var(--color-Dark);
}

    .btn-primary:hover {
        color: #fff;
        background-color: var(--color-Secondary);
        border-color: var(--color-Dark);
    }


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.02);
}


/* ====================================================================================================================================== */
/* B A C K  T O  T O P ======================================================================================================== */
/* ====================================================================================================================================== */
#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: #DDD;
    color: #555;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}

    #back2Top:hover {
        background-color: var(--color-Primary);
        color: #000;
    }



/* ====================================================================================================================================== */
/* B L A Z O R  ======================================================================================================== */
/* ====================================================================================================================================== */

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* ====================================================================================================================================== */
/* I N T E R N A L  ======================================================================================================== */
/* ====================================================================================================================================== */
/*.row h2 {
    padding-left: 1rem;
}
*/
.TableCOM {
    margin-top: 1rem;
    /*    background-color: var(--color-Back-Light);
*/ margin-right: 0px;
    height: 55px;
}
.TableOptions {
/*    background-color: var(--color-Back-Light);
*/    margin-right: 0px;
    height: 55px;
     margin-bottom: 1rem;

}
    .TableOptions div.btn-toolbar {
        padding-top: 0.3rem;
        padding-left: 1.0rem;
        padding-bottom: 0.3rem;
    }

.FormCOM {
    background-color: var(--color-Back-Light);
    margin-left: -14px;
    margin-right: -14px;
}

.TableCOM div.btn-toolbar {
    padding-top: 0.3rem;
    padding-left: 1.0rem;
    padding-bottom: 0.3rem;
}

.TableOptions div.custom-checkbox {
    padding-right: 1.0rem;
    padding-top: 1.0rem;
}

.TableCOM button {
    margin-right: 0.4rem;
}

#TableDB .table, #TableDBSynthesis .table, #TableDB .pagination, #TableDBSynthesis .pagination {
    margin-bottom: unset;
}

    #TableDB .table td, #TableDB .table th, #TableDBSynthesis .table th {
        /*padding: 0.45rem;*/
        vertical-align: middle;
    }


#TableDB .form-group, #TableDBSynthesis .form-group {
    padding-left: 15px;
    padding-right: 15px;
}

#TableDB tr.bg-primary {
    background-color: var(--color-Info) !important;
    color: white;
}
#TableDB tr.table-primary, #TableDB td.table-primary, #TableDBSynthesis tr.table-primary, #TableDBSynthesis td.table-primary {
    background-color: #1F414F !important;
    color: #94756A;
    font-weight: 700;
}

#TableDBSynthesis .table td {
    vertical-align: top;
}

.DT-ColHeader {
	background-color: #8EBCCF;
    color: var(--color-Dark);
	text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 
    0px -4px 10px rgba(255,255,255,0.3);
}
.DT-ColHeader1 {
    background-color: #8C9ADB;
    color: var(--color-Dark);
    text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);
}
.DT-ColHeader2 {
    background-color: #93B7E6;
    color: var(--color-Dark);
    text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);
}
.DT-ColHeader3 {
    background-color: #8CDBC8;
    color: var(--color-Dark);
    text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);
}

h1{
    color: var(--color-Dark) !important;
	text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 
    0px -4px 10px rgba(255,255,255,0.3);
	margin-bottom:10px;
}

.text-dark {
    color: #073447!important;
}

.ticket-label {
    cursor: pointer;
    font-weight:800 !important;
    color:orangered !important;
    padding-left:8px;
}

.top-title {
    font-weight: 300;
    text-transform: none;
}

    .top-title.text-center:after {
        font-family: 'elemis';
        content: "\e600";
        display: block;
        color: #4aa2d1;
        font-size: 14px;
        margin-top: 24px;
        font-weight: 400;
    }

    .top-title.text-center.text-white:after {
        font-family: 'elemis';
        content: "\e600";
        display: block;
        color: #ffffff;
        font-size: 14px;
        margin-top: 24px;
        opacity: 0.95;
        font-weight: 400;
    }