/*
Theme Name: Island Treasure Awards
Theme URI: https://islandtreasureawards.org/
Author: SpiderLily Web Design
Author URI: http:/spiderlilyweb.com/
Description: Custom theme for Island Treasure Awards
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: island-treasure-awards

asd is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600);
@import url(https://fonts.googleapis.com/css?family=Libre+Baskerville);

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Open Sans', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}
body {
	margin:0;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
	display: block;
}

audio, canvas, progress, video {
	display: inline-block;
	vertical-align: baseline;
}

[hidden], template {
	display: none;
}

a {
	background-color: transparent;
	text-decoration:none;
	font-weight:400;
}

a:active,
a:hover {
	outline: 0;
}

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {top: -0.5em;}

sub {bottom: -0.25em;}

img {border: 0;}

hr {
	box-sizing: content-box;
	height: 0;
}

button, input, optgroup, select, textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {overflow: visible;}

button, select {text-transform: none;}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {line-height: normal;}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td, th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body, button, input, select, textarea {
	color: black;
	font-size: 16px;
	line-height: 1.4;
	font-weight:400;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	display:block;
	font-weight:600;
	line-height:1.1;
	margin:12px 0;
	text-align:left;
}
h1 {font-size:36px; margin:0 0 21px; text-align:center;}

/* for ITA listings */
h1.full {
	padding:21px 0 0 0;
}
h1.ita {
	font-family: 'Libre Baskerville', serif;
	font-weight:400;
	text-transform: uppercase;
}
p.years {
	font-size:18px;
	text-align:center;
	padding:0 0 12px;
}
p.ita {
	text-align:center;
	color: #336633;
	text-transform:uppercase;
	font-weight:600;
	font-size:18px;
	padding-top:21px;
}
.cap {font-size:21px;}
li.year {
	text-transform: uppercase;
	font-size:18px;
	padding-top:6px;
	list-style-type: none;
}
li.sublist {
	text-transform:capitalize;
}

h2, h1.widget-title {font-size:24px; margin:0 0 12px;}
.h2 {font-size:28px; margin:0 0 3px;}
h2.widget-title {padding:12px 0 3px;}

h3 {
	font-size:24px;
	margin:12px 0;
}
.h3 {
	font-size:24px;
}
h4 {
	font-size:19px;
	margin:12px 0 6px;
}
p {
	margin: 0 0 8px;
}
p.small {font-size:80%;}
dfn, cite, em, i {
	font-style: italic;
}

blockquote {
  margin: 0;
  clear:both;
}
blockquote:before {
  color: #ccc;
  content: "\201C";
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.15em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
blockquote p.by {
	clear:both;
	float:right;
	font-style:italic;
	padding-bottom:18px;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	background:white;
}

*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

/* banner */

#branding {
	width:100%;
	position:relative;
}

.container {
	float:left;
	width:100%;
	position:relative;
}
.bg.container {
	margin-bottom:20px;
}
.wide-page {
	width:100%;
}
header, #primary {
	width:100%;
	float:left;
	}	
#branding {
	border-bottom:1px #336633 solid;
}
.bg.container, #colophon {
	background: url(images/branch-bg-green.jpg) no-repeat center center; 
  	-webkit-background-size: cover;
  	-moz-background-size: cover;
 	 -o-background-size: cover;
  	background-size: cover;
	} 
.logo {
	max-width:280px; 
	width:99%;
	height:auto; 
	margin:4px 0 4px 1%;
	float:left;
}
.logo img.alignleft {
	margin-bottom:0;
}
p.tagline {
	font-size:21px;
	font-weight:600;
	color: #336633;
	clear:both;
	margin-left:1%;
}
.contact-block {
	float:right;
	text-align:right;
	margin:50px 12px 0 0;
}
.contact-block a {color:black;}
.contact-block a:hover {color:#336633;}
.twocol {
	float:left;
	width:100%;
}
#main {
	float:left;
	width:100%;
	padding:0 0 36px;
}
body.home #main {padding:24px 0 36px;}

/* text over home page photo */

.main-photo {
	position:relative;
}

.text-block { /* limit paragraph length */
	max-width:720px;
	width:95%;
	margin:0 auto;
	padding-bottom:24px;
}
.text-block.ita-list {
	column-count: 2;
	column-gap: 40px;
	max-width:1000px;
}
.text-block.ita-list ul {
	-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */
}
/*.awards-list {
	background:url('images/ita-logo-bg.png') left center no-repeat;
}*/

.gallery-block {
	width:98%;
	margin:0 auto;	
}
/* customize NextGen Gallery */

.ngg-gallery-thumbnail {
	border:none !important;
	margin-right: 0 !important;
	margin: 0 !important;
}
.gallery-block .ngg-gallery-thumbnail-box {
	max-width:20% !important;
}
.text-block ul {
	list-style: disc;
	margin:0 0 8px 24px;
	display: table;
}
.text-block ol {
	margin:0 0 8px 24px;
	display: table;
}
.text-block ul > li::before, .text-block ol > li::before  {
    display: table-cell; 
}
ol > li {padding: 2px 0 2px 8px;}
.second-block {
	margin-top:40px;
}

.contents-left {
	float:left;
	width:90%;	
}
.contents-right {
	float:right;
	width:90%;	
}

/* responsive video */

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* EVENT PAGE announcement box */

.announcement {
	max-width:900px;
	width:98%;
	margin:0 auto;
}
.announcement-wrap {
	width:96%;
	float:left;
	background: #e8e8ee;
	padding:20px 2%;
	border: 1px #d49f1f solid;
}
.announcement h1, .announcement h2 {
	text-align:center;
	color: #d49f1f;
	padding:0 18px;
}
.announcement h1 {
	font-style:italic;
	font-size:42px;
}
.announcement h2 {
	font-size: 31px;
}
/* with sidebar */

.secondary {
	float:right;
	width:29%;
	margin:0 1% 12px 0;
}

.secondary .text {
	clear:both;
	float:left;
	width:100%;	
	margin:24px 0;
}
.secondary ul {	
	list-style:none;
}

.main-content {
	width:64%;
	float:left;
	margin:0;
}

.twocolleft {
	float:left;
	width:46%;
	margin-left:1%;
}
.twocolright {
	float:right;
	width:46%;
	margin-right:1%;
}

a.more {
	position:absolute;
	right:12px;
	bottom:12px;
	font-style:italic;
}
a.more:after {
	content:" \00BB";
}

hr {
	background-color: #336633; 
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0;
	padding:0;
}

ul {
	list-style: disc;
	list-style-position:inside;
	margin-bottom:8px;
}
ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {font-weight: 600;}

dd {margin: 0; padding:3px 0 10px;}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*
 * Images
 */
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
img.attachment-thumbnail,
.widget-area img,
img.featured-thumb,
img.wp-post-image {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.featured {margin-bottom:16px;}
.wp-caption, .widget_sp_image-description {
	max-width:98% !important;
	width: auto !important;
	font-size:14px;
}	
img.alignleft {
	margin-right: 0.7em;
	margin-bottom:16px;
}
.text-block img.alignleft, .text-block figure.alignleft {
	margin: 0 0.7em 1em -60px;
}
.wp-caption-text {font-style:italic;}
img.alignright {
	margin-left: 1em;	
	margin-bottom:16px;
}
img.aligncenter {
	margin:0 auto;
}
img.border {
	border:1px #cc702d solid;
}
img.main-photo.aligncenter {
	margin:0 auto;
	border:1px #336633 solid;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.widget_sp_image-description p, .wp-caption .wp-caption-text {
	text-align:center;
	margin-bottom:16px;
}
.widget img { /* align widget images to center */
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-bottom:16px;
}
.widget {
	padding-bottom:16px;
}
a img:hover {opacity:0.7;}

/* hero shot caption on home page */
p.ita-caption {
	text-align:center;
	padding:6px 0;
	font-weight:600;
}
p.ita-caption.large {
	font-size:18px;
	padding:12px 0;
}

p.photo-credit {
	text-align:center;
	font-style:italic;
	font-size:14px;
	padding:3px 0;
	margin:0;
}
.entry-content.photo {
	padding-top:16px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a, a:visited {
	color: #336633;
}
p a {font-weight:600;}
a:hover, a:focus, a:active {
	color: #cc702d;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

#primary a, #primary a:visited {
	-webkit-box-shadow: inset 0 -1px 0 rgba(51, 102, 51, 1);
	box-shadow: inset 0 -1px 0 rgba(51, 102, 51, 1);
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}
#primary a:focus,
#primary a:hover,
#colophon a:focus,
#colophon a:hover {
	color: #000;
	-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
}

#primary a img:hover {opacity:0.8;}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#site-navigation {
	position: fixed;
    top: 0;
    right: 0;
    z-index: 9;
    width: auto;
    height: 40px;
    padding: 4px 5px 0;
	-webkit-border-radius: 0 0 0 12px;
	border-radius: 0 0 0 12px;
}
#site-navigation.solid {
		background:rgba(255,255,255,0.9);
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	float:right;
}

.main-navigation li {
	float: left;
	position: relative;
	padding:0 10px;
}

.main-navigation li a, .main-navigation li a:visited {
	display: block;
	text-decoration: none;
	transition: all .4s ease-in-out;
    color: black;
    font-size: 16px;
	padding: 5px 8px;
	border-bottom: 1px transparent solid;
	font-weight:normal;
}
.main-navigation li a:hover, .main-navigation li.current-menu-item a {
	border-bottom: 1px #cc702d solid;
	color: #cc702d;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
	float:right;
	background: white;
}
.main-navigation.toggled ul {
	background:white;
}
.main-navigation a, .main-navigation a:hover {border:none; border-bottom:none;}
.menu-toggle:after {content:" \25BC";}	
.toggled .menu-toggle:after {content:" \25B2";}	
.menu-toggle:before {content:url('images/nav-icon.png'); padding-right:6px; height:26px; vertical-align:text-top;}

button.menu-toggle {
	border:none;
	box-shadow:none;
	color:#161616;
	font-size:18px;
	border-radius:0;
	text-shadow:none;
	vertical-align:top;
	padding:6px;
}
button.menu-toggle:hover {opacity:0.8;}

/* SEARCHFORM */

input[type=search] {
	background: url(images/search-icon-white.png) no-repeat 9px center;
	padding: 9px 10px 9px 32px;
	width: 55px;
	
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
.notfound input[type=search] {
	background: #ededed url(images/search-icon.png) no-repeat 9px center;
}
input[type=search]:focus {
	width: 130px;
	/*background-color: #fff;
	border-color: #8dc63f;*/
	background-color:black;
}

input:-moz-placeholder {
	color: #999;
}
input::-webkit-input-placeholder {
	color: #999;
}

input[type=search] {
	padding: 6px 10px 6px 32px;
	width: 160px;
	color: #336633;
	border:1px solid #336633;
	cursor: pointer;
	background-color:rgba(255,255,255,0.6);
	background-image: url('images/search-icon.png');
	background-position: 130px center;
	background-repeat: no-repeat;
}
input[type=search]:hover {
	background-color: #fff;
}
input[type=search]:focus {
	width: 160px;
	padding-left: 42px;
	background-color: #fff;
	color:#336633;
	cursor: auto;
}
input:-moz-placeholder {
	color: #336633;
}
input::-webkit-input-placeholder {
	color: #336633;
}
input[type=search]:focus:-moz-placeholder {
	color: #336633;
}
input[type=search]:focus::-webkit-input-placeholder {
	color:#336633;
}

form.banner-search {
	float:right;
	margin-top:60px;
	margin-right:10px;
}
form.notfound-search {
	float:none;
	text-align:center;
}
.text-wrap {
		margin:0 auto;
		max-width:640px;	
		width:96%;
	}

/* ANIMATION */

.transition, p {
  transition: all 0.25s ease-in-out;
}

.flipIn, h1, #mobile-navigation ul {
  animation: flipdown 0.5s ease both;
}

@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}

/* adjust when we switch to mobile menu */
@media screen and (min-width: 49em) { 
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
	#mobile-navigation {display:none;}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* POST NAVIGATION */

nav#nav-below {
	margin-top:16px;
}

nav#nav-below a {
	font-family: 'Libre Baskerville', serif;
	font-weight:400;
	text-transform:uppercase;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 1% 8px;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.nowrap {
	white-space:nowrap;
}	
.drop {
	padding-top:12px;	
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 6px;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 3px 0;
}

.wp-caption-text {
	text-align: center;
}

.excerpt {
	max-width:98%;
}

/* Footer - Colophon */

#colophon {
	clear:both;
	margin:0 auto;
	width:100%;
	font-size:15px;
	text-align:center;
	border-top:1px #336633 solid;
}
.text-wrap.footer {
	padding: 20px 0;
	max-width:1600px;
}

#colophon a.email {
	background:url('images/email.png') 0 0 no-repeat;
	padding-left:30px;
}
a.phone {background:url('images/phone.png') 0 0 no-repeat;
	padding-left:30px;
}


@media screen and (max-width:67.5em) {
	#site-navigation {
		width:100%;
		max-width:100%;
		text-align:center;
	}
	.main-navigation ul {
		float:none;
		text-align:center;
	}
	.main-navigation li {
		text-align:center;
		float:none;
		display:inline-block;
	}
	.logo {
		margin: 40px 0 0 1%;
		max-width:220px;
	}
	p.tagline {
		font-size:18px;
	}
	.gallery-block .ngg-gallery-thumbnail-box {
		max-width:25% !important;
	}
	.gallery-block br {display:none;}
}



/* mobile menu and content styles */

@media screen and (max-width: 72.5em) {
	.logo {margin-top:40px;}
}

@media screen and (max-width: 61.375em) {
	.site-branding {padding:0 0 8px;}
	.twocol, .text-block, .twocolleft, .twocolright, #main.main-content,.secondary, .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
		clear:both;
		width:98%;
		margin:0 1% 12px 1%;
	}
	.excerpt {width:100%; margin-bottom:16px;}
	.grid-three {width:98%; padding:0 1%;}
	.content-block, .text-block {
		width:98%;	
		max-width:720px;
		margin:0 auto;
		float:none;
	}
	.contents-left, .contents-right {
		width:96%;
		margin:0 2%;
		float:left;
	}
	img.alignleft,img.alignright, figure.alignleft, figure.alignright {
		float:none;
		margin:0 auto;
		display:block;	
	}
	.text-block img.alignleft, .text-block figure.alignleft {
	margin: 0 0.7em 1em 0;
	}
	#colophon img.alignleft {
		float:left;
		margin-right:6px;	
	}
}

/* switch to mobile menu */
@media screen and (max-width:49em) {
	#site-navigation {display:none;}
	.contact-block {
		margin: 40px 1% 0 0;
		max-width: 46%;
	}
	.logo {
		margin:0;
	}
	form.banner-search {
		margin-top:46px;
		margin-bottom:0;
	}
	#mobile-navigation {
		position:fixed;
		top:0;
		right:0;
		max-width:100%; 
		width:100%;
		z-index:9999;
	}
	#mobile-navigation ul {
		float:left; 
		clear:both; 
		padding:6px 0; 
		margin-top:0; 
		border-top: 1px rgba(118,84,102,1.0) solid;
		border-bottom: 1px rgba(118,84,102,1.0) solid;
		text-align:center;
		width:100%;
	}
	#mobile-navigation li {display:block; float:left; width:100%; padding:0;}
	#mobile-navigation a {display:block; width:100%; padding:8px; border-bottom: 1px #4e1416 solid;}
	#mobile-navigation a:hover, #mobile-navigation li.current-menu-item a {
    	background: #4e1416;
		color:#f6d59a;
	}
	.contact-info {margin-top:48px;}
	.main-content {
		clear:both;
		width:98%;
		padding:0;
	}
	.secondary, .three-col .secondary {
		clear:both;
		float:none;
		margin:0 auto;
		max-width:680px;
		min-width:96%;
		width:96%;
		}	
	.three-col .secondary .widget {
		float:right;
	}	
	.contents-right {
		margin-right:2%
	}
	.contents-left {
		margin-left:2%
	}
	h2.tagline span {
		float:none;
		padding-left:0;
	}	
	.menu-footer-container {
		clear:both;
		width:100%;
	}
	.gallery-block .ngg-gallery-thumbnail-box {
		max-width:33% !important;
	}
}

@media screen and (max-width: 48.5em) {
	
	.text-wrap {max-width:96%; padding:12px 1% 0;}
	.main-photo .text {
		right:0.5em;
		bottom:0.5em;
		font-size:18px;
	}

	.footer-menus {display:none;}
	
	h1 {margin:0 0 12px; font-size:32px;}
	.wpcf7 input[type="text"], .wpcf7 input[type="email"], textarea {
		width:96%;
	}
	.text-block.ita-list {
		column-count:1;
		column-gap:0;
	}
}
@media screen and (max-width: 36.5em) {
	.h2 {font-size:23px;}
	.h3 {font-size:18px;}
	.site-info, .logo, .button-block {clear:both;}
	dl {float:left; width:100%; margin-bottom:4px;}
	.secondary {margin-top:0;}
	header, #primary {width:98%; max-width:98%; margin-left:1%;}
	#branding {padding-bottom:40px;}
	form.banner-search {
		position:absolute;
		bottom:3px;
		right:3px;
	}
	p.tagline {font-size:16px;}
	#colophon p {font-size:14px;}
	.gallery-block .ngg-gallery-thumbnail-box {
		max-width:50% !important;
	}
}
/*
 *
 * Base Print Styles, inline to save the HTTP request
 *
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: none !important; box-shadow: none !important; border: none;}
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
  body {font-size:12px;}
  .flexible {display:block;}
  .content, .sidebar, .text-wrap {width:100%; max-width:100%; clear:both;}
  .main-navigation, form.banner-search, .footer p.small, body.the-island-treasures .main-photo {display:none;}	
  .logo {width:150px; height:auto;}
  p.tagline {font-size:16px;}
  p.ita {padding-top: 0;}
}