section#top_section {
    padding-top: 40px;
    padding-bottom: 40px;
    font-family: 'Avenir',sans-serif;
}

section#bottom_section {
    background: #f3f3f3;
    padding-top: 40px;
    font-family: 'Avenir',sans-serif;
}

.content {
    max-width: 1024px;
    margin: auto;
}

div#headline h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
    color: #8d8d8d;
    text-transform: uppercase;
}

div#headline h2 {
    margin-top: 6px;
    margin-bottom: 0px;
    font-size: 3em;
    font-weight: 900;
}

div#headline h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 1.6em;
}

div#headline h3 span {
    font-weight: 600;
}

div#airplane_graphic {
    height: 380px;
    background-image: url('/web/20220503115733im_/https://cdn.floridapanhandle.com/static/images/airplane.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

div#slider_labels {
    display: flex;
    justify-content: space-between;
}

div#slider_strip_background {
    margin-top: 16px;
    background: #dfdfdf;
    height: 40px;
    border-radius: 30px;
    margin-bottom: 30px;
    /* overflow: hidden; */
}

div#slider {
    /* margin-top: 40px; */
}

div#headline {
    text-align: center;
}

section#top_section {}

div#slider_labels span {
    text-transform: uppercase;
    font-weight: 700;
    color: #9a9a9a;
    font-size: 0.9em;
}

div#chooser_summary_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div#airline_chooser {
    width: 60%;
}

div#money_graphic {
    width: 200px;
    /* background: #dfdfdf; */
    border-radius: 6px;
    width: 14%;
}

div#money_summary {display: flex;/* align-items: center; */flex-direction: column;text-align: right;width: 17%;}

div#money_summary h4 {
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    width: 100%;
    /* flex-grow: unset; */
    font-size: 1.7rem;
}

div#money_summary h2 {
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    width: 100%;
    font-size: 2.5rem;
    margin-top: 0;
    margin-block-start: 0;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.3px;
}

div#chooser_background {
    background: #eeeeee;
    float: left;
    width: 100%;
    border-radius: 25px;
}

div#chooser_background ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-left: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

div#chooser_background ul li {
    float: left;
    width: 25%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #989898;
    cursor: pointer;
}

div#chooser_background ul li.active {
    background: white;
    box-shadow: 1px 1px 12px #dfdfdf;
    border-radius: 40px;
    color: #333;
}

div#chooser_background ul li:hover {
    color: #333;
}

.profit h4 {
    color: green;
}

.loss h4 {
    color: red;
}

div#slider_strip_active {
    height: 100%;
    /* background: green; */
    border-radius: 20px;
    display: flex;
    justify-content: flex-end;
}

div#slider_knob {
    background: white;
    width: 60px;
    height: 60px;
    box-shadow: 1px 1px 11px #0000004d;
    border-radius: 52%;
    margin-top: -10px;
    margin-right: -30px;
}

.loss {
    /* background: darkred; */
}

div#revenue_comparison_headline {
    text-align: center;
    margin-bottom: 50px;
}

div#revenue_comparison_headline h3 {
    font-weight: 400;
    font-size: 1.6em;
}

div#revenue_comparison_headline h3 span {
    font-weight: 700;
}

div#bottom_chart_housing {
    display: flex;
    margin-bottom: 20px;
}

.charts {
    width: 70%;
    display: flex;
    background: white;
    border-radius: 10px 0 0 10px;
}

.breakeven {
    width: 30%;
    background: green;
    border-radius: 0 10px 10px 0;
    color: white;
    padding-left: 30px;
    padding-right: 20px;
    padding-top: 14px;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.breakeven ul {
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    flex-flow: wrap;
}

.breakeven ul li {
    width: 50%;
    margin-bottom: 10px;
}

span.breakeven_label {
    display: block;
}

span.breakeven_number {
    font-size: 1.9rem;
    font-weight: 700;
}

.breakeven p {
    font-size: 0.9em;
    margin-bottom: 30px;
    display: block;
}

div#disclaimer {
    font-size: 0.7em;
    text-align: center;
    margin-bottom: 20px;
}

.chart_horizontal_legend {
    width: 100%;
    height: 64px;
}

.chart_values {
    width: 10%;
    padding-top: 50px;
}

div#revenue_chart {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart_values ul {
    list-style: none;
    padding-block-start: 0;
    padding-inline-start: 0;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.8;
    color: #878787;
}

.chart_horizontal_legend ul {
    list-style: none;
    display: flex;
    padding-inline-start: 0;
    font-size: 0.9rem;
    /* margin-top: 20px; */
    height: 30px;
}

.chart_horizontal_legend ul li {
    width: 25%;
    text-align: center;
    font-weight: 600;
    color: #5a5a5a;
}

div#revenue_chart ul {
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    margin-bottom: 0;
}

div#revenue_chart ul li {
    /* height: 100%; */
    width: 25%;
    text-align: center;
    align-items: center;
    position: relative;
}

div#american_column {
    background: #e21f27;
    background: linear-gradient(45deg, #e21f27, #f73644);
    height: 89%;
    border-radius: 10px 20px 0 0;
    width: 86%;
}

div#delta_column {
    height: 72%;
    background: #dfdfdf;
    border-radius: 10px 20px 0 0;
    width: 86%;
    background: linear-gradient(45deg, #8f2333, #e13b57);
}

div#united_column {
    height: 87%;
    background: #dfdfdf;
    border-radius: 10px 20px 0 0;
    width: 86%;
    background: linear-gradient(45deg, #005eab, #0077c2);
}

div#southwest_column {}

div#southwest_column {
    height: 100%;
    background: #dfdfdf;
    border-radius: 10px 20px 0 0;
    width: 86%;
    background: linear-gradient(45deg, #f6a20c, #f7a90d);
}

ul.chart_columns {
    margin-top: 0;
}

ul.chart_columns li {
    display: flex;
    flex-flow: column-reverse;
}

span.break_even_label {font-size: 0.7em;text-transform: uppercase;font-weight: 600;border-bottom: 1px solid #737373;color: #4e4e4e;display: block;/* top: 10%; *//* position: absolute; */}

div#american_column {
    /* width: 100%; */
}

div#american_break_even {
/*     top: 65%; */
    position: absolute;
    right: 8%;
    left: 8%;
}

div#delta_break_even {
/*     top: 44%; */
    position: absolute;
    right: 8%;
    left: 8%;
}

div#united_break_even {
    /* top: 30%; */
    position: absolute;
    right: 8%;
    left: 8%;
}

div#southwest_break_even {
/*     top: 50%; */
    position: absolute;
    right: 8%;
    left: 8%;
}

div#money_graphic img {
    max-width: 100%;
    width: 148px;
}

section#bottom_section img {
    text-align: center;
    width: 737px;
    margin-bottom: -6px;
}

body {
    margin: 0;
}

div#footer_plane {
    text-align: center;
}

div#plain_seating_chart_base {
    /* background: #333; */
    height: 93px;
    width: 69%;
    /* margin: auto; */
    margin-left: 20%;
    /* margin-right: 12%; */
    box-sizing: border-box;
    position: absolute;
    z-index: 5;
    top: 38.5%;
    background-image: url('/web/20220503115733im_/https://cdn.floridapanhandle.com/static/images/seat_area.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: content-box;
}

ul#seats {
    list-style: none;
    /* display: flex; */
    /* flex-flow: column; */
    padding-inline-start: 0;
    margin-block-start: 0;
    /* display: grid; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(3,auto);
    grid-gap: 1px;
    /* grid-area: 2/1/3/2; */
    grid-template-columns: 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5%;
    grid-template-rows: 14% 14% 14% 7% 14% 14% 14%;
    /* grid-column: 1 / 2; */
    /* grid-row: 2 / 3; */
    margin-top: 11px;
    margin-left: 16%;
    height: 78%;
    grid-auto-flow: column;
    width: 79%;
}

ul#seats li.taken {
    background: #333;
}

ul#seats li {
    background: #00000038;
    /* width: 21px; */
    /* height: 12px; */
    /* grid-area: 2/1/3/2; */
}

ul#seats li.isle {
    background: none;
}



ul#seats li.empty_column {
    background: none !important;
}


.noUi-connect {
    background: darkred;
}

.noUi-connects {
    border-radius: 56px;
}

div#slider_area {}

.noUi-target {
    background: #dfdfdf;
    box-shadow: none;
    border: none;
    border-radius: 27px;
    margin-top: 16px;
    background: #dfdfdf;
    height: 40px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.noUi-horizontal {
    height: 40px;
}

.noUi-horizontal .noUi-handle {
    height: 50px;
    background: white;
    width: 60px;
    height: 60px;
    box-shadow: 1px 1px 11px #0000001c;
    border-radius: 52%;
    margin-top: -4px;
    margin-right: -4px;
    outline: none;
    border: none;
    right: -30px;
}

.noUi-handle:after, .noUi-handle:before {
    content: "";
    display: block;
    position: absolute;
    height: 38px;
    width: 2px;
    background: #E8E7E6;
    left: 12px;
    top: 11px;
}

.noUi-handle:after {
    left: 25px;
}

.noUi-handle:before {
    left: 30px;
}

div#money_summary h4.loss {
    color: darkred;
}

div#money_graphic img.loss {
    filter: hue-rotate(263deg);
}

.noUi-connect.profit {
    background: green;
}

div#headline h2.american {
    color: #eb2933;
}

div#headline h2.delta {
    color: #bc3047;
}

div#headline h2.united {
    color: #006cb8;
}

div#headline h2.southwest {
    color: #f6a30c;
}

.american_seats li.taken {
    background: #d31515 !important;
}

.southwest_seats li.taken {
    background: #e89300 !important;
}

.united_seats li.taken {
    background: #003ec5 !important;
}

.delta_seats li.taken {background: rgb(188, 48, 71) !important;}

.make_it_white {}

.make_it_white span.break_even_label {
    color: white;
    border-color: white;
}

div#assumptions {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

div#assumptions p {
    font-size: 0.8em;
}

div#assumptions h5 {
    text-transform: uppercase;
    margin-top: 0;
    color: #989898;
    margin-bottom: 0;
}

.loss img.profit_img {
    display: none;
}

.profit img.loss_img {
    display: none;
}


@media only screen and (max-width: 760px) {

    div#headline h5 {
        font-size: 0.8em;
    }
    
    div#headline h2 {
        font-size: 2em;
    }
    
    div#headline h3 {
        font-size: 1.1em;
    }
    
    div#airplane_graphic {
        height: 176px;
    }
    
    div#slider_labels span {
        font-size: 0.7em;
    }
    
    div#slider {
        padding-left: 6%;
        padding-right: 9%;
    }
    
    .noUi-horizontal {
        height: 20px;
    }
    
    .noUi-horizontal .noUi-handle {
        height: 40px;
        width: 40px;
        right: -20px;
    }
    
    .noUi-handle:before {
        left: 15px;
        height: 18px;
    }
    
    .noUi-handle:after {
        height: 18px;
    }
    
    div#chooser_summary_row {
        /* flex-direction: column-reverse; */
        display: block;
        padding-left: 7%;
        padding-right: 7%;
        padding-top: 60px;
    }
    
    div#airline_chooser {
        width: 100%;
        /* margin-bottom: -100px; */
        margin-top: 40px;
        margin-bottom: 69px;
        position: relative;
        z-index: 3;
    }
    
    div#money_graphic {
        width: 30%;
        float: left;
        padding-top: 9px;
        margin-top: -137px;
        padding-left: 7px;
    }
    
    div#money_summary {
        width: 50%;
        float: right;
        margin-top: -140px;
        padding-right: 11px;
    }
    
    div#chooser_background ul li {
        font-size: 0.8em;
        font-weight: 500;
    }
    
    div#chooser_background ul {
        padding-right: 2px;
    }
    
    div#money_summary h2 {
        font-size: 2em;
    }
    
    div#money_summary h4 {
        font-size: 1.3rem;
    }
    
    div#revenue_comparison_headline h3 {
        padding-left: 10%;
        padding-right: 10%;
    }
    
    div#bottom_chart_housing {flex-direction: column;margin-bottom: 0;}
    
    .charts {
        width: 100%;
    }
    
    .breakeven {
        width: 100%;
        border-radius: 0;
        text-align: center;
        padding-right: 30px;
    }
    
    div#assumptions {}
    
    div#disclaimer {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    div#footer_plane {
        text-align: center;
    }
    
    section#bottom_section img {
        width: 100%;
    }

    div#plain_seating_chart_base {
        /* background: #333; */
        height: 40px;
        width: 69%;
        /* margin: auto; */
        margin-left: 20%;
        /* margin-right: 12%; */
        box-sizing: border-box;
        position: absolute;
        z-index: 5;
        top: 38.5%;
        background-image: url(/web/20220503115733im_/https://cdn.floridapanhandle.com/static/images/seat_area.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        box-sizing: content-box;
    }

    ul#seats {
        list-style: none;
        /* display: flex; */
        /* flex-flow: column; */
        padding-inline-start: 0;
        margin-block-start: 0;
        /* display: grid; */
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: repeat(3,auto);
        grid-gap: 1px;
        /* grid-area: 2/1/3/2; */
        grid-template-columns: 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5% 2.5%;
        grid-template-rows: 14% 14% 14% 7% 14% 14% 14%;
        /* grid-column: 1 / 2; */
        /* grid-row: 2 / 3; */
        margin-top: 7px;
        margin-left: 10%;
        height: 57%;
        grid-auto-flow: column;
        width: 75%;
    }
}