﻿body {
    background-color: #f2f5f8;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 30px;
}

.page-title {
    font-weight: bold;
    font-size: 25px;
    color: #003366;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

#statutesSearch
{
    min-width: 200px;
}

select {
    margin-left: 8px;
    margin-right: 8px;
}

#sBiennium {
    height: 23px;
}

#sChapter {
    height: 23px;
}

#sReturnType {
    height: 23px;
}

#sBillType {
    height: 23px;
}

#sBillChamber {
    height: 23px;
}

#sSortBy {
    height: 23px;
}

/*Bootstrap button override*/
.btn-link:hover,
.btn-link:focus {
    text-decoration: none;
}

/*********************** Cards ***********************/
/* Default blue */
.ncga-card > .card-header {
    background-color: #1d58a6;
    color: #ffffff;
    text-transform: uppercase;
}

.ncga-card > .card-header .btn-link {
    text-transform: uppercase;
    color: #ffffff;
}

.ncga-card > .card-body {
    background-color: #eef2f6;
}

/* Gray */
.ncga-gray-card.card {
    border: 2px solid #bfbfbf;
    font-size: 14px;
    -webkit-print-color-adjust: exact; /* Force printing of row colors Chrome and Safari */
    color-adjust: exact !important; /* Force printing of row colors Firefox*/
}

.ncga-gray-card > .card-header {
    background-color: #d9d9d9;
    border-bottom: 2px solid #bfbfbf;
    font-size: medium;
    font-weight: bold;
    padding: 7px;
    text-transform: uppercase;
}
.ncga-gray-card > .card-header> h6 {
    margin-bottom: 1px;
}

.ncga-gray-card > .card-header .column-header {
    background-color: #ffffff;
    border-top: 1px solid #bfbfbf;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: small;
    font-weight: bold;
    text-align: left;
    margin: 7px -7px -7px -7px;
}

.ncga-gray-card > .card-body {
    padding: 0 15px 0 15px;
}

.ncga-gray-card > .card-body .row {
    background-color: #ffffff;
    border-top: 2px solid #d9d9d9;
    padding-top: 3px;
    padding-bottom: 3px;
    page-break-inside: avoid;
}
    .ncga-gray-card > .card-body .row:first-child {
        border-top: none;
    }

    /*Alternating Row Color*/
    .ncga-gray-card > .card-body .row:nth-of-type(odd) /* http://stackoverflow.com/a/29511051 */ {
        background-color: #f2f2f2;
        page-break-inside: avoid;
    }
/*****************************************************/

/* Bootstrap radio button UI fixes*/
.form-check-inline input[type="radio"] + label {
    margin-bottom: 0;
}
 .radio-button-fix {
     align-items: baseline;
 }

/*Alternating Row Color*/
.baseRow {
    background-color: #f2f2f2;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    padding-top: 5px;
    padding-bottom: 5px;
}

    .baseRow:nth-of-type(odd) /* http://stackoverflow.com/a/29511051 */ {
        background-color: #ffffff;
    }

.bill-lookup-section {
    padding-bottom: 15px;
}

/*Create Scroll For Column*/
.scroll-column {
    max-height: 145px;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
}

/*Info Padding*/
.pad-row {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
}

/* Accordion arrow animation*/
#additionalVoteHistoryButton .fas {
    transition: .3s transform ease-in-out;
}

#additionalVoteHistoryButton.collapsed .fas {
    transform: rotate(-90deg);
}

.misc-info-label {
    background-color: #d9d9d9;
    font-weight: bold;
    border-right: 1px solid #bfbfbf;
    padding-left:0;
}

.print-background-colors {
    -webkit-print-color-adjust: exact; /* Force printing of row colors Chrome and Safari */
    color-adjust: exact !important; /* Force printing of row colors Firefox*/
}

.body-content > .row {
    margin-right: 0;
    margin-left: 0;
}

/* Add spacing between inline form controls */
.pad-form-inline-controls.form-inline label {
    margin-right: 5px;
}

.pad-form-inline-controls.form-inline > input:not([type='checkbox']),
.pad-form-inline-controls.form-inline input.form-control,
.pad-form-inline-controls.form-inline > select,
.pad-form-inline-controls .chosen-container,
.pad-form-inline-controls.form-inline > button {
    margin-right: 10px;
}

/* Change default font of inputs so they match chosen-container font */
.container input.form-control {
    font-size: 14px; 
}

/* Creates Scrollable Menu on Drop Down Menus */
.scrollable-menu {
    height: auto;
    max-height: 30px;
    overflow-x: hidden;
}
/*Makes FontAwesome Icons larger small screens*/
@media screen and (max-width: 575px) {
    .glyphicon {
        font-size: 2em;
    }
}

@media screen and (min-width: 576px) and (max-width: 799px) {
    .glyphicon {
        font-size: 1em;
    }
}

@media screen and (min-width: 800px) {
    .glyphicon {
        font-size: 1em;
    }
}

/* Extra small and small devices (landscape phones, 767px and down)) */ 
@media (max-width: 767px) {
    .mobile-font-size-large {
        font-size: large;
    }

    .format-icon {
        font-size: xx-large;
    }
}

/* All other resolutions/devices above 767px */
@media (min-width: 768px) {
    .format-icon {
        font-size: x-large;
    }
}