*{margin:0;padding:0;}
html {
    height: 100%;
}
body{
    font:       normal 12px/normal Arial;
    color:      #444;
    background: #dedede url('../img/layout/body.jpg') repeat-x 0 0;
    text-align: center;
    height:     100%;
}
body#second{background-image:url('../img/layout/body2.jpg');}
#basis{
    width:      1004px;
    margin:     0 auto -100px;
    text-align: left;
    min-height: 100%;
    height:     auto !important;
    height:     100%;
}
#footer, .push {
    height: 100px;
}
.push {
    clear: both;
}
img{border:0;}
ul{list-style:none;}
#head{width:100%;float:left;height:498px;background:url('../img/layout/top1.jpg') no-repeat 0 0;padding:8px 0 0 0;font-size:14px;}
#second #head{height:301px;background-image:url('../img/layout/top2.jpg');}
#logo{float:left;margin:0 0 13px 0;}
.t{float:right;padding:49px 12px 0 0;}
#head ul{float:left;width:992px;clear:both;height:41px;padding-left:12px;}
#head li{float:left;border-left:1px solid #45443c;border-right:1px solid #45443c;margin-left:-1px;}
#head li a, #head li span{float:left;padding:12px 16px 0 15px;height:29px;color:#d3c3c4;}
#head li a:hover{color:#fff;}
#head li.img a {padding-top: 0px; height: 40px}
#head li span{color:#efe7e7;background-color:#0d0d0d;}
.h_txt{clear:both;width:466px;color:#fff;padding:87px 0 0 514px;line-height:145%;}
#second .h_txt{padding:56px 0 0 9px;}
var{float:left;height:23px;background:url('../img/layout/butt_rght.gif') no-repeat 100% 0;padding-right:11px;font:normal normal 12px/normal Arial;}
.h_txt var{margin-top:26px;}
.butt var{float:right;}
var a, #content var a{float:left;height:19px;background:url('../img/layout/butt_lft.gif') no-repeat 0 0;padding:4px 8px 0 20px;color:#4d4d4d;//padding-top:3px;}
var a:hover,#wrap a:hover{color:#000;}
#wrap{float:left;width:100%;clear:both;padding:6px 0 17px;}
#content{float:left;width:645px;padding:0 0 0 12px;line-height: 22px;}
#content h2, #sidebar h2, #sidebar h3{color:#2a2a2a;font-size:16px;border-bottom:1px solid #dcdcdc;padding:0 0 12px 0;clear:both;margin-bottom: 15px;}
#second #content h2{color:#c61616;}
#content h4, #content h3{color:#888;font-size:12px;margin: 15px 0 10px 0; clear: both;border-bottom:1px solid #d2d2d2;padding:0 0 6px 0;}
#content h3{font-size: 14px;}
#sidebar h3{border-color:#d2d2d2;padding-top:13px;}
#content a{color:#a41414;}
.dl1{width:100%;float:left;border-bottom:1px solid #d2d2d2;padding:19px 0 8px;}
.dl1 dt{float:left;background:url('../img/layout/ph1.gif') no-repeat 0 0;margin-bottom:10px;}
.dl1 dt span{float:left;background:url('../img/layout/ph1.gif') no-repeat 100% 100%;}
.dl1 dt a, .dl1 dt b{float:left;background:url('../img/layout/ph2.gif') no-repeat 100% 0;}
.dl1 dt img{float:left;background:url('../img/layout/ph2.gif') no-repeat 0 100%;padding:5px;}
.dl1 dd{float:right;width:478px;margin-right:9px;_display:inline;}
.dl1 small{display:block;font-size:11px;color:#4c4c4c;}
.dl1 h3{font-size:20px;color:#a41414;line-height:105%;padding-top:4px}
.dl1 p{padding:10px 0;line-height:145%;}
.dl2{line-height:145%;}
.dl2 dt{font-weight:bold;padding:15px 0 0 0}
.dl2 dd{padding:0 0 8px 0;}
.butt{padding:13px 0;float:left;width:100%;clear:both;}
#sidebar{float:right;width:287px;padding-right:12px;font-size:11px;color:#5f5f5f;}
#sidebar p{padding:6px 0;}
.ul1 li{font-weight:bold;padding:1px 0;}
.ul1 img{margin-right:9px;position:relative;top:4px;}
.ul1 a, #sidebar p a{color:#5f5f5f;}

.nav{background-color:#eee;padding:14px 0 13px;margin:2px 0 10px;_height:1%;}
.nav li{padding:5px 10px 5px 17px;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;margin-top:-1px;_height:1%;}
.nav li.active{background:url('../img/layout/nav_act.gif') repeat-x 0 0;}
.nav li.active span{color:#fff;padding-left:15px;background:url('../img/layout/arrow1.gif') no-repeat 0 5px;}
.nav a{color:#9d0e0e;padding-left:15px;background:url('../img/layout/arrow2.gif') no-repeat 0 5px;display: block;}
.nav a:hover{color:#2a2a2a;background-position:0 -45px;}

#footer{float:left;width:100%;clear:both;padding:4px 0 0;background-color:#fff;border-top:1px solid #a8a8a8;font-size:11px;}
#inFoot{width:1004px;text-align:left;margin:0 auto;}
#inFoot img{float:left;}
#inFoot p{float:right;text-align:right;padding:40px 31px 0;}
#inFoot p a{display:block;color:#c61616;outline:none;}
#inFoot a:hover, #sidebar p a{text-decoration:underline;}
#head a, .dl1 h3 a, var a, a:hover, #sidebar a, #inFoot a, #sidebar p a:hover{text-decoration:none;}



.cake-sql-log{
	width: 100%;
	clear: both;
	text-align: left;
	border-collapse: collapse;
}
.cake-sql-log td{
	padding: 4px;
	border: 1px #000 solid;
}


.input{
	margin: 0 0 5px 0;
	float: left;
	clear: both;
	width: 100%;
}
.input input{
	float: left;
	width: 200px;
}
label{
	float: left;
	width: 120px;
	text-align: right;
	margin: 0 15px 4px 0;	
	height: 18px;
	font-weight: bold;
	color: #444;
	padding-top: 7px;
}
.radio_inner{
    float: left;
    width: 300px;
}
.radio_inner label{
    float: left;
    width: auto;
}
.radio_inner input{
    float: left; 
    clear: left;
    margin-right: 10px;
}
.error-message{
	float: left;
	clear: right;
	color: red;
	font-weight: bold;
	margin: 0 0 0 10px;
}
select.text, input.text, textarea {
	font:12px trebuchet,tahoma,Verdana, Arial Helvetica,sans-serif;
	float: left;
	margin: 0 4px 4px 0;
	border: 1px solid #999;
	padding: 4px;
}
input.text {
	background: #eee;
	color: #999;
}
input.text:focus {
	background: #fff;
	color: #000;
	border-color: #444;
}
select.text {
	padding: 1px;
}
textarea{
	height: 80px;
	width: 400px;
}
.checkbox{width: 100%}
.checkbox label {width: auto;padding: 0 0 0 5px;}
.checkbox input, .checkbox label{left: left;clear: none; margin: 0;}
.submit{
    padding-left: 120px;
}

.btn, .submit input{
	float: left;
	color: #444;
	margin: 15px 0 0 10px;
	padding: 0 20px 0 40px;
	font-size: 11px;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
}

.btn:hover{
	color: #000;
}
.info{
	margin: 10px 0 20px 0;
}

#comments_section{
	width:100%;float:left;border-top:1px solid #dcdcdc;padding:19px 0 8px;
}
#comments_section h3{
	width:100%;float:left;clear: both;margin-bottom: 15px;border-bottom:1px solid #d2d2d2;
}
.comment_item{
	float:left;
	clear: both;
	border-bottom:1px solid #d2d2d2;
	padding: 0 0 15px 0;
}
.comment_item .comment_date{width: 70px; float: left; padding: 0 5px 0 0; border-right: 1px #dcdcdc solid;}
.comment_item .comment_author{width: 130px; float: left; padding: 0 5px 0 5px; border-right: 1px #dcdcdc solid;}
.comment_item .comment_from{width: 130px; float: left; padding: 0 5px 0 5px; }
.comment_item p{float: left; clear: both; margin: 15px 0}
.comment_item a{display: block; clear: both;}

.facebook-holder{
	margin-top: 15px;
}

