:root{
    --primary-color: #045cb4;
    --second-blue : #d6ecf9;
}

.flight-search-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    justify-content: center;
    padding: 8px 10px;
    border-radius:  0px 10px 10px;
}
.radio-button{
    display: flex;
    justify-content: space-between;
    width: 24%;
    padding: 10px 20px 0px;
    border-radius: 10px 10px 0 0;
    color:white;
}
.radio-button,
.flight-search-container{
    background-color: var(--primary-color);
}
.flight-search-input,
.calendar-container{
    width: 33.33%;
    color:white;
}
.flight-search-input input,
.calendar-container input{
    padding: 8px !important;
    border: 1px solid #b5b5b5;
}
.flight-search-input,.calendar-container, .submit-container {
    display: flex;
    flex-direction: column;
    margin: 10px;
    position: relative; /* Ensure relative positioning for absolute children */
}

ul {
    list-style-type: none;
    padding: 0;
}

#flight-from-results,
#flight-to-results {
    position: absolute;
    top: calc(100% + 5px); /* Adjust top spacing as needed */
    left: 0;
    width: 140%;
    max-height: 220px; /* Adjust max-height as needed */
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    z-index:5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hide results */
}

#flight-from-results li,
#flight-to-results li {
    /*height: 20px;  Fixed height for each item */
    line-height: 20px; /* Adjust line-height as needed */
    padding: 5px 10px;
    font-size: .8rem;
    border-bottom: 1px solid rgb(202, 202, 202);
    cursor: pointer;
    color:black;
}

#flight-from-results li:hover,
#flight-to-results li:hover {
    background-color: #f0f0f0;
}

#submit-flight-search {
    padding: 16px;
    background-color: #031220;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.4s ease;
}

#submit-flight-search:hover {
    background-color: #458fff;
}
.calendar-container{
    position: relative;
}
.input-group-addon-to,.input-group-addon-from{
    position: absolute;
    color:var(--primary-color);
    top:25px;
    right: 10px;
    cursor: pointer;
    font-size:1.3rem;
}

@media (max-width: 1034px){
    .flight-search-container{
        /* background-color: red; */
        flex-direction: column;
        align-items: center;
        border-radius: 0px 0px 10px 10px;
    }
    .flight-search-input,.calendar-container,.submit-container{
        width: 100%;
    }
    .radio-button{
        display: block;
        width: 100%;
    }
    .flight-search-input,.calendar-container, .submit-container {
        margin: 2px;
        padding-top: 1px;
    }
    .submit-container{
        margin-top: 8px;
    }
}

/* page airlines.php */
#loading-message{
    text-align: center;
}
#loading-message .content{
    background-color: var(--second-blue);
    text-align: center;
}
#loading-message img{
    margin: 40px;
    border-radius: 100%;
}
#loading-message .flight{
    margin: 10px;
}
#content-show{
    text-align: center;
    margin-top: 40px;
}
#content-show .heading{
    font-size: 1.8rem;
    font-weight: 550;
    margin: 10px;
}
#content-show .mobile a{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    text-decoration: none;
}
#content-show .mobile .contact{
    text-align: left;
}
#content-show .mobile .contact span{
    font-size: 1.5rem;
    font-weight: 600;
}
#content-show .notfound{
    width: 50%;
}
#content-show .mobile img{
    width: 50px;
    background-color: rgb(30, 59, 144);
    border-radius: 100%;
}

/* style ADDED TESTING */
.wrapper{
    max-width: 18rem;
    padding-top:4rem
}
.wrapper label{
    font-size: 0.75em;
    font-weight: 400;
    display: block;
    margin-bottom: 0.5rem;
    color: #B0BEC5;
    border: 1px solid #ECEFF1;
    border-radius: 0.5rem;
}
.wrapper input{
    display: block;
    border:none;
    border:1px solid transparent;
    padding: 0;
    color:#607D8B;
}
.wrapper input:focus {outline:none;}