﻿@mainBlue: #0083A9;
@lightBlue: #4DA8C3;
@hoveredLink: #003F72;
@greyText: #4D4F53;
@selectedGrey: #7C7C7C;
@standardGrey: #C9CAC8;
@lightGrey: #EDEDED;
@red: #E11B22;

#planInfoHover {
    cursor: pointer;
}

#IMInfoHover {
    cursor: pointer;
}

#peertracker-navbar {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.dashed {
    stroke-dasharray: 5, 5;
}

#currentPercentileGraph .nv-lineChart circle.nv-point {
    fill-opacity: 1;
    stroke-opacity: 1;
}

td.head-nav {
    padding: 5px;
}

.nv-background {
    fill: #FFF;
    opacity: 1;
}

.head-nav {
    border-bottom: 3px solid @standardGrey;
    border-right: none;
    vertical-align: bottom;

    .active a {
        color: @red;
    }

    a {
        color: @greyText;

        &:hover {
            color: @red;
            text-decoration: none;
        }

        .active {
            color: @red;
        }
    }

    &:hover {
        border-bottom: 3px solid @selectedGrey;
    }

    width: 10%;

    .nav-wide {
        width: 40%;
    }
}

td.hover-item {
    padding: 5px;
}

.hover-item {
    border-bottom: 3px solid @standardGrey;
    border-right: none;
    vertical-align: bottom;

    .active a {
        color: @red;
    }

    a {
        color: @greyText;

        &:hover {
            color: blue;
            text-decoration: none;
        }

        .active {
            color: blue;
        }
    }

    &:hover {
        border-bottom: 3px solid @selectedGrey;
    }

    width: 10%;

    .nav-wide {
        width: 40%;
    }
}

.centerText {
    text-align: center;
}

a.active {
    color: @red;
}

.no-data {
    border-bottom: 3px solid @standardGrey;

    &:hover {
        border-bottom: 3px solid @standardGrey;
    }
}

.full-width {
    width: 100%;
}

.peertracker-text {
    color: @mainBlue;
    font-size: 32px;
    font-style: italic;
}

.tooltipHover {
    cursor: pointer;
}

.tooltipWidth {
    cursor: pointer;
    max-width: 50vw;
}


.center {
    text-align: center;
}

.plan-summary {
    font-size: 24px;
    text-align: center;
    margin-top: 15px;

    .summary-box {
        border: 2px solid @lightBlue;
        border-radius: 2px;
        font-size: 26px;
    }

    .small {
        font-size: 12px;
    }
}

.peerTable {
    font-size: 14px;
    border: 1px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    float: left;
    //padding: 10px;
    text-align: left;
    border-collapse: separate;

    tr:nth-child(even) {
        background-color: lighten(@lightBlue, 40%);
    }

    tr {
        border: 1px solid @lightGrey;
    }

    th {
        background-color: @lightBlue;
        padding: 5px;
        color: white;
        border: none;
    }

    th:nth-child(2) {
        width: 20%;
    }

    td {
        padding: 5px;
    }

    .align-right {
        text-align: right;
    }
}

.paySchedule {
    text-align: right;

    thead {
        tr {
            th:first-child {
                width: 1%;
            }

            th {
                text-align: right;
            }
        }
    }
}

.payScheduleCenter {
    text-align: center;

    thead {
        tr {
            th:first-child {
                width: 1%;
            }

            th {
                text-align: center;
            }
        }
    }
}


.payScheduleNoAlign {

    thead {
        tr {
            th:first-child {
                width: 1%;
            }
        }
    }
}

.payScheduleRank {
    text-align: right;

    thead {
        tr {
            th:first-child {
                width: 15%;
            }

            th {
                text-align: center;
            }
        }
    }

    tbody {
        tr {
            td {
                text-align: center;
            }
        }
    }
}

.oerlSummaryTable {
    width: 100%;
    overflow: hidden;
    font-size: 14px;
    border-radius: 5px;
    text-align: left;
    /*margin-bottom: 20px;*/
    thead {
        th {
            background-color: #eb0000;
            color: white;
            font-weight: bold;
            padding: 10px;
        }
    }

    tbody {
        tr {
            border: 1px solid #e5e5e5;

            td {
                padding: 10px;
            }

            td:first-child {
                font-weight: bold;
            }

            td:last-child {
                border-right: 2px solid #e5e5e5;
            }
        }
    }

    .gray td {
        background-color: #8f8f8f;
        color: white;
    }
}

#oerlBox {
    margin-top: 2%
}

.oerlFormula {
    div {
        width: 100%;
        text-align: center;
    }
}

.oerlDetailsTable {
    border: 1px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    overflow: hidden;
    margin: 10px;
    float: left;
    padding: 10px;


    tr:nth-child(even) {
        background-color: @lightGrey;
    }

    thead {
        tr:first-child {
            text-align: center !important;
        }

        th {
            background-color: #eb0000;
            border: none;
        }
    }

    tr {
        border: 1px solid @lightGrey;
    }

    th {
        background-color: @lightGrey;
        padding: 5px;
        color: white;
        border: solid @lightGrey;
    }

    .floatLeft {
        text-align: left !important;
    }

    .gray td {
        background-color: #8f8f8f;
        color: white;
    }

    th:nth-child(2) {
        width: 20%;
    }

    td {
        padding: 5px;
    }

    .align-right {
        text-align: right;
    }

    tbody {
        tr td:first-child {
            font-weight: bold;
        }
    }
}

.detailsTable {
    border: 1px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    overflow: hidden;
    margin: 10px;
    float: left;
    padding: 10px;


    tr:nth-child(even) {
        background-color: lighten(@lightBlue, 40%);
    }


    tr {
        border: 1px solid @lightGrey;
    }




    th {
        background-color: @lightBlue;
        padding: 5px;
        color: white;
        border: solid @lightBlue;
    }



    th:nth-child(2) {
        width: 20%;
    }

    td {
        padding: 5px;
    }



    .align-right {
        text-align: right;
    }
}

.ANDEdetailsTable {
    border: 1px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    overflow: hidden;
    margin: 10px;
    float: left;
    padding: 10px;


    tr:nth-child(even) {
        background-color: lighten(@lightBlue, 40%);
    }


    tr {
        border: 1px solid @lightGrey;
    }




    th {
        background-color: @lightBlue;
        padding: 5px;
        color: white;
        border: solid @lightBlue;
    }



    th:nth-child(1) {
        text-align: left
    }

    td {
        padding: 5px;
    }
}

.ENDPdetailsTable {
    border: 1px solid @lightGrey;
    border-right: 1px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    margin: 10px;
    float: left;
    padding: 10px;
    text-align: center;



    tr {
        border: 1px solid @lightGrey;
    }




    th {
        background-color: #FEB417;
        padding: 5px;
        color: white;
        border: solid #FEB417;
        width: 40%;
        text-align: center;
    }

    td {
        padding: 5px;
        border-right: 1px solid @lightGrey;
    }
}


.AppleDetailsTable {
    border: 4px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    margin-top: 10px;
    float: left;
    padding: 10px;

    thead:nth-child(1) {
        tr:nth-child(1) {
            th {
                background-color: grey;
                border-color: grey
            }
        }
    }

    th {
        background-color: @lightBlue;
        padding: 5px;
        color: white;
        border: solid @lightBlue;
        /*font-family: lato;*/
    }

    th:nth-child(1) {
        text-align: left
    }

    td {
        padding: 6px;
        white-space: nowrap;
        /*font-family: lato;*/
    }
}


.outperformanceTable {
    width: 80%;
    display: inline-table;
    float: none;
}

.centeredTableWrapper {
    text-align: center;
    margin-right: 8%;
}

#barChart, #tsrHistoryChart {
    display: block;
    float: left;
    padding: 50px;
}

footer {
    float: left;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.nv-chart {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid @standardGrey; //workaround so title looks like it's a part of the rendered graph
    border-top: none;
}

.graphTitle {
    width: 1000px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    font-size: 20px;
    margin-top: 25px;
    border: 1px solid @standardGrey; //workaround so title looks like it's a part of the rendered graph
    border-bottom: none;
}

.header-box {
    width: 100%;
    float: left;

    .client-logo {
        max-height: 150px;
        max-width: 200px;
        margin-top: 20px;
        float: right;
    }

    .header-label {
        float: left;
        width: 50%;
        font-size: 26px;
        margin-top: 20px;
    }
}

.dashed {
    stroke-dasharray: 5, 5;
}

.file-button {
    border: 1px solid #C9CAC8;
    padding: 10px;
    width: 25%;
    color: white;
    margin-right: 15px;
    border-radius: 5px;
    font-weight: bold;

    &:hover {
        text-decoration: none;
        box-shadow: 2px 2px 1px #888888;
        color: white;
    }

    background-color: @lightBlue;
}

.input-box {
    margin: 10px;
    font-size: 16px;
    text-align: center;

    input {
        margin-left: 20px;
    }
}

.clickable:hover {
    cursor: pointer;
}

.wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}

.wrapper > * {
    flex: 3 0px;
}

.wrapper > .btn {
    max-width: 30px;
    max-height: 30px;
    padding: 5px;
    text-align: center;
}

#login-logo {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 95px;
}

#navBarCenterImage {
    vertical-align: middle;
    display: block;
    margin: 0 auto;
    width: 115px;
    height: 65px;
}

.centerImage {
    margin: 0 auto;
    text-align: center;
}

.graphOuterDiv {
    @media (min-width: 1600px) {
        height: 650px;
        width: 1200px;
        margin-top: 35px;
        margin-bottom: 25px;
        border: 1px solid #c9cac8;
        padding: 5px;
        padding-bottom: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    @media (max-width: 1599px) {
        height: 500px;
        width: 998px;
        margin-top: 35px;
        margin-bottom: 25px;
        border: 1px solid #c9cac8;
        padding: 5px;
        padding-bottom: 50px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 15%; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: @standardGrey;
    overflow-x: hidden; /* Disable horizontal scroll */
}

.centeredHeader th {
    text-align: center;
}

centeredTableDiv td {
    text-align: center;
}
/*hopefully this works so that we don't get duplicate TSR formulas showing up*/
.MathJax_Preview {
    display: none;
}
/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 14px;
    color: #818181;
    display: block;
    overflow-wrap: break-word;
}

.TSRMFormula p {
    text-align: center;
    font-size: 26px;
}

@media (min-width: 1600px) { //adding this to overwrite the largest we can make our sites based on their screen size -CD
    .container {
        width: 1500px;
    }
}

@media screen and (max-height: 450px), screen and (max-width:1100px) {
    .sidenav {
        padding-top: 0px;
    }

    .sidenav a {
        font-size: 12px;
        padding: 3px 3px 3px 15px;
    }

    .peertracker-text {
        color: @mainBlue;
        font-size: 26px;
        font-style: italic;
    }
}


#siteContents {
    padding: 20px;
    overflow: hidden;
    width: 100%;
}

.nonBlueLink {
    a {
        color: @greyText;
    }
}

.tef-plan-summary::placeholder {
    font-size: 10px !important;
}

.apple-plan-summary {
    font-size: 24px;
    text-align: center;
    margin-top: 15px;
    padding-right: 40px;

    .apple-summary-box {
        border: 2px solid @lightBlue;
        border-radius: 2px;
        font-size: 26px;

        .apple-padded-header {
            padding-top: 5px;
            padding-bottom: 1px;
        }

        .apple-top-padded-header {
            padding-top: 5px
        }

        .apple-small {
            font-size: 12px;
        }

        .apple-medium {
            font-size: 14px;
            padding-bottom: 0px;
        }

        .apple-medium {
            font-size: 14px;
            overflow: hidden;
        }

        .apple-padded {
            padding-bottom: 4px;
        }

        .apple-padded-div {
            padding-bottom: 30px;
        }

        .apple-input-color-override {
            margin-bottom: 10px;
            font-size: 16px;
            text-align: center;

            input, textarea {
                //margin-left: 20px;
                color: @greyText
            }
        }
    }

    .small {
        font-size: 12px;
    }
}

.LMT-PayoutScheduleTable {
    th {
        border: 1px solid black;
    }

    td {
        border: 1px solid black;
    }
}


.KNXDetailsTable {
    border-right: 1px solid @lightGrey;
    border-radius: 6px;
    width: 100%;
    overflow: hidden;
    margin: 10px;
    float: left;
    padding: 10px;

    .ignoreLighten {
        background-color: white;
        border: none !important;
    }

    tr:nth-child(even) {
        background-color: lighten(@lightBlue, 40%);
    }

    tr {
        td {
            border-bottom: 1px solid @lightGrey;
        }
    }

    th {
        background-color: @lightBlue;
        padding: 5px;
        color: white;
        border: solid @lightBlue;
        text-align: center !important;
    }

    td {
        padding: 5px;
        text-align: center;
    }
}

.CCLTable {
    td:first-child {
        text-align: left;
        width: 80%;
        font-weight: bold;
    }

    td:last-child {
        text-align: right;
    }
}

.CCLSummaryTable {
    margin: 0 auto;
    width: 50%;
    text-align: center;
    float: none;

    tr:nth-child(even) {
        background-color: lighten(@lightBlue, 40%);
    }


    tr {
        border: 1px solid @lightGrey;
    }




    th {
        background-color: @lightBlue;
        padding: 5px;
        color: white;
        border: solid @lightBlue;
    }



    th:nth-child(2) {
        width: 20%;
    }

    td {
        padding: 5px;
    }



    .align-right {
        text-align: right;
    }
}

.CCLToolTip {
    width: 40%;
    background-color: darkgrey;
    opacity: 1;
    color: black;

    table {
        border: 1px solid @lightGrey;
        border-radius: 6px;
        width: 100%;
        overflow: hidden;
        padding: 10px;
        margin: 0 auto;
        color: black;

        tr:nth-child(even) {
            /*background-color: lighten(@lightBlue, 40%);*/
            background-color: white;
        }

        tr {
            border: 1px solid @lightGrey;
            background-color: @lightGrey;
        }

        th {
            background-color: @lightBlue;
            padding: 5px;
            color: white;
            border: solid @lightBlue;
            text-align: center;
        }

        th:nth-child(2) {
            width: unset;
        }

        td {
            padding: 5px;
        }

        .align-right {
            text-align: right;
        }
    }
}

.bmyNavigation {
    font-weight: bold;


    &.head-nav {
        a {
            text-decoration: none;

            &:active, &:visited, &:focus {
                text-decoration: none;
            }
        }

        &:hover, &:active {
            border-bottom: 3px solid #BE2BBB;
        }

        a:hover {
            color: @greyText;
            font-weight: bold;
        }


        .active {
            color: @greyText;
        }

        &.activeTD {
            border-bottom: 3px solid #BE2BBB;
        }

        &.peertracker-text {
            font-weight: normal;
        }
    }
}

.bmyCalculationDetailsTable {
    &.detailsTable {
        tr {
            &:nth-child(even) {
                background-color: #eee7e7;
            }

            td {
                border-right: solid black;

                &:last-child {
                    border-right: 1px solid #ededed;
                }
            }
        }
    }
}

.bmyPayoutScheduleNoBorder {
    &.detailsTable {
        tr {
            &:nth-child(even) {
                background-color: #eee7e7;
            }
        }
    }
}

.bmyTSR {
    a {
        color: #BE2BBB;
    }
}

.bmyLink {
    a {
        color: #BE2BBB;
    }
}
