﻿@import url('https://use.fontawesome.com/releases/v5.8.2/css/all.css');
@import url('https://fonts.googleapis.com/css?family=Roboto|Titillium+Web');
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,900');



body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 300;
    line-height: normal;
    color: #212529;
    text-align: left;
    overflow-y: hidden;
}

.fa-2x {
    font-size: 2em;
}

.fa {
    position: relative;
    display: table-cell;
    min-width: 50px;
    height: 36px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.fa-home {
    position: relative;
    display: table-cell;
    min-width: 31px;
    height: 31px;
    text-align: center;
    vertical-align: middle;
}

.fa-expand-arrows-alt, fa-compress-arrows-alt {
    position: relative;
    display: table-cell;
    min-width: 31px;
    height: 31px;
    text-align: center;
    vertical-align: middle;
}

.main-menu:hover, nav.main-menu.expanded {
    width: 201px;
    overflow: visible;
}

.main-menu {
    background: #008dc9;
    border-right: 1px solid #e5e5e5;
    position: fixed;
    top: 50px;
    bottom: 0;
    height: 100%;
    left: 0;
    width: 50px;
    overflow: hidden;
    -webkit-transition: width .1s linear;
    transition: width .1s linear;
    -webkit-transform: translateZ(0) scale(1,1);
    z-index: 1000;
}

    .main-menu > ul {
        margin: 7px 0;
    }

    .main-menu li {
        position: relative;
        display: block;
        width: 200px;
    }

        .main-menu li > a {
            position: relative;
            display: table;
            border-collapse: collapse;
            border-spacing: 0;
            color: #fff;
            font-family: arial;
            font-size: 14px;
            text-decoration: none;
            -webkit-transform: translateZ(0) scale(1,1);
            -webkit-transition: all .2s linear;
            transition: all .2s linear;
        }

    .main-menu .nav-icon {
        position: relative;
        display: table-cell;
        width: 60px;
        height: 36px;
        text-align: center;
        vertical-align: middle;
        font-size: 18px;
    }

    .main-menu .nav-text {
        position: relative;
        display: table-cell;
        vertical-align: middle;
        width: 190px;
        font-family: 'Titillium Web', sans-serif;
    }

    .main-menu > ul.logout {
        position: absolute;
        left: 0;
        bottom: 50px;
    }

.no-touch .scrollable.hover {
    overflow-y: hidden;
}

    .no-touch .scrollable.hover:hover {
        overflow-y: auto;
        overflow: visible;
    }

a:hover, a:focus {
    text-decoration: none;
}

nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    nav ul, nav li {
        outline: 0;
        margin: 0;
        padding: 0;
    }

    .main-menu li:hover > a, nav.main-menu li.active > a, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus, .no-touch .dashboard-page nav.dashboard-menu ul li:hover a, .dashboard-page nav.dashboard-menu ul li.active a {
        color: #fff;
        background-color: #5fa2db;
    }

.area {
    float: left;
    background: #e2e2e2;
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 300;
    src: local('Titillium WebLight'), local('TitilliumWeb-Light'), url(https://themes.googleusercontent.com/static/fonts/titilliumweb/v2/anMUvcNT0H1YN4FII8wpr24bNCNEoFTpS2BTjF6FB5E.woff) format('woff');
}

.bd-navbar {
    min-height: 3rem;
    background-color: #008dc9;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .1);
}

.navbar {
    padding: 0 1rem;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 180px;
}

    .input-group .form-control:first-child {
        border-top-left-radius: 2em;
        border-top-right-radius: 0;
        border-bottom-left-radius: 2em;
        border-bottom-right-radius: 0;
    }

    .input-group .form-control {
        position: relative;
        z-index: 2;
        float: left;
        width: 100%;
        margin-bottom: 0;
        border: none;
        height: 28px;
    }

    .input-group .input-group-append .btn {
        border-top-left-radius: 0;
        border-top-right-radius: 2em;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 2em;
        height: 28px;
        width: 40px;
        color: white;
        background-color: #007fb5;
        border: none;
    }

        .input-group .input-group-append .btn .fa {
            height: 0;
            min-width: 0;
        }


.user {
    display: block;
    margin-left: 15px;
    transition: background .15s ease-in-out;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    max-width: 240px;
    height: 100%;
}

    .user .useraccount {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        width: 100%;
        max-width: 210px;
        text-align: right;
        margin-bottom: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .user .useraccount .username {
            font-size: 14px;
            line-height: 1em;
            font-weight: 400;
            color: #f2f2f2;
            margin-bottom: 3px
        }

        .user .useraccount .useremail {
            font-size: 11px;
            line-height: 1.2em;
            color: #b9b9b9;
            transition: color .15s ease-in-out
        }

    .user .userphoto {
        margin-left: 10px;
        min-height: 39px;
        min-width: 39px;
        border-radius: 50%;
        background-size: cover
    }

.navbar .nav-item .fa, .navbar .nav-item .fa {
    margin: auto 0;
    color: white;
    min-width: 20px;
    height: 50px;
    font-size: 20px;
    padding: 10px;
}

.badge-notify {
    background: #fdbe00;
    color: black;
    position: relative;
    top: -12px;
    left: -6px;
    font-size: 10px;
    border-radius: 1em;
    padding: 2px;
    height: 14px;
    min-width: 14px;
    font-family: 'Titillium Web', sans-serif;
}

.world-map {
    position: fixed;
    height: calc(100vh - 35px); /*  */
    width: 100vw;
    top: 50px;
    left: 0;
}

.map-disclaimer {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 750px;
    height: 60px;
    text-overflow: ellipsis;
}

/* Hide the map zoom slider*/
/*.leaflet-control-container {
    display: none;
}*/



/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR
* Add "left" or "right" in modal parent div, after class="modal".
* Get free snippets on bootpen.com
*******************************/

.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    top: 50px;
    height: calc(100% - 50px);
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
    z-index: 1000;
    right: 0;
}

.modal.right .modal-content {
    height: calc(100vh - 50px);
    overflow: hidden;
}

.modal.right .modal-body {
    padding: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
    border-radius: 0;
    border: none;
}

.modal-header {
    border-bottom-color: #EEEEEE;
    background-color: #FAFAFA;
}


/* using absolute position here, just to show you can put this wherever you want */
div#layercontrol {
    position: absolute;
    bottom: 20px;
    left: 70px;
    z-index: 1000;
}


.hazrdContainer {
    position: absolute;
    bottom: 20px;
    left: 30px;
    opacity: .9;
    z-index: 1000;
    font-size: smaller;
}


#info-pane {
    position: absolute;
    left: 55px;
    width: 300px !important;
    opacity: 0.9;
    z-index: 1000;
    border-radius: 5px;
}
.border-success {
    border-color:lightgrey !important;
}

#legend-pane {
    position: absolute;
    top: 300px;
    /*bottom: 10px;*/
    left: 55px;
    width: 300px !important;
    z-index: 1001;
    font-size: .8rem;
    padding: 1em;
    background-color: white;
    border-radius: 5px;
}

#news-pane {
    position: absolute;
    top: 200px;
    left: 35px;
    width: 300px !important;
    z-index: 1000;
    font-size: .8rem;
    padding: 1em;
    background-color: white;
    border-radius: 5px;
}

/* Material Design Switch */
.material-switch {
    float: right;
    height: 10px;
    padding: 5px 5px;
}

    .material-switch > input[type="checkbox"] {
        display: none;
    }

    .material-switch > label {
        cursor: pointer;
        height: 0;
        position: relative;
        width: 28px;
    }

        .material-switch > label::before {
            background: rgb(0, 0, 0);
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            content: '';
            height: 10px;
            margin-top: -8px;
            position: absolute;
            opacity: 0.3;
            transition: all 0.4s ease-in-out;
            width: 24px;
        }

        .material-switch > label::after {
            background: rgb(255, 255, 255);
            border-radius: 16px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
            content: '';
            height: 16px;
            left: -4px;
            margin-top: -8px;
            position: absolute;
            top: -4px;
            transition: all 0.3s ease-in-out;
            width: 16px;
        }

    .material-switch > input[type="checkbox"]:checked + label::before {
        background: inherit;
        opacity: 0.5;
    }

    .material-switch > input[type="checkbox"]:checked + label::after {
        background: inherit;
        left: 10px;
    }

.list-group-item {
    position: relative;
    display: block;
    padding: 0.2rem 0.5rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}


/* Rightside Modal*/
.modal {
    font-size: smaller;
}


/* Leaflet Contollers*/
.leaflet-left {
    left: 0;
}

.leaflet-top {
    top: 1px;
}

.leaflet-right {
    right: 0;
}

.leaflet-control-attribution {
    opacity: 0.5;
}


.searchbar {
    margin: -10px 20px 10px 20px;
    height: 30px;
    background-color: #f3f3f3;
    border-radius: 15px;
    padding: 5px;
    color: darkslategrey;
    border: 1px solid #EEEEEE;
}

.search_input {
    color: darkslategrey;
    padding: 0 10px 0 10px;
    border: 0;
    outline: 0;
    background: none;
    width: 90%;
    line-height: 20px;
    transition: width 0.4s linear;
}

.search_icon {
    height: 20px;
    width: 20px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: darkslategrey;
}

.bg-population {
    border: 1px solid darkgray;
    background-color: darkgray;
    opacity: 0.4;
}

.bg-Animal {
    background-color: #7096b3 !important;
}

.bg-Chemical {
    background-color: #406e73 !important;
}

.bg-Disaster {
    background-color: #9626b5 !important;
}

.bg-Food {
    background-color: #b7eef4 !important;
}

.bg-Infectious {
    background-color: #38a5b1 !important;
}

.bg-Nutritional_deficiency {
    background-color: #bb9ecc !important;
}

.bg-Product {
    background-color: #7ac4cc !important;
}

.bg-Redionuclear {
    background-color: #436d8c !important;
}

.bg-Societal {
    background-color: #9b7360 !important;
}

.bg-Undetermined {
    background-color: #ebe4eb !important;
}

.bg-Zoonosis {
    background-color: #eacceb !important;
}


.bg-purple {
    background-color: rgb(138, 89, 160);
}

.bg-black {
    background-color: rgb(0, 0, 0);
}

.bg-yellow {
    background-color: yellow !important;
}

.bg-orange {
    background-color: orange !important;
}

.bg-red {
    background-color: red !important;
}

.bg-darkblue {
    color: rgb(0, 77, 168);
    background-color: rgb(0, 77, 168);
}

.bg-blue {
    color: rgb(0, 169, 230);
    background-color: rgb(0, 169, 230);
}

.bg-lightblue {
    color: rgb(0, 169, 230);
    background-color: rgb(190, 232, 255);
}

.bg-ssa {
    background-color: #F3A8A2;
    border: 1px solid #d82138;
}

.bg-herams {
    background-color: #638ecc;
    border: 1px solid #4175c3;
}

.nav-pills .info-pan-nav-link.active, .nav-pills .show > .nav-link {
    color: #343a40;
    background-color: #d1d0d5;
}

a.info-pan-nav-link {
    color: #d1d0d5;
    text-decoration: none;
    background-color: transparent;
}

.nav-pills .info-pan-nav-link {
    border-radius: 0.25rem;
}

.info-pan-nav-link {
    display: block;
    padding: 0.2rem 2rem;
    margin: 0.2rem .2rem;
}

.avatar {
    max-height: 20px;
    width: 20px;
    height: 100%;
    font-size: .7rem;
    line-height: 20px;
    position: relative;
    top: 1px;
    vertical-align: middle;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    padding: 0;
    border-radius: 50%;
}


.hazardProgress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #3b4044;
    border-radius: 0.25rem;
}

.pageContainer {
    width: 100%;
    padding: 20px;
    margin: 80px auto auto auto;
}

.drop {
    height: 150px;
    text-align: center;
    vertical-align: middle;
    border: 2px dashed #bbb;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 60px 25px;
    margin: 25px;
    text-align: center;
    font: 20pt bold,"Vollkorn";
    color: #bbb
}

#htmlout table th, #htmlout table td {
    border-bottom: 1px solid #ddd;
    padding: .3rem;
    vertical-align: top;
    font-size: 80%;
    font-weight: 400;
    color: darkcyan;
}


/* Useful Links Styles*/

.link-1 {
    display: inline-block;
    margin: 10px;
    font-family: Lato;
    text-transform: uppercase;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    background-color: aliceblue;
    border-radius: 5px;
    border: 1px solid lightgray;
    padding: 20px 5px 20px 5px;
    width: 125px !important;
    text-align: center;
}

    .link-1 p {
        font-weight: 400;
        font-size: 60%;
        margin: 1px;
    }

.thin {
    font-weight: 300;
}

.thick {
    font-weight: 900;
}

.table {
    margin-bottom: .5rem;
}

.card-body {
    padding: .5rem;
}

.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-bottom: 1px solid #454d55;
    border-top: transparent;
}

.smallavatar {
    max-height: 16px;
    width: 16px;
    height: 100%;
    font-size: .5rem;
    line-height: 15px;
    position: relative;
    top: 0px;
    vertical-align: middle;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    padding: 0;
    border-radius: 50%;
}

.bg-Yellow {
    background-color: yellow !important;
}

.bg-Orange {
    background-color: orange !important;
}

.bg-Red {
    background-color: red !important;
}

.popover-body {
    min-width: 280px;
}

.homemapbutton {
    top: 130px;
    left: 10px;
    position: absolute;
    z-index: 1000;
    background-color: #f4f4f4;
    border: 2px solid #bebab2;
    border-radius: 4px
}

.fullscreenmapbutton {
    top: 60px;
    right: 10px;
    position: absolute;
    z-index: 1000;
    background-color: #f4f4f4;
    border: 2px solid #bebab2;
    border-radius: 4px
}
    .homemapbutton .fa, .fullscreenmapbutton .fa {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        min-width: 30px;
        width: 30px;
        height: 30px;
    }


/*.homemapbutton {
    top: 118px;
    left: 10px;
    position: absolute;
    z-index: 100;
    background-color: #f4f4f4;
    border: 2px solid #bebab2;
    border-radius: 4px;
    width: 34px;
    height: 34px;
}

.fullscreenmapbutton {
    top: 48px;
    right: 12px;
    position: absolute;
    z-index: 100;
    background-color: #f4f4f4;
    border: 2px solid #bebab2;
    border-radius: 4px;
    width: 34px;
    height: 34px;
}

    .homemapbutton .fa, .fullscreenmapbutton .fa {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        width: 30px;
        height: 30px;
    }*/

.maplegendicon {
    bottom: 20px;
    left: 0px;
    position: absolute;
    z-index: 500
}

.leaflet-popup-content {
    /*margin: 0;
    line-height: 1.4;*/
    margin: 10px !important;
}

.leaflet-container {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

    .leaflet-container .nav-link, .modal-dialog .nav-link {
        font-size: 1rem !important;
        font-weight: 300;
    }

/*.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: white;
    color: #333;
    box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}*/

.leaflet-popup-content-wrapper {
    /* background-color: transparent;
    box-shadow: none;
    padding: 1px;
    text-align: left;
    border-radius: 12px;*/
    border-radius: 0 !important;
}

.leaflet-popup-close-button {
    display: none;
}

.hand-pointer {
    cursor: pointer;
}

#close-legend {
    position: absolute;
    right: 0px;
}

.app-title {
    vertical-align: middle;
    overflow: hidden;
    font-weight: 500;
    font-size: 1.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-height: 50px;
}

@media screen and (max-height: 850px) {
    #events > div.card-body.overflow-auto.text-light, #hazards > div.card-body.overflow-auto.text-light {
        max-height: 150px;
    }
}

@media screen and (min-height: 851px) {
    #events > div.card-body.overflow-auto.text-light, #hazards > div.card-body.overflow-auto.text-light {
        max-height: 300px;
    }
}

@media screen and (max-width: 499px) {
    #faqPanel > div.modal-dialog, #newsPanel > div.modal-dialog, #entity-detail-panel > div.modal-dialog {
        width: 100vw;
    }
}

@media screen and (min-width: 715px) {
    #faqPanel > div.modal-dialog, #newsPanel > div.modal-dialog, #entity-detail-panel > div.modal-dialog {
        width: 500px;
    }

    .app-title {
        margin-left: 50px;
    }
}

@media screen and (min-width: 1250px) and (max-width: 1366px) {
    .app-title, .covid-data .h4 {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 714px) and (max-width: 1249px) {
    .app-title, .covid-data .h4 {
        font-size: 1rem;
    }

    .covid-data {
        width: 175px;
    }
}

@media screen and (min-width: 550px) and (max-width: 714px) {
    .app-title {
        max-width: 300px;
        font-size: 1rem;
    }
}

@media screen and (min-width: 500px) and (max-width: 549px) {
    .app-title {
        max-width: 260px;
        font-size: 1rem;
    }
}


@media screen and (min-width: 400px) and (max-width: 499px) {
    .app-title {
        max-width: 150px;
        max-height: 50px;
        font-size: 0.8rem;
        white-space: unset;
    }

    #novel-coronavirus-dropdown {
        font-size: 0.8rem;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (min-width: 350px) and (max-width: 399px) {
    .app-title {
        max-width: 125px;
        font-size: 0.8rem;
        white-space: unset;
    }

    #novel-coronavirus-dropdown {
        font-size: 0.8rem;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (max-width: 349px) {
    .app-title {
        max-width: 90px;
        font-size: 0.8rem;
        white-space: unset;
    }
    
    #novel-coronavirus-dropdown {
        font-size: 0.8rem;
        padding-left: 5px;
        padding-right: 5px;
    }
}

input::-ms-clear {
    display: none;
}

/* This is included because of IE's and Edge's alignment issue */
#emergencies-faq-icon, #hazards-faq-icon {
    min-width: 30px !important;
    height: 20px !important;
}

#novel-coronavirus-link > a {
    line-height: 35px;
    color: white;
    /*font-weight: 400;*/
    background-color: #e07b16;
    display: inline-block;
}

#novel-coronavirus-link a {
    font-size: 13px;
}

#novel-coronavirus-link .dropdown-menu {
    margin: 0;
    width:100%;
}

    #novel-coronavirus-link .dropdown-menu > a:hover {
        background-color: #ddd;
    }

.world-map.full-screen {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
}

.top-10 {
    top: 10px !important;
}

.covid-data {
    padding: 0;
    max-height: 50px;
    max-width: 225px;
    line-height: 15px;
}

.difference-icon {
    padding: 0;
    margin: 0;
    position: inherit;
    display: inline;
    min-width: 10px;
    height: 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.covid-details {
    font-size: 0.7rem;
}

.navbar-brand, .navbar-brand svg {
    max-width: 140px;
}

#disclaimer-bottom {
    position: absolute;
    bottom: 0;
    width: 300px;
    left: 3px;
    height: auto;
}

.disclaimer-content {
    z-index: 1000;
    background: rgba(255, 255, 255, 0.4);
    position: absolute;
    bottom: 0;
}

#main-content  {
    /*background: rgba(255, 255, 255, 0.4);*/
    padding: 5px 2px 2px 2px;
    position: relative;
}

#attrib-content {
    /*background: rgba(255, 255, 255, 0.4);*/
    position: relative;
}


.disclaimer-content p {
    font-size: 9px;
    font-weight: 400;
    color: grey;
    overflow-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 2px;
}

#attrib-content {
    font-size: 9px;
    font-weight: 400;
    color: grey;
    overflow-wrap: break-word;
    word-wrap: break-word;
}


#disclaimer-controller {
    position: absolute;
    width: 50px;
    background: #1d8efb;
    opacity: 0.4;
    z-index: 1000;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #fff;
    height: 30px;
    bottom: 1px;
    display: none;
}

    #disclaimer-controller a {
       color: #fff;
      
    }

    .inline{
        display:inline-block;
        margin:5px 10px 3px 5px;
    }


.map-legend-icon {
    top: 295px;
    left: 0px;
    position: absolute;
    z-index: 500;
}

.display-none {
    display: none;
}

/** Map Layer dropdown button **/

.map-layer-dropdown {
    top: 200px;
    left: 0px;
    position: absolute;
    z-index: 500;
}

    .map-layer-dropdown ul {
        left: 25px !important;
        top: -30px !important;
    }

.map-layer-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}


.card-table {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 450px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0 3px 14px rgba(0,0,0,.4);
}

.card-table-refugee {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 450px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0 3px 14px rgba(0,0,0,.4);
    max-height: 400px;
    overflow: scroll;
}

.card-table-ssa {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 450px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0 3px 14px rgba(0,0,0,.4);
    max-height: 400px;
    overflow: scroll;
}

.card-table-conflict {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 550px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0 3px 14px rgba(0,0,0,.4);
    max-height: 400px;
    overflow: scroll;
}

.card-table-herams {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0 3px 14px rgba(0,0,0,.4);
}

.herams-notification-icon, .ssa-notification-icon, .event-notification-icon {
    display: inline !important;
    min-width: 10px !important;
    padding-top: 2px;
}


@media screen and (max-width: 1365px) {
    .esri-truncated-attribution {
        display: none !important;
    }
}

/* SSA table */
.ssa-table, .ssa-subtable {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    border: 1px solid #fff;
}

.ssa-subtable{
    display:none;
}

    .ssa-table tr, .ssa-table td, .ssa-subtable tr, .ssa-subtable td {
        border: 1px solid #fff;
        padding: 4px;
    }

    .ssa-table > thead > tr > th, .ssa-subtable > thead > tr > th {
        width: 100px !important;
        word-break: normal !important;
        background-color: #d3d3d3;
        vertical-align: middle;
    }

    .ssa-table > thead, .ssa-subtable > thead{
        color: #000;
    }

 /* */  .ssa-subtable > tbody > tr > td {
        width: 100px;
    }

    .ssa-table > tbody > tr:last-child > td:first-child {
        text-align: right;
        padding-right: 100px;
        font-weight: 400;
        font-weight: 700;
    }

    .ssa-table > tbody > tr:last-child > td {
        font-weight: 700;
    }

/*.ssa-table tr, .ssa-table td, .ssa-table th, .ssa-table tbody, .ssa-table thead{
    border: 1px solid #fff;
    padding: 4px;
}*/

.ssa-table a, .ssa-link{
    color: #0078A8;
    
}

.card-body-herams{
    height:210px;
    padding: .5rem;
}


@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px){
    .card-table{
        width:280px;
    }

    table.ssa-table, .ssa-table thead, .ssa-table tbody, .ssa-table th, .ssa-table td, .ssa-table tr:not(:last-child) {
        display: block;
    }



    table.ssa-table tr:last-child{
        display: none;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .ssa-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .ssa-table tr:not(:last-child) {
        /*border: 1px solid #ccc;*/
    }

    .ssa-table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .ssa-table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .ssa-table td:nth-of-type(1):before {
        content: "ATTACK ID";
    }

    .ssa-table td:nth-of-type(2):before {
        content: "DATE";
    }

    .ssa-table td:nth-of-type(3):before {
        content: "# DEATHS";
    }

    .ssa-table td:nth-of-type(4):before {
        content: "# INJURIES";
    }
 
    .ssa-subtable{
        display:table;
    }

    .ssa-subtable th{
        text-align:center;
    }

}

.herams-icon {
    font-size: medium;
    text-align: center;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    background-color: #638ecc;
    border-color: #4175c3;
    border-style: solid;
    opacity: 0.8;
    line-height:20px;
}

.ssa-icon {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background-color: #F3A8A2;
    border-color: #d82138;
    border-style: solid;
    opacity: 0.5;
}

.display-block,
label.display-block {
    display: block;
}
.border-bottom-blue {
    border-bottom: 2px solid #1269DB;
}
.width-100 {
    width: 100% !important;
}

/*Useful links start*/

.custom-drop-btn {
    color: #fff !important;
    outline: none;
    box-shadow: none;
    border: 0px;
    padding: 14px 12px;
    /*height: 50px;*/
    /*font-size: 14px;*/
}

.custom-drop-menu a {
    border-bottom: 1px solid #f3f3f3;
    padding: 8px 15px;
    font-size: 14px;
    color: #000;
}

.custom-drop-btn:hover {
    text-decoration: none;
}

.custom-drop-menu .dropdown-item:focus {
    color: #000;
    background-color: #f8f9fa;
}

.custom-drop-menu .dropdown-item:active {
    color: #000;
    background-color: #f8f9fa;
}

.dropdown-submenu {
    position: relative;
    padding: 0;
}

    .dropdown-submenu .dropdown-item-toggle {
        margin-right: 5px;
    }

        .dropdown-submenu .dropdown-item-toggle::after {
            position: absolute;
            right: 5px;
            content: "▸";
            color: #000;
            font-size: 15px;
            margin-left: 0.5rem;
        }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }
/*Useful links end*/

.circle-with-txt {
    position: relative;
    color: gray;
    font-size: 14px;
    font-weight: bold;
    width: 50px;
    height: 50px;
}

.txt {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.population-icon {
    font-size: 15px;
    text-align: center;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background-color: darkgray;
    border-color: #4175c3;
    border-style: solid;
    opacity: 0.5;
    line-height: 40px;
}

.refugee-icon {
    background-color: #3388ff;
    opacity: -0.9;
    border-radius: 50%;
    line-height: 40px;
}