﻿
#mappage-map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

#mappage-svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

    #mappage-map .mapboxgl-canvas {
        width: 100% !important;
        height: 100% !important;
    }
.applicationmodule-icon svg {
    height: 21px;
    width: 21px;
    position: static;
}

.leaflet-marker-icon.svg-marker.ship {
    margin-left: 2px !important;
    min-width: 160px;
}

.leaflet-marker-icon .ship-name {
    background-color: #fff;
    border: 1px solid #ccc;
    display: inline;
    padding: 1px 5px;
    border-radius: 3px;
    margin: 3px 0 3px 22px;
    height: 20px;
    line-height: 16px;
    white-space: nowrap;
}

.svg-marker.ship-position-marker{
    z-index: 999;
}

.ship-position-marker.svg-marker.harbour.mapboxgl-marker svg {
    width: 16px;
    height: 16px;
}

.ship-position-marker.svg-marker.mapboxgl-marker svg {
    width: 19px;
    height: 19px;
}
#mappage-map .ship-position-marker.svg-marker.mapboxgl-marker:hover {
    cursor: pointer;
}

.routecurve-textpath {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .routecurve-textpath::selection {
        background: none;
    }

.cruise-label:hover {
    cursor: pointer;
    background-color: #F43A3A;
    transition: width 0.5s, height 0.5s;
}

.mapboxgl-map .cruise-label {
    position: absolute;
    object-fit: contain;
    opacity: 0.75;
    /*z-index: 99;*/
    font-family: Roboto;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
    font-size: 0.8em;
}

.cruise-app-label {
    background-color: #0085CA;
}

.unscheduled-label {
    background-color: #20a9e9;
}

    .cruise-label:hover {
        z-index: 500;
        cursor: pointer;
        background-color: #fff;
        transition: width 0.5s, height 0.5s;
        box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14);
        color: #454545;
        opacity: 1 !important;
        max-width: 240px;
    }

    .cruise-label .datesrange {
        line-height: 2em;
        display: none;
    }

    .cruise-label:hover .datesrange {
        display: block;
    }

    .cruise-label .label-info {
        padding: 1px;
    }

    .cruise-label .description,
    .cruise-label .general {
        display: inline-block;
    }

    .cruise-label.zoom-low .description,
    .cruise-label.zoom-low .general {
        margin-left: 29px;
    }

    .cruise-label .general {
        font-weight: bold;
        line-height: 1.5em;
    }

    .cruise-label .datesrange {
        line-height: 2em;
    }

    .cruise-label .logo img {
        width: 22px;
        height: 20px;
        float: left;
        margin-right: 5px;
        background-color: white;
        padding-bottom: 3px;
    }

    .cruise-label.zoom-high .label-container {
        display: table;
    }

    .cruise-label.zoom-high .description
    .cruise-label.zoom-high .general {
        white-space: inherit;
        overflow: inherit;
        display: flex;
        max-width: 170px;
    }

    .cruise-label.zoom-medium .label-container {
        width: 140px;
    }

    .cruise-label.zoom-medium .description,
    .cruise-label.zoom-medium .general {
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        width: auto;
        text-overflow: ellipsis;
        display: block;
    }

    .cruise-label.zoom-medium,
    .cruise-label.zoom-high {
        height: auto;
        max-width: 170px;
    }

.zoom-high.cruise-label .label-info {
    padding: 4px 5px;
}

.zoom-medium .cruise-label .logo img {
    width: 22px;
    height: 20px;
    float: left;
    margin-right: 5px;
    background-color: white;
    padding-bottom: 3px;
}

.zoom-low.cruise-label {
    height: auto;
    background-color: transparent;
    margin-top: -11px;
    margin-left: -11px;
    border: 2px solid transparent;
    border-radius: 50%;
    opacity: 1;
}

    .zoom-low.cruise-label:hover {
        height: auto;
        background-color: #fff;
        margin-top: -11px;
        margin-left: -11px;
        border: 0 none;
        border-radius: 1px;
        opacity: 0.8;
        padding: 4px;
    }

.cruise-label.zoom-low .description,
.cruise-label.zoom-low .general {
    display: none;
}

.cruise-label.zoom-low:hover .description,
.cruise-label.zoom-low:hover .general {
    display: block;
}


.zoom-low.cruise-label .label-info {
    padding: 0;
}

.zoom-low.cruise-label .logo img {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 0px;
    background-color: white;
    padding-bottom: 0px;
    border-radius: 50%;
}

.zoom-low img {
    height: 16px;
    width: 16px;
}

.zoom-medium img,
.zoom-high img {
    height: 28px;
    width: 32px;
}

.routecurve-textpath {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .routecurve-textpath::selection {
        background: none;
    }

.tooltip.cruise-information-popup .content {
    overflow-y: scroll;
}
#map-properties {
    position: absolute;
    width: 130px;
    height: 60px;
    left: 10px;
    bottom: 90px;
    z-index: 100;
    background-color: white;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14);
}

#map-visibility {
    position: absolute;
    width: 130px;
    height: 140px;
    left: 10px;
    bottom: 160px;
    z-index: 100;
    background-color: white;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14);
}

#areas-visibility.property div {
    padding-bottom: 5px;
}

#map-properties .property, #map-visibility .property {
        font-size: 11px;
        padding-left: 10px;
        padding-top: 5px;
}

#loading-routes-messagebox {
    background-color: white;
    text-align: center;
    display: none;
    position: absolute;
    text-align: center;
    bottom: 10px;
    margin-bottom: 50px;
    /*margin-left: -150px;*/
    width: 150px;
    height: 50px;
    font-family: Roboto;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: 0px;
    color: rgba(0, 0, 0, 0.60);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2);
    left: calc(50% - 140px);
    z-index: 95;
}
/*removing mapbox-logo*/
.mapboxgl-ctrl-bottom-right{
    display: none;
}

#mappage-map .cruise-label.preproposal-label {
    background-color: rgb(255,255,255);
    opacity: 1 !important;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 124, 192, 0.8);
    color: rgba(0,0,0,1);
}

#mappage-map .cruise-label.preproposal-label:hover{
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
    border-color: rgba(255, 0, 0, 0.8);
}

#mappage-map .cruise-label.preproposal-label .label-info .label-container .description{
    padding-left: 3px;
}

#mappage-map .cruise-label.preproposal-label .label-info .label-container {
    padding-left: 5px;
    padding-right: 5px;
}
#mappage-map .cruise-label.preproposal-label.mapboxgl-marker{
    will-change:unset !important;
}


.scheduler_transparent_rowheader {
    font-family: "Segoe UI";
    font-size: 8px;
    line-height: 8px;
    text-align: left;
    text-transform: uppercase;
    padding-top: 0px;
}

#map-visibility-controls,
#map-properties-controls {
    padding: 5px;
}

    #map-visibility-controls div,
    #map-properties-controls div {
        padding-bottom: 3px;
    }

#map-visibility-controls {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    padding-bottom: 0px;
}

#map-menu {
    position: absolute;
    margin: 8px;
}

#map-menu.expanded-info-container.tooltip {
    overflow: hidden;
}

#map-menu{
    height: 28px;
}

#map-menu a.leaflet-control-layers-toggle {
    height: 28px;
    width: 28px;
}

    #map-menu:hover {
        height: 50px;
    }

        #map-menu:hover .expanded-info-container {
            display: block;
            background-color: white;
            padding: 5px 10px;
            white-space: nowrap;
            top: -1px;
            left: -1px;
        }

            #map-menu:hover .expanded-info-container .vs-prop > * {
                line-height: 23px;
                display: inline;
            }

.deployment-logo {
    width: 20px;
    height: 20px;
    float: left;
    padding-right: 3px;
}
.deployment-logo img{
    width: 20px;
    height: 20px;
}

.group-label-rectangle {
    cursor: pointer;
}