/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

<!-- Edward M Stewart main cascading style sheet -->

<!-- revision control -->
<!-- date, time, revision, who, what -->
<!-- 26DEC2017, 1100 EDT, rev0, E Stewart, originated from HTML5 boilerplate v6.0.1 -->
<!-- 27NOV2018, 1108 EDT, rev1, E Stewart, added 1/3 column, adjusted logo width, -->
<!--                               removed hero photo and updated hero quotation font color -->
<!-- 28NOV2018, 1637 EDT, rev2, E Stewart, added style for a top navbar from w3schools -->
<!-- 29NOV2018, 1714 EDT, rev3, E Stewart, changed hero quotation to main text -->
<!--                               added table formatting -->
<!-- 30NOV2018, 1113 EDT, rev4, E Stewart, moved nav style from table to mobile in responsive layout -->
<!--                               commented out image width:100%, adjusted image to be a block with auto margins -->
<!-- 4DEC2018, 1333 EDT, rev5, E Stewart, set horizontal padding for main elements to 0, matched nav bar color with index image -->
<!--                               increased line spacing of main text -->
<!-- 25JAN2019, 1840 EDT, rev6, E Stewart, added 12 column width fractions to help with responsive web design-->
<!--                               added blog text style -->
<!-- 8DEC2019, 1709 EST, rev7, E Stewart, added margins for h2 -->

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */

@charset "utf-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/

img, object, embed, video {
	max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}

.hero img {
	width:100%;
}

/* All html */

html, html * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
body {
	margin-left: auto;
	margin-right: auto;	
}
header {
	padding: 0px;
}
img {
/*	width: 100%; */
/*	max-width: 100%; */
	display: block;
	margin-left: auto;
	margin-right: auto;
	vertical-align: middle;	
}
footer {
	padding: 0px;	
}
/*
	Dreamweaver Fluid Grid Properties
	----------------------------------
	dw-num-cols-mobile:		5;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	10;
	dw-gutter-percentage:	25;
	
	Inspiration from "Responsive Web Design" by Ethan Marcotte 
	http://www.alistapart.com/articles/responsive-web-design
	
	and Golden Grid System by Joni Korpi
	http://goldengridsystem.com/
*/

/* Mobile Layout: 480px and below. */
/* .gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 87.36%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
} */

/* See https://www.w3schools.com/css/css_rwd_grid.asp for discussion of the next two style elements */
.row:before, .row:after {
	content: "";
	display: table;	
}
.row:after {
	clear:both;
} 
.col {
	width: 100%;
}
.style-logo {
	margin-left: auto;	
	margin-right: auto;
	display: block;
	width: 100px;
}

.style-nav ul {
	list-style-type: none;
}

.style-nav ul li a{
	text-decoration: none;
	font-size: 15px;
	color: #000;
	text-align: center;
	vertical-align: top;
	display: block;
	text-transform: uppercase;
	padding: 30px;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #788e00; 
  /* #4D88CA; */
  color: white;
}

.main-text {
	background-size: cover;
 	padding: 125px 50px 75px 50px;
	color: #111111;
	text-align: center;
	width: 100%;
	max-width: 100%;
	line-height: 500%;
}

.body-text {
/*	background-image: url(../img/patience_1024x768.gif);    */
	background-size: cover;
 	padding: 125px 50px 75px 50px;
	color: #111111;
	text-align: center;
	width: 100%;
	max-wdith: 100%;
}
.body-text-2 {
	background-size: cover;
 	padding: 50px 50px 50px 50px;
	color: #111111;
	text-align: center;
	width: 100%;
	max-wdith: 100%;
}
.blog-text {
	background-size: cover;
 	padding: 125px 50px 75px 50px;
	color: #111111;
	text-align: left;
	width: 100%;
	max-width: 100%;
	line-height: 100%;
}


h1 {
	font-size: 30px;
	text-transform: uppercase;
	font-weight: 200px;
	margin-top: 30px;
	margin-botton: 30px;
}

h2 {
	margin-top: 30px;
	margin-botton: 30px;
}

h3 {
	font-size: 16px;
	font-weight: 200px;
	margin-top: 120px;
	margin-botton: 120px;
}

h4 {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 200px;
	margin-botton: 60px;
}
.text-detail {
	font-size: 10px;
}
.button {
	border: 2px #FFFFFF solid;
	padding: 6px 30px;
	border-radius: 30px;
	color: #FFFFFF;
	text-decoration: none;	
}
.info-box-0 {   /* E Stewart, 16DEC2017, strangely cannot seem to use this in contact.html */
	background-color: #cccccc;
	color: #FFFFFF;
	padding: 45px 20px;
	text-align: center;
}
.info-box-1 {
	background-color: #9c968f;
	color: #FFFFFF;
	padding: 45px 20px;
	text-align: center;
}
.info-box-2 {
	background-color: #FFFFFF;
	color: #111111;
	padding: 45px 20px;
	text-align: center;
}

.info-box-3 {
	background-color: #aa3548;
	color: #FFFFFF;
	padding: 45px 20px;
	text-align: center;
}

.info-box-4 {
	background-color: #80aca3;
	color: #FFFFFF;
	padding: 45px 20px;
	text-align: center;
}

.footer-text {
	font-size: 13px;
	margin-bottom: 20px;	
}
table {
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
tr:nth-child(even) {
    background-color: #dddddd;
}



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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

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

/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) {
/*.gridContainer {
	width: 90.675%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
.style-nav ul li{
	display: inline-block;
} */

.style-nav ul li{
	display: inline-block;
	text-align: center;
}
.style-nav {
	float: right;
}
.col {
	float: left;
	padding: 10px 0px 14px;
}
.col-md-one-quarter {
	width: 25%;	
}
.col-md-one-third {
	width: 33.3%;	
}
.col-md-one-half {
	width: 50%;	
}
.col-md-three-quarter {
	width: 75%;	
}
.col-t-1 {width: 8.33%;}
.col-t-2 {width: 16.66%;}
.col-t-3 {width: 25%;}
.col-t-4 {width: 33.33%;}
.col-t-5 {width: 41.66%;}
.col-t-6 {width: 50%;}
.col-t-7 {width: 58.33%;}
.col-t-8 {width: 66.66%;}
.col-t-9 {width: 75%;}
.col-t-10 {width: 83.33%;}
.col-t-11 {width: 91.66%;}
.col-t-12 {width: 100%;}

.main-text .body-text{
 	padding: 200px;
}
}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {
/*.gridContainer {
	width: 88.2%;
	max-width: 1232px;
	padding-left: 0.9%;
	padding-right: 0.9%;
	margin: auto;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
} */
.body {
	max-width: 1200px;
}
.style-logo {
	float: left;
}
.col-lg-one-quarter {
	width: 25%;	
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}



@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 {
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

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

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