/* Import fonts from Google */
/*@import url(http://fonts.googleapis.com/css?family=Jaldi:400,700);*/
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700);

/* Start with the styles for the mobile version */

html, body {  
	margin: 0;
        padding: 0;
	border: 0;  
	outline: 0;  
	/* These two lines are supposed to keep iOS from enlarging the text
	when a device is held in landscape mode. Doesn't seem to work. */
	-webkit-text-size-adjust: 100%;  
	-ms-text-size-adjust: 100%; 
	height: 100%;
}
body {
        background-color: #2c4817;
	font-family: Arial, Helvetica, sans-serif;  
	font-size: 1em;
	color: #c9e4b5;
	position: relative; /* Required to let the header div remain in it's position. */
}

/* Styles for the mobile home page */
img.home_page_img {
        max-width: 100vw;
}

/* Links */ 
a:link, a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

/* Styles for the main page elements */
.page_header {
	position: fixed; /* Keep this header div at the top of page when scrolling */
	z-index: 10; /* make this is on top of the page data. */
	top: 0;
	height: 45px; /* The height of the background logo */
	background-color: rgba(44,72,23,0.9);
        background-image: url(/images/logo-phone.png);
        background-repeat: no-repeat;
        background-position: top center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	padding-left: 0.8em;
	padding-right: 0.8em;
	border-bottom: 1px solid #000000;
}
.page_data {
        padding-top: 4.0em; /* Space past the fixed header */
        padding-bottom: 2.0em;
        padding-right: 0.8em;
        padding-left: 0.8em;
        background-color: #2c4817;
}
.home_page .page_data {
        padding-top: 1.0em;
}

/* Styles for the Menu icon that appears in the header */
.menu_icon, .back_icon {
	margin-top: 0.4em;
	padding: 0.1em;
	padding-left: 0.3em;
	padding-right: 0.3em;
        background-color: #000000;
        border: 1px solid #fc9c6d;
}
.menu_icon {
	float: right;
}
.menu_icon:after {
	content: "\2261";
	font-size: 2.0em;  
	line-height: 0.9em;
	color: #FFFFFF;
}
/* Special placement for home page */
.home_page .menu_icon {
        position: absolute;
        top: 0.7em;
        right: 1.1em;
}


/* Styles for the "back" icon that appears in the header */
.back_icon {
	float: left;
}
.back_icon:after {
	content: "\2039";
	font-size: 2.6em;  
	line-height: 0.5em;
	color: #FFFFFF;
}
.home_page .back_icon {
	display: none; /* Don't show the "back" icon on the home page */
}

/* Headings */
H1, H2, H3, H4, .heading1, .heading2, .heading3, .heading4, .heading_blog, .blog_title {
	font-family: Arial, Helvetica, sans-serif;  
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 0;
	color: #fc9c6d;
	letter-spacing: -0.03em;
}
H1, .heading1 {
	font-size: 1.6em;
	margin-bottom: 0.5em;
}
H2, .heading2, .blog_title {
	font-size: 1.4em;
}
H3, .heading3, .heading_blog {
	font-size: 1.2em;
}
H4, .heading4 {
	font-size: 1.0em;
}

SMALL, .small, .blog_date, .blog_date_latestentrysummary {
	font-size: 0.8em;
}

.larger {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-size: 2.0em;
}

hr {
        border: none;
	color: #000000;
        background-color: #000000;
        height: 2px;
}
.underline {
	border-bottom: 1px solid #fc9c6d;
	margin-bottom: 1em;
}

/* ================== Forms and Buttons ================== */
select, input, textarea, input[type=search] {
	font-family: Arial, Helvetica, sans-serif;  
	font-size: 1.2em; 
	max-width: 85vw; /* This seems to format them nicely on mobile browsers */
	background-color: #FFFFFF;
	border: 1px solid #000000;
	padding: 5px;
	margin-top: 0px;
	border-radius: 3px;
}

.button, a.button, input.button, input[type=submit] {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-weight: 400; /* Google font weight */
	letter-spacing: -0.03em;
	font-size: 1.3em;
	-webkit-appearance: none; /* Remove Safari's style overrides for buttons */
        text-decoration: none;
        text-transform: uppercase;
	color: #FFFFFF;
        padding-top: 3px;
        padding-bottom: 2px;
        padding-left: 6px;
        padding-right: 5px;
        background-color: #000000;
	border: 1px solid #fc9c6d;
	cursor: hand;
	cursor: pointer;
	white-space:nowrap;
	border-radius: 0;
}
*:hover.button, *:active.button, input[type=submit]:hover {
}
input.button, input[type=submit] {
	margin-top: 0.5em; /* Add more vertical separation between a form submit button and it's form elements above */
}

/* Adjust the spacing around forms */
form {
	padding: 0;
}

/* For displaying headings on forms */
/* class="form" is the normal text */
.form {
        font-weight: normal;
}
/* class="form_required" is for required fields */
span.form_required {
        font-weight: bold;
}
input.form_required {
        font-weight: normal;
}
/* class="form_error" is for error fields */
span.form_error {
        color: red;
        font-weight: bold;
}
input.form_error {
        border: 2px solid red;
}
textarea.form_error {
        border: 2px solid red;
}

.emform_spacing {
        display: block;
        margin-bottom: 0.6em;
}

/* Set the width of the tables used for format all the input forms */
table.form_table {
	width: 100%; /* This seems to format them nicely onmobile browsers */
	border-spacing: 0 0.5em; /* 2nd parm sets vertical spacing between rows */
}
tr.form_heading_row > td {
        padding-top: 1.0em;
}
/* Reset div and table widths to 100% for phones. */
.width_20, .width_30, .width_40, .width_50, .width_60, .width_70, .width_80, {
	width: 100%;
}

/* ================== /Forms and Buttons ================== */

iframe {
	max-width: 100%;
	max-width: 90vw; /* = XX% of the viewport width */
}

.callout {
	padding: 0.5em;
	background-color: #FFFFFF;
        border-radius: 8px;
	text-align: left;
}

/* Styles for Photo pages */
.photo_scroll_div {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
        width: 92vw;
        max-height: 95vh;
	/* When the W3C approves the spec for "scroll-snap-points-x" that will be a
	great improvement, as the user will be able to scroll to "snap points". */
}
.photo_scroll_element {
	display: table-cell; /* Vertically align the tops of the photos. */
	vertical-align: top; /* Vertically align the tops of the photos. */
        max-width: 92vw;	
	padding-right: 1em;
	text-align: center;
}
.photo_scroll_element:last-of-type {
	padding-right: 0; /* Don't pad the last element */
}
.photo_scroll_element img {
	scroll-snap-align: center;
        max-width: 92vw;
        max-height: 80vh;
}
.photo_instructions {
	font-size: 0.8em;
	color: #A9C495;
	text-align: center;
        width: 92vw;
}
.photo_caption {
	white-space: normal;
        padding: 0.3em;
	font-size: 0.9em;
        color: #FFFFFF;
}
/* /Styles for Photo pages */

.align_left {
	max-width: 100%;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	text-align: center;
}
.align_right {
	max-width: 100%;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	text-align: center;
}
.notop {
	margin-top: 0;
}

.photo_corners {
        border-radius: 8px;
}
.photo_border {
        border: 1px solid #000000;
}
.photo_oval {
	border-radius: 100%;
}

/* Styling quotes */
.quote, .quote i {
        position: relative; /* So that we can absolutely position the quote symbol */
        margin-left: 22px;
	color: #FFFFFF;
}
.quote:before {
        font-family: 'Georgia', serif;
        content: "\201C";
        color: #FFFFFF;
        opacity: 1;
        font-size: 50pt;
        position: absolute;
        left: -25px;
        top: -15px;
}

.quote_maker, .quote_maker i {
        color: #FFFFFF;
	font-size: 1.1em;
        text-align: right;
        margin-top: 2px;
	margin-right: 3em;
}
.quote_maker:before {
        content: "\2014 \2009";
}
/* /Styling quotes */


/* Blog specific Styles */
.blog_toc_div {
        display: none;
}
hr.blog_rule {
	clear: left;
}
#blog img {
	max-width: 100%; /* Scale down blog images for small screens */
	height: auto !important; /* This overrides the specific widths the CKeditor
	assigns to images added to the blog. */
}
.blog_title_latestentrysummary {
	font-weight: bold;
}
/* /Blog specific Styles */

xmp, .example {
	font-family: "Courier New", Courier, serif;
	font-size: 0.9em;
	color: black;
	border: 1px solid #FFD040;
	border-radius: 1em;
	background-color: #FFFFFF;
        padding: 5px;
}

/* Remove the space at the top of ul and ol */
ul.compact, ol.compact {
	margin-top: 0.1em;
}
ol.alpha {
        list-style-type: upper-alpha;
}
ul.align, ol.align {
	margin-left: -1.5em;
	margin-top: 0;
	margin-bottom: 0;
	text-align: left;
}
ul.toc, ol.toc {
	margin-top: 2px;
	margin-left: 18px;
}

/* Use this to hide certain elements in the mobile versions.
   omit_phone - not shown for mobile phones.
 */
.omit_phone {
	display: none;
}
/* Force a line break on mobile versions */
.break_phone {
        display: inherit;
}

/* Use this to keep images  and divs from taking up too much space */
.scale {
	max-width: 90vw;
}

/* Adding display:block to the images seems to remove the 5PX bottom padding */
/* that we get on images in <td>s with HTML5 doctype                         */
/* But only do this for images within <td>s.                                 */
td img {
        display: block;
}

/* ================================================================ */
/* Add media queries and styling for larger screen sizes            */
/* ================================================================ */

/* ======================================================================== */
/* This media query styles the site for desktop browsers */
@media all and (min-width: 750px) {  

/* The full navigation styles in "navigation.css" is included from top.ssi with a media query */

body {    
	width: 1000px;
        margin: 0px auto; /* Center the div horizontally */
	font-size: 11pt; /* slightly smaller font size for desktop version */
        padding: 0;
        background-color: #263719;
        box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.3);
	scrollbar-base-color: #2c4817;
} 

/* Styles for the desktop home page */
html.home_page {
        box-shadow: none;
        background-color: #2c4817;
	background-image: url(/images/home-page-background.jpg);
	background-size: auto;
        background-attachment: auto;
        background-repeat: no-repeat;
        background-position: top center;
}

.home_page body {
	width: 700px;
        box-shadow: none;
        background-color: transparent;
}
/* /Styles for the desktop home page */

.menu_icon, .back_icon {
	display: none;
}

/* Remove the Fixed header and let it scroll. */
.page_header {
	position: relative;
	height: 180px; /* The same height as the background image */
	background: #2c4817;
	background-image: url(/images/header.jpg);
	border-bottom: 1px solid #fc9c6d;
	z-index: 0; /* reset this from mobile version */
}
/* Only for desktops, to cause the page to expand to full height */
.page_table {
	height: 100%;
	width: 100%;
}
.page_data {
	height: 100%;
        padding-top: 1.5em;
        padding-bottom: 2.0em;
        padding-right: 1.2em;
        padding-left: 1.5em;
}
.home_page .page_data {
	height: auto;
	padding-top: 650px; /* Start below the background image */
	background: transparent;
}

.blog_toc {
        padding-top: 1em;
        font-size : 0.8em;
        color: #000000;
}
.blog_toc_div {
        display: inherit;
        margin: 0px 0px 10px 10px; /* top, right, bottom, left */
        padding: 5px 5px 10px 10px;
        width: 200px;
        float: right;
        border-left: 1px solid #fc9c6d;
        background: #507137;
}

/* These styles allow div and table widths to be responsive */
.width_20 { width: 20% !important; }
.width_30 { width: 30% !important; }
.width_40 { width: 40% !important; }
.width_50 { width: 50% !important; }
.width_60 { width: 60% !important; }
.width_70 { width: 70% !important; }
.width_80 { width: 80% !important; }
.width_auto { width: auto !important; }

/* Display stuff that is ommitted on all mobile devices */
.omit_phone {
	display: inherit;
}
.break_phone {
	display: none;
}
/* Hide stuff from the desktop version */
.omit_desktop {
	display: none !important; /*Overrides display rules in navigation.css */
}

/* ============= Specific styles for the fullscreen site ============== */

/* Make headings slightly larger on desktop browsers */
H1, .heading1 {
	font-size: 2.0em;
	margin-bottom: 0.5em;
}

.footer {
	width: 1000px; /* Don't know why I need to specify this, but I do. */
	box-sizing: border-box; /* Include padding in the width */
	-moz-box-sizing: border-box;
        padding: 1.5em;
        background-color: #507137;
	border-top: 1px solid #fc9c6d;
	font-size: 0.8em;
	letter-spacing: -0.03em;
	line-height: 1.0; 
}

.button, a.button, input.button, input[type=submit] {
	border: 1px solid #FFFFFF;
}
*:hover.button, *:active.button, input[type=submit]:hover {
	border: 1px solid #fc9c6d;
}

/* Styles for Photo pages */
.photo_large img {
        max-width: 830px;
        max-height: 600px;
	display: inline; /* Allows the images to be centered */
        border: 1px solid #000000;
}
.photo_large { /* The <td> that holds the large image */
        position: relative;
	width: 830px;
	text-align: center;
}
.photo_scroll_button { /* The Prev and Next scolling buttons */
	position: absolute;
	top: 270px; /* Adjust this so that the buttons are centered vertically over the photo */
	font-size: 3.0em;  
	line-height: 0.8em;
	color: #FFFFFF;
	padding: 10px;
	padding-top: 2px;
	padding-bottom: 7px;
	background-color: rgba(0,0,0,0.6);
	border-radius: 8px;
}
.photo_prev {
	left: 0px;
}
.photo_next {
	right: 0px;
}
.photo_thumbnail .photo_prev, .photo_thumbnail .photo_next { 
	display: none;
}
.photo_thumbnail img {
        width: 80px;
        border: 1px solid #000000;
        margin-bottom: 2px;
        transition: border 0.3s ease-in-out;
}
.photo_thumbnail a:hover img, .photo_thumbnail a:active img {
        border: 1px solid #fc9c6d;
}
.photo_thumbnail_images { /* The <td> that holds the column of thumbnails */
        width: 102px; /* Match the img width + Borders + Scroll bar width (20px) */
        height: 550px;
        overflow: auto; /* Scroll when there are more images than can fit in this space */
}
.photo_caption {
	/* No new styling for this for the desktop version */
        /*background-color: rgba(255,255,255,0.6); White transparent background. */
}
.photo_thumbnail .photo_caption {
        display: none;
}
/* /Styles for Photo pages */

.align_left {
	margin-top: 0.8em;
	margin-right: 0.8em;
	margin-bottom: 0.8em;
	margin-left: 0;
	float: left;
	text-align: left;
}
.align_right {
	margin-top: 0.8em;
	margin-right: 0;
	margin-bottom: 0.8em;
	margin-left: 0.8em;
	float: right;
	text-align: left;
}

/* Use this to keep images  and divs from taking up too much space */
.scale {
	max-width: 100%;
}

.two-column {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 2em;
	-moz-column-gap: 2em;
	column-gap: 2em;
}
.three-column {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	-webkit-column-gap: 2em;
	-moz-column-gap: 2em;
	column-gap: 2em;
}
 

} /* End of media query */
/* ======================================================================== */
