/**
 * Common style
 *
 * @css reset
 * @font-face
 * @main style
 * @header
 * @footer
 * @policy
 * @lightbox
 */

/*@css reset*/

body{	
	margin: 0;
}
select{
    display: none;
}
ul, li{
	padding: 0;
	margin: 0;
	list-style: none;
}
h1, h2, h3, h4, h5{
	padding: 0;
	margin: 0;
}
input[type="password"],
input[type="text"]{
	width: 210px !important;
	height: 22px;
	padding: 4px 20px;
	border: none;
	line-height: 22px;
	font-weight: bold;	
	background: url(/static/img/input_text_bg.png) no-repeat 0 0;
	color: #FFF;
}
input[type="password"]:focus,
input[type="password"]:active,
input[type="text"]:focus,
input[type="text"]:active{
	outline: none !important;
	border: none !important;
}
.selectCustom{
    position: relative;
    float: left;
    width: 210px;
    height: 22px;
    padding: 4px 20px;
    margin-right: 4px;
    border: none;
    line-height: 22px;
    font-family: Arial, Helvetica, sans-serif;
    background: url(/static/img/dropdown.png) no-repeat 0 0;
    color: #FFF;
    cursor: pointer;
}
.selectList{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 250px;
    padding: 2px 10px;
    border: 1px solid #F00;
    background-color: #000;
    font-weight: normal;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
}
.selectList li:hover{
    background-color: #A71206;
}
h1{
	font-size: 24px;
}
h2{
	font-size: 22px;
}
h3{
	font-size: 18px;
}
h4{
	font-size: 16px;
}
h5{
	font-size: 14px;
}
a{
	color: #FFF;
	text-decoration: none;
}
a:hover{
	color: #A8A8A8;
}

/*font-face*/

@font-face {
    font-family: 'ArialRoundedBold';
    src: url(/static/css/font/ArialRoundedMTBold.ttf); 
}
@font-face {
    font-family: 'AuraRegular';
    src: url('/static/css/font/Aura-Regular.eot');
    src: local('☺'), url('/static/css/font/Aura-Regular.woff') format('woff'), url('/static/css/font/Aura-Regular.ttf') format('truetype'), url('/static/css/font/Aura-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*@font-face {
    font-family: AuraRegular;
    src: url(/static/css/font/Aura-Regular.ttf);
}*/

/*@main style*/

body{
	font-family: 'ArialRoundedBold', Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	background: #0F0F0F url(/static/img/main-bg-top.jpg) no-repeat center top;	
	color: #BDBDBD;
	text-shadow: 1px 1px #000;
	-webkit-text-shadow: 1px 1px #000;
	-moz-text-shadow: 1px 1px #000;
	-o-text-shadow: 1px 1px #000;
	-ms-text-shadow: 1px 1px #000;
}
p{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #BDBDBD;
}
#pageWrap{
	position: relative;
	width: 900px;
	min-height: 400px;
	margin: 0 auto; 
	z-index: 10;
}
#content{
	position: relative;
}
.header{
    margin: 20px 0;
    padding-bottom: 5px;
    background: url(/static/img/header_underline.png) repeat-x 0 bottom;
}
.clearfix{
	clear: both;
}

/*@header*/

#header{
	height: 86px;
    margin-bottom: 10px;
}
.authBox, .accBox{
	height: 30px;
	text-align: right;
}
.authBox a, .authBox span,
.accBox a, .accBox span{
	font-family: Arial;
	line-height: 30px;
}
#logo{
	float: left;
	width: 249px;
	height: 47px;	
	margin-top: 10px;
}
#logo img, #logo img:hover, #logo img:focus{
    border: none;
    outline: none;
}
#navBar{
	float: right;
	width: 574px;
	height: 56px;
	background: url(/static/img/menu_bg.png) no-repeat 0 0;
}
#navBar li{
	float: left;
	height: 56px;
	width: 82px;
	background: url(/static/img/menu_spliter.png) no-repeat left 0;
}
#navBar li.first{
	background: none;
}
#navBar li a{
	display: block;
	height: 56px;
	width: 82px;
	line-height: 54px;
	text-align: center;
}
#navBar li.navHovered a,
#navBar li.preselected a{
	color: #FFF;
	background-color: #000;
}
#navBar li.navHovered + li,
#navBar li.preselected + li{
	background: none; 
}
#navBar li.navHovered.first,
#navBar li.preselected.first{
	background: url(/static/img/navHover_f.png) no-repeat 0 0;
}
#navBar li.navHovered.first a,
#navBar li.preselected.first a{
	background-color: transparent;
}
#navBar li.navHovered.last,
#navBar li.preselected.last{
	background: url(/static/img/navHover_l.png) no-repeat 0 0;
}
#navBar li.navHovered.last a,
#navBar li.preselected.last a{
	background-color: transparent;
}

/*@footer*/

#footer{
	position: relative;
	clear: both;
	height: 40px;	
	padding-top: 30px;
	line-height: 40px;
	text-align: center;
	font-size: 12px;
	color: #BDBDBD;
	background: url(/static/img/header_underline.png) repeat-x 0 30px;
}
#bottomBg{
	display: none;
	position: relative;
	clear: both;
	width: 100%;
	height: 0;
}
#bottomBg div{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 465px;
	margin: 0 auto;	
	background: url(/static/img/main-bg-bot.png) no-repeat center 0;
}

/*@policy*/

#policyWrap{
    display: none;
    position: fixed;
    top: 150px;
    width: 100%;
    height: auto;
    z-index: 15;
}
.policy{
    position: relative;
    width: 776px;
    height: 400px;
    margin: 0 auto;
    background: url(/static/img/policy_bg.png) no-repeat 0 0;
}
.policy h3{
    padding: 20px 0 10px;
    margin: 0 20px 11px;
    text-align: center;
    background: url(/static/img/red_line.png) repeat-x 0 bottom;
}
.policyArea{
    position: relative;
    height: 320px;
    width: 715px;
    margin: 0 0 0 20px;
    overflow: hidden;
}
.policyText{
    position: absolute;
    top: 0;
    margin: 0;
}
.scrollBar{
    position: absolute;
    top: 62px;
    right: 0;
    width: 4px;
    height: 320px;
    padding: 0 20px;
    background: url(/static/img/scroll_bar.png) no-repeat 20px 0;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select:none;
    user-select:none;
}
.toddler{
    position: absolute;
    top: 0;
    left: 19px;
    height: 50px;
    width: 6px;
    background: url(/static/img/t_m.png) repeat-y 0 0;
    cursor: pointer;
}
.toddlerTop{
    position: absolute;
    top: 0;
    width: 6px;
    height: 3px;
    background: url(/static/img/t_t.png) no-repeat 0 0;
}
.toddlerBottom{
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 3px;
    background: url(/static/img/t_b.png) no-repeat 0 0;
}

/*@lightbox*/

#overlay{
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: url(/static/img/overlay.png) repeat 0 0;
	z-index: 15;
}
#lightbox{
	display: none;
	position: fixed;
	top: 150px;
	width: 100%;
	height: auto;
	text-align: center;
	z-index: 20;
}
#lbWrap{
	position: relative;
	display: inline-block;
	text-align: left;
}
.top-l, .top-r, .bottom-l, .bottom-r{
	width: 50%;
	height: 19px;
}
.top-l, .bottom-l{
	float: left;
}
.top-r, .bottom-r{
	float: right;
}
.top-l{
	background: url(/static/img/overlay_top.png) no-repeat left 0;
}
.top-r{
	background: url(/static/img/overlay_top.png) no-repeat right 0;
}
.bottom-l{
	background: url(/static/img/overlay_bottom.png) no-repeat left 0;
}
.bottom-r{
	background: url(/static/img/overlay_bottom.png) no-repeat right 0;
}
#closeLightbox{
	position: absolute;
	top: -12px;
	right: -12px;
	width: 28px;
	height: 28px;
	background: url(/static/img/close_icon.png) no-repeat 0 0;
	cursor: pointer;
}
#ajaxBox{
	overflow: hidden;
	clear: both;	
	padding: 0 25px;
	background: #000;
	border-left: 1px solid #FF0000;
	border-right: 1px solid #FF0000;
}
.authoriz > h2{
	text-align: center;
	padding-bottom: 15px;
	margin-bottom: 15px;
	background: url(/static/img/vertical_spliter.png) no-repeat center bottom;
}
.authoriz input[type="password"],
.authoriz input[type="text"]{
	float: right;
	width: 190px;
	margin-left: 20px;
	background: url(/static/img/input_text_login.png) no-repeat 0 0;
}
.authoriz label{
	float: left;
	height: 30px;
	line-height: 30px;
}
.authoriz .log,
.authoriz .pas,
.authoriz .but{
	overflow: hidden;
	margin-bottom: 10px; 
}
.authoriz .but{
	margin-bottom: 0;
	text-align: right;
}
.grey_btn, .authoriz .but input{
	display: block;
    text-indent: 10000px;
    white-space: nowrap;
    overflow: hidden;
	width: 75px;
	height: 37px;
	line-height: 34px;
	padding: 0;
	background: url(/static/img/buttons.png) no-repeat 0 0;
	border: none;
	font-size: 16px;
	font-weight: bold;
	color: #333;
	text-align: center;
	text-shadow: none;
	cursor: pointer;
}
.grey_btn *{
    visibility: hidden;
}
.grey_btn:focus, .grey_btn:active{
    border: none;
    outline: none;
}
.authoriz .but input.but_log{
    background: url(/static/img/buttons.png) no-repeat 0 -37px;
}
.authoriz .but input.but_log:hover{
    background: url(/static/img/buttons.png) no-repeat -76px -37px;
}
.moz .authoriz .but input{
    padding: 0 0 7px;
}
.moz button.grey_btn{
    height: auto;
}
.moz input.grey_btn{
    padding: 0 0 7px;
}
.grey_btn:hover, .authoriz .but input:hover{
    background: url(/static/img/buttons.png) no-repeat -76px 0;
}
.authoriz.static > div{
    width: 345px;
}
.authoriz.static > div.but{
    width: 320px;
}
.authoriz .but input{
	display: inline-block;
}
.authoriz .but a{
	text-decoration: underline;
}
.readMore{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
}


@media print{
    #policyWrap{
        position: absolute;
        top: 0;
        width: 100%;
        height: auto;
    }
    .policy{
        width: 100%;
        height: auto;
    }
    .policyArea{
        width: 100%;
        height: 1000px;
    }
}

.aff_btn_wrp{
    margin-top: 30px;
}

.aff_codes tr>td:nth-child(2){
    width:30%;
}

.aff_data h3{
}

.aff_data textarea{
    float: right;
    resize: none;
    clear: both;
    width: 395px;
    height: 170px;
    padding: 10px 20px;
    border: none;
    line-height: 22px;
    font-weight: bold;
    color: #fff;
    background: url(/static/img/help_area.png) no-repeat 0 0;
    overflow: hidden;
}

.aff_link_small textarea{
    background: url(/static/img/help_area_small.png) no-repeat 0 0;
    height: 22px;
}

.aff_link_medium textarea{
    background: url(/static/img/help_area_medium.png) no-repeat 0 0;
    height: 40px;
}

.errorlist {
    color:yellow;
    text-align: center;
    margin:20px;
}
