﻿main {
    background-color: #f3f3f3;
}

/* color variables */
:root {
    --light-gray: #dddddd;
    --letter-gray: #777777;
    --background-blue: #eff2f5;
    --powder-blue: #cce6ff;
    --medium-blue: #04b9fe;
    --slate-blue: #87a5c5;
    --dark-blue: #1d262f;
    --market-blue: #1f3b51;
    --light-red: #ffcccc;
    --dark-red: #800000;
    --buy-block: #69a953;
    --short-block: #9069c3;
    --sell-block: #b15042;
    --cover-block: #6991c3;
    --medium-green: #058e05;
}

.hero .hero-icon {
    top: 31px;
}
    .hero a {
        color: lightblue;
    }
    .hero a:hover {
        color: white;
    }

.hero .hero-buttons button.active,
.hero .hero-buttons button.active:hover {
    background-color: #2d9cf1;
    color: #FFF;
    cursor: default;
}

.hero-purple {
    background: -webkit-linear-gradient(#1f1f70, #4017ba); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#1f1f70, #4017ba); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#1f1f70, #4017ba); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#1f1f70, #4017ba); /* Standard syntax */
}

.strategyList {
    padding: 10px 0 40px 0;
}

table {
    width: 100%;
    border-spacing: 1px;
    border-collapse: separate;
    background-color: #f0f0f0;
}
    table tr th {
        background-color: #FFF;
        padding: 15px 11px;
        font-family: 'Poppins';
        font-weight: 500;
        color: #217abd;
    }
    table tr td {
        background-color: #FFF;
        padding: 8px 11px;
        font-family: 'Poppins';
        font-weight: 400;
        font-size: 15px;
    }

    table tr td a {
        color: #000;
    }
        table tr td button {
            border: 0;
            background: #217abd;
            border-radius: 4px;
            color: #ffffff;
            font-size: 13px;
            font-weight: 500;
            line-height: 24px;
            padding: 0 14px;
            outline: none;
        }
            table tr td button:hover {
                background: #30a7ff;
            }
            table tr td button.details {
                background: #728a9d;
                margin-left: 7px;
                font-weight: 400;
            }
                table tr button.details a {
                    color: white;
                }
            table tr td button.run {
                background-color: forestgreen;
            }
                table tr td button.run a {
                    color: white;
                }
                table tr td button.screen {
                    background-color: #00cc66;
                }
                table tr td button.screen a {
                    color: white;
                }
            table tr td button.delete {
                background-color: darkred;
            }
                table tr td button.delete a {
                    color: white;
                }
            table tr td button.open a {
                color: white;
            }

h1 {
    font-size: 30px;
    font-weight: 400;
    color: #40464a;
    line-height: 34px;
    margin-top: 40px;
}

.submit-button {
    border: 0;
    background: #217abd;
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 24px;
    padding: 0 14px;
    outline: none;
}
    .submit-button a {
        color: white;
    }
    .submit-button svg {
        color: white;
        margin-right: 8px;
    }

.cancel-button {
    border: 0;
    background-color: darkred;
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 24px;
    padding: 0 14px;
    outline: none;
}

.run-button {
    border: 0;
    background-color: forestgreen;
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 24px;
    padding: 0 14px;
    outline: none;
}
    .run-button a {
        color: white;
    }
    .run-button a:hover {
        color: white;
    }

.strategy-name {
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle;
    margin-right: 24px;
}

/* track slide up down state */
.slid-down {
}

/* Building Block related */
.bordered-box {
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    padding: 8px;
    background-color: white;
}

.block-category {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
}
.block-category:hover {
    color: var(--medium-blue);
}

.building-block {
    padding: 4px;
    margin: 2px;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--light-gray);
    background-color: white;
    padding-left: 12px;
}

.buy-block {
    background-color: var(--buy-block);
    border-color: var(--buy-block);
    color: white;
}

.sell-block {
    background-color: var(--sell-block);
    border-color: var(--sell-block);
    color: white;
}

.short-block {
    background-color: var(--short-block);
    border-color: var(--short-block);
    color: white;
}

.cover-block {
    background-color: var(--cover-block);
    border-color: var(--cover-block);
    color: white;
}

.condition-block {
    margin-left: 24px;
    background-color: var(--background-blue);
    border-color: var(--letter-gray);
}

.qualifier-block {
    margin-left: 24px;
    border-color: var(--letter-gray);
    margin-top: -2px;
}

.pointer {
    cursor: pointer;
}

.block-icon {
    display: inline-block;
    margin-right: 8px;
}

.block-canvas-text {
    margin-bottom: 12px;
}

.block-canvas {
    min-height: 300px;
}

.sub-heading {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
}

.block-title-icon {
    font-weight: 900;
    cursor: pointer;
    display: inline-block;
    float: right;
    font-size: 20px;
}

.block-parameter-box {
    border: 2px solid var(--letter-gray);
    background-color: var(--background-blue);
    color: var(--letter-gray);
    border-radius: 2px;
    padding: 4px;
    margin-top: 8px;
}

.block-parameter {
    min-width: 300px;
    border: 1px solid var(--light-gray);
    background-color: white;
    border-radius: 2px;
    padding: 4px;
    margin: 2px;
    display: inline-block;
}

.block-parameter-label {
    display: inline-block;
    font-weight: bold;
    width: 140px;
}

.block-parameter-input {
    display: inline-block;
    width: 200px;
    margin-left: 12px;
    color: var(--medium-blue);
}

.block-parameter-indicator {
    text-decoration: underline;
    cursor: pointer;
}

.indicator-tile {
    border: 1px solid var(--light-gray);
    margin-right: 4px;
    margin-bottom: 4px;
    padding: 4px;
    width: 160px;
    display: inline-block;
    background-color: white;
    cursor: pointer;
}

    .indicator-tile:hover {
        background-color: var(--medium-blue);
        color: white;
        border-color: var(--dark-blue);
    }

.indicator-title {
    color: black;
}

.indicator-small {
    font-size: 12px;
}

.indicator-container {
    overflow-y: scroll;
    height: 400px;
}

.indicator-selected {
    font-weight: bold;
    border: 2px solid var(--dark-blue);
}

.div-anchor {
    color: var(--medium-blue);
    text-decoration: underline;
    cursor: pointer;
    margin-right: 8px;
}

.redText {
    color: red;
}
.greenText {
    color: green;
}

.position-header {
    padding: 4px;
    background-color: var(--background-blue);
    color: black;
}

.position-cell {
    padding: 4px;
}

.long-position {
    color: var(--buy-block);
    font-weight: bold;
}

.short-position {
    color: var(--short-block);
    font-weight: bold;
}

.long-position-exit {
    color: var(--sell-block);
    font-weight: bold;
}

.short-position-exit {
    color: var(--cover-block);
    font-weight: bold;
}

.center {
    text-align: center;
}

.max-width-input {
    width: calc(100% - 12px);
    max-width: 100%;
    padding: 6px;
    margin: 6px;
}

.ind-library {
    margin: 4px 8px;
    padding: 2px 8px;
    border-color: black;
    border-width: 1px;
    display: inline-block;
    border-style: solid;
    margin-right: 0px;
}

.ind-tile-T {
    background-color: #e0e4eb;
}
.ind-tile-f {
    background-color: #d6c2c2;
}

.screener {
    background-color: #00cc66;
}

@media (max-width: 767.98px) {
}

@media (max-width: 991.98px) {
    table tr td button {
        width: 100%;
    }

        table tr td button.details {
            margin-top: 5px;
            margin-left: 0;
        }
}