﻿/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	HTML TAGS 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
html
{
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
}

body, #topcontainer, #top-menu, #content-container, .collapsePanel, .collapsePanelhoriz, .accordionContent
{
    background-color: #FFFFFF;
}
body
{
    margin: 0;
    font-family: "Helvetica-Neue" , Helvetica, Arial, sand-serif; /*font-family: Arial, Helvetica, sans-serif; */
    color: #404040;
    font-size: 1.6rem; /* 16px; */
}
body.pop
{
    padding: 10px;
    font-size: 1.4rem;
}
p
{
    margin: 10px 0;
}
#topcontainer, #container, #breadcrumbs_outer, .section, .tradesection
{
    width: 100%;
}
#breadcrumbs_outer {
    background-color: #2F3033;
    box-sizing: border-box;
}
#header-outer {
    background-color: #FDFDFD;
    border-top: 1px solid #D3D3D3;
    border-bottom: 1px solid #D3D3D3;
    box-sizing: border-box;
}
.section, .tradesection
{
    margin: 35px 0;
    border-top: 1px solid #D3D3D3;
}
.tradesection 
 {
     margin-top: 25px;
 }
.appHolder
{
    background-color: #E0E5E9;
}
#top-information, .content-container, #content-main-one-column, ul.backtestreport, ul.tradesreport, #breadcrumbs
{
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px;
}
/*
#topcontainer, #container
{
    margin: 0px auto;
}
*/
#container {
    text-align: left; /*  border-top: solid 1px #D3D3D3; */
}
.mycirc {
      width: 15px;
      height: 15px;
      display: inline-block;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      background-color: green;
}
.shhiLbl {
    cursor: pointer;
    padding: 4px;
    border: 1px solid #999;
    border-radius: 5px;
    margin-left: 5px;
    font-size: 14px;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Links
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
a, a:visited
{
    color: inherit;
}
a.blink:link, a.blink:visited {
    color: red;
}
a.blink:hover, a.blink:active {
    color: blue;
    }
a:hover, a:active {
    color: red;
}
.helplink {
    vertical-align: middle;
    margin-left: 3px;
}
a.wlink:link, a.wlink:visited {
    color: #FFFFFF;
    text-decoration: underline;
}

a.wlink:hover, a.wlink:active {
    color: red;
    text-decoration: underline;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	HEADINGS 
 border: solid 1px #383838
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
h1, h2, h3, h4
{
    font-weight: 300;
    color: #333;
    margin: 0.5em 0;
}

h1
{
    font-size: 3rem;
    margin-top: 0;
}

h2
{
    font-size: 2.5rem;
}

h3, h4
{
    color: #666;
    font-size: 2rem;
}

h4
{
    color: #666;
    font-size: 1.75rem;
    margin: 0.2em 0;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Inputs   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
input[type=text], textarea
{
    border: solid 1px black;
    padding: 2px;
    background-color: #F5F5F5;
}
input.rflog, textarea
{
    border: solid 1px black;
    margin-bottom: 5px;
    padding: 2px;
    background-color: #F5F5F5;
}
input.rfbutton, input.rdbutton, input.modalbutton
{
    font: bold 14px 'Trebuchet MS' , Arial, Sans-serif;
    vertical-align: middle;
    border: 2px solid #999999; /* padding: 1px; */
    color: #333333; /* #FFFFFF; */
    background-color: #F0F8FF; /* #9A1B1F; #444444; */
    width: 130px;
    text-align: center;
    -webkit-appearance: none;
    border-radius: 5px;
    -moz-border-radius: 5px;
}
input.modalbutton
{
    color: White;
    background-color: #6495ED;
    border-width: 0;
}
input.smbutton
{
    font: bold 12px 'Trebuchet MS' , Arial, Sans-serif;
    color: #555;
    background: #FFF;
    vertical-align: middle;
    border: solid 1px #999999;
    width: 72px;
}
#txtName, #txtEmail, #txtMessage, #txtReason
{
    width: 350px;
}
.ui-autocomplete.ui-widget {
    font-size: 1.3rem;
}
.ui-menu .ui-menu-item {
    border-bottom: solid 1px #d3d3d3;
}

input.efbutton, input.ntbutton, input.grbutton, input.xmbutton, .xmbutton_sp {
    border: 1px solid slategray;
    /*background: linear-gradient(#42a1ec,#0070c9); vizbutton, .vizbutton_b*/
    background-color: slategray;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 8px 0;
    color: #fff;
    text-align: center;
    /*font: bold 15px 'Trebuchet MS', Arial, Sans-serif;*/
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    vertical-align: middle;
    -webkit-appearance: none;
    text-transform: uppercase;
    width: 130px;
}

input.xmbutton, .xmbutton_sp {
    letter-spacing: 1px;
    /*text-transform: uppercase;*/
    padding: 10px 0;
    width: 100%;
}

.xmbutton_sp {
    display: inline-block;
}

input.efbutton:hover, input.xmbutton:hover, .xmbutton_sp:hover {
    background-color: dimgray;
    border-color: dimgray;
}

input.ntbutton {
    border-color: #000;
    background: inherit;
    color: #333;
    width: 110px;
    font-size: 12px;
}

input.ntbutton:hover {
    background-color: #ccc;
}

input.grbutton {
    background: linear-gradient(#77b55a, #4b8f29);
    border: 1px solid #4b8f29;
    font-size: 12px;
    /*width: 110px;*/
}
/*
.vizbutton {
    font: bold 15px 'Trebuchet MS' , Arial, Sans-serif; 
    vertical-align:  middle; 
    border: 1px solid #999999; 
    padding: 1px; 
    color: #FFF; 
    background-color: dodgerblue; 
    width: 90px; 
    text-align: center; 
    -webkit-appearance: none; 
    border-radius: 10px; 
    -moz-border-radius: 10px;
    display: inline-block;
}
*/
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	TOP INFORMATION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#top-information {
    padding: 30px 0;
}
#logobox
{
    width: 277px;
    float: left;
}
    #logobox a {
        text-decoration: none;
    }
    #logobox img {
        height: 45px;
        width: 270px;
    }

#rhsbox
{
    float: right;
    width: 530px;
    height: 45px;
}
input.searchbox
{
    width: 55px;
    height: 15px;
    padding: 1px;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	TOP MENU
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
ul#nav
{
    height: 45px;
    float: none; /* font-size: 14px; */
}
ul#nav, ul#nav ul
{
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1000;
}
ul#nav li
{
    /*top level items*/
    text-align: center;
    float: left;
    height: 45px;
    line-height: 45px;
    border-left: solid 0px #999999;
}
ul#nav li.tabA
{
    width: 10.7547%;
}
ul#nav li.tabB
{
    width: 13.2075%;
}
ul#nav li.tabC
{
    width: 15.283%;
}
ul#nav li.tabD
{
    width: 20.7547%;
}
ul#nav li.ieclear
{
    float: none;
    clear: left;
    height: 0;
    line-height: 0;
    font-size: 0;
}
#nav li ul
{
    /*sub menu */
    position: absolute;
    display: none; /* left: -999em;  using left instead of display to hide menus because display: none isn't read by screen readers */
    left: 0;
    width: 100%; /*530px; */
}
#nav li ul li
{
    /*sub menu box */
    box-sizing: border-box;
    width: 100%; /*523px; */
    border: 1px solid #999999;
    background-color: #F5F5F5;
    height: auto;
    padding: 2px 2px 0 3px; /*                           border-top: none;             float: left;                         border-top: none;             background: red; */
}
#nav li ul ul
{
    /*sub menu columns */
    position: relative;
    box-sizing: border-box;
    float: left;
    width: 32.5%; /* 169px */
    margin: 0 0.8% 5px 0;
    display: inline;
    top: 0;
    border: none;
}
#nav li ul li li /*#nav li ul li li */
{
    /*sub menu items */
    text-align: left;
    border: none;
    width: 100%; /*169px; */
    height: auto;
    padding: 0;
    margin: 0;
    line-height: 35px;
}
ul#nav li a
{
    /*top level links */ /*  font-weight: bold; */
    display: block;
    text-decoration: none;
    color: #606060; /* IE6 Bug */
    min-height: 0; /*padding: 5px 0; */
    border-bottom: solid 0 #FFFFFF;
}
#nav li li a
{
    /* sub menu links */
    padding: 0 5px;
    border: none;
    font-weight: normal;
    font-size: 12px; /*    background-color: #06c;                  color: #fff;*/
}
#nav li li span
{
    padding: 2px 5px;
    font-weight: bold;
}

ul#nav li.over a, ul#nav li:hover a
{
    /*             border-bottom: none;              padding: 5px 5px 5px;             top: 1px;             */
    position: relative;
    z-index: 99;
    text-decoration: none;
}

ul#nav li.over li a, ul#nav li:hover li a
{
    top: 0; /* border: none; */
}

/* commented backslash mac hiding hack \*/* html ul#nav li a
{
    height: 1%;
    position: relative;
}
/* end hack */

#nav li:hover ul, #nav li.over ul
{
    /* margin-left: 0; */ /* lists nested under hovered list items */
    display: block; /*left: auto; */
}
/* show menu*/

#nav li:hover a, #nav li.over a /*top level links */
{
    border-bottom-width: 5px;
    border-bottom-color: #9A1B1F;
    padding-bottom: 0;
}
#nav li:hover li a:hover, #nav li.over li a:hover /*sub-menu links */
{
    color: red;
}
#nav li:hover li a, #nav li.over li a /*sub-menu links */
{
    color: #666666;
    text-decoration: underline;
    background-color: #F5F5F5;
}

#nav li.searchli
{
    text-align: right;
    width: 91px; /*17.1698%  */
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Page Crumbs 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#breadcrumbs {
    color: #FFF;
    height: 33px; /* 23px;*/
    font-size: 11px;
    font-weight: bold;
    padding: 0; /* 5px 0; border-top: solid 1px #D3D3D3; */
}
#breadcrumbs a:link, #breadcrumbs a:visited
{
    color: #FFF;
    text-decoration: underline;
}
#breadcrumbs a:active, #breadcrumbs a:hover
{
    color: Red;
}
#breadcrumb-half
{
    width: 50%;
    float: left;
    height: 33px;
    line-height: 33px;
    overflow: hidden;
}
#greet-half
{
    width: 50%;
    float: right;
    text-align: right;
    font-weight: normal;
    font-size: 12px;
    height: 33px;
    line-height: 33px;
}

.ssc_tab {
    display: inline-block;
    margin-left: 4px;
    background-color: #FDFDFD;
    color: #222222;
    height: 33px;
    line-height: 33px;
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 85px;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	FOOTER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .etf-footer {
        background-color: #2F3033; /*#141618;*/
        width: 100%;
        padding: 40px 0;
        box-sizing: border-box;
        color: #fff;
    }

.footer-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1080px;
}

div.footerX {
    width: 40%;
    text-align: left;
}

div.footerZ {
    width: 20%;
    text-align: left;
}

#footerinr span.head {
    text-transform: uppercase;
    /*letter-spacing: 1.3px;*/
    font-weight: 600;
}

#footerinr ul {
    list-style: none;
    margin-left: 0;
    margin-top: 5px;
    padding-left: 0;
    line-height: 2em;
}

#footerinr a:link, #footerinr a:visited {
    color: #999;
    text-decoration: none;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: 600;
}

#footerinr a:active, #footerinr a:hover {
    color: #fff;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	CONTENT & Backtests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#content a
{
    text-decoration: underline;
}
/*#content-container
{
    margin: 0;
    font-size: 12px;
    color: #333333;
    border-bottom: solid 1px #D3D3D3;
}
*/
#content-main-one-column
{
    padding: 10px 0 20px 0; /*border: solid 1px #333333; */
}

#content-main-one-column ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#content-main-one-column ol li
{
    line-height: 25px;
}
ul.portfolioselect, ul.factorselect, ul.screenerselect, ul.optboxlist
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ul.factorselect
{
    width: 250px;
}
ul.portfolioselect li, ul.portfolioselect li.head, ul.portfolioselect li.etfname, ul.factorselect li, ul.factorselect li.head, ul.factorselect li.weight, ul.screenerselect li, ul.screenerselectli.head, ul.portfolioselect li.fromhead, ul.optboxlist li
{
    vertical-align: middle;
    line-height: 1.6em;
    float: left;
}
ul.portfolioselect select, ul.factorselect select, ul.screenerselect select, ul.optboxlist select {
    min-height: 1.6em;	
}
ul.portfolioselect #ddlOrder, ul.portfolioselect #ddlOrderA, ul.portfolioselect #ddlOrderB, ul.portfolioselect #ddlOrderC, 
ul.portfolioselect #ddlOrderD, ul.portfolioselect #ddlOrderOn, ul.portfolioselect #ddlOrderOff {
    width: 50px;
}
ul.portfolioselect #ddl_portA, ul.portfolioselect #ddl_portB, ul.portfolioselect #ddl_portC, ul.portfolioselect #ddl_portD,
ul.portfolioselect #ddl_port {
    max-width: 250px;
}
ul.portfolioselect #ddletf1, ul.portfolioselect #ddletf2,  ul.portfolioselect #ddletfs {
    width: 56px;
}
ul.portfolioselect #ddl_interval, ul.portfolioselect #ddl_intervalB, ul.portfolioselect #ddlInterval {
    width: 62px;
}
ul.factorselect select {
    width: 89px;
}
ul.portfolioselect li.head, ul.factorselect li.head, ul.screenerselect li.head, ul.portfolioselect li.fromhead
{
    font-weight: bold;
    overflow: hidden;
}
ul.portfolioselect li.etfname
{
    width: 62%; /* 56%; */
    height: 1.6em;
}
ul.factorselect li.head
{
    width: 80px;
}
ul.screenerselect li.head
{
    width: 100px;
}
ul.portfolioselect li.fromhead
{
    width: 7.5%;
    min-width: 50px;
    text-align: center;
}
ul.portfolioselect li.linko {
    width: 100%;
    float: none;
    padding-left: 120px;
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 11px;
}
ul.factorselect li.weight
{
    width: 24%;
    min-width: 60px;
    font-size: 1.4rem;
}
ul.optboxlist li.head, div.optboxhead
{
    width: 25%;
    min-width: 135px;
    font-weight: bold;
}
ul.portfolioselect li.ieclear, ul.factorselect li.ieclear, ul.screenerselect li.ieclear, ul.optboxlist li.ieclear
{
    clear: left;
    float: none;
    line-height: 0px;
    font-size: 0px;
}
div.toolbox
{
    max-width: 460px;
    float: left;
}
div.funcbox {
    width: 100%; 
    box-sizing: border-box; 
    padding: 10px; 
    border: solid 1px #999; 
    background-color: #E0E5E9; 
    border-radius:5px;
}
div.controlbox, div.controlboxma
{
    float: left;
    width: 67%;
    max-width: 700px; /*550px  need to recompute the %s!*/
}
div.factorbox, div.pdbox, div.controlboxR
{
    float: right;
    width: 33%;
    max-width: 260px;
}
div.optbox
{
    float: right;
    width: 290px;
}
div.optboxhead
{
    float: left; /* height: 18px;      line-height: 18px; */
}
ul.optboxlist
{
}
div.combinecontrols
{
    float: left;
    width: 68.5%;
    max-width: 680px;
    /*border: 1px solid #333333;*/
}
div.periodbox
{
    float: right;
    width: 243px;
    min-height: 125px;
}
div.halfbox, div.subboxL, div.subboxR, div.halfboxNW, div.halfboxStatL {
    width: 50%;
    float: left;
}
div.halfboxStatL {
    margin-top: 30px;
    overflow: auto;
    overflow-y: hidden;
}
div.halfboxStatR {
    float: right;
    width: 50%;
    margin: 30px 0 0;
    max-width: 405px;
    overflow: auto;
    overflow-y: hidden;
}
div.halfboxStatL ul.portfolioselect, div.halfboxStatR ul.portfolioselect {
    min-width: 394px;
}
div.halfboxStatL ul.portfolioselect li.head, div.halfboxStatR ul.portfolioselect li.head {
    width: 275px;
}
div.halfboxmarg {
    float: left;
    width: 46%;
    max-width: 500px;
}
    div.halfboxmarg ul.portfolioselect li.port, div.halfboxmargR ul.portfolioselect li.port {
        padding: 2px 0;
        width: -webkit-calc(100% - 120px);
        width: -moz-calc(100% - 120px);
        width: calc(100% - 120px);
    }

ul.portfolioselect li.port #ddl_portB, ul.portfolioselect li.port #ddl_portC {
    width: 100%;
    max-width: 242px;
}

    /*div.halfboxmarg ul.portfolioselect #ddl_portB, div.halfboxmarg ul.portfolioselect #ddl_portC,
    div.halfboxmargR ul.portfolioselect #ddl_portB, div.halfboxmargR ul.portfolioselect #ddl_portC {
        width: 100%;
        max-width: 242px;
    }*/

div.halfboxmargR
{
    float: right;
    width: 46%;
    max-width: 500px;
}
.highbox
{
    width: 48%;
    float: left;
}
.lowbox
{
    width: 48%;
    float: right;
}
div.subboxL, div.subboxR
{
    box-sizing: border-box;
    border: 1px solid #999999;
    height: 115px;
}
div.subboxL
{
    padding-left: 10px;
    border-right-width: 0;
}
div.subboxR
{
    padding: 18px 0;
    text-align: center;
    border-left-width: 0;
}
div.thirdbox
{
    width: 33.33%;
    float: left;
    box-sizing: border-box;
}
div.seventybox
{
    width: 70%;
    float: right;
}
div.seventyboxL
{
    width: 70%;
    float: left;
    box-sizing: border-box;
    padding-left: 30px;
}
div.thirtybox
{
    width: 30%;
    float: left;
}
div.loginboxL, div.loginboxR
{
    width: 45%;
    margin-top: 20px;
    border: solid 1px #333333;
    box-sizing: border-box;
    padding: 0 10px 10px 10px;
    min-height: 280px;
}
div.loginboxL
{
    float: left;
}
div.loginboxR
{
    float: right;
}
#screenermenu
{
    width: 220px;
    float: left;
}
.charttitle
{
    text-align: center;
}
.chartbox
{
    background-image: url('../../images/chartbg.gif');
    background-repeat: repeat;
}
    .chartbox .content-container {
        padding-top: 10px;
        padding-bottom: 45px;
    }

.chartmain
{
    float: left;
    width: 69.44%; /* 750 / 1080 */
    max-width: 750px;
}
.chartsub
{
    float: right;
    width: 21.759%; /*235 / 1080 */
    max-width: 235px;
}
.chartimg
{
    width: 100%;
    max-width: 750px;
    height: auto;
}
.chartsubimg
{
    width: 100%;
    max-width: 235px;
    height: auto;
}
.chartbigimg
{
    width: 100%;
    max-width: 940px;
    height: auto;
}
.chartHLpie
{
    width: 100%;
    max-width: 450px;
    height: auto;
}

.chartepssubimg
{
    width: 100%;
    max-width: 250px;
    height: auto;
}
.chartepssub
{
    float: right;
    width: 23.15%; /*250 / 1080 */
    max-width: 250px;
}
.ddbar
{
    height: 20px;
    display: block;
    background-color: #6495ED;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-topright: 8px;
}
.barbox
{
    float: left;
    width: 48px;
}
.graphicbarright, .graphicbar
{
    height: 20px;
    display: block;
}
.graphicbarright
{
    background-color: green;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-topright: 8px;
    margin-right: 10px;
}
.graphicbar
{
    background-color: #9A1B1F;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    -moz-border-radius-bottomleft: 8px;
    -moz-border-radius-topleft: 8px;
    margin-left: 10px;
}
.verticalBarGraph
{
    height: 101px;
    margin: 0;
    padding: 0;
    position: relative;
}
.verticalBarGraph li
{
    background-color: green;
    border-right: solid 1px white;
    bottom: 0;
    list-style: none;
    margin-left: 1px;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 14px;
}
.verticalBarGraph li.head
{
    border-right: solid 1px Black;
}
.verticalBarGraph li.foot
{
    background-color: Black;
}
.tlDelta
{
    display: block;
    height: 20px;
    line-height: 20px;
    margin-bottom: 5px;
}
.tlKey
{
    width: 15px;
    height: 20px;
    background-color: green;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}
.btnbox
{
    width: 160px;
    float: right;
}
.statboxR
{
    float: right;
    width: 25%;
    max-width: 180px;
}
.statboxL
{
    float: left;
    width: 75%;
    min-width: 710px;
}
.bull
{
    color: Green;
    font-size: 4rem;
    font-weight: bold;
}
span.smnote
{
    font-size: 1.3rem;
}
span.ytdLbl
{
    display: block;
    width: 60px;
    float: left;
    padding: 0 14px 0 5px;
}
#AddMAhead, .inlineNote
{
    margin-left: 10px;
}
p.pnote, span.svnote
{
    color: #00008B;
}
/*ul.portfolioselect input[type=text], textarea 
{
    vertical-align: top;
}*/
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	backtest head 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#btheadbox {
    display: flex;
    width: 100%;
    justify-content: space-between;
    -webkit-box-pack: justify;
    flex-flow: row wrap;
}
#settingsbox {
    width: 50%;
    order: 2;
    text-align:right;
}
#headtitle {
    width: 50%;
    order: 1;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	performancegrid 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
ul.performancegrid
{
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 26px;
}
ul.performancegrid li
{
    width: 7.7825%;
    float: right;
    padding: 0;
    text-align: center;
    border-left: solid 1px #333333;
    box-sizing: border-box;
    line-height: 1.6em;
}
ul.performancegrid li.head
{
    font-weight: bold;
    background-color: #333;
    float: left;
    color: White;
}

ul.performancegrid li.foot
{
    float: none;
    height: 1px;
    line-height: 1px;
    width: 100%;
    background-color: #333;
    color: White;
}
ul.performancegrid li.ieclear
{
    clear: both;
    border: none;
    float: none;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Homepage 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.flexhldr, #footerinr {
    display: flex;
    width: 100%;
    justify-content: space-between;
    -webkit-box-pack: justify;
    flex-flow: row wrap;
    text-align: center;
}

div.thdbox {
    width: 30%;
    padding: 20px 0;
    box-sizing: border-box;
}

div.thdbox-inner {
    padding: 36px 20px;
    background-color: #E0E5E9;
    text-align: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-sizing: border-box;
}

div.iconbox {
    width: 100px;
    height: 100px;
    margin: 0 auto 18px;
}
    div.iconbox a:hover {
        color: #999;
    }

    a.boxlink:link, a.boxlink:visited {
        height: 49px;
        background-color: #1D5287;
        font: bold 14px "Open Sans",sans-serif;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        cursor: pointer;
        text-decoration: none;
        text-transform: uppercase;
    }

    a.boxlink:hover {
        color: #999;
    }

.accentBox {
    background-color: #E0E5E9;
}

div.intro
{
    text-align: center;
    margin: 30px 0;
}
.videocontainer
{
    position: relative;
    padding-bottom: 56.1%; /* padding-top: 35px; */
    height: 0;
    overflow: hidden;
}

.videocontainer iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.welcomeBox {
    padding: 36px 0;
    color: #666;
    text-align: left;
    font-size: 1.1em;
    box-sizing: border-box;
}

#welcome_btnBox {
    text-align: center;
    margin-top: 35px;
}

#welcome_btnBox a {
    text-decoration: none;
}

div.catbox a:link, div.catbox a:visited, div.blogbox a:link, div.blogbox a:visited
{
    text-decoration: none;
    color: #333;
}
div.catbox a:hover, div.catbox a:active, div.blogbox a:hover, div.blogbox a:active
{
    text-decoration: none;
    color: red;
}
div.catbox
{
    box-sizing: border-box;
    width: 33%;
    float: left;
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 7px;
}
div.catbox img
{
    width: 70px;
    height: 70px;
    border: none;
}
div.catbox-inner
{
    padding: 0 15px;
}
div.catboxtext {
    width: 100%;
    font-size: 1.1em;
}
div.postsnip
{
    width: 21%;
    padding: 0 2%;
    float: left;
    color: #666;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Backtest page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
div.appboxtitle
{
    box-sizing: border-box;
    padding: 3px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

div.appboxtitle h3
{
    color: #FFF;
}

div.appbox
{
    margin-bottom: 10px;
    font-size: 1.3rem;
}
div.appboximg
{
    float: left;
    width: 80px;
    height: 80px;
}
div.appboximg img
{
    width: 70px;
    height: 70px;
}
div.appboxouter
{
    box-sizing: border-box;
    padding: 15px;
    background-color: #FFF;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
span.freesp
{
    color: red;
    font-weight: bold;
    font-size: 1.3rem;
}
span.np 
{
    font-style: italic; 
    font-size: 1.1rem;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Screener 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#tblScreener
{
    width: 100%;
    min-width: 640px;
}
span.noteCount
{
    font-size: 11px;
    font-weight: normal;
    margin-left: 8px;
    font-style: italic;
}
.screenerETFColHead
{
    width: 52.5%;
    min-width: 290px;
}
.screenerfilterbox
{
    width: 218px;
    border: solid 1px #333333;
    border-bottom-width: 0;
    margin-bottom: 25px;
}
.screenerlistouter
{
    width: 218px;
    border: 1px solid #333;
}
.screenerlistholder
{
    overflow: auto;
}
.screenerlist
{
    width: 218px;
    padding: 0;
    margin: 0;
    border-spacing: 0;
    border-style: none;
    border-width: 0;
    overflow: hidden;
    background-color: #EFEFEF;
}
.screenerlist td
{
    height: 30px;
    width: 218px;
    max-width: 218px;
    border-spacing: 0;
    padding: 0;
    border-bottom: solid 1px #333333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.screenerlist input, checkbox, .screenerlistactive input, checkbox
{
    margin: 0 5px;
    border-style: none;
    border-width: 0;
    padding: 0;
    color: Black;
    background-color: Black;
}
.screenerlistactive {
    display: block;
    background-color: #1D5287; /*#556B2F;*/
    height: 20px;
    padding: 5px 0;
    width: 218px;
    color: #FFFFFF;
    overflow: hidden;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Tree View 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.treeinactive, .treeactive, .treeactivecol
{
    width: 100%;
    box-sizing:border-box;
    padding: 7px 0 7px 5px;
    border-bottom: solid 1px #333333;
    /*height: 20px;*/
    font-size: 1.4rem;
}
.rdrTV table, .treemenu table {
    width:100%;
}
.treeinactive
{
    background-color: #EFEFEF;
}
.treeinactive a, .treeactive a, .treeactivecol a
{
    text-decoration: none;
}
.treeactive {
    background-color: #1D5287; /*#556B2F; #9A1B1F; */
}
.treeactivecol
{
    background-color: green;
}
.treeactive a, .treeactivecol a
{
    color: white;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	IMAGES & PHOTOS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
img
{
    border: none;
}
input.arrowbtn, img.arrowbtn
{
    border: none;
    margin: 0;
    padding: 0;
    width: 24px;
    height: 12px;
    vertical-align: middle;
    display: block;
}
.ChartBackText 
{
    position: absolute;
    color: #666666;
    opacity: 0.4;
    filter: alpha(opacity=40);
    font-weight: bold;
    font-size: 2.7rem;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Modal popup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.modalBackground
{
    background-color: #333333;
    filter: alpha(opacity=70);
    opacity: 0.7;
}
.modalPopup, .modalPopupclr
{
    background-color: #FFFFFF;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 3px;
    width: 600px;
    color: Black;
}
.modalPopup a
{
    color: Black;
}
.modalPopup h1
{
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: Bold;
    color: #0F2651;
    font-family: Helvetica, sans-serif;
}
.modalPopup input[type=text], textarea
{
    border: solid 1px black;
    padding: 2px;
}
input.modalcheck
{
    border-style: none;
    border-width: 0;
}
/* ~~~~~~~~~~~~~~~~
    Data Tables
~~~~~~~~~~~~~~~~*/
div.tableholder
{
    overflow: auto;
    overflow-y: hidden;
}
table.modtable, table.modtableR, table.modtableD, table.SRTtable {
    box-sizing: border-box;
    border-collapse: collapse;
    border: solid 1px #7f7f7f;
}
    table.modtable caption, table.modtableR caption, table.SRTtable caption {
        text-align: left;
    }
    table.modtable tbody tr, table.modtableR tbody tr, table.SRTtable tbody tr {
        line-height: 1.6em;
    }
    table.modtable td, table.modtableR td, table.SRTtable td {
        padding: 1px 5px;
        border-right: solid 1px #7f7f7f;
        height: 1.6em;
        vertical-align: top;
    }
    table.SRTtable tr:nth-child(odd) {
        background-color: #EFEFEF;
    }
    table.modtableD td {
        height: 1.6em;
        padding: 5px;
        border-right: solid 1px #7f7f7f;
    }
    table.modtable .even, table.modtableR .even, table.modtableD .even, table.SRTtable .even {
        background-color: #FFFFFF;
    }
    table.modtable .odd, table.modtableR .odd, table.modtableD .odd, table.SRTtable .odd {
        background-color: #EFEFEF;
    }
    table.modtable th, table.modtableR th, table.modtableD th, table.SRTtable th {
        font-weight: bold;
        background: url('sprite.png') repeat-x 0px 0px;
        border: 1px solid #7f7f7f;
        padding: 7px 5px;
        text-align: center;
    }
    table.modtableR th, table.modtableD th, table.SRTtable th {
        background: none;
        background-color: #1D5287; /*#9A1B1F;*/
        color: #FFFFFF;
    }
     
    table.modtable th.nosort, table.modtableR th.nosort, table.modtableD th.nosort, table.SRTtable th.nosort {
            background: none;
            padding: 0;
        }
    table.modtable thead tr .header, table.modtableR thead tr .header, table.modtableD thead tr .header, table.SRTtable thead tr .header {
        cursor: pointer;
    }
table.modtable thead tr .sorter-false, table.modtableR thead tr .sorter-false, table.modtableD thead tr .sorter-false
{
    cursor: default;
}
    table.modtable .headerAsc, table.modtableR .headerAsc, table.modtableD .headerAsc, table.SRTtable .headerAsc {
        background: url('asc.gif') no-repeat right 50%;
    }
    table.modtable .headerDesc, table.modtableR .headerDesc, table.modtableD .headerDesc, table.SRTtable .headerDesc {
        background: url('desc.gif') no-repeat right 50%;
    }
    table.modtable thead td, table.modtableR thead td, table.modtableD thead td, table.SRTtable thead td {
        vertical-align: middle;
        border: none;
    }
    table.modtableR .headerAsc, table.modtableR .headerDesc, table.modtableD .headerAsc, table.modtableD .headerDesc, table.SRTtable .headerAsc, table.SRTtable .headerDesc {
        color: #333;
    }
 table.modtableD .etfcheckbox
{
    margin: 0 auto;
}
table.modtableD .etfcheckbox td
{
    border-right: none;
    padding: 0;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Portfolios search
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#pnlPortSearch {
    text-align: center;
    margin: 10px 0 20px;
}

    #pnlPortSearch input[type="text"] {
        width: 225px;
        font-size: 1.8rem;
        border: 1px solid #999;
        padding-top: 4px;
        padding-bottom: 4px;
        border-right: none;
        margin: 0;
    }

.searchDDL {
    margin-right: 10px;
    height: 31px;
    vertical-align: top;
    width: 75px;
    border-radius: 0;
    border: 1px solid #999;
    /*border: 0;*/
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
CollapsiblePanel - Backtest MA - WHERE ELSE - MA filter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.collapsePanel, .collapsePanelMA
{
    overflow: hidden;
}
.collapsePanelHeader, .collapsePanelHeaderMA {
    width: 220px; /* height: 25px; */
    background-color: #1D5287; /* #333333; */
    color: #FFF;
    font-weight: bold;
    box-sizing: border-box;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 7px 15px;
    cursor: pointer;
}

.collapsePanel {
    width: 100%;
    box-sizing: border-box;
    /*padding: 10px;
    border: solid 1px #999999;*/
    /*border-bottom: 1px solid #1D5287;
    border-left: 1px solid #1D5287;
    border-right: 1px solid #1D5287;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #E0E5E9;*/
}
.collapsePanelHeaderMA, .collapsePanelMA {
    background-color: #F5F5F5;
    color: Black; /* font-size: 11px; */
}
.collapsePanelMA {
    border: none;
}

.collapsePanelHdr_b {
    background-color: #1D5287;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 7px 15px;
    color: #fff;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    cursor: pointer;
    /*font: bold 14px "Open Sans",sans-serif;*/
    /*text-transform: uppercase;*/
}

.colPnl {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-bottom: 1px solid #1D5287;
    border-left: 1px solid #1D5287;
    border-right: 1px solid #1D5287;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #E0E5E9;
}

.colPnl_ma {
    width: 100%;
    box-sizing: border-box;
    background-color: inherit;
}


.collapsePanelhoriz
{
    color: #FFFFFF;
    float: left;
    width: 200px;
    margin-left: 0px;
    font-size: 11px;
}
.collapsePanelHeaderhoriz
{
    width: 220px;
    float: left; /* height: 25px; */ /*  font-size: 11px; */
    background-color: #F5F5F5;
    color: #000000;
    font-weight: bold;
    box-sizing: border-box;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Accordion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.aContent
{
    padding: 0;
    border: none;
}
.aHeader
{
    padding: 5px;
    margin-top: 0;
    background-color: #F5F5F5;
    font-weight: bold;
    cursor: pointer;
    color: #666666;
    font-size: 13px;
}
.aHeaderSelected
{
    padding: 5px;
    margin-top: 0;
    color: Green;
    font-weight: bold;
    background-color: #F5F5F5;
    font-size: 13px; /*  background-color: #9A1B1F;  */
    cursor: pointer; /*color: #A5BED5;     text-decoration: underline;     */
}
.aRPContent
{
    padding: 0;
    font-size: 1.3rem;
    background-color: #F5F5F5; /*  border: solid 1px #333333; */
}

.accordionHeaderSelected, .accordionHeader
{
    padding: 5px;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
    color: White;
    background-color: #333333;
}
.accordionHeaderSelected
{
    background-color: #9A1B1F;
}
.accordionContent
{
    padding: 10px;
    border: solid 1px #333333;
}
ul.advmenu
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 218px;
    vertical-align: middle;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pop Up Menu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
ul.popupMenu, div.popupMenu
{
    list-style-type: none;
    border: #060F40 2px solid;
    color: #060F40;
    background: #EFEFEF;
    padding: 5px 0;
    width: 200px;
    font-size: 1.3rem;
}
ul.popupMenu li
{
    text-align: left;
    width: 90%;
    padding: 0 0 0 5%;
}
div.popupMenu
{
    padding-left: 5px;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
ETF page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
div.statboxholder
{
    width: 344px;
    float: left;
}
ul.statboxhead, ul.statbox
{
    float: left;
    margin: 0;
    list-style-type: none;
    line-height: 25px;
    color: #FFFFFF;
}
ul.statboxhead
{
    /*width: 190px; */
    width: 62%;
    box-sizing: border-box;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #333333;
    border: solid 1px #333333;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
}
ul.statbox
{
    /*width: 110px;*/
    width: 38%;
    box-sizing: border-box;
    padding: 0 10px;
    background-color: #666666;
    border: solid 1px #666666;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
}
div.qrterbox
{
    width: 535px;
    float: right;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Side Navigation Menu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
div.sidenav, div.contactnav
{
    width: 30%;
    float: left;
    max-width: 215px;
    border-right: 1px solid #999;
    min-height: 500px;
    box-sizing: border-box;
}

ul.vertMenu
{
    width: 100%; /* border: solid 1px #333333; */
    margin: 0;
    padding: 0;
    line-height: 2em; /* background-color: #EFEFEF; */
}

ul.vertMenu .menuItem, #ppaccMenu .menuItem
{
    white-space: normal;
}

/*
ul.vertMenu li
{
    border-bottom: solid 1px #333333;
}
ul.vertMenu li a
{
    padding-left: 5px;
    width: 193px;
    display: block;
    color: Black;
}
ul.vertMenu a:hover, ul.vertMenu a.static.selected
{
    background-color: #9A1B1F;
    color: White;
}
*/
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Progress
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.progress
{
    display: block;
    position: absolute;
    padding: 2px 3px;
}
.procontainer
{
    border: solid 1px #808080;
    border-width: 1px 0px; /* width: 620px; */
}
.proheader
{
    background-color: #ccc;
    border-color: #808080 #808080 #ccc;
    border-style: solid;
    border-width: 0px 1px 1px;
    padding: 0px 10px;
    color: #000000;
    font-size: 9pt;
    font-weight: bold;
    line-height: 1.9;
    font-family: arial,helvetica,clean,sans-serif;
    text-align: center;
}
.probody
{
    background-color: #f2f2f2;
    border-color: #808080;
    border-style: solid;
    border-width: 0px 1px;
    padding: 10px;
    text-align: center;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	RS Multi Portfolio 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.portchecklist {
    padding: 0;
    margin: 0;
    border-spacing: 0;
    border-style: none;
    border-width: 0;
}
.portchecklist td {
    height: 25px;
    border-spacing: 0;
    padding: 0;
    color: #000000;
}
.portchecklist input, checkbox {
    margin: 0 5px 0 5px;
    border-style: none;
    border-width: 0;
    padding: 0;
}
.multiportbox {
    border: solid 1px #999999;
    height: 400px;
    width: 298px;
    overflow-y: scroll;
    background-color: #F5F5F5;
    z-index: 10;
    line-height: normal;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
	Allocation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.CommentBox {
    margin-top: 30px;
}
.CommentDate {
    margin-left: 10px;
    font-style: italic;
    color: #666666;
}
div.allocSelBox {
    float: left;
    width: 27%;
    height: 26px;
    text-align: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    -moz-border-top-left-radius: 15px;
    -moz-border-top-right-radius: 15px;
    background-color: #1D5287; /*#9A1B1F;*/
    border: solid 1px #333333;
    border-bottom: none;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Message
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.msg {
    display: none;
}
.success, .warning {
    color: #555;
    padding: 10px;
    display: block;
}
.success {
    background-color: #C6F7A5;
}
.warning {
    background-color: #DFA6A6;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tabs 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.TabStyle .ajax__tab_tab, .BigTabStyle .ajax__tab_tab {
    margin-right: 7px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    display: -moz-inline-box;
    display: inline-block;
    height: 13px;
    padding: 5px;
    background-color: #333333;
    color: #FFFFFF;
}
.TabStyle .ajax__tab_active .ajax__tab_tab, .BigTabStyle .ajax__tab_active .ajax__tab_tab {
    background-color: #9a1b1f;
}
.TabStyle .ajax__tab_hover .ajax__tab_tab, .BigTabStyle .ajax__tab_hover .ajax__tab_tab {
    background-color: #9a1b1f;
}
.TabStyle .ajax__tab_body, .BigTabStyle .ajax__tab_body {
    background-color: #FFFFFF;
    border: 1px solid #333333;
    padding: 10px 8px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomright: 10px;
}
.TabStyle .ajax__tab_header {
    font-family: verdana,tahoma,helvetica;
    font-size: 11px;
}
.TabStyle .ajax__tab_inner {
    display: -moz-inline-box;
    display: inline-block;
}
.BigTabStyle .ajax__tab_tab {
    margin-right: 15px;
    height: auto;
    padding: 10px;
    width: 135px;
}
.BigTabStyle .ajax__tab_header {
    font-family: Sans-Serif;
    font-size: 15px;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non-Ajax Tabs 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #ccc;
}
    /* button inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 10px 0;
        transition: 0.3s;
        font-size: 1.3rem;
        width: 40%;
        box-sizing: border-box;
    }
        /* background color on hover and active */
        .tab button:hover, .tab button.active {
            background-color: #1D5287; /*#2c59a1;*/
            color: #fff;
        }

.tabcontent {
    display: none;
    padding: 10px 5px;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #f5f5f5;
    height: 240px;
    overflow-y: auto;
    /*border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;*/
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
overview
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.prestncontainer {
    position: relative;
    padding-bottom: 81.44%; /* padding-top: 35px; */
    height: 0;
    overflow: hidden;
}

.prestncontainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
radio
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.etfradio label {
    vertical-align: middle;
}
.etfradio input[type="radio"] {
	vertical-align: text-top;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
 Port Edit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.portheadbox {
    width: 440px;
    font-weight: bold;
}
.porttable {
    table-layout: fixed;
    white-space: nowrap;
}
.porttable td {
        padding: 2px 0;
        width: 70px;
        box-sizing: border-box;
        display: table-cell;
        white-space: nowrap;
}
td.colportname {
    width: 220px;
    font-size: 1.3rem;
}
span.ptetfname {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
 Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.blogcontent {
	float: left;
	width: 70%;
}

p.postdate {
    margin: 20px 0 30px;
}

.postbox {
    padding-bottom: 30px;
    border-bottom: 1px solid #999999;
    margin-bottom: 30px;
}

.blogcontent .postimg_thumb, .blogcontent img
{
    width: 100%;
    max-width: 750px;
    height: auto;
}

.blogcontent img {
    border:1px solid #ccc; 
    box-sizing: border-box;
}

.blogside {
	float: right;
	width: 25%; /*28%;*/
}
.blogside ul {
    list-style: none;
    padding:0;
    margin:0;
    }

.blogside ul li {
    line-height: 2em;
}

.blogside ul li a {
    text-decoration: none;
}

.blogpager {
    margin-bottom: 20px; 
    text-align: center;
}

.blogpager a, .blogpager span {
    display:inline-block;
    margin: 0 8px;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Screen > 810
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media screen and (min-width: 811px) {
    .catcol {
    max-width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    }
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Small Screens 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media screen and (max-width: 1080px) {
    .etf-footer, .content-container, #breadcrumbs_outer, #header-outer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 1045px)
{
    .barbox
    {
        display: none;
    }
    div.thirdbox
    {
        width: 50%;
    }
    span.ytdLbl
    {
        display: inline;
        width: auto;
        float: none;
        padding: 0;
    }
}
@media screen and (max-width: 920px)
{
    .highbox, .lowbox, .statboxR, .statboxL, .btnbox, div.halfboxStatR, div.halfbox, div.halfboxStatL
    {
        float: none;
    }
    .btnbox
    {
        clear: left;
    }
    /* summary stats */
    .highbox, .lowbox, .statboxR, .statboxL, div.halfboxStatR, div.halfbox, div.halfboxStatL
    {
        width: 100%;
    }
    .statboxL
    {
        margin-top: 20px;
        min-width: 100%;
    }
    ul.portfolioselect li.port #ddl_portB, ul.portfolioselect li.port #ddl_portC {
        max-width: 210px;
    }

    /*div.halfboxmarg ul.portfolioselect #ddl_portB, div.halfboxmarg ul.portfolioselect #ddl_portC,
    div.halfboxmargR ul.portfolioselect #ddl_portB, div.halfboxmargR ul.portfolioselect #ddl_portC {
        max-width: 210px;
    }*/
}
@media screen and (max-width: 900px)
{
    div.optbox
    {
        float: none;
        width: 100%;
        margin-top: 10px;
    }
    div.controlboxma
    {
        width: 100%;
        float: none;
        max-width: 100%;
    }
    .portheadbox {
        width: 240px;
    }
    .porttable td {
        width: 80px;
    }
    td.colportname {
        display: none;
    }
}

@media screen and (max-width: 880px)
{
    div.combinecontrols
    {
        width: 100%;
        margin-bottom: 25px;
    }
    div.periodbox
    {
        float: none;
    }
    .graphicbarright, .graphicbar
    {
        display: none;
    }
}
@media screen and (max-width: 825px)
{
    #logobox, #rhsbox
    {
        float: none;
        margin: 0 auto;
    }
    #rhsbox
    {
        width: 100%;
        max-width: 530px;
    }
    div.thdbox {
        width: 45%;
    }
    div.footerX, div.footerZ {
        width: 100%;
        text-align: center;
    }
    /*.content-container
    {
        max-width: 95%;
    }*/
    div.controlbox, div.factorbox, div.thirtybox, div.controlboxR, div.seventybox, div.halfboxmarg, div.halfboxmargR, #screenermenu, div.loginboxL, div.loginboxR
    {
        width: 100%;
        float: none;
    }
    div.factorbox
    {
        margin-top: 20px;
        max-width: 550px;
    }
    ul.factorselect, ul.screenerselect
    {
        width: 100%;
    }
    ul.factorselect li.head, ul.screenerselect li.head
    {
        width: 31%;
    }
    ul.portfolioselect li.fromhead
    {
        clear: left;
        width: 25%;
        min-width: 135px;
        text-align: left;
    }
    .chartmain, .chartsub
    {
        float: none;
        text-align: center;
        width: 100%;
    }
    .chartsub, div.halfboxmarg, div.halfboxmargR
    {
        max-width: 100%;
    }
    div.halfbox, div.seventybox, div.halfboxStatR, div.halfboxmarg, div.halfboxmargR, div.controlboxR
    {
        margin-top: 10px;
    }
    #pnl_xmsub, #updatepanel_model, #UpdatePanelDT
    {
        display: none;
    }
    /* .treemenu, .screenerlistholder
                    {
                        max-height: 220px;
                    } 
                    .screenerlistholder
                    {
                        overflow-x: hidden;
                    }*/
    .screenerlistouter
    {
        border-width: 0;
    }
    .screenerfilterbox
    {
        float: left;
        border-width: 0;
    }
    #pnl_portfoliomenu
    {
        float: right;
    }
    div.statboxholder
    {
        float: none;
        margin: 0 auto;
    }
    div.qrterbox
    {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    div.catbox
    {
        width: 50%;
    }
    div.postsnip
    {
        width: 46%;
        margin-bottom: 20px;
    }

    #tblHeldStats, #tblAnnual, #tblTrades, #tblTradesProv
    {
        min-width: 710px;
    }
}
@media screen and (max-width: 800px) {
    #settingsbox {
    width: 100%;
    text-align:left;
    margin-bottom: 10px;
    }
    #headtitle {
    width: 100%;
    }
}
@media screen and (max-width: 760px)
{
    div.thirdbox, div.toolbox, div.pdbox, div.halfboxNW
    {
        width: 100%;
        float: none;
    }
    div.pdbox
    {
        margin-top: 10px;
    }
    a.lnkModalChart
    {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
    .blogcontent {
    float: none;
    width: 100%;
    padding: 0;  
    margin: 0;  
    }
    .blogside {
	float: none;
	width: 100%;
	margin: 25px 0 0;
    }   
}
@media screen and (max-width: 690px)
{
    #tblScreener
    {
        min-width: 350px;
    }
    .screenerETFColHead, .screenerETFCol
    {
        display: none;
    }
}
@media screen and (max-width: 580px)
{
    div.seventyboxL
    {
        padding-left: 10px;
    }
    .ChartBackText 
    {
        font-size: 1.7rem;
    }
}
@media screen and (max-width: 550px)
{
    #nav li.searchli, #nav li ul, #nav li:hover ul, .hoverCol, #btnHoldings, #btnPending
    {
        display: none;
    }
    ul#nav li.tabA
    {
        width: 12.98404%;
    }
    div.sidenav
    {
        width: 200px;
        max-width: 200px;
        float: none;
        text-align: center;
        border-right: none;
        min-height: 0;
        margin-bottom: 20px;
        margin: 0 auto 20px;
    }
    div.contactnav
    {
        display: none;
    }
    /*ul#nav li.tabB {width: 13.2075%;}*/
    ul#nav li.tabC
    {
        width: 18.451%;
    }
    ul#nav li.tabD
    {
        width: 25.05693%;
    }
    div.seventyboxL, div.subboxL
    {
        float: none;
        width: 100%;
        padding-left: 0;
    }
    span.smnote
    {
        display: block;
    }
    div.subboxR
    {
        width: 100%;
    }
    div.subboxL
    {
        border: none;
        text-align: center;
        padding: 10px 0;
        height: auto;
    }
    div.subboxR
    {
        float: none;
        border: none;
        height: auto;
    }
    .portEditlink
    {
        display: none;
    }
    ul.portfolioselect li.etfname
    {
        overflow: hidden;
        max-width: 230px;
    }
    span.noteCount
    {
        display: block;
        margin-left: 0;
    }
}
@media screen and (max-width: 450px)
{
    div.thdbox {
        width: 100%;
    }
    .etf-footer, .content-container, #breadcrumbs_outer, #header-outer {
        padding-left: 10px;
        padding-right: 10px;
    }
    div.catbox, div.statboxholder
    {
        width: 100%;
        float: none;
    }
    div.postsnip
    {
        width: 96%;
    }
    #txtName, #txtEmail, #txtMessage, #txtReason
    {
        width: 280px;
    }
    #breadcrumb-half
    {
        width: 100%;
        float: none;
        display: none;
    }
    #greet-half, .footer-half, .footer-halfR
    {
        width: 100%;
        float: none;
        text-align: center;
    }
    ul#nav li
    {
        /*top level items*/
        text-align: center;
        float: none;
        height: 1.6em;
        line-height: 1.6em;
        border-left: 0 solid #999;
        border-top: 1px solid #999;
    }
    ul#nav, #rhsbox
    {
        height: auto;
    }
    ul#nav
    {
        /* border-bottom 1px solid #333; */
        margin-top: 10px;
    }
    ul#nav li.tabA, ul#nav li.tabB, ul#nav li.tabC, ul#nav li.tabD
    {
        width: 100%;
    }
    #nav li:hover a, #nav li.over a /*top level links */
    {
        border-bottom: 0 solid #FFF;
    }
    #header-outer {
        border-bottom: none;
    }
    #top-information
    {
        padding-bottom: 0;
    }
    .screenerfilterbox, #pnl_portfoliomenu
    {
        float: none;
    }
    .screenerfilterbox, .screenerlistouter
    {
        margin-left: auto;
        margin-right: auto;
    }
    ul.portfolioselect li.etfname
    {
        clear: left;
        /*float: none;*/
        width: 100%;
        max-width: 100%;
    }
    #AddMAhead, .inlineNote
    {
        margin-left: 0;
        display: block;
    }
    input.ntbutton {
        width: 100px;
    }
    input.grbutton {
        width: 110px;
        overflow:hidden;
        text-overflow: ellipsis;
    }
    div.halfboxStatL ul.portfolioselect li.head, div.halfboxStatR ul.portfolioselect li.head {
        width: 264px;
    }
    #pnlPortSearch input[type="text"] {
        width: 175px;
    }

}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
Printing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media print
{
    body
    {
        background-color: transparent;
        font-size: 1.2rem;
    }

    #content-container, .collapsePanel
    {
        background-color: #FFFFFF;
        color: #000000;
    }
    #topcontainer, .etf-footer, img.arrowbtn, input.arrowbtn, .etfcheckbox, input.blackarrow, div.catbox img, #pnl_xmsub, .helplink, #screenermenu, .portEditlink,
    .quasilink, .rdbutton, span.np, #chartbg, #settingsbox, .shhiLbl, input.efbutton {
        display: none;
    } 
    #container
    {
        border-top: none;
    }
    #content-container
    {
        border-bottom: none;
    }
    div.section
    {
        clear: both;
        margin: 20px 0 25px 0;
        border-top: none;
    }
    h1, h2
    {
        color: #000000;
    }
    .statboxR
    {
        float: none;
        width: 100%;
        margin-bottom: 15px;
    }
    div.halfboxStatR, div.halfbox, div.seventybox
    {
        float: none;
        width: 100%;
        margin-top: 10px;
    }
    .tradesection 
    {
        clear: both;
        margin: 0;
        border-top: none;
    }
    /*  .tradesection */
  .chartbox
    {
       /*  page-break-before: always;
        break-before: always; */
        page-break-inside: avoid;
        break-inside: avoid;
    }
    table.modtable {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    table.modtable tbody tr {
    line-height: 1.2em;
}

    #tblHeldStats, #tblAnnual, #tblTrades, #tblTradesProv
    {
        min-width: 100%;
    }
    div.controlboxma, div.optbox, div.controlboxR, div.periodbox, div.combinecontrols, div.halfboxStatL {
        float: none;
        width: 100%;
    }
    #headtitle {
        width: 100%;
    }
    div.controlboxR, div.periodbox {
        margin-top: 10px; /*div.optbox*/
    }
    div.controlbox {
        float: left;
        width: 67%;
        max-width: 700px;
    }
    ul.portfolioselect li.etfname {
        width: auto; /*62% 56%; */
        height: 1.6em;
    }
    ul.portfolioselect li.fromhead {
        clear: left;
        width: 25%;
        min-width: 135px;
        text-align: left;
        text-transform: capitalize;
    }
    div.factorbox {
        /*max-width: 700px;*/
        float: right;
        width: 33%;
        max-width: 260px;
    }
    ul.portfolioselect li.port #ddl_portB, ul.portfolioselect li.port #ddl_portC {
        max-width: 210px;
    }

    /*
    div.halfboxmarg ul.portfolioselect #ddl_portB, div.halfboxmarg ul.portfolioselect #ddl_portC,
    div.halfboxmargR ul.portfolioselect #ddl_portB, div.halfboxmargR ul.portfolioselect #ddl_portC {
        max-width: 210px;
    }
    ul.factorselect 
    {
        width: 100%;
    }
    ul.factorselect li.head
    {
        width: 25%;
    }*/

  /*
    table.modtable 
    {
        float:none;
    }    
    table.modtable
    {
        max-width: 100% !important;
    }
 h2, h3
    {
        page-break-after: avoid;
        break-after: avoid;
    }
    */
    /*div.factorbox, div.controlbox 
    {
        width: auto;
    }
    */

}
