/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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 { background-color:#C8C2AA; }

/* 
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio, canvas, iframe, img, svg, video { vertical-align:middle; }

/*
 * Remove default fieldset styles.
 */
fieldset { border:0; margin:0; padding:0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea { resize:vertical; }

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

/*.browserupgrade { margin:0.2em 0; background:#ccc; color:#000; padding:0.2em 0; } */

/* ==========================================================================
   Author's custom styles   font:italic bold 1em Verdana,Arial,Helvetica, sans-serif; 
   ========================================================================== */
body { width:927px; background-size:100% 100%; height:101%;
	color:#666666; background-color:#C8C2AA; margin:0 auto;
	-webkit-text-size-adjust:100%; } 

body { background:url("../img/wrapbg.jpg") repeat-y top center; } }
/* #blogx header { margin-top:-26px; } */
header { color:#ffffff; display:block; margin:0 auto; padding:0 auto; } 
header { height:164px; background:url("../img/head.jpg") no-repeat top center;  }

h1 {  font:normal 2em  Georgia, "Times New Roman", Times, serif; text-align:right; margin:0 auto; padding:1% 5% 0 0; }
h1 span { font-size:.7em; display:block; margin-top:0px; color:#ffffff; }
h1 a:link, h1 a:visited{ color:#ffffff; text-decoration:none; }
h1 a:hover, h1 a:active { color:#ffffcc; text-decoration:none; }

nav { float:left; background:url("../img/sidemenu.jpg") no-repeat top center; width:269px; height:382px; padding-left:20px; }

#menu ul { padding-left:50px; width:160px; list-style:none; }
#menu ul a { border-top:solid 1px #FFF; border-bottom:solid 1px #DFCD95; /*  border-right-color:#CCC; border-bottom-color:#CCC;*/
  padding:0 14px; display:block;  background:transparent;   color:#666;
  font:normal 12px/26px Verdana, Arial, Helvetica, sans-serif; text-decoration:none; height:auto !important; height:1%; /*For IE*/ }

#menu h3 { display:block; color:#666600; border-bottom:solid 1px #DFCD95;
	font:normal 22px/1.2em "Georgia", serif; width:150px; margin:70px auto 0 auto; padding-left:15px; }
	
.blogmenu { margin-left:-2em; padding-left:0; }
.blogmenu h2 { font-size:1em; }
ul.blogmenu ul { margin-left:-2em; }

#content { display:block; float:left; padding:0 2% 20% 2%; width:60%; 
    background:#efefef;
    margin-right:4%;
    border:solid 1px #999999; }
h2 { font:italic bold 28px/110% "Georgia", serif; color:#666600; display:block; padding:2% 2% 3% 4%; text-align:left; }
/* section h2 { font:italic bold 28px/110% "Georgia", serif; color:#666600; background:transparent; display:block; margin:10px 12px 20px 12px; } */
ul#homelist { margin-left:3em; }
#homelist, #homelist a { list-style:square;
	font:italic bold 16px/1.4em "Georgia", serif; color:#666600; background:transparent; text-decoration:none; }
#homelist li { padding-bottom:1.2em; padding-left:.9em; }

footer { display:block; clear:both; margin:0 auto; background:url("../img/postbottombg.jpg") no-repeat; 
	width:910px; height:111px; text-align:center; }
footer a, #footer a:visited, #footer a:active { color:#996633; text-decoration:none; }

/* MOBILE 
@media screen and (max-width:767px) 1024
*/
 @media screen and (max-width:767px) { 
 
 
 
 }


/* Finish positioning for media queries */


/* what follows is a really long style addition for the forms */
/* === Remove input autofocus webkit === */
*:focus {outline:none;}

/* === Form Typography === */
.form_hint, .required_notification {font-size:11px;}

/* === Form Header === */

.required_notification {
	color:#d45252; 
	margin:5px 0 0 0; 
	display:inline;
	float:right;
}

/* === Form Elements === */

fieldset { margin-left:10%; }
fieldset br { clear:both; }
fieldset div { padding-bottom:2%; }
label { margin-bottom:4em; }
textarea { padding:8px; width:20em; }
.captcha { padding-bottom:4%; }
#captchaimg { display:block; float:left; margin:3% 0 3% 25%; }
.submit { padding:2%; }
	/* form element visual styles */
	input, textarea { 
		border:1px solid #aaa;
		box-shadow:0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:30px;
		-moz-transition:padding .25s; 
		-webkit-transition:padding .25s; 
		-o-transition:padding .25s;
		transition:padding .25s;
	}
	input:focus, textarea:focus {
		background:#fff; 
		border:1px solid #555; 
		box-shadow:0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5 validation styles === */	
input:required, textarea:required {
	background:#fff url(images/red_asterisk.png) no-repeat 98% center;
}
input:required:valid, textarea:required:valid {
	background:#fff url(images/valid.png) no-repeat 98% center;
	box-shadow:0 0 5px #5cd053;
	border-color:#28921f;
}
input:focus:invalid, textarea:focus:invalid {
	background:#fff url(images/invalid.png) no-repeat 98% center;
	box-shadow:0 0 5px #d45252;
	border-color:#b03535
}

select {
    width: 100%;
    padding:2% 1%;
    border:1px solid #efefef;
    border-radius: 4px;
    background-color: #f1f1f1;
	 margin-left:2.18em;
}

/* === Button Style === */
.submit {
	background-color:#68b12f;
	background:-webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
	background:-webkit-linear-gradient(top, #68b12f, #50911e);
	background:-moz-linear-gradient(top, #68b12f, #50911e);
	background:-ms-linear-gradient(top, #68b12f, #50911e);
	background:-o-linear-gradient(top, #68b12f, #50911e);
	background:linear-gradient(top, #68b12f, #50911e);
	border:1px solid #509111;
	border-bottom:1px solid #5b992b;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-ms-border-radius:3px;
	-o-border-radius:3px;
	box-shadow:inset 0 1px 0 0 #9fd574;
	-webkit-box-shadow:0 1px 0 0 #9fd574 inset ;
	-moz-box-shadow:0 1px 0 0 #9fd574 inset;
	-ms-box-shadow:0 1px 0 0 #9fd574 inset;
	-o-box-shadow:0 1px 0 0 #9fd574 inset;
	color:white;
	font-weight:bold;
	padding:6px 20px;
	text-align:center;
	text-shadow:0 -1px 0 #396715;
}
.submit:hover {
	opacity:.85;
	cursor:pointer; 
}
.submit:active {
	border:1px solid #20911e;
	box-shadow:0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow:0 0 10px 5px #356b0b inset;
	-ms-box-shadow:0 0 10px 5px #356b0b inset;
	-o-box-shadow:0 0 10px 5px #356b0b inset;
	
}









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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display:none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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 */
}

@media print,
       (-webkit-min-device-pixel-ratio:1.25),
       (min-resolution:1.25dppx),
       (min-resolution:120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background:transparent !important;
        color:#000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow:none !important;
        text-shadow:none !important;
    }

    a,
    a:visited {
        text-decoration:underline;
    }

    a[href]:after {
        content:" (" attr(href) ")";
    }

    abbr[title]:after {
        content:" (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content:"";
    }

    pre,
    blockquote {
        border:1px solid #999;
        page-break-inside:avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display:table-header-group;
    }

    tr,
    img {
        page-break-inside:avoid;
    }

    img {
        max-width:100% !important;
    }

    p,
    h2,
    h3 {
        orphans:3;
        widows:3;
    }

    h2,
    h3 {
        page-break-after:avoid;
    }
}
