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

/*
 * 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 {
    font-size: 1em;
    line-height: 1.4;
    font-family: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Avenir", "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
	font-style: normal;
	line-height: normal;
	color: #444;
}

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

body {
	margin: 0 auto;
	background-color: white;
	min-height: 100%;
/* 	width:80%; */
}
p{
	margin:6px 0px;
	line-height: 1.4;
	
}
p.headline{
	font-size:1.8em;
	line-height: 1.4;
	font-weight:600;
	clear:both;
	margin:10px 0px;
	color: #333;
}
p.teaser
{
	text-align: center;
	color:#222;
	font-weight: 50;
}
#content{
	padding: 40px 0px 0px 0px;
	
}
#pageheader{
	clear:both;
	height:85px;
	margin-left: 10%;
	margin-right: 10%;
	}
#appIconHeader{
	width: 75px;
	height:75px;
	box-shadow: 0px 0px 5px #b2a896;
	float:left; 
	border-radius: 8px;
	}
#appstore
{
	float:right;
}
#title{
	font-weight:bold;
	font-size:2em;
	margin-left:92px;
}
#subtitle{
	
	font-weight:300;
	font-size:1.6em;
	margin-left:92px;
}
#pagebody{
	min-height: 100%;
	margin-left: 10%;
	margin-right:10%;

}
.haiku{
	font-style: italic;
	font-weight:300;
	margin-left:50px;
}
.haikuAuthor{
	font-style:normal;
	font-weight:500;
	padding-left: 30px;
	line-height: 1em;
}
#pagebottom{	
	clear:both;
	border-top:1px groove #bcbaba;
	margin-top: 30px;
	padding-bottom:20px;
	font-weight: 100;
/* 	box-shadow: inset 0px 0px 9px rgba(0, 0, 0, 0.39) */
	background: repeat  url(./../images/tilebgforbottom.png) rgb(230,230,230,.2);
	 
/* text-shadow:0px 0px 3px rgba(0, 0, 0, 0.2); */
color: #222;
/* 	mask: url(./../images/tileforbottom.png) */
}
#pagebottom p{
	margin: 5px
}
footer p{
	text-align: center;
	font-size: 90%;
}
#pageheader, #pagebody, #pagebottom{
	padding: 15px 40px;
}
div.slideshow{
clear:both;
width:100%;
/* display:table-row-group; */
padding-bottom: 30px;
padding-top: 20px;


}
div.slideshowItem{
	display:table-row;
	
}
.haiku{
	font-style: italic;
	font-weight:300;
	margin-left:50px;
	padding: 10px 0px 15px 0px;
}
.slideshowImage{
	display:table-cell;
	
	padding:20px;
}
video.slideshowVideo{
	width: 250px;
	box-shadow: 0px 0px 5px #b2a896;
	border-radius:12px;
	}
img.screenshot{
	width: 250px;
	box-shadow: 0px 0px 5px #b2a896;
	border-radius:12px;
/* 	border: 10px solid #303030;  */
	
	
}
.slideshowCaptionTitle{
	font-weight:700;
	font-size:1.2em;
	font-style: normal;	
	color:#333;
	line-height: 1.3em;
}
.slideshowCaption{
	display: table-cell;
	vertical-align: top;
	padding-top: 40px;
	text-align: right;
	padding-right:20px;
	width:35%;
	line-height:1.2em;
}
a{
	color:#444;
	text-decoration: none;
	font-weight:500;
	
}
.sticktobottom
{
	bottom:0px;
}
h1
{
	font-weight: 300;
	font-size:1.75em;
}
h2
{
	font-weight:200;
	font-size:1.25em;
}
/* ==========================================================================
   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);
    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;
    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.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media only screen and (max-width:670px)
{
	html
	{
		font-size: .95em;
	}
	#title{
		font-size: 1.6em;
		margin-left:77px;
	}
	
	#subtitle
	{
		font-size:1em;	
		margin-left:77px;
	}
	#appIconHeader{
		width: 60px;
		height:60px;
		box-shadow: 0px 0px 3px #b2a896;
		float:left; 
		border-radius: 6px;
	}
	#pageheader{
	clear:both;
	height:65px;
	margin-left: 2%;
	margin-right: 2%;
	
	}
	p.headline
	{
		font-size:160%;
	}

	#pagebody
	{
		min-height: 100%;
		margin-left: 1%;
		margin-right:1%;
	}
	#pageheader, #pagebody, #pagebottom{
		padding: 15px 15px;
	}
	video.slideshowVideo{
		width: 200px;
		
		
	border-radius:9px;
		
		}
	img.screenshot{
		width: 200px;
		
	border-radius:9px;
		}
.slideshowCaption{
font-size: 70%;
padding-right:10px;
padding-top:20px;
}
.slideshowImage{
	
	padding:10px 5px;
}
.haiku
{
	margin-left:25px;
}
}
@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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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;
    }
}
