/*
 * These list elements return to fairly default
 * margins compared to those set in water.css,
 * for the SSF contents main mpanels applying
 * to most of our pages.
 * See: https://gitlab.bom.gov.au/ehp/wafari-web/issues/16
*/
#ehp_app_main ol, #ehp_app_main ul {
    margin-left: 20px;
}

#page-content ol, #page-content ul {
    margin-left: 20px;
}

#main_panel {
    height: auto;
    margin: 4px;
    padding: 0px;
    background-color: #f4f4f4;
    min-height: 430px;
}

#station_selector_fields {
    line-height: 180%;
    margin-top: 4px;
}

#product_summary {
    overflow: auto;
    padding: 10px;
}

#product_summary p {
    margin-bottom: 10px;
}


#product_data, 
#product_summary, 
#product_info {
    height: 410px;
    background-color: white;
    margin-bottom: 0px;
}

#product_data, 
#product_summary, 
#product_info {
    min-width: 640px;
}

div.panel > ul {
    margin-left: 20px;
}

#ehp_station_profile h3 {
    margin-bottom: 6px;
    margin-top: 4px;
}

#ehp_station_profile dl {
    margin-bottom: 2px;
}

#ehp_station_profile dt {
    line-height: 17px;
}

#ehp_station_profile dd {
    width: 75px;
    padding: 2px 0;
}

#ehp_station_profile .first_dt {
    line-height: 22px;
}

div#ehp_station_profile > :nth-child(3) {
    padding-top: 52px;
}

div#ehp_station_profile > :nth-child(4) {
    padding-top: 46px;
}

#ehp_app_navigation li {
    width: 150px;
}

#ehp_app_navigation li.active {
    background-color: #1862A7;
}

#ehp_app_navigation li.active a {
    color: #FFFFFF;
}

#ehp_lower_panel {
    background-color: #1862A7;
}

#ssf_columns {
    position: relative;
    border: 0;
}

#ssf_columns > .column.left {
    width: 500px;
    float: left;
}

.jumbo {
    margin-bottom: 10px;
    padding: 10px 20px;
    font-size: 112%;
    background-color: #D0DEE5;
}

.jumbo > ul {
    list-style: disc inside none;
}

#ssf_columns > .column.left ul,
#ssf_columns > .column.left p {
    margin: 5px;
}

#ssf_columns > .column.left p {
    text-align: justify;
}

#ssf_columns > .column.right {
    width: 250px;
    float: right;
    border-width: 2px;
    border-style: solid;
    padding: 10px;
    background-color: #D0DEE5;
}

#ssf_columns > .column.right > h3 {
    text-align: center;
    margin: 0px;
}

/*.ssfmap {
    position: relative;
}

div.ssfmap img{
    border: 2px solid #000000;
}

#ssfmaps .ssfmap h3 {
    background-color: #FFFFFF;
    border: 1px solid #000000;
    color: #006699;
    font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
    left: 5px;
    padding: 5px;
    position: absolute;
    top: 5px;
    margin: 0;
}
*/
.ssfmapNote {
    font-size: 90%;
}

#maps > #map_box {
    float: none;
    width: 810px;
    height: 500px;
}

#map_legend ul li {
    padding: 0;
    margin: 0;
}

#map_legend ul {
    list-style: none;
}

#map_legend li {
    float: left;
    padding-left: 10px;
    width: 32%;
}

#map_legend img {
    float: left;
    height: 40px;
}

#map_legend p {
    margin-top: 8px;
    margin-left: 45px;
}

/* AWID Styles - for the glossary pages.*/

button.expand {
    color: #006699;
}

button.expand, .colDL, .expDL {
    border: none;
    background: none;
    font-size: 1.0em;
    text-align: left;
    font-weight: normal;
}

/* styles for skill score page. Minor changes from main ehp_app_navigation */
#skill_page > #ehp_lower_panel > #ehp_app_navigation li {
    width: 200px;
}

#skill_page > #ehp_lower_panel {
    width: 850px;
}

.skill_panel {
    background: #fff;
}

#left_main_panel {
    background-color: #f4f4f4; /* IE doesn't do "unset" properly here */
    width: 146px;
}

#left_main_panel select {
    max-width: 122px;
}

#left_main_panel label {
  cursor: pointer;
  font-weight: normal;
}

#left_main_panel input[type="radio"]:disabled + label {
  color: #999999;
}

#ehp_update_box {
    float: right;
    width: 175px;
    margin: 5px;
    padding-left: 5px;
    background-color: #FFFFFF;
    font-weight:bold;
}

.control_set {
    border: none;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 3px;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-spacing: 0 6px;
}

.control_set_row {
    display:table-row;
}

.control_set_cell {
    display:table-cell;
}

.control_set_input {
    display:table-cell;
    vertical-align:middle;
    margin-top: -1px;
}

#product_options_panel {
    border: none;
}

#content_panel {
    margin-left: 5px;
    margin-right: 5px;
    padding: 70px;
    padding-top: 20px;
    width: 810px;
}

#product_summary .dataTableOne {
    table-layout: fixed;
    width: 100%;
}

#product_summary .dataTableOne td {
    text-align: right;
    padding: .5em;
}

#product_summary .dataTableOne th {
    color: #333333;
    padding: .5em;
}

#product_summary .dataTableOne tr:not(:first-child) > th:not(:first-child) {
    text-align: right;
}

#product_summary .dataTableOne tbody tr:nth-child(even){
  background-color: #f4f4f4;
}

#product_summary .title{
    min-height: 29px;
    height: auto;
}

.skillForm select{
    margin-right: 50px;
    margin-left: 10px;
}

#station_selector > #station_selector_fields {
    padding-left: 8px;
}

#station_selector > #station_selector_fields, #nearby_station_selector, h2:not(:first-child) {
    padding-left: 8px;
}

#station_selector > h2 {
    margin-top: 10px;
    margin-bottom: 4px;
}

#station_selector_fields > select {
    width: 246px;
}

#nearby_station_selector {
    white-space: nowrap;
}

#nearby_station_selector > ul > li {
    margin-bottom: 2px;
}

#download_quick_links a {
    height: auto;
    padding: unset;
    margin: unset;
    font-size: unset;
    text-decoration: unset;
    font-weight: unset;
    text-decoration: none;
    text-align: center;
    text-decoration: underline;
}

#left_main_panel h4 {
    padding-bottom: 4px;
}

#download_box {
    background-color: #1862A7;
    border: 3px solid #1862A7;
    display: table;
}

.download_box_cell {
    display: table-row;
    vertical-align: middle;
}

#forecast_csv_data_container {
    display:table-cell;
    background-color: #FFFFFF;
    vertical-align: middle;
    border-left: 3px solid #1862A7;
    width: 100%;
}

.form_control > select {
    margin-bottom: 8px;
}


#catchment_condition_panel {
    padding: 15px;
}

.message_table {
    background-color: #666666;
    border: 2px solid #666666;
    display: table;
    width: 955px;
    height: 34px;
    margin-bottom: 10px;
}

.message_cell {
    display: table-cell;
    color: white;
    vertical-align: middle;
    text-align: center;
}

.message_right_cell {
    width: 25%;
    font-size: 14px;
}

.message_cell_middle {
    background-color: #f4f4f4;
    text-align: left;
    padding-left: 2%;
}

.message_cell_right {
    background-color: #f4f4f4;
    font-weight: bold;
}

.message_arrow {
    text-decoration: none;
    color: black;
}

#forecast_overview_top {
    position: relative;
    border: 0;
    width: 984px;
    float: left;
}

#forecast_overview_top_table {
    position: relative;
    border: 0;
    display: table; width: 100%;
}

#forecast_overview_top_table_left_cell {
    position: relative;
    border: 0;
    display: table; width: 100%;
}

#dotpoints_container {
    display: table-cell;
    border: 5px;
    border-color: white;
    border-style: solid;
    border-left-width: 0px;
    vertical-align: middle;
    width: 71.7%;
    margin: 5px;
}

#dotpoints_container > #dotpoints {
    margin: 5px;
}

#outlook_video_container {
    align: top;
    border: 0;
    display: table-cell;
    vertical-align: middle;
    border: 5px;
    border-color: white;
    border-style: solid;
    border-right-width: 5px;
}
