/*  
Theme Name: Yancey
Theme URI: http://wordpress.org/
Description: Custom Wordpress
Version: 1.0
Author: Aliping Walang Kabuluhan
Author URI: http://bsece.com/

	Kubrick v1.5
	 http://binarybonsai.com/kubrick/

	This theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/



/* Begin Typography & Colors */
.wrapper {
	width: 983px;
	margin-right: auto;
	margin-left: auto;
	background: #FFF;
}
a {
    color: #F57921;
    text-align: left;
font-weight: bold;
	text-decoration:none;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	color: #333333;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 14px;
	//font-weight: bold;
	background-color: #000;
	background-image: url(images/background.jpg);
	background-repeat:repeat-x;
}
#tagline {
	padding-left: 260px;
}
.header {
	height: 187px;
	background: url(http://www.yanceycompany.com/blog/wp-content/uploads/2011/07/header.png);
}
.main {
    padding: 10px 20px 5px;
}

h2 {
    color: #F57921;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}
h2 a{
    color: #F57921;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
	text-decoration:none;
}
.footer {
	background: url(images/Footer.png);
	height: 93px;
	width: 983px;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

.menux {
height: 95px;
width: 840px;
background:url(images/menu1.png)no-repeat;
position: absolute;
top: 50px;
*position:relative;
*z-index:9999999;
}

.menu {
	padding:0 0 0 32px; 
	margin-top:29px; 
	margin-left:235px;
	list-style:none; 
	height:40px;
	font-family:arial, verdana, sans-serif;
        
	}
	
.menu li.top {
	display:block; 
	float:left; 
	position:relative;
	padding:0 3px;
	}

.menu li a.top_link {
	display:block; 
	float:left; 
	height:35px; 
	line-height:33px; 
	color:#222326; 
	text-decoration:none; 
	font-size:15px; 
	font-weight:bold; 
	padding:0 2px; 
	cursor:pointer;
	}

.menu li a.top_link span {
	float:left;
	font-weight:bold;
	display:block;
	height:10px;
	padding:2px;
	text-transform: uppercase;
	}

.menu li a.top_link span.down {
	float:left; 
	display:block; 
	padding:0 24px 0 12px; 
	height:40px;
	}

.menu li a.top_link:hover{
	color:#F07D00;
	background:#222326;
}
.menu table {
	border-collapse:collapse; 
	width:0; height:0; 
	position:absolute; 
	top:0; left:0;
	}

.menu a:hover {
	visibility:visible;
	}

.menu li:hover {
	position:relative; z-index:200;
	}

.menu ul, 
.menu :hover ul ul, 
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {
	position:absolute; 
	left:-9999px; 
	top:-9999px; 
	width:0; 
	height:0;
	margin:0;
	padding:0; 
	list-style:none;
	}

.menu :hover ul.sub{
	left:-18px;; 
	top:34px;
	right:2px;
	padding:0; 
	white-space:nowrap; 
	width:150px; 
	height:auto;
		
}

.menu :hover ul.sub li {
	display:block; 
	position:relative; 
	float:left; 
	padding:0;
	text-align:center;
	border:1px solid #222326;
	}
	
.menu :hover ul.sub li a {
	font-weight:bold;
	display:block; 
	font-size:12px; 
	height:20px; 
	width:150px; 
	line-height:20px; 
	text-indent:5px; 
	color:#333;
	text-decoration:none; 
	background:#DD752C;
	padding:2px;
}



.menu :hover ul.sub li a:hover {
	background:#222326; 
	color:#fff;
	}

.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{
	left:90px; 
	top:-4px; background: #fff; 
	border:1px solid 999999; 
	white-space:nowrap; 
	width:93px; 
	z-index:200; 
	height:auto;
	}
#gif {
    padding-left: 260px;
    position: absolute;
}

/*****additonal codes*****/
.header{
    *position:relative;
    *z-index:9999999; 
}
.menux{
     *margin-top:-180px;
}
/*******SOCIAL ICONS*******/
.icons {
	text-align: right;
	position: absolute;
	right: 10px;
	line-height: 20px;
	height: 24px;
        z-index:99999999999;
        width:100px; 
        top: 0;
}
.icons a {display: block;width: 22px; height: 22px; margin-left: 7px; float: right;text-align: right;}
.icons .twitterlink {background: url(http://www.yanceycompany.com/blog/wp-content/uploads/2012/03/sprite-socialiconsdefault.png) no-repeat -22px -22px;}
.icons .youtubelink {background: url(http://www.yanceycompany.com/blog/wp-content/uploads/2012/03/sprite-socialiconsdefault.png) no-repeat -44px -22px;}
.icons .linkedinlink {background: urlhttp://www.yanceycompany.com/blog/wp-content/uploads/2012/03/sprite-socialiconsdefault.png) no-repeat -66px -22px;}
.icons .facebooklink {background: url(http://www.yanceycompany.com/blog/wp-content/uploads/2012/03/sprite-socialiconsdefault.png) no-repeat -88px -22px;}