/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

::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;
	padding: 0;
	font-family: Titillium Web, sans-serif;
	background-color: #edf5f7;
}
input[type=submit], select {
	cursor: pointer;
}

.wrapper {
	width: 100%;
	margin: 0 auto;

}

.keyscams-layout {
	padding: 1.5em 0;
}
.keyscams-block {

}

.keyscams-layout,
.keyscams-block {
	display: flex;
	flex-flow: row wrap;
}
.keyscams-block, 
.keyscams-section {
	flex: 1 100%;
}

#keyscams-block-0 {
	order: 2;
}
.page #keyscams-block-0 {
	order: 6;
}
#keyscams-block-1 {
	order: 1;
}
#keyscams-block-2 {
	order: 3;
	background-color: #1d9ba5;
}
#keyscams-block-3 {
	order: 5;
}
#keyscams-block-4 {
	order: 4;
	padding: 1em 0 0;
}
.page #keyscams-block-4 {
	display: block;
	background-color: #1d9ba5;
	padding: 1em 0;
	margin: 0 0 1.5em 0;
}
#keyscams-block-5 {
	order: 6;
}
#keyscams-block-6 {
	order: 7;
}

#keyscams-sites {
	order: 6;
}
#keyscams-newsletter {
	order: 1;
}

#keyscams-logo {
	width: 100%;
}
#keyscams-logo h1 {
	display: block;
	position: relative;
	margin: 0 2.5em;
	padding: 0;
	width: auto;
	height: 6em;
	font-size: 1em;
}
#keyscams-logo h1 span {
	position: absolute;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
	background-image: url(../img/keys-cams-logo-320.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.keyscams-boxed {
	width: auto;
	border: 3px solid #444;
	border-radius: 8px;
	margin: 1em;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
	background-color: #fff;
}
.keyscams-boxed > div {
	padding: .75em 1em 1em;
}
.keyscams-boxed h2,
#keyscams-sites h2 {
	margin: 0 0 .5em 0;
	padding: 0;
	display: block;
	font-size: .9325em;
	line-height: 1em;
	font-weight: bold;
	text-align: center;
	color: #ef464e;
	text-transform: uppercase;
}

.keyscams-boxed#keyscams-select form > div {
	/* margin: .5em 0 0; */
	display: flex;
}
.keyscams-boxed form div select,
.keyscams-boxed form div input {
	flex-grow: 1;
	font-size: .75em;
	line-height: 1.5em;
}
.keyscams-boxed form div select {
	width: 60%;
	margin-right: 1em;
	background-color: #edf5f7;
	color: #1d9ba5;
	border: 1px solid #1d9ba5;
}
.keyscams-boxed form div input {
	background-color: #1d9ba5;
	color: #edf5f7;
	border: 1px solid #1d9ba5;
	border-radius: 4px;
}

#keyscams-featured {
	color: #fff;
	padding: .75em 0;
}
#keyscams-featured h2 {
	margin: 0;
	padding: 0;
	font-size: 1.125em;
	line-height: 1.5em;
	text-align: center;
	text-transform: uppercase;
}
#keyscams-featured img {
	width: 100%;
	margin: .75em 0;
}
#keyscams-featured a {
	color: #fff;
	text-decoration: none;
}
#keyscams-featured a h3 {
	margin: 0;
	padding: 0;
	font-size: 1em;
	line-height: 1.5em;
	text-align: center;
}
#keyscams-featured p {
	color: #fff;
	font-size: .75em;
	line-height: 1.5em;
	padding-left: 1.5em;
	padding-right: 1.5em;
}

#keyscams-sites h2 {
	margin: 0 0 1.5em;
	color: #1d9ba5;
}
#keyscams-sites ul, 
#keyscams-sites li {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
#keyscams-sites img {
	width: 200px;
	margin: 0;
}
#keyscams-sites #sites-floridakeys img {
	width: 160px;
}

#keyscams-newsletter > div {

}
#keyscams-newsletter p {
	margin: -0.75em 0 0 0;
	padding: 0;
	font-size: .75em; 
	font-weight: 700; 
	color: #1d9ba5;
	text-align: center;
	}
#keyscams-newsletter a {
	color: #006771;
	}

.cam-grid {
	display: flex;
	flex-flow: row wrap;
	width: calc(100% - 1em);
	margin: 0 auto;
	justify-content: center;
	padding: 0;
}
.cam-grid > div {
	flex: 0 50%;
	text-align: center;
}
.cam-grid > div a {
	display: block;
	padding: 1em .5em .5em;
	color: #1d9ba5;
	text-decoration: none;
}
.cam-grid > div a img {
	width: 100%;
	margin: 0 0 .5em 0;
	aspect-ratio: 16 / 9;
}
.cam-grid > div a span {
	display: block;
	font-size: .75em;
	line-height: 1.25em;
}
.cam-page {
	display: block;
	text-align: center;
	color: #fff;
	font-size: 1em;
}
.cam-page h2 {
	font-size: 2em;
	line-height: 1.25em;
	font-weight: 200;
}
.cam-page img.cam-img {
	width: auto;
	max-width: 100%;
	margin: 0 0 .5em;
	background-color: #000;
}
.cam-page p,
.cam-page ul {
	font-size: .875em;
	line-height: 1.5em;
	text-align: left;
	max-width: 640px;
	padding-left: 1em;
	padding-right: 1em;
	margin-left: auto;
	margin-right: auto;
	width: max-content;
}
.cam-page ul.list {
	padding-left: 0;
}
.cam-page p.cam-note {
	font-size: .5em;
	line-height: 1.25em;
	text-align: center;
	color: rgba(256,256,256,0.5);
}
.cam-page #boyds-campground p.cam-note {
	display: none;
}
.cam-page a {
	color: #ff3;
	text-decoration: none;
}
.cam-page a:hover {
	color: #fff;
}
.cam-page .cam-button {
	text-align: center;
}
.cam-page .cam-button a {
	width: 15em;
	margin: 1.5em auto;
	display: block;
	font-size: 1em;
	line-height: 1.5em;
	font-weight: 700;
	color: #1d9ba5;
	background-color: #ff3;
	text-align: center;
	padding: .5em 1em;
	border-radius: 5px;
}
.cam-page .cam-button.map a {
	width: 7.5em;
	background-color: #faa;
}
.cam-page .cam-button a:hover {
	background-color: #fff;
}
.cam-page .cam-logo {
	text-align: center;
}
.cam-page .cam-logo img {
	background-color: #fff;
	border: 5px solid #fff;
	border-radius: 5px;
	max-width: 240px;
}
.cam-page label,
.cam-page select,
.cam-page input {
	font-size: .875em;
	line-height: 1.5em;
	display: block;
}

footer {
	width: 100%;
}
footer ul,
footer ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-info {
	margin: 1em;
	padding: 1em;
	background-color: #fff;
	border: 5px #1d9ba5 solid;
	border-radius: 20px;
	background-color: #fff;
	text-align: center;
}
.footer-info li {
	font-size: .75em;
	line-height: 1.5em;
	color: #1d9ba5;
	text-align: center;
	display: block;
}
.footer-info li a {
	color: #006771;
}

.banner {
	display: block;
	margin: 1em auto;
	width: 320px;
	height: 50px;
	max-width: 100%;
	text-align: center;
}
#keyscams-block-0 .banner {
	margin: 1em auto 2em;
}
.cam-banners {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	max-width: 800px;
	margin: 0 auto;
}
.cam-banners .banner {
	width: 300px;
	height: 250px;
}
span.IL_AD {
	color: unset !important;
}


@media only screen and (min-width: 568px) {

	.keyscams-layout {
		padding: 0 0 1.5em;
	}
	#keyscams-block-1,
	#keyscams-block-3 {
		align-items: center;
		justify-content: space-evenly;
	}
	#keyscams-block-1 .keyscams-section,
	#keyscams-block-3 .keyscams-section {
		flex-wrap: nowrap;
		flex: 0 43.75%;
	}
	#keyscams-logo h1 {
		height: 0;
		padding-bottom: 50%;
	}
	.cam-grid > div {
		flex: 0 25%;
		text-align: center;
	}
}

@media only screen and (min-width: 768px) {

	#keyscams-featured > div {
		width: 75%;
		max-width: 640px;
		margin: 0 auto;
	}
	#keyscams-featured img,
	.cam-page img {
		-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
		-moz-box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
		box-shadow: 0 0 20px 0 rgba(0,0,0,0.25); 
	}
	.cam-grid > div {
		flex: 0 20%;
		text-align: center;
	}
	.cam-page {
		font-size: 1.25em;
	}
	.cam-page ul.list {
		font-size: .625em;
		line-height: 1.5em;
	    -webkit-column-count: 2;
	    -moz-column-count: 2;
	    column-count: 2;
	    -webkit-column-gap: 2em;
	    -moz-column-gap: 2em;
	    column-gap: 2em;
	}
	.footer-info li {
		font-size: .875em;
		line-height: 1.5em;
		display: inline-block;
	}
	.footer-info li:after {
		content: "•";
		margin-left: .5em;
		padding-right: .5em;
	}
	.footer-info li:last-child:after {
		content: "";
		margin-left: 0;
		padding-right: 0;
	}

	.banner {
		width: 728px;
		height: 90px;
	}

}

@media only screen and (min-width: 1024px) {


}

@media only screen and (min-width: 1024px) {

	.front .wrapper,
	.page footer {
		width: calc(100% - 12em);
		max-width: 1280px;
		/* padding: 1.5em 0; */
		margin: 0 auto;
	}
	.keyscams-layout {
		display: flex;

	}
	#keyscams-block-0 {
		order: 1 !important;
	}
	#keyscams-block-0 .banner {
		margin: 2em auto;
	}
	.page #keyscams-block-0 .banner {
		margin: 2em auto 0;
	}
	#keyscams-block-1 {
		order: 2;
	}
	.front #keyscams-block-3 {
		order: 3;
	}
	.front #keyscams-block-4 {
		order: 4;
	}

	.front #keyscams-block-1,
	.front #keyscams-block-2,
	.front #keyscams-block-3 {
		align-content: center;
	}

	.front #keyscams-block-1 {
		flex: 0 calc(32% - 5px);
		background-color: #fff;
		border-top: 5px #1d9ba5 solid;
		border-left: 5px #1d9ba5 solid;
		border-bottom: 5px #1d9ba5 solid;
		border-top-left-radius: 20px;
		border-bottom-left-radius: 20px;
	}
	.front #keyscams-block-2 {
		flex: 1 36%;
		border-top: 5px #1d9ba5 solid;
		border-bottom: 5px #1d9ba5 solid;
	}
	.front #keyscams-block-3 {
		flex: 0 calc(32% - 5px);
		background-color: #fff;
		border-top: 5px #1d9ba5 solid;
		border-right: 5px #1d9ba5 solid;
		border-bottom: 5px #1d9ba5 solid;
		border-top-right-radius: 20px;
		border-bottom-right-radius: 20px;
	}

	.front #keyscams-block-1 .keyscams-section,
	.front #keyscams-block-3 .keyscams-section {
		flex-wrap: wrap;
		flex: 0 100%;
	}
	.front #keyscams-sites {
		order: 1;
	}
	.front #keyscams-newsletter {
		order: 2;
	}

	.front #keyscams-logo h1 {
		margin: 0 .75em;
	}
	.front #keyscams-featured > div {
		width: 87.5%;
		max-width: 640px;
		margin: 0 auto;
	}
	#keyscams-sites {
		padding: 1em 0;
	}
	#keyscams-sites img {
		width: 300px;
		max-width: 75%;
		margin: 0;
	}
	#keyscams-sites #sites-floridakeys img {
		width: 240px;
	}
	.front .cam-grid > div {
		flex: 0 calc(100% / 6);
		text-align: center;
	}
	.cam-page {
		font-size: 1.5em;
	}
	.page #keyscams-block-1,
	.page #keyscams-block-3 {
		justify-content: center;
	}
	.page #keyscams-block-1 .keyscams-section,
	.page #keyscams-block-3 .keyscams-section {
		flex: 0 25%;
	}

}

@media only screen and (min-width: 1280px) {

	.cam-grid > div a span {
		font-size: 1em;
		line-height: 1.25em;
	}

	.cam-page img.cam-img {
		max-width: 1280px;
	}
}


 /* ========================================================================== */

#ic_signupform .elcontainer,
#ic_signupform .form-header {
	background: transparent !important;
}
#ic_signupform .elcontainer {
	padding: 0 !important;
	text-align: center !important;
	max-width: 100% !important;
}
#ic_signupform .elcontainer .form-header h3 {
	display: none !important;
}
#ic_signupform .elcontainer.tight .formEl:not(.hidden-field) {
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    right: 0 !important;
	width: 70% !important;
	margin-right: 1em !important;
}
#ic_signupform .elcontainer.hidden-label .formEl.required:before {
    content: "" !important;
}
#ic_signupform .elcontainer.inline-button .submit-container {
	width: 30% !important;
    /* display: inline-block; */
    box-sizing: border-box;
    right: 0 !important;
    padding: 0 !important;
    position: relative;
    vertical-align: bottom;
    margin-bottom: 0 !important;
}
#ic_signupform .elcontainer.tight .formEl:not(.hidden-field) input {
	/* width: 140px !important; */
	/* margin: 53px 0 0 0 !important; */
	padding: 5px !important;
	color: #1d9ba5 !important;
	font-size: 13px !important;
	font-family: Titillium Web, sans-serif !important;
	line-height: 1.25em !important;
	height: auto !important;
	background-color: #edf5f7 !important;
	border: 1px solid #1d9ba5 !important;
	-webkit-border-radius: 4px !important;
	border-radius: 4px !important;
}
#ic_signupform .elcontainer.inline-button .submit-container input {
	margin: 0 !important;
	padding: 5px !important;
	width: 100% !important;
	color: #edf5f7 !important;
	font-size: 13px !important;
	font-family: Titillium Web, sans-serif !important;
	line-height: 1.25em !important;
	background-color: #1d9ba5 !important;
	border: 1px solid #1d9ba5 !important;
	-webkit-border-radius: 4px !important;
	border-radius: 4px !important;
	font-style: normal !important;
}

.sortables {
	display: flex;
}
#ic_signupform .elcontainer.tight .formEl:not(.hidden-field),
#ic_signupform .elcontainer.inline-button .submit-container {
	flex-grow: 1;

}


 /* ==========================================================================
   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 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;
    }
}


