
body {
    height: 100%;
    margin: 0px;
    font-family: 'Arial';

}

#dotsBackground {
    background-color: #E7E9EB;
    width: 100%;
    height: 100vh;
    z-index: 0;
    position: absolute;
    margin-top: 0px;
    margin-left: 0px;
    background-image: url("/frontend/assets/background_dots.png");
}

#navbar {
    width: 100px;
    height: 100px;
    position: fixed;
    float: left;
    left: 0px;
    top: 0px;
    background-color: transparent;
/*  background-color: #2a3b46;*/
    z-index: 10;
}

/*.mapboxgl-ctrl-logo {
    display: none !important;

}*/

#eosrisk_logo {
    float: left;
    width: 280px;
    height: 40px;
    margin-top: 13px;
    margin-left: 71px;
    background-color: #2a3b46;
    background-image: url("/frontend/assets/eosassure_logo.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    cursor: pointer;
}

#usernameText {
    width: 380px;
    height: 50px;
    border: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    cursor: pointer;
    position: relative;
}

#usernameText:hover {
    background-color: #405969;

}

#userCredentials {
    border: none;
    border-color: red;
    border-width: 2px;
    color: white;
    font-size: 22px;
    width: 380px;
    margin-top: 12px;
    margin-left: 20px;
    height: 50px;
}

#optionsBox {
    position: fixed;
    z-index: 9999;
    aspect-ratio: 24 / 9;
    height: 55px;
    border-right: solid;
    border-bottom: solid;
    border-bottom-right-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-width: 2px;
    float: left;
    margin-top: 0px;
    margin-right: 0px;
    border-color: white;
    color: white;
}

#companyFilterToggler {
    position: fixed;
    z-index: 9999;
    aspect-ratio: 24 / 9;
    height: 55px;
    border: solid;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-width: 2px;
    float: left;
    left: 300px;
    margin-top: 0px;
    margin-right: 0px;
    border-color: white;
    color: white;
}
.each-company-filter {
    padding: 15px 10px;
}

#optionsBox:hover, #companyFilterToggler:hover {
    cursor: pointer;
    background-color: rgba(42, 59, 70, 0.5);
}

#optionsParagraph, #companyFilterText {
    border: none;
    border-color: red;
    border-width: 2px;
    color: inherit;
    font-size: 22px;
    width: 100px;
    height: 30px;
    margin-top: 14px;
    margin-left: 30px;
    position: absolute;

}

#closeMenuBox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 146.66666px;
    aspect-ratio: 24 / 9;
    height: 55px;
    border-left: solid;
    border-bottom: solid;
    border-right: solid;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-width: 2px;
    border-color: white;
/*    background-color: #2a3b46;*/
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

#closeMenuBox:hover {
    cursor: pointer;
    background-color: rgba(42, 59, 70, 0.5);
}

#closeParagraph {
    border: none;
    border-color: red;
    border-width: 2px;
    color: inherit;
    font-size: 22px;
    width: 100px;
    height: 30px;
    margin-top: 14px;
    margin-left: 40px;
    position: absolute;

}

#rightBox {
    top: 0px;
    right: 0;
    position: fixed;
    z-index: 10;
    border-bottom: solid;
    border-bottom-left-radius: 0;
    border-width: 2px;
    border-color: #404B52;
    width: 338px;
    height: 55px;
    background-color: #2a3b46;
}

#rightBox:hover {
    cursor: pointer;
}

#logoBox {
    float: right;
    margin-right: 0px;
    border: none;
    border-width: 1px;
    height: 100%;
    background-repeat: no-repeat;
}

#map {
    width: 100vw;
    height: calc(100vh - 0px);
    max-width: 100%;
    border: none;
    border-color: red;
    border-width: 4px;
    margin-top: 0px;

}

.testMenuText {
    color: black;
    margin-left: 20px;
}

#menuTextBox {
    width: 210px;
    white-space: nowrap; /* prevents text wrapping in div*/
    overflow: hidden;
    height: calc(100vh - 71px - 100px);
    border: none;
    border-color: red;
    border-width: 1px;
    position: absolute;
    top: 5px;
    left: 5px;
}

#menuCheckBox {
    width: 30px;
    white-space: nowrap; /* prevents text wrapping in div*/
    overflow: hidden;
    height: calc(100vh - 71px - 100px);
    border: none;
    border-color: yellow;
    border-width: 1px;
    position: absolute;
    top: 5px;
    left: 230px;
}

#newIMO {
    position: absolute;
    bottom: 20px;
    left: 23px;
    width: 250px;
    height: 40px;
    border: none;
    border-color: red;
    border-width: 1px;
}

#imoDisplay {
    position: absolute;
    bottom: -8px;
    left: 40px;
    width: 250px;
    height: 40px;
    border: none;
    border-color: red;
    border-width: 1px;
}


#testMenuCheckbox2 {
   margin-top: 17.8px;
}

#testMenuCheckbox3 {
   margin-top: 17.8px;
}

#testMenuCheckbox4 {
   margin-top: 17.8px;
}

#testMenuCheckbox5 {
   margin-top: 17.8px;
}

#testMenuCheckbox6 {
   margin-top: 17.8px;
}

#testMenuCheckbox7 {
   margin-top: 21px;
}

#testMenuCheckbox8 {
   margin-top: 17.8px;
}

#testMenuCheckbox9 {
   margin-top: 17.8px;
}

#testMenuCheckbox10 {
   margin-top: 17.8px;
}

#testMenuCheckbox11 {
   margin-top: 17.8px;
}

#longLat {
    display: block;
    position: fixed;
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 0px;
    padding-left: 10px;
    width: 210px;
    height: 210px;
    /*border:solid;
    border-width: 3px;
    border-color: red;*/
    bottom: 65px;
    right: 0px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 5px;
    transition-property: right;
    transition-duration: 0.8s;
    right: -300px;
}

#longBox {
    width: 100px;
    height: 200px;
    border: none;
    border-color: black;
    border-width: 1px;
    float: left;
}

#latBox {
    width: 100px;
    height: 200px;
    border: none;
    border-color: black;
    border-width: 1px;
    float: right;
}

#longPara {
    width: 100%;
    height: 100%;
    border: none;
    border-color: black;
    border-width: 1px;
    overflow-wrap: normal;
}

#latPara {
    width: 100%;
    height: 100%;
    border: none;
    border-color: black;
    border-width: 1px;
}


.calculation-box {
    height: 40px;
    width: 250px;
    position: absolute;
    bottom: 87px;
    right: 0px;
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    text-align: center;
}


#calculated-area {
/*    border: solid;
    border-color: red;
    border-width: 2px;*/
    width: 250px;
    height: 40px;
    margin-top: -5px;
}

/*////////////////////////////////////////////////////////////////////////////////*/


.mapboxgl-ctrl-geocoder {
    margin-left: auto;
    margin-right: auto;
    height: 35px;
    width: 400px;
    border: none;
    border-width: 3px;
    border-color: red;
    border-radius: 25px;
}

.mapboxgl-ctrl-geocoder--input {
    height: 24px;
    width: 280px;
    border: none;
    border-width: 3px;
    border-color: #2A3D46;
    padding-top: 7px;
    padding-bottom: 4px;
    padding-left: 25px;
    font-family: 'Elza', sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #2A3D46;
}
.mapboxgl-ctrl-geocoder--input::placeholder { 
    font-family: 'Elza', sans-serif !important;
    font-size: 15px;
    font-weight: 300;
    color: #2A3D46;
}
.mapboxgl-ctrl-geocoder--icon-search {
    border: none;
    border-width: 3px;
    border-color: black;
    transform: translate(350px, -7px);
    margin-left: 0px;
    margin-bottom: 0px;
}

.mapboxgl-ctrl-bottom-right {
    width: 100vw;
}


#info {
    position: fixed;
    z-index: 1;
    border: solid;
    border-right: none;
    border-width: 1.5px;
    border-color: black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 3px;
    padding-left: 6px;
    right: 0px;
    width: 250px;
    height: 16px;
    bottom: 0px;
    margin-bottom: 21px;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.distance-container {
    position: fixed;
    direction: rtl;
    width: 100px;
    height: 22px;
    right: 0px;
    bottom: 40px;
    margin-bottom: 5.5px;
    z-index: 10;
}

.geocoder-container {
    position: fixed;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, 0);
    width: 400px;
    height: 35px;
    top: -40px;
    transition: top 0.4s ease;
}

#vessel_imo_search_box {
    position: fixed;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, 0);

    width: 300px;
    height: 50px;
/*
    border: solid;
    border-width: 3px;
    border-color: red;*/

    display: none;

}

#vessel_imo_search_input {
    width: 290px;
    height: 34px;
}
 


#route_imo_search_box {
    position: fixed;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, 0);

    width: 300px;
    height: 50px;
/*
    border: solid;
    border-width: 3px;
    border-color: red;*/

    display: none;

}

#route_imo_search_input {
    width: 290px;
    height: 34px;
}

span.cross-button {
    display: inline-block;
    cursor: pointer;
    display: none;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    color: white;
    background-color: red;
    border-radius: 12px;
}

.distance-container > * {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.85);
    color: black;
    direction: rtl;

    border-top: solid;
    border-bottom: solid;
    border-left: solid;
    border-right: none;
    border-width: 1.5px;
    border-color: black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    

    font-size: 12px;
    padding: 3px;
    padding-left: 6px;

}



#map_options_button_1 {
    margin-top: 0px;
}

#map_options_button_2 {
    margin-top: 0px;
}

#map_options_button_3 {
    margin-top: 0px;
}

#map_options_button_4 {
    margin-top: 0px;
}

#map_options_button_5 {
    margin-top: 0px;
}

#map_options_button_6 {
    margin-top: 0px;
}

#map_options_button_7 {
    margin-top: 0px;
}

#map_options_button_8 {
    margin-top: 0px;
}

#map_options_button_9 {
    margin-top: 0px;
}


/*////////////////////////////////////////////////////////////////////////////////*/

#reset_box {
    position: fixed;
    border: none;
    border-width: 0px;
    border-color: black;
    border-radius: 0px;
    width: 22px;
    height: 36px;
    bottom: 22px;
    left: 23px;
    z-index: 1;
    background-color: #5A6570;
    border-radius: 20px;
    cursor: pointer;
    background-size: 20px;
}



#reset_boxs {
    position: absolute;
    border: none;
    border-width: 0px;
    border-color: black;
    width: 22px;
    height: 41px;
    top: -15px;
    right: 35px;
    z-index: 1;
    background-color: #5A6570;
    border-radius: 20px;
    cursor: pointer;
    background-size: 20px;
    transform: rotate(90deg);
}

#fullMenuBox, #fullCompaniesFilterBox, #fullDmzFilterBox {
    display: block;
    position: fixed;
    z-index: 10;
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.85);
    width: 283.33333px;
    height: calc(100vh - 120px);
    top: 67px;
    left: -300px;
    transition-property: left;
    transition-duration: 0.5s;
}

.testMenuButton {
    border: solid;
    border-width: 1.5px;
    border-radius: 5px;
    width: 262px;
    height: 30px;
    margin-left: 10px;
    margin-top: 10px;
    cursor: pointer;
}

#divider_1 {
    width: 300px;
    height: 300px;
    float: left;
}

#divider_2 {
    width: 300px;
    height: 300px;
    float: left;
}

#divider_text {
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
    font-color:  black;
    margin-top: 12px;
    margin-bottom: 0px;
    margin-left: 12px;
}


.table_heading_test_1 {
    display: inline-block;
    margin-right: 80px;
}

.table_heading_test_3 {
    display: inline-block;
    margin-right: 140px;
}


.page_table_body {
    width: 100%;
    height: calc(100% - 75px);
    border: solid; /* borders for route box*/
    border-width: 3px;
    border-color: yellow;
    overflow-y: scroll;
}

/* .gray_colour_onhover:hover {background-color: #d8d4d4 !important;} */

#page_box {
    display: block;
    position: fixed;
    z-index: 99;
    border: none;
    border-width: 0;
    border-radius: 0px;
    background: linear-gradient(to bottom right, #1a2830, #2e3c46);
    backdrop-filter: blur(16px) brightness(90%);
    -webkit-backdrop-filter: blur(16px) brightness(90%);
    opacity: .99;
    width: calc(100vw - 240px);
    height: calc(100vh - 0px);
    top: 0px;
    right: 0px;
    transition-property: right;
    transition-duration: 0.5s;
}

.vessel_input {
    width: 90px;
    margin-left: 5px;
    margin-right: 15px;
    height: 18px;
    border-color: black;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
    display: inline-block;
}



.tab_page {
    border: solid;
    border-color: red;
    border-width: 3px;
    width: 100%;
    height: 100%;
}

#company_menu_tab {
    display: block;
    border: none;
    height: 100%;
    overflow-y: auto;
}

#companiesTable {
    height: 100%;
    overflow-y: auto;
}

#companyHeaderContent, #companiesTable > tbody > tr > td:nth-child(2) {
    padding-left: 8px;
}

#companiesTable > tbody > tr > td:nth-child(3) > p {
    text-align: center;
}

#tab_1 {
    border: none; /* borders for route box*/
}

#tab_2 {
    border: none; /* borders for route box*/
}

#tab_3 {
    border: none; /* borders for route box*/
}

#tab_4 {
    border: none; /* borders for route box*/
}

#tab_5 {
    border: none; /* borders for route box*/
}

#tab_6 {
    border: none; /* borders for route box*/
}


.menu_submit {
    width: 120px;
    height: 25px;
    margin-left: 67px;
    top: 0px;
    margin-top: 10px;
}


.menu_page_box {
    border:solid;
    border-width: 1.5px;
    border-color: black;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding-top: 10px;
    padding-left: 10px;
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.tab-container {
        display: -webkit-flex; /* Old Safari */
        display: flex;
        border-bottom: 2px solid #ccc;
        margin-bottom: 10px;
    }

    .tab-button {
        background: #f4f4f4;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        transition: 0.3s;
        margin-right: 5px;
        border-radius: 5px 5px 0 0;
    }

    .tab-button:hover, .tab-button.active {
        background: #ddd;
    }

    .tab-content {
        padding: 10px;
    }

    .tab-pane {
        display: none;
    }

    /* Checkboxes Styling */
    .checkboxes-group {
        margin-top: 10px;
    }

    .checkbox-container {
        margin-bottom: 5px;
    }

    /* Overlay Spinner */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none; /* Hidden by default */
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    .spinner {
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #fff;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    } 
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


.route_table_cell {
    float: left;
    height: 100%;
    width: calc(100% / 8);
    margin: 0px;
    align-items: center;
}

.route_table_cell_button {
    float: left;
    height: 100%;
    width: 31px;
    margin: 0px;
    align-items: center;
    margin-right: 10px;
}

.route_heading {
    width: calc(100% / 8);
    margin-top: 10px;
    float: left;
}

.route_heading_button {
    width: calc(24%/3);
    margin-top: 10px;
    float: left;
}


#route_edit_save_button {
    width: 120px;
    margin-left: 0px;
    cursor: pointer;
    margin-right: 14px;
}


#route_edit_generate_vra {
    width: 120px;
    margin-left: 0px;
    cursor: pointer;
    margin-right: 14px;
}


#route_edit_update_route {
    width: 120px;
    margin-left: 0px;
    cursor: pointer;
}


#route_edit_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
/*    border: solid;
    border-width: 1px;
    border-color: red;*/
    margin-left: 50px;
}


#route_edit_imo_title {
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
}


#route_edit_name_dropdown {
    width: 195px;
    margin-left: 5px;
}


#route_edit_dms_dropdown {
    display: inline-block;
    width: 60px;
    margin-left: 5px;
}

#route_add_dms_dropdown {
    display: inline-block;
    width: 60px;
    margin-left: 5px;
}


#route_edit_name_box {
    display: inline-block;
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
}



.route_editable_para {
    border: none;
    border-width: 1px;
    border-color: red;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.route_addable_para {
    border: none;
    border-width: 1px;
    border-color: red;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#route_edit_name_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 8px;
}


#route_edit_start_date_para {

}


#route_edit_arrival_date_para {

}


#route_edit_start_para {

}


#route_edit_destination_para {

}


#route_edit_name_input {
    display: inline-block;
    width: 270px;
    margin-top: 8px;
    margin-left: 5px;
}

#route_add_name_input {
    display: inline-block;
    width: 270px;
    margin-top: 8px;
    margin-left: 5px;
}


#route_edit_start_date_input {
    
}


#route_edit_arrival_date_input {
    
}

.search_input_box {
    display: flex;
    flex-direction: row;
    width: 174px;
}


#route_add_start_input, #route_add_destination_input,
#route_edit_start_input, #route_edit_destination_input {
    width: 150px;
}

.suggestions-dropdown {
    background-color: white;
    border: 1px solid black;
}

.suggestion {
    cursor: pointer;
}

.suggestion:hover {
    color: white;
    background-color: darkblue;
}

.suggestion:not(:first-child) {
    border-top: 1px solid grey;
}


#route_edit_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 130px);
    width: 450px;
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
    overflow-y: scroll;*/
}


#route_edit_first_box {
    width: 410px;
    height: 170px;
    margin-top: 10px;
    padding: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#new_route_tra_box, #edit_route_tra_box {
    margin: 6px 13px;
}

#route_edit_second_box {
    width: 400px;
    /* height: 237px; */
    margin-top: 10px;
    margin-top: 0px;
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-top: 0px;
    padding-bottom: 0.5em;
}

#route_add_second_box {
    width: 400px;
    height: 237px;
    margin-top: 10px;
    margin-top: 0px;
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-top: 0px;
}


#route_edit_coord_box {
    width: 100%;
    height: 145px;
    overflow-y: scroll;
}


#route_edit_name_text {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
}



/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


#route_add_save_button {
    margin-left: 0px;
    cursor: pointer;
    margin-right: 14px;
    cursor: not-allowed;
}


#route_update_visual {
    width: 240px;
    margin-left: 0px;
    left: 0px;
    margin-right: 14px;
    cursor: pointer;
}


#route_add_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
/*    border: solid;
    border-width: 1px;
    border-color: red;*/
    margin-left: 50px;
}


#route_add_imo_title {
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
}


#route_add_name_box {
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
    float: left;
    clear: left;
}



#route_add_name_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 8px;
}


#route_add_start_date_para {

}


#route_add_arrival_date_para {

}


#route_add_start_para {

}


#route_add_destination_para {

}


#route_add_start_date_input {
    
}


#route_add_arrival_date_input {
    
}


#route_add_start_input {
    
}


#route_add_destination_input {
    
}


#route_add_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 130px);
    width: 450px;
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
/*    overflow-y: scroll;*/
}


#route_add_first_box {
    width: 410px;
    height: 170px;
    margin-top: 10px;
    padding: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}



#route_add_name_text {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
}



/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


.polygon_table_cell {
    float: left;
    height: 100%;
    width: calc(100% / 6);
    margin: 0px;
    align-items: center;
}

.polygon_table_cell_button {
    float: right;
    height: 100%;
    width: 31px;
    margin: 0px;
    align-items: center;
    margin-right: 10px;
}

.polygon_heading {
    width: calc(100% / 6);
    margin-top: 10px;
    float: left;
}

.polygon_heading_button {
    width: calc(24% / 3);
    margin-top: 10px;
    float: left;
}

#polygon_save_button {
    margin-left: 0px;
    cursor: pointer;
    margin-right: 14px;
    width: calc(50% - 14px);
}


#polygon_update_visual {
    margin-left: 0px;
    cursor: pointer;
    width: calc(50% - 14px);
}


#polygon_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
}


#polygon_imo_title {
    font-weight: bold;
    text-decoration: underline;
}


#polygon_name_dropdown {
    width: 195px;
    margin-left: 5px;
}


#polygon_edit_dms_dropdown {
    width: 60px;
    margin-left: 5px;
}


.polygon_editable_box {
    border: none;
    border-width: 1px;
    border-color: red;
    width: 175px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}


.polygon_editable_box_full_width {
    border: none;
    border-width: 1px;
    border-color: red;
    width: calc(100% - 13px);
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}


#polygon_name_box {
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
    float: left;
    clear: left;
}



#polygon_area_type_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#polygon_impact_radius_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#polygon_disable_email_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#polygon_break_box {
    float: left;
    display: inline-block;

    width: 175px;
    height: 42px;

    margin-left: 13px;
    margin-top: 6px;
}

#polygon_colour_box {
    display: none;
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}





.polygon_editable_para {
    border: none;
    border-width: 1px;
    border-color: red;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}


#polygon_name_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 8px;
}


#polygon_area_type_para {

}


#polygon_impact_radius_para {

}


#polygon_disable_email_para {

}


#polygon_colour_para {

}

#polygon_description_para {

}

#incident_description_para {

}


.polygon_editable_input {
    width: 170px;
    height: 18px;
    border-color: black;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
    margin-top: 2px;
}


#polygon_name_input {
    display: inline-block;
    width: 250px;
    margin-top: 8px;
    margin-left: 5px;
}


#polygon_area_type_select {
    cursor: pointer;
}


#polygon_impact_radius_input {
    
}


#polygon_colour_input {
    height: 25px;
    width: 180px;
    border: none;
    outline: none;
    cursor: pointer;
}


#polygon_edit_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 130px);
    width: 450px;
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
/*    overflow-y: scroll;*/
}

#add_incident_type_form {
    display: none;
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    width: 450px;
    left: 490px;
    top: 70px;
    position: fixed;
    z-index: 10;
    padding: 10px;
/*    overflow-y: scroll;*/
}

#polygon_edit_first_box {
    width: 410px;
    height: calc(100vh - 250px);
    margin-top: 10px;
    padding: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


#polygon_edit_second_box {
    width: 400px;
    height: 50px;
    margin-top: 10px;
    margin-top: 0px;
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#scroll_box_route_edit {
    width: 100%;
    height: 160px;
    overflow-y: scroll;
}

#scroll_body_route_edit {
    height: 100px;
}

#scroll_box_route_add {
    width: 100%;
    height: 160px;
    overflow-y: scroll;
}

#scroll_body_route_add {
    height: 100px;
}


#scroll_box_polygon {
    width: 100%;
    height: calc(100% - 36px);
    overflow-y: scroll;
}

#scroll_body_polygon {
    height: calc(100% - 70px);
}

#polygon_add_info_box {
    width: 100%;
    height: calc(100%);
    overflow-y: scroll;
}


#polygon_description_box {
    float: left;
    display: inline-block;
    width: 365px;
    margin-left: 13px;
    margin-top: 10px;

}

#polygon_description_button {
    width: 370px;
    height: 30px;
    cursor: pointer;
}


#incident_description_box {
    display: none;
    float: left;
    display: inline-block;
    width: 365px;
    margin-left: 13px;
    margin-top: 10px;

}

#incident_description_button {
    width: 370px;
    height: 30px;
    cursor: pointer;
}



#polygon_edit_coord_box {
    width: 100%;
    height: 45px;
    margin-left: -10px;
    overflow-y: scroll;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-top: 8px;
}


#polygon_name_text {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


.vessel_table_cell {
    float: left;
    height: 100%;
    width: calc(100% / 6);
    margin: 0px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.vessel_table_cell_button {
    float: left;
    height: 100%;
    width: calc(15% / 5);
    margin: 0px;
    align-items: center;
}

.vessel_heading {
    width: calc(100% / 6);
    margin-top: 10px;
    float: left;
}

.vessel_heading_button {
    width: calc(40% / 5);
    margin-top: 10px;
    float: left;
}

.log_table_cell {
    float: left;
    height: 100%;
    width: calc(100%/5);
    margin: 0px;
    align-items: center;
}


#vessel_save_button {
    margin-left: 0px;
    cursor: pointer;
    margin-right: 14px;
}


#vessel_new_coordinate {
    margin-left: 0px;
    left: 0px;
    margin-right: 14px;
}


#vessel_update_vessel {
    margin-left: 0px;
    cursor: pointer;
}


#company_create_title, #company_edit_title, #vessel_title, #vessel_edit_title, #vessel_snooze_alert_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
}

#vessel_edit_company_sel {
    width: 267px;
}


#vessel_imo_title {
    font-weight: bold;
    text-decoration: underline;
}


#vessel_name_dropdown {
    width: 195px;
    margin-left: 5px;
}


#vessel_edit_dms_dropdown {
    width: 60px;
    margin-left: 5px;
}


.vessel_editable_box {
    border: none;
    border-width: 1px;
    border-color: red;
    width: 175px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}


#vessel_name_box {
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
    float: left;
    clear: left;
}


.email_list_item {
    display: flex;
    flex-direction: row;
}

.email_list_item > *:not(:last-child) {
    margin-right: 4px;
}

.email_list_item > input:first-child {
    flex-grow: 1;
}

/* Smaller sliders in email lists */
.email_list_item > .switch {
    height: 19px;
    width: 45px;
}

.email_list_item > .switch > .slider::before {
    height: 11px;
    width: 11px;
}



#testSeperation {
    width: 100%;
    height: 100px;
    overflow-y: scroll;
}


#test100 {
    height: 300px;
}


#vessel_date_box {

    margin-left: 13px;
    margin-top: 6px;
}


#vessel_estimate_box {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-width: 1.5px !important;
    margin-top: 10px;

    margin-left: 13px;
    margin-top: 6px;
}


#vessel_start_box {

    margin-left: 13px;
    margin-top: 6px;
    /* padding-bottom: 0 !important; */
    /* border-bottom-width: 0 !important;     */
}


#vessel_destination_box {

    margin-left: 13px;
    margin-top: 6px;
}


#vessel_description_box {
    float: left;
    display: inline-block;
    width: 365px;
    margin-left: 13px;
    margin-top: 10px;

}


#vessel_button_box, #vessel_edit_button_box {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


#vessel_description_to_edit {
    width: 355px;
    height: 150px;
    resize: none;
}


.vessel_editable_para {
    border: none;
    border-width: 1px;
    border-color: red;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}


#vessel_name_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 8px;
}


#vessel_date_para {

}


#vessel_estimate_para {

}


#vessel_start_para {

}


#vessel_destination_para {

}

#vessel_description_para {

}


.vessel_editable_input {
    width: 170px;
    height: 18px;
    border-color: black;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
    margin-top: 2px;
}


#vessel_name_to_edit {
    display: inline-block;
    width: 250px;
    margin-top: 8px;
    margin-left: 5px;
}


#vessel_date_to_edit {
    
}


#vessel_imo_to_edit {
    
}


#vessel_speed_to_edit {
    
}


#vessel_destination_to_edit {
    height: 25px;
    width: 180px;
    border: none;
    outline: none;
}

#companyReturnButton {
    display: none;
}

#company_create_box, #company_edit_box, #vessel_create_box, #vessel_edit_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background: linear-gradient(to right, #23353E, #4A5862);
    height: calc(100vh - 130px);
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
    overflow-y: auto;
}

#company_create_box, #company_edit_box {
    width: 750px;
}

#vessel_create_box, #vessel_edit_box {
    width: 600px;
}

#newCompanyForm, #editCompanyForm {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
}

#editCompanyForm > hr,
#vessel_edit_form > hr {
    border-top: 1px solid black;
    margin: 10px -10px;
}

#editCompanyForm > .formEntry,
#vessel_edit_form > .formEntry {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
    /* padding: 6px 0; */
}

#editCompanyForm > .formEntry > label,
#vessel_edit_form > .formEntry > label {
    flex-grow: 1;
}

#editCompanyForm > .formEntry > input,
#vessel_edit_form > .formEntry > input {
    width: 260px;
}

div.company_addresses {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
}

div.company_address {
    width: 48%;
}

.contact_box {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items; space-between;
    gap: 4px;
}

.company_contact_box > * > * > * > input,
.company_contact_box > * > * > * > label,
.contact_box > * > * > * > input,
.contact_box > * > * > * > label {
    max-height: 1em
    /* font-size: 8px; */
}

.emails_box {
    /* width: 64%; */
    flex-grow: 1;
    border: 1px solid darkgrey;
    border-radius: 2px;
    background-color: rgba(50, 50, 50, 0.1);
}

.phone_box {
    width: 200px;
    border: 1px solid darkgrey;
    border-radius: 2px;
    background-color: rgba(50, 50, 50, 0.2);
}

div.company_contact_box {
    display: flex;
    flex-wrap: wrap;
}

div.company_emails_box {
    box-sizing: border-box;
    border: 1px solid darkgrey;
    border-radius: 2px;
    background-color: rgba(50, 50, 50, 0.1);
    flex: 0 0 50%;
}

div.company_phone_box {
    border: 1px solid darkgrey;
    border-radius: 2px;
    background-color: rgba(50, 50, 50, 0.2);
    flex: 0 0 100%;
}

.notes_input {
    width: 100%;
    min-height: 3.8em;
}

/* Sliders for checkboxes */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 34px;
    background-color: #E34234;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #AFE1AF;
}

input:focus + .slider {
    box-shadow: 0 0 1px #AFE1AF;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Sliders for disabling things */
.switch.disable_switch > .slider {
    background-color: #ccc;
}

.switch.disable_switch > input:checked + .slider {
    background-color: #f32121;
}

.switch.disable_switch > input:focus + .slider {
    box-shadow: 0 0 1px #f32121;
}

/* Sliders in boxes, like for vessel alert toggles */
.slider_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 32px 0;
    width: 100%;
    padding: 6px 0;
    border-top: 1px dashed lightgrey;
}

.slider_box:nth-child(2), .slider_box:last-child {
    border-bottom: 1px dashed lightgrey;
}

.slider_box > label:first-child {
    flex-grow: 1;
}

.slider_box > label > input + .slider {
    background-color: #E34234;
}

.slider_box > label > input:checked + .slider {
    background-color: #AFE1AF;
}

.slider_box > label > input:focus + .slider {
    box-shadow: 0 0 1px #AFE1AF;
}


#vessel_create_box > div, #vessel_edit_box > div, #vessel_edit_box > form {
    border: 1.5px solid black;
    border-top-width: 0;
    width: 428px;
    padding: 10px;
    margin: 0;
}

#vessel_edit_estimate_box, #vessel_edit_form {
    border-top-width: 1.5px !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#vessel_edit_first_box {
    width: 410px;
    height: 140px;
    margin-top: 10px;
    padding: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


#vessel_edit_second_box {
    width: 400px;
    height: 237px;
    margin-top: 10px;
    margin-top: 0px;
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}


#vessel_edit_coord_box {
    width: 100%;
    height: 145px;
    margin-left: -10px;
    overflow-y: scroll;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-top: 8px;
}


#vessel_name_text {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
}




/*/////////////////// Top Part of the Table ///////////////////*/

.page_top_bar {
    width: 100%;
    height: 180px;
    border: none;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

.page_table_heading {
    border-bottom: none;
    border-bottom-color: black;
    border-bottom-width: 1.5px;
    white-space: nowrap;
    background: #ffffff;
    color: #2A3C46;
    font-size: 16px;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 25px;
    height: 54px;
    padding-top: 10px;
    padding-bottom: 21px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.page_top_left {
    width: 50%;
    border: none;
    float: left;
    padding-top: 70px;
}

.page_top_left p {
    margin: .5em;
}

.page_top_right {
    width: 44%;
    float: right;
    border: none;
    padding-top: 26px;
    position: relative;
}

#alert_console_box .page_table_heading {
    margin-left: 0px;
    margin-right: 0px;
}
.add_line_button {
    border: none;
    border-width: 1.5px;
    background-color: limegreen;
    cursor: pointer;
    float: right;
    margin-top: -84px;
    margin-right: 0px;
    background: url(./images/add_normal.svg);
    width: 45px;
    height: 45px;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    transition: width 0.3s ease;
}

.add_line_button:hover {
    background: url(./images/add_hover.svg);
}


.edit_module {
    background: url(./images/edit_module.svg);
    width: 31px;
    height: 31px;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    transition: width 0.3s ease;
    border: 0;
    cursor: pointer;
}

.edit_module:hover {
    background: url(./images/edit_module_hover.svg);
}

.log_heading {
    width: calc(100% / 5);
    margin-top: 10px;
    float: left;
}


.application_text_title {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 5px;
}

/*/////////////////// Top Part of the Table ///////////////////*/



/*/////////////////// Main Part of the Table ///////////////////*/

.application_table_body {
    height: calc(100% - 75px);
    border: none;
    border-width: 0px;
    border-color: yellow;
    background: transparent;
    width: 100%;
}

.application_table_line {
    width: 100%;
    height: 55px;
    background-color: rgb(136 154 162 / 40%);
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 6px;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.application_table_line:nth-child(2n) {
  background-color: rgb(136 154 162 / 40%);
}

.application_table_cell {
    float: left;
    height: 100%;
    margin: 0px;
    align-items: center;
    width: calc(100%/8);     /* substitute "8" for the amount of columns you have in the table */
}


.application_cell_text {
    overflow: hidden;
    height: 20px;
    width: calc(100% - 20px);
    margin-top: 10px;
    padding-left: 5px;
    padding-top: 5px;
}
.application_table_line .vessel_table_cell:first-child .application_cell_text {
    padding-left: 20px;
}
.application_href_cell_text {
    position: relative;
    height: 20px;
    width: calc(100% - 20px);
    top: 14px;
    padding-left: 15px;
    font-size: 16px;
    font-weight: 300;
    color: #76DADE;
}
#company_menu_tab .application_href_cell_text {
    text-decoration: none;
}

/*/////////////////// Main Part of the Table ///////////////////*/



/*/////////////////// Buttons within the Table ///////////////////*/

.application_view_button {
    width: 31px;
    height: 31px;
    margin-top: 6px;
    margin-left: 0px;
    cursor: pointer;
    background-image: url(./images/view.svg);
background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.application_edit_button {
    width: 31px;
    height: 31px;
    margin-top: 6px;
    margin-left: 3px;
    cursor: pointer;
    background-image: url(./images/edit.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.application_delete_button {
    width: 31px;
    height: 31px;
    margin-top: 6px;
    margin-left: 6px;
    cursor: pointer;
    background-image: url(./images/delete.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.application_delete_button_disabled {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    margin-top: 6px;
    margin-left: 0px;
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 5px;
    background-color: #bababa;
    cursor: pointer;
    background-image: url("/frontend/assets/delete_trash.png");
background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.application_delete_button_disabled:hover {
    background-color: #828282;
    cursor: not-allowed;
}


/*/////////////////// Buttons within the Table ///////////////////*/

.route_editable_box {
    border: none;
    border-width: 1px;
    border-color: red;
    width: 175px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}

.route_editable_input {
    width: 170px;
    height: 18px;
    border-color: black;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
    margin-top: 2px;
}

.route_addable_input {
    width: 170px;
    height: 18px;
    border-color: black;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
    margin-top: 2px;
}


#route_edit_start_date_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#route_edit_arrival_date_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#route_edit_start_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#route_edit_destination_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}



#route_add_start_date_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}



#route_add_arrival_date_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#route_add_start_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}


#route_add_destination_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}



.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
    width: 400px;
    bottom: 0px;
}


#data_confirm {
    width: 450px;
    height: 200px;
    border: solid;
    border-color: black;
    border-width: 1px;

}

.data_to_confirm {
    margin-top: 5px;
    margin-bottom: 0px;
}

.log_action_button {
    width: 100%;
    outline: none;
    cursor: pointer;
    margin-top: 5px;
}

.view_route_button {
    width: 100%;
    outline: none;
    cursor: pointer;
    margin-top: 5px;
}

#log_action_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 130px);
    width: 450px;
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
/*    overflow-y: scroll;*/
}

#log_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
}

#log_imo_title {
    font-weight: bold;
    text-decoration: underline;
}


#log_action_description_box {
    width: 420px;
    height: 250px;
    resize: none;
    margin-top: 12px;
    margin-left: 8px;
    overflow-y: scroll;
}

#log_action_save_button {
    margin-top: 12px;
    margin-left: 8px;
    cursor: pointer;    
}


#log_type_text {
    display: inline-block;
/*    border: solid;
    border-color: red;
    border-width: 1px;*/
    margin-left: 8px;
    margin-top: 8px;
    margin-bottom: 0px;
    font-size: 14px;
    cursor: pointer;
}

#log_type_select {
    display: inline-block;
}


.vessel_log_view_button {
    width: 31px;
    height: 31px;
    margin-top: 6px;
    margin-left: -3px;
    cursor: pointer;
    background-image: url(./images/log.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#log_name_title {
    display: inline-block;
    margin-left: 350px;
    margin-top: 8px;

}

#log_name_tochange {
    display: inline-block;
    font-weight: bold;
    text-decoration: underline;
}

#vessel_company_input {
    width: 200px;
}


.vessel_addroute_view_button {
    width: 31px;
    height: 31px;
    margin-top: 6px;
    margin-left: 0px;
    cursor: pointer;
    background-image: url("./images/route.svg");
background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#transit_risk_box_edit {
    width: calc(100% + 10px);
    height: 29px;
    border-bottom: solid;
    border-top: solid;
    border-width: 1px;
    border-color: black;
    margin-left: -10px;
}

#transit_risk_box_add {
    width: calc(100% + 10px);
    height: 29px;
    border-bottom: solid;
    border-top: solid;
    border-width: 1px;
    border-color: black;
    margin-left: -10px;
}

table#edit_questionnaire_response_table {
    max-width: 390px;
    border-collapse: collapse;
    box-sizing: border-box;
    margin: 0;
}

table#edit_questionnaire_response_table > tbody > tr > td:nth-child(2) {
    display: flex;
    align-items: center;
    max-width: 234px;
    overflow-x: auto;
    min-height: 40px;
}

table#edit_questionnaire_response_table > tbody > tr > td:nth-child(2) > a {
    display: inline-block;
}

td.questionnaire_score_field {
    border-radius: .25em;
    text-align: center;
}

td.questionnaire_score_field > a {
    color: white;
    text-decoration: none;
}

td.questionnaire_score_field.uncompleted {
    background-color: grey;
}

td.questionnaire_score_field.low {
    background-color: green;
}

td.questionnaire_score_field.medium {
    background-color: yellow;
}

td.questionnaire_score_field.medium > a {
    color: black;
}

td.questionnaire_score_field.high {
    background-color: red;
}

#transit_title_edit {
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
}

#transit_title_add {
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
}

#risk_rating_edit {
  height: 25px;
  width: 250px;
  background-color: #38cccc;
  color: black;
  float: right;
  border-left: solid;
  border-color: black;
  border-width: 1px;
  display: inline-block;
  right: 0px;
  text-align: left;
  padding-top: 4px;
}

#risk_rating_add {
  height: 25px;
  width: 250px;
  background-color: #38cccc;
  color: black;
  float: right;
  border-left: solid;
  border-color: black;
  border-width: 1px;
  display: inline-block;
  right: 0px;
  text-align: left;
  padding-top: 4px;
}


#risk_text_edit {
  margin-left: 5px;
  font-size: 14px;
}

#risk_text_add {
  margin-left: 5px;
  font-size: 14px;
}

.risk_rating {
  cursor: pointer;
}

.source_confidence {
  cursor: pointer;
}

#radio_1_edit {
  margin-left: 10px;
}

#radio_1_add {
  margin-left: 10px;
}

#route_description_to_edit {
    width: 355px;
    height: 150px;
    resize: none;
}
.alerts_top_bar {
    width: calc(100%);
    height: 30px;
    background-color: transparent;
}

#alert_console_name_text {
    float: none;
    width: 150px;
    margin-top: 22px;
    margin-left: 15px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
}

#alert_close_button {
    float: right;
    height: 20px;
    width: 20px;

    margin-top: 4px;
    margin-right: 8px;

    cursor: pointer;
    
    background-color: #e83731;
    background-image: url("/frontend/assets/alert_x.png");

    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;

    border: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 5px;
    display: none;
}

#alert_close_button:hover {
    background-color: #ba2b25;
}

.alerts_heading {
    width: calc(65% / 2);
    margin-top: 10px;
    float: left;
}

.alerts_heading_light {
    width: calc(35% / 4);
    margin-top: 10px;
    float: left;
}

#alert_console_window {
    border: none;
}

/* #alert_console_box {
    display: block;
    position: fixed;
    z-index: 10;
    border: solid;
    border-width: 1px;
    border-radius: 0px;
    width: 360px;
    height: calc(100vh - 140px);
    top: 57px;
    right: 0px;
    display: none;
    background-color: rgba(42, 59, 70, 0.5);
    backdrop-filter: blur(20px) brightness(1.2);
    -webkit-backdrop-filter: blur(20px) brightness(1.2);
    border-radius: 0px;
    color: #404B52;
    padding: 0px;
} */

.alert_table_line {
    width: 100%;
    height: 30px;
    background-color: transparent !important;
}

.alert_table_line:nth-child(2n) {
    background-color: transparent !important;
}

.alert_table_cell {
    float: left;
    height: 100%;
    width: calc(65% / 2);
    margin: 0px;
    align-items: center;
}

.alert_table_cell_light {
    float: left;
    height: 100%;
    width: calc(35% / 4);
    margin: 0px;
    align-items: center;
}

.alert_cell_text {
    overflow: hidden;
    height: 20px;
    width: calc(100% - 20px);
    margin-top: 7.5px;
    font-size: 12px;
    text-overflow: "";
    overflow: hidden;
    white-space: nowrap;
    color: #76DADE;
    text-decoration: underline;
}
.alert_cell_text a {
    color: #76DADE !important;
    font-size: 12px;
    margin-left: 5px;
}
.alert_light {
    width: 18px;
    height: 18px;
    margin-top: 3.5px;
    border: none;
    border-width: 1px;
    border-color: black;
    background-color: #E5F6DD;
    border-radius: 50%;
    margin-left: 15px;
}

.company_filter_text_holder {
    float: left;
    margin-top: 5px;
    width: 100%;
    height: 15px;
}


/* #toggle_alerts_button {
    position: fixed;
    z-index: 10;

    right: 280px;
    top: 6px;

    width: 40px;
    height: 40px;

    border: solid;
    border-width: 1px;
    border-color: black;

    background-image: url("/frontend/assets/radar.png");
    background-repeat: no-repeat;
    background-size: 130%;
    background-position-x: -6px;
    background-position-y: -6px;

    background-color: green;
    border-radius: 50%;

    cursor: pointer;

} */


.alert_red_button_class {
    background-color: #ff3f38;
    cursor: pointer;
}

.alert_red_button_class:hover {
    background-color: #e90000 ;
}


.alert_green_button_class {
    background-color: #38cc34;
}



#route_add_coord_container_box {
    width: 100%;
    height: 145px;
    margin-left: -10px;
}

#route_edit_coord_container_box {
    width: 100%;
    height: 145px;
    margin-left: -10px;
}

#route_add_textbox {
    width: calc(100% - 2px);
    height: calc(100% - 16px);
    background-color: white;
    white-space: pre;
    outline: none;
    overflow-y: scroll;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
}

#route_edit_textbox {
    width: calc(100% - 2px);
    height: calc(100% - 16px);
    background-color: white;
    white-space: pre;
    outline: none;
    overflow-y: scroll;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
}

#bold_test {
  font-weight: bold;
  text-decoration: underline wavy red;
  text-decoration-thickness: 0.5px;
}

[contenteditable=true]:empty:before{
  content: attr(placeholder);
  pointer-events: none;
  display: block; /* For Firefox */
  color: grey;
  font-size: 14px;
}


.port_heading {
    width: calc(100% / 6);
    margin-top: 10px;
    float: left;
}

.port_heading_button {
    width: calc(30% / 3);
    margin-top: 10px;
    float: left;
}



.port_table_cell {
    float: left;
    height: 100%;
    width: calc(100% / 6);
    margin: 0px;
    align-items: center;
}

.port_table_cell_button {
    float: left;
    height: 100%;
    width: 31px;
    margin: 0px;
    align-items: center;
    margin-right: 10px;
}



#port_search_box {
    position: fixed;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, 0);

    width: 300px;
    height: 50px;
/*
    border: solid;
    border-width: 3px;
    border-color: red;*/

    display: none;

}

#port_search_input {
    width: 290px;
    height: 34px;
}

#port_add_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 130px);
    width: 450px;
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
/*    overflow-y: scroll;*/
}


#port_add_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
    margin-left: 150px;
}


#port_add_first_box {
    width: 400px;
    height: 136px;
    margin-top: 10px;
    padding: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


#port_add_second_box {

    position: relative;

    width: 400px;
    height: 237px;
    margin-top: 0px;
    padding: 0px;
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-top: 0px;


}

.port_button_box {
    width: 100%;
    position: absolute;
    margin-bottom: 8px;
    bottom: 0px;

    border-top: solid;
    border-top-width: 1px;

}


.port_editable_input {
    width: 170px;
    height: 18px;
    border-color: black;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
    margin-top: 2px;
}


#port_add_latitude_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}
#port_add_latitude_para {
}
#port_add_latitude_input { 
}



#port_add_longitude_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}
#port_add_longitude_para {
}

#port_add_longitude_input {
}




#port_add_first_scroll_visible {
    width: 100%;
    height: 62px;
    overflow-y: scroll;
}

#port_add_first_scroll_height {
    height: 62px;
}


#port_add_save_button {
    width: calc((100% - 30px) / 2);
    margin-left: 8px;
    cursor: pointer;
}

#port_add_preview_button {
    width: calc((100% - 30px) / 2);
    margin-left: 8px;
    cursor: pointer;
}


#port_add_name_box {
    display: inline-block;
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
}


#port_add_name_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
}


#port_add_name_input {
    float: right;
    margin-right: 25px;
    display: inline-block;
    width: 280px;
    margin-top: 8px;
}

#port_add_country_box {
    display: inline-block;
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
}


#port_add_country_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
}


#port_add_country_input {
    float: right;
    margin-right: 25px;
    display: inline-block;
    width: 280px;
    margin-top: 8px;
}





































#port_edit_box {
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    height: calc(100vh - 130px);
    width: 450px;
    left: -1000px;
    top: 70px;
    position: fixed;
    z-index: 10;
    transition-property: left;
    transition-duration: 0.5s;
    padding: 10px;
/*    overflow-y: scroll;*/
}


#port_edit_title {
    text-align: center;
    font-size: 16px;
    text-overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
    margin-left: 150px;
}


#port_edit_first_box {
    width: 400px;
    height: 136px;
    margin-top: 10px;
    padding: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}


#port_edit_second_box {

    position: relative;
    
    width: 400px;
    height: 237px;
    margin-top: 0px;
    padding: 0px;
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-top: 0px;
}


#port_edit_latitude_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}
#port_edit_latitude_para {
}
#port_edit_latitude_input { 
}



#port_edit_longitude_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}
#port_edit_longitude_para {
}

#port_edit_longitude_input {
}




#port_edit_start_date_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}
#port_edit_start_date_para {
}

#port_edit_start_date_input { 
}



#port_edit_end_date_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}
#port_edit_end_date_para {
}
#port_edit_end_date_input {
}



#port_edit_first_scroll_visible {
    width: 100%;
    height: 62px;
    overflow-y: scroll;
}

#port_edit_first_scroll_height {
    height: 62px;
}


#port_edit_second_scroll_visible {
    width: 100%;
    height: 190px;
    overflow-y: scroll;

    border-bottom: solid;
    border-width: 1.5px;
    border-color: black;
}

#port_edit_second_scroll_height {
    height: 270px;
}


#port_edit_save_button {
    width: calc((100% - 30px) / 2);
    margin-left: 8px;
    cursor: pointer;
}

#port_edit_preview_button {
    width: calc((100% - 30px) / 2);
    margin-left: 8px;
    cursor: pointer;
}

#port_edit_description_textarea {
    width: 355px;
    height: 150px;
    resize: none;
    margin-top: 13px;
    margin-left: 13px;
}


#port_edit_name_box {
    display: inline-block;
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
}


#port_edit_name_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
}


#port_edit_name_input {
    float: right;
    margin-right: 25px;
    display: inline-block;
    width: 280px;
    margin-top: 8px;
}

#port_edit_country_box {
    display: inline-block;
    border-bottom: solid;
    border-width: 1px;
    width: 100%;
    height: 36px;
}


#port_edit_country_para {
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
}


#port_edit_country_input {
    float: right;
    margin-right: 25px;
    display: inline-block;
    width: 280px;
    margin-top: 8px;
}

#port_edit_risk_type_dropdown {
    width: 170px;
    margin-left: 13px;
    margin-top: 8px;
}





#port_risk_analysis_box {
    position: fixed;
    z-index: 11;
    border: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    width: calc(100vw - 510px);
    height: calc(100vh - 110px);
    top: 70px;
    right: -200vw;
    transition-property: right;
    transition-duration: 0.5s;
}    


#port_open_risk_analysis_button {
    cursor: pointer;
    margin-top: 8px;
    margin-left: 8px;
}


#port_risk_scrollable {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    border-width: 1.5px;
    border-color: black;
    overflow-y: scroll;
}

#port_risk_true_height {
    height: 1000px;
}



.port_risk_save_seperator {
    float: left;
    height: 100%;
    width: calc(20%);
}



.port_risk_type_dropdown {
    width: calc(100% - 25px);
}
.port_risk_type_dropdown_disabled {
    width: calc(100% - 25px);
    cursor: text;
    background-color: rgba(240, 240, 240, 0.95);
    border: solid;
    border-width: 1px;
    border-radius: 3px;
    cursor: not-allowed;
}




.port_risk_end_date_input {
    width: calc(100% - 30px);
    height: 18px;
    cursor: text;
}
.port_risk_end_date_input_disabled {
    width: calc(100% - 30px);
    height: 18px;
    cursor: text;
    background-color: rgba(240, 240, 240, 0.95);
    border: solid;
    border-width: 1px;
    border-radius: 3px;
    cursor: not-allowed;
}









.port_risk_button_outer_box {
    position: relative;
    width: 100%;
    height: 100%;
}
.port_risk_button_inner_box {
    position: absolute;
    bottom: 25px;
    width: 100%;
}


.port_risk_button_create_input {
    width: calc(100% - 30px);
    margin-top: 8px;
    cursor: pointer;
    background-color: #92f79a;
    border: solid;
    border-width: 1px;
    border-radius: 3px;
}
.port_risk_button_create_input:hover {
    background-color: #5cfa69;
}



.port_risk_button_edit_input {
    width: calc(100% - 30px);
    margin-top: 8px;
    cursor: pointer;
    background-color: #b9daf0;
    border: solid;
    border-width: 1px;
    border-radius: 3px;
}
.port_risk_button_edit_input:hover {
    background-color: #5fabc2;
}



.port_risk_button_delete_input {
    width: calc(100% - 30px);
    margin-top: 8px;
    cursor: pointer;
    background-color: #ff383f;
    border: solid;
    border-width: 1px;
    border-radius: 3px;
}
.port_risk_button_delete_input:hover {
    background-color: #f7161d;
}



.port_risk_button_confirm_input {
    width: calc(100% - 30px);
    margin-top: 8px;
    cursor: pointer;
    background-color: #92f79a;
    border: solid;
    border-width: 1px;
    border-radius: 3px;
}
.port_risk_button_confirm_input:hover {
    background-color: #5cfa69;
}



.port_risk_button_cancel_input {
    width: calc(100% - 30px);
    margin-top: 8px;
    cursor: pointer;
    background-color: #ff383f;
    border: solid;
    border-width: 1px;
    border-radius: 3px;
}
.port_risk_button_cancel_input:hover {
    background-color: #f7161d;
}

.mapboxgl-popup-content {
    padding: inherit;

}

.detailed_popup {
    padding: 10px 10px 15px;;
}

.name_popup {
    padding: 4px;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    width: 20px;
    height: 10px;
    align-self: center;
    background-image: url("/frontend/assets/popup_cursor.png");
    background-size: 20px 10px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    
    transform: rotate(180deg);
    
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    width: 20px;
    height: 10px;
    align-self: center;
    background-image: url("/frontend/assets/popup_cursor.png");
    background-size: 20px 10px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    
    transform: rotate(0deg);
}

.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip {
  width:0;
  height:0;
  border:10px solid transparent;
  z-index:1;
  align-self: flex-start;
  border-top:none;
  border-left:none;
  border-bottom-color:#fff
}
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
  width:0;
  height:0;
  border:10px solid transparent;
  z-index:1;
  align-self:flex-end;
  border-top:none;
  border-right:none;
  border-bottom-color:#fff
}
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip {
  width:0;
  height:0;
  border:10px solid transparent;
  z-index:1;
  align-self:flex-start;
  border-bottom:none;
  border-left:none;
  border-top-color:#fff
}
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
  width:0;
  height:0;
  border:10px solid transparent;
  z-index:1;
  align-self:flex-end;
  border-bottom:none;
  border-right:none;
  border-top-color:#fff
}


#vessel_key {
    position: fixed;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, 0);
    margin-left: -315px;
    box-shadow: 0 0 10px 2px rgba(0,0,0,.1);

    width: 300px;
    height: 40px;
    background-color: white;
    border-radius: 5px;
}

/* DMZs filter starts here */
.tab-container {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: #f1f1f1;
    margin-right: 5px;
}

.tab.active {
    background-color: white;
    font-weight: bold;
    border-bottom: 2px solid blue;
}

/* Spinner style */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 50px auto;
}

/* Keyframe for spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.content {
    padding: 10px;
}
.select-all-container {
    background-color: #f0f0f0; /* Light grey background */
    padding: 10px;
    margin: 10px -10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.select-all-container input[type="checkbox"] {
    margin-right: 10px;
}

.company-checkbox-container {
    margin: 0 10px;
}

.checkbox-container, .company-checkbox-container {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    cursor: pointer;
}

.checkbox-container:hover, .company-checkbox-container:hover {
    background-color: #f9f9f9;
}

.checkbox-container input[type="checkbox"], .company-checkbox-container input[type="checkbox"] {
    margin-right: 5px;
}

/* Toggle switch container */
.toggle-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 5px; 
    margin: 10px 0;
}

/* Switch styling */
.switch {
    display: block;
    width: 50px;
    height: 25px;
}

/* Hide the default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider design */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

/* Slider when checked */
.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* When checkbox is checked */
input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Text beside toggle */
.toggle-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}


/* DMZs filter ends here */

#filter_key {
    position: fixed;
    z-index: 10;
    left: 40%;
    cursor: pointer;
    transform: translate(-50%, 0);
    margin-left: -400px;
    box-shadow: 0 0 10px 2px rgba(0,0,0,.1);
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: auto;
    padding: 0 10px;
    height: auto;
    background-color: white;
    border-radius: 5px;
}

.filter_vertical_cells  {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    cursor: pointer; 
}


.vertical_cell {
/*    background-color: red;*/
    width: calc(20% - 1px);
    height: 100%;
    margin: 0px;
    border-right: solid;
    border-width: 1px;
    border-color: #d9d9d9;
    float: left;
    display: inline-block;
}

#final_vertical_cell {
    border-right: none;
}

.vessel_image_holder {
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 20px;
    margin-top: 2px;
    border: solid;
    border-width: 1px;
    border-color: black;
}

#filter_companies_key {
    background-image: url("/frontend/assets/company_filter.png");
    margin: 0;
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

#filter_dmz_key {
    background-image: url("/frontend/assets/company_filter.png");
    margin: 0;
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

#default_vessel_key {
    background-image: url("/frontend/assets/cyan_cursor.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

#ais_vessel_key {
    background-image: url("/frontend/assets/yellow_cursor.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

#dmz_vessel_key {
    background-image: url("/frontend/assets/red_cursor.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

#route_vessel_key {
    background-image: url("/frontend/assets/green_cursor.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

#heading_vessel_key {
    background-image: url("/frontend/assets/white_circle.png");
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

.vessel_text_holder {
    float: left;
    margin-top: 5px;
    width: 100%;
    height: 15px;
}

#vessel_text {
    position: relative;
    text-align: center;
    font-size: 10px;
    margin-top: 2px;
}


#image_para {
    margin-left: 20px;
}

#image_button {
    margin-left: 20px;
}

#image_test_div {

    width: 500px;
    height: 200px;
    border: solid;
    border-width: 2px;
    border-color: red;

}








.port_individual_risk {
    height: 300px;
    border-bottom: solid;
    border-width: 1px;
    border-color: black;
}

.port_risk_details_seperator {
    float: left;
    height: 100%;
    width: calc(30%);
}

.port_risk_type_box {
    margin-left: 15px;
    margin-top: 13px;
}

.port_risk_type_text {
    margin: 0px;
    width: 100%;
    text-align: center;
    text-decoration: underline;
    font-weight: bold;
}

.port_risk_start_date_box {
    margin-left: 15px;
    margin-top: 10px;
}

.port_editable_box {
    border: none;
    border-width: 1px;
    border-color: red;
    width: 175px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}

.port_risk_start_date_para {
    margin: 0px;
}

.port_editable_para {
    border: none;
    border-width: 1px;
    border-color: red;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.port_risk_date_input {
    width: calc(100% - 30px);
    height: 18px;
    cursor: text;
}

.port_risk_end_date_box {
    margin-left: 15px;
    margin-top: 10px;
}

.port_risk_end_date_para {
    margin: 0px;
}

.port_risk_rating_box {
    margin-left: 15px;
    margin-top: 10px;
}

.port_risk_rating_para {
    margin: 0px;
}

.port_risk_transit_box {
    height: 25px;
    width: calc(100% - 25px);
    background-color: #38cccc;

    float: left;
    margin-top: 1px;

    border: solid;
    border-color: black;
    border-width: 1px;
    border-radius: 2px;

    text-align: left;
    padding-top: 4px;
}

.port_risk_transit_text {
    position: relative; 
    margin-left: 2px;
    top: 1px;
    text-overflow: clip;
    width: calc(100% - 140px);
    white-space: nowrap;
    overflow: hidden;
}

.port_risk_edit {
    width: calc(100% - 35px);
    height: 30px;
    margin-left: 15px;
    margin-top: 12px;
    font-size: 14px;
    cursor: pointer;
}

.port_risk_description_seperator {
    float: left;
    height: 100%;
    width: calc(70%);
}

.port_risk_description_box {
    margin-top: 13px;
}

.port_risk_description_para {
    margin: 0px;
}

.port_risk_description_textarea_box {
    float: left;
    width: calc(100% - 30px);
    height: 250px;
    resize: none;
}

.port_risk_uneditable_box {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background-color: white;
    border: solid;
    border-color: black;
    border-width: 1px;
    border-radius: 5px;

    overflow-y: scroll;
    cursor: not-allowed;

    padding-left: 20px;
    padding-top: 10px;
}








#tinymce_background_close {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: rgba(138, 156, 152, 0.8); /* Grey */
    z-index: 5;

    top: -300vh;
    transition-property: top;
    transition-duration: 0.5s;
}

#tinymce_container {
    position: fixed;
    width: 90vw;
    height: 80vh;
    margin-top: 10vh;
    margin-left: 5vw;
    background-color: rgba(255, 255, 255, 1.0); /* White */
    border-radius: 10px;
    z-index: 5;
    opacity: 1;

    top: -300vh;
    transition-property: top;
    transition-duration: 0.5s;
}

#tinymce_editor_box {
    height: 75vh;
    width: 90vw;
    z-index: 5;
}

#tinymce_button_box {
    height: 5vh;
    width: 90vw;
}

#tinymce_save_button {
    width: 10vw;
    height: 4vh;
    margin-left: 1vw;
    margin-top: 0.5vh;
    font-size: 14px;
    cursor: pointer;
}




#tinymce_background_close_pdf {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: rgba(138, 156, 152, 0.8); /* Grey */
    z-index: 5;

    top: -300vh;
    transition-property: top;
    transition-duration: 0.5s;
}

#tinymce_container_pdf {
    position: fixed;
    width: 95vw;
    height: 90vh;
    margin-top: 5vh;
    margin-left: 2.5vw;
    background-color: rgba(255, 255, 255, 1.0); /* White */
    border-radius: 10px;
    z-index: 5;
    opacity: 1;

    top: -300vh;
    transition-property: top;
    transition-duration: 0.5s;
}

#tinymce_editor_box_pdf {
    width: 95vw;
    height: 85vh;
    z-index: 5;
}

#tinymce_button_box_pdf {
    height: 5vh;
    width: 90vw;
}

#tinymce_save_button_pdf {
    width: 10vw;
    height: 4vh;
    margin-left: 1vw;
    margin-top: 0.5vh;
    font-size: 14px;
    cursor: pointer;
}





#incident_start_date_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}

#incident_start_date_para {
    display: none;
}

#incident_start_date_input {
    display: none;
    height: 25px;
    width: 165px;
    cursor: pointer;
}




#incident_end_date_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}

#incident_end_date_para {
    display: none;
}

#incident_end_date_input {
    display: none;
    height: 25px;
    width: 165px;
    cursor: pointer;
}




#incident_start_time_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}

#incident_start_time_para {
    display: none;
}

#incident_start_time_input {
    display: none;
    height: 25px;
    width: 165px;
    cursor: pointer;
}



#incident_end_time_box {
    float: left;
    display: inline-block;
    margin-left: 13px;
    margin-top: 6px;
}

#incident_end_time_para {
    display: none;
}

#incident_end_time_input {
    display: none;
    height: 25px;
    width: 165px;
    cursor: pointer;
}



#transit_risk_box_polygon {
    position: relative;
    width: 100%;
    height: 69px;
    bottom: 0px;
    margin-bottom: 0px;
    border-top: solid;
    border-width: 1px;
    border-color: black;

}



#polygon_risk_rating_box {
    position: absolute;
    bottom: 0px;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    border-color: black;
    height: 30px;
    width: 100%;
}
#polygon_risk_title {
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
}
#polygon_risk_input_box {
  height: 25px;
  width: 250px;
  background-color: #38cccc;
  color: black;
  float: right;
  border-left: solid;
  border-color: black;
  border-width: 1px;
  display: inline-block;
  right: 0px;
  text-align: left;
  padding-top: 5px;
}
#polygon_risk_text {
  margin-left: 5px;
  font-size: 14px;
}
#polygon_risk_radio_1 {
  margin-left: 10px;
}




#region_min_risk_rating_box {
    position: absolute;
    display: none;
    bottom: 31px;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    border-color: black;
    height: 30px;
    width: 100%;
}
#region_min_risk_title {
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
}
#region_min_risk_input_box {
  height: 25px;
  width: 250px;
  background-color: #38cccc;
  color: black;
  float: right;
  border-left: solid;
  border-color: black;
  border-width: 1px;
  display: inline-block;
  right: 0px;
  text-align: left;
  padding-top: 5px;
}
#region_min_risk_text {
  margin-left: 5px;
  font-size: 14px;
}
#region_min_risk_radio_1 {
  margin-left: 10px;
}




#region_max_risk_rating_box {
    position: absolute;
    display: none;
    bottom: 0px;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    border-color: black;
    height: 30px;
    width: 100%;
}
#region_max_risk_title {
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
}
#region_max_risk_input_box {
  height: 25px;
  width: 250px;
  background-color: #38cccc;
  color: black;
  float: right;
  border-left: solid;
  border-color: black;
  border-width: 1px;
  display: inline-block;
  right: 0px;
  text-align: left;
  padding-top: 5px;
}
#region_max_risk_text {
  margin-left: 5px;
  font-size: 14px;
}
#region_max_risk_radio_1 {
  margin-left: 10px;
}






#polygon_incident_box {
    display: none;
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}

#polygon_incident_para {
    display: none;
}

#polygon_incident_input {
    display: none;
    width: 10.5em;
    cursor: pointer;
}


#polygon_incident_add_type_btn {
    display: none;
    background-color: limegreen;
    text-align: center;
    width: 2em;
    border-radius: 4px;
    cursor: pointer;
}


#edit_questionnaire_response_table {
    border-collapse: collapse;
    text-align: center;
    width: 100%;
}

#edit_questionnaire_response_table > thead > tr,
#edit_questionnaire_response_table > tbody > tr:nth-child(even) {
    background-color: #f0ecec;
}

.questionnaire_score_field {
    border-radius: .5em;
}

.questionnaire_score_field.uncompleted {
    background-color: grey;
}

.questionnaire_score_field.high {
    background-color: red;
}

.questionnaire_score_field.medium {
    background-color: yellow;
}

.questionnaire_score_field.low {
    background-color: green;
}

.questionnaire_score_field > a {
    display: inline-block;
    color: black;
    text-decoration: none;
}

.questionnaire_score_field > a:hover {
    color: white;
    text-decoration: underline;
}



#polygon_coordinate_box {

    width: calc(100% - 12px);
    height: calc(100% - 150px);
    background-color: white;
    white-space: pre;
    outline: none;
    border-top: solid;
    border-bottom: solid;
    border-color: black;
    border-width: 1px;
    position: relative;
    top: 10px;
    overflow-y: scroll;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;

}


#loading_bar_page {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: white;
    z-index: 5;
    top: -300vh;
}


#loading_bar_frame {
    position: absolute;
    width: 80vw;
    height: 5vh;
    top: calc(50vh - 35px);
    margin-left: 50%;
    transform: translate(-50%, 0);
    border: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 2px;
    background-color: lightgrey;
}

#loading_bar {
    width: 0%;
    height: 5vh;
    background-color: limegreen;
}


#loading_text_frame {
    position: absolute;
    top: calc(50vh - 60px);
    margin-left: 50%;
    transform: translate(-50%, 0);
}

#loading_text {

}


#loading_title_frame {
    position: absolute;
    top: calc(20vh);
    margin-left: 50%;
    transform: translate(-50%, 0);
}

#loading_title {
    font-size: 24px;
    font-weight: bold;

}

span.labelled_input {
    display: inline-block;
    padding-bottom: .5em;
}


#vessel_6_hourly_link {
    font-size: 16px;
    color: blue;
}

#company_6_hourly_link {
    font-size: 16px;
    color: blue;
}


#incident_source_confidence_box {
    float: left;
    height: 30px;
    width: 100%;
    margin-top: 12px;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    border-color: black;
}
#incident_source_title {
    margin-left: 13px;
    margin-top: 6px;
    display: inline-block;
}
#incident_source_input_box {
    display: inline-block;
  height: 25px;
  width: 250px;
  background-color: #38cccc;
  color: black;
  float: right;
  border-left: solid;
  border-color: black;
  border-width: 1px;
  display: inline-block;
  right: 0px;
  text-align: left;
  padding-top: 5px;
}
#incident_source_text {
  margin-left: 5px;
  font-size: 14px;
}
#incident_source_radio_1 {
  margin-left: 10px;
}


#incident_preview_box {
    float: left;
    width: 100%;
    height: 150px;
}

#incident_description_preview {

    width: calc(100% - 50px);
    height: calc(100% - 20px);

    background-color: white;
    border: solid;
    border-color: black;
    border-width: 1px;
    border-radius: 5px;

    margin-left: 10px;
    margin-top: 10px;

    overflow: hidden;
    cursor: not-allowed;
    resize: none;
    outline: none;

    padding-left: 20px;
    padding-top: 10px;
}








#incident_region_box {
    float: left;
    display: inline-block;

    margin-left: 13px;
    margin-top: 6px;
}

#incident_region_para {

}

#incident_region_dropdown {
    cursor: pointer;
    width: 10.5em;
}


#incident_add_region_button {
    background-color: limegreen;
    text-align: center;
    width: 2em;
    border-radius: 4px;
    cursor: pointer;
}

.sidebar {
  width: 240px;
  transition: width .3s ease;
  overflow: hidden;
}

.sidebar.collapsed {
  width: 65px;
  transition: width .3s ease;
}

/* Hide text labels in collapsed state */
.sidebar.collapsed .label-text {
  display: none;
}

.sidebar.collapsed .logo {
    margin-bottom: 45px;
    margin-left: 15px;
    margin-top: 0px;
}
.sidebar.collapsed #reset_boxs {
    width: 22px;
    height: 41px;
    top: -46px;
    right: 25px;
}
.sidebar.collapsed .menu-section h4 {
  margin-bottom: 10px;
  margin-left: 10px;
  text-align: left;
}
.sidebar.collapsed .menu-item {
    padding-left: 10px;
    /* text-indent: -999999px; */
}

/* Regular style */
.menu-item .menu-text {
  display: inline;
}

/* Collapsed sidebar: hide only the text */
.sidebar.collapsed .menu-item .menu-text {
  position: absolute;
  left: -9999px;
  overflow: hidden;
  width: 1px;
  height: 1px;
}

.sidebar.collapsed .menu-item::after {
    right: 20px;
}
.mapboxgl-canvas {
    width: 100% !important;
    transition: right 0.5s ease;
}
