/*
Theme Name: ANA
Theme URI: http://richdurnan.com	
Description: Customized for Ana Luna Adventures Version: 1.0
Author: Rich Durnan
*/


/* = code for scaling bacground image............ */

#backgroundimage {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}

#wrapper {
	width: 900px;
	text-align: justify;
	/*background: rgb(253,233,206);	
	background-color: rgba(253,233,206, 0.75);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px; 
	border: medium solid #000;*/
	background-attachment: scroll;
	margin-top: 3em;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	color: #000;
	background-color: #FFF;
}

#header {
	position: relative;
	margin-top: -2em;
    height: 100px;
	width: 900px;
	background-image: url(images/header.jpg);
	background-repeat: no-repeat;
	z-index: 10;
    vertical-align: top;
}

#header h1 {
	margin-top: 44px;
	color: #000;
	font: font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
}

/* = formating for nav bar ........................*/

#nav {
	display: table-cell;
	background-image: url(images/navstarfish.gif);
	background-repeat: no-repeat;
	background-position: right top;
	width: 150px;
}

#nav ul {
	list-style-type: none;
	font-size: medium;
	font-weight: normal;
	text-align: left;
	-moz-padding-start:0;
	-webkit-padding-start:0;
	padding-start:0;
	color: #000;
}

#nav li {
	list-style-type: none;
	padding-right: 0.675em;
	padding-left: 0.5em;
}
#nav ul.menu.sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
}
#nav ul>li:hover ul.menu.sub-menu {
    display: block;
}
#nav ul.menu.sub-menu> li{

}

#nav a {
    text-decoration: none;
	color: #f00;
	font-size: 90%;
	border-style: none;
	font-weight: bold;
}

#nav a:hover {
	color: #06f;
}

#main {
    display: table;
    width: 100%;
}

#body {
	display: block;
	padding-left: 1em;
	padding-right: 1em;
	text-align: left;
	font-size: 90%;
	vertical-align: top;
    position: relative;  /* make positioned to contain the blog post sidebaron right.  No, really. CSS works this way. */
}

body, form {
	font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
	font-size: 100%;
}

body {
	background-image: url(images/bkgrnd.gif);
	background-repeat: repeat;
}

h1 {
	font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
	font-size: 150%;
}

h2 {
	font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
	font-size: 120%;
}

a {
	color: #F00;	
}

a:hover {
	text-decoration: underline;
	color: #06f;
}

a:visited {
	color: #CC3300;
}
h1.page {
	display: none;
	font-size: 80%;
}

/* Blog post sidebar ................................. */

#sidebar {
	 position: absolute; /* fixes it in the right gutter of the .posts */
	right: 0px;
	margin-left: 0px;
	margin-right: 15px;
	border: 2px solid #000066;
	-webkit-border-radius: 15px;
	-moz-border-radis: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	width: 250px;
	font-size: 90%;
}

#sidebar ul {
	-moz-padding-start:1em;
	-webkit-padding-start:1em;
	padding-start:1em;
}

#sidebar li {
	list-style-type: none
}
#sidebar h2 {
	font-size: 130%
}

.posts { 
    margin-right: 260px; /* Make a gutter for the right sidebar to sit in, plus a gap between them */
	max-width: 460px;
}

/* ................................. */

#footer {
	margin-top: 0em;
	padding-top: 0em;
	padding-bottom: 1em;
	clear: both;
	text-align: center;
	background: #000066;
	color: #FFF;
}

#footer p {
	margin: 0;
	padding: 0;
	font-size: 75%;
}


/* =Images wordpress media loadeer
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

* { box-sizing: border-box; } /* Make measurements work the way you'd expect. */
