/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/**/

.left{
    float: left;
}
.right{
    float: right;
}
.header .right ul, .footer .right ul{
    list-style-type: none;
}
.header .right ul li, .footer .right ul li{
    display: inline;
}
a, ul.a, .body .blocks .block h5 a{
    color: #003399;
}
a:hover, .body .blocks .block h5 a:hover{
    color: #0066cc;
}
ul{
    margin: 10px 0 10px 15px;
    padding: 0;
}
li{
    margin-bottom: 5px;
}
.scroll{
    overflow-y: scroll;
}

/**/

.page{
    width: 968px;
    margin: 0 auto;
    border-top: 3px solid #6a9bcd;
    font: 13px/18px Verdana,Arial,sans-serif;
}

.header
{
    height: 77px;
    margin-bottom: 28px;
    border: 1px solid #3699c7;
    border-top: 1px solid #a5cce9;
    background: #70addb;
    background: -moz-linear-gradient(top,  #70addb 0%, #6699cc 50%, #aad0e8 99%, #9fc9e8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#70addb), color-stop(50%,#6699cc), color-stop(99%,#aad0e8), color-stop(100%,#9fc9e8));
    background: -webkit-linear-gradient(top,  #70addb 0%,#6699cc 50%,#aad0e8 99%,#9fc9e8 100%);
    background: -o-linear-gradient(top,  #70addb 0%,#6699cc 50%,#aad0e8 99%,#9fc9e8 100%);
    background: -ms-linear-gradient(top,  #70addb 0%,#6699cc 50%,#aad0e8 99%,#9fc9e8 100%);
    background: linear-gradient(to bottom,  #70addb 0%,#6699cc 50%,#aad0e8 99%,#9fc9e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#70addb', endColorstr='#9fc9e8',GradientType=0 );
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    -webkit-box-shadow: 0px 1px 1px #d9d9d9;
    box-shadow: 0px 1px 1px #d9d9d9;
    
}

.header .left{
    padding: 7px 0 0 15px;
}

.header .right ul{
    margin: 25px 36px 0 0;
}

.header .right ul li a{
    margin-left: 13px;
    padding: 4px 14px 8px;
    color: #fff;
    line-height: 100%;
    font-size: 14px;
}

.header .right ul li a:hover{
    background: #336699;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.header .right ul li.active a{
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #006699;
}

.body .short{
    width: 660px;
}

.body .right{
    width: 285px;
}

.text{
    padding-left: 10px;
    width: 650px;
}

.long{
    width: 938px;
}

.crumbs, .crumbs a{
    color: #688aae;
}

.content h1{
    font: 24px/30px Verdana,Arial,sans-serif;
    color: #4177ac;
}

.content h2{
    font: 20px/28px Verdana,Arial,sans-serif;
}

.content h3{
    font: 17px/22px Verdana,Arial,sans-serif;
    color: #666;
}

.go {
    width: 250px;
    background: #5790d5;
    padding: 4px 7px 7px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.go a{
    color: #fff;
}

.body .dark{
    padding: 15px;
    width: 255px;
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #eee;
}

.year
{
    margin-right: 15px;
    width: 120px;
    float: left;
}

.year li, .year li a{
    text-align: center;
    list-style-type: none;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.year li a{
    display: block;
    background: #d5e7f3;

    padding: 5px 0 8px;
}

.year li a:hover{
    background: #0066cc;
    color: #fff;
}

.year li.d{
    border: 1px solid #ccc;
    color: #666;
    padding: 5px 0 8px;
}

.year li.y a, .year li.y a:hover{
    background: #fff;
    color: #1141a0;
    font-size: 18px;
}

.crumbs a:hover{
    color: #4177ac;
}

.block h5, .chat h1{
    font: bold 16px/20px Verdana,Arial,sans-serif;
    margin: 0;
}

.block h5 a{
    color: #000;
    text-decoration: none;
}

/*.block p{
    margin-bottom: 20px;
}*/

.border
{
    border-bottom: 1px solid #ccc;
}

.border, .online{
    margin-bottom: 20px;
}

.online{
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding: 3px;
}

.online h5{
    padding: 5px 7px 8px 7px;
    background: #f7f8f8;
    background: -moz-linear-gradient(top,  #f7f8f8 0%, #dadada 50%, #f7f8f8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f8f8), color-stop(50%,#dadada), color-stop(100%,#f7f8f8));
    background: -webkit-linear-gradient(top,  #f7f8f8 0%,#dadada 50%,#f7f8f8 100%);
    background: -o-linear-gradient(top,  #f7f8f8 0%,#dadada 50%,#f7f8f8 100%);
    background: -ms-linear-gradient(top,  #f7f8f8 0%,#dadada 50%,#f7f8f8 100%);
    background: linear-gradient(to bottom,  #f7f8f8 0%,#dadada 50%,#f7f8f8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f8f8', endColorstr='#dadada',GradientType=0 );
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#f7f8f8ff, endColorstr=#dadada)";
    border: 1px solid #b8b8ba;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #333;
    /*behavior: url(/share/css/PIE.htc);*/
}

.online h5 span{
    padding: 5px;
    float: right;
    font: 13px/13px Verdana,Arial,sans-serif;
    color: #cc3300;
    background: #fff;
}

i.i-online{
    margin-left: 10px;
    width: 32px;
    height: 20px;
    display: inline-block;
    vertical-align: bottom;
    background: url('/share/images/new/online.png') no-repeat;
}

.body .right .scroll{
    margin: 2px;
    padding: 5px;
    height: 140px;
}

.body .right .scroll p{
    margin: 0;
}

.content .chat{
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #dcdcdc;
}

.content .chat h1, .roll h3{
    margin: 3px;
    padding: 7px 7px 10px 10px;
    border: 1px solid #b8b8ba;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #f7f8f8;
    background: -moz-linear-gradient(top, #f7f8f8 0%, #d9d9d9 50%, #f7f8f8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f8f8), color-stop(50%,#d9d9d9), color-stop(100%,#f7f8f8));
    background: -webkit-linear-gradient(top, #f7f8f8 0%,#d9d9d9 50%,#f7f8f8 100%);
    background: -o-linear-gradient(top, #f7f8f8 0%,#d9d9d9 50%,#f7f8f8 100%);
    background: -ms-linear-gradient(top, #f7f8f8 0%,#d9d9d9 50%,#f7f8f8 100%);
    background: linear-gradient(to bottom, #f7f8f8 0%,#d9d9d9 50%,#f7f8f8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f8f8', endColorstr='#d9d9d9',GradientType=0 );
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#f7f8f8, endColorstr=#d9d9d9)";
    color: #333;
}

.content .chat h1 span{
    padding: 4px 10px 6px;
    float: right;
    font: 13px/13px Verdana,Arial,sans-serif;
    color: #666;
    background: #fff;
}

i.i-chat{
    margin-bottom: -2px;
    margin-left: 7px;
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: bottom;
    background: url('/share/images/new/chat.png') no-repeat;
}

.content .chat .scroll{
    margin-bottom: 5px;
    padding: 0 0 2px 5px;
    max-height: 550px;
    background: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 3px solid #eee;
}

.content .chat .scroll p{
    margin: 0;
    padding: 0 5px 3px 3px;
    border-bottom: 1px solid #dcdcdc;
}

.content .chat .scroll p span.time{
    width: 70px;
    display: inline-block;
    color: #666;
    font-size: 11px;
}

.body .blocks{
    margin-top: 23px;
    padding: 15px 0;
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.body .blocks .block{
    margin-left: 20px;
    width: 300px;
    float: left;
}

.body .blocks .block h5 a{
    border-bottom: 1px solid #003399;
}

.body .blocks .block h5 a:hover{
    border-bottom: 1px solid #0066CC;
}

.button{
    display: inline-block;
    padding: 2px 10px 5px;
    border: 1px solid #446cbc;
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    border-radius: 13px;
    background: #9ac3f1;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzlhYzNmMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzQ1ODBjOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzNzYzYTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #9ac3f1 0%, #4580c8 50%, #3763a3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9ac3f1), color-stop(50%,#4580c8), color-stop(100%,#3763a3));
    background: -webkit-linear-gradient(top, #9ac3f1 0%,#4580c8 50%,#3763a3 100%);
    background: -o-linear-gradient(top, #9ac3f1 0%,#4580c8 50%,#3763a3 100%);
    background: -ms-linear-gradient(top, #9ac3f1 0%,#4580c8 50%,#3763a3 100%);
    background: linear-gradient(to bottom, #9ac3f1 0%,#4580c8 50%,#3763a3 100%);
    -webkit-box-shadow: 0 1px 1px #b2b2b2;
    box-shadow: 0 1px 1px #b2b2b2;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ac3f1', endColorstr='#3763a3',GradientType=0 );
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#9ac3f1, endColorstr=#3763a3)";
    color: #fff;
    text-decoration: none;
}
.button:hover{
    color: #fff;
    box-shadow: inset 0 1px 3px #a3ceff, 0 1px 2px #929292;
}

span.sub{
    margin-left: 10px;
    font: 10px/14px Verdana,Arial,sans-serif;
    color: #666;
    display: inline-block;
    vertical-align: middle;
}

.footer{
    margin-top: 20px;
    border-top: 3px solid #b8cfe7;
}

.footer .left p{
    font: 10px/14px Verdana,Arial,sans-serif;
    color: #999;
    width: 200px;
}

.footer .right{
    width: 700px;
}

.footer .right li{
    margin-right: 30px;
}

.footer .right ul{
    margin-top: 5px;
}

.footer .right li a{
    color: #8da7c2;
}

.footer .right li.start{
    margin-right: 10px;
}

.body .in{
    width: 245px;
    padding: 15px;
    border: 1px solid #ccc;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.in h2{
    margin-top: 0;
}

.month{
    width: 620px;
    padding: 3px;
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.month ul{
    margin-right: 5px;
    width: 45px;
}

.month li.y{
    color: #4177ac;
    border: 1px solid #d5e7f3;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    padding-bottom: 3px;
}

.month li.d{
    padding: 4px 0 6px;
}

.roll h3{
    text-align: center;
}

.roll h3 a.left, .roll h3 a.right{
    margin-top: -3px;
    width: 55px;
    height: 31px;
    background: url('/share/images/new/left.png');
}

.roll h3 a.right{
    background: url('/share/images/new/right.png');
}

.roll h3 a.right:hover{
    background: url('/share/images/new/right-hover.png');
}

.roll h3 a.left:hover{
    background: url('/share/images/new/left-hover.png');
}

.month .clearfix{
    padding-left: 80px;
}

.day ul{
    margin: 0;
}

.day li{
    list-style-type: none;
}

.table{
    float: right;
    width: 770px;
    padding: 0 15px 15px;
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.table h2{
    text-align: center;
}

.table td{
    padding: 5px;
    border: 1px solid #ccc;
    font: 12px/14px Verdana,Arial,sans-serif;
}

.table tr.forex_events_head td{
    background: #e8e8e8;
    color: #666;
    text-align: left;
}
.n{
    height: 31px;
}