/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	box-sizing: border-box;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {resize: vertical;}

.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}

.clearfix:after {clear: both;}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

*, *:before, *:after {box-sizing: inherit;}

body{
	background-image: url(../img/texture_background.png);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
}

h1, h2, h3 {text-align: center;}

h1 {
	font-family: 'Fredericka the Great', cursive; 
	font-size: 4em;
	letter-spacing: 3px;
}

h2 {
	font-style: italic;
}

h2, h3 {
	font-size: 3em;
}

p {
	padding: 5px;
	font-size: 1.5em;
}

li {
	padding-top: 10px;
	font-size: 1.25em;
}

a:link,
a:visited {
	text-decoration: none;
	display: inline-block;
}

a:hover,
a:active {
	text-decoration: none;
	display: inline-block;
}

.header {
	background-color: rgba(178, 255, 242, 1);
	border-bottom: black 1px solid;
}

.main {
	background-color: rgba(243, 255, 86, 1);
	border-bottom: black 1px solid;
	position:relative;
	padding-bottom: 25px;
}

.mainimg {
	height: 1028px;
	width: 100%; 
	padding: 25px;
	max-width: 632px;
	margin: auto;
	display: block;
}

.mainp {
	background-color: rgba(221,143,255,1);
	margin-top: 25px;
	padding: 15px;
	border-radius: 20px;
}

.adult_form, .child_form, .sold_out{
	display: inline-block;
	border: 2px solid black;
	padding: 2px;
	margin-bottom: 15px;
	background-color:rgba(127,155,192,1);
}

.adult_form, .child_form {
	width: 238px;
}

.sold_out {
	font-weight: bold;
	width: 90%;
}

.adult_form {
	margin-left: 10px;
}

.twitter {
	display: block;
	margin: 10px auto;
	width: 95%;
}

.sponsors h3 {padding-bottom: 10px;}

.sponsors, .sponsor_list{background-color: rgba(138,255,142,1);}

.sponsor_list img {
	width: 150px;
	height: 80px;
	display: block;
	margin: 4px auto;
}

.sponsor_list a:link, 
.sponsor_list a:visited, 
.sponsor_list a:hover,
.sponsor_list a:active {
	display: block;
}

#pwsb_logo {width: 400px;}

.cycle2 {
	max-width: 740px; /* 370px; */
	max-height: 1040px; /* 520px; */
	overflow: none;
	display: block;
	margin: 10px auto 30px auto;
	padding-left: 65px;
}

.cycle2 img {
	max-width: 100%;
	max-height: 740px; /* 370px; */
	height: 100%;
	padding: 10px;
	display: block;
	margin: auto;
}

/*
.cycle-slideshow { width: 80%; height: 300px; margin: auto; border: 1px solid #bbb; background: #ffc }
.cycle-slideshow img { opacity: 0; filter:alpha(opacity=0); }
*/

@media screen and (max-width: 600px){
	.main {padding-bottom: 25px;}
	
	.adult_form {margin-left: 0; margin-top: 10px;}
	
	.child_form {margin-top: 15px;}
	
	.flipster img {width: 300px;}
}

@media screen and (max-width: 450px) {
	.sponsor_list img {width: 100px;}
	
	.cycle2 {padding-left: 10px;}
	
	#pwsb_logo {width: 200px;}
	
	.flipster img {width: 200px; height: 300px;}
}

@media screen and (max-width: 300px) {
	li {padding-top: 2px;}	
	
	.main_img_col {min-width:100%;}
	
	.adult_form, .child_form {
		width:225px;
		padding:0;
	}
	
	.sponsor_list img {width: 100px;}
	
	.flipster {width: 250px;}
	
	.flipster img {width: 100px; height: 200px;}
}

@media print {
    *, *:before, *:after {
        background: transparent !important;
        color: #000 !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) ")";}

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {display: table-header-group;}

    tr,
    img {
        page-break-inside: avoid;
    }

    img {max-width: 100% !important;}

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

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