﻿body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f3f3f4;
    overflow-y: scroll;
    /*overflow-x: hidden;*/
    padding-right: 0px !important;
}
body.modal-open {
    padding-right: 17px !important;
}
h2.title-bar {
    background: #333;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 10px;
    text-align: center;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-weight: bold;
}

#nav-left {
    position: fixed;
    left: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background-color: #2f4050;
}
#nav-left .navbar.navbar-inverse {
    background: #293846;
    border: none;
}
#nav-left .navbar .container-fluid {
    padding-top: 8px;
}
#nav-left h1,
#nav-top h1 {
    width: 110px;
    height: 0px;
    margin: auto;
    padding-top: 34px;
    overflow: hidden;
    background: url('../images/logo-amplifi-white.png') center center no-repeat;
    background-size: contain;
    image-rendering: -webkit-optimize-contrast;
}
#nav-top h1 {
    background: url('../images/logo-amplifi-black.png') center center no-repeat;
    background-size: contain;
}
#nav-left label {
    color: #A5B4C2;
    display: block;
    padding: 5px;
    letter-spacing: 5px;
    font-size: 10px;
    background-color: #293846;
    margin: 0px;
    text-align: center;
    text-transform: uppercase;
    border-top: 1px solid #3f5060;
    border-bottom: 1px solid #3f5060;
}
#nav-left > .nav {
    overflow-y: auto;
}
#nav-left .nav > li {
    border-left: 4px solid #293846;
    transition: border-color 300ms;
}
#nav-left .nav > li.open {
    border-color: #19aa8d;
}
#nav-left .nav > li > a {
    color: #a7b1c2;
    font-weight: bold;
}
#nav-left .nav > li > a:focus {
    background: transparent;
}
#nav-left .nav > li.active > a,
#nav-left .nav > li > a:hover {
	color: #FFF;
    background-color: #293846;
}
#nav-left .nav > li > .nav {
    background-color: #293846;
}
#nav-left .nav > li > .nav > li > a {
	padding: 5px 15px;
    padding-left: 40px;
}
#nav-left .nav > li > .nav > li:last-child > a {
    padding-bottom: 15px;
}

#nav-top {
    z-index: 200;
    left: 200px;
    background-color: #FFF;
}
body.modal-open #nav-top {
    right: 17px;
}
#nav-top .navbar-form {
    padding: 0;
    border: none;
    margin: 8px 0;
}
#nav-top .date-range {
    width: 200px;
    text-align: center;
}

#header {
    margin-left: 200px;
    margin-top: 50px;
    padding: 20px 10px;
    color: #111;
    background-color: #FFF;
    border-bottom: 1px solid #e7e7e7;
    font-weight: 300;
}
#header.header-stick {
    position: fixed;
    z-index: 100;
    /*margin-top: 15px;*/
    top: 0;
    left: 0;
    right: 0;
}

#page {
    margin-left: 210px;
    margin-right: 10px;
    margin-top: 75px;
    padding-bottom: 50px;
}
#header + #page {
    margin-top: 25px;
}
#header.header-stick + #page {
    margin-top: 187px;
}

.padded-wrapper {
    padding: 15px;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 3px;
    margin-bottom: 15px;
}

.daterangepicker .applyBtn,
.daterangepicker .cancelBtn {
    width: 78px;
}

.sitewide-filters select {
    display: none;
}
.multiselect-container > li > a > label {
    padding-left: 20px !important;
}
.multiselect-container .multiselect-all > label,
.multiselect-container .multiselect-group label {
    padding-left: 10px !important;
}
.dropdown-menu.multiselect-container > .active > a {
    background-color: #CCC;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

table.table-custom thead tr:first-child {
    background: #2f4050;
    color: #FFF;
}
table.table-custom thead tr:first-child th {
    font-weight: 300;
}
table.table-custom thead tr:first-child th:first-child {
    border-top-left-radius: 3px;
}
table.table-custom thead tr:first-child th:last-child {
    border-top-right-radius: 3px;
}
table.table-custom thead .form-control {
    font-weight: 300;
}
.form-control.form-control-underlined {
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
}

.comma-separated {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.comma-separated li {
    float: left;
}
.comma-separated li:before {
    content: ', ';
}
.comma-separated li:first-child:before {
    content: '';
}

.dataTables_wrapper  {
    clear: both;
}
table.dataTable {
    width: 100%;
    margin-bottom: 20px !important;
}
.dropdown-menu > .dt-button.active > a {
    background: #AAA;
}
.dt-buttons {
    margin-right: 10px;
}
div.dataTables_wrapper div.dataTables_processing {
    z-index: 90;
    left: 15px;
    top: 40px;
    right: 15px;
    bottom: 20px;
    width: auto;
    height: auto;
    margin: 0;
    background: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: 20px;
    padding-top: 200px;
    padding-bottom: 200px;
}
.data-table-info {
    min-height: 30px;
}
table.dataTable tr.group td {
    background: #EEE;
}

@media print {
    #nav-left { display: none; }
    #nav-top { display: none; }
    #page { margin-left: 0px; margin-right: 0px; margin-top: 0px; }
    .no-print { display: none !important; }
    .btn { display: none; }
    a[href]:after { content: none !important; }
}