﻿

/* General */
.alert-holder {
    display: none;
}

.btn-deselected {
    background: #999;
    color: #333;
}

body {
    font-family: "Open Sans", sans-serif !important;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0;
    padding: 0;
    width: 100%;
}

* {
    box-sizing: border-box;
}

select {
    font-family: 'FontAwesome', 'Open Sans';
}

h4 {
    font-size: 25px;
    font-weight: bold;
}

h5 {
    font-size: 21px;
    font-weight: bold;
    margin-top: 20px;
}

/* Homepage */

.homepage-banner {
    text-align: center;
}

.homepage-title {
    font-size: 54px;
}

#login-form, #registration-form, #reset-password-form, #password-form, #user-settings {
    margin-bottom: 20px;
    max-width: 400px;
}

    #login-form h2,
    #login-form label {
        color: #999;
    }

    #login-form h3 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    #login-form label {
        font-size: 14px;
        display: inline-block;
    }

    #login-form input {
    }

#username {
    margin-bottom: 10px;
}

#user_not_found {
    font-size: 14px;
    line-height: 1.5;
}

    #user_not_found .alert {
        padding: 10px;
    }

#login-form a {
    font-size: 14px;
}

#forgotten-password {
    float: right;
    display: block;
}

#login-form a:hover {
    color: #ff5e00;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-top: 10px;
}

    .embed-container iframe,
    .embed-container object,
    .embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

footer a {
    padding-left: 0;
}

.Main-content a {
    color: blue;
}

    .Main-content a:hover {
        color: darkblue;
        text-decoration: underline;
    }
/* Map page */

#map-holder {
    margin: 30px 0 0 -40px;
}

#map_canvas {
    width: 100%;
}

#dashboard {
    position: absolute;
    top: 180px;
    left: 60px;
    z-index: 5;
    background: #F6F6F6;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border: 1px solid #ccc;
    max-height: 500px;
    width: 731px;
    overflow-x: hidden;
    overflow-y: auto;
}

#dashboard-header {
    margin-bottom: 5px;
}

#dashboard h4 {
    margin: 14px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
}

#dashboard table {
    margin: 0 8px 5px;
}

#minimise-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    position: absolute;
    top: 24px;
    right: 16px;
    cursor: pointer;
    color: #fff;
}

.card-header #minimise-btn {
    top: 30px;
}

#info-tooltip {
    cursor: pointer;
}

.tooltip-inner {
    min-width: 300px;
}

.country-picker {
    margin: 12px 8px 12px 8px;
    font-weight: 600;
}

th.name {
    text-align: left;
    padding-right: 15px;
    min-width: 350px;
}

.icon-holder {
    font-size: 20px;
}

.grey-icon {
    color: silver;
}

.dashboard-header {
    background: #FF5E00;
    box-shadow: inset 0px -2px 5.1px rgba(0, 0, 0, 0.2);
    gap: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 8px;
    color: #fff;
}

.db-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* padding: 0px; */
    margin: 0 50px 0 auto;
    flex: none;
    order: 1;
    flex-grow: 0;
    height: 47px;
    line-height: 48px;
    cursor: pointer;
}

.db-tab {
    opacity: 0.75;
    height: 52px;
    width: 110px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    .db-tab.active {
        opacity: 1;
        border-bottom: 5px solid #F2F2F2;
        font-weight: 600;
    }


.table-tab {
    position: relative;
    width: 114px;
    height: 38px;
    text-align: left;
    gap: 10px;
    font-weight: 200;
    padding: 10px;
    cursor: pointer;
}

    .table-tab::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0.5px;
        width: 113px;
        height: 1px;
        background-color: #BDBDBD;
    }

    .table-tab.active::after {
        display: none;
    }

    .table-tab.active {
        font-weight: 600;
        background: #fff;
    }

.country-tr {
    background: #fff;
}

#add-country {
    border: 0;
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
    width: 150px;
    background: #2E3D4F;
    color: #fff;
    padding: 2px 10px;
    font-weight: 200;
    font-size: 14px;
}

.dashboard-btn {
    border-radius: 0;
    background: #2E3D4F;
    font-weight: 200;
    font-size: 14px;
    font-family: 'FontAwesome', 'Open Sans';
}

#user-pdf,
#clear-all {
    float: right;
}

#clear-all {
    margin-right: 5px;
}

@media(max-width: 1640px) {
    #map_canvas {
        width: 101.5%;
        height: 100%;
    }
}

#notes-holder {
    margin-bottom: 16px;
}
/*
    #notes-holder p {
        white-space: pre-line;
    }*/

/* Nav menu */

#navbar {
    padding: 37px 45px;
}

#menu-container {
    position: relative;
    float: right;
}

#toggle-menu {
    height: 40px;
    width: 40px;
    background: white;
    color: #ff5e00;
    border: none;
    font-size: 40px;
    position: absolute;
    right: 40px;
    cursor: pointer;
}

nav#menu-links {
    position: absolute;
    display: none;
    top: 86px;
    left: 0px;
    width: 100%;
    z-index: 105;
    background: white;
    padding-bottom: 40px;
}

    nav#menu-links a {
        text-align: right;
        padding: 10px 24px 0 0px;
        display: block;
    }

        nav#menu-links a:hover {
            color: #ff5e00;
            text-decoration: none;
        }

#main-nav a {
    text-align: center;
}
/* Country index */

.country-index-container h3 {
    text-align: center;
}

#country-index table {
    width: 100%;
    margin-bottom: 20px;
}

#filters button {
    width: 130px;
    margin: auto 0;
}

#dashboard table {
    width: 97%;
    margin-bottom: 20px;
}

    #country-index table td, #dashboard table td {
        padding: 5px 0px 5px 4px;
        border-bottom: 5px solid #F2F2F2;
    }

    #country-index table tr.tr-even td, #dashboard table tr.tr-even td {
        background-color: #f6f6f6;
    }

#country-index table tr th {
    text-align: center;
    vertical-align: top;
    font-size: 14px;
}

.delete-subcategory,
.delete-country,
#add-country,
#open-note-form {
    cursor: pointer;
}

.delete-subcategory,
.delete-country {
    color: #BABABA;
}

#save-notes {
    margin-top: 10px;
}

@media(min-width: 600px) {
    #country-index .icon-holder {
        width: 120px;
        text-align: center;
    }
}

#dashboard .icon-holder {
    padding-left: 10px;
}

.footer-inner {
    font-size: 14px;
    line-height: 20px;
}
    .footer-inner a {
        color: blue !important;
        text-decoration: underline;
    }


    .footer-inner p {
        margin-bottom: 5px;
    }

        .footer-inner p.normal-size {
            margin-bottom: 1rem;
            font-size: 17px;
        }

.powered-by {
    display: inline-flex;
}

    .powered-by p {
        margin-top: auto;
        margin-bottom: auto;
    }

    .powered-by img {
        margin-left: 8px;
        cursor: pointer;
        height: 33px;
    }

.Main-content {
    padding: 20px 120px;
}

h1 {
    text-align: center;
    margin: 0px 0 32px 0;
    letter-spacing: 0em;
    font-weight: 700;
    font-style: normal;
    font-size: 37px;
    letter-spacing: .01em;
    line-height: 1.4em;
    text-transform: none;
    color: #4d4d4d;
}

h2 {
    margin: 10px 0 0px 0;
    letter-spacing: 0em;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    letter-spacing: .01em;
    line-height: 1.2em;
    text-transform: none;
}

header {
    position: relative;
}

#modal-window {
    position: absolute;
    top: 188px;
    left: 68px;
    z-index: 6;
    background: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
    border: 1px solid #ccc;
    height: 620px;
    width: 800px;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
}

    #modal-window.index-modal {
        position: fixed;
        top: 68px;
    }

#model-header {
    margin-bottom: 5px;
}

#dashboard h4, #modal-window h4 {
    margin: 14px;
    font-size: 20px;
    font-weight: 600;
}



#dashboard table th img {
    padding-left: 3px;
}

#close-report-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    float: right;
}

.due-diligence-footer {
    margin-top: 12px;
}

.due-diligence-btn {
    margin-top: 8px;
}

.risk-lvl-0 {
    color: #FFD37B;
}

.risk-lvl-1 {
    color: orange;
}

.risk-lvl-2 {
    color: #FF5922;
}

.risk-lvl-3 {
    color: red;
}

.risk-lvl-4 {
    color: #A2030B;
}

.no-data {
    color: #B4B4B4;
    font-size: unset!important;
}

.country-report-inner {
    padding: 0px 14px 14px 14px;
}

label.label-small {
    font-size: 12px;
    line-height: 1.4;
}

#filters .col-sm-2 {
    margin: auto 0;
}

@media(max-width: 1024px) {
    #filters strong {
        font-size: 14px;
        line-height: 18px;
    }

    #filters button {
        width: 90px;
        font-size: 12px;
        padding: 6px 4px;
    }
}

#methodology-table th,
#methodology-table td {
    border: 1px solid grey;
    vertical-align: top;
    padding: 0 5px;
}

#about-note {
    font-size: 14px;
    line-height: 18px;
    font-style: italic;
}

a {
    color: rgba(0,0,0,0.77) !important;
    text-decoration: none;
}




.dropdown-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
}

.dropdown-wrapper {
    display: flex;
    flex-direction: column;
    width: 190px;
}

.dropdown {
    position: relative;
}

.dropdown-select {
    border: 1px solid #ccc;
    padding: 6px;
    min-height: 40px;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .dropdown-select .item {
        background: #EAECED;
        border-radius: 2.40082px;
        color: #2E3D4F;
        padding: 2px 6px;
        border-radius: 3px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .dropdown-select .remove {
        cursor: pointer;
        font-weight: bold;
    }

    .dropdown-select::after {
        content: "▼";
        color: #828282;
        margin-left: auto;
        align-self: center;
        font-size: 10px;
    }


.dropdown-options {
    background: white;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    position: absolute;
    z-index: 9999;
}


    .dropdown-options div {
        padding: 8px;
        cursor: pointer;
    }

        .dropdown-options div:hover {
            background-color: #f0f0f0;
        }


#clearAll {
    border: 1px solid #2E3D4F;
    border-radius: 10px;
    background: none;
    color: #2E3D4F;
    font-size: 13px;
    position: relative;
    top: 38px;
}

#global-sub-cat {
    text-align: left;
}

.add-subcategory {
    padding: 0px 0 0px 4px;
    color: #2E3D4F;
    font-family: 'FontAwesome', 'Open Sans';
    font-size: 12px;
    vertical-align: middle;
    border-bottom: none;
    cursor: pointer;
}

    .add-subcategory td {
        vertical-align: middle;
        border-bottom: none !important;
        cursor: pointer;
    }

    .add-subcategory.disabled,
    .add-subcategory.disabled td {
        color: darkgray;
        cursor: default;
    }

.country-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

#add-country {
    flex-grow: 1;
}

.country-controls.single-select #add-country {
    width: 100%;
}

.country-controls.full-controls #add-country {
    width: 75%;
}

.country-controls.full-controls #user-pdf,
.country-controls.full-controls #clear-all {
    width: 15%;
}

.country-controls.subcat-visible #add-country {
    width: 40%;
}

.country-controls.subcat-visible #global-sub-cat {
    width: 30%;
}

.country-controls.subcat-visible #user-pdf,
.country-controls.subcat-visible #clear-all {
    width: 15%;
}


.country-subcategory-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    width: 300px;
    box-sizing: border-box;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
}

.custom-subcat-dropdown {
    box-sizing: border-box;
}

    .custom-subcat-dropdown .option {
        padding: 8px 12px;
        cursor: pointer;
        user-select: none;
    }

        .custom-subcat-dropdown .option:hover {
            background-color: #eee;
        }


.country-name {
    font-weight: bold;
}

.subcategory-row .name {
    padding-left: 2em !important;
}

.name {
    width: 211px;
}

.filterdisabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}


.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 549px;
    height: 49px;
    background: #F3F3F3;
    border-radius: 5px;
    border: none;
    padding: 0;
}


    .dropdown-toggle .label {
        flex: 1;
        padding: 0 12px;
        text-align: left;
        color: #333333;
        font-size: 16px;
        line-height: 49px;
    }

    .dropdown-toggle .arrow {
        width: 52px;
        height: 49px;
        background: #333333;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

        .dropdown-toggle .arrow::after {
            content: "";
            display: block;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #FFFFFF;
        }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-toggle:disabled .arrow {
        background: #D9D9D9;
    }

        .dropdown-toggle:disabled .arrow::after {
            border-top-color: #FFFFFF;
        }

.dropdown-item {
    color: #333 !important;
}

.category-tab {
    border: none;
    border-radius: 0;
}

    .category-tab.btn {
        background: #333333 !important;
        color: #FFFFFF;
    }

    .category-tab.btn-dark {
        font-weight: bolder;
        background: #FFFFFF !important;
        color: #333333 !important;
    }

.tab-header {
    display: flex;
    background: #333333;
    height: 57px;
}

#map_canvas svg rect {
    fill: transparent !important;
}

.dashboard {
    background: #FFFFFF;
    box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
    border-radius: 5px 0px 0px 5px;
    width: 800px;
    z-index: 0;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

    .dashboard .dashboard-left-column {
        height: 140px;
        width: 1165px;
    }

    .dashboard .dashboard-right-column {
        height: 140px;
        width: 150px;
    }

.risk-key-container {
    top: 0;
    left: 100%;
    background: #fff;
    filter: drop-shadow(0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25));
    border-radius: 0px 5px 5px 0px;
    display: flex;
    flex-direction: column;
    width: 150px;
    z-index: -1;
}


.risk-item {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    color: #333;
    font-weight: 100;
}

.risk-square {
    width: 35px;
    height: 35px;
    background: #ccc;
    border-radius: 0;
    margin-right: 10px;
}

    .risk-square.high {
        background: #A2030B;
    }

    .risk-square.medium {
        background: #FF5922;
    }

    .risk-square.low {
        background: #FFD37B;
    }

    .risk-square.none {
        background: #B4B4B4;
    }


.google-visualization-tooltip {
    border: none !important;
    padding: 0 !important;
    box-shadow: 0px 3.76285px 3.76285px rgba(0, 0, 0, 0.25) !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    width: 264px !important;
    background: #fff !important;
}

.tooltip-container {
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tooltip-header {
    background: #333;
    color: #fff;
    padding: 10px;
}

.tooltip-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
}

    .tooltip-header-row i {
        font-size: 30px;
    }

.tooltip-body {
    padding: 6px 10px 6px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tooltip-selection {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.tooltip-type {
    font-size: 14px;
    margin-bottom: 4px;
}

.tooltip-rating {
    font-weight: bold;
    font-size: 14px;
}


.google-visualization-tooltip .google-visualization-tooltip-item-list .google-visualization-tooltip-item {
    margin: 4px 4px 0px 4px !important;
    padding: 0 !important
}

.google-visualization-tooltip .google-visualization-tooltip-item-list:first-child {
    margin: 0px !important;
    padding: 0 !important
}


.white-section,
.login-section,
.register-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section {
    height: 550px;
    padding: 60px 20px;
    background: url('/img/bgmain.png') no-repeat center center;
    background-size: cover;
}

.register-section {
    height: 478px;
    padding: 60px 20px;
    background: #FF5922;
}

.white-section {
    height: 478px;
    padding: 60px 20px;
    background: #FFF;
}

.login-container {
    position: absolute;
    width: 580px;
    height: 472px;
    left: calc(50% - 580px/2);
    top: 203px;
    background: #FFFFFF;
    box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 1;
    text-align: center;
    padding: 10px 15px 15px 15px
}






.register-container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: 25px;
}

.login-title {
    font-style: normal;
    font-weight: 600;
    font-size: 27.7518px;
    line-height: 52px;
    color: #333333;
    font-family: Open Sans;
}

.login-form {
    background: #F3F3F3;
    padding: 40px 90px 0px 90px;
    height: 100%;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

.forgot-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #333;
    text-decoration: underline;
}

.register-title {
    font-weight: 600;
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: normal;
    font-family: Open Sans;
}

.register-subtitle {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 25px;
    font-weight: 200;
}

.main-btn {
    font-size: 20px;
    border-radius: 5px;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-family: Open Sans;
    font-weight: 600;
}

    .main-btn.primary {
        background: #FF5922;
        color: #fff !important;
    }

    .main-btn.alt {
        background: #333333;
        color: #fff !important;
    }

    .main-btn.secondary {
        background: #FFFFFF;
        color: #333333 !important;
        border: none;
    }

    .main-btn.primary:hover {
        background: #FFFFFF !important;
        color: #333333 !important;
        border: none;
        text-decoration: none !important;
    }

    .main-btn.alt:hover {
        background: #FF5922 !important;
        color: #fff !important;
        border: none;
    }

    .main-btn.secondary:hover {
        background: #FF5922 !important;
        color: #fff !important;
        border: none;
    }

    .main-btn.disabled,
    .main-btn:disabled {
        background: #cccccc !important;
        color: #666666 !important;
        cursor: not-allowed;
        pointer-events: none;
        border: none;
    }



.form-checkbox {
    font-size: 12px;
}

    .form-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid #4A4A4A;
        border-radius: 4px;
        background-color: transparent;
        position: relative;
        margin-right: 10px;
        vertical-align: middle;
        cursor: pointer;
    }

        .form-checkbox input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            top: 2px;
            left: 6px;
            width: 6px;
            height: 12px;
            border: solid #FF5922;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }


.landing-main {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    min-height: 81vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/bgmain.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
}

.dashboard-top-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: url('/img/bgmain.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
}



.landing-container {
    position: relative;
    z-index: 1;
    width: 868px;
    height: 472px;
    background: #FFFFFF;
    box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 20px 10px 30px 10px;
    text-align: center;
}


.landing-form {
    background: #F3F3F3;
    padding: 40px 10px 55px 10px;
}

.landing-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 65px;
}


    .landing-buttons .main-btn {
        width: 180px;
        height: 62px;
        flex: none;
    }

.landing-desc {
    text-align: center !important;
    max-width: 650px;
    margin: 0 auto 20px auto;
    font-size: 20px;
}

.landing-cta-desc {
    text-align: center !important;
    font-family: Open Sans;
    font-size: 20px;
}

.d-block.d-md-none a {
    font-family: 'Open Sans', sans-serif !important;
}



@media (max-width: 768px) {
    .login-section,
    .register-section,
    .white-section, {
        margin-left: 0;
        margin-right: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 40px 15px;
    }

    .login-section {
        height: 400px;
    }

    .login-container {
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 490px;
        padding: 20px 15px;
        border-radius: 8px;
        box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
    }

    .login-form {
        padding: 50px 30px 90px 30px !important
    }

    .footer-inner {
        max-width: 100%;
    }

    #navbar {
        max-width: 100%;
    }

    #main-nav {
        display: none !important;
    }

    .landing-container {
        width: 90% !important;
        height: 730px !important;
        margin: 40px 20px;
    }

    .landing-form {
        padding: 30px 20px 31px 20px !important;
    }

    .landing-buttons {
        display: block;
        margin-top: 65px;
    }

        .landing-buttons > * {
            display: block;
            width: 100%;
            max-width: 280px;
            margin: 10px auto;
        }

    #map-holder {
        display: none;
    }
}

.tab-header-buttons {
    display: flex;
    gap: 5px;
}

.map-main {
    background: transparent;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-dropdowns {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    padding: 10px;
}

@media (max-width: 768px) {





    .map-main {
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        min-height: 81vh;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dashboard {
        width: 350px;
        flex-direction: column;
        border-radius: 5px;
        box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
        margin: 0 auto;
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
    }

        .dashboard .dashboard-left-column,
        .dashboard .dashboard-right-column {
            width: 100%;
            height: auto;
        }

    .tab-header {
        width: 100%;
        background-color: #333333;
        padding: 10px;
        border-radius: 5px 5px 0 0;
        box-sizing: border-box;
        height: 80px;
    }

    .tab-header-buttons {
        display: none;
    }

    .dropdown-toggle .arrow {
        background: #000000 !important;
    }

    .tabs-dropdown {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

        .tabs-dropdown select {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border-radius: 5px;
            border: 1px solid #ced4da;
        }

    #topic-buttons-container,
    #indicator-buttons-container {
        width: 100%;
        margin-bottom: 10px;
    }

        #topic-buttons-container .dropdown button,
        #indicator-buttons-container .dropdown button {
            width: 100%;
        }

    #topic-loading {
        margin: 15px 0;
        text-align: center;
    }






    .risk-key-container {
        position: absolute;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin-top: 20px;
        border-radius: 5px;
        box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
        z-index: 0;
        left: 0;
        top: 60vh;
        grid-auto-flow: row dense;
    }

        .risk-key-container .risk-item:nth-child(1) { /* High */
            grid-column: 1;
            grid-row: 1;
        }

        .risk-key-container .risk-item:nth-child(3) { /* Low */
            grid-column: 2;
            grid-row: 1;
        }

        .risk-key-container .risk-item:nth-child(2) { /* Medium */
            grid-column: 1;
            grid-row: 2;
        }

        .risk-key-container .risk-item:nth-child(4) { /* No Data */
            grid-column: 2;
            grid-row: 2;
        }







    .risk-item {
        display: flex;
        align-items: center;
    }

    .risk-square {
        width: 40px;
        height: 40px;
    }

    .dropdown-toggle {
        width: 300px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-drop {
        margin-left: 20px;
        margin-top: 5px;
    }

    .dropdown-menu.show {
        inset: unset !important;
        margin: unset !important;
        transform: unset !important;
    }

    .mobile-dropdowns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        flex-wrap: nowrap;
        padding-top: 20px;
    }

    .dashboard-results {
        width: 100%;
        margin-top: 20px;
        padding: 15px;
        background-color: #FF5922;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }

        .dashboard-results .results-title {
            font-family: Open Sans;
            font-weight: bold;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .dashboard-results .results-dropdown-menu {
            max-height: 200px;
            overflow-y: auto;
            width: 100% !important;
        }

            .dashboard-results .results-dropdown-menu .dropdown-item {
                color: #333333;
            }

                .dashboard-results .results-dropdown-menu .dropdown-item:hover {
                    background-color: #f0f0f0;
                }


    .results-tooltip {
        background: white;
        margin-top: 20px;
        border-radius: 5px;
        padding: 5px;
        box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
    }
}

.dash-tbl-table {
    width: 100%;
    border: none;
    table-layout: fixed;
    box-shadow: 0px 3.58924px 12.4726px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}

    .dash-tbl-header-row{
        background: #fff;
    }

    .dash-tbl-header-row,
    .dash-tbl-empty-th,
    .dash-tbl-table tr {
        border: none !important;
    }

/* Top black row */
.dash-tbl-top-row {
    background-color: #333333;
}

/* Add Country cell */
.dash-tbl-country-cell {
    width: 50%;
}

.dash-tbl-add-country-btn {
    background: none;
    border: none;
    color: #ffffff;
    text-align: left;
    width: 100%;
}

/* Country select panel and internals (keep structure, add classes) */
.dash-tbl-country-panel {
}

.dash-tbl-country-panel-header {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.dash-tbl-country-search {
    flex: 1;
}

.dash-tbl-select-all-btn {
}

.dash-tbl-deselect-all-btn {
}

.dash-tbl-country-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;
    background: #fff;
}

.dash-tbl-country-list-item {
    margin-bottom: 4px;
}

.dash-tbl-country-label {
    width: 100%;
    cursor: pointer;
}

.dash-tbl-country-checkbox {
    margin-right: 8px;
}

/* Heading row */
.dash-tbl-heading-row {
    background: #ffffff;
}

.dash-tbl-heading {
    text-align: center;
    font-weight: bold;
    padding: 8px;
}

.dash-tbl-empty-cell,
.dash-tbl-heading-empty {
}

/* Shared heading/row cell styles */
.dash-tbl-header-th {
    text-align: right;
    font-weight: 100;
    border: none !important;
    border-right: 1px solid #B4B4B4 !important;
    font-size: 11px;
    transform-origin: center;
    line-height: 10px;
    padding: 4px !important;
    letter-spacing: -0.2px;
}

/* Column widths */
.dash-tbl-country-cell,
.dash-tbl-heading-row th:first-child,
#country-status-table tbody td:first-child {
    width: 50%;
}

.dash-tbl-heading-row th:not(:first-child),
#country-status-table tbody td:not(:first-child) {
    width: 12.5%;
}

.dash-tbl-header-title {
    color: #fff;
    text-align: right;
}

.dash-tbl-country-row {
    background-color: #F3F3F3;
    border-radius: 6px;
    box-shadow: inset 0 0 0 6px #ffffff;
}

    .dash-tbl-country-row td {
        border-bottom: none !important;
        border-top: none !important
    }

    @media (max-width: 767px) {
        .dash-tbl-country-row .dash-tbl-country-cell {
            border-bottom: 1px solid #B4B4B4 !important;
        }
    }

.dash-tbl-country-cell {
    text-align: right;
    background-color: transparent; 
    padding: 8px;
    font-size: 20px;
    border-right: 1px solid #B4B4B4 !important;
}
    .dash-tbl-country-cell[data-category="cahra"] span{
        font-size: 12px;
    }


    .dash-tbl-delete-country {
        cursor: pointer;
        color: #dc3545;
        margin-right: 6px;
    }

.dash-tbl-country-name{
    font-weight: 600;
    font-size: 16px;
}

.dash-tbl-delete-country {
    color: #BABABA !important;
}


.loading-spinner {
    border: 3px solid #c4c4c4;
    border-top: 3px solid #FF5922;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 6px auto;
    display: block;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.low-text {
    color: #FFD37B;
}

.medium-text {
    color: #FF5922;
}

.high-text {
    color: #A2030B;
}



/*#map_canvas svg path {
    stroke: #333333;
    stroke-width: 1;
}*/


.btn-dark:focus, .btn-dark.focus {
    box-shadow: none !important;
}

.table td, .table th {
    border-top: none !important;
}

.cookie-consent {
    position: fixed;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.1);
    padding: 24px 0;
    background: linear-gradient(to bottom, #e3401c, #f95421);
    display: none;
}

    .cookie-consent p {
        padding: 0;
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
        margin: 0;
    }

        .cookie-consent p a {
            color: #fff;
            text-decoration: underline;
        }