/*
Theme Name: Qi-Way
Theme URI: http://www.tipoos.com
Description: bla bla 
Author: Gil Hamer
Author URI: http://www.tipoos.com

*/


/*CSS RESET*/
body,div,dl,dt,dd,pre,form,fieldset,input,textarea,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,sth,var {
	font-style:normal;
	font-weight:normal;
}

caption,th {
	text-align:left;
}

q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/*END CSS RESET*/


/*GENERAL LAYOUT*/

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
        line-height: 20px;
}
a{
	color: #000000;
    outline: none;	
}
#wrapper{
	width: 850px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
		
}
.clear{
	clear: both;	
}





/*END GENERAL LAYOUT*/

/*NAVIGATION*/
#nav{
	text-align: center;
	background-image: url(images/nav_bg.jpg);
	background-repeat: no-repeat;
	background-position: center;
	height: 35px;
	
	
}

#nav ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin-bottom:0px;
	margin-left:auto;
	margin-right:auto;
	padding: 0px;
	margin-top: 0px;
	width: 700px;		
	
}


#nav ul li{

	padding: 0px;
    list-style: none;
	list-style: none;
	position: relative;
	direction: rtl;
	display: block !important;
	float: right;	
}

#nav ul li a{
	line-height: 35px;
	display: block;
	color: #000000;
	text-decoration: none;
	margin: 0px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	font-weight: bold;
	background-image: url(images/devider.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: auto;
	display: none;
	margin-top: 0px;
	z-index: 13;
	padding: 0px;
	background-color: #ffffff;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #d5dadd;
	border-bottom-color: #d5dadd;
	border-left-color: #d5dadd;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	
	width: 180px;
	position: absolute;
	right: 0;/*IMPORTANT  !!!! */
	display: block !important;
	float: none;
	z-index: 200;
		
}

#nav li ul li{ /* second-level lists */
float: none;
direction: rtl;
	
}
#nav li ul li a{ /* second-level lists */
	text-transform: none;
	font-weight: normal;
	background-image: none;
	margin: 0px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	text-align: right;
	line-height: 35px;
	height: 35px;
}
#nav li ul li a:hover{
	background-color: #f2fafd;
}






/*
#nav li ul ul{  second-level lists 
	position: absolute;
	width: 150px;
	margin-top: -36px;
	padding: 0px;
	background-color: #ffffff;
	margin-right: 150px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #d5dadd;
	z-index: 500;
		
}*/

/*

END NAVIGATION*/



#sidebar_right {
float:right;
margin-left:10px;
margin-top:15px;
text-align:center;
width:230px;
}

#sidebar_right li{
	padding: 0px;
	list-style-type: none;
	text-align: right;
	direction: rtl;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#sidebar_right li ul{
	margin: 0px;
	padding: 0px;	
}

#sidebar_left{
	float: right;
	width: 180px;
	margin-top: 15px;
	margin-right:35px;	
}

#content{
	width: 370px;
	float: right;
}

#footer {
background-image:url("images/footer_bg.jpg");
background-repeat:no-repeat;
clear:both;
height:50px;
text-align:center;
width:899px;
padding-top:30px;
}

#footer2 {
background-image:url("images/footer_bg2.jpg");
background-repeat:no-repeat;
clear:both;
height:50px;
text-align:center;
width:899px;
padding-top:30px;
}


.breadcrumb_space{
	padding-top: 15px;
	
	
}

#form{
	background-color: #f7f7f7;
	margin-top: 20px;	
}

#form #formBuilderCSSID_{
	padding-right: 10px;
}
.formBuilderInput input{
	line-height: 23px;
	height: 23px;
	border: 1px solid #b8b7b8;
	width: 153px;
}

.formBuilderLargeTextarea textarea{

	border: 1px solid #b8b7b8;
	width: 153px;
	height: 75px;
}

.formBuilderSubmit input{
	background-color: transparent;
	padding: 5px;
	background-image: url(images/submit_bg.jpg);
	background-repeat: no-repeat;
	line-height: 23px;
	text-align: center;
	width: 153px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	margin-top: 8px;
}





/*HOMEPAGE*/
#slideshow {
margin-bottom:24px;
margin-right:461px;
margin-top:6px;
position:absolute;
width:400px;
z-index: 1;

}
#featured{
	width: 370px;
	float: right;
	margin-top: 20px;
}

#content_home{
	clear: both;
	width: 100%;	
}
.alignleft{
	float: left;	
}

#home_content {
/*background-image:url("images/heading_homepage.jpg");
background-position:right top;*/
background-repeat:no-repeat;
float:right;
padding-top:55px;
width:400px;
}

#home_banners {
float:left;
margin-left:16px;
padding-top:37px;
text-align:left;
width:424px;
}

#rings {
height:226px;
margin-right:190px;
position:absolute;
width:89px;
z-index:13;
}

body:nth-of-type(1) #rings{

   margin-left: 540px;
}

td{
   text-align: center;
}

.ul_old_new{
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

.contact_page #formBuildernew{
	background: #f7f7f7;
	padding-right: 25px;
	padding-bottom: 15px;
	text-align: right;
}

.contact_page .formBuilderForm .formBuilderLabel,.contact_page .formBuilderForm .formBuilderLabelRequired {
clear:left;
float:right;
margin-bottom:10px;
margin-right:10px;
vertical-align:top;
width:250px;
}

.contact_page .formBuilderSuccess{
	direction: rtl;
}

.contact_page form.formBuilderForm, .contact_page div.formBuilderSuccess {
clear:both;
padding:10px;
text-align:right;
}

.contact_page .formBuilderSubmit input {
background-color:transparent;
background-image:url("images/contact_b2.png");
background-repeat:no-repeat;
border-style:none;
line-height:23px;
margin-top:8px;
padding:5px;
text-align:center;
width:153px;
color: #626262;
font-size: 0px;
line-height: 28px;
height: 28px;
margin-right: 150px;
outline: none;
}

.contact_page div.formBuilderFailure {
	background-color:#F7F7F7;
	margin:2px;
	padding:4px;
	border: none;

}

.contact_page .formBuilderInput input, .contact_page .formBuilderForm .large_text_area textarea {
	width: 300px;
}

