﻿/* Body */
html, body {
    height: 100%;
}

html {
    font-size: 14px
}

body.site-layout {
    background: var(--brand-main-bg);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: canada-type-gibson, sans-serif;
}

a.ghost-link {
    color: var(--secondary);
    font-weight: 200;
}

@media (min-width: 768px) {
    html {
        font-size: 16px
    }
}

main {
    padding-bottom: 3rem;
}

    main .page-header h1 {
        vertical-align: middle;
        margin: .5rem;
    }

@media (max-width: 350px) {
    main .page-header h1 {
        vertical-align: middle;
        margin: .5rem;
        font-size: 1.8rem;
    }
}

    .logo-lg {
        width: 142px;
        height: 132px
    }

.logo-sm {
    width: 8em;
    padding: .5em;
}

.bg-none {
    background: transparent
}

.bg-darken {
    background: rgba(0, 0, 0, 0.5)
}


.bg-default {
    background-color: var(--brand-dark);
}

.bg-deepimpact {
    background-color: var(--brand-dark); /* Old browsers */
    background-repeat: repeat;
    background-size: cover
}

/* Visual Enhancement */
.elevated {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2)
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05)
}


/* Sizing */
.w-phone-p {
    min-width: 320px;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Navbar */
.navbar-brand {
    background: none;
    box-shadow: none;
    padding-top: 0;
    padding-bottom: 0
}

.navbar.fixed-bottom .nav-item {
    text-align: center;
}

    .navbar.fixed-bottom .nav-item span {
        font-size: 0.75rem;
        display: block;
    }


header.navbar {
    background-color: var(--brand-dark);
}

.navbar.fixed-bottom {
    box-shadow: 0 -3px 5px 0px rgba(0,0,0,0.3);
}

.navbar-nav a.nav-link {
    font-weight: 300;
    margin-right: 0.875rem;
}


.nav-side a.nav-link {
    padding: 0;
    margin-bottom: 0.875rem;
}

    .nav-side a.nav-link span {
        color: var(--text-dark);
        font-size: 0.875rem;
        font-weight: 700
    }

.text-7em {
    font-size: .7em;
}

.text-8em {
    font-size: .8em;
}



.table tr.tr-header {
    background-color: var(--dark) !important;
    color: var(--white) !important;
}



/* Badge Bootstrap Overide for sites */
/* -- Shared styling and layout of the site card. */
/* ---------------------------------------------------------------- */
.sites .badge {
    position: absolute;
    padding: .25em .4em;
    top: -.75rem;
    right: .75rem;
    font-size: 100%;
}

.badge-danger {
    color: var(--white);
    background-color: var(--level-empty);
}

form .form-group label {
    font-weight: bold;
}


/* Buttons */

.btn {
    font-weight: 600;
}

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

    .btn-primary:hover {
        background: var(--primary-alt1);
        border-color: var(--primary-alt1-rgb)
    }

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-success > i {
    color: #4f49c7;
}

.btn-destructive {
    background: var(--level-empty);
    background: var(--level-empty);
    color: var(--white);
}

.btn-warning:hover {
    background: var(--warning-dark);
    border-color: var(--warning-dark);
}

.btn-danger {
    background: var(--danger-alt1);
    border-color: var(--danger-alt1);
    color: #222
}


/* modal customizations */
.modal-header, .green-header {
    background-color: var(--green);
    color: var(--light);
}

    .modal-header > .modal-title {
        color: var(--light);
    }

    .modal-header > .close {
        color: var(--brand-dark);
    }


/* collapsed extensions and upgrades */

[aria-expanded="false"] .state-toggle-open,
[aria-expanded="true"] .state-toggle-closed {
    display: none;
}

[aria-expanded="true"] .state-toggle-open {
    display: inline-block;
}

[aria-expanded="false"] .state-toggle-closed {
    display: inline-block;
}

[aria-expanded="false"] .manifold-toggle-open,
[aria-expanded="true"] .manifold-toggle-closed {
    display: none;
}

[aria-expanded="true"] .manifold-toggle-open {
    display: inline-block;
}

[aria-expanded="false"] .manifold-toggle-closed {
    display: inline-block;
}


a.hover-none:hover {
    text-decoration: none;
}


.icon-dark {
    color: var(--brand-dark);
}


.icondropdown .dropbtn {
    font-size: 20px;
    color: lightgrey;
    padding: 10px 10px;
}

.icondropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    z-index: 1;
}

    .icondropdown-content a {
        display: block;
    }

        .icondropdown-content a:hover {
            color: #ddd;
        }

.icondropdown:hover .icondropdown-content {
    display: block;
}



.vmg-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #eee;
    border: 1px solid var(--brand-dark);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .vmg-slider:hover {
        opacity: 1;
    }

    .vmg-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        background: var(--brand-dark);
        cursor: pointer;
    }

    .vmg-slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background: var(--brand-dark);
        cursor: pointer;
    }

.dashboard-search {
    display: flex;
    margin: 0 auto;
    width: 50%;
}

.input-area {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
/* Media query for screens with a maximum width of 600px */
@media (max-width: 800px) {
    .dashboard-search {
        display: flex;
        margin: 0 auto;
        width: 100%;
    }
}

/* For Dashboard Heirarchy */
.warning-level-headers {
    display: flex;
    -ms-flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: flex-end;
}

/* For Admin Tables Paging Details */
.paging-details {
    text-align: right !important;
}
@media (max-width: 450px) {
    .paging-details {
        text-align: left !important;
    }
}
/* Terms and Conditions Page */

.tnc-header {
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.tnc-main-heading {
    color: black;
    font-size: 18pt;
    font-family: Arial;
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
}

.tnc-sub-heading {
    color: black;
    font-size: 13pt;
    font-family: Arial;
    font-weight: 700;
    word-wrap: break-word
}

.tnc-text-bold {
    color: black;
    font-size: 9pt;
    font-family: Arial;
    font-weight: 700;
    word-wrap: break-word
}

.tnc-text {
    color: black;
    font-size: 9pt;
    font-family: Arial;
    font-weight: 400;
    word-wrap: break-word
}

.tnc-tiny-text {
    color: black;
    font-size: 7pt;
    font-family: Arial;
    font-weight: 400;
    word-wrap: break-word
}

.tnc-url {
    color: blue;
    font-size: 9pt;
    font-family: Arial;
    font-weight: 400;
    text-decoration: underline;
    word-wrap: break-word
}

.tnc-paragraph-heading {
    color: black;
    font-size: 11pt;
    font-family: Arial;
    font-weight: 700;
    word-wrap: break-word
}

.terms-body {
    margin: 10px;
    padding: 0px;
    overflow-y: auto;
    max-height: 500px;
    text-align: left !important;
}

    .terms-body::-webkit-scrollbar {
        width: 2px;
        background-color: #271d70;
    }

    .terms-body::-webkit-scrollbar-thumb {
        background-color: lightgray;
    }

.tnc-agreed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tnc-btn {
    height: 40px;
    width: 100px;
}

.tnc-toast {
    bottom: 5%;
    right: 5%;
    z-index: 999;
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    width: 300px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
}

/* Cellphone Code and Number input box style override */
.cellphone-code {
    width: 15% !important;
    padding: 0 !important;
    font-weight: 500 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    text-align: center !important
}

.cellphone-number {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}


/* Search box on dashboard page */
.dashboard-search {
    display: flex;
    margin: 0 auto;
    width: 50%;
}

.input-area {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
/* Media query for screens with a maximum width of 600px */
@media (max-width: 800px) {
    .dashboard-search {
        display: flex;
        margin: 0 auto;
        width: 100%;
    }
}

/* Custom modal and custom modal footer for Terms and Conditions */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: auto;
    outline: 0;
    padding: 0 !important
}

.custom-footer {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: end;
    align-items: end;
    -ms-flex-pack: end;
    justify-content: right;
    padding: 0.75rem;
/*    border-top: 1px solid #dee2e6;*/
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}