body {
    font-family: sans-serif;
    -webkit-overflow-scrolling: touch;
}

a {
    color: inherit;
    text-decoration: inherit;
}

.error-message {
    color: red;
    font-weight: bold;
}

.payment-error {
    color: red;
    font-weight: bold;
}

.payment-message {
    font-weight: bold;
}

.buy-option {
    border: solid 1px;
    margin: 0.2em;
    padding: 0.2em;
    box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.2);
}

.card {
    border: solid 1px rgba(0,0,0,0.1);
    margin: 0.5em;
    padding: 0.5em;
    max-width: 400px;
}
    .card h1 {
        color: black;
    }

    .card:hover h1 {
        color: #ff8316;
    }

.home-link h1 {
    color: black
}
    .home-link:hover {
        cursor: pointer;
    }

    .home-link:hover h1 {
        color: #ff8316;
    }

h1 {
    color: #ff8316;
    font-weight: bold;
}

h3 {
    color: #ff8316;
    font-weight: bold;
}

h4 {
    font-variant: all-small-caps;
    color: #ff8316;
}

h5 {
    margin: 1em 0 0.5em;
    font-weight: bold;
}

strong {
    font-weight: bolder;
    font-size: larger;
}

small {
    font-size: smaller;
}

.details-grid, .details-grid tr, .details-grid td {
    border: solid 1px rgba(0,0,0,0.3);
}

.details-grid td {
    font-size: smaller;
}

.value-uncertain {
    color: lightgray;
    font-weight: normal;
}

    .value-uncertain:before {
        content: "(Possibly ";
    }
    .value-uncertain:after {
        content: " - Checking...)";
    }

sub, sup {
    /* Specified in % so that the sup/sup is the
        right size relative to the surrounding text */
    font-size: 75%;
    
    /* Zero out the line-height so that it doesn't
        interfere with the positioning that follows */
    line-height: 0;
    
    /* Where the magic happens: makes all browsers position
        the sup/sup properly, relative to the surrounding text */
    position: relative;
    
    /* Note that if you're using Eric Meyer's reset.css, this
        is already set and you can remove this rule */
    vertical-align: baseline;
    }
    
    sup {
    /* Move the superscripted text up */
    top: -0.5em;
    }
    
    sub {
    /* Move the subscripted text down, but only
        half as far down as the superscript moved up */
    bottom: -0.25em;
    }
/*
Components.
*/

.bold-button {
    color: black;
    border-radius: 3px;
    cursor: pointer;
    background-image: linear-gradient(180deg,#fee6b0 0,#eeba37);
    font-weight: bold;
    padding: 0.5em;
    white-space: nowrap;
}
    .bold-button a {
        margin: 0.5em;
        margin-top: 1em;
    }
    .bold-button:hover {
        background-image: linear-gradient(180deg,#fede97 0,#c59314);
    }
    .bold-button:active {
        border-color: #9b7924 #a68226 #a68226;
        background-color: #eeba37;
        background-image: none;
        box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    }
    .bold-button:disabled {
        color: gray;
    }

.menu-link {
    color: white;
    padding: 0.5em;
    cursor: pointer;
}
    .menu-link:hover, .menu-link-selected {
        color: #ff8316;
    }

.link {
    color: blue;
}

acronym {
	font-style: italic;
	text-decoration: none;
}

i {
    font-style: italic;
}

q {
    margin: 0.5em;
}
    q::before {
        content: "\"";
    }
    q::after {
        content: "\"";
    }

.no-access {
    font-size: small;
    color: #ca7902;
}

.paypal-container {
    border-top: solid 1px rgba(0,0,0,0.3);
}

.documentation h3 {
    margin: 1em 0;
}

.documentation li {
    border-bottom: 1px solid #ccc;
    padding-left: 1em;
}

.documentation ol, .documentation ul {
    list-style-type: none;
    display: inline-block;
    margin-left: 0.5em;
    padding: 0.5em;
}

.documentation-toc li {
    border-bottom: inherit;
    padding: 0.2em;
    white-space: nowrap;
}
    .documentation-toc li:hover {
        color: #ff8316;
    }

.documentation-toc ul {
    border-bottom: inherit;
    padding-left: inherit;
    display: inherit;
    margin-left: inherit;
    padding: 1em;
}

.documentation-toc .main-title h2 {
    padding: 0.5em;
}

.documentation table {
    margin: 0.5em;
}

.documentation tr:nth-child(even) {
    background-color: #f2f2f2
}

.documentation th, .documentation td {
    padding: 0.5em;
}

.documentation table .portfolio-name, .documentation table .model-name {
    color: #ff8316;
}

.documentation table .qty {
    text-align: right;
}

.documentation tr {
    border-left: 1px solid #ccc;
}

.documentation .rule-name, .documentation .position-name, .documentation .portfolio-name, .documentation .model-name, .documentation .qty, .documentation .match, .documentation .operator, .documentation th {
    border-right: 1px solid #ccc;
}

.documentation thead tr {
    background: linear-gradient(#03436d,#000000);
    color: white;
}

.documentation tr:last-of-type {
    border-bottom: 1px solid #ccc;
}

.json-snippet {
    background: #3a3a3a;
    color: white;
    padding: 0.5em;
    margin: 0.5em 0 0.5em 0;
    line-height: 1.3em;
}

.json-value-comment {
    color: #019e01;
}

.json-field-name {
    color: #ffa700;
}

.json-value-string {
    color: #e27413;
}

.json-value-number {
    color: #e6dfc5;
}

.json-value-bool {
    color: #8080ff;
}

textarea.code {
    width: 100%;
}

.console-main-response-status {
    margin: 0.5em;
}

/*
Sections on the screen.
*/

.logo {
    margin: 0.5em;
}

.logging-in {
    color: rgb(255,255,255,0.7);
    font-style: italic;
    font-size: small;
}

.error-panel
{
    background: linear-gradient(red, #ff5f5f);
    padding: 0.8em;
    color: white;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
}

.account-name {
    font-size: xx-small;
    padding-top: 2px;
}

.carousel-panel {
    background-image: url("/img/pexels-photo-604684.jpeg");
    background-repeat: no-repeat;
    background-position: right;
}

.carousel-canvas {
    color: white;
    line-height: 1.4em;
    background-color: rgba(0,0,0,0.3);
    min-height: 12em;
}

.carousel-canvas h3 {
    margin: 0.5em 0;
    font-size: larger;
}

.main-header {
    background: linear-gradient(#03436d,#000000);
    font-weight: bold;
}

.main-nav {
    padding: 3px
}

.main-title {
    font-weight: bold;
    font-size: 2em;
    color: #046cb0;
    text-align: center;
    margin: 0.2em;
}

.main-content {
    padding: 5px;
}
    .main-content p {
        padding: 0.3em;
        line-height: 1.3em;
    }

.api-status {
    background-color: rgba(255, 131, 22, 0.8);
    color:black;
    padding: 0.5em;
}

.content-boxed-container {
    border: solid 1px rgba(0,0,0,0.3);
    padding: 2px;
    box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.2);
    margin: 2px;
}
    .content-boxed-container fieldset {
        padding: 1em;
    }
    .content-boxed-container input {
        margin: 0.3em;
    }

.contact-us-result {
    margin: 1em 0;
}

.main-container>footer {
    padding: 1px;
}
    .main-container>footer img {
        margin: 0 3px;
    }

.console-container h4 {
    margin: 3px;
}

.console-main-nothing-selected-message {
    font-size: larger;
    font-style: italic;
    text-align: center;
    margin: 5em;
    color: white;
}

.console-new-request-container button {
    align-self: left;
}

.console-request-item {
    margin-top: 5px;
    margin-left: 5px;
    color: white;
    cursor: pointer;
    padding: 0.5em;
}

.console-request-item:hover {
    color: #ff8316;
}

.console-request-item-selected {
    color: #ff8316;
    background: #03436d;
}

.console-main {
    margin-top: 2px;
    margin-right: 2px;
    padding-left: 3px; 
    background: #03436d;
}
    .console-main h3 {
        margin: 0.5em;
    }

.console-main-header-buttons button {
    margin: 3px;
}

.footer-contact-us {
    margin: 0 1em;
    display: flex;
    align-items: center
}

.footer-terms {
    margin: 0 1em;
    display: flex;
    align-items: center
}

.main-footer-content-copyright {
    font-size: xx-small;
    margin-left: 1em;
}

.console-main-code-tab {
    padding: 0.5em;
    cursor: pointer;
}

.console-main-code-selected {
    background: white;
}

.console-main-response-code td {
    padding: 0.5em;
}

.console-main-response-code td:nth-child(1) {
    color: #ff8316;
}

.under-construction {
    margin-top: 1em;
}

.under-construction-container h1 {
    font-size: 2em;
    text-align: center;
    margin: 0.3em;
}

@media screen and (max-width: 1200px) {
    .carousel-canvas {
        background-color: rgba(0,0,0,0.8);
        min-height: 10em;
        line-height: 1.2em;
    }
}