﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Arial;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h3 {
    font-size: 17px !important;
    font-family: Segoe UI;
}

hr {
    width: 100%;
}

.max {
    width: 100%;
    height: 100%;
}

.center {
    text-align: center;
    width: 100%;
}

.flex {
    display: flex;
}

    .flex.vertical {
        flex-flow: column nowrap;
    }

    .flex.horizontal {
        flex-flow: row nowrap;
    }

    .flex .half {
        flex-basis: 50%;
    }

    .flex .full {
        flex-basis: 100%;
    }

    .flex .grow {
        flex-grow: 1;
    }

    .flex > .flexlabel {
        flex: 25% 0 0;
    }

.box {
    background-color: white;
    border: none;
    border-top-width: 10px;
    border-top-style: solid;
    z-index: 5;
}

    .box.primary {
        border-top-color: #40bbf0;
    }

    .box.secondary {
        border-top-color: #acd150;
    }

    .box.tertiary {
        border-top-color: #f3b22a;
    }

.watermark {
    position: fixed;
    z-index: 1000;
}

.logo {
    /*filter: grayscale(60%);
    opacity: 0.4;*/
    width: 200px;
}

.leaflet-draw-actions-top {
    z-index: 2000;
}

.leaflet-pane > svg path {
    /*pointer-events: none;*/
    shape-rendering: crispedges; /*this turns off antialias*/
}

.textBorder.black {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.textBorder.white {
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.allowselect {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#timeline {
    z-index: 999;
    background: rgba(255,255,255,0.7);
    height: 50px;
    padding-top: 10px;
    border-top: 1px solid rgb(170, 170, 170);
}

#timeline_items > div {
    padding: 0 5px;
    border-left: 1px solid black;
    text-align: center;
    flex-grow: 1;
    font-weight: bold;
    font-size: 15px;
    color: #555555;
}

    #timeline_items > div:first-child {
        border-color: transparent;
    }

.leaflet-control:not(.leaflet-control-wms-legend):not(.leaflet-control-custom-legend) img {
    width: 20px;
    height: 20px;
    margin: 5px;
}

img.groupIcon {
    width: 20px;
    height: 20px;
    margin: 5px;
}

img.layerIcon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
}

table td.btn-group {
    display: table-cell;
}

.select_group {
    display: flex;
    flex-direction: row;
    /*align-items: baseline;
    justify-content: space-around;*/
    margin: 2px 2px 10px 15px;
}

.btn-group .btn {
    color: #888888;
    background-color: white;
    border-color: #888888;
}

    .btn-group .btn.highlight, .btn.active {
        color: #fff;
        background-color: #40bbf0;
        border-color: transparent;
    }

.small {
    color: #888888;
    margin-right: 5px;
}

.wrongInterval, .wrongValueType {
    display: none !important;
}

#pnlRight, #pnlLeft {
    background-color: #f5f5f5;
    overflow-y: auto;
    display: none;
    width: 400px;
}

    #pnlRight label, #pnlLeft label {
        font-size: 80%;
        display: block;
    }

    #pnlRight .btn-group, #pnlLeft .btn-group {
        margin-right: 10px;
    }

    #pnlRight h3, #pnlLeft h3 {
        font-size: 17px !important;
        font-family: Segoe UI;
    }

    #pnlRight .fas, #pnlLeft .fas {
        font-size: 16px;
    }

#pnlRight {
    border-left: 5px solid #293C45;
}

    #pnlRight a {
        text-decoration: none;
    }

#pnlLeft {
    border-right: 5px solid #293C45;
    min-width: 250px;
    z-index: 4001;
}

.layerGroupLabel {
    display: flex;
    flex-direction: row;
    background-color: #293C45;
    color: white;
    width: 100%;
    margin-bottom: 10px;
    justify-content: space-between;
}

    .layerGroupLabel div {
        font-size: 110%;
        font-weight: 550;
        width: 30px;
        text-align: center;
    }

    .layerGroupLabel h3 {
        font-size: 110%;
        text-transform: uppercase;
        font-weight: 550;
        padding: 5px 15px;
        margin: 0;
        word-wrap: break-word;
        white-space: nowrap;
    }

    .layerGroupLabel .collapseState:after {
        content: '-';
    }

.collapsed .layerGroupLabel .collapseState:after {
    content: '+';
}

.disabled .layerGroupLabel {
    cursor: not-allowed;
    background-color: #1daeed;
}

.own-layer-action {
    margin: 0px 7px;
}

.mylayersbtn {
    margin: 0 20px 10px 20px;
    padding: 2px;
}

    .mylayersbtn .fas {
        margin-right: 1em;
    }

.layerlist {
}

    .layerlist label {
        margin-left: 15px;
    }

    .layerlist input {
        width: 13px;
        height: 13px;
        padding: 0;
        margin: 0;
        vertical-align: bottom;
        position: relative;
        top: -1px;
        *overflow: hidden;
    }

    .layerlist input {
        margin: 0 5px;
    }

a {
    cursor: pointer;
}

#tt {
    position: fixed;
    z-index: 4000;
    border: 1px solid rgba(255,255,255,0.2);
    top: 10%;
    left: 5%;
}

#ttBorder {
    border: 5px solid #293C45;
}

#ttHeader {
    background-color: #293C45;
    border-bottom: 5px solid #293C45;
    justify-content: space-between;
}

    #ttHeader .closeBtn span {
        color: indianred;
        background-color: white;
        font-size: 25px;
        cursor: pointer;
        line-height: 0.5;
        margin-top: 6px;
    }

#ttTitle {
    color: white;
    font-weight: bold;
    margin-left: 5px;
}

#ttGroups {
    /*background-color: #638E9E;*/
    background-color: rgba(255, 255, 255, 0.8);
    width: 270px;
    border-right: 5px solid #293C45;
}

    #ttGroups div {
        color: white;
        padding: 5px;
        font-weight: bold;
        font-size: 17px;
        background-color: #293C45;
        text-transform: uppercase;
    }

.ttTab {
    /*background-color: rgba(172, 210, 224, 0.5);*/
    border-radius: unset;
    font-size: small;
    cursor: pointer;
    padding: 5px;
    word-wrap: break-word;
    /*white-space: nowrap;*/
    line-height: 24px;
    padding-left: 15px;
    overflow: hidden;
    list-style: none;
    color: #444444;
}

    .ttTab:before {
        /*content: "\2514";*/
        content: "-";
        margin-right: 5px;
    }

    .ttTab.active {
        background-color: #40bbf0;
        color: white;
    }

    .ttTab:hover {
        font-weight: bold;
    }

#ttPages {
    padding: 2px;
    width: 400px;
    min-width: 300px;
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    background-color: white;
    opacity: 0.8;
}

#ttActions {
    background-color: #293C45;
    justify-content: flex-end;
}

    #ttActions .btn {
        border: 1px solid rgba(255,255,255,0.25);
        cursor: pointer;
        padding: 0 5px;
        margin: 5px 2px;
        border-radius: .2rem;
    }

.ttKeyValue {
    display: flex;
    flex-direction: row;
    font-size: small;
    background-color: white;
    border-bottom: 1px solid #ccc;
}

    .ttKeyValue img {
        max-width: 100%;
    }

    .ttKeyValue:first-child {
        border-top: none !important;
    }

    .ttKeyValue:last-child {
        border-bottom: none !important;
    }

    .ttKeyValue.total {
        font-weight: bold;
        border-top: 1px solid black;
        padding-bottom: 25px;
    }

    .ttKeyValue a {
        cursor: pointer;
        text-decoration: underline;
    }

    .ttKeyValue div {
        /*padding: 3px 2px;
        margin: 1px;
        text-overflow: ellipsis;
        overflow-x: hidden;
        white-space: nowrap;*/
        padding: 3px 2px;
        max-width: 60%;
        margin: 1px;
        text-overflow: ellipsis;
    }

        .ttKeyValue div:first-child {
            flex-basis: 200px;
            text-transform: capitalize;
        }

        .ttKeyValue div:nth-child(n+3) {
            text-align: right;
        }

        .ttKeyValue div:not(:first-child) {
            flex-grow: 1;
            flex-basis: 100px;
        }

path.colorized {
    stroke: yellow;
    fill: rgba(255,255,0,0.5);
}

.leaflet-bottom.leaflet-right.activeTimeline {
    margin-bottom: 30px !important;
}

.activeTimeline .leaflet-control-attribution {
    background: none;
    right: 5px;
    opacity: 0.8;
}

.leaflet-draw-toolbar {
    display: none;
}

.leaflet-touch .leaflet-right .leaflet-draw-actions {
    display: block;
    position: fixed;
    top: 75px !important;
    left: 50%;
    right: unset;
    transform: translateX(-50%) scale(1.25);
}

    .leaflet-touch .leaflet-right .leaflet-draw-actions li a {
        -webkit-border-radius: 4px;
        border-radius: 4px;
        margin: 0 1px;
        text-align: left;
        width: 200px;
        font-weight: bold;
        opacity: 0.8;
        background-color: orange;
    }

        .leaflet-touch .leaflet-right .leaflet-draw-actions li a:hover {
            opacity: 1;
        }

    .leaflet-touch .leaflet-right .leaflet-draw-actions li:first-child a {
        background-color: forestgreen;
    }

.legend {
    line-height: 18px;
    color: #555555;
    background-color: white;
    padding: 5px;
}

    .legend i {
        width: 10px;
        height: 18px;
        float: left;
        opacity: 0.7;
    }

.leaflet-draw-section:not(:first-child) {
    display: none;
}


.datepicker_panel {
    justify-content: space-evenly;
    width: 225px;
}

    .datepicker_panel > div {
        width: 26px;
        text-align: center;
        font-size: 22px;
        line-height: 20px;
        cursor: pointer;
    }

    .datepicker_panel > input {
        width: 70px;
        border: 1px solid #cccccc;
        text-align: center;
    }


/*geovis themed buttons*/
.btn-geovis-primary {
    color: #ffffff;
    background-color: #2B3C44;
    border-color: #1B2C34;
}

    .btn-geovis-primary:hover,
    .btn-geovis-primary:focus,
    .btn-geovis-primary:active,
    .btn-geovis-primary.active,
    .open .dropdown-toggle.btn-geovis-primary {
        color: #ffffff;
        background-color: #1B2C34;
        border-color: #1B2C34;
    }

    .btn-geovis-primary:active,
    .btn-geovis-primary.active,
    .open .dropdown-toggle.btn-geovis-primary {
        background-image: none;
    }

    .btn-geovis-primary.disabled,
    .btn-geovis-primary[disabled],
    fieldset[disabled] .btn-geovis-primary,
    .btn-geovis-primary.disabled:hover,
    .btn-geovis-primary[disabled]:hover,
    fieldset[disabled] .btn-geovis-primary:hover,
    .btn-geovis-primary.disabled:focus,
    .btn-geovis-primary[disabled]:focus,
    fieldset[disabled] .btn-geovis-primary:focus,
    .btn-geovis-primary.disabled:active,
    .btn-geovis-primary[disabled]:active,
    fieldset[disabled] .btn-geovis-primary:active,
    .btn-geovis-primary.disabled.active,
    .btn-geovis-primary[disabled].active,
    fieldset[disabled] .btn-geovis-primary.active {
        background-color: #2B3C44;
        border-color: #1B2C34;
    }

    .btn-geovis-primary .badge {
        color: #2B3C44;
        background-color: white;
    }

.btn-outline-geovis-primary {
    color: #2B3C44;
    border-color: #2B3C44;
}

    .btn-outline-geovis-primary:hover {
        color: white;
        background-color: #2B3C44;
        border-color: #2B3C44;
    }

/*end geovis themed buttons*/

/* side menu */

.leaflet-control-slidemenu {
    cursor: pointer;
}

.leaflet-menu {
    position: absolute;
    width: 400px;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: #f5f5f5;
    border-right: 5px solid #293C45;
    overflow: auto;
    cursor: default;
    z-index: 9999;
}

    .leaflet-menu::-webkit-scrollbar {
        width: 7px;
        height: 7px;
        background: #f2f2f2;
    }

    .leaflet-menu::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background: #777777;
    }

.leaflet-menu-close-button {
    background-color: transparent;
    border: none;
    font-size: 14pt;
    color: #777777;
    cursor: pointer;
}

    .leaflet-menu-close-button:hover {
        color: #4285F4;
    }

.leaflet-attribution-flag {
    display: none !important;
}

.mapLabel {
    position: relative;
    left: -50%;
    opacity: 0.4;
    white-space: nowrap;
}

#mapMenuButtons .fa {
    line-height: inherit;
    font-size: 16px;
}

a.geofish-menu-item {
    width: 100%;
    display: block;
    padding: 5px 15px;
    color: #293C45 !important;
    font-size: 14px;
}

    a.geofish-menu-item:hover {
        text-decoration: none;
        font-weight: bold;
    }

    a.geofish-menu-item i {
        width: 25px;
        text-align: center;
        margin-right: 5px;
    }

#geofish-partner-div, #geofish-developer-div {
    margin-top: 20px;
    padding: 5px 15px;
    color: #666666;
    font-size: 12px;
    font-weight: bold;
}

#geofish-menu .wrap {
    background-color: white;
}

    #geofish-menu .wrap div {
        display: inline-block;
        max-width: 250px;
        padding: 0;
    }

.sponsor {
    background-color: white;
    text-align: center;
    margin-top: 5px;
}

    .sponsor img {
        max-width: 150px;
        max-height: 90px;
        border: unset;
        vertical-align: middle;
        margin: 5px;
    }

/* end side menu */
/* center container */
.center-container {
    position: relative;
    margin-bottom: 10px;
    margin-top: 10px;
}

.geofish-logo-center-big {
    text-align: center;
}

    .geofish-logo-center-big img {
        max-height: 130px;
    }

/* end center container*/


.btn-info, .btn-info:hover {
    color: white;
}

.temporary {
    font-style: italic;
    color: gray;
}

.bg-gradient-primary {
    background-color: #293C45 !important;
    background-image: none;
    background-image: none;
}

.ql-editor {
    background-color: white !important;
    min-height: 400px;
}

.popover {
    max-width: 80%; /* Max Width of the popover (depending on the container!) */
    z-index: 5000;
}

.popover-header {
    background-color: #293c45;
    color: white;
}

.infoText {
    color: gray;
    font-size: 8pt;
    text-align: justify;
}

.iconpicker-popover {
    z-index: 1000 !important;
}

.pnlCloseBtn {
    width: 100%;
    padding: 15px;
    border-radius: 0;
    display: none;
}

.yearLabel {
    bottom: 40px;
    font-size: 48pt;
    font-family: "arial black";
    color: #FFFFFF;
    text-shadow: 0 0 3px #2B3C44;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
}

@media (max-width: 767px) {

    #pnlRight, #pnlLeft {
        width: 100%;
        border: none;
    }

    #ttPages {
        min-width: unset;
    }

    .pnlCloseBtn {
        display: block;
        cursor: pointer;
    }

    #ttContent {
        flex-direction: column;
    }

    #ttTabs {
        flex-direction: row;
    }

    #ttExport {
        display: none !important;
    }

    #timeline_items > div {
        border: none;
    }
}

@keyframes pulse {
    0% {
        background-color: #FF413688;
    }

    95% {
        background-color: transparent;
    }

    100% {
        background-color: #FF413688;
    }
}