/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    background-color: rgb(242,242,242);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333C42;
    /*padding-top: 50px;*/
}


/*
 * Global add-ons
 */


.footer-image{
    float: right;
}

.panel-dashboard {
    border-color: rgba(1,141,207,0.3);
}

.panel-dashboard-gray-border {
    border-color: rgba(82, 82, 82,0.3) !important;
}

.panel-dashboard .glyphicon.glyphicon-question-sign {
    color: white;
    margin-right: 5px;
}

.panel-dashboard .h2 {
    font-weight: bold;
    text-align: center;
}

.panel-dashboard h1 {
    color: rgb(0,103,154);
    font-weight: bold;
    text-align: center;
}

.panel-dashboard h1.orange-header {
    color: rgb(255,116,1);
}

.panel-dashboard h2,
.panel-dashboard h4
{
    text-align: center;
}

.panel-dashboard div p.dashboard-info-box {
    box-sizing: border-box;
    color: rgb(51, 60, 66);
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    text-align: left;
}

.sub-header,.sub-header-2,.sub-header-3 {
    background-color: rgb(1,141,207);
    color: rgb(255,255,255);
    font-weight: bold;
}

.sub-header-2 {
    color: #FFFFFF;
    background-color: rgb(82, 82, 82);
}
.sub-header-3 {
    text-align: center;
    color: #333C42;
    font-weight: normal;
    background-color: transparent;
}
/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

.bold{
    font-weight: bold;
}
@media (min-width: 768px) {
    .sidebar {
        /*position: fixed;*/
        /*top: 115px;*/
        /*bottom: 0;*/
        /*left: 0;*/
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 15px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 15px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}


/*.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {*/
/*background-color: rgb(0,103,154);*/
/*}*/

.divide-nav{
    height: 50px;
    background-color: #428bca;
}

.divide-text{
    color:#fff;
    line-height: 20px;
    font-size:20px;
    padding: 15px 0;
}

.affix {
    top: 50px;
    width:100%;
}

.filler{
    min-height: 2000px;
}

.navbar-form {
    padding-left: 0;
}

.navbar-collapse{
    padding-left:0;
}

.top-bar {
    background-color: rgb(255, 255, 255);

    position: relative;
    min-height: 25px;
    margin-bottom: 0px;
    /*border: 1px solid transparent;*/
}

.nav-justified li:hover {
    background-color: rgba(183, 183, 183, 0.2);
}

#nav {
    position: sticky;
    top: 0;
    z-index: 999;
}

.page-header {
    background-color: rgb(0,103,154);
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    margin: 10px 0 15px 0;
}

.round-borders{
    -moz-top-left-radius: 5px;
    -moz-top-right-radius: 5px;
    -moz-bottom-right-radius: 5px;
    -moz-bottom-left-radius: 5px;
    -webkit-top-left-radius: 5px;
    -webkit-top-right-radius: 5px;
    -webkit-bottom-right-radius: 5px;
    -webkit-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}


.table-sentis {

}
.table-sentis > thead > tr > th {
    color: #333C42;
    background-color: transparent;
    vertical-align: middle;
}
.table-sentis > tbody > tr > td {
    text-align: center;
    border: 3px solid #ffffff;
    background-color: #EAECEE;
}
.table-sentis > tbody > tr > td:first-child{
    text-align: left;
}
.table-sentis > thead > tr.scorecard-row > th {
    background-color: #ffffff;
    color: rgb(0,103,154);
}

.table-active-wave-cell {
    color: #ffffff !important;
    background-color: rgb(0,103,154) !important;
}
.table-inactive-wave-cell {
    color: #ffffff !important;
    background-color: rgb(191,191,191) !important;
}
.invisible-column {
    width: 5px !important;
    background-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
    border-top-color: #ffffff !important;
}

table.table-custom {
    width: 100% !important;
}
table.table-custom thead tr th.sorting,
table.table-custom thead tr th.sorting_disabled,
table.table-custom thead tr th.sorting_desc,
table.table-custom thead tr th.sorting_asc
{
    background-color: #A9B1B9;
    border: solid white 1px;
    text-transform: uppercase;
    padding: 1rem;
}
table.table-custom tbody tr td {
    background-color: #DBEEF4;
    border: solid white 1px;
    padding: .7rem;
}
table.table-custom thead tr th,
table.table-custom tbody tr td:not(:first-child)
{
    text-align: center;
}
table.table-custom tbody tr td a.snapshot
{
    float: right;
}
.dataTables_wrapper
{
    margin-bottom: 10px;
    max-width: 100%;
    overflow: auto;
}

table.dataTable tbody td {
    vertical-align: middle;
}

.legend-row {
    margin-bottom: 10px;
}

.dataTables_length{
    float: left !important;
    margin-bottom: 1rem;
}

.dataTables_filter{
    float: right !important;
    text-align: left !important;
    margin-bottom: 1rem;
}

.green-text {
    color: #98BC26;
}

.red-text {
    color: #C52843;
}

.gray-text {
    color: #7F7F7F;
}

/*WhiteBox*/

.white-box {
    background-color: #ffffff;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    -moz-top-left-radius: 5px;
    -moz-top-right-radius: 5px;
    -moz-bottom-right-radius: 5px;
    -moz-bottom-left-radius: 5px;
    -webkit-top-left-radius: 5px;
    -webkit-top-right-radius: 5px;
    -webkit-bottom-right-radius: 5px;
    -webkit-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;

}

/*COMMENT BOX CSS*/

.detailBox {
    /*width:320px;*/
    border:1px solid #bbb;
    background-color: #ffffff;
    padding-bottom: 5px;
    /*margin:50px;*/
    /*height: 300px;*/
}


.unresolved-box {
    border-color: #C52843 ;
}

.resolved-box {
    border-color: #98BC26;
}

.neutral-box {
    border-color: #7F7F7F;
}

.titleBox {
    background-color:#fdfdfd;
    padding:10px;
    border-bottom:1px dotted #bbb;
}
.titleBox label{
    /*color:#444;*/
    margin:0;
    display:inline-block;
}

.commentBox {
    background-color: #ffffff;
    text-align: left;
    padding:10px;

}


.unresolved-box > .commentBox {
    border-color: #C52843 ;
}

.resolved-box > .commentBox{
    border-color: #98BC26;
}
.commentBox .form-group:first-child, .actionBox .form-group:first-child {
    width:80%;
}
.commentBox .form-group:nth-child(2), .actionBox .form-group:nth-child(2) {
    width:18%;
}
.actionBox .form-group * {
    width:100%;
}
.taskDescription {
    margin-top:10px;
}

.scroll-area{
    height: 290px;
    overflow: auto;
    background-color: #ffffff;
}
.commentList {
    padding:0;
    list-style:none;
    /*height:200px;*/
    /*overflow:auto;*/
}
.commentList li {
    margin:0;
    margin-top:10px;
}
.commentList li > div {
    display:table-cell;
}

.flagImage{
    width:30px;
    margin-right:5px;
    height:100%;
    float:left;
}
.flagImage img{
    width:100%;
}
.commenterImage {
    width:30px;
    margin-right:5px;
    height:100%;
    float:left;
}
.commenterImage img {
    width:100%;
    border-radius:50%;
}
.commentText p {
    margin:0;
    text-align: left;
}
.sub-text {
    text-align: left;
    color:#aaa;
    font-family:verdana;
    font-size:11px;
}
.actionBox {
    border-top:1px dotted #bbb;
    padding:10px;
    background-color: #ffffff;
}
.unresolved-box > .actionBox {
    border-color: #C52843;
}

.resolved-box > .actionBox{
    border-color: #98BC26;
}
.list-group-level-2 a{
    padding-left: 30px;
}

.active-nav-bar-item {
    background-color: rgb(242,242,242);
}

.horizontal-divider {
    border-bottom: dotted 2px #A6B2BA;
    padding: 10px;
}
.masthead{
    background-color: #ffffff;
}


.pie-box {
    height: 250px;
}

.pie-green {
    color: #98BC26;
}
.pie-grey {
    color: #D3D9DD;
}

.logo-dropdown {
    background-color: #ffffff !important;
    border-color: #428bca !important;
}

.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    position: absolute;
    top: 20px;
    z-index: 5;
    display: inline-block;
}

div.masthead > div > nav > div > ul > li > a {
    color: #ffffff !important;
    height: 25px;
    padding: 5px;
}


/*TODO ask julie about shading!*/
.carousel-control.right, .carousel-control.left {
    background-image: none;
}
.carousel-control {
    /*bottom: 0; */
}

.snapshot-table-cell-dark-grey {
    border: 1px #ffffff;
    background-color: rgb(217,217,217);
}
.snapshot-table-cell-light-grey {
    border: 1px #ffffff;
    background-color: rgb(242,242,242);
}
.snapshot-table-cell-blue {
    border: 1px #ffffff;
    background-color: rgb(183,222, 232);
}
.snapshot-table-cell-red {
    border: 1px #ffffff;
    background-color: rgb(237,164,177);
}

.table-bordered {
    border: 1px solid #000000;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #ffffff;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    border-bottom-width: 2px;
}

.filter-selected-footer{
    color: black;
    font-size: 16px;
    font-weight: bold;
    /*color: #A7A8AA;*/
}

.white-hover:hover {
    border: 1px solid #808080;
    background-color: #ffffff !important;
}
/****************************************DRIVER ANALYSIS****************************************/
.alert-red {
    color: #C00000;
    margin: 0px;
    margin-bottom: 2px;
}
.alert-green {
    color: #008000;
    margin: 0px;
}
.driver-analysis-chart-container {
    height: 600px;
    width: 500px;
    padding: 0px;
    margin: 20px 40px 0px 20px;
    display: inline-block;
}
/*#driver-analysis-top-left-title {*/
/*float: left;*/
/*padding-left: 40px;*/
/*}*/
/*#driver-analysis-top-right-title {*/
/*float: right;*/
/*padding-right: 20px;*/
/*}*/
/*#driver-analysis-bottom-left-title {*/
/*float: left;*/
/*padding-left: 40px;*/
/*}*/
/*#driver-analysis-bottom-right-title {*/
/*float: right;*/
/*padding-right: 20px;*/
/*}*/
.driver-analysis-chart-legend-container {
    margin-top: 50px;
    padding:0;
    display: inline-block;
}
.driver-analysis-chart-legend-table {
    border: 1px solid white;
    /*width: 600px;*/
    width:100%;
}
.driver-analysis-chart-legend-table tr th, .driver-analysis-chart-legend-table tr td {
    height: 30px;
    border: 1px solid white;
    padding: 0 10px;
}.driver-analysis-chart-legend-table-head {
     background-color: #E2E2E3;
 }
.driver-analysis-chart-legend-table-improvement {
    background-color: #F6D2D8;
}
.driver-analysis-chart-legend-table-strengths {
    background-color: #F1F8DC;
}
#nps-container {
    display: none;
}
#nps-container, #overall-satisfaction-container {
    padding-left: 0;
    padding-right: 0;
}
.driver-analysis-chart-legend-table-head {
    width: 150px;
}
.driver-analysis-chart-table-header {
    border: 2px solid grey;
    border-radius: 25px;
}
.nps-toggle.trend-toggle {
    height: 29px;
}
.driver-toggles {
    padding-top: 5px;
}
.driver-analysis-sublabel > p {
    margin: 0px;
}
.driver-analysis-sublabel {
    padding-left: 10px;
    padding-bottom: 10px;
    float: left;
    clear:both;
}
/**************************************//**DRIVER ANALYSIS**//**************************************/
@page {
    margin-top: 15px;
}
/*Print stuff*/
@media print {
    .dataTables_length, .dataTables_filter {
        display: none;
    }
    h6 {
        color: black;
    }
    .filter-selected-footer {
        color: black;
    }
    #filters-main-container, #extended-filters {
        display: none;
    }
    .avoid-page-break{
        page-break-inside: avoid !important;
        page-break-after: auto;
        page-break-before: auto;
    }

    .page-break-after {
        page-break-after: always;
    }
    .page-break-before-always {
        page-break-before: always;
    }

    .sentis-nav, .dataTables_paginate.paging_simple_numbers{
        display: none;
    }
    a:link:after, a:visited:after {
        content: "";
    }

    #side-nav-container{
        display: none;
    }

    .snapshot-link{
        display: none;
    }
    table#table-snapshots .flag-image{
        height: 15px !important;
    }
    table#table-snapshots td{
        /*font-size: 9px !important;*/
        padding: 0 !important;
        min-width: 0 !important;
        width: auto !important;
    }
    table.dataTable thead .sorting {
        background-image: none !important;
    }


}


.row{
    margin-left: 0;
    margin-right: 0;
}

/*.container .row,.container-fluid .row {*/
/*margin-left: -15px;*/
/*margin-right: -15px;*/

/*}*/

#modal-container{
    position: fixed;

    display: none;
    z-index: 102;
    width: 100%;
    height: 100%;
    background-color:rgba(255, 255, 255, 0.5);
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6{
    font-family: 'Open Sans', sans-serif;
}

.h5 {


    font-size: 12px;
}
.h6 {

    font-size: 10px;
}
/*FLAG RELATED STUFF*/
.flagMessageTitleLabel {
    padding-left: 40px;
    padding-right: 40px;

}

.unresolved-box .flagMessageTitleLabel{
    color: #C52843;
}

.resolved-box .flagMessageTitleLabel{
    color: #98BC26;
}

/*This width can be 100% the comment box around it also has a padding of 10px. so should work out okay.*/
.flagDetailsTable {
    width: 100%;
}

.flagDetailsTableCol1 {
    float: right;
    font-weight: bold;
}
.flagDetailsTableCol2 {
    padding-left: 10px;
}



/*dashboard*/
.row-label {
    font-weight:bold;
}


.table-col-width {
    width:60px;
}
.table-header {
    vertical-align: bottom!important;
}

.jstree-default .jstree-search{
    color: #00679A !important;
}
#treeSearcherStatus a{
    padding-left: 10px;
}

#filter-submit-button{
    background-color: #00679A;
    border: 2px solid #00679A;
    color: #ffffff;
}
.filter-selected-title{
    font-weight:  bold;
}

.cellBaseSize{
    font-size: 8px;
}
#hierarchyFilterMessage{
    vertical-align: middle;
    color: #FF6600;
    padding-left: 0px;
}
.clickable {
    cursor: pointer;
}

.navbar-nav > li > a,
.navbar-nav > li > .tabs > a {
    color: white;
    height: 30px;
}

.navbar-nav > li.tab-active > .tabs > a {
    color: black;
}

.navbar-nav > li > a:hover {
    background-color: rgb(0, 103, 154);
    color: white;
}

.navbar {
    min-height: 30px;
    border: none;
}

.background-white > li {
    background-color: rgb(255,255,255);
    font-weight: 500;
}

.background-white > li.active-nav-bar-item {
    background-color: rgb(242,242,242);;
}

.background-white > li > a {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

.qCode {
    position: absolute;
    right: 0;
    top: calc(60% - 13px)
}

.bar-label {
    white-space: normal;
    width: 220px;
}

.bar-selected {
    color: #018dcf;
}

.custom-legend {
    text-align: center;
}

.legend-item {
    margin: 10px;
    cursor: pointer;
}

.symbol {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-right: 5px;
    display: inline-block;
}

.off {
    color: lightgrey;
}

.off .symbol {
    background-color: lightgrey !important;
}