﻿body {
    padding-top: 0px;
    padding-bottom: 20px;
    background-color: #f5f5f5;
    margin-bottom: 65px;
}

    body#expenseReport {
/*        overflow: hidden;*/
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect();
    white-space: nowrap;
    border-width: 0;
}

.navbar {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.navbar-fixed-top {
    top: 0px;
    border-width: 0 0 1px;
}

.navbar-inverse {
    background-color: #717073;
    border-color: #808080;
}

    .navbar-inverse .navbar-text {
        color: #f7f7f7;
    }

    .navbar-inverse .navbar-collapse,
    .navbar-inverse .navbar-form {
        border-color: #5f5e61;
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #e4e4e4;
    }

/*========================================================================================*/
/*Logo CSS*/
/*========================================================================================*/
.yyc-logo {
    background: url(../images/yyc-logo.png) no-repeat top left;
    display: inline-flex;
    height: 34px;
    width: 175px;
}

/* Header and Nav */
.logo-container {
    background-color: #005874;
    margin-left: -15px;
    padding: 18px 60px;
}


@media only screen and (max-width: 415px) {
    .logo-container {
        padding: 18px 60px 18px 40px;
    }
}

@media only screen and (max-width: 380px) {
    .logo-container {
        padding: 18px 40px;
    }
}

@media only screen and (max-width: 350px) {
    .logo-container {
        padding: 18px 30px;
    }
}

    .logo-container:before,
    .logo-container:after {
        content: " ";
        display: table;
    }

    .logo-container:after {
        clear: both;
    }

/*========================================================================================*/
/* App name */
/*========================================================================================*/
.app-name {
    height: 44px;
    padding-top: 22px !important;
    margin: 0;
    padding-left: 25px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
}

a.app-name {
    text-decoration: none;
}

.navbar-toggle {
    background-color: inherit;
    position: relative;
    padding: 9px 10px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    border-radius: 0;
}

    .navbar-toggle .icon-bar {
        background-color: #fff;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        line-height: 2;
    }


.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #000;
    background-color: #eee;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
}

.nav-tabs > li > a {
    font-size: 14pt;
    color: #000;
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 2px 2px 0 0;
    cursor: pointer;
}

/*** NAVIGATION ***/
.navbar-nav > li > a {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #fff;
    background-color: #585759;
}

.navbar-nav > li > a.dropdown-toggle::after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-size: 100%;
    font-weight: 900;
    /*content: "\f107";*/
    margin-left: .5rem;
    transition: 0.3s ease;
}

.dropdown-menu > li > a {
    padding-bottom: 5px;
    padding-top: 5px;
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 0.875rem 1.5rem;
    }

        .navbar-nav > li > a.dropdown-toggle::after {
            float: right;
        }

        .navbar-nav > .open > a.dropdown-toggle::after {
            -webkit-transform: rotate(-180deg);
            transform: rotate(-180deg);
        }

        .navbar-nav > li.open {
            background: #646366;
        }
}

@media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: block !important; /*causing dropdown menu not to drop down*/
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
/*@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}*/
@media all and (max-width: 991px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        right: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}

/* ============ small devices .end// ============ */



@media (max-width: 767px) {
    .navbar-nav > li {
        border-bottom: solid 1px #808080;
    }
}

@media (min-width: 992px) {
    .navbar-nav > li > a {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

@media (min-width: 992px) {
    .navbar-right {
        margin-right: 15px;
    }
}

.tab-content {
    padding: 15px;
}

.tab-frame {
    margin-top: 15px;
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1px rgba(61,70,79,.05), 0 1px 3px 0 rgba(61,70,79,.15);
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(61,70,79,.05), 0 1px 3px 0 rgba(61,70,79,.15);
}

.tab-content .tab-pane {
    display: none;
}

    .tab-content .tab-pane.active {
        display: block
    }

.col-form-label {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 5px;
    font-weight: 700;
}

.checkbox-sm {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 767px) {
    .pane-header .pane-header-buttons {
        margin-top: 10px;
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .container-wide {
        /*width: 750px;*/
        max-width: 90%;
    }
}

@media (min-width: 992px) {
    .container-wide {
        width: 970px;
        max-width: 90%;
    }
}

@media (min-width: 1200px) {
    .container-wide {
        width: 1100px;
    }
}

@media (min-width: 1400px) {
    .container-wide {
        width: 90%;
        max-width: 95%; /*1501px;*/
    }
}

@media only screen and (max-width: 575px) {
    .homeContainer {
        width: 90% !important;
    }
}

.opacity-light {
    opacity: 0.05;
}

.font-14 {
    font-size: 14px
}

.pane-header {
    margin-top: 15px !important;
}

    .pane-header .pane-header-buttons {
        margin-top: 10px !important;
    }

        .pane-header .pane-header-buttons button,
        .pane-header .pane-header-buttons .btn,
        .pane-header .pane-header-buttons input[type='button'] {
            margin-left: 15px !important;
        }

.pane-body {
    margin-top: 15px !important;
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1px rgba(61,70,79,.05), 0 1px 3px 0 rgba(61,70,79,.15);
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(61,70,79,.05), 0 1px 3px 0 rgba(61,70,79,.15);
}

    .pane-body .pane-body-content {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
    .yyc-logo {
        background-image: url(../images/yyc-logo@2x.png);
        background-size: 175px 34px;
    }
}

@media (max-width: 863px) and (min-width: 768px) {
    .logo-container {
        padding: 18px 30px;
    }
}

.hr-thin {
    margin: 4px 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
}
/*========================================================================================*/
/*Footer*/
/*========================================================================================*/
footer {
    left: 0;
    bottom: 0;
    height: 36px;
    position: fixed;
    width: 100%;
    opacity: 1;
    background-color: #fff;
    z-index: 4;
}

    footer p {
        display: inline-block;
        margin-bottom: 0;
    }
/*========================================================================================*/

.multi-row-text {
    display: inline-block;
    max-height: 160px;
    overflow: auto;
}

.fa-ban {
    color: black;
}

.fa-1-5x {
    font-size: 1.75em;
}

/*==========================================================================*/
/* restore previous underline hover functionality on <a> tags and set color */
/*==========================================================================*/
a:not([href]):not([class]) {
    color: #337ab7;
    text-decoration: none;
}

    a:not([href]):not([class]):hover {
        color: #337ab7;
        text-decoration: underline;
    }
/*==========================================================================*/


/*==========================================================================*/
/* datatable styling update */
/*==========================================================================*/
div.dt-search, div.dt-length {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
}

li.dt-paging-button.active > button {
    color: #F7F7F7 !important;
    background: #005874 !important;
}

th.selectHeader .dt-column-order {
    display: none;
}

table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left !important;
}

table.dataTable th.dt-type-numeric {
    text-align: left !important;
}

table.dataTable td.dt-type-date {
    white-space: nowrap !important;
}

thead th input.dt-select-checkbox {
    pointer-events: none;
    display: none !important;
}
/*==========================================================================*/
.expenseReportBtn, .expenseReportBtnSandC, .expenseReportBtn3 {
    color: #F7F7F7 !important;
    background: #005874 !important;
}
.expenseReportBtnSave {
    color: #F7F7F7 !important;
    background: #7AABBF !important;
}

.expenseReportBtn2, .expenseReportBtn4 {
    color: #005874 !important;
    background: #F7F7F7 !important;
    border-color: #005874 !important;
}

@media only screen and (min-width: 992px) {
    .expenseReportBtn, .expenseReportBtn2, .expenseReportBtnSave {
        width: 12% !important;
    }
}

div.dt-layout-row.dt-layout-table {
    overflow: auto;
}


@media only screen and (min-width: 1400px) {
    div.rejectionNotesDiv {
        width: 80% !important;
    }
}