/*****************
basic layout 
*****************/
* {
margin:0;
padding:0;
}
body {
   text-align: left;
   font-family: Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
	background-color: #1b1b1b;
	color: #333;
}
div {
   font-size: 1em;
}
img {
   border: 0;
}
input,
textarea,
checkbox{
	color:#333333;
	font-family:Verdana, sans-serif;
	font-size:12px;
	margin:3px auto;
}

a,
a:link 
a:active {
   text-decoration:none;
   background-color: inherit;
   color:#003399; 
}
a:visited {
   text-decoration:none;
   color:#660099;  
}
a:hover {
   text-decoration:underline;
}
p {
   font-size: 1em;
   margin: 0 0 7px 0; /* some air around p elements */
   line-height: 1.2em;
   padding: 0;
}
h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
h2 {
	color: #294B5F; 
	font-size: 1.5em; 
	text-align: left; 
	padding-left: 0.5em;
	padding-bottom: 1px;
	border-bottom: 1px solid #e7ab0b; 
	border-left: 1.1em solid #e7ab0b; 
	line-height: 1.5em;
	margin: 0 0 0.5em 0;
}
h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
   font-weight: bold;
}
em, i {
   font-style:italic;
}

ul,
ol,
dl {
	margin: 5px 15px;
}

ul li,
ol li {
	list-style:inside;
	margin: 0 0 5px 0px;
	line-height:1.2em;
}

/* FOR <code> tags. */
code, pre {
 white-space: pre-wrap;     
 white-space: -moz-pre-wrap;
 white-space: -pre-wrap;    
 white-space: -o-pre-wrap;  
 word-wrap: break-word;     
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}
pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}
div.templatecode {
  margin: 0 0 2.5em;
}
/* FOR <code> tags. */
/*for heading */
dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
dl dd {
   margin: 0 0 1em 1em;
}
dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
/*for heading */

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

.error_message,
.red{
	color:#FF0000;
}
/*****************
TEMPLATE specific layout 
*****************/
div#pagewrapper {
	margin: 0 auto;     
	max-width: 1188px;  
	min-width: 1008px;
}
div#pageNav {
	float:left;
	background-color: #fff;
	height:auto;
	width:100%;
}
div#headerNav {
	float:left;
	height: 94px;  
	background: url(uploads/abmyc/aboutmycompany-makeup1_r1_c3.png) top left repeat-x;
	width:100%;
}
div#headerL {
	float:left;
	height: 94px;  
	background: url(uploads/abmyc/aboutmycompany-makeup1_r1_c1.png) top left no-repeat;
	width:100%;
}
div#headerR {
	float:left;
	height: 94px;  
	background: url(uploads/abmyc/aboutmycompany-makeup1_r1_c4.png) top right no-repeat;
	width:100%;
}
.header_left{
	float:left;
	height:94px;
	width:220px;
}
.logo{
	float:left;
	margin-left:50px;
	margin-top:8px;
}
.header_right{
	float:right;
	height:94px;
	width:770px;
}
.search-box{
	float:right;
	margin-right:10px;
	margin-top:0px;
	width:320px;
	height:42px;
	background: url(uploads/abmyc/search-bg-aboutmycompany.png) top left no-repeat;
}
.search-box form{
	float:left;
	margin-left:40px;
	padding:0px;
}
.search-box form input{
	float:left;
	border:none;
	margin-left:0px;
	margin-top:11px;
	padding:0px;
	width:200px;
	padding:1px 4px;
	color:#333333;
}
.search-box form .searchbtn input{
	float:left;
	border:1px solid #CCCCCC;
	margin-left:10px;
	padding:0px;
	padding:0px;
	width:auto;
	border:none;
	margin-top:5px;
}
.menu-box{
	float:right;
	margin-right:50px;
	margin-top:17px;
	width:700px;
	height:25px;
}
.menu{
	float:right;
	margin-right:0px;
	margin-top:0px;
	width:auto;
	color:#333333;
}
.menu img{
	float:right;
	margin-right:10px;
}

.menu .opt{
	margin-top:10px;
	float:right;
}
.menu .opt a{
	font-size:17px;
	float:right;
	color:#333333;
	margin-right:10px;
}
.menu .opt a{
	text-decoration:none;
}
div#middleNav {
	float:left;
	width:100%;
	background:#FFFFFF;
}
div#middleL {
	float:left;
	background: url(uploads/abmyc/aboutmycompany-makeup1_r3_c1.png) top left repeat-y;
	width:100%;
}
div#middleR {
	float:left;
	background: url(uploads/abmyc/aboutmycompany-makeup1_r3_c6.png) top right repeat-y;
	width:100%;
}
div#middleContent {
	margin:10px 34px;
}
div.distV{
	float:left;
	height:400px;
	width:2px;
}
div.sideL{
	float:left;
	width:17%;
}
div.sideL_warp{
	float:left;
	width:170px;
}
div.sideL_top{
	float:left;
	width:170px;
	height:32px;
	background:url(uploads/abmyc/box_L_r1_c1.png) top left no-repeat;
}
div.sideL h3{
	margin-top:10px;
	margin-left:15px;
	font-weight:normal;
	letter-spacing:1px;
	font-size:13px;
}
div.sideL ul{
	margin-top:12px;
	margin-left:15px;
}
div.sideL ul li{
	list-style-position:inside;
	color:#000099;
}
div.sideL ul li a{
	text-decoration:none;
	color:#003366;
	font-size:12px;
}
div.sideL p{
	margin-top:5px;
	margin-left:7px;
}
div.sideL_mid{
	float:left;
	width:170px;
	height:auto;
	background:url(uploads/abmyc/box_L_r3_c1.png) top left repeat-y;
}
div.sideL_bottom{
	float:left;
	width:170px;
	height:9px;
	color:#FFFFFF;
	background:url(uploads/abmyc/box_L_r5_c1.png) top left no-repeat;
}
div.main{
	margin-left:1%; 
	margin-right:1%; 
	float:left;
	width:58%;
}
div.main_1col{
	margin-left:1%; 
	margin-right:1%; 
	float:left;
	width:97%;
}
div.main_2col{
	margin-right:1%; 
	float:left;
	width:75%;
}
div.sideR{
	float:left;
	width:22%;
}
div.sideR h3{
	margin-top:10px;
	margin-left:15px;
	font-weight:normal;
	letter-spacing:1px;
	font-size:13px;
}
div.sideR p{
	margin-top:10px;
	margin-left:7px;
}
div.sideR_warp{
	float:left;
	width:213px;
	margin:3px 0px;
}
div.sideR_top{
	float:left;
	width:213px;
	height:32px;
	background:url(uploads/abmyc/box_R_r1_c2.png) top left no-repeat;
}
div.sideR_mid{
	float:left;
	width:213px;
	height:auto;
	background:url(uploads/abmyc/box_R_r3_c2.png) top left repeat-y;
}
div.sideR_bottom{
	float:left;
	width:213px;
	height:9px;
	color:#FFFFFF;
	background:url(uploads/abmyc/box_R_r5_c2.png) top left no-repeat;
}

div#footerNav {
	float:left;
	height: 89px;  
	background: url(uploads/abmyc/aboutmycompany-makeup1_r6_c3.png) top left repeat-x;
	width:100%;
}
div#footerL {
	float:left;
	height: 89px;  
	background: url(uploads/abmyc/aboutmycompany-makeup1_r6_c1.png) top left no-repeat;
	width:100%;
}
div#footerR {
	float:left;
	height: 89px;  
	background: url(uploads/abmyc/aboutmycompany-makeup1_r6_c5.png) top right no-repeat;
	width:100%;
}
.footer_line1L{
	float:left;
	margin-top:2px;
	color:#000000;
	width:47%;
	margin-left:3%;
}
.footer_line1R{
	float:right;
	margin-top:2px;
	color:#000000;
	width:47%;
	margin-right:3%;
	text-align:right;
}
.footer_line2{
	float:left;
	margin-top:12px;
	width:97%;
	margin-left:3%;
	color:#CCCCCC;
}
.footer_line3{
	float:right;
	margin-top:1px;
	width:97%;
	margin-right:3%;
	text-align:right;
	color:#A4A4A4;
}
.footer_line2 a,
.footer_line3 a{
	color:#CCCCCC;
}

/********************/
/* PAGE SPECIFIC */
/********************/

/* company directory */
.company_SumaryPagesWarp{
	float:left; 
	width:99%;
	margin:0% 0.5%;
	margin-bottom:10px;
}
.company_SumaryContentWarp{
	float:left; 
	width:99%;
	margin:0% 0.5%;
}
.company_SumaryPagesWarp1{
	float:left; 
	width:99%;
	margin:0% 0.5%;
	margin-top:10px;
}
.ItemWarp {
	float:left;
	margin:2px 0px;
	border:1px solid #E2E2E2;
	width:100%;
}
.ItemL{
	float:left;
	width:80%;
	margin:0px 2px;
	border-right:1px dashed #CCCCCC;
}
.ItemL h3{
	float:left;
	margin:3px 0px;
	width:98%;
	font-size:12px; 
}
.ItemL p{
	float:left;
	margin:0px;
	width:98%;
	font-size:11px; 
}
.ItemR{
	float:left;
	width:19%;
	margin-top:2px;
}
.ItemR p{
 font-size:11px;
 margin:2px;
}
.pagerow{
	float:left;
	width:98%;
	border:1px solid red;
}


/*Website submission */
/*Contact Website */
.websitesubmission,
.contactform{
	width:705px; 
	float:left;
	margin-bottom:30px;
	margin-left:10px;
}

.websitesubmission input,
.contactform input{
	border:1px solid #CCCCCC;
	width:600px;
	margin:4px 3px;
	padding:5px 3px;
}

.websitesubmission textarea,
.contactform textarea{
	border:1px solid #CCCCCC;
	width:650px;
	height: 150px;
	margin:2px 3px;
	padding:5px 3px;
}

.websitesubmission .submit input,
.contactform .submit input{
	border:1px inset #CCCCCC;
	background:#003162;
	color:#FFFFFF;
	letter-spacing:1px;
	width:auto;
	margin:5px 3px;
	padding:2px 10px;
}

.websitesubmission .checkbox input,
.contactform .checkbox input{
	border:1px solid #CCCCCC;
	width:auto;
	margin:2px 10px;
}
.space{
    float:left;
	margin:3px 5px;
	
}
