/** KangaTravel Profile Page Custom CSS
    June 10, 2025
**/
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter';
    background-color: white !important;
}

#content {
    margin-top: 50px;
}

.top-bar {
    background-color: white;
    height: 83px;

    margin: auto;
    display: flex;
    align-items: center;
    /* This will vertically center the logo */
    padding: 0 0px;
    /* Adjust padding here */
    justify-content: space-between;
    /* Add this line */
    margin-top: -26px;
}




@media (min-width: 360px) {
    .top-bar {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 760px) {
    .top-bar {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (min-width: 1120px) {
    .top-bar {
        padding-left: 80px;
        padding-right: 80px;
    }
}


.top-bar .logo {
    height: 47px;
    /* You can adjust as needed */
    width: auto;
    /* This will keep the logo's aspect ratio */
    margin-top: 24px;
}

.language-login {
    margin-top: 24px;
}

@media (max-width: 640px) {
    .top-bar .logo {
        margin-top: 10px;
    }

    .language-login {
        margin-top: 10px;
    }
}

#langSelector {
    position: relative;
    width: 190px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

}


#selectedLang,
.option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    border: 3px solid rgb(196, 194, 194);
    padding: 0 10px;
    box-sizing: border-box;
    background-color: white;
    /* Add this line */
    font-weight: bold;
    color: #404145 !important;
    font-family: 'Inter';
}



#langOptions {
    position: absolute;
    top: 100%;
    /* Position it below the language button */
    left: 0;
    /* Align it with the left side of the language button */
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
}


#langOptions.show {
    display: flex;
    z-index: 999;
}

img.lang-flag {
    width: 50px;
    height: 28px;
}

.lang-name {
    margin-right: 5px;
    font-size: 18px;
}

#loginButton {
    height: 40px;
    border-radius: 17px;
    border: 3px solid rgb(196, 194, 194);
    background-color: white;
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    display: none;
    color: #404145 !important;
    font-family: 'Inter';
}

#loginButton2 {
    height: 40px;
    border-radius: 17px;
    border: 3px solid rgb(196, 194, 194);
    background-color: white;
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    display: none;
    color: #404145 !important;
    font-family: 'Inter';
}

.language-login {
    display: flex;
    align-items: center;

    justify-content: flex-end;
}

#hamburgerMenuIcon:hover {
    filter: brightness(85%);
}

.language-login button,
.language-login .profile-circle,
.language-login #langSelector,
.language-login .dropdown {
    margin-left: 10px;
    /* Adjust the value as needed */
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    /* Add this line */
    cursor: pointer;
}

/* Add a hover color change effect on the hamburger menu icon. */
#hamburgerMenu:hover {
    filter: brightness(85%);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;

    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4.6px);
    /* Note: backdrop-filter has minimal browser support */
    border-radius: 10px;
    padding: 5px 3px;
    z-index: 999;
    left: -143px;
    border-radius: 8px;
    transition: all 0.3s ease;
    top: 42px;
}

.dropdown-content a {
    display: block;
    padding: 15px;
    /* Add some padding around the links */
    color: #555555;
    /* Dark gray color */
    text-decoration: none;
    /* Remove the default underline */
}

/* Change the color of the links on hover */
.dropdown-content a:hover {
    background-color: #f2f2f2;
    color: #28CC6A;
}



.logo-button {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.dropdown-content a {
    display: block;
}

#loginButton:hover,
#loginButton2:hover,
#langSelector:hover,
#hamburgerMenu:hover {
    cursor: pointer;
}



.container {
    text-align: center;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */

    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

@media screen and (max-height: 644px) {
    .modal {
        padding-top: 0;
    }
}

/* Modal Content */


/* Adjustments for the white area */
.modal-content .container-fluid {
    padding: 0;
}

.modal-content .row {
    margin: 0;
}

.modal-content .col-lg-4 {
    width: 100%;
    max-width: 600px;
    /* Set a maximum width if needed */
    margin: 0 auto;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 50px !important;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.close2 {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close2:hover,
.close2:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive layout - makes the menu and the content stack on top of each other */
@media (max-width: 600px) {
    .modal-content .col-lg-4 {
        width: 90%;
        padding: 10px;
    }
}

.spanOr {
    font-size: 14px;
    /* Adjust this size as needed */
}

.row.loginOr {
    height: 30px;
    /* Adjust this size as needed */
}

.btn-twitter {
    display: none;
}

.move-right {
    margin-left: 90px;
    /* Adjust this value as needed */
}

.fb-button-margin {
    margin-bottom: 10px;
    /* Adjust as needed */
}

.btn-custom {
    height: 42px;
    /* set your desired height here */
}

.scrollable {
    height: 515px;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;

    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.close2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close2:hover,
.close2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.scrollable {

    overflow-y: auto;
    font-family: 'Inter';
    line-height: 1.6;
    color: #333;
}

h1 {
    font-size: 2em;
    color: #444;
}

#acceptTermsBtn {
    background-color: #4CAF50;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 14px -2px;
    cursor: pointer;
    transition-duration: 0.4s;
}

#acceptTermsBtn:hover {
    background-color: #45a049;
}

.hide-modal-contents {
    display: none;
}

#uploadRouteButton {
    height: 40px;
    border-radius: 9px;
    border: none;
    /* Remove the border */
    background-color: #28CC6A;
    /* Sdet the background color to green */
    color: white;
    /* Set the text color to white */
    padding: 0 20px;
    font-size: 18px;
    position: relative;
    /* or absolute, fixed, sticky depending on your needs */
    min-width: 80px;
    font-weight: bold;

}

#uploadRouteButton:hover {
    cursor: pointer;
    opacity: 0.9;
    /* Adjust the opacity on hover if desired */
}

#uploadRouteBtn {
    display: none;
    /* Initially hide the button */
    height: 40px;
    border-radius: 9px;
    border: none;
    /* Remove the border */
    background-color: #28CC6A;
    /* Set the background color to a specific blue */
    color: white;
    /* Set the text color to white */
    padding: 0 20px;
    font-size: 18px;
    position: relative;
    /* or absolute, fixed, sticky depending on your needs */
    font-weight: bold;
    width:fit-content;
}

#uploadRouteBtn:hover {
    cursor: pointer;
    opacity: 0.9;
    /* Adjust the opacity on hover if desired */
}

.profile-circle {
    width: 46px;
    /* Adjust the width and height as needed */
    height: 46px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: absolute;
    min-width: 46px;


}

.authfy-panel.panel-login.text-center.active {
    margin-top: -45px !important;
}

#hamburgerMenu {
    transform: translateX(-40px);
}




#add-image-button {
    display: block;
    width: 200px;
    margin: 20px auto 0;
    text-align: center;
    display: none;
    /* Hidden by default */
    background-color: #2f74f0e6;
}

#follow-button {
    background-color: #28CC6A;
    text-align: center;
    border: none;
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    border-radius: 9px;
    cursor: pointer;
    top: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    margin: 10px;
    margin-left:0;
    align-items: center;
    height: 30px;
    width: auto;
    gap: 20px;
}


.image-container {
    position: relative;
    width: 145px;
    height: 145px;
    margin-bottom: 15px;
}

.circular-image {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
}

.overlay-text {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

body {
    margin-top: 20px;
    background: #fbf9f9;
}

.fs35 {
    font-size: 35px !important;
}

.mw50 {
    max-width: 50px !important;
}

.mn {
    margin: 0 !important;
}

.mw140 {
    max-width: 140px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mr25 {
    margin-right: 25px !important;
}

.mw40 {
    max-width: 40px !important;
}



.page-heading {
    position: relative;
    padding: 15px 20px;
    padding-bottom:0;
    margin: 0px 0px 10px;
    /*border-bottom: 1px solid #d9d9d9;*/
    background-color: white;
    /*border-radius: 9px;*/
    /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);*/
}

.page-tabs {
    margin: -25px -20px 30px;
    padding: 15px 25px 0;
    border-bottom: 1px solid #ddd;
    background: #e9e9e9;
}

.page-tabs .nav-tabs {
    border-bottom: 0;
}

.page-tabs .nav-tabs>li>a {
    color: #AAA;
    padding: 10px 20px;
}

.page-tabs .nav-tabs>li:hover>a,
.page-tabs .nav-tabs>li:focus>a {
    border-color: #ddd;
}

.page-tabs .nav-tabs>li.active>a,
.page-tabs .nav-tabs>li.active>a:hover,
.page-tabs .nav-tabs>li.active>a:focus {
    color: #666;
    font-weight: 600;
    background-color: #fcf0f0;
    border-bottom-color: transparent;
}

@media (max-width: 800px) {
    .page-tabs {
        padding: 25px 20px 0;
    }

    .page-tabs .nav-tabs li {
        float: none;
        margin-bottom: 5px;
    }

    .page-tabs .nav-tabs li:last-child,
    .page-tabs .nav-tabs li.active:last-child {
        margin-bottom: 10px;
    }

    .page-tabs .nav-tabs>li>a:hover,
    .page-tabs .nav-tabs>li>a:focus {
        border: 1px solid #DDD;
    }

    .page-tabs .nav-tabs>li.active>a,
    .page-tabs .nav-tabs>li.active>a:hover,
    .page-tabs .nav-tabs>li.active>a:focus {
        border-bottom-color: #ddd;
    }
}

.panel {
    position: relative;
    margin-bottom: 27px;
    background-color: #ffffff;
    border-radius: 3px;
}

.panel.panel-transparent {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
}

.panel.panel-border {
    border-style: solid;
    border-width: 0;
}

.panel.panel-border.top {
    border-top-width: 5px;
}

.panel.panel-border.right {
    border-right-width: 5px;
}

.panel.panel-border.bottom {
    border-bottom-width: 5px;
}

.panel.panel-border.left {
    border-left-width: 5px;
}

.panel.panel-border>.panel-heading {
    background-color: #fafafa;
    border-color: #e2e2e2;
    border-top: 1px solid transparent;
}

.panel.panel-border>.panel-heading>.panel-title {
    color: #999999;
}

.panel.panel-border.panel-default {
    border-color: #DDD;
}

.panel.panel-border.panel-default>.panel-heading {
    border-top: 1px solid transparent;
}

.panel-menu {
    background-color: #fafafa;
    padding: 12px;
    border: 1px solid #e2e2e2;
}

.panel-menu.dark {
    background-color: #f8f8f8;
}

.panel-body .panel-menu {
    border-left: 0;
    border-right: 0;
}

.panel-heading+.panel-menu,
.panel-menu+.panel-body,
.panel-body+.panel-menu,
.panel-body+.panel-body {
    border-top: 0;
}

.panel-body {
    position: relative;
    padding: 15px;
    border: 1px solid #e2e2e2;
}

.panel-body+.panel-footer {
    border-top: 0;
}

.panel-heading {
    position: relative;
    height: 52px;
    line-height: 49px;
    letter-spacing: 0.2px;
    color: #999999;
    font-size: 15px;
    font-weight: 400;
    padding: 0 8px;
    background: #fafafa;
    border: 1px solid #e2e2e2;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.panel-heading+.panel-body {
    border-top: 0;
}

.panel-heading>.dropdown .dropdown-toggle {
    color: inherit;
}

.panel-heading .widget-menu .btn-group {
    margin-top: -3px;
}

.panel-heading .widget-menu .form-control {
    margin-top: 6px;
    font-size: 11px;
    height: 27px;
    padding: 2px 10px;
    border-radius: 1px;
}

.panel-heading .widget-menu .form-control.input-sm {
    margin-top: 9px;
    height: 22px;
}

.panel-heading .widget-menu .progress {
    margin-top: 11px;
    margin-bottom: 0;
}

.panel-heading .widget-menu .progress-bar-lg {
    margin-top: 10px;
}

.panel-heading .widget-menu .progress-bar-sm {
    margin-top: 15px;
}

.panel-heading .widget-menu .progress-bar-xs {
    margin-top: 17px;
}

.panel-icon {
    padding-left: 5px;
}

.panel-title {
    padding-left: 6px;
    margin-top: 0;
    margin-bottom: 0;
}

.panel-title>.fa,
.panel-title>.glyphicon,
.panel-title>.glyphicons,
.panel-title>.imoon {
    top: 2px;
    min-width: 22px;
    color: inherit;
    font-size: 14px;
}

.panel-title>a {
    color: inherit;
}

.panel-footer {
    padding: 10px 15px;
    background-color: #fafafa;
    border: 1px solid #e2e2e2;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.panel>.list-group {
    margin-bottom: 0;
}

.panel>.list-group .list-group-item {
    border-radius: 0;
}

.panel>.list-group:first-child .list-group-item:first-child {
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}

.panel>.list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.panel-heading+.list-group .list-group-item:first-child {
    border-top-width: 0;
}

.panel-body+.list-group .list-group-item:first-child {
    border-top-width: 0;
}

.list-group+.panel-footer {
    border-top-width: 0;
}

.panel>.table,
.panel>.table-responsive>.table,
.panel>.panel-collapse>.table {
    margin-bottom: 0;
}

.panel>.table:first-child,
.panel>.table-responsive:first-child>.table:first-child {
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}

.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,
.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,
.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,
.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,
.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,
.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,
.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,
.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child {
    border-top-left-radius: 2px;
}

.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,
.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,
.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,
.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,
.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,
.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,
.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,
.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child {
    border-top-right-radius: 2px;
}

.panel>.table:last-child,
.panel>.table-responsive:last-child>.table:last-child {
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,
.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,
.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,
.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,
.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,
.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,
.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,
.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child {
    border-bottom-left-radius: 2px;
}

.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,
.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,
.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,
.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,
.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,
.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,
.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,
.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child {
    border-bottom-right-radius: 2px;
}

.panel>.panel-body+.table,
.panel>.panel-body+.table-responsive {
    border-top: 1px solid #eeeeee;
}

.panel>.table>tbody:first-child>tr:first-child th,
.panel>.table>tbody:first-child>tr:first-child td {
    border-top: 0;
}

.panel>.table-bordered,
.panel>.table-responsive>.table-bordered {
    border: 0;
}

.panel>.table-bordered>thead>tr>th:first-child,
.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,
.panel>.table-bordered>tbody>tr>th:first-child,
.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,
.panel>.table-bordered>tfoot>tr>th:first-child,
.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,
.panel>.table-bordered>thead>tr>td:first-child,
.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,
.panel>.table-bordered>tbody>tr>td:first-child,
.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,
.panel>.table-bordered>tfoot>tr>td:first-child,
.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child {
    border-left: 0;
}

.panel>.table-bordered>thead>tr>th:last-child,
.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,
.panel>.table-bordered>tbody>tr>th:last-child,
.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,
.panel>.table-bordered>tfoot>tr>th:last-child,
.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,
.panel>.table-bordered>thead>tr>td:last-child,
.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,
.panel>.table-bordered>tbody>tr>td:last-child,
.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,
.panel>.table-bordered>tfoot>tr>td:last-child,
.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child {
    border-right: 0;
}

.panel>.table-bordered>thead>tr:first-child>td,
.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,
.panel>.table-bordered>tbody>tr:first-child>td,
.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,
.panel>.table-bordered>thead>tr:first-child>th,
.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,
.panel>.table-bordered>tbody>tr:first-child>th,
.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th {
    border-bottom: 0;
}

.panel>.table-bordered>tbody>tr:last-child>td,
.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,
.panel>.table-bordered>tfoot>tr:last-child>td,
.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,
.panel>.table-bordered>tbody>tr:last-child>th,
.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,
.panel>.table-bordered>tfoot>tr:last-child>th,
.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th {
    border-bottom: 0;
}

.panel>.table-responsive {
    border: 0;
    margin-bottom: 0;
}

.panel-group {
    margin-bottom: 19px;
}

.panel-group .panel-title {
    padding-left: 0;
}

.panel-group .panel-heading,
.panel-group .panel-heading a {
    position: relative;
    display: block;
    width: 100%;
}

.panel-group.accordion-lg .panel+.panel {
    margin-top: 12px;
}

.panel-group.accordion-lg .panel-heading {
    font-size: 14px;
    height: 54px;
    line-height: 52px;
}

.panel-group .accordion-icon {
    padding-left: 35px;
}

.panel-group .accordion-icon:after {
    position: absolute;
    content: "\f068";
    font-family: "FontAwesome";
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    color: #555;
    left: 10px;
    top: 0;
}

.panel-group .accordion-icon.collapsed:after {
    content: "\f067";
}

.panel-group .accordion-icon.icon-right {
    padding-left: 10px;
    padding-right: 30px;
}

.panel-group .accordion-icon.icon-right:after {
    left: auto;
    right: 5px;
}

.panel-group .panel {
    margin-bottom: 0;
    border-radius: 3px;
}

.panel-group .panel+.panel {
    margin-top: 5px;
}

.panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0;
}

.panel-group .panel-footer {
    border-top: 0;
}

.panel-group .panel-footer+.panel-collapse .panel-body {
    border-bottom: 1px solid #eeeeee;
}

#usernameSpan {
    font-size: 17px;
    font-weight: 700;
    min-width: 100px;
    max-width: 125px;
    vertical-align: top;
}

#usernameContainer {
    min-width: 110px;
    max-width: 165px;
}

.media {
    color: #999999;
    font-weight: 600;
    margin-top: 15px;
}

.media:first-child {
    margin-top: 0;
}

.media-right,
.media>.pull-right {
    padding-left: 10px;
}

.media-left,
.media>.pull-left {
    padding-right: 20px;
    align-self: center;
}

.media-left,
.media-right,
.media-body {
    display: table-cell;
    vertical-align: top;
}

.media-body {
    text-align: start;
    padding-right: 20px;
}

.media-middle {
    vertical-align: middle;
}

.media-bottom {
    vertical-align: bottom;
}

@keyframes safari-fix {
    from { opacity: 1;}
    to {opacity: 0.99;}
}

.media-heading {
    color: #555555;
    margin-top: 0;
    margin-bottom: 5px;
    text-align: left;
    gap: 15%;
    animation: safari-fix 0.001s;
}

.media-heading > * {
    min-width: 0;
}

.media-list {
    padding-left: 0;
    list-style: none;
}

/*===============================================
Tabs
================================================= */
/* Tabs Wrapper */
.tab-block {
    position: relative;
    padding: 15px 20px;
}

/* Tabs Content */
.tab-block .tab-content {
    position: relative;
    z-index: 10;
    /*border: 1px solid #e2e2e2;*/
    background-color: #FFF;
}


.circular-image {
    border-radius: 50%;
    width: 145px;
    /* or any size you want */
    height: 145px;
    /* same as width to keep circle shape */
    object-fit: cover;
    /* this is to ensure the image covers the whole area, potentially cropping it */
    cursor: pointer;
}

#userBio,
.lead {
    font-size: 14px;
    font-family: 'Inter';
    font-weight: normal;
    text-align: left;
    color: #404145;

    /* Additional styles for text wrapping */
    white-space: normal;
    /* Ensures the whitespace is handled normally */
    word-break: break-word;
    /* Allows unbreakable words to be broken */
    overflow-wrap: break-word;
    /* Allows the words to break and wrap to the next line */
    line-height: 1rem;
}

.bio-label {
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    opacity: 70%;
}

#editButton {
    background-color: #28CC6A;
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    border-radius: 9px;
    cursor: pointer;
    top: 8px;
    display: none;
    /* hidden by default */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    margin: 10px;
    margin-left:0;
    gap: 20px;
    align-items: center;
    width: auto;
    height: 30px;
}

#editButton:hover {
    cursor: pointer;
    opacity: 0.9;
    /* Adjust the opacity on hover if desired */
}

.profile-secondary-btn {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    background-color: white;
    color: #28CC6A;
    padding: 5px 10px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px;
    transition-duration=0.4s;
    display: inline-flex;
    gap: 20px;
}

.profile-secondary-btn:hover,
.share-button:hover {
    background-color: #f0f0f0;
}

.share-button {
    background-color: white;
    color: #28CC6A;
    border: none;
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    border-radius: 9px;
    cursor: pointer;
    top: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    margin: 10px;
    align-items: center;
    height: 30px;
    width: auto;
    float:right;
}

.tab-pane {
    border-radius: 1.25rem;
    box-shadow: 0px 2px 13.4px rgba(0, 0, 0, 0.25);
    1px solid rgba(0, 0, 0, .125);
}

.grid-item-link {
    width: 100%;
}

.grid-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px;
    background-color: white;
    color: #404145;
    word-wrap: break-word;
    height: 110px;
    overflow: hidden;
    text-align: left;
    border-radius: 1.25rem;
}

.img-right {
    height: 100px;
    /* adjust as per your requirement */
    width: 100px;
    /* making it square */
    margin-right: 5px;
    /* this will move the image to the left */
    flex: 0 0 auto;
}

.img-left {
    width: 100%;
    height: 110px;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
    flex: 0 0 auto;
    border-radius: 1.25rem;
}

.img-left-special {
    order: 2;
    width: 100px;
    /* control the width */
    height: 100px;
    /* control the height to be the same as the width for a 1:1 (square) aspect ratio */
    background-size: cover;
    background-position: center;
    margin-right: 5px;
    flex: 0 0 auto;
}


.grid-text {
    flex-grow: 1;
    /* this will push the text to the right */
    text-align: right;
    /* align the text to the right */
}


/* Styles for the bar and marker */

.marker {
    position: absolute;
    top: 20%;
    height: 22px;
    /* Adjust based on the size of the needle image */
    width: 24px;
    /* Adjust based on the size of the needle image */
    background: url('https://d26izgdpm7xdxv.cloudfront.net/clipart43266.png') no-repeat;
    background-size: cover;
    transform: translate(-50%, -50%);
}

.bar {
    width: 100%;
    height: 60px;
    background-image: url('https://d26izgdpm7xdxv.cloudfront.net/colouredbar.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.text-container {
    flex: 1 1 auto;
    /* This makes the text-container grow and shrink as necessary */

    margin-right: 15px;
    /* Increase the right margin to 20px */
    margin-bottom: 0;
    margin-left: 2px;
    /* This adds some space around the text-container */
    align-items: flex-start;
    width: 100%;
    word-break: break-word;
}

.text-container-special {
    order: 1;
    flex: 1 1 auto;
    /* This makes the text-container grow and shrink as necessary */

    margin-right: 15px;
    /* Increase the right margin to 20px */
    margin-bottom: 0;
    margin-left: 2px;
    /* This adds some space around the text-container */
    align-items: flex-start;

    width: 100%;
}

.date-posted {
    font-size: 13px;
    /* You can adjust this as needed */

    font-weight: bold;
}

.date-posted2 {
    font-size: 13px;
    /* You can adjust this as needed */
    margin-top: -2px;
    font-weight: bold;
}

.likes-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    /* Adjust as necessary */
}

.likes-image,
.dislikes-image {
    width: 20px;
    /* Adjust as necessary */
    height: 20px;
    /* Adjust as necessary */
}

.likes-text {
    margin-left: 5px;
    /* Adjust as necessary */
    margin-right: 15px;
    /* Adjust the space between likes text and dislikes image */
}

.dislikes-text {
    margin-left: 5px;
    /* Adjust as necessary */

}

.views-text {
    margin-top: 5px;
    /* Adjust as necessary */
    margin-right: 12px;
}

.feedback-container {
    display: flex;
    flex-direction: column-reverse;

    gap: 3px;


}

.feedback-container-special {
    order: 3;
    display: flex;
    flex-direction: column-reverse;

}

#tooltip {
    position: absolute;
    display: none;
    z-index: 9999;
    /* This will make sure the tooltip image is above everything else */
    right: -30px;
    /* Adjust this as needed */
    top: 56px;
    /* Adjust this as needed */
}

#tooltip img {
    width: 288px;
    height: auto;
    margin-left: -48px;
}

.profile-circle {
    cursor: pointer;
    /* Makes the cursor appear as a hand (pointer) when hovering */
    transition: filter 0.3s;
    /* Adds a smooth transition effect when the filter changes */
}

.profile-circle:hover {
    filter: brightness(1.2);
    /* Makes the image appear 20% brighter when hovered */
}

#editIcon {
    vertical-align: super;
    cursor: pointer;
}

.stats-container {
    justify-content: center;
    gap: 30%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
}

.stat-label {
    font-size: 14px;
    font-weight: 300;
    opacity: 70%;
    margin-bottom: 10px;
    color: #555555 !important;
    width: max-content;
}

.rank-badge {
  margin-bottom: 4rem !important;
}

.travel-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #007bff;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

#follow-button {
    display: none;
}

.picture-div-special {
    order: 0;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    /* This will make the div circular */
}

.grid-item-link:hover {
    text-decoration: none;
}

.img-left-special:hover {
    opacity: 0.7;
    /* Or any other effect like changing the border, adding shadow, etc. */
    transition: opacity 0.3s ease-in-out;
    /* Optional: for smooth transition */
}

.username-hover:hover {
    /* You will need to assign this class to the username element */
    text-decoration: underline;
    /* Or any other effect */
    transition: all 0.3s ease-in-out;
    /* Optional: for smooth transition */
}

.picture-div-special:hover {
    opacity: 0.7;
    /* You can adjust this or add other styles */
    transition: opacity 0.3s ease-in-out;
    /* Add additional effects like borders, shadows etc. if needed */
}

.grid-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
    /* Change background color on hover */

    z-index: 1;
    /* Ensure the hovered item is above the others */
    cursor: pointer;
}


table {
    border-collapse: collapse !important;
}

#hello-world-content {
    text-align: left;
    /* Align text to the left */
}

/*NEEEEEEEEEEEWWWWWWW/////////////////////////////////////////////////////////////////////////W */

#fb-button-wrapper {
    margin-bottom: 10px;
    /* Adjust as needed */

}

p2,
p6,
p10 {
    font-weight: bold;
    font-size: 16px;
}

.editable {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 4px 2px;
    font-size: 25px;
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

#bioInput {
    width: 100%;
}

#saveButton {
    display: none;
    /* Initially hidden */
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #4CAF50;
    /* Green background */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#saveButton:hover {
    background-color: #45a049;
    /* Darker green on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#saveButton:active {
    background-color: #3e8e41;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#saveButton2 {
    display: none;
    /* Initially hidden */
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    color: '#28CC6A';
    background-color: white;
    /* White background */
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    margin: 10px;
}

#saveButton2:hover {
    background-color: #f0f0f0;
    /* Darker green on hover */
    transform: scale(1, 1);
}

#saveButton2:active {
    /*background-color: #3e8e41;*/
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);*/
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

@media screen and (max-width: 600px) {
    .modal {

        width: 100%;
        /* Full width */


    }

    .modal-content {
        top: 0%;
        /* Adjust this value to move the modal up */
        /* rest of your styles */
    }

    .modal {

        padding-top: 0%;

    }
}

@media screen and (max-width: 600px) {
    /* .row.social-buttons {
        text-align: center !important;
    }

    .row.social-buttons>div {

        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }

    .move-right {
        margin-left: 0;
        /* Resets the margin-left for screens smaller than 600px */
    /*}

    .col-xs-9.col-sm-9.move-right {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
        width: 240px !important;
        padding: 0px !important;
    }

    .authfy-login {
        background-color: #fff;
        height: 540px !important;
        margin: 25px auto;
        position: relative;
        top: 0;
        left: 0;
        overflow: hidden;
        box-shadow: 0 3px 5px rgba(0, 0, 0, .05);
    } */
}

.btn-google {
    width: 240px !important;
    /* Set the same width as the Facebook button */
    /* Add any other styling you need for the button */
}

@media (max-width: 800px) {

    #selectedLang,
    #langSelector {
        display: none !important;
        /* Hide these elements */
    }
}

@media (max-width: 800px) {
    /* #loginButton {
        padding: 0 7px;
        font-size: 11px;

    }

    #loginButton2 {
        padding: 0 7px;
        font-size: 11px;

    }

    #uploadRouteButton {

        font-size: 11px;
        padding: 0 7px;
    }

    #uploadRouteBtn {

        font-size: 11px;
        padding: 0 7px;
    }

    .logo {
        height: 40px !important;
        /* Adjust the height */
        width: auto !important;
        /* Adjust the width to maintain aspect ratio */

    /* } */
}

.modal-content {
    background-color: #fefefe;
    margin: 0;
    padding: 20px;
    padding-top 0;
    border: 1px solid #888;
    width: 600px;

    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
    z-index: 999;
}

@media screen and (max-width: 600px) {
    .modal-content {
        width: 100%;
        height: 100%;

    }
}

/* //////////////////////////////////////////////////////////////////////////////////// */
.socialmediabuttons {
    display: none;
    /*display: flex;*/
    /* This enables flexbox layout */
    justify-content: flex-end;
    /* This aligns the items to the right */
    align-items: flex-end;
    /* This aligns the items to the bottom */
    margin-top: -31px;
    margin-left: 118px;
}

.socialmediabuttons i {
    font-size: 31px;
    /* Adjust the size of the icons */
    cursor: pointer;
    /* Changes cursor to pointer on hover */
    margin-right: 10px;
    /* Spacing between icons */
    /* Additional styling as needed */
}

/* Styling for hover effects (optional) */
.socialmediabuttons i:hover {
    color: #555;
    /* Change color on hover */
}

@media screen and (max-width: 800px) {

    /*.media,*/
    /*.media-body,*/
    /*.media-left {*/
    /*    display: block;*/
    /*    max-width: 100%;*/
    /*}*/

    .media-body {
        margin-top: 30px;
    }
}

#bioForm {
    font-size: 15px;
}

@media screen and (max-width: 410px) {


    .likes-container {
        display: none;
    }

    .views-text {

        display: none;
    }

    .date-posted {

        display: none;
    }

    .date-posted2 {

        display: none;
    }

    .close-btn {

        margin-left: -79px;
    }
}


.socialmediabuttons1 {
    display: none;
    /* Hide the second set of buttons */
}

/* Media query for screens less than 450px */
@media screen and (max-width: 450px) {
    .socialmediabuttons {
        display: none;
        /* Hide the first set of buttons */
    }

    .socialmediabuttons1 {

        display: inline-block;
        /* This will allow the div to be inline */
    }
}

#dropdownContent a {
    font-size: 22px;
}

.fa-times:before {

    margin-right: -70px;
}

@media screen and (max-width: 740px) {
    .fa-times:before {

        margin-left: -12px;
    }
}

@media screen and (max-width: 520px) {
    .modal-content {

        padding: 0px;
    }

    .col-md-8 {

        padding-right: 5px;
        padding-left: 0px;
    }

    .tab-block .tab-content {

        padding: 0px 0px;

    }

    .date-posted {

        margin-top: -1px;

    }

    .date-posted2 {

        margin-top: -1px;

    }

}

.tab-content.p30 {
    min-height: 50px !important;
}

#uploadRouteBtn {
    display: none;
}

.empty-message {
    display: flex;
    padding: 11px;
    font-size: 25px;
    justify-content: space-between;
    font-family: inherit;
    padding-bottom: 0;
}

.empty-message-right {
    margin-left: 50px;
    display: flex;
    flex-direction: column;
}

.empty-message h2 {
    font-size: 3.5rem;
    text-align: left;
    font-weight: 300;
    color: #9b9b9b;
}

.empty-message h2 > span {
    color: black;
}

.container14 {
    padding: 20px;
    padding-bottom: 0;
}

.logo2 {
    max-width: 100%;
    /* Ensures the image doesn't exceed the container width */
    height: auto;
    /* Allows the image to scale proportionally */
    width: 200px;
    /* Adjust this value to set the desired width */
}

.footer {

    margin-top: 300px !important;


}

.google-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4285F4;
    background-color: #DB4437;
    padding: 9px 20px;
    border-radius: 2px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    width: 240px;
    font-weight: bold;
    font-size: 16px;
    /*justify-content: flex-start;*/
    height: 40px;
}

.google-login-button:hover {
    background-color: #C63831;
    text-decoration: none;
}

.google-logo {
    height: 23px;
    /* Adjust the height as needed */
    width: auto;
    /* Keep the aspect ratio */
    margin-left: -7px;
    margin-right: 12px;
    border-radius: 3px;
}

.google-login-button span {
    margin-left: 0px;
    /* Adjust the value as needed */
}

@media screen and (min-width: 390px) {
    .google-login-button {

        width: 239px;

        /* margin-left: -68px; */
    }
}

.fa-pencil-alt:before {

    font-size: 25px;
}

button.fa.fa-times.delete-button {
    z-index: 999;
    position: relative;
}

.fa-times:before {
    z-index: 999;
    position: relative;
}

@media (max-width: 420px) {

    .language-login {
        margin-right: 0px;
    }
}

@media (max-width: 400px) {

    .language-login {
        margin-right: 0px;
    }

    .language-login button,
    .language-login .profile-circle,
    .language-login #langSelector,
    .language-login .dropdown {
        margin-left: 3px;
    }
}

@media (max-width: 380px) {

    .logo {
        height: 37px !important;
        /* Adjust the height */
        width: auto !important;
        /* Adjust the width to maintain aspect ratio */

    }
}


@media (max-width: 360px) {
    .authfy-login .authfy-panel {
        padding: 0px !important;


    }

}

@media (max-width: 470px) {
    #loginButton {
        display: none !important;
    }

    #loginButton2 {
        display: none !important;
    }

    .language-login button {
        margin-right: 7px;
    }
}

.new-class {
    margin-top: -99px;
}



@media screen and (max-height: 589px) {

    .brand-logo {

        display: none;
    }

    .scrollable {
        height: 35%;

    }
}

@media (max-width: 600px) {
    .brand-logo {
        margin: 20px auto;
        display: none;
    }
}

@media (max-width: 760px) {

    #hamburgerMenuIcon {
        margin-right: 8px;
        min-width: 30px;
        margin-left: 3px;
    }
}

#selectedLang:hover .lang-name {
    color: #28CC6A;

}

#uploadRouteButton:hover {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15), inset 0px 0px 5px rgba(0, 0, 0, 0.25), 0px 0px 10px #28CC6A;
}


#hamburgerMenuIcon:hover {
    opacity: 0.4;
}

@media screen and (min-width: 800px) {
    #selectedLang .lang-name::before {
        content: "EN";
    }

    #selectedLang .lang-name {
        visibility: hidden;
    }

    #selectedLang .lang-name::before {
        visibility: visible;
        display: block;
    }

    #selectedLang .lang-flag {
        display: none;
    }

    #langSelector {
        position: relative;

        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 19px;
        width: 55px;
    }


    #selectedLang,
    .option {

        font-style: normal !important;
        font-weight: 500;
        font-size: 19px;
        line-height: 0px;
        border: none;
        color: #000000 !important;
        background: #FFFFFF;
        font-family: 'inter';
    }

    #loginButton {


        font-style: normal !important;
        font-weight: 500;
        font-size: 19px;
        line-height: 15px;
        border: none;
        color: #000000 !important;
        background: #FFFFFF;
        margin-left: -3px;
        font-family: 'inter';

    }

    #loginButton2 {

        font-style: normal !important;
        font-weight: 500;
        font-size: 19px;
        line-height: 15px;
        border: none;
        color: #000000 !important;
        background: #FFFFFF;
        font-family: 'inter';

    }

    .language-login button,
    .language-login .profile-circle,
    .language-login #langSelector,
    .language-login .dropdown {
        margin-left: 22px;
        /* Adjust the value as needed */
    }

    #uploadRouteButton {

        font-style: normal !important;
        font-weight: 600;
        font-size: 19px;
        line-height: 0px;
        border: none;
        padding: 12px;
        color: #ffffff;
        background: #28CC6A;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15), inset 0px 0px 5px rgba(0, 0, 0, 0.25);
        border-radius: 9px;
        font-family: 'Inter' !important;
    }
}

#loginButton2:hover {
    color: #28CC6A;

}

#loginButton:hover {
    color: #28CC6A;

}

.ql-snow .ql-tooltip {
    left: 0px !important;
}

.ql-editor {

    font-weight: normal;
    font-size: 17px;
    overflow-wrap: break-word;
    /* Ensure long words break to the next line */
    word-break: break-word;
    /* Ensure long words break to the next line */
    white-space: pre-wrap;
}

@media (min-width: 768px) {

    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9 {
        float: none !important;
    }
}

@media (max-width: 557px) {
    .brand-logo {

        display: none;
    }
}

@media (max-width: 450px) {

    .authfy-login .authfy-panel {
        padding: 25px;

    }

}

@media (max-width: 420px) {
    .authfy-panel .authfy-heading {
        display: none;
    }

    .authfy-panel.panel-login.text-center.active {
        margin-top: 4px !important;
    }

    .new-class {
        margin-top: 0px;
    }
}


@media screen and (max-width: 420px) {
    .authfy-login .authfy-panel {
        padding: 5px !important;

    }
}

form.signupForm {
    margin-top: -20px;
}

.date-delete-container {
    display: flex;
    flex-direction: column-reverse;
    /* Reverse the column order */
    align-items: flex-start;
    /* Align items to the start of the container */
    justify-content: flex-start;
    /* Align items at the top */
    gap: 10px;
    /* Optional: Add spacing between elements */
}

.edit-button {
    margin-left: -5px;
    /* Move the button 5px to the left */
}

button2 {
    padding: 10px;
    /* Adjust padding as needed */
}

.fa-times:before {

    padding: 5px;
    margin-left: -26px;
}

/* Share Modal Styles */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* semi-transparent black */
    z-index: 999;
}

.share-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    /* above the overlay */
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
}



.share-tooltip {
    visibility: hidden;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

button:hover .share-tooltip {
    visibility: visible;
    opacity: 1;
}

.share-modal-content {
    position: relative;
}

.share-modal h3 {
    margin: 0;
    font-weight: bold;
}

.share-close {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

.link-box {
    display: flex;
    margin: 15px 0;
    border: 1px solid #6fdd8b;
    border-radius: 6px;
    overflow: hidden;
}

.link-box input {
    flex: 1;
    padding: 8px;
    border: none;
    outline: none;
}

.copy-btn {
    background: none;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    color: #28c76f;
}

.social {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social span {
    color: #666;
}

.icons i {
    margin-left: 10px;
    color: #999;
    cursor: pointer;
}

.icons i:hover {
    color: #28c76f;
}

/* Left Panel */
.travel-card {
    overflow: hidden;
    justify-self:center;
    width: 80%;
    min-width: 275px;
    border-radius: 1.25rem;
    box-shadow: 0px 2px 13.4px rgba(0, 0, 0, 0.25);
}

.rank-badge img {
    width: 130px;
    height: 130px;
    margin-left: 10%;
    margin-top: -10px;
    z-index: 2;
}

.rank-bg-img {
    transform: rotate(-265deg);
    width: 280px !important;
    height: 281px !important;
    position: absolute;
    left: -90px;
    top: -90px;
    opacity: 5%;
    z-index: 1 !important;
}

.rank-badge-text {
    margin-left: auto;
    word-wrap: break-word;
    max-width: min-content;
    margin-top: 20px;
    line-height: 15px;
    text-align: end;
}

.rank-badge-text strong {
    font-size: 18px;
}

.rank-badge-text small {
    font-size: 14px;
    font-style: italic;
}

.statistics {
    flex-direction: row;
    justify-content: center;
    gap:10%;
    color: #28CC6A;
    padding: 5px;
    border-radius: 1.25rem !important;
    box-shadow: 0px 2px 13.4px rgba(0, 0, 0, 0.15);
}

.left-panel-label {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #949494;
}

.journey-map {
    overflow: hidden;
    height: 250px;
    width: 100%;
    border-radius: 1.25rem !important;
    border: 1px solid rgba(0, 0, 0, .125);
    margin: auto;
    display: flex;
    padding: 0 !important;
}

#journeyMap, #journeyMap2 {
    width: 100%;
    height: 100%;
}

#journeyMapWrapper2 {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: grab;
    transition: transform 0.2s ease;
    transform: scale(0.8);
    left: -50px;
    top: -15px;
    touch-action: none;
}

#zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    z-index: 10;
}

#zoom-controls button {
    background-color: transparent;
    border: 0;
    font-size: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
}

#zoom-controls button:focus,
#zoom-controls button:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#zoom-controls button:active {
    transform: scale(0.95);
    /* shrink slightly */
}

.journey-card {
    border-radius: 20px;
    height: 312px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#statistics2 {
    display:none;
}

.journey-card > div {
    justify-content: space-between;
    gap: 15px;
    flex-direction: column;
}

.journey-map-col {
    overflow:hidden;
    border-radius: 1.25rem !important;
    border:1px solid rgba(0, 0, 0, .125);
    touch-action:none;
}

.journey-map-side-panel {
    flex: 1;
}

.journey-map-side-panel-item {
    position: relative;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    transition: opacity 0.5s ease;
    min-width: 150px;
    max-width: 190px;
    width: 95%;
}

.journey-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
}

.journey-item.placeholder {
    height: 80px;
}

.jm-stats {
    justify-content: space-evenly;
}


.upcoming-events {
    border-radius: 1.25rem !important;
    /* background-image: url(events-bg.jpg); */
    background-image: url(https://kangatravel-706867854.imgix.net/san-fermin-pamplona-navarra-LJrszMj1RJc-unsplash.jpg?w=800&fit=crop&auto=compress,format&q=50);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    height: 60px;
    align-content: center;
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
}

.flag-container {
    min-height: 60px;
    max-height: 70px;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 1.25rem;
}

/* New nav tabs */
/* Custom styling for the nav tabs */
.nav-tabs-custom .nav-link {
    color: #6c757d;
    /* muted gray */
    border: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;
    margin-right: 1.5rem;
    font-weight: 500;
    font-size:14px;
    border-bottom: 3px solid #dee2e6;
}

.nav-tabs-custom .nav-link.active {
    color: #28a745;
    /* green text */
    border-bottom: 3px solid #28a745;
    /* green underline */
    background-color: transparent;
}

.nav-tabs-custom {
    border-bottom: 0 !important;
    margin-bottom: 0.5rem;
    padding: 0 10px;
}

/* overlay */
.gradient-overlay {
    position: absolute;
    top: 6px;
    left: 5px;
    width: 99%;
    height: 110px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    border-radius: 1.25rem;
    margin: -1px;
}

.card-img-overlay-custom {
    color: white;
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
    padding-left: 2.5rem;
    font-size: 1.7rem;
    font-weight: 500;
}

.card-img-overlay-custom2 {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    padding-left: 1.5rem;
    color: white;
    font-weight: 500;
    z-index: 2;
    font-size: 1.7rem;
}

.right-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 99%;
    height: 110px;
    border-radius: 1.25rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.right-overlay-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.draft-edit-icon, .draft-delete-icon {
    z-index: 4;
}

.draft-edit-icon img:hover, .draft-delete-icon img:hover {
    transform: scale(1,1);
}

.overlay-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top:5px;
}

.profile-info:hover {
    text-decoration:none;
}

.profile-pic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.profile-name {
    font-size: 1.25rem;
    text-decoration: none !important;
    color: white;
}

.profile-name:hover {
    text-decoration: none !important;
    color: white;
}

.posted-date {
    font-size: 0.75rem;
    opacity: 0.9;
    font-style: italic;
}

.location-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.gauge-container {
    position: relative;
    width: 50px;
    height: 50px;
}

.gauge-bg,
.gauge-fill {
    fill: none;
    stroke-width: 10;
}

.gauge-bg {
    stroke: #949494;
}

.gauge-fill {
    stroke: #28CC6A;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.6s ease;
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
}

/** Tablet View **/
@media (max-width: 991px) {
    .row {
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
    
    /*.col-md-4,*/
    /*.col-md-8 {*/
    /*    padding: 0 12px;*/
    /*}*/
    
    .media-left,
    .media-body {
        align-self: flex-start;
    }
    
    .image-container, .circular-image {
        margin: 0 auto 15px auto;
        width:120px;
        height:120px;
    }
    
    .stats-container {
        margin-left: 0 !important;
        justify-content: center;
    }
    
    .media-heading {
        justify-content: center;
    }
    
    #usernameContainer {
        margin-bottom: 5%;
        width: 100%;
        text-align: center;
    }
    
    #content.container {
        padding: 0 15px;
    }
    
    .content-button-div {
        position: relative;
        width: 140%;
        left: -120px;
        top: 15px;
    }
    
    .nav-tabs-custom {
        font-size: 12px;
    }
    
    .nav-tabs-custom .nav-link {
        margin-right: 0.5rem;
        font-size: 12px;
        padding: 2px 5px;
    }
    
    .jm-stats {
        flex-direction: column;
        font-size: 12px;
    }
    
    #jmWorldPercentage, #jmTotalCountries {
        font-size: 12px;
    }
    
    #journeyMapWrapper2 {
        transform: scale(0.5);
        transform-origin: top;
        top:0;
    }
    
    .journey-map-side-panel {
        height: 125px;
        padding: 8px;
    }
    
    .journey-card {
        height: auto;
    }
    
    .journey-card > div {
        flex-direction: row;
    }
    
    .journey-map-col {
        height: 170px;
    }
    
    .tab4-col1, .tab4-col2 {
        max-width: 100%;
        flex: auto;
    }
    
    .media {
        height: 380px;
    }
    
    .col-md-4:has(.travel-card) {
        display:none;
    }
    
    #statistics2 {
        display:flex;
    }
    
    .journey-map-side-panel .simplebar-content {
        padding: 5px !important;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap !important; /* important for changing simple scrollbar from vertical to horizontal */
        gap: 10px;
    }
}

/** Common Base Mobile View **/
@media (max-width: 479px) {
    .stat-label {
        font-size: 12px !important;
    }
    
    .stat-value {
        font-size: 16px !important;
    }
    
    .circular-image, .image-container {
        width: 110px;
        height: 110px;
    }
    
    .media-left {
        padding-right: 0.5rem !important;
    }
    
    .content-button-div {
        margin-top: unset;
        margin-left:0.5rem;
        width: 150%;
    }
    
    .tab-block {
        padding: 15px 0px;
    }
    
    .nav-tabs-custom {
        padding: 0px 9px;
    }
    
    
}

/** Small Phone Mobile View **/
@media (max-width: 414px) {
    .page-heading {
        padding: unset;
    }
    
    .media-left {
        padding-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .stats-container {
        gap: 15%;
    }
    
    .stat-label {
        font-size: 11px !important;
    }
    
    .stat-value {
        font-size: 14px !important;
    }
    
    #userBio, .lead {
        font-size: 12px;
    }
    
    #follow-button, #editButton, .share-button {
        font-size: 12px;
    }
    
    .flag-container .simplebar-content {
        padding: 5px !important;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        /*justify-content: space-evenly;*/
    }
    
    #uploadRouteButton {
        font-size: 15px;
    }
    
    .content-button-div {
        width: 150%;
    }
}

/* simplebar override */
.simplebar-scrollbar.simplebar-visible:before {
    opacity: 1;
    transition-delay: 0s;
    transition-duration: 0s;
    background: #28CC6A;
    width: 15px;
    height: 20px;
}

.simplebar-scrollbar:before {
    top: 2px;
    bottom: 2px;
    left: 0px;
    right: 2px;
}

.simplebar-scrollbar {
    position: absolute;
    left: -5px;
    right: 0;
    min-height: 10px;
    width: 16px;
}

.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
    background: #949494;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
    right: auto;
    left: 0;
    top: -10px;
    bottom: 0;
    min-height: 0;
    min-width: 10px;
    width: auto;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar.simplebar-visible:before {
    opacity: 1;
    transition-delay: 0s;
    transition-duration: 0s;
    background: #28CC6A;
    width: 20px;
    height: 16px;
}

.simplebar-track.simplebar-horizontal {
    left: 0;
    height: 5px;
}

.simplebar-track.simplebar-vertical {
    right:0;
    width: 5px;
}

.flag-container .simplebar-content-wrapper,
.journey-map-side-panel .simplebar-content-wrapper {
    border-radius: 1.25rem;
}

.flag-container .simplebar-content {
    padding: 5px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-evenly;
}

#flag-container2 .simplebar-content {
    padding: 5px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: unset;
}

.journey-map-side-panel .simplebar-content {
    padding: 5px !important;
    display: flex;
    flex-wrap: wrap;
}

.flag-container .simplebar-content::before,
.journey-map-side-panel .simplebar-content::before {
    content: unset;
}

#grid-container .simplebar-content-wrapper,
#grid-container2 .simplebar-content-wrapper,
#grid-container3 .simplebar-content-wrapper {
    border-radius: 1.25rem;
}

#grid-container .simplebar-content,
#grid-container2 .simplebar-content,
#grid-container3 .simplebar-content {
    padding: 10px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

#grid-container .simplebar-content::before,
#grid-container2 .simplebar-content::before,
#grid-container3 .simplebar-content::before {
    content: unset;
}

@media (max-width: 1199px) {
    .empty-message h2 {
        font-size:2.5rem;
    }
}

@media (max-width: 991px) {
    .empty-message h2 {
        font-size:1.5rem;
    }
    
    .empty-image img {
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 398px) {
    .empty-message h2 {
        font-size:1.3rem;
    }
    
    .empty-image img {
        height: 110px;
        width: 110px;
    }
    
    #uploadRouteBtn {
        font-size: 12px;
    }
    
    .empty-message-right {
      margin-left: 30px;
    }
}
