body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.bodycontainer {
    display: grid;
    grid-template-rows: auto 1fr auto; /* header | map | footer */
    height: 100vh;
}

.headerpart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: white;
    padding: 12px 12px;
}

.logoimg {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.mapsearch {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.locationdiv {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.locationsearch {
    width: 100%;
}

#locationDropdownitems {
    max-width: 100vw;            
    box-sizing: border-box;
    white-space: normal;        
    word-break: break-word; 
    overflow-x: hidden;
    padding-left: 5px;
    overflow-y: auto;
}

#locationDropdownitems span {
    display: block;
    white-space: normal;
    word-break: break-word;
}

.currentlocationspan,#currentlocationbtn {
    font-size: 15px;
}

#currentlocationbtn{
    width: 100%;
}

.mapalerthere {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert {
    min-width: 250px;
    height: 40px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.mappart {
    background-color: rgb(204, 35, 35);
}

.footerpart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(66, 66, 66);
}

.leftpart {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 13px;
}

.coordinatesmodalcolumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.coordinatesmodalform {
    width: 100%;
}

.coordinatesmodalformcolumn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.coordinatesmodalinput {
    width: 100%;
    height: 50px;
    font-size: 18px;
    border-radius: 6px;
    outline: 0;
    border: 1px solid #ccc;
    padding-left: 10px;
}

.divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 5px;
}

.divider hr {
    flex: 1;
    border: 1px solid darkgray;
}

.headertitle {
    font-size: 20px;
    font-weight: bold;
}

.contactsmodalformcolumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.inputdiv {
    width: 100%;
    position: relative;
}

.inputdiv input {
    padding-right: 30px;
}

.inputdiv i {
    display: none;
    position: absolute;
    right: 10px;
    top: 25%;
    cursor: pointer;
}

@media (max-width:550px){
    #locationDropdownitems span {
        margin-bottom: 8px;
    }
    
    .locationdiv {
        flex-direction: column;
        align-items: flex-start;
    }

    #currentlocationbtn {
        font-size: 14px;
    }

    .footerpart {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        width: 100%;
        gap: 5px;
    }

    .leftpart {
        width: 100%;
        margin-top: 10px;
        font-size: 12px;
    }

    .headertitle {
        font-size: 15px;
    }
}

@media (max-width:403px){
    .leftpart {
        width: 100%;
        margin-top: 10px;
        font-size: 10px;
    }
    .headertitle {
        font-size: 13px;
    }
}