﻿
html
{
    overflow-y:scroll;
}

strong
{
    font-weight:bold;
}

.agency_header:focus, .agency_header:hover
{
    background-color: white;
    cursor: pointer;
}

.agency_container
{
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid #ccc;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 0px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 300;
}

.agency_header, .agency_header_no_hover
{
    height: 58px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #F7F7F7;
}

.agency_vertical
{
    transform: rotate(270deg);
    transform-origin: 29px 29px;
    font-size: 12px;
    background-color: #f0ad4e;
    color: #fff;
    float: left;
    padding: 5px;
    width: 58px;
    text-align: center;
    border-top-right-radius: 3px;
    border-bottom: 1px solid #ccc;
    font-weight:500;
}

.agency_results
{
    float: right;
    font-size: 15px;
    line-height: 58px;
    vertical-align: middle;
    padding-right: 20px;
    font-size:14px;
}

.agency_name
{
    display: inline;
    float: left;
    padding-left: 15px;
    line-height: 58px;
    margin-left: -30px;
    vertical-align: middle;
    font-size:18px;
    font-weight:300;
}

.agency_content
{
    background-color: #f0ad4e;
    padding: 3px;
    padding-left: 28px;
    display:none;
    padding-bottom:0px;
}

.program_container
{
    padding: 0px;
}

.program_header:focus, .program_header:hover
{
    background-color: white;
    cursor: pointer;
}

.program_header
{
    height: 58px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #EFEFEF;
}

.program_vertical
{
    transform: rotate(270deg);
    transform-origin: 29px 29px;
    font-size: 12px;
    background-color: #777;
    color: #fff;
    float: left;
    padding: 5px;
    width: 58px;
    text-align: center;
    border-top-right-radius: 3px;
    border-bottom: 1px solid #ccc;
    font-weight:500;
}

.program_results
{
    float: right;
    font-size: 15px;
    line-height: 58px;
    vertical-align: middle;
    padding-right: 17px;
    font-size:14px;
}

.program_name
{
    display: inline;
    float: left;
    padding-left: 15px;
    line-height: 58px;
    margin-left: -30px;
    vertical-align: middle;
    font-size:16px;
}

.program_content
{
    background-color: #777;
    width: 100%;
    padding: 3px;
    padding-left: 28px;
    display:none;
}

.program_spacer
{
    height: 3px;
}

.program_content_border
{
    background-color: #777;
    padding: 3px;
    padding-left: 28px;
    display:none;
}

.rule_container
{
    background-color:white;
    padding:10px;
    border-left: 1px solid #ccc;
}

.checkbox
{
    padding-left:50px;
    font-size:15px;
}

.rule_viewer_agency
{
    font-size:24px;
    font-weight:400;
}

.rule_viewer_program
{
    font-size:20px;
    padding-top:5px;
}

.rule_viewer_chapter
{
    padding-top:20px;
    font-size:16px;
    padding-bottom:20px;
}

.rule_viewer_filing_date
{
    font-size:14px;
}

.rule_viewer_rule_type
{
    font-size:14px;
}

.rule_viewer_ref_num
{
    font-size:14px;
}

.rule_viewer_download
{
    padding-top:20px;
    font-size:12px;
}

.highlight
{
    background-color:yellow;
}

#lstAgencies:focus, #lstPrograms:focus
{
    font-size: 14px;
    padding: 6px 12px;
    color: #555;
}

.rule_viewer_footer a:visited
{
    color: #f0ad4e;
    text-decoration: none;
}

.rule_viewer_footer a
{
    color: #f0ad4e;
}

.rule_viewer_footer
{
    background-color: black;
    color:white;
    font-size:13px;

    display:block;
    float:left !important;
    width:100%;
}
.search-proposed-icon{
    color: #337ab7;
    font-size: 19px;
    margin-left: 2px;
}
.search-emergency-icon{
    color: #ec2d2d;
    font-size: 19px;
    margin-left: 1px;
}
.hide-icon{
    display: none;
}
.public-comment-link{
    color: #337ab7;
    cursor: pointer;
}
.public-comment-link:hover{
    text-decoration: underline;
}
.public-comments-button{
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 5px;
    font-size: 16px;
}
.public-comments-display{
    font-size: 12px;
    text-align: center;
    width: 100%;
    float: left;
    margin-bottom: 4px;
    font-style: italic;
}
/*-------------Begin History Styles-------------*/
/*----------------------------------------------*/
form .history .row div{
    padding: 0px;
}
.history{
    text-align: left;
    font-size: 18px;
    color: #333;
}
.history-container{
    margin: 30px 30px 30px 30px;
}
.history-container.admin-history{
    margin: 0px;
}
.history .top-wrap{
    border-top: 1px solid #ccc;
    border-left: 7px solid;
    background-color: #EFEFEF;
    border-radius: 5px;
    padding: 10px 14px 1px 14px;
    min-height: 40px;
    margin-bottom: 10px;
}
.history .chapter-title{
    font-size: 18px;
    float: left;
    color: #333;
}
.history .filing-badge{
    float: left;
    margin-left: 4px;
    margin-top: 2px;
    font-size: 14px;
    font-style: italic;
}
.history .rule-type{
    float: right;
    font-size: 14px;
}
.history .collapse-button{
    float: right;
    font-size: 15px;
    margin: 7px 3px 0px 10px;
}
.history .top-wrap .bottom{
    background-color: #fff;
    margin-right: -14px;
    margin-left: -14px;
    margin-bottom: -1px;
    margin-top: 11px;
    border-radius: 0px 0px 5px 0px;
    padding: 0px 14px 0px 15px;
    border-left: 7px solid #777;
    color: #777;
    font-size: 14px;
}
.history .revision-date{
    font-weight: bold;
}
.history hr{
    border-top-color: #bbb;
}
.history .revision{
    padding: 4px 0px;
}
.history-download{
    font-size: 14px;
    margin-left: 8px;
    float: right;
}
.history .public-color-border{
    border-left-color: #ce9039;
}
.history .admin-color-border{
    border-left-color: #337ab7;
}
.history .admin-secondary-color-border{
    border-left-color: #b6b8bd;
}
.history .top-wrap.admin-color-background{
    background-color: #dae7ec;
}
.history .bottom.admin-color-background{
    background-color: #eef7fb;
}
.public-comment-container .popover{
    width: 300px;
}
.history_download{
    font-size: 14px;
    float: right;
    margin-top: -10px;
}
@media(min-width: 767px){
    .dynamicModal .modal-dialog.modal-override{
        width: 75% !important;
    }
}
@media(max-width: 764px){
    .history_download{
        margin-top: 5px;
        float: left;
    }
}
@media(max-width: 767px){
    .history-container{
        margin: 0px;
    }
    .program_name, .agency_name{
        float: none;
    }
    .program_header, .agency_header, .agency_header_no_hover {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .agency_results_label, .program_results_label, .program_count, .agency_count{
        display: none;
    }
    .agency_results, .program_results{
        position: absolute;
        right: 16px;
        border-top-right-radius: 4px;
        padding-right: 10px;
        padding-left: 7px;
        background-color:#f7f7f7;
    }
    .program_results{
        background-color: #EFEFEF;
    }
    .history h4.chapter-title{
        font-size: 15px;
    }
    .rule_viewer_agency{
        font-size: 20px
    }
    .rule_viewer_program{
        font-size: 15px;
        padding: 0px;
    }
    .row.well.text-left.center-block{
        margin-bottom: 10px;
        padding: 10px
    }
    .history .filing-badge{
        font-size: 12px;
    }
    .history .rule-type{
        font-size: 12px;

    }
}
@media(max-width: 400px){

}
@media (max-width: 370px),
(orientation: landscape)
and (max-height: 370px){
    h1{
        font-size: 32px;
        line-height: 30px;
        padding: 0px 10px;
    }
    section .container{
        padding: 0px;
    }
    .panel{
        border-radius: 0px;
    }
    #search_results_container{
        padding: 0px;
    }
    .panel-body{
        padding-top: 6px;
    }
    .agency_vertical{
        border-top-right-radius: 0px;
        padding: 3px;
    }
    .program_vertical{
        padding: 3px;
    }
    .program_content{
        padding-left: 4px;
    }
    .agency_content{
        padding-left: 8px;
    }
    .modal .panel{
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }
    /*.rule_container{
        border-top-left-radius: 6px;
    }*/
    .agency_container{
        border-radius: 0px;
    }
    .agency_header{
        border-radius: 0px;
    }
    .agency_results, .program_results{
        right: 4px;
    }
    #header{
        height: 60px;
    }
    .agency_name, .program_name{
        font-size: 16px;
    }
    .search-rule-link{
        font-size: 15px;
        font-weight: 400;
        line-height: 17px;
        float: left;
        margin-bottom: 10px;
    }
    .search-rule-icon{
        margin-left: 10px;
        margin-top: -1px;
        float: left;
    }
    .modal-dialog{
        margin-top: 28px;
        margin-right: -5px;
    }
    .mobile-modal-container{
        padding: 0px;
    }
    button.close{
        margin-top: -7px;
        margin-right: -4px;
    }
    .modal .panel-body{
        padding: 6px;
    }
    .row.well.text-left.center-block.rule_viewer_footer{
        margin-bottom: 0px;
    }
    #ModaltoTop{
        bottom: 10px;
    }
    .modal-body-mobile{
        padding: 0px;
        margin: 0px;
        overflow: hidden;
    }
    .modal-body-mobile img{
        width: 100% !important;
        height: auto !important;
    }
    .search-clear{
        margin-top: 0px;
    }
    #released .checkbox{
        padding-left: 20px;
    }
    .advanced-panel-mobile{
        padding: 0px;
    }
}
.ruleLoader {
    color: #757575;
    font-size: 3px;
    margin: 30px auto;
    margin-top: 28px;
    margin-left: 10px;
    margin-right: 4px;
    margin-bottom: 27px;
    width: 1em;
    float: right;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite linear;
    animation: load5 1.1s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
@-webkit-keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #575757, 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.5), -1.8em -1.8em 0 0em rgba(87,87,87, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.7), 1.8em -1.8em 0 0em #575757, 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.5), 1.8em -1.8em 0 0em rgba(87,87,87, 0.7), 2.5em 0em 0 0em #575757, 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.5), 2.5em 0em 0 0em rgba(87,87,87, 0.7), 1.75em 1.75em 0 0em #575757, 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.5), 1.75em 1.75em 0 0em rgba(87,87,87, 0.7), 0em 2.5em 0 0em #575757, -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.5), 0em 2.5em 0 0em rgba(87,87,87, 0.7), -1.8em 1.8em 0 0em #575757, -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.5), -1.8em 1.8em 0 0em rgba(87,87,87, 0.7), -2.6em 0em 0 0em #575757, -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.5), -2.6em 0em 0 0em rgba(87,87,87, 0.7), -1.8em -1.8em 0 0em #575757;
  }
}
@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #575757, 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.5), -1.8em -1.8em 0 0em rgba(87,87,87, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.7), 1.8em -1.8em 0 0em #575757, 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.5), 1.8em -1.8em 0 0em rgba(87,87,87, 0.7), 2.5em 0em 0 0em #575757, 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.5), 2.5em 0em 0 0em rgba(87,87,87, 0.7), 1.75em 1.75em 0 0em #575757, 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.5), 1.75em 1.75em 0 0em rgba(87,87,87, 0.7), 0em 2.5em 0 0em #575757, -1.8em 1.8em 0 0em rgba(87,87,87, 0.2), -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.5), 0em 2.5em 0 0em rgba(87,87,87, 0.7), -1.8em 1.8em 0 0em #575757, -2.6em 0em 0 0em rgba(87,87,87, 0.2), -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.5), -1.8em 1.8em 0 0em rgba(87,87,87, 0.7), -2.6em 0em 0 0em #575757, -1.8em -1.8em 0 0em rgba(87,87,87, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(87,87,87, 0.2), 1.8em -1.8em 0 0em rgba(87,87,87, 0.2), 2.5em 0em 0 0em rgba(87,87,87, 0.2), 1.75em 1.75em 0 0em rgba(87,87,87, 0.2), 0em 2.5em 0 0em rgba(87,87,87, 0.2), -1.8em 1.8em 0 0em rgba(87,87,87, 0.5), -2.6em 0em 0 0em rgba(87,87,87, 0.7), -1.8em -1.8em 0 0em #575757;
  }
}