/*
 * 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
   ========================================================================== */

body{
    background: #000;
    color: #f2f2f2;
    font-size: 0.8em;
}
.page{
    position: relative;
    width: 1200px;
    height: 639px;
    overflow: hidden;
    margin: 0 auto;
}
.page#homepage{
    height: 705px;

}
header{
    position: absolute;
    background: url(../images/header_grad.gif);
    height: 79px;
    width: 100%;
}
nav{
    position: absolute;
    top: 27px;
    right: 28px;
}
nav li{
    float: left;
    margin-left: 6px;
    color: #f9240e;

}
nav li:after {
    content: '/';
}
nav li.last:after {
    content: '';
}
nav a{
    color: #f9240e;
    padding-right: 6px;
    transition: color 0.5s;
    -moz-transition: color 0.5s; /* Firefox 4 */
    -webkit-transition: color 0.5s; /* Safari and Chrome */
    -o-transition: color 0.5s; /* Opera */
    text-decoration: none;
}
nav li.last a{
    padding-right: 0;
}
nav a:hover, nav a.sel{
    color: #fff;
}
.logo{
    position: absolute;
    top: 10px;
    left: 15px;
    width: 435px;
    height: 50px;
    background: url(../images/logo.gif);
}
#main{
    position: absolute;
    height: 473px;
    top: 79px;
}
h1, h2, h3, h4, p, ul, li{
    margin-top: 0;
    margin-bottom: 0.9em;
}
.content{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    /*background: rgba(0,0,0,0.8);*/
    width: 304px;
    height: 441px;
    overflow: hidden;
    padding: 16px 19px;
}
.content h1, .transactionheader{
    font-weight: normal;
    font-size: 1.4em;
}
.transactionheader{
    margin: 16px 0 0 19px;
}
.content h2{
    font-weight: normal;
    font-size: 1.4em;
    margin-top: 1.8em;
    margin-bottom: 0.5em;
}
.content h2 em{
    font-style: normal;
    font-size: 0.7em;
}
.content p{
    font-style: normal;
    margin-bottom: 1.4em;
}
.content strong{
    font-size: 1.1em;
}
.content a{
    color: #fff;
    transition: color 0.5s;
    -moz-transition: color 0.5s; /* Firefox 4 */
    -webkit-transition: color 0.5s; /* Safari and Chrome */
    -o-transition: color 0.5s; /* Opera */
}
.content a:hover{
    color: #f9240e;
}

#slideshow{
    width: 1200px;
    height: 473px;
    overflow: hidden;
}

footer{
    position: absolute;
    background: url(../images/footer_grad.gif);
    height: 74px;
    bottom: 0;
    width: 1172px;
    text-align: right;
    padding: 13px 28px 0 0;
}
#homepage footer{
    height: 140px;

}

footer h3{
    font-weight: normal;
    font-size: 1.6em;
    margin: 0;
}
footer p{
    font-size: 0.8em;
    margin: 0;
}
footer p.small{
    position: absolute;
    font-size: 0.7em;
    margin: 0;
    bottom: 14px;
    right: 28px;
    color: #4d4d4f;
}

.homecontent, .hometransaction{
    position: absolute;
    top: 489px;
    left: 0;
    width: 359px;
    height: 121px;
    z-index: 100;
    padding: 0 19px 0 28px;
    border-right: 1px solid #505050;
}
.hometransaction{
    left: 407px;
    width: 375px;
    padding: 0 0 0 12px;
}
.homecontent h1, .hometransaction h2, .hometransaction h3{
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 5px;
}
.homecontent p, .hometransaction p{
    color: #939598;
    font-size: 0.8em;
}
.hometransaction p a{
    display: inline-block;
    color: #ccc;
    background: #343434 url(../images/homearrow.gif) right center no-repeat;
    text-decoration: none;
    font-size: 1.2em;
    padding: 4px 25px 4px 6px;
    transition: color 0.5s;
    -moz-transition: color 0.5s; /* Firefox 4 */
    -webkit-transition: color 0.5s; /* Safari and Chrome */
    -o-transition: color 0.5s; /* Opera */
}
.hometransaction p a:hover{
    color: #fff;
}
    
.hometransaction img{
    float: left;
}
.hometransaction div{
    float: right;
    width: 198px;
    margin-top: -4px;
}

/* transaction detail */
.content.transaction h2{
    margin-top: 0;
    margin-bottom: 1.3em;
}
.content.transaction h1{
    font-size: 2em;
    margin-bottom: -0.2em;
}
.content.transaction h1+p{
    font-size: 1.2em;
}
.content.transaction a{
    position: absolute;
    bottom: 16px;
    text-decoration: none;
    padding-left: 17px;
    background: url(../images/backarrow.gif) left center no-repeat;
}

.transactionheader{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}


/* transactions */
.contentslider-std .sliderkit-panel{
    background: #000;
    padding: 57px 0 0 93px;
}
.sliderkit-panel article{
    float: left;
    margin-right: 75px;
    margin-bottom: 22px;
}
.sliderkit-panel article p{
    padding: 0;
    margin: 0.2em 0 0 0;
    font-size: 1.2em;
}
.sliderkit-panel article img{
    display: block;
}
.sliderkit-panel article a{
    color: #fff;
    transition: color 0.5s;
    -moz-transition: color 0.5s; /* Firefox 4 */
    -webkit-transition: color 0.5s; /* Safari and Chrome */
    -o-transition: color 0.5s; /* Opera */
}
.sliderkit-panel article a:hover{
    color: #f9240e;
}

/*---------------------------------
 *  Content slider > Standard
 *---------------------------------*/
.contentslider-std{width:1200px;height:473px;padding:0;}

/* Nav */
/*.contentslider-std .sliderkit-nav{position:relative;width:470px;height:22px;text-align:left;}
.contentslider-std .sliderkit-nav-clip{margin:0;}
.contentslider-std .sliderkit-nav-clip li{height:22px;padding:0;margin:0 2px 0 0;}
.contentslider-std .sliderkit-nav-clip li{float:left;}
.contentslider-std .sliderkit-nav-clip li a{float:left;background:#424242;}
.contentslider-std .sliderkit-nav-clip li a{height:18px;margin:0;padding:3px 10px 1px;color:#fff;text-decoration:none;}
.contentslider-std .sliderkit-nav-clip li a:hover{background:#666;}
.contentslider-std .sliderkit-nav-clip li.sliderkit-selected{}
.contentslider-std .sliderkit-nav-clip li.sliderkit-selected a{color:#000;background:#ddd;}*/

/* Panel */
.contentslider-std .sliderkit-panels{width:1200px;height:473px;overflow:hidden;padding:0;background:#fff;}
.contentslider-std .sliderkit-panel{width:1107px;height:416px;overflow:auto;}
.contentslider-std .sliderkit-panel h2{margin:5px 0 20px;}

/* Panels buttons */
.contentslider-std .sliderkit-go-btn{position:absolute;top:50%;z-index:10;}
.contentslider-std .sliderkit-go-prev{left:40px;}
.contentslider-std .sliderkit-go-next{right:40px;}
.contentslider-std .sliderkit-go-btn a{display:block;width:12px;height:24px;cursor:pointer;background:transparent url("../images/arrows-h-big.gif") no-repeat 0 0;}
.contentslider-std .sliderkit-go-prev a{background-position:-12px 0;}
.contentslider-std .sliderkit-go-next a{background-position:0 0;}
.contentslider-std .sliderkit-go-prev a:hover{background-position:-36px 0;}
.contentslider-std .sliderkit-go-next a:hover{background-position:-24px 0;}
.contentslider-std .sliderkit-go-btn span{display:none;}





















/* ==========================================================================
   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: 150%;
}

/*
 * 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 print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* 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;
    }
}
