/* Style to reverse the caret icon from pointing downwards to upwards */
.caret.caret-up {
    border-top-width: 0;
    border-bottom: 4px solid #fff;
}

.table .vert-align-text-to-input {
    padding-right: 23px;
}

.vertical-align {
    display: flex;
    align-items: center;
}

/* === Red means required === */
.required {
    color: #d9272e;
}

/* === Make bootstrap table even more condensed --- */

td, th {
    padding: 2px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 6px;
}

/* === Make bootstrap table-condensed even more condensed --- */

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 2px; /* Originally 5px */
}

.content-wrapper {
    overflow: visible;
}

@media only screen and (min-width: 768px) {

  .wrapper > section {
    margin-left: 0px;
  }

}

/* ========================================================================
   Bootstrap overrides for color palette
 ========================================================================== */
/* -- Make fonts bigger  */
body {
    font-size: 16px;
}

.btn, .fc-button {
    font-size: 16px;
}

.form-control {
    font-size: 16px;
}

.panel .panel-heading {
    font-size: 16px;
}

.nav-wrapper, .navbar-top, .navbar-header {
    background-color: #003056 !important;
}

.btn-primary {
    background-color: #003056 !important;
}

.btn-danger {
    background-color: #d9272e !important;
}

input[type=checkbox]:checked + span, input[type=radio]:checked + span {
    border-color: #003056;
    background-color: #003056;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #003056;
    border-color: #003056;
}

.clearfix:after,
.dl-horizontal dd:after,
.container:after,
.container-fluid:after,
.form-horizontal .form-group:after,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:after,
.nav:after,
.navbar:after,
.navbar-header:after,
.navbar-collapse:after,
.pager:after,
.modal-header:after,
.modal-footer:after {
    clear: none;
}

.navbar-top .navbar-nav > li > a, .navbar-top .navbar-nav > .open > a {
    color: #FFF;
}

.navbar-top .navbar-nav > li > a:hover, .navbar-top .navbar-nav > .open > a:hover, .navbar-top .navbar-nav > li > a:focus, .navbar-top .navbar-nav > .open > a:focus {
    color: #FFF;
}


.nav-tabs > li > a.active {
    background-color: #003056;
    color: #fff;
}
/* ========================================================================
   create an extra-large modal
 ========================================================================== */

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width:1200px;
    }
}

/* ========================================================================
   wkhtmltopdf-related classes for printing PDFs
 ========================================================================== */

@media print {
    /* == Fixes pdf page breaks */
    * {
        float: none !important;
        color: inherit !important;
    }
    .panel {
        border: none;
    }
}

.pdf-keep-together {
    page-break-inside: avoid !important;
}

.pdf-break-before {
    page-break-before: always !important;
}

.pdf-break-after {
    page-break-after: always !important;
}

.pdf-logo {
    width: 100px;
    margin-top: 20px;
    margin-left: 15px;
}

.pdf-title {
    font-size: 20px;
    margin-top: 10px;
    margin-right: 10px;
}

.pdf-worksheet-title {
    font-size: 16px;
    margin-top: 5px;
    margin-right: 5px;
}

.pdf-legal {
    font-size: 1.1em;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 0px;
}

.pdf-signatures {
    margin-top: 20px;
}

.pdf-signatures-line hr {
    border-top: 1px solid #000;
    margin-top: 10px;
    margin-bottom: 0px;
    border: 1;
}

.pdf-company-address {
    text-align: left;
    font-size: 1.1em;
}
.pdf-project-scope {
    text-align: right;
    font-size: 1.1em;
}

.pdf-project-details-heading {
    margin-top:25px;
    border-style:solid;
    border-width:1px;
    color: #FFF !important;
    background-color: #092F57 !important;
}

.pdf-co-agreement {
    margin-top: 10px;
}

.pdf-exhibit-b-heading {
    margin-bottom: 10px;
}

.proposal-export-dropdown {
    display:inline-block;
}

.pdf-additional-information-details li {
    margin:0 0 10px 0;
}

/* Fix text inputs shrinking to fit the contents on datatables */
.form-inline .form-control {
    width: 100%;
}

/* Fix bootstrap grey panel header */
.panel-default>.panel-heading {
    background-color: #fff;
}

/* sortable handle */
.handle {
    cursor: move;
    cursor: -webkit-grabbing;
}

/* fixes scrolling issue on sortables */
.sortable {
    overflow: auto;
}

/* highlight the row with an input in focus */
.highlight {
    background-color: #fff999;
}

/* invalid input border color */
input.invalid {
    border-color: red;
}

.error {
    font-size: 12px;
    color: red;
}

/* handle initial sizing of textarea fields */
textarea {
    max-width: 100%;
    max-height: 200px;
}

/* allow borderless tables in bootstrap 3 */

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

/* page breaks for PDF */
/* Page Breaks */

/***Always insert a page break before the element***/
.pb_before {
    page-break-before: always !important;
}

/***Always insert a page break after the element***/
.pb_after {
    page-break-after: always !important;
}

/***Avoid page break before the element (if possible)***/
.pb_before_avoid {
    page-break-before: avoid !important;
}

/***Avoid page break after the element (if possible)***/
.pb_after_avoid {
    page-break-after: avoid !important;
}

/* Avoid page break inside the element (if possible) */
.pbi_avoid {
    page-break-inside: avoid !important;
}

@media print {
    a[href]:after {
        content: none !important;
    }
    body {
        overflow-x: visible;
        font-size: 12px;
    }
    .form-control, .input-group-addon {
        border-color: #fafafa;
    }
    .form-control {
        font-size: 12px;
    }
    select {
        -webkit-appearance: none;
    }
    .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
        line-height: 1;
        padding-left: 12px;
    }
    .no-print {
        display: none;
    }
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
        font-size: 14px;
        margin-top: 5px;
        margin-bottom: 5px;
        line-height: 1.0;
    }
    .sub-item {
        margin-left: 100px;
    }

    /* Be sure the grey background on column headings prints */
    table td.bg-gray-light {
        background-color: #e4eaec !important;
    }

}
