﻿
/* --------------------------------------
   Typography
   -------------------------------------- */


html {
    position: relative;
    min-height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: "Segoe UI","Helvetica-neue", Helvetica,Arial,sans-serif;
    padding-top: 50px;
    /* Margin bottom by footer height */
    margin-bottom: 40px;
    /*color:#000 !important;*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 50px;
    background-color: #f5f5f5;
}

.footer-text {
    color: #fff;
    text-decoration: none !important;
}


.text-wrap {
    white-space: inherit !important;
}


.font-weight-bold {
    font-weight: 700;
}

.ews-mobile-field-label {
    min-width: 90px !important;
    padding-bottom: 6px;
    padding-top: 6px;
    display: inline-block !important;
    text-align: left;
}

.ews-mobile-header {
    color: #033C73;
}

a.ews-mobile-action {
    color: #033C73 !important; /*#0d527a #317eac;*/
    text-decoration: none !important;
    font-weight: 700;
}

    a.ews-mobile-action :hover {
        color: orange !important;
        text-decoration: none !important;
        font-weight: 700;
    }

a:hover {
 cursor:pointer;
}

hr.ews-mobile-hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #033C73; /*#2fa4e7;*/  /*#317eac;*/
    margin: 1em 0;
    padding: 0;
}


hr.content-start {
    padding: 0px !important;
    margin: 0px !important;
    border-top: 0px solid navy;
}

.maincontent {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.full-width-row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}



.map-row-highlight {
    background-color: #ffd8a3 !important; /* #f18d00 orange #f6ba66 Google Maps #d6e9c8  #bbdaa4 */
}

a.action {
    color: #033C73 !important; /*#0d527a #317eac;*/
    text-decoration: none !important;
    font-weight: 700;
}

    a.action :hover {
        color: orange !important;
        text-decoration: none !important;
        font-weight: 700;
    }

/*BootStrap Overrides*/
/*.form-control-static {
    padding-top:0px;
    padding-bottom:0px;
    min-height:inherit !important;
}*/


.ews-menu-text {
    font-size:16px;
}

.ews-menu-text-lg {
    font-size:18px;
}

.form-control-feedback {
    position: relative !important;
    width: auto !important;
    text-align: left;
}

/*END BootStrap Overrides*/
.alert-outline {
    background-color: white;
}

.btn-outline {
    background-color: white;
}


/*footer {
    background: #333;
    color: #eee;
    font-size: 11px;
    padding: 20px;
}*/



.text-lg {
    font-size: 16px !important;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 7px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #2fa4e7; /*#428bca;*/
}

    .bs-callout-primary h4 {
        color: #2fa4e7; /*#428bca;*/
    }

.bs-callout-success {
    border-left-color: #73a839; /*#5cb85c;*/
}

    .bs-callout-success h4 {
        color: #73a839; /*#5cb85c;*/
    }

.bs-callout-danger {
    border-left-color: #c71c22; /*#d9534f;*/
}

    .bs-callout-danger h4 {
        color: #c71c22; /*#d9534f;*/
    }

.bs-callout-warning {
    border-left-color: #dd5600; /*#f0ad4e;*/
}

    .bs-callout-warning h4 {
        color: #dd5600; /*#f0ad4e;*/
    }

.bs-callout-info {
    border-left-color: #033c73; /*#5bc0de;*/
}

    .bs-callout-info h4 {
        color: #033c73; /*#5bc0de;*/
    }




.rotate-45 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.5);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Hide validation summary duplicate messages */
/*.valsummary {
    color: #b94a48;
    margin-bottom: 20px;
    font-weight: bold;
}

    
    .valsummary ul {
        display: none;
        visibility: hidden;
    }*/


/*div#crushGvDiv, div#crushGvDiv div { padding: 0; margin: 0; }*/
div#crushGvDiv div {
    padding: 0;
    margin: 0;
}

.required {
    color: #b94a48 !important;
}


/* Old Table Styles */
.ews-list-row {
    color: #fff !important;
    background-color: #0d527a !important;
    font-weight: bold !important;
    vertical-align: middle !important;
    line-height: 25px !important;
}

    .ews-list-row a {
        color: #fff !important;
    }



table.moderntable {
    border: none !important;
    color: #000;
}

    table.moderntable th {
        color: #033C73; /*#fff;*/
        background-color: #B8C8D8; /*#0d527a;*/
        font-weight: bold;
        vertical-align: middle;
        line-height: 2 !important;
        border: none !important;
    }

        table.moderntable th:first-child {
            border-radius: 7px 0 0 7px !important;
        }

        table.moderntable th:last-child {
            border-radius: 0 7px 7px 0 !important;
        }



.text-bold {
    font-weight: bolder;
}

table.moderntable th:only-child {
    border-radius: 7px 7px 7px 7px !important;
}

table.moderntable th a {
    color: #033C73 !important; /*#fff !important;*/
}

table.moderntable tr:first-child td {
    border: 0 !important;
}

table.moderntable tr:nth-child(2) td {
    border: 0 !important;
}

/*table.moderntable tr:last-child td {
    border: 0 !important;
}*/



table.moderntable th.ews-mobile-view {
    border-radius: 7px 7px 7px 7px !important;
    line-height: 2 !important;
}

table.moderntable td.ews-mobile-view {
    line-height: 1.42857143 !important;
}


/*table.moderntable .ews-header-row {
    color: #fff !important;
    background-color: #0d527a !important;
    font-weight: bold !important;
    vertical-align: middle !important;
}

.ews-list-row1 a {
    color: #fff !important;
}

.ews-list-row1 th {
    line-height: 2 !important;
}*/


tr.row-highlight {
    font-weight: bold;
    background-color: #DCE5EB;
}


.ews-badge-primary {
    background-color: #2fa4e7;
}

.ews-badge-success {
    background-color: #73a839;
}

.ews-badge-info {
    background-color: #033c73;
}

.ews-badge-warning {
    background-color:#dd5600;
}

.ews-badge-danger {
    background-color: #c71c22;
}

.ews-default-color {
    color: #1995dc;
}

hr.dashed {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}

hr.gradient {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

hr.nogradient {
    border-top: 1px solid silver;
    height: 1px;
    /*background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);*/
}


.ews-alert-warning {
    background-color: #dd5600 !important;
    border-color: #dd5600 !important;
    color: #ffffff !important;
    linear-gradient(#ff6707, #dd5600 60%, #c94e00) !important;
}

.ews-alert-info {
    background-color: #033c73 !important;
    border-color: #033c73 !important;
    color: #ffffff !important;
    linear-gradient(#04519b, #033c73 60%, #02325f) !important;
}


    .ews-alert-info a {
        color: #ffffff !important;
        text-decoration: underline;
    }


.ews-tidal-model-info {
    background-color: #dedded !important;
    border-color: #7570b3 !important;
    color: #443e75 !important;
    /*linear-gradient(#ccc, #9f9f9f 60%, #7) !important;*/
}

.ews-tidal-model-error {
    background-color: #e2e3e5 !important;
    border-color: #d6d8db !important;
    color: #383d41 !important;
    /*linear-gradient(#ccc, #9f9f9f 60%, #7) !important;*/
}

.ews-tidal-model-header {
    color: #000 !important;
}

.ews-affected-intake-info {
    background-color: #e2e3e5 !important;
    border-color: #d6d8db !important;
    color: #383d41 !important;
    /*linear-gradient(#ccc, #9f9f9f 60%, #7) !important;*/
}

.ews-btn-primary-action {
    min-width: 200px;
}

.ews-col-id {
    width: 60px;
}

.ews-col-action {
    width: 110px;
}


.ews-max-width {
    max-width: 1000px !important;
}

.ews-container {
    margin-top: 10px;
}

.ews-container-fluid {
    margin-top: 10px;
}


.ews-radio {
    margin-right:10px;
}

.ews-radio input[type="radio"] {
    margin-right:5px;
}

/* 
    Change link text for Bootstrap collapse after toggling
    https://www.sitepoint.com/community/t/can-i-change-button-text-based-on-bootstrap-collapsed-status/249653/2 
*/
.ews-collapsible span.ews-collapse {
    display: inline;
}

.ews-collapsible:not(.collapsed) span.ews-expand {
    display: none;
}

.ews-collapsible.collapsed span.ews-collapse {
    display: none;
}


.ews-disabled {
    color: #999999; /*#dcdad1;*/
    pointer-events: none;
    cursor: default;
}


.vertical-align-bottom {
    display: flex;
    align-items: baseline;
}

.new-cell {
    font-weight: bold;
}

.new-row td:not(.ews-mobile-view) {
    font-weight: bold;
}

/*  Home Styles */

.home-row td, th {
    line-height: 2.5 !important;
}

.home-last-row {
    border-bottom: 1px solid #dddddd;
}

.ews-home-header {
    color:#000;
}

.new-event-row td:not(.ews-mobile-view) {
    font-weight: bold;
}

.ews-reported-status {
    color: #000;
}

.ews-updated-status {
    color: #dd5600;
    /*color: #A32100;*/
}

.ews-resolved-status {
    color: #73A839;
    /*color: #295F08;*/
}


/* Login */
.ews-login-form {
    background: linear-gradient(180deg, #2FA4E7 15.47%, rgba(255, 255, 255, 0) 100%), rgba(233, 236, 239, 0.75);
    max-width:440px;
    height:100vh;
}

.alternate-header-color {
    color:#555;
}

/* Tidal Model Status Table */
.tidal-status-failure {
    color: #D10631;
}

.tidal-status-alert {
    color: #dd5600;
}

.tidal-status-success {
    color: #73A839;
}

.tidal-status-running-row td:not(.ews-mobile-view) {
    font-weight: bold;
}


/* Quick Padding Classes */

.p-0 {
    padding: 0px !important;
}

.p-2 {
    padding: 2px !important;
}

.p-3 {
    padding: 3px !important;
}

.p-5 {
    padding: 5px !important;
}

.p-10 {
    padding: 10px !important;
}

.p-15 {
    padding: 15px !important;
}

.p-20 {
    padding: 20px !important;
}

.p-30 {
    padding: 30px !important;
}

.p-40 {
    padding: 40px !important;
}

.p-50 {
    padding: 50px !important;
}

.pr-0 {
    padding-right: 0px !important;
}

.pr-2 {
    padding-right: 2px !important;
}

.pr-3 {
    padding-right: 3px !important;
}

.pr-5 {
    padding-right: 5px !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.pr-15 {
    padding-right: 15px !important;
}

.pr-20 {
    padding-right: 20px !important;
}

.pr-30 {
    padding-right: 30px !important;
}

.pr-40 {
    padding-right: 40px !important;
}

.pr-50 {
    padding-right: 50px !important;
}

.pl-0 {
    padding-left: 0px !important;
}

.pl-2 {
    padding-left: 2px !important;
}

.pl-3 {
    padding-left: 3px !important;
}

.pl-5 {
    padding-left: 5px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pl-15 {
    padding-left: 15px !important;
}

.pl-20 {
    padding-left: 20px !important;
}

.pl-30 {
    padding-left: 30px !important;
}

.pl-40 {
    padding-left: 40px !important;
}

.pl-50 {
    padding-left: 50px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-2 {
    padding-bottom: 2px !important;
}

.pb-3 {
    padding-bottom: 3px !important;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-15 {
    padding-bottom: 15px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.pb-40 {
    padding-bottom: 40px !important;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pt-2 {
    padding-top: 2px !important;
}

.pt-3 {
    padding-top: 3px !important;
}

.pt-5 {
    padding-top: 5px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pt-15 {
    padding-top: 15px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pt-40 {
    padding-top: 40px !important;
}

.pt-50 {
    padding-top: 50px !important;
}

.py-0 {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.py-2 {
    padding-bottom: 2px !important;
    padding-top: 2px !important;
}

.py-3 {
    padding-bottom: 3px !important;
    padding-top: 3px !important;
}

.py-5 {
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

.py-10 {
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}

.py-15 {
    padding-bottom: 15px !important;
    padding-top: 15px !important;
}

.py-20 {
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

.py-30 {
    padding-bottom: 30px !important;
    padding-top: 30px !important;
}

.py-40 {
    padding-bottom: 40px !important;
    padding-top: 40px !important;
}

.py-50 {
    padding-bottom: 50px !important;
    padding-top: 50px !important;
}

.px-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.px-2 {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.px-3 {
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.px-5 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.px-10 {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.px-15 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.px-20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.px-30 {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.px-40 {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.px-50 {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* Quick Margin Classes */

.m-0 {
    margin: 0px !important;
}

.m-2 {
    margin: 2px !important;
}

.m-3 {
    margin: 3px !important;
}

.m-5 {
    margin: 5px !important;
}

.m-10 {
    margin: 10px !important;
}

.m-15 {
    margin: 15px !important;
}

.m-20 {
    margin: 20px !important;
}

.m-30 {
    margin: 30px !important;
}

.m-40 {
    margin: 40px !important;
}

.m-50 {
    margin: 50px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.ml-2 {
    margin-left: 2px !important;
}

.ml-3 {
    margin-left: 3px !important;
}

.ml-5 {
    margin-left: 5px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.ml-15 {
    margin-left: 15px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.ml-30 {
    margin-left: 30px !important;
}

.ml-40 {
    margin-left: 40px !important;
}

.ml-50 {
    margin-left: 50px !important;
}


.mr-0 {
    margin-right: 0px !important;
}

.mr-2 {
    margin-right: 2px !important;
}

.mr-3 {
    margin-right: 3px !important;
}

.mr-5 {
    margin-right: 5px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.mr-15 {
    margin-right: 15px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.mr-30 {
    margin-right: 30px !important;
}

.mr-40 {
    margin-right: 40px !important;
}

.mr-50 {
    margin-right: 50px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-2 {
    margin-top: 2px !important;
}

.mt-3 {
    margin-top: 3px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-50 {
    margin-top: 50px !important;
}


.mb-0 {
    margin-bottom: 0px !important;
}

.mb-2 {
    margin-bottom: 2px !important;
}

.mb-3 {
    margin-bottom: 3px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}


.my-0 {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

.my-2 {
    margin-bottom: 2px !important;
    margin-top: 2px !important;
}

.my-3 {
    margin-bottom: 3px !important;
    margin-top: 3px !important;
}

.my-5 {
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}

.my-10 {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
}

.my-15 {
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}

.my-20 {
    margin-bottom: 20px !important;
    margin-top: 20px !important;
}

.my-30 {
    margin-bottom: 30px !important;
    margin-top: 30px !important;
}

.my-40 {
    margin-bottom: 40px !important;
    margin-top: 40px !important;
}

.my-50 {
    margin-bottom: 50px !important;
    margin-top: 50px !important;
}


.mx-0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.mx-2 {
    margin-left: 2px !important;
    margin-right: 2px !important;
}

.mx-3 {
    margin-left: 3px !important;
    margin-right: 3px !important;
}

.mx-5 {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.mx-10 {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.mx-15 {
    margin-left: 15px !important;
    margin-right: 15px !important;
}

.mx-20 {
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.mx-30 {
    margin-left: 30px !important;
    margin-top: 30px !important;
}

.mx-40 {
    margin-left: 40px !important;
    margin-top: 40px !important;
}

.mx-50 {
    margin-left: 50px !important;
    margin-top: 50px !important;
}
