﻿.ContentTable th
{
    display:none;
}

th
{
    background-color:#DDDDDD;
    padding-right: 10px;
    height: 40px;
    vertical-align: top;
    font-weight: normal;
    font-size: 9pt;
}

.ContentTable tr:nth-child(even)
{
    background-color: #EEEEEE;
}

.ContentFilterTable tr:nth-child(even)
{
    background-color: #EEEEEE;
}

.ContentTable th:nth-child(n+2), .theadTable th:nth-child(n+2)
{
    max-width: 150px;
    width: 150px;
    min-width: 80px;
    text-align: center;
}

.ContentTable td:nth-child(n+2), .theadTable td:nth-child(n+2)
{
    max-width: 150px;
    width: 150px;
    min-width: 80px;
    text-align: right;
    padding-right: 10px;
}

.MREntry
{
    color: #CC0000;
    padding-left: 20px;
    font-style: italic;
    font-size: 0.85em;
}

@media (min-width: 451px) 
{
    .ContentTable td:first-child, .theadTable td:first-child
    {
        background-color: #DDDDDD;
        width: 250px;
        max-width: 250px;
        min-width: 250px;
        border-top: 1px solid #EEEEEE;
    }

    .ContentTable th:first-child, .theadTable th:first-child
    {
        width: 250px;
        max-width: 250px; 
        min-width: 250px;   
    }
}

@media (max-width: 450px) 
{
    .ContentTable td:first-child, .theadTable td:first-child
    {
        background-color: #DDDDDD;
        width: 150px;
        max-width: 150px;
        min-width: 150px;
        border-top: 1px solid #EEEEEE;    
    }

    .ContentTable th:first-child, .theadTable th:first-child
    {
        width: 150px;
        max-width: 150px; 
        min-width: 150px;   
    }
}

td
{
    padding-left: 10px; 
    padding-bottom: 3px;
    vertical-align: top;
    border-right: 1px solid #DDDDDD;
}

.theadDiv
{
    position: static;
    width:100%;
    height: 40px;
    //display: none;
}

.ContentTable
{
    width: 100%;
}

.theadTable
{
    width: 100%;
}

.scrollDiv
{
    overflow: hidden;
}

.ABDiv
{
    float: left;
    width: 80px;
    max-width: 80px;
    min-width: 80px;
    border: 1px solid lightgray;
    height: 15px;
    min-height: 15px;
    max-height: 15px;
    margin: 1px;
    padding: 2px;
}

.ResiDiv_R
{
    float: right;
    color: indianred;
}

.ResiDiv_S
{
    float: right;
    color: green;
}

.ResiDiv_I
{
    float: right;
    color: blue;
}

.ClearDiv
{
    clear: both;
}

.TrendCell
{
    width: 80px;
    text-align: right;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-right: 1px solid silver;
    font-size: 0.9em;
}

.TrendCellLast
{
    width: 80px;
    text-align: right;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 0.9em;
    clear: both;
}

@media (max-width: 450px) 
{
    .TrendCell
    {
        width: 80px;
        text-align: right;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-top: 5px;
        border-right: 1px solid silver;
        font-size: 0.9em;
        float: left;
    }
    
    div.TrendRowDiv > .TrendCell:nth-child(1)
    {
        display: none;
    }     
    div.TrendRowDiv > .TrendCell:nth-child(2)
    {
        display: none;
    } 
    div.TrendRowDiv > .TrendCell:nth-child(3)
    {
        display: none;
    } 
    
    div.TrendRowDiv
    {
        display: flex;
        display: -webkit-flex;
    } 
       
} 

.RelevanceCell
{
    width: 100px;
    text-align: right;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-right: 1px solid silver;
    font-size: 0.9em;
    overflow: hidden;
}

.RelevanceCell > div:nth-child(1)
{
    min-height: 40px;
}

@media (max-width: 450px) 
{
    .RelevanceCell
    {
        width: 100px;
        text-align: right;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-top: 5px;
        border-right: 1px solid silver;
        font-size: 0.9em;
        float: left;
        min-height: 70px;
        overflow: hidden;
    }
    
    div.TrendRowDiv > .RelevanceCell:nth-child(5)
    {
        display: none;
    }  
    div.TrendRowDiv > .RelevanceCell:nth-child(4)
    {
        display: none;
    } 
    
}

.green
{
    color: Green;
    background-image: url('/Content/Images/Trends/nav_down_green.png');
    background-repeat: no-repeat;
}

.red
{
    color: indianred;
    background-image: url('/Content/Images/Trends/nav_up_red.png');
    background-repeat: no-repeat;
}

.yellow
{
    color: dimgray;
    background-image: url('/Content/Images/Trends/nav_right_yellow.png');
    background-repeat: no-repeat;
}

.ResistanceRowHead
{
    width: 240px;
    max-width: 240px;
    min-width: 240px;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    float: left;
    font-size: 0.9em;
}

@media (max-width: 450px)
{
    .ResistanceRowHead
    {
        width: 140px;
        max-width: 140px;
        min-width: 140px;
        padding-left: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
        float: left;
        font-size: 0.9em;
    }   
    
    .ResiContainer > .TrendRowDiv
    {
        display: block;
    }
    
    .ResiContainer > .TrendRowDiv > .ResistanceRowHead
    {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        font-weight: bold;
    }
    
    .ResiContainer > .TrendRowDiv > .ResistanceCell
    {
        width: 25%;
        max-width: 25%;
        min-width: 25%;
        box-sizing: border-box;
    }
}

.ResistanceCell
{
    width: 80px;
    max-width: 80px;
    min-width: 80px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    float: left;
    font-size: 0.9em;
}

.AxisHeaderTable
{
    border-spacing: 0px;
}

.SwitchBtn
{
    width: 100px; 
    display:none;
    height: 20px;
    background-color: #DDDDDD;
    border: 1px solid silver;
    border-radius: 5px 5px 0px 0px;
    cursor: pointer;
    margin-left: 3px;
}

.SwitchBtn:hover
{
    width: 100px; 
    display:none;
    height: 20px;
    background-color: #EEEEEE;
    border: 1px solid silver;
    cursor: pointer;
}

.AxisBtn
{
    width: 100px; 
    display:none;
    height: 20px;
    //background-color: #DDDDDD;
    background-color: #CDCDCD;
    border: 1px solid silver;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
}

.AxisBtn:hover
{
    width: 100px; 
    display:none;
    height: 20px;
    //background-color: #CDCDCD;
    background-color: #DDDDDD;
    border: 1px solid silver;
    cursor: pointer;
}

@media (min-width: 450px)
{
    .IfSGABHead
    {
        text-align: center; 
        display: none;
        min-height: 55px;
        font-size: 8pt;
    }
}

@media (max-width: 449px)
{
    .IfSGABHead
    {
        text-align: center; 
        display: block;
        min-height: 55px;
        font-size: 8pt;
        border-left: 1px solid silver;
    }    
}

.MatHeadline
{
    background-color: #EEEEEE;
    height: 25px;
    vertical-align: middle;
    font-weight: bold;
}

.PerformanceContentTable th
{
    display:none;
}

.PerformanceContentTable tr:nth-child(even)
{
    //background-color: #EEEEEE;
}

.PerformanceContentTable th:nth-child(n+2), .theadTable th:nth-child(n+2)
{
    max-width: 150px;
    width: 150px;
    min-width: 80px;
    text-align: center;
}

.PerformanceContentTable td:nth-child(n+2), .theadTable td:nth-child(n+2)
{
    max-width: 150px;
    width: 150px;
    min-width: 80px;
    text-align: right;
    padding-right: 10px;
}

@media (min-width: 451px) 
{
    .PerformanceContentTable td:first-child, .theadTable td:first-child
    {
        //background-color: #DDDDDD;
        width: 250px;
        max-width: 250px;
        min-width: 250px;
        border-top: 1px solid #EEEEEE;
    }

    .PerformanceContentTable th:first-child, .theadTable th:first-child
    {
        width: 250px;
        max-width: 250px; 
        min-width: 250px;   
    }
}

@media (max-width: 450px) 
{
    .PerformanceContentTable td:first-child, .theadTable td:first-child
    {
        //background-color: #DDDDDD;
        width: 150px;
        max-width: 150px;
        min-width: 150px;
        border-top: 1px solid #EEEEEE;    
    }

    .PerformanceContentTable th:first-child, .theadTable th:first-child
    {
        width: 150px;
        max-width: 150px; 
        min-width: 150px;   
    }
}

.PerformanceContentTable
{
    width: 100%;
}

.PercentageSpan
{
    color: SlateBlue; 
    margin-left: 10px;
    width: 50px;
    min-width: 50px;
    display: inline-block;
}

.PerformanceHeadlineRow
{
    background-color: floralwhite;
}

.DisplayMatLabel
{
    display: none;
    margin-right: 10px;
}

.OrderImg
{
    width: 16px;
    height: 16px;
    float: left;
    background-image: url('/Content/Images/Order.png');
}

.ABGroupHeader
{
    font-weight: bold; 
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
    background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
    display: flex;
    clear: both;
    vertical-align: left;
    padding-left: 5px;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    font-size: 0.9em;
    border-bottom: 1px solid dimgray;
    padding-top: 5px;
    padding-bottom: 3px;
    
}