﻿/* 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 {
    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.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[type=checkbox] {
    margin-top: 0px;
    height: 38px;
    width: 100%;
}

.form-check-input[type=checkbox]:disabled {
    opacity: 1.0;
}

.form-check-input[type=checkbox]: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;
}*/

.show-navbar #nav-container {
    width: auto;
    overflow-y: auto;
}

#nav-bar nav {
    overflow-x: hidden;
    flex-wrap: nowrap;
}

#nav-container {
    width: var(--nav-width);
    overflow-x: hidden;
}

#nav-container::-webkit-scrollbar {
    width: 5px;
}

#nav-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#nav-container::-webkit-scrollbar-thumb {
    background: #888;
}

#nav-container::-webkit-scrollbar-track: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;
}

#subMenuItems .col-3 {
    cursor: move;
}

#subMenuItems .col-3.over {
    border: 1px dashed #dee2e6 !important;
}

.has-category .subitems {
    display: none;
    color: var(--first-color-light);
}

.has-category .subitems .subheader {
    color: var(--white-color);
}

.has-category:hover .subitems {
    display: block;
}

.has-category:hover .subitems a {
    transition: all .5s ease;
}

.has-category:hover .subitems a:hover {
    color: var(--white-color);
}

.has-category:hover .subitems a.active {
    color: var(--white-color);
}

.show-navbar .has-category .subitems {
    display: none !important;
}

/*
    Animations
*/
@keyframes fadeInUp {
    0% {
        transform: translate(0, 70%);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.fadeUp {
    overflow: hidden;
    animation: fadeInUp ease .55s;
}

.alert-container > .alert {
    transition: .25s;
}

.form-control.top {
    border-radius: .25rem .25rem 0 0
}

.form-control.middle {
    border-radius: 0 0 0 0
}

.form-control.bottom {
    border-radius: 0 0 .25rem .25rem
}

.profile-panel {
    border-radius: .25rem;
    border: 1px solid #dee2e6;
    padding: 10px;
    margin: 10px;
}

.profile-panel .form-group .form-control {
    margin-bottom:10px;
}

select.form-control {
    -webkit-appearance:menulist;
    -moz-appearance:menulist;
}

footer {
    min-height:50px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    overflow:hidden;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.form-group .btn-center {
    margin-top: 20px;
    width:100%;
}

#ActiveRangeCodes {
    overflow-y: auto;
    max-height: 150px;
    margin-top: 20px;
}

#ActiveRangeCodes .row{
    padding-top: 5px;
    padding-bottom: 5px;
}

.h-100.bg-white.container{
    max-width: 80%;
    margin-left: auto;
    margin-right:auto;
}

.input-group-addon {
    padding: 6px 12px 0px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.7;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.selectable.active {
    box-shadow: 0 0 0 0.2rem rgb(0, 123, 255);
    border: 1px #80bdff;
}

.image-name {
    display: none;
    color: white;
    background-color: #0e3083;
    border-radius: .25rem;
    padding: 5px 10px;
    z-index:1000;
}

.image-container:hover .image-name {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
}

.image-delete {
    display: none;
    color: white;
    background-color: #dc3545;
    border-radius: .25rem;
    padding: 5px 10px;
}

    .image-delete:hover {
        background-color: #bb2d3b;
    }

.image-container:hover .image-delete {
    display: block;
    position: absolute;
    bottom: 10px;
    right: 10px;
}