main {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    width: 100%;
    height: 100%;
    max-width: 600px; 
}

#flight-datepicker {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 400px) {
    #flight-datepicker {
        display: flex;
    }
}

#flight-datepicker .form-item {
    position: relative;
    margin: 12px 0 60px;
}

@media screen and (min-width: 400px) {
    #flight-datepicker .form-item {
        margin: 12px 24px 0 0;
    }
}

#flight-datepicker label {
    display: block;
    margin-bottom: 8px;
    color: white;
    margin-bottom: 0px;
    color: #706f72;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px !important;
    text-align: center;
    font-family: "myriad-pro", sans-serif !important;
}

#flight-datepicker input {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 7px;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #5381ac;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #ffffff;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease-out;
    border: 1px solid #5381ac;
    font-family: "myriad-pro", sans-serif !important;
    text-align: center;
    padding-top: 5px !important;
}


#flight-datepicker input:first-child, #flight-datepicker input:last-child {
    border-radius: 0;
}

#flight-datepicker input::-webkit-input-placeholder {
    font-family: "myriad-pro", sans-serif !important;
    color: #5381ac !important;
    font-size: 16px;
    line-height: 30px;
    -webkit-transition: color 0.2s 0.2s ease-out;
    transition: color 0.2s 0.2s ease-out;
    padding-bottom: 5px;
}

#flight-datepicker input:-moz-placeholder {
    font-family: "myriad-pro", sans-serif !important;
    color: #5381ac !important;
    font-size: 16px;
    line-height: 30px;
    -moz-transition: color 0.2s 0.2s ease-out;
    transition: color 0.2s 0.2s ease-out;
    padding-bottom: 5px;
}

#flight-datepicker input::-moz-placeholder {
    font-family: "myriad-pro", sans-serif !important;
    color: #5381ac !important;
    font-size: 16px;
    line-height: 30px;
    -moz-transition: color 0.2s 0.2s ease-out;
    transition: color 0.2s 0.2s ease-out;
    padding-bottom: 5px;
}

#flight-datepicker input:-ms-input-placeholder {
    font-family: "myriad-pro", sans-serif !important;
    color: #5381ac !important;
    font-size: 16px;
    line-height: 30px;
    -ms-transition: color 0.2s 0.2s ease-out;
    transition: color 0.2s 0.2s ease-out;
    padding-bottom: 5px;
}

#flight-datepicker input:focus {
    border-bottom-color: #5381ac;
}

#flight-datepicker input:focus::-webkit-input-placeholder {
    color: transparent;
    -webkit-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
}

#flight-datepicker input:focus:-moz-placeholder {
    color: transparent;
    -moz-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
}

#flight-datepicker input:focus::-moz-placeholder {
    color: transparent;
    -moz-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
}

#flight-datepicker input:focus:-ms-input-placeholder {
    color: transparent;
    -ms-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
}

#flight-datepicker .date-text {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    margin-top: auto;
    top: calc(100% + 6px);
    font-size: 12px;
    color: #5381ac;
    font-family: "myriad-pro", sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    margin-top: -7px;
    text-align: center;
}

@media screen and (min-width: 400px) {
    #flight-datepicker .date-text {
        top: 100%;
    }
}

.datepicker.dropdown-menu {
    padding: 0;
    background-clip: border-box;
    border: none;
    border-radius: 0;
    -webkit-animation: popup 0.2s ease-out forwards;
    animation: popup 0.2s ease-out forwards;
}

.datepicker.dropdown-menu table {
    background-color: #1b7983;
}

.datepicker.dropdown-menu table thead {
    background-color: #1b7983;
}

.datepicker.dropdown-menu table thead tr {
    border-top: 0;
}

.datepicker.dropdown-menu table tbody {
    background-color: white;
}

.datepicker.dropdown-menu table tr {
    border-top: 1px solid #ededed;
}

.datepicker.dropdown-menu table tr td, .datepicker.dropdown-menu table tr th {
    width: auto;
    height: 24px;
    padding: 8px;
    font-size: 16px;
    border-radius: 0;
    transition: background-color 0.6s ease-out;
}

@media screen and (min-width: 400px) {
    .datepicker.dropdown-menu table tr td, .datepicker.dropdown-menu table tr th {
        padding: 12px;
    }
}

.datepicker.dropdown-menu table tr td:hover, .datepicker.dropdown-menu table tr td.active:hover, .datepicker.dropdown-menu table tr td:active:hover, .datepicker.dropdown-menu table tr th:hover, .datepicker.dropdown-menu table tr th.active:hover, .datepicker.dropdown-menu table tr th:active:hover {
    border-color: #ededed;
    border-radius: 0;
    transition: background-color 0.2s ease-out;
}

.datepicker.dropdown-menu table tr td.focused, .datepicker.dropdown-menu table tr td.selected, .datepicker.dropdown-menu table tr th.focused, .datepicker.dropdown-menu table tr th.selected {
    background-color: #24A0AD;
    border-color: #ededed;
    border-radius: 0;
}

.datepicker.dropdown-menu table tr td.active, .datepicker.dropdown-menu table tr td.active:focus, .datepicker.dropdown-menu table tr td.active.active:hover, .datepicker.dropdown-menu table tr td:active:focus, .datepicker.dropdown-menu table tr td.highlighted, .datepicker.dropdown-menu table tr th.active, .datepicker.dropdown-menu table tr th.active:focus, .datepicker.dropdown-menu table tr th.active.active:hover, .datepicker.dropdown-menu table tr th:active:focus, .datepicker.dropdown-menu table tr th.highlighted {
    background-color: #1b7983;
    border-color: #ededed;
}

/* .datepicker.dropdown-menu table tr th.datepicker-switch {
    font-size: 12px;
    font-weight: bold;
    line-height: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    background-color: inherit;
    border-radius: 0;
} */
.datepicker.dropdown-menu table tr th.prev,
.datepicker.dropdown-menu table tr th.next {
    color: #ffffff;
    background-color: #17656e;
    border-radius: 0;
}

/* .datepicker.dropdown-menu table tr th.dow {
    padding: 2px 12px;
    font-size: 12px;
    line-height: 2;
    color: #ffffff;
    background-color: #19717a;
    border-top: 1px solid #196d76;
    border-radius: 0;
} */
.datepicker.dropdown-menu table tr td.day {
    width: 24px;
    border-right: 1px solid #ededed;
    cursor: pointer;
    text-align: center;
}

.datepicker.dropdown-menu table tr td.day:last-child {
    border-right-width: 0;
}

.datepicker.dropdown-menu table tr td.range {
    background-color: #eeeeee;
}

.datepicker.dropdown-menu .new,
.datepicker.dropdown-menu .old,
.datepicker.dropdown-menu .disabled,
.datepicker.dropdown-menu .disabled:hover {
    color: #ccc;
}

[class*=fontawesome-]:before {
    font-family: "FontAwesome", sans-serif;
}

.fontawesome-calendar {
    position: absolute;
    top: 26px;
    right: 0;
    font-size: 24px;
    z-index: -99;
}

@-webkit-keyframes popup {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popup {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.datepicker.dropdown-menu table tr td.active, .datepicker.dropdown-menu table tr td.active:focus, .datepicker.dropdown-menu table tr td.active.active:hover, .datepicker.dropdown-menu table tr td:active:focus, .datepicker.dropdown-menu table tr td.highlighted, .datepicker.dropdown-menu table tr th.active, .datepicker.dropdown-menu table tr th.active:focus, .datepicker.dropdown-menu table tr th.active.active:hover, .datepicker.dropdown-menu table tr th:active:focus, .datepicker.dropdown-menu table tr th.highlighted {
    background-color: #5381ac;
    border-color: #5381ac;
    color: #fff;
}

.datepicker.dropdown-menu table tr th.dow {
    padding: 2px 12px;
    font-size: 12px;
    line-height: 2;
    color: #fff !important;
    background-color: #5381ac;
    border-top: 1px solid #5381ac;
    border-radius: 0;
}

.datepicker.dropdown-menu table tr th.prev, .datepicker.dropdown-menu table tr th.next {
    color: #ffffff;
    background-color: #406e99;
    border-radius: 0;
    color: #fff !important;
}

.datepicker.dropdown-menu table tr th.datepicker-switch {
    font-size: 12px;
    font-weight: bold;
    line-height: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background-color: inherit;
    border-radius: 0;
    background-color: #406e99;
    text-align: center;
    color: #fff !important;
}
