/* Global Styles */

body {
    font-family: "Helvetica Neue", sans-serif, Arial;
    color: #222;
    font-size: 16px;
    font-weight: 300;
}

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

.h1, h1 {
    font-size: 3em;
    font-weight: 300;
}

.h3, h3 {
    font-weight: 300;
}

@media (min-width: 500px) {
    .jumbotron {
        margin-bottom: 0;
        width: 100%;
        height: calc(100% - 102px);
        background-color: #f8f8f8;
    }
}

a {
    color: #0B6FB0;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: #7e7e7e;
    text-decoration: none;
}

.btn-default {
    color: #0c7dad;
    border: 1px solid #0c7dad;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1em;
}

.btn-default:hover, .btn-default.focus, .btn-default:focus, .btn-default.active, .btn-default:active,
.btn-default:active:focus, .open > .dropdown-toggle.btn-default {
    background-color: #e2e6ea;
    box-shadow: none;
}

.btn-primary {
    background-color: #0c7dad;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #0c7dad;
    font-size: 1em;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:active:focus {
    background-color: #09658d;
    border: 1px solid #09658d;
    box-shadow: none;
}

.btn.active, .btn:active {
    box-shadow: none;
}

:focus {
    outline: none;
}

.btn:focus, .btn:active {
    outline: none !important;
}

.btn.disabled:hover {
    color: #e5e5e5;
    border: 1px solid #e5e5e5;
}

/* Navbar */
.headerTitle {
    float: none;
    color: #222;
    font-size: 1em;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    float: none;
    height: 40px;
    padding-top: 10px;
    padding-right: 30px;
    padding-left: 10px;
}

.header-logo {
    float: none;
    width: auto;
    height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

@media (min-width: 500px) {
    .headerTitle {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 1.5em;
    }
}

.navbar-fixed-top {
    display: none;
    background-color: #fff;
}

.navbar-nav > li > a {
    background-color: #0c7dad;
    color: #fff;
    border-radius: 5px;
    padding: 6px 15px !important;
    margin: 10px 10px 0 0;
    font-size: .8em;
    font-weight: 400;
}

.nav > li > a:focus, .nav > li > a:hover {
    background-color: #09658d;
    color: #fff !important;
}

/* Table */
/* same style that bootstrap-table applies for hover needed for focus to support tab-navigation */
#bid_table > tbody > tr:focus {
    background-color: rgba(214, 224, 255, .5);
}

/* Footer */

footer {
    position: fixed;
    height: 30px;
    bottom: 0;
    width: 100%;
    padding: 0 15px;
    background-color: #fff;
    font-size: .9em;
}

.copyright {
    float: left;
    display: inline-block;
}

footer .pb-copyright {
    display: inline;
    color: #222;
    bottom: 0;
    position: absolute;
}

.pb-horizontal-list {
    padding-left: 0;
    margin-top: 5px;
    margin-bottom: 0;
}

ul.pb-horizontal-list > li {
    display: inline-block;
}

footer .pb-tooltip {
    display: inline;
    color: #0B6FB0;
}

footer .pb-tooltip:hover, footer .pb-tooltip:active, footer .pb-tooltip:focus {
    color: #7e7e7e;
    text-decoration: none;
}

/* Homepage (Index) */

#portal_info {
    width: 100%;
    padding: 0;
}

#intro_paragraph {
    color: #222 !important;
    font-size: 1.5em;
}

.btn-start-search {
    color: #fff;
    border: 2px solid #6bd68e;
    border-radius: 5px;
    font-size: 1em;
    font-family: "Helvetica Neue", Roboto, sans-serif, Arial;
    background: #6bd68e;
    padding: 15px 45px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 50px;
}

.btn-start-search:hover, .btn-start-search:focus, .btn-start-search:not(:disabled):not(.disabled):active {
    background-color: #fff;
    color: #6bd68e;
    border: 2px solid #6bd68e;
    box-shadow: none;
}

.jumbotron-icon {
    margin-bottom: 30px;
}

.group-logo {
  width: auto;
  height: 100%;
  max-width: 460px;
  max-height: 128px;
  margin-bottom: 30px;
}

.homepage-header {
    padding: 10px;
}

.jumbotron {
    word-wrap: break-word;
}

#content_row {
    margin: 40px;
}

/* Modals */
.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.modal-title {
    font-weight: 400;
}

/* prevent background from scrolling */
.modal-open {
    overflow: visible;
    position: fixed;
    width: 100%;
}

.btn.disabled, .btn.disabled:focus {
    color: #e5e5e5;
    border-color: #e5e5e5;
}

/* FAQ Modal */
.faq-gray {
    background: #f8f8f8;
    padding: 30px;
    margin: 30px;
    border-radius: 10px;
}

.faq-white {
    padding: 30px;
    margin: 30px;
}

.faq-answer {
    font-size: 1em;
}

#modal_faq .modal-dialog,
#modal_faq .modal-content {
    height: 95%;
}

#modal_faq .modal-dialog {
    width: 70%;
}

#modal_faq .modal-body {
    max-height: calc(100% - 120px);
    overflow-y: scroll;
}

/* Bid Detail Modal */
.bid-detail-section-title {
    font-weight: 300;
    color: #2cb5e8;
    margin-bottom: 30px;
    padding-left: 15px;
}

.bid-detail-section {
    margin-top: 50px;
}

.dept-name {
    font-weight: 400;
    font-size: 1.1em;
}

.txt-detail-deeplink {
    font-weight: 400;
    margin-top: 20px;
    font-size: 1.1em;
    margin-left: 15px;
}

.arrow-btn {
    color: #222;
    border: 1px solid #222;
    background-color: #fff;
}

.arrow-btn:hover, .arrow-btn:active, .arrow-btn:focus {
    color: #2cb5e8;
    border: 1px solid #2cb5e8;
    box-shadow: none;
}

.modal-footer .btn + .btn {
    margin-left: 0;
}

.bid-detail-btns {
    position: absolute;
    right: 15px;
    bottom: 10px;
}

.txt-bid-detail-item-title, .txt-bid-detail-item-value {
    overflow-x: hidden;
}

.txt-bid-detail-item-title {
    text-align: right;
    text-transform: uppercase;
    font-size: .9em;
    padding-top: 2px;
    font-weight: 600;
    color: #222;
}

/*all the values of the bid detail items, set wordwrap so that it wraps properly*/
.col-xs-9 div {
    word-wrap: break-word;
}

#bid_table tbody tr {
    cursor: pointer;
}

#modal_bid_detail .modal-dialog,
#modal_bid_detail .modal-content {
    height: 98%;
}

#modal_bid_detail .modal-dialog {
    width: 80%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* had to set this in order for the header to not resize when the h4 text fades out*/
#modal_bid_detail .modal-header {
    height: 56px;
}

#modal_bid_detail .modal-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#modal_bid_detail .modal-body {
    height: calc(100% - 120px);
    min-height: calc(100% - 120px);
    overflow-y: scroll;
    background-color: #fff;
}

.txt-last-updated {
    color: #222;
    margin-right: 20px;
    margin-left: 20px;
    text-align: right;
    margin-bottom: 15px;
    font-weight: 400;
}

#bid_table .card-view span {
    float: left;
    display: inline-block;
}

#bid_table .card-view .title {
    width: 30%;
    clear: left;
    font-weight: 400;
}

#bid_table .card-view .value {
    width: 70%;
}

/* Multiselect (Agencies Modal) */
input.search-input:hover, input.search-input:active, input.search-input:focus {
    border: 1px solid #0c7dad;
}

#ms-agency_search ul:active, #ms-agency_search ul:focus {
    border: 1px solid #0c7dad;
}

.btn .badge {
    top: -3px;
}

#modal_agencies .modal-body {
    background-color: #fff;
}

.ms-container .ms-selectable, .ms-container .ms-selection {
    background: none;
}

.input-mutliselect-search {
    margin-bottom: 10px;
}

#ms-agency_search ul {
    background-color: white;
}

#modal_agencies .modal-dialog,
#modal_cats .modal-dialog,
#modal_cats .modal-content {
    height: 90%;
}

#modal_agencies .modal-dialog,
#modal_cats .modal-dialog {
    width: 50%;
}

#modal_agencies .modal-body {
    /* TODO: oz IE has a problem with this, figure out a way to handle the issue PBSYS-553*/
    height: calc(100% - 140px);
    overflow-y: scroll;
}

/*hide the clear input field in the search on multichoosers*/
.search-input::-ms-clear {
    display: none;
}

/* Table Toggles */
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    background-color: #b9b9b9;
    border: #b9b9b9;
    border-radius: 4px 0 0 4px;
    color: #fff;
    padding: 6px 12px;
    font-size: 1.1em;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle):hover,
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle):active,
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle):focus {
    background-color: #9c9c9c;
}

.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
    background-color: #cfcfcf;
    border: #cfcfcf;
    border-radius: 0 4px 4px 0;
    color: #fff;
    padding: 6px 12px;
    font-size: 1.1em;
}

.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child:hover,
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child:active,
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child:focus {
    background-color: #9c9c9c;
}

/* Search Form */

#form_search .row .form-group {
    padding-left: 5px;
    padding-right: 5px;
}

#form_search .row .form-group .form-control {
    width: 100%;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

#datepicker_from[readonly], #datepicker_to[readonly] {
    background-color: white;
}

.search-bar {
    background-color: #f8f8f8;
    padding: 20px 50px 20px 20px;
    color: #4e4e4e;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1020;
    display: none;
    overflow: hidden;
}

#searching_block_screen {
    width: 100%;
    position: fixed;
    top: 50px;
    background-color: white;
    opacity: 0.7;
    z-index: 1040;
    cursor: not-allowed;
    display: flex;
}

#form_search {
    width: auto;
    margin-top: 40px;
}

#form_search label {
    font-weight: normal;
    text-transform: uppercase;
    color: #222;
    font-size: 11px;
}

.btn-multiselect {
    padding-right: 5px;
    white-space: inherit; /* for some reason, the default no-wrap functionality of the .btn class causes the text to wrap on firefox*/
}

#form_btn_agencies span.glyphicon {
    float: right;
    margin-right: 5px;
    margin-left: -5px;
}

.btn-multiselect .badge {
    background-color: #4e4e4e;
}

.btn-multiselect:active, .btn-multiselect:focus {
    box-shadow: none;
}

.input-field {
    height: 35px;
    padding: 6px 12px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #c9c9c9;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 1em;
    line-height: 1.42857143;
    color: #000;
    width: 100%;
    outline: none;
    border-radius: 2px;
}

.input-field:focus, .input-field:hover, .input-field:active {
    border: 1px solid #0c7dad;
}

.form-group.search-form-btn {
    height: 61px;
    display: flex;
    align-items: flex-end;
}

/* Glyphicons */
.plus-btn {
    border: none;
}

.glyphicon {
    line-height: normal;
    top: 0;
}

/* Loading Spinner */
.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

/* Accessibility */
.screen-reader-only {
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}
