table{
    font-size: .75vw;
}
.content table{
    width: 100%;
}
.mainImage {
	position: relative;
}
.mainImage img{
	width: 100%;
}
.mainImage h2 {
    vertical-align: bottom;
    margin: 0;
    position: absolute;
    bottom: 0;
    padding: 1vw;
    color: #ef9502;
    background: #f3f3f3;
    -webkit-border-top-right-radius: .5vw;
    -moz-border-radius-topright: .5vw;
    border-top-right-radius: .5vw;
    font-size: 2vw;
}
.content{
    background: #ececec;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-bottom: 2vw;
}
.content p{
    font-size: 1vw;
    padding:2vw;
}
.columnA {
    height: 100%;
    width: 30vw;
    display: inline-block;
}
.columnB{
    display: inline-block;
    vertical-align: top;
    width: 68vw;
}
.navBox {
    width: 26vw;
    border: .25vw solid #ef9502;
    -webkit-border-radius: .5vw;
    -moz-border-radius: .5vw;
    border-radius: .5vw;
    margin: 1vw;
    margin-left: 2vw;
    margin-top: 2vw;
}
ul.navBoxLinks {
    margin: 0;
    padding: 1vw;
}
.navBoxLinks li {
    color: #ef9502;
    list-style: none;
    padding: .5vw;
    font-size: 1.75vw;
    font-weight: bold;
}
.navBoxLinks a{
    text-decoration: none;
    cursor: pointer;
}
.navBox h3{
    font-size: 2vw;
    font-weight: bold;
    color: #ef9502;
    padding: .5vw;
    margin: 0;
    padding-left: 1.5vw;
    margin-top: .5vw;
}
.stylized_heading{
    background: #ef9502;
    color: white;
    margin-right: 2vw;
    margin-left: 2vw;
    margin-top: 2vw;
    margin-bottom: 0;
    padding: 1vw;
    text-align: center;
    border-radius: .5vw .5vw 0px 0px;
    -moz-border-radius: .5vw .5vw 0px 0px;
    -webkit-border-radius: .5vw .5vw 0px 0px;
    border: 0px solid #000000;
    font-family: sans-serif;
    font-weight: bold;
    font-size:1.5vw;
    position: relative;
}
.content ol {
    font-size: 1.5vw;
    margin-left: 2vw;
    margin-top: 0vw;
    margin-bottom: 0vw;
}
.errorlist {
    background: #c10000;
    width: 30vw;
    padding: 1vw;
    margin-top: 3vw;
}
.errorlist li {
    list-style: none;
    color: white;
}
.columnA .menu_button{
    display: inline-block;
    margin-left: 2vw;
    position: relative;
    margin-bottom: 1vw;
}
.large_bold{
    font-size:2vw;
    font-weight:bold;
}
.bold{
    font-weight: bold;
}
.indent{
    margin-left:4vw;
}
.text_indent{
    text-indent: 4vw;
}
.italic {
    font-style:italic;
}
.document_link{
    display:inline-block;
    margin-left:2vw;
    margin-bottom: 1vw;
    margin-right: 0;
}
#reply{
    width: 80%;
    font-size: 1.5vw;
    border: 0;
    outline: 0;
    -webkit-appearance: none;
    display: inline-block;
    padding: .5vw;
    border-top: .1vw solid gray;
    vertical-align: top;
}
#comments{
    margin-bottom:0;
}
#submit_comment{
    padding: .5VW;
    font-size: 1vw;
    border: 0;
    outline: 0;
    margin: 2vw;
    -webkit-appearance: none;
    position: relative;
    margin-right: 2VW;
    display: inline-block;
    float: right;
}
#comment_form p{
    padding-bottom: 0;
}
#comment_form input{
    padding:.5vw;
}
#comment_form .errorlist{
    margin-left: 2vw;
}
#id_subject{
    width: 100%;
    padding-left: 1vw !important;
}
#id_content{
    resize: none;
    width: 100%;
    padding:1vw;
    height: 15vw;
}
.comment_box .comment{
    width: 60%;
    margin: 1vw;
    background: white;
    margin-top:0;
}
.other-comment{
    background: #42C0FB;
    color: white;
    width: 60%;
    margin: 1vw;
    margin-top:0;
    margin-left: 40%;
}
.comment_box{
    padding:1vw;
    height: 20vw;
    overflow-y:scroll;
}
label[for=id_attachment]{
    font-size: 1vw;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
    background-color: #ef9502;
    padding:.5vw;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
label[for=id_attachment]:hover{
    cursor: pointer;
}
.upload_icon{
    width:2vw;
    height:2vw;
    vertical-align: middle;
}
#id_attachment{
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.attachment_link,
.link_button{
    color: white;
    padding: .5vw;
    background: #ef9502;
    -webkit-border-radius: .5vw;
    -moz-border-radius: .5vw;
    border-radius: .5vw;
    font-size: 1vw;
    font-weight: bold;    
    border:0;
    outline:0;
    display: inline-block;
    margin-bottom: 1vw;
}
.attachment_link:hover{
    text-decoration: none;
    color: white;
    background: #4e7db8;
}
.comment_box .link_button{
    display:inline-block;
    margin-left:2vw;
}
.attachment_box {
    margin-left: 2vw;
}
.other-attachment{
    color: #42C0FB;
    background: white;
}
.other-attachment:hover{
    color: white;
}
.atlas-pane{
    width:32vw;
    background: #ECECEC;
    padding: 2vw;
    border: 1vw solid #F3F3F3;
}
.atlas-pane:hover{
    cursor: pointer;
}
.atlas-pane:first-child{
    border-left: 0;
    margin-left: 0;
}
.atlas-pane:last-child{
    border-right: 0;
    margin-right: 0;
}
.svg_box {
    height: 550px;
    margin-bottom: 2vw;
    margin-left: calc(50% - 225px);
    margin-left: -webkit-calc(50% - 225px);
    margin-left: -moz-calc(50% - 225px);
    width: 450px;
}
#readContainer{
    height: 2vw;
    width: 100%;
    text-align: center;
}
#readContainer p{
    font-size: 1.5vw;
    padding-top: 1vw;
}
#periodicity {
    width: 100%;
}
#periodicity th{
    padding: .5vw;
    font-size: .75vw;
}
#periodicity td{
    font-size: .75vw;
    padding: .5vw;
    border: .25vw solid lightgray;
    width: 1vw;
}
.periodicity_data th.species {
    width: 5vw;
}
.periodicity_data td.ls_name {
    min-width: 7vw;
}
.subscript{
    font-size: .5vw !important;
    text-align:center;
}
.month_label{
    text-align:center;
}
.rating{
    background: yellow;
    text-align: center;
    width: 7vw;
}
#fish_use{
    border-collapse: separate;
}
#fish_use th{
    margin: 1.5vw;
    border: solid 1vw #ECECEC;
}
#fish_use td{
    margin:1vw;
    border: solid 1vw #ECECEC;
}
.utilization_name{
    width: 42vw;
}
.limiting_factor_score,
.lf_score,
.limiting_factor_comments {
    border: solid 1vw #ECECEC;
    padding: .5vw;
}
.limiting_factor_row{
    border: 1vw solid #ECECEC;
}
.list-group-item{
    cursor: pointer;
    -webkit-border-radius: 0vw !important;
    -moz-border-radius: 0vw !important;
    border-radius: 0vw !important;
}
.list-group-head p,
.list-group-item p{
    display: inline-block;
    font-size: 1.25vw;
    margin: 0;
    text-align: center;
    padding:0;
}
.list-group-head{
    color:white;
    background: #ef9502;
    margin-left: 2vw;
    margin-right: 2vw;
}
.list-group-head{
    padding: 1vw;
}
.list-group a{
    padding: 1vw;
}
.bsr_detail .tier_I, 
.bsr_detail .tier_II, 
.bsr_detail .tier_III{
    width: 2vw;
    height: 2vw;
    font-size: 1.5vw !important;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
.tier_I, .tier_II, .tier_III {
    width: 1vw;
    height: 1vw;
    color: white;
    text-align: center;
    font-family: serif;
    border-radius: .2vw .2vw .2vw .2vw;
    -moz-border-radius: .2vw .2vw .2vw .2vw;
    -webkit-border-radius: .2vw .2vw .2vw .2vw;
    padding: 0vw !important;
    vertical-align: middle;
    font-size: .75vw !important;
}
.tier_I{
    background: red;
}
.tier_II{
    background: blue;
}
.tier_III{
    background: green;
}
table .comment{
    background: white;
    width: 40%;
}
.normal{
    font-weight: normal !important;
    font-style: normal !important;
}
#rest_actions tr,
#limiting_factors tr{
    border: 1vw solid #ECECEC;
}
tr.clickable-row {
    background: white;
    border: 1px solid #ddd;
}
tr.clickable-row:hover {
    background: #4e7db8;
    cursor: pointer;
    color: white !important;
}
.natural_process{
    margin: 1vw;
    padding: 1vw !important;
    display: inline-block;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
.bbs{
    font-weight: bold;
    font-size: 3vw !important;
    background: #000000;
    display: inline-block;
    padding: 1vw !important;
    margin: 3vw;
    margin-bottom: 0;
    line-height: 6vw;
    color: white;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
.other_score{
    font-weight: bold;
    font-size: 3vw !important;
    background: gray;
    display: inline-block;
    padding: 1vw !important;
    margin: 3vw;
    margin-bottom:0vw;
    line-height: 3vw;
    color: white;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}

.long_score,
.bioben{
    border: 0px;
    background: #ffffff;
    border-collapse: separate;
    margin: 2%;
    width: 96% !important;
    font-size:1vw;
}
.long_score th:first-child,
.bioben th:first-child{
     border-radius: .5vw 0vw 0vw 0vw;
    -moz-border-radius: .5vw 0vw 0vw 0vw;
    -webkit-border-radius: .5vw 0vw 0vw 0vw;
}
.long_score th:last-child,
.bioben th:last-child{
     border-radius: 0vw .5vw 0vw 0vw;
    -moz-border-radius: 0vw .5vw 0vw 0vw;
    -webkit-border-radius: 0vw .5vw 0vw 0vw;
}
.long_score th,
.bioben th{
    color: white;
    margin-bottom:0 !important;
    background: #ef9502;
}
.long_score tr,
.bioben tr{
    background: #ffffff;
    margin-top:0 !important;
}
.total_label,
.score_label{
    font-size: .75vw;
    background: gray;
    display: inline-block;
    color: white;
    padding: .25vw;
    border-radius: 0vw 0vw .5vw .5vw;
    -moz-border-radius: 0vw 0vw .5vw .5vw;
    -webkit-border-radius: 0vw 0vw .5vw .5vw;
    margin-bottom:3vw;
    max-width: 5vw;
}
.total_label{
    background:black;
}
.window_nav_bar{
    font-size: 1vw;
    font-weight: bold;
    margin: 2vw;
    margin-bottom: 0;
    background: white;
    color: gray;
    display: inline-block;
    padding: 1vw;
    border: .1vw solid gray;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
.window_nav_bar a{
    color: #ef9502;
    text-decoration: none;
    padding-left:1vw;
    padding-right:1vw;
}
.window_nav_bar a:first-child{
    padding-left: 0;
}
.window_nav_bar a:hover{
    color: gray;
}
.page_landed{
    padding-left: 1vw;
}
#opportunities tr{
    color: black;
}
#opportunities th{
/*    transform: rotate(310deg) ;
    -webkit-transform: rotate(310deg) ;
    -moz-transform: rotate(310deg) ;
    -o-transform: rotate(310deg) ;
    -ms-transform: rotate(310deg) ;*/
    height: 20vw;
    white-space: nowrap;
    font-size: .75vw;
    border-right: .1vw solid gray;
    max-width: 3.2vw;
}
#opportunities th > div{
    transform:
        translate(0vw, 7.5vw)
        rotate(-90deg);
    -webkit-transform:
        translate(0vw, 7.5vw)
        rotate(-90deg);
    -moz-transform:
        translate(0vw, 7.5vw)
        rotate(-90deg);
    -o-transform: 
        translate(0vw, 7.5vw)
        rotate(-90deg);
    -ms-transform:
        translate(0vw, 7.5vw)
        rotate(-90deg);
    width:4vw; 
}
#opportunities th > div > span{
    padding: .5vw; 
}
#opportunities th:first-child > div{
    transform:
        translate(0vw, 9vw)
        rotate(0deg);
    -webkit-transform:
        translate(0vw, 9vw)
        rotate(0deg);
    -moz-transform:
        translate(0vw, 9vw)
        rotate(0deg);
    -o-transform: 
        translate(0vw, 9vw)
        rotate(0deg);
    -ms-transform:
        translate(0vw, 9vw)
        rotate(0deg);
}
#opportunities th:before{
    content: ""
    padding-top: 110%;/* takes width as reference, + 10% for faking some extra padding */
    display: inline-block;
    vertical-align: middle;
}
#opportunities th:first-child {
    min-width: 10vw;
}
.green_field{
    background: #008000 !important;
    color: white;
    border-bottom: .1vw solid #008000;
    border-right: 0px !important;
}
.opp_edit,
.bsr_edit{
    background: #ef9502;
    color: white;
    padding: 1vw;
    font-size: 1vw;
    font-weight: bold;
    margin-right: 2vw;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
.edit_p_cell:hover{
    cursor: pointer;
    outline: .25vw solid #000000 !important;
}
.np_container{
    margin: 1vw;
    display: inline-block;
}
.fc_td{
    margin: 0 !important;
}
.fc_td:hover,
.edit_water_flow:hover,
.edit_water_right:hover,
.np_container:hover{
    cursor: pointer;
    outline: .25vw solid #000000 !important;
}
#update_p{
    display: none;
}
#update_p:hover{
    background: #4e7db8;
    cursor: pointer;
}
.link_button_hover:hover{
    background: #4e7db8;
    cursor: pointer;
}
#new_life_stage_form{
    padding: 2vw;
    display:none;
}
#new_limiting_factor_form select{
    width:20vw;
}
#bsr_form select,
#bsr_form input,
#bsr_form textarea,
#add_opp_lf select,
#new_opp_form select,
#new_opp_form textarea,
#new_opp_form input,
#new_limiting_factor_form select,
#new_limiting_factor_form textarea,
#new_fish_util_form input,
#new_fish_util_form textarea,
#new_life_stage_form select,
#new_life_stage_form input{
    outline: none;
    border: 0;
    padding: 1vw;
    color: gray;
    margin: 1vw;
    vertical-align: top;
}
#bsr_form textarea,
#new_opp_form textarea,
#new_limiting_factor_form textarea,
#new_fish_util_form textarea{
    height: 6vw;
}
#bsr_form label,
#add_opp_lf label,
#new_opp_form label,
#new_limiting_factor_form label,
#new_fish_util_form label,
#new_life_stage_form label{
    color: gray;
    margin: 1vw;
    margin-bottom: 0vw;
    font-size: 1vw;
}
#bsr_form .submit,
#new_opp_form .submit,
#new_limiting_factor_form .submit,
#new_fish_util_form .submit,
#new_life_stage_form .submit{
    color: white;
    background: #ef9502;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
    margin:1vw;
}
#edit_tier:hover,
.rest_action .rating:hover,
.limiting_factor_score.rating:hover,
.fish_use_score_edit.rating:hover{
    outline: .25vw solid #000000 !important;
    cursor: pointer;
}
#new_limiting_factor_form,
#new_fish_util_form{
    display: none;
}
#new_fish_util_form #id_comment{
    resize: none;
}
#rest_actions .comment:hover{
    cursor: text;
    outline: .25vw solid #000000 !important;
}
#rest_actions .comment:focus{
    outline: .25vw solid #4E7DB8 !important;
}
#new_opp_form{
    width: 25vw;
    text-align:left;
    margin-left: -2vw;
}
#new_opp_form label{
    display:block;
}
#new_opp_form select,
#new_opp_form #id_opportunity_name,
#new_opp_form textarea{
    width: 25vw;
}
#new_opp_form input .submit{
    width: initial;
}
#no_opp_map{
    height: 30vw;
    margin: 2vw;
    background: repeating-linear-gradient(
         45deg, 
         #f3f3f3, 
         #f3f3f3 2vw, 
         lightgray 2vw, 
         lightgray 4vw 
    );
    border: .2vw solid black;
}
#no_opp_map h4{
    font-size: 1.5vw; 
    text-align: center;
    background: #f3f3f3;
    -moz-transform: translate(0px, 13.5vw);
    -webkit-transform: translate(0px, 13.5vw);
    -o-transform: translate(0px, 13.5vw);
    -ms-transform: translate(0px, 13.5vw);
    transform: translate(0px, 13.5vw);
    display: inline-block;
    padding: 1vw;
    border: .2vw solid black;
    border-radius: .5vw .5vw .5vw .5vw;
    -moz-border-radius: .5vw .5vw .5vw .5vw;
    -webkit-border-radius: .5vw .5vw .5vw .5vw;
}
.feasability th{
    height: 25vw;
    white-space: nowrap;
    font-size: 1vw;
    border-right: .1vw solid gray;
    text-align: left;
    padding-left:2vw;
}
.feasability th > div{
    transform:
        translate(40%, 7.5vw)
        rotate(-90deg);
    -webkit-transform:
        translate(40%, 7.5vw)
        rotate(-90deg);
    -moz-transform:
        translate(40%, 7.5vw)
        rotate(-90deg);
    -o-transform: 
        translate(40%, 7.5vw)
        rotate(-90deg);
    -ms-transform:
        translate(40%, 7.5vw)
        rotate(-90deg);
    width:5vw;

}
.feasability th > div > span{
    padding: .5vw; 
}
.feasability th:before{
    padding-top: 110%;/* takes width as reference, + 10% for faking some extra padding */
    display: inline-block;
    vertical-align: middle;
}
.feasability td{
    background: white;
    font-size:1vw;
}
#edit_desc,
.edit_opp_comment{
    background: white;
}
#edit_desc:hover,
.edit_opp_comment:hover{
    cursor: text;
    outline: .25vw solid #000000;
}
.view_opp_map{
    padding: .5vw;
    background: white !important;
    color: #ef9502 !important;
    position: absolute;
    right: .75vw;
    vertical-align: top;
    margin-bottom: 0;
    top: .75vw;
}
.bsr_table{
    margin 2vw;
}
.bsr_table th {
    background: #ef9502;
    color: white;
    padding: .5vw;
    font-size: 1vw;
    text-align:center;
}
.bsr_table td {
    padding: .5vw;
    text-align: center;
    font-size: .75vw;
}
.bsr_table .clickable-row{
    background: #ffffff;
}
button#viewLogButton {
    float: right;
    /* vertical-align: bottom; */
    margin-top: 3.15vw;
    margin-right: 2vw;
}
#change_log_window{
    display: none;
    position: absolute;
    top: calc(50% - 10vw);
    left: 25%;
    /* top: -webkit-calc(50% - 10vw); */
    top: -moz-calc(50% - 10vw);
    padding: 2vw;
    width: 50%;
    background: #f3f3f3;
    border: 1px solid black;
}
#change_log_text{
    resize: none;
    overflow-y: scroll;
}
#periodicity_note{
    resize: none; 
    font-size: 1vw; 
    width: 100%;
    padding: .5vw;
    height: 8vw;
    overflow-y: scroll;
}
.delete_opp_link{
    color: red;
}
.delete_opp_link:hover{
    color: white;
}
.edit_bsr_opps th > div{
    width: 3.7vw !important;
}