﻿body {
    font: 16px/1.4 Verdana, Arial, Helvetica, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
    color: #000;
    background:url(images/bg.jpg);
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-position:right bottom;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */

}

ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
    margin: 10px 0 10px 16px;        
}
h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;	 
    padding-right: 5px;
    padding-left: 5px; 
    padding-top: 5px; 

}
ul li, ol li{margin-bottom: 7px}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
    border: none;
}
a:link {
    color: #42413C;
    text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
    color: #6E6C64;
    text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
    text-decoration: none;
}

.container {
    width: 940px;
    background: #FFF;
    margin: 30px auto; /* the auto value on the sides, coupled with the width, centers the layout */
    border: 1px solid #ccc;
    text-align: left; /* this overrides the text-align: center on the body element. */
	padding:25px;
	box-shadow:4px 4px 4px #aaa;
}

.header { 
    width: 100%;	
} 
.header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */	
}
.header hgroup{margin: 0 2%}
.header h3 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    font-size: 2.2em;
	line-height: 1.2em;
	margin-bottom:-14px;
}
.header h3 a {text-decoration:none;}

#site-description{
    margin: 0;
    font-variant: normal;
    font-size: 85%;
    margin-bottom: 22px;
}
.page{
    clear: both;
    padding-top: 10px;
    width: 100%;
}
.menu {
    float: left; /* since this element is floated, a width must be given */
    width: 23.693%;
    padding: 1.144%;
    min-height: 300px;
    background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 0; /* top and bottom padding create visual space within this div */
    padding-left: 5px;
}

.menu p {
    font-size:0.9em;
}

.menu ul {
    font-size:0.9em;
    padding-left:15px;
    padding-right:5px;
}
.content {

    width: 71.115%;
    padding: 0 2%;
    float: right;
	margin-bottom:30px;
}

.content ul, .content ol { 
    padding: 0 15px 0px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}
.content h1 {
    border-left: solid 6px #bbb;
    border-bottom: solid 1px #bbb;
    padding-left: 20px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 1.6em;
    font-weight:lighter;
    margin-top:10px;
    line-height: 1.2em;
}
.content h2  {
    border-left: solid 6px #bbb;
    padding-left: 12px;
    border-bottom: solid 1px #bbb;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight:lighter;
}
.content h3, .content h4, .content h5 {
    border-left: solid 7px #ddd;
    border-bottom: solid 2px #ddd;
    padding-left: 17px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight:lighter;
}
hr {margin:30px 10px;border:1px solid #54D267;}

ul#nav {
    list-style: none; /* this removes the list marker */
    border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
    margin-bottom: 15px; /* this creates the space between the navigation on the content below */
    margin-left: 0;
}
ul#nav li {
    border-bottom: 1px solid #666; /* this creates the button separation */	
    margin-bottom: 0;
}
#active a{}
ul#nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
    padding: 5px 5px 5px 15px;
    display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
    width: 100%;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
    text-decoration: none;
    background: #fff;
}
ul#nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
    background: #555;
    width: 91%; 
    color: #FFF;
}

.footer {
    text-align: center;
    font-size:12px;
    color:#FFF;
    background: #000;
    padding: 1px 10px 10px 10px;	
    clear: both;  /* this clear property forces the .container to understand where the columns end and contain them */
    width: 100%;
    padding: 1% 0;
}

.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
    float: left;
    margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.content img, .menu img {
    background: #fafafa;
    border: 1px solid #dcdcdc;
    padding: 5px;
    height: auto;    
}
img.float-right {
    margin: 5px 0px 10px 10px;  
}
img.float-left {
    margin: 5px 10px 10px 0px;
}

code {
    margin: 5px 0;
    padding: 10px;
    text-align: left;
    display: block;
    overflow: auto;  
    font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
    /* white-space: pre; */
    border: 1px solid #eee; 
    background: #fff;  
}
acronym {
    cursor: help;
    border-bottom: 1px dashed #777;
}
blockquote {
    margin: 10px;
    padding: 0 35px 0 55px;  
    border: 1px solid #eee; 
    background-color: #fff; 
    background-image: url(images/66.jpg), url(images/99.jpg);
    background-repeat: no-repeat;
    background-position: top left, bottom right;
    font: italic 1.2em/1.4em Georgia, Arial, 'Trebuchet MS', Tahoma, Sans-serif;
    color: #555;
}

#header-img img {border:1px solid #aaa}

fieldset#contact-form {
    margin:20px 0px 20px 10px;
    padding:10px;
    font-size:14px;
    color:#000;
    background:url(images/email.jpg) bottom right no-repeat;
    border:1px solid #eee;
}
.menu h4 {margin:15px 0 5px 0;}
@media (max-width: 1024px) {.container { width: 98%;}}
@media (max-width: 992px) {.content img {max-width:98%;}.header h1{font-size: 1.6em}ul#nav a:hover {width: 90%;}.container{ width: 90%; margin: 1% auto; padding: 3%; border: 1% solid #000}		   #site-description{font-size: 80%; margin-bottom: 1em}}
@media (max-width: 767px) {textarea{width: 90%}blockquote{margin: 0; }blockquote p{font-size:0.8em } hr{margin: 20px 10px;}ul#nav a:hover {width: 87%;}.menu ul {padding-left: 0;}.content {padding: 0 1%;width: 67.115%;}.content h1{font-size:1.6em} .content blockquote{margin: 0} .content img, .menu img{padding: 0; max-width: 100%;height:auto;}	.menu ul{margin-left: 20px}#blog-list td{font-size: .9em}}
@media (max-width: 700px) {.content h1{font-size:1.6em}.content{width: 96%; float:none;}.menu{width: 100%;margin-bottom: 2em; float: none;padding: 0}}
@media (max-width: 480px) {body{font-size: 103%;}blockquote {margin: 10px;padding: 0 27px;background-size: 28px auto;}.content ul, .content ol{padding-left: 20px;}#site-title {font-size: 1.5em;line-height:1.1em;}.content h1 {font-size: 1.4em;line-height: 0.9em;border-left: 5px solid #555;padding-left: 5px;} .content img, #sidebar1 img{float:none!important;clear:both;}}
@media (max-width: 320px) {.blog-post h2.blog-title {border-bottom: 0;border-left: 0;padding-left: 0;}.content h2,.content h3 {padding-left: 4px;}.content h2{font-size: 1.3em;line-height: 0.8em;}}