﻿/** 
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}
a {
	color: #FFFFFF;
	text-decoration: none;
}

a:active {
 outline: none;
}

body {
	color: #333;
	font-size: 62.5%;
	line-height: 18px;
	margin-bottom: 40px;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", "Tahoma", sans-serif;;
	margin-top: 10px;
}

html {
	width: 100%;
	background-color: #FFFFFF;
	background-image: url('../images/layout/background.gif');
	background-repeat: repeat-x;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#topnav {
	width: 1020px;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	text-align: right;
	margin: 0 auto;
}

#topnav a {
	text-decoration: none;
	color: #FFFFFF;
	margin: 0;
	padding: 0;
}
#topnav a:hover {
	text-decoration: underline;
	color: #0154a4;
	margin: 0;
	padding: 0;
}


#HeaderContainer{
	background-image: url('../images/layout/headerbar.png');
	width: 1020px;
	height: 107px;
	margin-top: 5px;
}
.headerbar_nav a.kerasoft_logo {
	border-style: none;
	display: block;
	padding: 22px 0 0 29px;
	margin-right: 38px;
}

#BgContainer {
	width: 1020px;  
	margin: 0 auto; 
}

#Container {
	width: 986px;
	padding-bottom: 15px;
	background: transparent url('../images/layout/horizont_shadow.png') repeat-y !important;
	margin-left: 16px;
	margin-top: -35px;
}
#Layout {
	width: 980px;
	clear: both;
	overflow: hidden;
	margin: 1px auto;
}
#Resources {
	width: 980px;
	clear: both;
	overflow: hidden;
	margin: 1px auto;

}
#LayoutBanner {
	display: block;
	width: 980px;
	background: transparent;
	height: 240px;
	background-image: url('../images/layout/home_ie.jpg');
	margin-top: -1px;
	margin-bottom: 10px;
}
#LayoutBanner_KeraSoftIC {
	display: block;
	width: 980px;
	background: transparent;
	height: 240px;
	background-image: url('../images/layout/kerasoftIC_banner.jpg');
	margin-top: -1px;
	margin-bottom: 10px;
}

.LayoutImg {
	display: block;
	width: 980px;
	height: 240px;
}
#Content {
	width: 750px;
	float: right; 	
	margin: 0;
	text-align: left;
}
#Content a {
	color: #000080;

}

#Content a:hover {
	color: #000080;
	text-decoration: underline;
}

#Content a:hover span {
	background-position:100% -26px;
	}
#Content a.current {
	background-position: 0% -26px;
	margin-top: -1px;
}

/* HEADER
----------------------------------------- */
#header {
	width: 980px;
	background: transparent no-repeat !important;
	padding: 300px 0 0 0;
	margin: 0px;
	text-align: left;
}
#Header h1 {
	color: #808080;
	font-size: 3.2em;
	font-family: Tahoma, Verdana, sans-serif;
	font-weight: 300;
	padding: 20px 0 0 30px;
}
#Header p {
	font-size: 1.4em;
	color: #808080;
	clear: left;
	margin: 0 0 0 100px;
}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	float: left;
	width: 100%;
	font-size: 1.3em;
	line-height: normal;
	overflow: hidden;
	margin-top: 18px;
	margin-left: 155px;
}

#Navigation ul {
	margin: 0;
	padding: 10px 10px 0 0px;
	list-style: none;
}

#Navigation li {
	display:inline;
	margin:0;
	padding:0;
	}

#Navigation a {
	float: left;
	background: url('../images/navigation/left.png') no-repeat left top;
	margin: 0;
	padding: 0 0 0 6px;
	text-decoration: none;
}

#Navigation a span {
	float: left;
	display: block;
	background: url("../images/navigation/right.png") no-repeat right top;
	padding: 5px 15px 6px 6px;
	margin-right: 12px;
	color: #000000;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#Navigation a span {float:none;}

/* End IE5-Mac hack */
#tabs a:hover span {
	}

#Navigation a:hover {
	background-position:0% -26px;
	}

#Navigation a:hover span {
	background-position:100% -26px;
	}
#Navigation a.current {
	background-position: 0% -26px;
	margin-top: -1px;
}
#Navigation a.current span {
background-position:100% -26px;
	}

/* end of Navigation */
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar {
	width: 200px;
	float: left;
	margin: 10px 0 0 10px;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sidebar/sidebarHeader.png) no-repeat left top; 
	}
		#Sidebar .sidebarBlogBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sidebar/sidebarBlogHeader.png) no-repeat left top; 
	}
#LinkWidget{
margin: 0;}

	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 {
	clear: both;
	color: #666666;
	font-weight: 700;
	font-size: 1.4em;
	margin: 0 0 0px 0;
	line-height: 1.8;
	padding: 1px 0 0 10px;
	background: transparent url() repeat-x center left;
	bottom: 10px;
	text-shadow: #dddddd 1px 1px 2px;
}
	#Sidebar .sidebarTop {
		height: 27px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
		background: #EFEFEF url(../images/sidebar/sidebarTopBg.png) no-repeat center top;
	}

	#Sidebar .sidebarBottom {
		height: 33px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
		background: #EFEFEF url(../images/sidebar/sidebarBottomBg.png) no-repeat center bottom;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
	/* MENU2 */
    ul#Menu2 li { 
    	font-size: 1em; 
    	margin: 1px 0 5px 4px;
        list-style: none;
    }
    	ul#Menu2 li a {
            display: block;
            width: 196px;
            font-size: 1.2em;
            height: 1.8em;
            line-height: 1.8em;
            color: #666;
      	}
			ul#Menu2 li em {
				padding-left: 8px;
				display: block;
			}
				ul#Menu2 li li em {
					padding-left: 0;
				}
      	/* Level 1 
      	- We use 3 elements for the nav to get 3 background images applied.
            * span - topleft rounded corner
            * em - bottomleft rounded corner
            * a - arrow on the right
            <a><span><em></em></span></a>
      	*/
      	ul#Menu2 li a:hover,
      	ul#Menu2 li a.current,
      	ul#Menu2 li a.current:hover {
        	background: #DCDCDC url(../images/sidebarSideArrow.gif) no-repeat right center;
        	color: #666;
			cursor: pointer;
            text-decoration: none;
      	}
	  	ul#Menu2 li a.current {
	  		font-weight: 700;
	  	}
      	ul#Menu2 li a.section,
      	ul#Menu2 li a.section:hover {
            background: #DCDCDC;
            font-weight: 700;
            width: 193px; 
      	}
      	ul#Menu2 li a.levela:hover span,
      	ul#Menu2 li a.current span,
      	ul#Menu2 li a.section span,
      	ul#Menu2 li a.section:hover span,
      	ul#Menu2 li a.current:hover span {
			background: transparent url(../images/sidebarTopLeftHover.gif) no-repeat left top;
			display: block;
			width: 100%;
			height: 100%;
		} 
		ul#Menu2 li a.levela:hover em,
		ul#Menu2 li a.current em,
		ul#Menu2 li a.section em,
		ul#Menu2 li a.section:hover em,
		ul#Menu2 li a.current:hover em {
        	background: transparent url(../images/sidebarBottomLeftHover.gif) no-repeat left bottom;
			display: block;
			width: 100%;
            height: 100%;
      	}
      		ul#Menu2 li ul {
            	height: 100%;
            	position: relative;
            	margin: -4px 0 0 0;
            	width: 193px;
            	padding: 4px 0 10px 0;
            	background: #DCDCDC url(../images/sidebarSectionBottom.png) no-repeat bottom left;
      		}
      			ul#Menu2 li ul li {
            		width: 160px;
            		background: #DCDCDC;
            		padding: 0;
            		font-size: 0.8em;
            		display: inline;
            		margin: 0;
      			}
      				ul#Menu2 li ul li ul {
            			background: #DCDCDC;
            			margin-left: 0;
      				}	
      
					ul#Menu2 li li a.current,
      				ul#Menu2 li li a.section,
      				ul#Menu2 li li a.section:hover,
      				ul#Menu2 li li a.current:hover {
            			color: #555;
            			font-weight: 700;
            			background: #DCDCDC;
      				}
      					ul#Menu2 li li ul {
            				margin: 0 0 0 10px;
            				padding: 0;
            				width: 175px;
      					}
      					ul#Menu2 li li ul .roundWhite {
            				margin-bottom: -10px;
      					}
      			
			/* Sub Menu */
      		ul#Menu2 li a.levelb {
            	font-size: 1.7em;
            	text-indent: 8px;
            	width: 188px;
				background: transparent;
            	margin-left: 10px;
      		}
	  		ul#Menu2 li a.levelb:hover,
      		ul#Menu2 li li a.current,
      		ul#Menu2 li li a.current:hover,
      		ul#Menu2 li li a.section,
      		ul#Menu2 li li a.section:hover {
            	background: #BCBCBC url(../images/sidebarSideArrow2.gif) no-repeat right center;
            	text-decoration: none;
            	display: block;
            	color: #fff;
      		}
      		ul#Menu2 li a.levelb:hover span,
      		ul#Menu2 li li a.current span,
      		ul#Menu2 li li a.current:hover span,
      		ul#Menu2 li li a.section span,
      		ul#Menu2 li li a.section:hover span {
            	background: transparent url(../images/sidebarTopLeftHover2.gif) no-repeat left top;
            	display: block;
            	width: 100%;
            	height: 100%;
      		} 	
      		ul#Menu2 li a.levelb:hover em,
      		ul#Menu2 li li a.current em,
      		ul#Menu2 li li a.current:hover em,
      		ul#Menu2 li li a.section em,
      		ul#Menu2 li li a.section:hover em {
            	background: transparent url(../images/sidebarBottomLeftHover2.gif) no-repeat left bottom;
            	display: block;
            	width: 100%;
            	height: 100%;
      		}

#videobtn {
		height: 193px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
		background: #EFEFEF no-repeat center bottom;
	}
.QueensLogo {
	border-width: 0px;
}


/* COMMENTS
---------------------------------------- */
#CommentHolder ul {
	list-style: none;
	margin: 20px 0;
}
#PageComments li {
	margin: 5px 0;
	padding: 1px;
	width: 88%;
}
	#PageComments li.odd {
		background: #E8F6FF url(../images/commentBg.png) no-repeat 1% 10%;
		padding-left: 40px;
		padding-right: 10px;
		border-bottom: 2px solid #BCE4FE;
	}
	#PageComments li.even {
		background: #fff url(../images/commentBgAlt.png) no-repeat 99% 10%;
		padding-right: 40px;
		padding-left: 10px;
	}

		#PageComments li.odd p.info {
			color: #3AA0C3;
		}

		.actionLinks li {
		   display: inline;
		   border-right: 1px solid;
		}
			.actionLinks li a {
				padding-right: 3px;
				font-size: 10px;
			}
   			.actionLinks li.last {
      			border-right: none;
   			}

.commentrss {
	background: transparent url(../images/feed-icon-14x14.png) no-repeat;
	padding-left: 20px;
	font-size: 1.1em;
	line-height: 1.6em;
}
#PageCommentsPagination p {
	text-align: center;
	font-size: 1.2em;
}
#PageComments p {
	font-size: 1em;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}

/* SEARCH FORM 
-----------------------------------------------*/
#SearchContainer {
	width: 230px;
	padding-bottom: 15px;
	}

html #SearchForm_SearchForm {
	float: left;
	width: 230px;
	margin-left: 45px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 0 5px 0 0;
	padding: 0px;
	background-color: #C0C0C0;
	height: 26px;
	background-image: url('../images/layout/searchbox.png');


}
html #SearchForm_SearchForm .middleColumn input.text {
	background: transparent;
	width: 150px;
	border: none;
	color: #666;
	height: 15px;

	font-size: 12px;
	font-variant: normal;
}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	background-position: left;
	display: block;
	float: right;
	clear: none;
	background: url('../images/layout/search_click.png');
	padding-top: 24px;
	cursor: pointer;
	overflow: hidden;
	border: none;
	width: 80px;
	height: 27px;
	background-repeat: no-repeat;
	margin-left: -40px;
}
#cse-search-form {
	width: 230px;
	padding-bottom: 15px;
	}



/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	border: 4px solid #F7F8B4;
	background: #FFFFEA;
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 4px 0 0 3px;
	padding: 5px;
	width: 92%;
	color: #DC1313;
	border: 4px solid #FF7373;
	background: #FED0D0;
}



p#Remember label {
	margin: -24px 0 0 20px;
	text-align: left;
}
.entry {
	border-bottom: 1px solid #eee;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
/* UNSUBSCRIBE NEWSLETTER
------------------------------------------------ */
#Unsubscribe_MailingListForm_MailingListForm{
	min-height:100px;
}

	#Unsubscribe_MailingListForm_MailingListForm p{
		margin:0 !important;
		padding:10px;
	}
		#Unsubscribe_MailingListForm_MailingListForm p label{
			display: inline;
		}
	#Unsubscribe_MailingListForm_MailingListForm label{
		margin:0;
	}


/* FOOTER
----------------------------------------------- */

#Footer {
	clear: both;
	width: 986px;
	height: 5em;
	text-align: center;
	margin-left: 16px;
	
}
#Footer .footerTop {

	background: transparent url('../images/layout/footer.png') no-repeat bottom !important;
	display: block;
	height: 50px;
}
  	#Footer p {
	color: #808080;
	font-size: 1.0em;
	text-align: right;
	margin-top: -0.6em;
}
  		#Footer a {
	color: #808080;
	text-decoration: none;
}
			#Footer a:hover {
	color: #000080;
	text-decoration: underline;
}
.twitimage {border-style: solid;border-width: 0;}
/*Event Calendar Bits
===============================*/
#topHeading { border-bottom:3px solid #6a6a6a; padding:12px 0 4px 0; }
#topHeading h2 {clear:both;}
#topHeading span { display:block; margin-top:12px;float:left; }
#topHeading span.feed {
	padding: 3px 10px 3px 20px;
	float: right;
	background: transparent url('../images/feed.png') left top no-repeat;
	color: #000080;
	width: 180px;
	height: 32px;
	text-indent: 15px;
	font-size: 11px;
}
#topHeading span.feed a {
	color: #000080;
}

/* Mouse Over Image Blowup
----------------------------------------------- */
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{
	/*CSS for enlarged image*/
position: absolute;
	background-color: #EBEBEB;
	padding: 5px;
	left: -1000px;
	border: 1px solid gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
	z-index: auto;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}
/* ######### CSS for Shade Tabs. Remove if not using ######### */

.shadetabs{
padding: 3px 0;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 12px Verdana;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs li{
display: inline;
margin: 0;
}

.shadetabs li a{
text-decoration: none;
position: relative;
z-index: 1;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: #2d2b2b;
background: white url(shade.gif) top left repeat-x;
}

.shadetabs li a:visited{
color: #2d2b2b;
}

.shadetabs li a:hover{
text-decoration: underline;
color: #2d2b2b;
}

.shadetabs li a.selected{ /*selected main tab style */
position: relative;
top: 1px;
}

.shadetabs li a.selected{ /*selected main tab style */
background-image: url(shadeactive.gif);
border-bottom-color: white;
}

.shadetabs li a.selected:hover{ /*selected main tab style */
text-decoration: none;
}
