/* Left Menu
* This is to match menu of ESS website
* It is likely not proper use of the WET
*/
#wb-sec .sec-menu-h3-alike > a {
    color: #333333;
    display: block;
    text-decoration: none;
    background: none repeat scroll 0 0 #dddddd;
    font-weight: 700;
    padding: 2px 4px;
}

#wb-sec .sec-menu-h3-alike {
    border-bottom: 0 none;
    border-radius: 2px;
    font-size: 100%;
    margin: 0 0 3px;
}

/* Top Menu (19jun13 NRCan Update)
 *
 */
/** site menu **/
#wb-sm .nvbar ul.menu {
    display: table;
    table-layout: fixed;
    margin-bottom: 0;
    width: 100%;
}

#wb-sm .nvbar ul.menu > li {
    display: table-cell;
    float: none;
    position: relative;
    text-align: center;
    vertical-align: middle;
}

#wb-sm .nvbar ul.menu > li a {
    display: table-cell;
    vertical-align: middle;
    padding: 8px 30px 8px 16px;
}

#wb-sm .nvbar ul.menu > li a .expicon {
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -5px;
}

#wb-sm .nvbar ul.menu > li.sm-open,
#wb-sm .nvbar ul.menu > li:hover,
#wb-sm .nvbar ul.menu > li:active {
    background: #cccccc;
    color: #000000;
}

#wb-sm .nvbar .sm.open {
    background: #cccccc;
    border-bottom: 5px solid #cccccc;
    left: 0;
    text-shadow: none;
}

@media screen and (min-width: 992px) {
    #wb-sm .nvbar .sm.open {
        width: 18vw;
    }
}

/*  */

a:link.destroyed {
    color: #bc3331;
}

a:visited.destroyed {
    /*color: #6b1d1c;*/
    color: #bc3331;
}

/***********************
* Mega Menu 
************************/
div.mb-sm-open section {
    float: left;
}
div.mb-main-link {
    clear: both;
}

input[type="button"] {
    white-space: normal;
}

caption.background-medium {
    -webkit-background-size: 100%;
    background-color: rgb(102, 102, 102);
    background-image: linear-gradient(rgb(102, 102, 102), rgb(84, 84, 84));
    background-repeat: repeat-x;
    background-size: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: rgb(255, 255, 255);
    font-family: sans-serif;
    font-size: 13px;
    font-weight: bold;
    height: 19px;
    line-height: 19px;
    margin-bottom: 1px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    text-align: center;
    text-shadow: rgb(34, 34, 34) 0px 1px 1px;
    vertical-align: bottom;
}

strong.error {
    color: red;
    display: block;
}

input[type="email"] {
    min-width: 250px;
}

.display-none {
    display: none !important;
}

.display-none-soft {
    display: none;
}

.display-block-soft {
    display: block;
}

.display-inline-soft {
    display: inline;
}

.borderme {
    border: 1px solid #ccc;
}

div.error li {
    margin-bottom: 5px;
}

#register strong {
    color: red;
}

.center-block {
    margin-left: auto;
    margin-right: auto;
}

/*******************************************
* Map Pages 
 *******************************************/
#tab_stations {
    overflow: auto;
}

.popup {
    padding: 20px 20px 20px 20px;
}

.popupClose {
    text-decoration: none;
    margin-left: 10px;
}

input.width-small {
    width: 90px;
}

div.pad {
    padding: 5px;
}

/*******************************************
 *  GPSH & TRX
 *******************************************/
#trx .rowOneInputs {
    padding-left: 10px;
    padding-right: 10px;
}

#trx .outputInputs {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 6px;
}

#trx .wet-boew-tabbedinterface .tabs {
    border-right: 1px solid #ccc;
}

#trx .lookDisabled {
    background-color: #f0f0f0;
    color: black;
}

#trx div.interp {
    padding: 3px 10px 0px 5px;
    margin: 0px 8px 0px 2px;
}

#inline_login div.lightbox {
    width: 24em;
    margin: 10px;
    padding: 20px;
}

div.multipleColumns {
    padding: 1px;
}

div.multipleColumns:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

#trx input[type="checkbox"],
#gpsh input[type="checkbox"],
#ntv2 input[type="checkbox"],
#indir input[type="checkbox"] {
    margin: 0px 3px 0px 3px;
}

input[type="date"] {
    width: 164px;
    height: 38px;
}

div.multipleColumns div.col10 {
    float: left;
    max-width: 9%;
    padding-right: 10px;
}

div.multipleColumns div.col5 {
    float: left;
    max-width: 19%;
    padding-right: 10px;
}

div.multipleColumns div.col4 {
    float: left;
    max-width: 24%;
    padding-right: 5px;
}

@media only screen and (min-width: 760px) and (max-width: 1024px) {
    div.multipleColumns div.s-col2 {
        float: left;
        max-width: 48%;
        padding-right: 5px;
    }

    div.clearFloat {
        clear: left;
    }

    div.multipleColumns div.s-col3 {
        float: left;
        max-width: 32%;
        padding-right: 5px;
    }
}

@media only screen and (max-width: 740px) {
    div.multipleColumns div.xs-col1 {
        float: left;
        max-width: 98%;
    }

    div.clearFloat {
        clear: left;
    }

    div.multipleColumns div.xs-col3 {
        float: left;
        max-width: 32%;
        padding-right: 5px;
    }
}

div.multipleColumns div.col2 {
    float: left;
    max-width: 48%;
    padding-right: 5px;
}

div.multipleColumns section.col10 {
    float: left;
    max-width: 9%;
}

div.multipleColumns section.col5 {
    float: left;
    max-width: 19%;
}

div.multipleColumns section.col4 {
    float: left;
    max-width: 24%;
}

div.multipleColumns section.col2 {
    float: left;
    max-width: 48%;
}

div.multipleColumns div input,
div.multipleColumns div select {
    margin-right: 5px;
}

/*******************************************
 *  Output tables
 *******************************************/
.ie8 table.ouput {
    float: left;
    display: block;
    margin-top: 0px;
    border: 1px solid lightgrey;
}

.ie8 table.output tbody {
    float: left;
    display: block;
    width: 100%;
}

.ie8 table.output caption {
    text-align: left;
    margin: 0px 0px 0px 16px;
    font-weight: bold;
    font-size: 1.1em;
}

.ie8 table.output th {
    float: left;
    display: block;
    padding: 8px 0px 0px 0px;
    border: none;
    background-color: white;
    text-align: left;
    font-weight: normal;
    width: 95%;
}

.ie8 table.output tr {
    float: left;
    display: inline-block;
    margin: 0px -5px 10px 5px;
    /* used -5px because I don't know why there is spacing between rows */
    min-width: 32%;
}

.ie8 table.outputs td {
    float: left;
    display: block;
    border: 1px solid #c8c8c8;
    background-color: #f0f0f0;
    height: 1.5em;
    width: 90%;
}

.ie8 #gpsh table.output td {
    width: 84%;
}

table.output,
table.multicolumnoutput {
    /*margin-top: 0px; */
    /*border: 1px solid lightgrey; */
    border-style: none;
    width: 100%;
    margin: 0px;
    padding: 0px 3px 10px 3px;
}

table.output tbody {
    display: block;
}

table.output caption,
table.multicolumnoutput caption {
    text-align: left;
    margin: 0px 0px 0px 16px;
    font-weight: bold;
    font-size: 1.1em;
}

table.output th {
    display: block;
    padding: 8px 0px 0px 0px;
    border: none;
    background-color: white;
    text-align: left;
    font-weight: normal;
}

table.output tr {
    display: inline-block;
    margin: 0px -5px 10px 5px;
    /* used -5px because I don't know why there is spacing between rows */
    min-width: 32%;
}

table.output td {
    display: block;
    border: 1px solid #c8c8c8;
    background-color: #f0f0f0;
    height: 2.5em;
    padding: 8px 5px 8px 10px;
    border-radius: 5px;
}

#gpsh table.output tr {
    /*min-width: 19%;*/
}

#indir table.multicolumnoutput td {
    width: 20%;
}

#indir table.multicolumnoutput th {
    width: 1%;
}

table.multicolumnoutput {
    border-collapse: separate;
    border-spacing: 5px;
    margin-left: 0px;
}

table.multicolumnoutput th {
    border: none;
    background-color: white;
    text-align: left;
    font-weight: normal;
    padding: 0px;
}

table.multicolumnoutput tr.data th {
    text-align: right;
    width: 1px;
    white-space: nowrap;
    vertical-align: middle;
}

table.multicolumnoutput td {
    border: 1px solid #c8c8c8;
    background-color: #f0f0f0;
    height: 2.5em;
    padding: 8px 5px 8px 10px;
    border-radius: 5px;
}

/********************************************
* Station reports and graph reports
********************************************/

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stationreport table.output {
    border-style: none;
    width: 100%;
    margin: 0px;
    padding: 0px 3px 10px 3px;
}

.stationreport table.output tbody.plan tr {
    min-width: 24%;
}

#listSeries {
    list-style-type: none;
}

#timeseries {
    margin: 10px 0px 25px 0px;
}

#divRes1,
#divRes2,
#divRes3,
#divRes4 {
    height: 200px;
    max-width: 95%;
    line-height: 1.2em;
}

@media print {
    .newPage {
        page-break-before: always;
        page-break-inside: avoid;
    }

    .printableContainer {
        margin: 0px 0px 10px 0px !important;
        page-break-inside: avoid;
    }

    img.left {
        float: left;
        width: 50%;
    }

    img.right {
        float: right;
        width: 50%;
    }

    /* Temporary quickfix for printing on IE and Mozilla Firefox */

    h1 {
        font-size: 14px !important;
    }

    h2 {
        font-size: 12px !important;
    }

    h3 {
        font-size: 11px !important;
    }

    h4 {
        font-size: 10px !important;
    }

    h5 {
        font-size: 10px !important;
    }

    h6 {
        font-size: 10px !important;
    }

    body {
        font-size: 8px !important;
        width: 100%;
    }

    @-moz-document url-prefix() {
        h1 {
            font-size: 14px !important;
        }

        h2 {
            font-size: 12px !important;
        }

        h3 {
            font-size: 11px !important;
        }

        h4 {
            font-size: 10px !important;
        }

        h5 {
            font-size: 10px !important;
        }

        h6 {
            font-size: 10px !important;
        }

        body {
            font-size: 9px !important;
            width: 100%;
        }
    }
}

/********************************************
* Form Styling
********************************************/

.label-lg {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .label-lg {
        font-size: 24px;
    }
}
