html {
    height: 100%;
}
body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: white;
}
h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 100;
    color: #262626;
}


/*short page adjustment to keep footer at bottom of window*/
div#app {
    min-height: calc(100% - 390px);
}


/*jumbotron tweaks*/
.jumbotron {
    margin: 0;
    padding: 20px 0 0 0;
    background-color: #fcfbfa;
    border-bottom: 0.25px solid #f1f1f1;
}

.jumbotron h1 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    color: #262626;
    line-height: 40px;
    text-transform: uppercase;
    border-bottom: 5px solid #f8981f;
    display: inline-block;
}


/*bootstrap button tweaks*/
.btn-primary.download {
    padding-left: 30px;
    padding-right: 30px;
    text-transform: uppercase;
}


/*panel tweaks*/
.panel-default {
    border-color: #e1e1e1;
}
.panel-default > .panel-heading {
    border-color: #e1e1e1;
    background-color: #fcfbfa;
    height: 50px;
    font-size: 18px;
}

/*navbar tweaks*/
.navbar-default {
    padding-top: 15px;
    margin-bottom: 0;
    border-color: #f1f1f1;
    border-width: 0.25px;
}
.navbar-header {
    display: inline!important;
    margin-left: 15px;
    margin-right: 15px;
}
.navbar-brand {
    padding: 0 20px 0 15px;
}
.navbar-brand img {
    height: 45px;
}
.navbar-default .navbar-nav>li>a, .navbar-default .navbar-text {
    color: #262626;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: #f4f3ed;
    color: #262626;
}
.navbar.navbar-static-top {
    padding: 0;
    margin: 0;
    font-size: 12px;
    display: block!important;
}
.navbar.navbar-static-top > li {
    float: left !important;
}
.nav.navbar-nav.navbar-right {
    margin: 0;
    float: right!important;
    display: inline-flex!important;
}


/*page top notifications*/
.container.notifications .alert {
    margin-top: 20px;
}


/*baseline nav tabs*/
.nav.nav-tabs {
    border: none;
    background-color: #fcfbfa;
    padding-bottom: 0;
    margin-bottom: 0;
}

.nav-tabs > li > a {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    padding: 0 40px;
    text-align: center;
    border: none;
    line-height: 50px;
    height: 50px;
    position: relative;
}
.nav-tabs > li > a > span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-bottom: 5px;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus {
    border-width: 0;
}
.nav-tabs > li.active > a,
.nav-tabs > li > a:hover {
    border: 0.25px solid #f1f1f1;
    color: #262626;
    background-color: white;
    padding-bottom: 12px;
}
.nav-tabs > li > a::after {
    content: "";
    background: #f8981f;
    height: 5px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    transition: all 250ms ease 0s;
    transform: scale(0);
}
.nav-tabs > li.active > a::after,
.nav-tabs > li:hover > a::after {
    transform: scale(1);
}


/*form tweaks*/
.form-group.required .control-label:after {
    content:" *";
    color: #f47321;
    font-size: 14px;
    line-height: 0.6;
}


/*home page*/
.container.hero {
    margin-top: 60px;
    padding: 0 15px;
}
.container.hero h1 {
    margin-bottom: 30px;
}
.container.hero .title {
    font-size: 36px;
    font-weight: 500;
    color: #666666;
    line-height: 43px;
    text-transform: uppercase;
    padding-bottom: 30px;
}
.container.hero .title span {
    color: #f8981f;
}
.container.hero p {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 24px;
}
.container.hero .row.navtabs {
    padding-top: 40px;
    padding-bottom: 0;
}
.container.hero .nav-tabs > li {
    width: 50%;
}
.container.faq {
    padding-top: 0;
}


/*listing page common*/
.container.list-header {
    padding: 20px 15px 60px;
}


/*listing page content area*/
.container.list-content {
    padding: 0 15px;
}
.container.list-content > .row.filters {
    padding: 30px 0;
}
.container.list-content > .row.filters:nth-child(n+2) {
    padding: 0 0 30px;
}
.container.list-content > .row.filters label {
    padding-top: 15px;
}


/*detail page common*/
.container.detail-header {
    padding: 0 15px 0;
}
.container.detail-header > .row.header {
    margin-bottom: 0;
}
.container.detail-header > .row.header .row.title {
    line-height: 40px;
    margin-bottom: 30px;
}
.container.detail-header > .row.header .row.info {
    padding-top: 10px;
    padding-bottom: 10px;
}
.container.detail-header > .row.header .row.tab-navigation {
    padding-top: 30px;
}
.container.detail-header .nav-tabs > li {
    width: 33.33%;
}


/*detail page content area*/
.container.detail-content {
    padding: 0;
}
.container.detail-content > .card {
    background: white none repeat scroll 0% 0%;
    margin: 0;
    box-shadow: none;
    padding: 0 15px 50px;
}
.container.detail-content > .card > h2 {
    padding: 30px 0 20px 0;
}
.container.detail-content > .card > .row.filters {
    padding: 10px 0;
}
.container.detail-content > .card > .row.filters > div {
    padding: 10px 15px;
}
.container.detail-content > .card > .row.personal{
    padding: 10px 30px;
}
.container.detail-content > .card > .row.result-count {
    padding: 0;
}
.container.detail-content > .card > .row.tabular-results {
    padding: 0 15px;
}


/*common page header*/
.page-header {
    margin: 50px 0 0;
    border: none;
}
.page-header h3 {
    margin: 0 0 30px;
}
.row.result-count {
    margin-top: 20px;
}


/*common table style*/
.table > tbody > tr > td {
    vertical-align: middle;
    padding: 4px 8px;
}
.table > tbody > tr > th.bold,
.table > tbody > tr > td.bold{
    font-weight: bold !important;
}

/*align buttons in action cell*/
.btn-matrix {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.btn-matrix > .btn {
    margin: 4px;
}

/*checkmark color for action feedback*/
td.action-cell {
    color: green;
}


.table > thead > tr.mark,
.table > tbody > tr.mark {
    font-weight: bold;
    background-color: rgb(255, 248, 243) !important;
}


/* stats tables */
.table.stats {
    margin-top: 20px;
}
.table.stats>thead>tr>th,
.table.stats>tbody>tr>td {
    border: none;
    line-height: 20px;
}
.table.stats>tbody>tr {
    margin: 20px 0;
}
.table.stats>tbody>tr td {
    font-size: 32px;
    line-height: 36px;
}


/*mapping table with editable rows*/
.table.mapping #form-row {
    background-color: rgb(255, 248, 243);
}
.table.mapping #form-row td {
    padding: 8px;
}
.table.mapping #form-row .action-cell {
    padding: 4px 0;
}
.table.mapping .action-cell > span {
    color: green;
    padding: 0 20px 0 0;
    font-size: 20px;
    top: 5px;
}


/*history tables*/
.table.history {
    font-size: 11px !important;
}


/*select2 bootstrap mods to match form control*/
.select2-container--bootstrap .select2-selection--single,
.select2-container--bootstrap .select2-selection--multiple {
    min-width: 36px;
}
.select2-container--bootstrap.select2-container--focus .select2-selection, .select2-container--bootstrap.select2-container--open .select2-selection {
    border-color: #98cbe8;
}
.select2-container--bootstrap .select2-dropdown {
    border-color: #98cbe8;
}


/*charts */
.highcharts-container {
    border-radius: 10px;
}
.pie-chart {
    margin-bottom: 30px;
}


/*customize date picker*/
.daterangepicker {
    background-color: rgb(255, 248, 243);
}
.daterangepicker td.off {
    background-color: transparent;
}
.daterangepicker .calendar-table {
    background-color: rgb(255, 248, 243);
    border: none;
}
.date-range-control {
    width: 100%;
    height: 36px;
    background: #fff;
    cursor: pointer;
    padding: 6px 10px !important;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

}
.date-range-control .caret {
    float: right;
    margin-top: 8px;
    margin-right: -4px;
    border-width: 5px 4px 0 4px;
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    height: 0;
    width: 0;
}


/*footer*/
footer {
    width: 100%;
    background-color: #404040;
    min-height: 340px;
    padding: 28px 0 20px 0;
    margin: 50px 0 0;
}
footer .container .row .menu {
    min-height: 144px;
}
footer h5 {
    padding-top: 20px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
footer hr {
    width: 75%;
    margin: 0;
    padding: 0 0 10px;
    height: 0.25px;
    color: #ddd;
}
footer ul {
    padding: 0;
}
footer li {
    list-style: none;
}
footer li a {
    font-size: 14px;
    font-weight: 400;
    color: white;
    line-height: 30px;
}
footer a:focus,
footer a:hover {
    color: #ddd;
}
footer .logo-section {
    margin-top: 40px;
}
footer .logo-section hr {
    width: 100%;
    margin: 10px 0 0;
    padding-bottom: 10px;
    height: 0.25px;
    color: #ddd;
}
footer .logo-section .logo {
    display: inline-flex;
    vertical-align: middle;
    line-height: 30px;
    height: 30px;
}
footer .logo-section .logo img {
    height: 30px;
    padding: 0 15px;
}
footer .logo-section .copyright {
    font-size: 10px;
    font-weight: 400;
    padding: 0 20px;
    color: #f1f1f1;
    line-height: 30px;
    height: 30px;
}
footer .logo-section .copyright span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}


@media screen and (max-width: 992px) {
    .container.hero .title {
        font-size: 28px;
        line-height: 34px;
        padding-bottom: 20px;
    }
    .container.detail-header .nav-tabs > li > a {
        font-size: 16px;
    }
    .back-btn {
        font-size:12px;
        padding:6px 12px;
    }
}


@media screen and (max-width: 767px) {
    h2 {
        font-size: 16px;
    }
    h4 {
        font-size: 14px;
    }
    .jumbotron h1 {
        font-size: 14px;
        line-height: 18px;
    }
    .back-btn {
        font-size:11px;
        padding:4px 6px;
    }
    .container.detail-header .nav-tabs {
        margin: auto -5px;
        padding: 0;
    }
    .container.detail-header .nav-tabs > li > a {
        font-size: 11px;
        line-height: 42px;
        height: 42px;
        padding: 0 6%;
    }
    .container.hero {
        margin-top: 10px;
    }
    .container.hero .title {
        font-size: 24px;
        line-height: 30px;
        padding-bottom: 15px;
    }
    .container.hero .nav-tabs > li a {
        font-size: 16px;
        padding: 0 10px;
    }
    .container.faq .tab-content {
        padding: 0;
    }
    .table-responsive.stats {
        border: none;
        background-color: #f8f7f6;
        border-radius: 10px;
    }
    .table.stats>tbody>tr td {
        font-size: 24px;
        line-height: 26px;
    }
    .navbar.navbar-static-top {
        margin: 0 -15px;
    }
    .nav.navbar-nav.navbar-right {
        max-width: 100%;
        padding: 0 10px;
    }
    .nav.navbar-nav.navbar-right > li {
        max-width: 33.33%;
        margin: 0;
    }
    .nav.navbar-nav.navbar-right a {
        font-size: 10px;
        padding: 5px auto;
    }

}

