/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }				<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/
/* For Safari and Google Chrome CSS hacks */
@media screen and (-webkit-min-device-pixel-ratio:0) {
body:nth-of-type(1) #ID .class {margin-top:21px;}
}

body {background: #ff0404 url(images/bg.png) scroll repeat-x 0 0; color: #000;}

#main_body {margin:auto;font-family:"Arial", Calibri, Verdana, Tahoma;font-size:1.3em;#font-size:0.7em;}
#custom_header {background:url(images/header_bg.png) scroll repeat-x 0 0; color: #fff;
width: 811px;
height: 113px;
margin: auto;
position: relative;
}

#logo {background: url("images/logo_astir.gif") no-repeat scroll 0 0;width:545px;height:86px;position:absolute;margin:6px 0px 0px 25px;}

#logo img {width:545px;height:86px;}

/* Navigation */
#navigation {position:absolute;margin:54px 0 0 210px;#margin:54px 0px 0px 220px;}

#nav {
	bottom: 0;
	right: 0;
	z-index: 999;
	list-style: none;
	margin: 32px 0 0 85px;
	padding: 0;
}

#nav li {
	float: left;
	margin-left: 5px;
	background: url(images/nav_right.png) no-repeat right top;
	font-size: 0.6em;
        #font-size:0.5em;
	list-style:none;
        #letter-spacing:-0.2pt;
        cursor:pointer;
}

#nav li.current,#nav li.current_page_item {
	background-position: right bottom;
}
#nav li a {
	float: left;
	display: block;
	height: 22px;
	padding: 5px 15px 0px 10px;
	background: url(images/nav_left.png) no-repeat left top;
	color: #fff;
	text-decoration: none;
margin:0 -5px auto;
font-weight:bold;
font-size:1.6em;
}

#nav li.current a,#nav li.current_page_item a{
	background-position: left bottom;
	color: #000;
}
#nav li:hover, #nav li.sfhover {
	background-position: right -27px;
}
#nav li.current:hover, #nav li.sfhover.current {
	background-position: right bottom;
}
#nav li:hover a, #nav li.sfhover a {
	background-position: left -27px;
	color: #FFFFFF;
}
#nav li.current:hover a, #nav li.sfhover.current a {
	background-position: left bottom;
	color: #C7CBC0;
}
#nav li#nav.current_page_item {
	background-position: right bottom;
}
#nav li#nav.current_page_item a {
	background-position: left bottom;
	color: #fff;
}
#nav li.current#nav:hover, #nav li.current.sfhover#nav {
	background-position: right -27px;
}
#nv li.current#nav_home:hover, #nav li.current.sfhover#nav_home a, {
	background-position: left -27px;
	color: #FFFFFF;
}
#nav li ul {
	clear: left;
	position: absolute;
	left: -999em;
	z-index: 999;
	width: 220px;
	margin-top: 26px;
	margin-left: 0px;
	_margin-top: 0; /* IE6 only */
	border: 1px solid #5F6356;
	border-top: 0;
	border-bottom: 0;
	list-style: none;
	line-height: 1;
	padding-left: 0px;
}


 /* Start of Content CSS Here */

#main_content {width:811px;margin:auto;_width:100%!important;}
#custom_slide {width:811px;background:url(images/slider_bg.png) scroll no-repeat 0 0;}
#bottom_content{width:811px;background:url(images/bottom_content.png) scroll repeat-y;
padding:20px 30px 20px 30px;text-align:left;margin-top:-2px;
}
#content_title h2 {font-size:1.6em;color:#003471;padding-bottom:10px;}
#div_content, #postcontent, #postcontent2 {width:751px;text-align:justify;}
#div_services {width:411px;margin:-500px 0px 0px 340px;#margin:-520px 0px 0px 340px;position:absolute;}
#second-40 #postcontent td.table_curr1 {border-bottom:1px #ccc solid;margin-top:15px;text-align:left;padding:10px;} 
#second-40 #postcontent td.table_top5b {padding:10px;}
#second-40 #postcontent #industrial {margin-top:20px;}
/* Services Checkered Board */
#left_board1 {background-color:#908d32;float:left;height:150px;color:#fff;}
#left_board2 {background-color:#f2f1d6;float:left;height:120px;color:#2d2c0d;}
#left_board3 {background-color:#908d32;float:left;height:165px;color:#fff;}
#left_board4 {background-color:#f2f1d6;float:left;height:90px;color:#2d2c0d;}
#left_board5 {background-color:#908d32;float:left;height:120px;color:#fff;}
#left_board6 {background-color:#f2f1d6;float:left;height:110px;color:#2d2c0d;}
#left_board7 {background-color:#908d32;float:left;height:90px;color:#fff;}
#left_board8 {background-color:#f2f1d6;float:left;height:125px;color:#2d2c0d;}
#left_board9 {background-color:#908d32;float:left;height:150px;color:#fff;}

#right_board1 {background-color:#f2f1d6;float:right;height:150px;color:#2d2c0d;}
#right_board2 {background-color:#908d32;float:right;height:120px;color:#fff;}
#right_board3 {background-color:#f2f1d6;float:right;height:165px;color:#2d2c0d;}
#right_board4 {background-color:#908d32;float:right;height:90px;color:#fff;}
#right_board5 {background-color:#f2f1d6;float:right;height:120px;color:#2d2c0d;}
#right_board6 {background-color:#908d32;float:right;height:110px;color:#fff;}
#right_board7 {background-color:#f2f1d6;float:right;height:90px;color:#2d2c0d;}
#right_board8 {background-color:#908d32;float:right;height:125px;color:#fff;}
#right_board9 {background-color:#f2f1d6;float:right;height:150px;color:#2d2c0d;}

#second-26 #postcontent div {width:355px;padding:10px;text-align:left;}
#second-46 #postcontent div {width:355px;padding:10px;text-align:left;}
#career {margin-top:310px;text-align:left;border:1px #ccc solid;width:731px!important;}
#second-46 #left_board2, #second-46 #right_board2 {height:270px;}
#second-26 #postcontent {height:1350px;}
#second-26 #postcontent h3, #second-40 #postcontent h3, #second-46 #postcontent h3, #second-42 #postcontent h3{font-weight:bold;font-size:1.1em;#font-size:1em;background:url(images/check.png) scroll no-repeat 0 0;padding-left:25px;padding-top:3px;text-align:left;text-decoration:underline;}
#second-26 #postcontent h3.gallery {background:url(images/camera.png) scroll no-repeat 0 0;line-height:20px;}
#second-26 #postcontent div.gallery a {color:#f4f7f7;}
#second-26 #postcontent div.gallery a:hover {color:#0051b0;text-decoration:underline;}
#second-26 #postcontent div p {padding:10px 10px 15px 25px;}
#vehicles {margin-top:30px;}

/* Start of Featured services slider */
.sliderwrapper{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/
border: none;
width: 411px; /*width of featured content slider*/
height: 179px;
margin-top:15px;#margin-top:20px;
}

.sliderwrapper .contentdiv{
visibility: hidden; /*leave as is*/
position: absolute; /*leave as is*/
left: 0;  /*leave as is*/
top: 0;  /*leave as is*/
background: white;
width: 411px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
height: 100%;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

.pagination{
width: 411px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
text-align: center;
margin:5px auto;#margin:6px auto;
}

.pagination a{
padding: 1px 6px 1px 6px;#padding:0px 6px 4px 6px;font-size:1.3em;#font-size:1.2em;
text-decoration: none; 
color: #00007D;
line-height:21px;
background: url(images/special_off.png) no-repeat scroll 0 0;
}

.pagination a:hover, .pagination a.selected{
color: #fff;
background: url(images/special_on.png) no-repeat scroll 0 0;
}

/* Start of Footer CSS Here */
#footer {width:811px;background:url(images/footer_bg.png) scroll no-repeat;border:none!important;margin:auto;color:#000;text-align:center!important;padding-left:0!important;padding-right:0!important;padding-top:4px!important;}
#footer a {border-bottom:none!important;color:#000;}
#footer a:hover {color:#000;text-decoration:underline;}
#footer ul li {list-style:none;display:inline;padding:5px;}

/* Gallery */

#photo li {
	float: left;
        height: 30px;
	margin-left: 5px;
	background: url(images/gallery_btn_right.png) no-repeat right top;
	font-size: 0.6em;
        #font-size:0.5em;
	list-style:none;
        #letter-spacing:-0.2pt;
}
#photo li a {
	float: left;
	display: block;
	height: 30px;
	padding: 7px 15px 0px 10px;
	background: url(images/gallery_btn_left.png) no-repeat left top;
	color: #000;
	text-decoration: none;
margin:0 -5px auto;
font-weight:bold;
font-size:1.4em;
#font-size:1.5em;
}

div.piclenselink {display:block;#display:inline-block;padding:0px 0px 40px 10px;#padding:0px 0px 0px 10px:z-index:100;}
.ngg-gallery-thumbnail-box {padding-top:1px;#padding-top:20px;#margin-top:-50px;#height:125px}
#piclens {position:absolute;margin:10px 103px auto;#margin:0px 103px auto;z-index:0}
#piclens ul li {padding-left:2px;}

/* Equipments */
.table_border2 {border:1px #D8CFC2 solid}
#second-38 .piclenselink {display:none}
#second-38 .ngg-galleryoverview  {margin:10px 0px 0px 10px;#margin:10px 0px 0px 10px;}
#second-38 td.table_curr3 {height:90px;}
#machineries img,#vehicles img{#margin-top:30px}
.table_top5b {background-color:#908d32;color:#fff;font-weight:bold;}

/* Contact Form */
#contactform {margin: 10px auto;}

/* Highlights */
#seminars {margin-top:20px;}

/* Head slider */
#AstirPictureBackground {margin-left:13px;}
