/* ============================
   WELCOME TEXT
   ============================ */
.tm-welcome {
    margin-left: 10px;
    margin-right: 10px;
}

.tm-welcome-points {
    margin-right: 10px;
}

.tm-welcome-link {
    text-shadow: 1px 1px 1px #666666;
}

.tm-welcome-points-total {
    font-weight: bold;
}


/* ============================
   HELLO LINE (WELCOME + ADMIN + CLOCK + FLAGS)
   ============================ */
#tm_hello_div {
    display: flex;
    width: 100%;
    height: 30px;
    border-radius: 10px;
    align-items: center;
}

#tm_welcome_div {
    display: inline-flex;      /* <-- FIX */
    align-items: center;       /* <-- FIX */
    white-space: nowrap;
    padding-right: 10px;
}

#tm_clock_div,
#tm_flag_div {
    white-space: nowrap;
}

#tm_clock_div {
    padding: 0 3px;
}

#tm_flag_div {
    width: 100px;
    padding-left: 30px;
}

.tm-spacer {
    flex: 1;
}



/* ============================
   LOGO
   ============================ */
.tm-logo-wrapper {
    /* matches the container you already give it (400x120) */
}

/* first small logo on the left */
.tm-logo-base {
    margin-left: -20px;
    width: 120px;
    position: relative;
    z-index: 1;
}

/* wrapper for the big overlapping logo */
.tm-logo-top-wrapper {
    margin-top: -57px;
    margin-left: 85px;
    position: relative;
    z-index: 2;
}

/* big logo image */
.tm-logo-top {
    width: 300px;
}







/* ============================
   SEARCH BOX
   ============================ */
.tm-search-form {
    padding: 0;
    margin: 0;
}

.tm-search-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
}

.tm-search-input {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 110px;
}

.tm-search-select {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.tm-search-button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.tm-search-button img {
    height: 18px;
    width: 18px;
}




/* ============================
   TOP LINE (LOGO + NOTIFIERS + MENU)
   ============================ */
.tm-top-row {
    display: flex;
    width: 100%;
    align-items: center;
}

#tm_logo {
    width: 400px;
    height: 120px;
}

#tm_tab {
    display: flex;
    width: 535px;
    align-items: center;
    justify-content: space-between;
    z-index: 9;
}

#tm_notifier_div {
    width: 135px;
    white-space: nowrap;
    text-align: center;
}

.tm-menu {
    position: relative;
    top: -10px;
    width: 390px;
    white-space: nowrap;
    border-radius: 10px;
}




/* ============================
   BREADCRUMB + SEARCH (DESKTOP)
   ============================ */
#tm_bread_pc {
    display: flex;
    width: 925px;
    margin-top: -5px;
    justify-content: space-between;
}

.tm-bread-text {
    max-width: 800px;
    overflow: hidden;
    white-space: nowrap;
}

#tm_search_pc {
    padding-right: 5px;
}


/* ============================
   BREADCRUMB + SEARCH (MOBILE)
   ============================ */
#tm_bread_mob {
    float: left;
    margin-top: -35px;
}

#tm_bread_mob .tm-bread-text {
    white-space: nowrap;
    max-width: 800px;
    overflow: hidden;
}