logo-ftcheq:root {
    --primary-color: #00205b;
    --secondary-color: #003080;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.header-top {
    background-color: var(--primary-color);
    height: 40px;
}

.header-main {
    background-color: white;
    padding: 5px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.logo img {
    height: 60px;
    margin-bottom: 0px;
}

.logo-ftcheq{
    position: absolute;
    right: 10px;
}

.logo-ftcheq p{
    font-size: 11px; 
    font-weight: bold;    
    padding: 0;
    margin-bottom: 2px;
}

#logo-ftcheq{
    height: 12px;
}

.main-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 91px);
}

#map-container {
    position: relative;
    flex: 1;
}

#map {
    height: 100%;
}

#search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#address-input {
    width: 250px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    border-right: none;
}

#geolocate-button {
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#geolocate-button:hover {
    background-color: var(--secondary-color);
}

#locations {
    background-color: white;
    padding: 20px;
    overflow-y: auto;
    height: 300px;
}

.location-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid black;
    cursor: pointer;
}

.location-item:hover {
    background-color: #e9e9e9;
}

.new-tag {
    background-color: #ffd700;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.gm-style .gm-style-iw-c {
    padding: 12px;
}

.info-window-content {
    font-family: Arial, sans-serif;
    position: relative;
    padding-top: 20px;
}

.info-window-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.info-window-content button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    width: 100%;
}

.info-window-content button:hover {
    background-color: var(--secondary-color);
}

.close-info-window {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.close-info-window:hover {
    color: #000;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
    }
    #locations {
        width: 300px;
        height: auto;
    }
}

@media (max-width: 600px) {
    #search-container {
        width: calc(100% - 40px);
        flex-direction: column;
    }
    #address-input {
        width: 100%;
        border-right: 1px solid #ccc;
        border-radius: 4px 4px 0 0;
    }
    #geolocate-button {
        width: 100%;
        border-radius: 0 0 4px 4px;
        margin-top: 5px;
    }
    #locations {
        height: 210px;
    }
    .header-main{
        height: 70px;
    }
    .logo-ftcheq{
        margin-top: 5px;
        padding-top:20px;
    }

    .logo-ftcheq p{
        font-size: 8px; 
    }
}