@media screen and (min-width: 1001px) {
    .f-container {
        flex-flow: row;
    }

    .main {
        order: 2;
    }

    .about {
        order: 1;
    }

    .common {
        order: 3;
    }
}

@media screen and (max-width: 1000px) {
    .f-container {
        flex-flow: column;
    }

    .container {
        max-width: 575px;
    }

    .main {
        order: 1;
        margin-left: auto;
        margin-right: auto;
    }

    .about {
        order: 2;
        margin-left: auto;
        margin-right: auto;
    }

    .common {
        order: 3;
        margin-left: auto;
        margin-right: auto;
    }

    .skyscraper-ad {
        display: none;
    }
}

@media screen and (min-width: 426px) {
    #settings-tab::after {
        content: 'Settings';
    }
}

@media screen and (max-width: 425px) {
    #settings-tab::after {
        font-family: FontAwesome;
        content: "\f013";
    }
}

.main {
    flex-basis: auto;
    flex-shrink: 1;
    flex-grow: 1;
    max-width: 575px;
    width: 100%;
}

.banner-ad {
    width: 468px;
    height: 60px;
    background-color: red;
}

.skyscraper-ad {
    width: 160px;
    height: 600px;
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 0;
}

.left-ad {
    order: 1;
    margin-right: .5rem;
}

.right-ad {
    order: 3;
    margin-left: .5rem;
    background-color: red;
}

.about {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.99) !important;
    color: black;
    flex: 4;
    max-width: 575px;
}

.common {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.99) !important;
    color: black;
    flex: 4;
    max-width: 575px;
}

.container {
    width: 100%;
    min-width: 400px;
}

.required {
    background-color: white !important;
    border-color: #ccc !important;
}

h1 {
    font-size: 24px;
}

.jumbotron {
    margin-bottom: 2rem;
    border-radius: .3rem;

    padding: 16px 16px 4px 16px !important;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
}

.subtitle {
    font-family: 'Acme', sans-serif;
    font-size: 15pt;
    margin-top: -35px;
}

body {
    color: white;
    background-color: black;
}

.padding-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

h1 {
    font-family: 'Acme', sans-serif;
    font-size: 400%;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgb(50, 50, 50);
    background-color: rgba(50, 50, 50, 0.7);
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: rgb(150, 150, 150);
    background-color: rgba(150, 150, 150, 0.5);
}

th, td {
    padding: 3px 5px;
}

th:first-child, td:first-child {
    padding-left: 15px !important;
}

th:last-child, td:last-child {
    padding-right: 10px !important;
}

th {
    vertical-align: bottom;
    background-color: rgba(150, 150, 150, 0.7);
}

.card {
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
}

select:invalid {
    color: gray;
}

.flourish {
    overflow: hidden;
    text-align: center;
    width: inherit;
    color: #007bff;
}

/*
.flourish:before,
.flourish:after {
    !*background-color: #007bff;;*!
    background-color: white;
    content: " ";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 26%;
}

.flourish:before {
    right: 0.5em;
}

.flourish:after {
    left: 0.5em;
}

a:link span.flourish {
    color: white;
    text-decoration: none;
}

a:visited span.flourish {
    color: white;
    text-decoration: none;
}

a:hover span.flourish {
    color: white;
    text-decoration: none;
}

a:active span.flourish {
    color: white;
    text-decoration: none;
}
*/

.nav > li > a {
    padding-top: 0;
    padding-bottom: 0;
}

input:invalid {
    border-color: red;
    background-color: mistyrose;
}

input,
input:valid {
    border-color: #ccc;
    background-color: white;
}

.footer {
    font-size: 10pt;
    position: relative;
    max-width: 730px;
    margin: auto;
}

.alert {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
}

p a:link {
    color: #007bff;
}

p a:visited {
    color: #007bff;
}

p a:hover {
    color: #007bff;
}

p a:active {
    color: #007bff;
}

.footer a:link {
    color: white;
}

.footer a:visited {
    color: white;
}

.footer a:hover {
    color: white;
}

.footer a:active {
    color: white;
}

.number_summary {
    cursor: pointer;
    text-decoration: underline;
}

.numer_about h4, h5 {
    text-shadow: 1px 1px 20px #fff, 1px 1px 15px #ccc;
}

.numer_about p {
    margin-left: 1em;
    margin-right: 1em;
}

.example {
    /*display: none;*/
    color: #009fff !important;
}

code {
    color: gray;
    font-size: x-small;
}

code .header {
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#summaryCalculation {
    margin-bottom: 0.25rem;
}

.alert-info .alert-heading {
    margin-bottom: 0.4rem;
}

.breakdown {
    float: left;
    /*font-family: monospace;*/
    line-height: 1.2rem;
}

.breakdown:last-child {
    float: none;
}

.breakdown td {
    text-align: center;
    padding: 0 3px;
    width: 0.75em;
    overflow: hidden;
}

.breakdown td:first-child {
    padding-left: 0 !important;
}

.breakdown td:last-child {
    padding-right: 15px !important;
}

.breakdown .breakdown_value {
    font-size: smaller;
    font-weight: bolder;
}

.calculation {
    clear: both;
    font-size: smaller;
}

.calculation .reduced_value {
    font-weight: bold;
    font-size: larger;
}

.calculation td {
    padding: 0 !important;
}

.bcolor0 {
    color: #007BFF;
}

.bcolor1 {
    color: #ED3E00;
}

.bcolor2 {
    color: #009D58;
}

.bcolor3 {
    color: #8F5FD7;
}

.bcolor4 {
    color: #CF5F00;
}

#summaryCalculation .calculation {
    padding-top: 5px;
}

a {
    text-decoration: none;
}