﻿html, body {height:100%}

#map-container {width:100%;height:100%;background-color:#dbdbdb;padding-top:0px;}
#map {
    width: 100%;
    height: 100%;
    background-color: #dbdbdb;
}
.bg-dark {
    background-color: #457fa3 !important;
}
.leaflet-popup-content h4 {margin-top:20px;margin-bottom:10px;line-height:1.1;color:#ffffff;background-color:#457fa3;padding:5px;border-radius:5px;border:1px solid #457fa3; }

.leaflet-popup-content h4.advice {
        background-color: #d9edf7;
        border-color: #bcdff1;
        color: #31708f;
    }

    .leaflet-popup-content h4.watch {
        background-color: #fcf8e3;
        border-color: #faf2cc;
        color: #8a6d3b;
    }
    .leaflet-popup-content h4.emergency {
        background-color: #f2dede;
        border-color: #ebcccc;
        color: #a94442;
    }
    .leaflet-popup-content h4.Renewable {
        background-color: #98c73a;
        border-color: #faf2cc;
        color: #333333;
    }

.leaflet-popup-content h5 {margin-bottom: 8px;line-height: 1.1;}
.leaflet-popup-content dl {display: inline-block;min-width: 300px;margin-bottom:10px;}
.leaflet-popup-content dt {width: 30%;float: left;}
.leaflet-popup-content dd {width: 70%;float: left;}

.leaflet-popup-content dl.dates dt {font-size:80%;}
.leaflet-popup-content dl.dates dd {font-size:80%;}
.logo {cursor:pointer;}

.disctab {margin:15px 15px 15px 30px;}
.disctab td {text-align:left;vertical-align:top;padding:0px 5px 0px 0px;}
.disctab img {width:20px;height:auto;padding:0px 5px 5px 0px;}

.leaflet-bar button,
.leaflet-bar button:hover {
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 26px;
    height: 26px;
    line-height: 26px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
}

.leaflet-bar button {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    overflow: hidden;
    display: block;
}

    .leaflet-bar button:hover {
        background-color: #f4f4f4;
    }

    .leaflet-bar button:first-of-type {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .leaflet-bar button:last-of-type {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        border-bottom: none;
    }

    .leaflet-bar.disabled,
    .leaflet-bar button.disabled {
        cursor: default;
        pointer-events: none;
        opacity: .4;
    }

.easy-button-button .button-state {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}


.leaflet-touch .leaflet-bar button {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

@media only screen and (max-width: 500px) {
    .leaflet-popup-content {
        max-width: 220px;
    }
    .leaflet-popup-content dl {
        min-width: auto;
    }
}
.ship-photo {
    width: 100%;
    max-width: 300px;
    margin-bottom:10px;
}
.ship-photo img {width:100%;height:auto;}
.info-box {max-height:350px;overflow-y:auto;overflow-x:hidden;}
table.pws {width:100%;}
table.pws td {vertical-align:top;}

#menuFlyout-outer {
    width: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    float: right;
    height: 100%;
    top: 60px;
    right: -305px;
    position: fixed;
    z-index: 1001;
    padding-top: 15px;
    box-shadow: 2px 2px 3px rgba(33, 33, 33, 0.7);
    background-color: #eeeeee;
    opacity: 0.95;
}

.nav-background {
    background-color: #ffffff;
}

#btnMenuToggle {
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 99999;
    color: #dbdbdb;
    font-size: 36px;
}

.navbar-toggler {
    margin-right: 25px;
}

.filter-outer {
    margin-top: 40px;
    background-color: #eeeeee;
}

.filter-container {
    display: inline-block;
    margin: 0px 0px 15px 25px;
    background-color: #eeeeee;
    padding: 0px 15px 0px 0px;
}

.filter-group {
    clear: both;
}

.filter-group-title {
    font-size: 14px;
    font-weight: normal;
    padding: 0px 0px 0px 15px;
}

.filter-row {
    clear: both;
    width: 270px;
    padding: 0px 15px 0px 5px;
    box-sizing: border-box;
    display: inline-block;
}

.filter-check {
    width: 30px;
    float: left;
    padding-left: 15px;
    display: inline-block;
    padding-top: 5px;
}

.filter-image {
    width: 25px;
    float: left;
    display: inline-block;
    padding-left: 5px;
}

    .filter-image img {
        width: 15px;
        height: auto;
    }

.filter-text {
    width: 150px;
    float: left;
    display: inline-block;
    font-weight: normal;
    padding-top: 5px;
}

/*Accordion*/
.fliter-container .panel-group {
    margin: 0px 10px 0px 25px;
}

a:hover, a:focus {
    text-decoration: none !important;
    outline: none !important;
}

#filter-accordion .panel-group .panel {
    background-color: #fff;
    border: none;
    box-shadow: none;
    border-radius: 10px;
    margin-bottom: 11px;
}

#filter-accordion .panel .panel-heading {
    padding: 0;
    border-radius: 10px;
    border: none;
    width: 270px;
}

#filter-accordion .panel-heading a {
    color: #fff !important;
    display: block;
    border: none;
    padding: 15px 35px 15px;
    font-size: 18px;
    background-color: #457fa3;
    font-weight: 600;
    position: relative;
    color: #fff;
    box-shadow: none;
    transition: all 0.1s ease 0;
}

    #filter-accordion .panel-heading a:after, #filter-accordion .panel-heading a.collapsed:after {
        content: "\f068";
        font-family: fontawesome;
        text-align: center;
        position: absolute;
        left: -20px;
        top: 5px;
        color: #fff;
        background-color: #457fa3;
        border: 5px solid #fff;
        font-size: 15px;
        width: 40px;
        height: 40px;
        line-height: 30px;
        border-radius: 50%;
        transition: all 0.3s ease 0s;
    }

#filter-accordion .panel-heading:hover a:after,
#filter-accordion .panel-heading:hover a.collapsed:after {
    transform: rotate(360deg);
}

#filter-accordion h4 {
    margin-bottom: 5px;
}

#filter-accordion .panel-heading a.collapsed:after {
    content: "\f067";
}

#filter-accordion .panel-body {
    background-color: #eeeeee;
    color: #555555;
    line-height: 25px;
    padding: 10px 15px 20px 15px;
    border: 1px solid #457fa3;
    font-size: 14px;
    position: relative;
    width: 270px;
    margin-bottom: 5px;
}