/* Color Scheme */
/* Lets use really modern and clean monochromatic color scheme inspired by french designers */
/* Primary color */
:root {
    --primary-color: #c82333;
    --brand-color: #0069d9;
    --primary-color-contrast: #fff;
    --secondary-color: #f8f9fa;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--brand-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


/* Preloader */
.preloader {
    position: fixed;
    z-index: 9999;
    min-width: 100%;
    min-height: 100%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Navbar */
nav {
    min-height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    background-color: var(--brand-color);
    color: var(--primary-color-contrast);
    width: 100%;
    top: 0%;
}

/* Main styles */

main {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 0;
}

/* Heading and Paragraph */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Aktiv Grotesk', sans-serif;
    margin-bottom: 20px;
}

p,
ul,
li,
a,
span,
input,
label,
button {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
}


/* Form styles */

.input-group-text {
    background-color: var(--brand-color);
    border: 0px;
    border-radius: 0 20px 20px 0px !important;
    color: white;
}

.input-group-prepend {
    border: 1px solid #9a9a9a;
    margin-right: -1px;
}

.input-group-prepend input {
    border: 0px;
    padding-left: 10px;
}

.input-group {
    margin: 0 auto;
    width: 100%;
    display: block;
    width: 100%;
}


input {
    width: 100%;
    height: 38px;
}


/* Typeahead */

.twitter-typeahead {
    width: 100%;
}


.tt-menu {
    width: 100%;
    background-color: white;
    border: 1px solid #ced4da;
    border-top: 0;
}

.tt-suggestion {
    padding: 10px;
    border-bottom: 1px solid #ced4da;
    cursor: pointer;
}

.tt-suggestion:last-child {
    border-bottom: 0;
}

.tt-suggestion:hover {
    background-color: #f8f9fa;
}

/* Card Radio */

label {
    width: 100%;
}

.card-input-element {
    display: none;
}

.card-input {
    margin: 10px;
    padding: 0px;
}

.card-input:hover {
    cursor: pointer;
}

.card-input-element:checked+.card-input {
    background-color: var(--brand-color);
    color: var(--primary-color-contrast);
}

/* Buttons */
button {
    background-color: var(--brand-color);
    color: var(--primary-color-contrast);
    border: 0;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
}

/* Flight Name Card */
.flight-name {
    text-transform: capitalize;
}

/* Message colors */
.text-success,
.text-danger,
.text-warning {
    font-weight: 700;
}

/* Full Screen Result */

.full-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 20px;
    min-height: 100vh;
    text-align: center;
}

.emoji {
    font-size: 6rem;
}

/* Alert */
.alert {
    padding: 20px;
    margin: 10px 0;
    border-radius: 0;
}

.alert p {
    margin-bottom: 0;
}

/* Result */
.result {
    display: none;
}

.result .col {
    display: none;
}

.disruption-type,
.disruption-type-missed {
    display: none;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 20px;
    text-align: center;
    bottom: 0;
    width: 100%;
}

footer p {
    margin-bottom: 0;
}

/* Media Queries */
@media (min-width: 900px) {
    nav,
    footer {
        position: fixed;
        z-index: 99;
    }
    .input-group {
        width: 70%;
    }

    main {
        min-height: 100vh;
        padding: 20vh 0;
    }
}