:root {
    --it-primary: #004955;
    --it-secondary: #be1522;
    --it-text-light: #eef3f8;
    --it-success: #51a351;
    --it-sidebar-bg-primary: #343a40;
    --it-sidebar-bg-secondary: white;
    --it-sidebar-primary: white;
    --it-sidebar-secondary: #343a40;
}

main > .container {
    padding: 70px 15px 20px;
}
main > .container-fluid-desktop {
    padding: 70px;
}

main > .container-fluid-mobile {
    padding-top: 70px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
/*a.asc:after, a.desc:after {*/
/*    content: '';*/
/*    left: 3px;*/
/*    display: inline-block;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border: solid 5px transparent;*/
/*    margin: 4px 4px 2px 4px;*/
/*    background: transparent;*/
/*}*/

/*a.asc:after {*/
/*    border-bottom: solid 7px #212529;*/
/*    border-top-width: 0;*/
/*}*/

/*a.desc:after {*/
/*    border-top: solid 7px #212529;*/
/*    border-bottom-width: 0;*/
/*}*/

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.toast-success {
    background-color: var(--it-success) !important;
}

.border-iteas {
    border-color: var(--it-primary) !important;
}
.border-iteas-light {
    border-color: var(--it-text-light) !important;
}
.border-iteas-secondary {
    border-color: var(--it-secondary) !important;
}

.bg-iteas {
    background-color: var(--it-primary) !important;
}

.bg-iteas-dev {
    background-color: #0a53be !important;
}
.bg-iteas-light {
    background-color: var(--it-text-light) !important;
}
.bg-iteas-secondary {
    background-color: var(--it-secondary) !important;
}

.text-iteas {
    color: var(--it-primary);
}
.text-iteas-light {
    color: var(--it-text-light);
}
.text-iteas-secondary {
    color: var(--it-secondary);
}

@media (min-width: 768px) {
    .sidebar {
        /*position: fixed;*/
        /*top: 51px;*/
        /*bottom: 0;*/
        /*left: 0;*/
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        /*background-color: var(--it-sidebar-bg-primary);*/
        /*border-right: 1px solid #eee;*/
    }
}
.icon {
    display: inline-block;
    height: 1em;
    vertical-align: -.125em;
}

.required .col-form-label:after { content:" *"; color:red;}

.sidebar-bg-iteas-secondary {
    background-color: var(--it-sidebar-bg-primary) !important;
}
.sidebar-bg-primary {
    background-color: var(--it-sidebar-bg-primary) !important;
}

.sidebar-user-btn-primary {
    background-color: var(--it-sidebar-bg-primary) !important;
    color: var(--it-sidebar-primary) !important;
}

.sidebar-user-btn-secondary {
    background-color: var(--it-sidebar-bg-secondary) !important;
    color: var(--it-sidebar-secondary) !important;
}



.active.active-link{
    background-color: var(--it-sidebar-bg-secondary) !important;
    color: var(--it-sidebar-secondary) !important;
}
/*.kv-grid-bs4 a.desc:after{*/
/*    content: "" !important;*/
/*}*/
/*.kv-grid-bs4 a.asc:after{*/
/*    content: "" !important;*/
/*}*/
thead.kv-table-header {
    background: #fff;
}

.codeContainer {
    padding-left: 8rem;
    padding-right: 8rem;
}

.existing-code{
    opacity: 30%;
}

.version-badge{
    transition: all 0.1s ease;

    border-radius: 5px;
    color: white;
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-bottom: 1px dotted black;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}
.version-badge:hover{
    box-shadow: 3px 4px rgba(189, 189, 189, 0.15);
    scale: 1.1;
}


.version-tooltip{
    position: absolute;
    visibility: hidden;
    color: white;
    cursor: text;
    text-align: center;
    font-weight: normal;
    border-radius: 5px;
    z-index: 10;
    bottom: 150%;
    left: -150%;
    white-space: nowrap;
}

.version-badge:hover .version-tooltip{
    visibility: visible;
}

