

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html { background: #fff; }
body { margin: 0 auto; width: 964px; }

#header, #header2 {
	width: 768px;
	margin: 0 98px;
	}
#header {
		height: 145px;
		}
#header2 {
	height: 88px;
	
	}
	
.logo {
	margin-top: 37px;
	float: left;
	}
.logo h3 {
	margin-top: 18px;
	}
.blog {
	text-align: right;
	float: right;
	}
.ani {
	margin-top:16px;
	text-align: right;
	float: right;
	}
#mainContent { 
	height: 465px;
	width: 964px;
	overflow:hidden
	}
	
#mainContent2 { 
	border-top: 5px solid #919388;
	width: 768px;
	margin:0 98px;
	}

.hg1 	{ background:url(../img/w1.jpg) no-repeat;  height: 465px; 	}
.hg2	{ background:url(../img/w2.jpg) no-repeat;  height: 465px;	}
.hg3	{ background:url(../img/w3.jpg) no-repeat;  height: 465px;	}
.hg4	{ background:url(../img/w4.jpg) no-repeat;  height: 465px; 	} 

#openera, #opener, #opener2, #opener2a, #openerb, #openerc, #opener2b, #opener2c {
	float: right;
	height: 30px;
	width: 30px;
	margin: 14px;
	position: relative;
	z-index: 2000;
	cursor:pointer;
	}
#opener, #openera, #openerb, #openerc { background: url(../img/i_button.png) no-repeat;  }	

#opener:hover, #opener:active, #openera:hover, #openera:active, #openerb:hover, #openerb:active, #openerc:hover, #openerc:active {
		background: url(../img/i_button_on.png) no-repeat;
		}
#opener2, #opener2b, #opener2c { display: none; }
.icons {
	float: left;
	margin: -60px 0 0 98px;
	position: relative;
	z-index: 5000;
	}
.icons img { margin-right: 8px; }
#hidden, #hiddenb, #hiddenc {  display: none; }
#hidden, #hiddena, #hiddenb, #hiddenc { 
	background: url(../img/hg.png) repeat-y;
	opacity:0.80;
	filter:alpha(opacity=80); /* For IE8 and earlier */
	width: 965px;
	height: 465px;
	position: absolute;

	}
.blockdiv { display: block; width:964px; height:60px; }

#text { float:left; width: 768px; position: relative; top: 0px; margin: 0 98px; }

#text2 { width: 768px; margin: 10px 0 0 0;}

#nav-left{ text-align: left; position:absolute; z-index: 3000; float:left; margin: 214px 14px 0 14px; width: 936px;}

#nr { float: right; text-align: right; width: 30px; }

#nl { text-align: left; width: 30px; }

/* #hidden h1, #hidden p, #hidden-a h1,  #hidden-a { padding: 0 0 0 98px; } */

#footer {  }

#footer2 { border-top: 2px solid #919388; 
	margin-top: -6px;
	width: 768px;
	margin:0 98px 20px 98px; 
	}
#imp {
	float: left;
	width: 362px;
	margin-left: 98px;
	margin-top: 34px;
	position: relative;
	z-index: 100;
	}
.light, .light a {
	line-height: 1em;
	color: #babbb1;
    margin: 0;
	}
.p18, .light {
	font-family: 'Marat Light', arial, helvetica, sans-serif;
	font-size: 1.125em;
	margin: 0 0 16px 0;
	}
.p18b, .pskills {
	font-family: 'Marat Bold', arial, helvetica, sans-serif;
	font-weight:bold;
	font-size: 0.875em;
	}
.pskills { margin-top: -5px; margin-left: 98px; color: #919388; font-size: 1.125em}
.p18:last-child { margin: 0 0 8px 0; }
a, p.light a  {
	text-decoration: none;
	}
a {
	color: #212322;
}

a:hover, p.light a:hover {
	color: #cb333b;
	}
a:focus { outline: 0; }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}



