/* To make fonts work consistently on IE:
1) Convert the TTF to WOFF and EOT using font2web.com or http://www.fontsquirrel.com/tools/webfont-generator
2) upload those fonts and include them in the SRC statement.
*/
/*
@font-face {
        font-family: 'DIN-Regular';
        src:    url('/common/fonts/din-regular.ttf') format('truetype'),
                url('/common/fonts/din-regular.eot') format('embedded-opentype'),
                url('/common/fonts/din-regular.woff') format('woff');
        font-weight: normal;
        font-style: normal;
}
*/
@font-face {
        font-family: 'Nimbus';
        src:    url('/common/fonts/nimbus-sans.ttf') format('truetype'),
                url('/common/fonts/nimbus-sans.eot') format('embedded-opentype'),
                url('/common/fonts/nimbus-sans.woff') format('woff');
        font-weight: normal;
        font-style: normal;
}

* {
	/*font-family: 'DIN-Regular', Arial, Helvetica, sans-serif;
	letter-spacing: -0.7px;
	Seems that safari does not render this font or any of the backups? */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13pt;
	letter-spacing: -0.2px;
	color: #000000;
}

html, body {
	margin: 0;
	padding: 0;
        /* These next two get rid of that small grey border around the page in IE */
        border: 0;
        outline: 0;
	height: 100%;
	background-color: #dcac90;
	scrollbar-base-color: #dcac90;
} 

.page_body {
	position: relative; 
	width: 1000px;
	height: 100%;
	margin: 0px auto; /* Center the div horizontally */
	padding: 0;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
}
.text_body {
	padding-top: 20px;
	padding-bottom: 40px;
	padding-left: 25px;
	padding-right: 20px;
	background-color: #fbf8f1;
}

.header {
	height: 90px;
	/*background-color: #fbf2e1;
	background-color: #f6e1ba;*/
	background-color: #fbebcc;
	border-bottom: 2px solid #716258;
}

/* Styles for the banner images and text that appear on the top of some pages. */
.top_banner {
	position: relative; /* So we can absolutely position other elements */
	max-width: 1000px;
	margin-top: -20px;
	margin-left: -25px;
	margin-right: -20px;
	padding-bottom: 20px;
	/* background-image is set in the HTML file */
	background-repeat: no-repeat;
        background-position: top center;
}
.top_banner_text {
        position: absolute;
	top: 50px;
	left: 70px;
        background-color: rgba(103,55,26,0.5);
        padding: 10px;
        border-radius: 8px;
        font-size: 20pt;
	color: #FFFFFF;
	text-align: center;
}

.footer {
	padding-top: 30px;
	padding-left: 25px;
	padding-right: 25px;
	padding-bottom: 20px;
	background-color: #716258;
}
.footer_text, .footer_text b {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: 0.2px;
	color: #cebcb2;
	font-size: 11pt;
}

/* Links */ 
a {
	text-decoration: none;
	color: #fc6719;
}
a:hover, a:active {
}

SMALL, .small, .blog_date, .blog_date_latestentrysummary {
	font-size: 10pt;
	color: #666666;
}

H1 {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: -0.2px;
	font-size: 34pt;
	text-transform: uppercase;
	color: #fc6719;
	margin-bottom: 0;
	margin-top: 0;
}

H2, .heading2, .blog_name  {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: -0.2px;
	font-size: 30pt;
	text-transform: uppercase;
	color: #fc6719;
	margin-bottom: 0;
	margin-top: 0;
}

H3, H3 i, .heading3, .heading_blog, .blog_title  {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: 0px;
	font-size: 22pt;
	line-height: 19pt;
	text-transform: uppercase;
	color: #fc6719;
	margin-bottom: 0;
	margin-top: 0;
}

H4, .heading4, a.heading4  {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: 0px;
	font-size : 18pt;
	text-transform: uppercase;
	color: #fc6719;
        /*text-transform: uppercase;*/
	margin-bottom: 0;
	margin-top: 0;
}

H5, .heading5, .heading5 i, .blog_title_latestentrysummary {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: -0.2px;
	line-height: 15pt;
	font-size: 18pt;
	text-transform: uppercase;
	color: #716258;
	margin-bottom: 0;
	margin-top: 0;
}
.heading6 {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: -0.2px;
	line-height: 15pt;
	font-size: 18pt;
	color: #716258;
}

.white, a.white { /* Combine this with the above headings */
	color: #FFFFFF;
        font-weight: normal;
}

select, input, textarea {
	background-color: #FFFFFF;
	border: 1px solid #e2d6cf;
	padding: 3px;
	margin-top: 0px;
	border-radius: 4px;
}
input.no_border {
	border: none;
	background-color: transparent;
}

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

/* Style placeholder text */
::-webkit-input-placeholder { /* WebKit browsers */
	color: #a8a09b;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #a8a09b;
	opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #a8a09b;
	opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: #a8a09b;
}

.button, a.button, input.button {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: 0px;
	font-size: 16pt;
	-webkit-appearance: none; /* Remove Safari's style overrides for buttons */
        text-decoration: none;
        text-transform: uppercase;
	color: #000000;
        padding-top: 5px;
        padding-bottom: 4px;
        padding-left: 6px;
        padding-right: 5px;
        background-color: #fc6719;
	/*background: linear-gradient(#fb9058,#fc6719);*/
	border: 2px solid #fc6719;
	border-radius: 4px;
	cursor: hand;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
}
*:hover.button, *:active.button {
        background-color: #FFFFFF;
}


/* This is for displaying checkboxes and radio buttons, which look
bad when formatted using the above style */
input.box {
        background-color: #2f2f2f;
        border: none;
}
select.box {
        background-color: #2f2f2f;
        border: none;
}

.small_input_box {
  font-size: 8pt;
  background-color: #FFFFFF;
  border: none;
}

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

hr {
	border: none;
	color: #dcac90;
	background-color: #dcac90;
	height: 2px;
}
hr.blog_rule {
	clear: left;
}

.photo_border {
	border: 2px solid #e2d6cf;
}
.photo_corners {
	border-radius: 8px;
}
.photo_shadow {
	box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

.align_left {
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-left: 0px;
	float: left;
}

.align_right {
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 20px;
	float: right;
}

.notop {
	margin-top: 0px;
}

ul.compact, ol.compact {
	margin-top: -0.8em;
}
ul.compact_after_heading, ol.compact_after_heading {
	margin-top: 0;
}
ul.flush_left, ol.flush_left {
	margin-left: -1em;
}

/* Displaying the Blog Table of Contents */
.blog_toc, .blog_toc a {
	font-size: 11pt;
        padding-top: 10px;
}
.blog_toc_div {
        margin: 10px;
	margin-right: 0;
        width: 175px;
        float: right;
	background-color: #fbebcc;
	padding: 10px;
	border-radius: 8px;
        border-left: 2px solid #d09c7e;
}


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

/* Styles for the "Our work" slider */
.slider_div {
        height: 350px;
        width: 670px;
	padding: 8px;
	margin-left: 20px;
	margin-bottom: 15px;
        background: #FFFFFF;
        border: 1px solid #e2d6cf;
	border-radius: 6px;
}

.slideContent {
        background: #FFFFFF;
}
img.slider_screenshot {
	float: left;
        border: none;
        max-height: 350px;
        max-width: 400px;
	padding-right: 15px;
}
a.link {
	font-size: 11pt;
}
/* /Styles for the "Our work" slider */

/* Styles for the home page services boxes */
.services_div {
        height: 300px;
        width: 200px;
	float: left;
	margin-left: 10px;
	transition: all 0.2s ease-in-out;
}
.services_div:hover {
	box-shadow: inset 0 0 0 2px #fc6719;
}
/* /Styles for the home page services boxes */


.quote_large, .quote_large i {
	color: #000000;
	font-size: 11pt;
}
.quote_small, .quote_small i {
	position: relative; /* So that we can absolutely position the quote symbol */
	font-size: 11pt;
	color: #716258;
	margin-left: 22px;
}
.quote_small:before, .quote_small:after {
	font-family: 'Georgia', serif;
	color: #716258;
	opacity: 0.3;
	font-size: 50pt;
	position: absolute;
}
.quote_small:before {
        content: "\201C";
        left: -25px;
        top: -15px;
}
.quote_small:after {
        content: "\201D";
	font-size: 48pt;
        bottom: -50px; /* Adjust for the size of the quote font */
}
.quote_small:after::last-word { /* Just having this empty block here works */
}
	
.quote_maker, .quote_maker i {
	font-family: 'Nimbus', Arial, Helvetica, sans-serif;
	letter-spacing: 0px;
	line-height: 13pt;
	font-size: 14pt;
	color: #716258;
	text-align: right;
	margin-top: 2px;
}
.quote_maker:before {
	content: "\2014 \2009";
}
.quotelist {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
} 
.quotelist .heading5 {
	margin-top: 30px;
}

/* For vertical displays -- Controls the width of the small screenshot images. */
.screenshot_thumbnail_width {
	max-width: 144px;
}
.screenshot_thumbnail_width_larger { /* For when I can use larger images */
	max-width: 300px;
}
/* For horizontal displays -- Controls the height of the small screenshot images. */
.screenshot_thumbnail_height {
	max-height: 170px;
}

/* For the list of sites on our "Work" page */
.sitelist {
	width: 700px;
	margin-left: auto;
	margin-right: auto;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	column-gap: 30px;
} 
.sitelist img {
	margin-right: 10px;
	margin-top: 8px;
	margin-bottom: 8px;
}
.sitelist table {
	display: inline-block; /* Needed for mobile Safari to display these columns correctly */
	-webkit-column-break-inside:avoid;
	-moz-column-break-inside:avoid;
	column-break-inside:avoid;
	-webkit-column-break-before:always;
	-moz-column-break-before:always;
	column-break-before:always;
}
/* /For the list of sites on our "Work" page */

.sidebar {
	background-color: #fbebcc;
	padding: 10px;
	border-radius: 8px;
}
.sidebar2 {
	background-color: #FFFFFF;
	padding: 10px;
        border: 1px solid #e2d6cf;
	border-radius: 6px;
}
.sidebar_over_photo {
	background-color: rgba(255,255,255,0.8);
	padding-top: 15px;
	padding-left: 15px;
	padding-right: 20px;
	padding-bottom: 10px;
        border: 1px solid #e2d6cf;
	border-radius: 8px;
}

table.standard_table {
	border-collapse: collapse;
}
table.standard_table th {
	text-align: left;
	font-weight: normal;
	background-color: #dcac90;
}
table.standard_table th, table.standard_table td {
	border: 2px solid #bc8c70;
}

.warning {
        color: #FF9900;
}

.blue {
        color: #0000FF;
}

.question {
	font-size: 12pt;
        font-weight: bold;
	color: red;
}
