:root {
    --app_red: #f41952;
    --light_gray: #a9a9a9;
    --fs_plus18: 36px;
    --fs_plus6: 24px;
    --fs_plus2: 20px;
    --fs_default: 18px;
    --fs_minus1: 17px;
    --fs_minus2: 16px;
    --fs_minus3: 15px;
    --fs_minus4: 14px;
    --fs_minus5: 13px;
    --fs_minus6: 12px;
}

/*
https://fonts.google.com/specimen/Source+Sans+Pro
Weights for Source Sans Pro:
- Extra light: 200
- Light: 300
- Regular: 400
- Semi bold: 600
- Bold: 700
- Black: 900
*/
@font-face {
    font-family: fontRegular;
    src: url(../font/ssp_regular.ttf);
}

@font-face {
    font-family: fontItalic;
    src: url(../font/ssp_italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: fontLight;
    src: url(../font/ssp_light.ttf);
    font-weight: 300;
}

@font-face {
    font-family: fontSemibold;
    src: url(../font/ssp_semibold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: fontSemiboldItalic;
    src: url(../font/ssp_semibold_italic.ttf);
    font-weight: 600;
}

@font-face {
    font-family: fontBold;
    src: url(../font/ssp_bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: fontBoldItalic;
    src: url(../font/ssp_bold_italic.ttf);
    font-weight: 700;
}

@font-face {
    font-family: fontBlack;
    src: url(../font/ssp_black.ttf);
    font-weight: 900;
}

html {
    overflow-y: auto;
}

body {
    font-family: fontRegular;
    margin: 0;
}

input {
    border-style: solid;
    border-color: #bbb;
    border-width: 1px;
    border-radius: 5px;
    font-size: var(--fs_default);
    height: 2.5rem;
    text-indent: 1em;
    width: 100%;
}

input.red {
    outline: red solid;
}

/* input.green {
    outline: green solid;
} */

/* Hide placeholder text of phone number input. */
.phoneInput::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white;
    opacity: 0;
}

.phoneInput::-ms-input-placeholder {
    /* Microsoft Edge */
    color: white;
    opacity: 0;
}

p {
    font-size: var(--fs_default);
}

p.welcome {
    font-family: fontSemibold;
    color: var(--light_gray);
    text-align: center;
    margin-bottom: 0px;
}

p.important_info {
    font-family: fontSemibold;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

p.trip_code {
    color: var(--app_red);
    font-size: var(--fs_plus18);
    font-family: fontSemibold;
    margin-bottom: 0;
    margin-top: 20px;
    text-align: center;
}

li {
    margin-top: 10px;
}

ol {
    padding-left: 1em;
}

ol li {
    padding-left: 6px;
    margin-top: 20px;
}

ul {
    list-style-position: inside;
    padding-left: 2px;
}

a:hover {
    background-color: #eeeeee;
}

#placeSearch {
    background-image: url(../res/red_dot.png);
    background-size: 7px;
    background-repeat: no-repeat;
    background-position: .4em;
}

.title {
    font-size: var(--fs_plus6);
    font-family: fontSemibold;
    text-align: center;
}

.title2 {
    font-size: var(--fs_plus6);
    font-family: fontSemibold;
    text-align: center;
    margin-top: 10px;
}

.backArrow {
    height: 20px;
}

.backBtn {
    border: none;
    background-color: transparent;
    margin-left: -10px;
    position: absolute;
}

/* .backBtn:hover {
    background-color: #eeeeee;
} */

.backBtn:active {
    /* Since the background is transparent, going to move the button for a click animation
       instead of changing the brightness. Adding a border moves the button down and to the right. */
    border: 1px solid transparent;
}

.cab_logo {
    height: 30px;
}

.cab_logo_div {
    margin-bottom: 20px;
    margin-top: 30px;
    text-align: center;
}

.bold {
    font-family: fontBold;
}

.italic {
    font-family: fontItalic;
}

.semibold {
    font-family: fontSemibold;
}

.semibold_italic {
    font-family: fontSemiboldItalic;
}

.container {
    /* border: 1px solid; */
    margin: auto;
    padding: 10px;
    width: 320px;
}

.horiz_div {
    background-color: var(--light_gray);
    height: 1px;
    width: 100%;
    margin-top: 24px;
}

.center_text {
    text-align: center;
}

.fs_minus1 {
    font-size: var(--fs_minus1);
}

.hidden {
    display: none;
}

.spinner_overlay {
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 10;
}

.title_center_div {
    font-size: var(--fs_plus6);
    font-family: fontSemibold;
    margin-top: 0px;
    white-space: nowrap;
}

.center_div {
    margin: auto;
    width: -moz-min-content;
    width: -webkit-min-content;
    width: min-content;
}

.center_spinner {
    left: 50%;
    top: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.overlay_text {
    color: white;
    font-size: var(--fs_plus2);
    position: relative;
    top: 50%;
}

.disclaimer {
    font-size: var(--fs_minus3);
    color: var(--light_gray);
    text-align: center;
}

.expire_dt {
    font-size: var(--fs_minus3);
    color: var(--light_gray);
    margin-top: 4px;
    text-align: center;
}

.margin_top {
    margin-top: 16px;
}

.margin_top_60 {
    margin-top: 60px;
}

.margin_top_to_div {
    margin-top: 24px;
}

.red_bg {
    background-color: var(--app_red);
}

.red_text {
    color: var(--app_red);
}

.truncate {
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.loc_block_a {
    color: inherit;
    display: block;
    /* margin-bottom: 4px; */
    padding-left: 0.2em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-decoration: none;
}

.large_dot {
    height: 30px;
    width: 30px;
    display: inline-block;
    border-radius: 50%;
    margin-left: 4px;
    margin-top: 4px;
    text-align: center;
    vertical-align: top;
}

.loc_img {
    height: 22px;
    position: relative;
    top: 4px;
}

.loc_addr_block {
    display: inline-block;
    margin-left: 10px;
    /* position: absolute; */
    width: 260px;
}

.loc_addr {
    margin: 0px;
}

.loc_city {
    color: var(--light_gray);
    font-size: var(--fs_minus2);
    margin: 0px;
}

.submitButton {
    background-color: var(--app_red);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    display: block;
    text-align: center;
    width: 220px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--fs_default);
    font-family: fontSemibold;
}

.submitButton:hover {
    filter: brightness(105%);
}

.submitButton:active {
    filter: brightness(85%);
}

.lbl_for_input {
    font-size: var(--fs_minus5);
    font-family: fontSemibold;
    color: var(--light_gray);
}

.lbl_for_input2 {
    font-size: var(--fs_minus5);
    color: var(--light_gray);
}

.text_input {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 240px;
}

/* Popup container */
.popup {
    position: relative;
    /* display: inline-block; */
    text-align: center;
    /* cursor: pointer; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    border-radius: 6px;
    padding: 8px 8px;
    position: absolute;
    z-index: 1;
    bottom: 5px;
    margin-left: 25%;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bg_charcoal {
    background-color: #474C52;
}

.bg_red {
    background-color: var(--app_red);
}

/* Snackbar */
#snackbar {
    display: none;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 20px;
    width: 100%;
    -webkit-animation: sb_fadein 0.5s, sb_fadeout 0.5s 4.6s;
    animation: sb_fadein 0.5s, sb_fadeout 0.5s 4.6s;
}

#snackbarText {
    min-width: 200px;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: var(--fs_plus2);
    padding: 16px;
    text-align: center;
    z-index: 50;
}

@-webkit-keyframes sb_fadein {
    from {
        top: -80px;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes sb_fadein {
    from {
        top: -80px;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

@-webkit-keyframes sb_fadeout {
    from {
        top: 20px;
        opacity: 1;
    }

    to {
        top: -80px;
        opacity: 0;
    }
}

@keyframes sb_fadeout {
    from {
        top: 20px;
        opacity: 1;
    }

    to {
        top: -80px;
        opacity: 0;
    }
}