/*
    COLORS:
        text.bright:    fff
        text.base:      c4c0c0
        highlight:      f6a
        focus:          f04
        bg.lighter:     403c3c
        bg.base:        302c2c
        bg.bright:      655
        bg.dark:        100e0e
*/
/*-- Global -----------------------------------------------------------------*/
*
{
    margin: 0;
    padding: 0;
    border: 0;
}

::-webkit-scrollbar
{
    background: #000;
}
::-webkit-scrollbar-thumb
{
    background: #222;
}

html
{
    height: 100%;
    overflow-y: scroll;
    scrollbar-color: #222 #000;
}

body
{
    font-size: 18px;
    height: 100%;
    color: #c4c0c0;
    font-family: Arial, Helvetica;
    background-color: #302c2c;
    /*background-image: url('/media/bg.lines.png');*/
}

table
{
    border-spacing: 0;
    border-collapse: collapse;
    display: inline-table;
}
table.fill
{
    width: 100%;
    height: 100%;
}
td
{
    vertical-align: top;
}
 
a:link, a:visited
{
    color: #f04;
    text-decoration: none;
}
a.large
{
    font-weight: normal;
}
a.small
{
    font-size: 12px;
}
a:hover
{
    color: #f6a;
}

video
{
    border: 1px solid #000;
}

/* hijacked for line spcaing use */
hr
{
    display: block;
    border: 0;
    padding: 8px;
}

.disable
{
    cursor: not-allowed;
    opacity: 0.5;
}

.noselect
{
    user-select: none;
}

/*-- Widgets ----------------------------------------------------------------*/
.Button
{
	display: inline-block;
	text-align: center;
    color: #fff;
    cursor: pointer;
	border: 1px solid rgba(0,0,0,0);
}
.Button:hover
{
    background-color: rgba(255,0,64,.3);
	border: 1px solid #f04;
}
.RootNavButton
{
	padding: 6px 6px 4px 6px;
    height: 21px;
}
.MainNavButton
{
	padding: 6px 12px 4px 12px;
    height: 25px;
}
.SideNavButton
{
	display: block;
	padding: 6px 20px;
    height: 20px;
    font-size: 18px;
    text-align: left;
}
.AppButtonGroup
{
    display: inline-block;
}
.AppButton
{
    background-color: #000;
    width: 484px;
    height: 180px;
    margin-bottom: 4px;
    box-shadow: 6px 6px 0px rgba(0,0,0,.5);
}
.AppButtonSubGroup
{
    margin-left: 4px;
    margin-bottom: 15px;
    width: 100%;
}
.AppSubButton
{
    background-color: #000;
	padding: 4px 0px 4px 0px;
    width: 100%;
}
.ControlButton
{
	border: 1px solid #000;
    background-color: #403c3c;
    color: #fff;
    font-size: 24px;
	padding: 12px 32px;
}
.FocusButton
{
    background-color: #302c2c;
    border: 1px solid #5c5050;
    font-size: 28px;
	display: block;
	padding: 12px 32px;
}
.FocusButton:hover
{
    color: #fff;
}

@keyframes LoadingIconAnim
{
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.LoadingIcon
{
	display: inline-block;
    border: 6px solid #302c2c;
    border-top: 6px solid #fc0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: LoadingIconAnim 2s linear infinite;
}

bullet:before
{
    color: #f04;
    content: "\2022";
}

/*-- Containers -------------------------------------------------------------*/
.Core
{
    height: 100%;
}

.Popup
{
    display: none;
    position: absolute;
    vertical-align: bottom;
    overflow: auto;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.PopupContainer
{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    padding: 20px;
    border: 1px solid #000;
    background-color: #302c2c;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
}
.PopupContent
{
    padding-bottom: 20px;
}

.Panel
{
}
.PanelHeader
{
    color: #fff;
    padding: 6px 18px 2px 18px;
    font-size: 24px;
    text-shadow: 2px 2px 0 rgba(0,0,0,1);
    background-color: rgba(0,0,0,.4);
}
.PanelContent
{
    padding: 14px 18px;
    background-color: rgba(0,0,0,.2);
}

.AboutText
{
    font-size: 22px;
    font-style: italic;
    color: #fff;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}
.LargeText
{
    font-size: 36px;
    color: #fff;
}
.MediumText
{
    font-size: 30px;
    color: #fff;
}
.FocusText
{
    color: #fff;
    font-weight: bold;
}

table.Major
{
    border-collapse: separate;
    border-spacing: 16px;
    margin: -16px;
}

table.HList
{
    display: block;
}
table.HList tr > td:first-child
{
    color: #f04;
    padding-right: 10px;
}
table.HList tr > td:nth-child(2)
{
    color: #fff;
}

table.VList
{
    display: block;
}
table.VList tr:nth-child(odd) > td
{
    padding-top: 8px;
}
table.VList tr:first-child > td
{
    padding-top: 0px;
}
table.VList tr:nth-child(odd) > td:first-child
{
    color: #f04;
    padding-right: 10px;
}
table.VList tr:nth-child(odd) > td:nth-child(2)
{
    color: #fff;
}

/*-- Layout -----------------------------------------------------------------*/
.RootNav
{
    height: 38px;
    width: 100%;
    text-align: center;
    position: absolute;
    font-size: 16px;
    background-color: rgba(24,20,20,.8);
    backdrop-filter: saturate(50%);
}
.RootBody
{
    height: 100%;
    text-align: center;
    vertical-align: top;
}
.RootFooter
{
    text-align: center;
    vertical-align: middle;
    background-color: rgba(0,0,0,.5);
}
.RootContent
{
    height: 100%;
    width: 100%;
    max-width: 1000px;
    display: inline-table;
    text-align: left;
}

.MainHeader
{
    vertical-align: bottom;
    background-color: rgba(0,0,0,.1);
    border-bottom: 1px solid #000;
}
.MainHeaderBanner
{
    text-align: center;
    margin:5px 0px;
}
.MainHeaderNav
{
    height: 37px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    background-color: rgba(24,20,20,.5);
    backdrop-filter: saturate(50%);
}

.MainBody
{
    padding: 40px 0px 40px 0px;
}
.MainBodyNav
{
    padding: 40px 0px 40px 40px;
}

.SideNav
{
    width: 150px;
    height: 100%;
    background-color: rgba(0,0,0,.1);
    border-right: 1px solid #000;
}

/*-- Specific ---------------------------------------------------------------*/
.BrokerState
{
    padding: 6px;
    background-color: #000;
	border: 1px solid #655;
}

.HomeMainHeader
{
    height: 350px;
    background-color: #585353;
    background-image: url('/media/home/Header.png');
    background-repeat: no-repeat;
    background-position: bottom center;
}

.AboutMainHeader
{
    height: 350px;
    background-color: #585353;
    background-image: url('/media/home/Header.png');
    background-repeat: no-repeat;
    background-position: top center;
}

.YsMainHeader
{
    height: 320px;
    background-color: #000b00;
    background-image: url('/media/ys/Header.png');
    background-repeat: no-repeat;
    background-position: center;
}

.YxMainHeader
{
    height: 320px;
    background-color: #2b3444;
    background-image: url('/media/yx/Header.png');
    background-repeat: no-repeat;
    background-position: center;
}

.YcMainHeader
{
    height: 320px;
    background-image: url('/media/yc/Header.png'), linear-gradient(#6699ff, #3344cc);
    background-repeat: no-repeat;
    background-position: center;
}
