﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


.login-container {
    height: 100vh;
    background-image: url(/img/login/image-1.jpg);
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat
}

    .login-container .intro {
        margin-top: 25%;
        margin-bottom: 60px
    }

        .login-container .intro h1 {
            font-size: 32px;
            margin-top: 60px
        }

        .login-container .intro p {
            font-size: 18px
        }

    .login-container .login-panel {
        background-color: #FFF;
        height: 100vh;
        text-align: center
    }

        .login-container .login-panel .form-control {
            height: 50px;
            font-size: 20px
        }

.nav-link{
    text-decoration: none;
    color:inherit;
}

.offcanvas-title{
    margin-left:8px;
}

.panel{
    border: 0;
    margin-top:5px;
    margin-bottom:0px;
    border-radius:4px;
    background-color:transparent;
}

.panel-heading{
    border-bottom:0;
    margin:0;
    padding:0;
}

.panel-title{
    margin-top:0;
    margin-bottom:0;
    font-size:16px;
    color:inherit;
    text-decoration:none;
}

.panel-heading .active{
    color: #fff;
    background-color: #443d98;
    border-radius:4px;
}

.panel-heading a{
    position:relative;
    display:block;
    padding:10.5px 12px;
    font-size:17.5px;
    color:inherit;
    text-decoration:none;
}

#Editor{
    border: 1px solid #CCC;
    padding:30px;
    min-height:70vh !important;
    margin-top:0px;
}

.page-module-title{
    margin:0;
    padding:21px 15px;
    font-size:28px;
    color: #3f5060;
    background-color:#f1f2f1;
}

.dataTables_length label select{
    margin-right:5px;
}

.dataTables_filter label input{
    margin-left:5px;
}

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

:root {
    --header-height: 3rem;
    --nav-width: 74px;
    --first-color: #0e3083;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}

*,
::before,
::after {
    box-sizing: border-box
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s
}

a {
    text-decoration: none;
    color:inherit;
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer;
    height:30px;
    margin-right:10px;
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

    .header_img img {
        width: 40px
    }

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem
}

.nav_logo {
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    margin-bottom: 1.5rem;
    transition: .3s
}

    .nav_link:hover {
        color: var(--white-color)
    }

    .nav_link:first-of-type {
        margin-top:1rem;
    }

.nav_icon {
    font-size: 1.25rem
}

.show-navbar {
    left: 0
}

    .show-navbar nav {
        width: calc(var(--nav-width) + 175px);
    }

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.nav_link.active {
    color: var(--white-color)
}

    .nav_link.active:not([class*='has-category_item']):before {
        content: '';
        position: absolute;
        left: 0;
        width: 2px;
        height: 32px;
        background-color: var(--white-color)
    }

    .nav_link.active.has-category_item .nav_name::before {
        content: '';
        position: absolute;
        left: 4.1rem;
        width: 2px;
        height: 20px;
        background-color: var(--white-color)
    }

.height-100 {
    height: calc(100vh - 64px); /* Make the height of all pages the full height MINUS the navbar height */
}

@media screen and (min-width: 768px) {

    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }

    .header_img {
        width: 40px;
        height: 40px
    }

        .header_img img {
            width: 45px
        }

    .l-navbar {
        left: 0;
        padding: 0 1rem 0 0
    }

    .show-navbar {
        width: calc(var(--nav-width) + 175px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    }
}

.ui_icon_color {
    color: var(--first-color);
}

.help-label {
    background-color: var(--first-color);
    padding: 5px;
    font-size: 11px;
    border-radius: 5px;
    float:right;
}

.help-block {
    margin: 5px 0px 10px 0px;
    display:block;
}

#ContactEmailReply{
    background-color: var(--first-color);
    color: #FFF;
}

#ContactEmailReply:hover{
    cursor:pointer;
}

.form-label{
    margin-bottom:0px;
}

.form-check-input{
    margin-top: 0px;
    height:38px;
    width:100%;
}

.form-check-input:disabled{
    opacity:1.0;
}

    .form-check-input:not(:checked) {
        background-image: url(../svg/unchecked_white.svg);
        background-color: #dc3545;
        border-color: #dc3545;
    }

#AccountTabs {
    flex-direction: row;
    justify-content: start;
}

#OfferTabs {
    flex-direction: row;
    justify-content: start;
}

.has-category_item {
    padding-left: 4.5rem;
    font-size: 14px;
    padding-top: 0px;
    padding-bottom: 0px;
    display: none;
    top: -15px;
    margin-top:15px;
    margin-bottom:0px;
}
/*
.nav_link.active::before {
    width: 0px;
    height: 0px;
}*/

#nav-bar nav{
    overflow-x: hidden;
}

#nav-container {
    overflow-y: hidden;
    overflow-x: hidden;
}

/* CUSTOM SCROLLBAR FOR THE NAVBAR BELOW, THIS WILL NEED RETROFITTED INTO IJB AND CENTRAL TYRE, ALONG WITH THE CATEGORY WORK*/

/*@media screen and (min-width: 768px) {
    #nav-container {
        width: calc(var(--nav-width) + 175px);
    }
}*/
/* width */
/*#nav-container::-webkit-scrollbar {
    width: 10px;
}*/

/* Track */
/*#nav-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}*/

/* Handle */
/*#nav-container::-webkit-scrollbar-thumb {
    background: #888;
}*/

    /* Handle on hover */
    /*#nav-container::-webkit-scrollbar-thumb:hover {
        background: #555;
    }*/

.main-breadcrumb-item {
    display: none;
    font-weight: 600;
    color: var(--first-color);
}

.main-breadcrumb-home {
    font-weight: 600;
    color: var(--first-color);
}

.sortable-handle{
    cursor:move;
}


#HierarchyTabs {
    flex-direction: row;
    justify-content: start;
}
