/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

html, body {
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
}

textarea:focus, input:focus{
    outline: 0;
}
   
#wrapper {
    width: 100%;
    min-height: 300px;
	height:auto;
    border: 1px solid #006666;
	padding-right:3px;
    background: #006666;
}

#sb {
    width: 100%;
    height: 29px;
    background: #005453;
    color: #ffffff;
	font-weight: bold;
	font-size: 0.9375em;
}

#sb .sb-title {
    background: url("../images/icon_sb1.png") no-repeat;
	background-position: 0px 6px;
    line-height: 32px;
    margin: 0 0 0 12px;
    padding: 0 0 0 23px;
}

#sb .sb-title span {
    color: #009e9d;
    font-size: 0.875em;
    font-weight: normal;
}

#sb .sb-bt-quit {
    background: url("../images/icon_sb3.png") no-repeat;
    display: block;
    width: 11px;
    height: 12px;
    margin: 8px 12px 0 0; 
}

#cnt {
    width: 98%;
    min-height: 300px;
	height:auto;
    margin: 10px 10px 10px 10px;
}

#cnt .cnt-lc {
    width: 100%;
    position: relative;
}

.dec-arrow {
	position: absolute;
	top: 60px;
	right: -17px;
	width: 18px;
	height: 19px;
	background: url("../images/arrow_nsh.png") no-repeat;
}

.conv {
    width: 99%;
	min-height: 300px;
	height:auto;
    background: #ffffff;
    box-shadow: 1px 1px 8px 1px #043f3f;
    z-index: 10;
}

.conv .chat {
    width: 352px;
    height: 305px;
    border-top: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
    overflow: auto;
    padding: 28px 0 0 19px;
}

.conv .chat a {
	color: #ff3300;
	cursor: pointer !important;
	text-decoration: underline;
}

.conv .chat a:hover {
	text-decoration: none;
}


/*  Transaction Histry css */

.convHistory {
    width: 410x;
    height: 650px;
    background: #ffffff;
    box-shadow: 1px 1px 8px 1px #043f3f;
    z-index: 10;
}

.convHistory .chat {
    width: 405px;
    height: 650px;
    border-top: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
    overflow: auto;
    padding: 28px 0 0 19px;
}

.convHistory .chat a {
	color: #ff3300;
	cursor: pointer !important;
	text-decoration: underline;
}

.convHistory .chat a:hover {
	text-decoration: none;
}



.chat .dlg-title {
    font-size: 0.875em;
    font-weight: bold;
}

.chat .dlg-body {
    width: 293px;
    border-radius: 3px;
    border: 1px solid #eeeeee;
    background: #f9faf0 url("../images/dec_cnt2.png") repeat-x top;
    font-size: 0.75em;
    color: #333333;
    padding: 14px 12px 14px 12px;
    position: relative;
    margin: 12px 0 18px 0;
}

.lt-ie8 .chat .dlg-body {
    position: static;
}

.chat .dlg-body:after, .dlg-body-after {
    background: url("../images/dec_cnt3.png") repeat-x bottom;
    display: block;
    width: 9px;
    height: 6px;
    z-index: 50;
    content: "";
    position: absolute;
    top: -5px;
    left: 21px;
}

.intr {
    width: 333px;
    height: 117px;
    background: #ffffff;
    margin: 2px 0 0 0;
    padding: 20px 20px 20px 20px;
	position: relative;
}

.intr h4 {
    margin: 0;
}

.intr .entry {
    width: 321px;
    height: 40px;
    border: 1px solid #a7aeb4;
    padding: 5px 5px 5px 5px;
    color: #111111;
    font-size: 0.8125em;
	resize: none;
}

.intr .submit {
    width: 110px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: none;
    color: #ffffff;
    background: #ff3300;
    font-size: 1.0625em;
    margin: 10px 0 0 0;
}

.intr .intr-count {
    color: #a3a3a3;
    font-size: 0.75em;
    margin: 10px 0 0 0;
}

#cnt .cnt-rc {
    width: 282px;
}

#avatar {
    width: 282px;
    height: 175px;
    background: url("../images/avatar_bg_logo.png") no-repeat;
}

.night {
	background: url("../images/avatar_bg_logo_night.png") no-repeat !important;
}

#avatar-wrapper {
    width: 282px;
    height: 175px;
}

#cnt .cnt-faqs {
    width: 263px;
    height: 248px;
    background: #f2f2f2;
    padding: 10px 0 0 19px;
    margin: 2px 0 0 0;
	position: relative;
}

#cnt .cnt-faqs h4 {
    margin: 0;
    padding: 0;
    font-size: 0.875em;
	font-weight: bold;
}

/*
.cnt-faqs .faq-ttl1 {
	position: absolute;
	top: 19px;
	left: 19px;
}
*/


.cnt-faqs .faq-ttl2 {
	/*
	position: absolute;
	top: 80px;
	left: 19px;
	*/
}


#dropdown {
    width: 245px;
	/*
	height: 32px;
	position: absolute;
	top: 38px;
	left: 19px;
	*/
}

#dropdown ul {
    padding: 0 0 0 0;
    margin: 0;
    list-style: none;
}

#faqs {
    background: #ffffff;
    border: 1px solid #a7aeb4; 
    width: 221px;
    /*height: 94px;*/
	height: 120px;
    padding: 13px 13px 13px 13px;
    overflow: auto;
	/*
	position: absolute;
	top: 99px;
	left: 19px;
	*/
}

#faqs ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125em;
}

#faqs ul li {
    margin:  0 0 10px 0;
}

#faqs ul li a {
    color: #666666;
    text-decoration: none;
}

#faqs ul li a:hover {
    color: #ff3300;
}

#breadcrumb {
    font-size: 0.6875em;
    color: #000000;
    /*margin: 5px 0 0 0;*/
	/*
	position: absolute;
	top: 226px;
	left: 19px;
	*/
	line-height: 110%;
	margin: 5px 0 5px 0;
	
	height: 20px;
}

#breadcrumb a {
    text-decoration: underline;
    color: #FF3300;
}

#breadcrumb a:hover {
	text-decoration: none;
    cursor: pointer;
}

#cnt .cnt-com {
    width: 282px;
    margin: 2px 0 0 0;
}

#ft .ft-title {
    background: url("../images/icon_ft1.png") no-repeat;
	background-position: 0 2px;
    padding: 0 0 0 18px;
    margin: 5px 12px 0 0;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 0.75em;
	font-weight: bold;
}

.left {
    float: left;
}

.right {
    float: right;
}

.disclaimer {
	position: absolute;
	left: 20px;
	bottom: 15px;
	font-size: .75em;
}

.disclaimer a, #dialog a {
	color: #ff3300;
}

.disclaimer a:hover, #dialog a:hover {
	text-decoration: none;
}

#mask {
	position: absolute;
	z-index: 9001;
	background-color: #000000;
	display: none;
	top: 0;
	left: 0;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	opacity: 0.7;
}

.window {
	position: fixed;
	width: 320px;
	height: 160px;
	display: none;
	z-index: 9002;
}

#dialog {
	background: #ffffff;
	border-radius: 3px;
	font-size: .875em;
	color: #666666;
	padding: 20px;
}

.txt-cnt {
	text-align: center;
}

/* ==========================================================================
   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.
   These 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;
    }
}
