/*
Theme Name: 	Crystal Cove
Author:         Derek Ashauer
Author URI:     http://www.buchanandesign.com
*/

/* Resets */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 120%; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
input { vertical-align: middle; }
input[type="submit"] { cursor: pointer; }
html,body { height: 100%; }

/* WordPress required styles */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter,
div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 80%; line-height: 1.2; margin: 0; padding: 0 4px 5px; }

/* ----------------------------------- */
/* COMMON
/* ----------------------------------- */
body { background: #FFF; text-align: center; }
p, div, li, td, th, input, select, textarea { font: normal 18px/1.48 "pt-sans", sans-serif; color: #4d4d4d; }
p, h1, h2, h3, h4, section ul, section ol, section table { margin-bottom: 15px; }
h1, h2, h3 { line-height: 1.1 !important; font-family: "mr-eaves-sans", sans-serif; font-weight: 400; }
a img, :link img, :visited img { border: none }
a { color: #51becc; text-decoration: none; }
a:hover { color: #ecaa00; }
div.clear { clear: both; overflow: hidden; height: 1px; }
input { vertical-align: middle; }
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }
.gfield { margin-left: 0 !important; }

#wrapper { position: relative; width: 100%; right: 0; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; text-align: left; position: relative; }

.button { display: inline-block; border: none; background: #eaa900 url(images/orange-texture2.png) center center repeat; color: #FFF; padding: 7px 25px; font-size: 24px; text-transform: uppercase; text-decoration: none; cursor: pointer; margin: 0 0 15px 0; }
.button:hover { background-image: url(images/blue-texture.png); }
.button.alt { background-image: url(images/blue-texture.png); }
.button.alt:hover { color: #c1dee1; }

/* ----------------------------------- */
/* HEADER
/* ----------------------------------- */
#header { background: transparent url(images/header.jpg) center center no-repeat; background-size: cover; }
#header .container { padding: 50px 0 0 0; text-align: center; }
#header .logo img { margin: 0 0 15px 0; }
#quick-contact { position: absolute; top: 0; left: 0; padding: 15px 0 0 0; }
#quick-contact a { color: #FFF; text-decoration: none; margin: 0 3px 0 0; }
#quick-contact a:hover { color: #ecaa00; }
#quick-contact a i { font-size: 120%; vertical-align: middle; }
#quick-contact a.phone { margin: 0 10px 0 0; }
#buttons { position: absolute; top: 0; right: 0; }
#buttons a { display: block; width: 200px; height: 50px; line-height: 50px; color: #FFF; text-transform: uppercase; font-size: 20px; text-align: center; background: transparent url(images/donate.png) 0 0 no-repeat; }
#buttons a:hover { background-position: 0 -50px; }
#mobiledonate {display:none;padding:8px 20px; background-color: #ebab21; text-align:center; text-decoration: none; color:#ffffff;}
#mobiledonate:hover {background-color: #53bdcb;}

#header nav {
  text-align:center;
  width: 100%;
  padding: 0;
  margin: 0;
  position:relative;
}

#header nav ul li { display: inline-block; list-style: none; vertical-align: top; }

#header nav li a { color: #FFF; }
#header nav li { font-family: "mr-eaves-sans", sans-serif; }
#header nav > ul > li { font-size: 18px; font-weight: 900; text-transform: uppercase; }
#header nav > ul > li a { padding: 0 15px 20px 15px; }
#header nav ul li a { display: block; }
#header nav ul > li:hover > a,
#header nav ul > li.current-menu-item > a,
#header nav ul > li.current-menu-ancestor > a { color: #ecaa00; }
#header nav ul ul {
    height: auto;
    padding:0;
    text-align: center;
    display:none;
    width: 100%;
    position: absolute;
    top: 45px;
    left: 0px;
    background: rgba(0,90,120,.9);
    padding: 20px 0;
	z-index: 99;
}
#header nav ul li:hover ul,
#header nav ul li.current-menu-item ul,
#header nav ul li.current-menu-ancestor ul { display: block; }
#header nav ul li:hover ul { z-index: 999; }
#header nav ul li.current-menu-ancestor ul ul,
#header nav ul li.current-menu-item ul ul { display: none; }
#header nav ul li.current-menu-ancestor ul:hover li ul,
#header nav ul li.current-menu-item ul:hover li ul { display: block !important; }
#header nav ul ul li { font-size: 16px; font-weight: 700; text-transform: uppercase; }
#header nav ul ul li a { padding: 5px 15px 0 15px; }
#header nav ul ul ul { position: static; width: auto; background: transparent; padding: 0; }
#header nav ul ul ul li { display: block; }
#header nav ul ul ul li a { text-transform: none; font-weight: 400; }

#mobile-menu { display: none; }


/* ----------------------------------- */
/* HOME
/* ----------------------------------- */
#banner li { background-size: cover; background-position: center center; position: relative; height: 560px; }
#banner li:after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+10,000000+100&0+10,0.6+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 10%, rgba(0,0,0,0.6) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 10%,rgba(0,0,0,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 10%,rgba(0,0,0,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#99000000',GradientType=0 ); /* IE6-9 */
}
#banner .slide-content { z-index: 100; position: absolute; left: 0; bottom: 100px; text-align: center; width: 100%; }
.slide-content p { max-width: 800px; margin: 0 auto 20px auto; padding: 0 120px; font-family: "mr-eaves-sans", sans-serif; line-height: 1.3; text-transform: uppercase; }
.slide-content p.headline { font-weight: 800; color: #FFF; font-size: 44px; }
.slide-content p a { font-size: 24px; color: #5ec5c0; }
.slide-content p a:hover { color: #FFF; }

#banner .bx-wrapper { margin: 0; }
#banner .bx-wrapper .bx-pager { padding: 0; bottom: 25px; }
#banner .bx-wrapper .bx-pager.bx-default-pager a { background: #FFF; height: 15px; width: 15px; border-radius: 50%; margin: 0 8px; }
#banner .bx-wrapper .bx-pager.bx-default-pager a:hover, #banner .bx-wrapper .bx-pager.bx-default-pager a.active { background: #007298; }
#banner .bx-wrapper .bx-controls-direction a { width: 82px; height: 32px; }
#banner .bx-wrapper .bx-prev { background: url(images/banner-arrows.png) 0 0 no-repeat; left: 40px; }
#banner .bx-wrapper .bx-next { background: url(images/banner-arrows.png) 0 -32px no-repeat; right: 40px; }
#banner .bx-wrapper .bx-prev:hover { background-position: -82px 0; }
#banner .bx-wrapper .bx-next:hover { background-position: -82px -32px; }

#intros { background: transparent url(images/intros.jpg) center center no-repeat; background-size: cover; padding: 50px 0; }
#intros li { width: 27%; padding: 0 3%; float: left; list-style: none; text-align: center; }
#intros li .image { height: 45px; margin: 0 0 15px 0; }
#intros li .image img { max-height: 45px; width: auto; }
#intros li h2 { font-size: 36px; text-transform: uppercase; color: #FFF; }
#intros li p { color: #FFF; margin: 0; }
#intros li p a { text-transform: uppercase; color: #FFF; font-family: "mr-eaves-sans", sans-serif; }
#intros li p a:hover { color: #ecaa00; }

#events { padding: 50px 0; background: #e5f5f7 url(images/events-bg.jpg) center bottom no-repeat; background-size: 100% auto; position: relative; }
#events:after { content: " "; left: 0; bottom: 0; position: absolute; width: 100%; height: 17px; background: transparent url(images/edge-up.png) center center repeat-x; }
#events .container { text-align: center; }
#events h2 { text-align: center; font-size: 60px; font-style: italic; color: #53bdcb; }
#events ul { width: 100%; display: flex; margin: 0 0 40px 0; }
#events li { width: 31%; margin: 0 1%; padding: 0 0 15px 0; list-style: none; position: relative; background: #FFF; }
#events li:hover { box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); }
#events li a { display: block; }
#events li img { width: 100%; height: auto; }
#events li .date { position: absolute; top: 0; left: 15px; color: #FFF; background: url(images/orange-texture.png) center center repeat; padding: 20px 15px; font-size: 32px; text-transform: uppercase; font-weight: 700; line-height: 1; }
#events li .date span { font-size: 54px; display: block; }
#events li h3 { color: #d85e00; font-size: 36px; font-style: italic; margin: 15px 0 15px 0; }
#events li a p { color: #53bdcb; text-transform: uppercase; }
.tribe-event-featured, .tribe-mini-calendar-list-wrapper .tribe-event-featured .tribe-mini-calendar-event { background: none !important; }
.tribe-mini-calendar-list-wrapper .tribe-event-featured .list-date { display: block; }
.tribe-mini-calendar-list-wrapper .tribe-event-featured .tribe-event-image { display: none; }

#instagram { padding: 50px 0; background: #FFF; position: relative; }
#instagram:after { content: " "; left: 0; top: 100%; position: absolute; width: 100%; height: 17px; background: transparent url(images/edge-down.png) center center repeat-x; }
#instagram h2 { text-align: center; font-family: "mr-eaves-sans", sans-serif; font-size: 60px; font-style: italic; color: #53bdcb; }
#instagram .swiper-button-prev,
#instagram .swiper-button-next { width: 82px; height: 32px; }
#instagram .swiper-button-prev { background: url(images/content-arrows.png) 0 0 no-repeat; left: -120px; }
#instagram .swiper-button-next { background: url(images/content-arrows.png) 0 -32px no-repeat; right: -120px; }
#instagram .swiper-button-prev:hover { background-position: -82px 0; }
#instagram .swiper-button-next:hover { background-position: -82px -32px; }
#instagram img { max-width: 190px; height: auto; }

#mission { background: #fbf5e3 url(images/bottom-bg.jpg) center bottom no-repeat; background-size: 100% auto; padding: 70px 0 450px 0; }
#mission .container { text-align: center; }
#mission h2 { text-align: center; font-size: 60px; font-style: italic; color: #ecaa00; }
#mission p { font-size: 24px; }
#mission img { margin: 0 20px; }

#newsletter { background: #5b7e38; padding: 15px; }
#newsletter .container { text-align: center; font-family: "mr-eaves-sans", sans-serif; color: #FFF; text-transform: uppercase; font-size: 24px; }
#newsletter form { display: inline-block; margin: 0 20px; }
#newsletter input[type="text"] { background: #FFF; border: 0; padding: 10px 20px; }
#newsletter input[type="submit"] { background: url(images/blue-texture.png) center center repeat; padding: 10px 20px; color: #FFF; border: 0; text-transform: uppercase; }
#newsletter input[type="submit"]:hover { background-image: url(images/orange-texture2.png); }
#newsletter a { color: #FFF; }
#newsletter a:hover { color: #52bcc8; }

/* ----------------------------------- */
/* SUB PAGES
/* ----------------------------------- */
#page-header {padding: 130px 0 80px 0; background-size: cover; background-position: center center; position: relative; }
#page-header:before { content: ""; position: absolute; background: rgba(0,0,0,.2); top: 0; left: 0; width: 100%; height: 100%; }
#page-header h1 { font-size: 80px; margin: 0; color: #FFF; font-style: italic; position: relative; z-index: 10; }

#main { padding: 100px 0; }

#main .container.narrow { max-width: 780px; }
#main .container.two-col section { width: 65%; float: left; }
#main section li { margin-left: 25px; }
#main section img { max-width: 100%; height: auto; }

#main aside { width: 30%; float: right; }
#main aside .widget { border: 1px solid #d6cb9d; padding: 15px 20px; margin: 0 0 20px 0; }
#main aside .widget h2 { color: #51becc; text-transform: uppercase; font-size: 22px; }
#main aside .widget li { list-style: none; border-bottom: 1px solid #EFEFEF; padding: 0 0 5px 0; margin: 0 0 5px 0; }
#content h2 {font-size:44px; color:#51becc; margin-bottom:0px;}
#content h3 {font-size:30px; margin-bottom:5px;margin-top:20px;}
#content h4 {font-size:20px; font-weight:bold; margin-bottom:5px;margin-top:10px; text-transform:uppercase;color: #51becc;}

.benefittable td {text-align:center; font-size:12px; color:#ebab21; border:none;padding:5px; vertical-align:middle;background-color:#f9f7e8;}
.benefittable #rowtitle {text-align:left; padding-left:10px; color:#333333;}
.benefittable #columntitle td {color:#ffffff; background-color:#51becc;border:none; line-height:12px;}

/* News */
article.post { margin: 0 0 40px 0; }
article.post h2 a { color: #d85e00; font-style: italic; }
p.post-data { font-size: 14px; font-style: italic; color: #999; }
#categories-2 label {display:none;}
#archives-2 label {display:none;}
select#cat { appearance: none; -webkit-appearance: none; border: 1px solid #cccccc; padding: 4px 40px 4px 15px; background: transparent url(images/select-arrow-down.png) 95% center no-repeat; border-radius: 0; position: relative; }
select#archives-dropdown-2 { appearance: none; -webkit-appearance: none; border: 1px solid #cccccc; padding: 4px 40px 4px 15px; background: transparent url(images/select-arrow-down.png) 95% center no-repeat; border-radius: 0; position: relative; }


/* Special Content Pieces */
#content h2.content-type-title { color: #d85e00; font-size: 36px; font-style: italic; margin: 0 0 10px 0; }

#main section #link-list { border-top: 1px solid #d6cb9d; border-bottom: 1px solid #d6cb9d; padding: 20px 0; margin: 0 0 40px 0; }
#main section #link-list li { list-style: none; margin: 3px 0; text-align: center; }
#main section #link-list a { display: block; border: none; background: #7dcbc6 url(images/green-texture.png) center center repeat; color: #FFF; padding: 12px 25px; font-size: 32px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
#main section #link-list a:hover { background: #005a78; }

#main section #image-link-list { border-top: 1px solid #d6cb9d; margin: 0 0 40px 0; }
#main section #image-link-list li { *zoom: 1; list-style: none; margin: 0; border-bottom: 1px solid #d6cb9d; padding: 20px 0; }
#main section #image-link-list li:after { content: " "; display: table; clear: both; }
#main section #image-link-list li img { width: 170px; height: auto; float: left; }
#main section #image-link-list li h3
#main section #image-link-list li p { margin-left: 200px; }
#main section #image-link-list li h3 { font-size: 36px; color: #51becc; font-style: italic; margin-top: 0;  margin-bottom: 0; }
#main section #image-link-list li p { margin-bottom: 5px; }
#main section #image-link-list li a { color: #eea904; font-size: 14px; text-transform: uppercase; }
#main section #image-link-list li a:hover { color: #51becc; }

#main section #date-link-list { border-top: 1px solid #d6cb9d; margin: 0 0 40px 0; }
#main section #date-link-list li { list-style: none; margin: 0; border-bottom: 1px solid #d6cb9d; padding: 20px 0; }
#main section #date-link-list li h3 { font-size: 36px; color: #51becc; font-style: italic; margin: 0; }
#main section #date-link-list li p { margin-bottom: 5px; }
#main section #date-link-list li p.date { font-size: 14px; text-transform: uppercase; }
#main section #date-link-list li a { color: #eea904; font-size: 14px; text-transform: uppercase; }
#main section #date-link-list li a:hover { color: #51becc; }
#main section #date-link-list li ul li { list-style: disc; margin: 0 0 0 20px; border-bottom: none; padding: 2px 0; font-size:16px;}
#main section #date-link-list li .button { color: #fff; background-image: url(images/blue-texture.png); font-size:20px;}
#main section #date-link-list li .button:hover { color: #fff; background-image: none; background-color:#0f4876;}

#accordion { border-top: 1px solid #d6cb9d; margin: 0 0 40px 0; }
.accordion-item { border-bottom: 1px solid #d6cb9d; padding: 20px 0; }
#main section #accordion h3 { font-size: 36px; padding-right: 30px; color: #51becc; font-style: italic; margin: 0; display: block; position: relative; cursor: pointer; }
#accordion h3:after { content: "\f054"; font-family: "FontAwesome"; color: #51becc; font-size: 28px; position: absolute; right: 0; top: 5px; font-style: normal; }
#accordion h3.active:after { content: "\f078"; }
#accordion .accordion-content { margin-top: 20px; }
.accordion-content h4  {margin: 20px 0 5px; text-transform:uppercase;letter-spacing:1px;}

/* Galleries */
#thumbnails { width: 100%; display: flex; flex-wrap: wrap; border-top: 1px solid #d6cb9d; border-bottom: 1px solid #d6cb9d; padding: 30px 0; }
#main section #thumbnails li { list-style: none; width: 22%; margin: 0 1.5% 25px 1.5%; text-align: center; }
#main section #thumbnails li h2 { color: #51becc; font-size: 24px; font-style: italic; margin: 0; }
#main section #thumbnails li p { font-size: 14px; margin: 0; }
#main section #thumbnails li a.image-link { display: inline-block; background: #51becc; position: relative; }
#main section #thumbnails li a.image-link img { display: block; width: 100%; }
#main section #thumbnails li a.image-link:hover img { opacity: .15; }
#main section #thumbnails li a.image-link:hover:after { content: ""; content: url(images/icon-gallery.png); position: absolute; top: 50%; transform: translateY(-50%) translateX(-50%); }
#main section #thumbnails.staff li a.image-link:hover:after { content: url(images/icon-staff.png); }
#main section #thumbnails.cottages li a.image-link:hover:after { content: url(images/icon-cottage.png); }
#main section #thumbnails li a { font-size: 14px; text-transform: uppercase; }
#main section #thumbnails p.title { font-weight: bold; font-size: 16px; }
#main section #thumbnails p.profession { font-style: italic; font-size: 14px; }
#main section #thumbnails.activated li.inactive { display: none; opacity: .4; }
#main section #thumbnails.activated li.inactive a.image-link:hover img { opacity: 1; }
#main section #thumbnails.activated li.inactive a.image-link:after { display: none; }

/* Articles */
#articles { border-top: 1px solid #d6cb9d; }
#main section #articles li { padding: 40px 0; list-style: none; margin: 0; border-bottom: 1px solid #d6cb9d; }
#main section #articles li p { font-size: 14px; margin: 0; text-transform: uppercase; }
#main section #articles li h2 { font-size: 36px; color: #51becc; font-style: italic; margin: 0; }
#main section #articles li a { font-size: 14px; text-transform: uppercase; color: #eea904; }
#main section #articles li a:hover { color: #51becc; }

/* Staff */
#staff-images { text-align: center; margin: 0 0 40px 0; }
.single-staff #main section h2 { font-size: 72px; color: #51becc; font-style: italic; text-align: center; margin: 0; }
.single-staff #main section p.title { color: #000; font-size: 36px; text-transform: uppercase; text-align: center; margin: 0 0 30px 0; }
.best { margin-top: 50px; border-top: 1px solid #d6cb9d; border-bottom: 1px solid #d6cb9d; padding: 30px 0; text-align: center; }
#main section .best h3 { font-size: 36px; color: #000; font-weight: 700; font-style: italic; margin: 0 0 5px 0; }


/* Cottages */
#cottage-filters { text-align: center; margin: 0 0 20px 0; }
#cottage-filters a { display: inline-block; background: #d6cb9d; color: #333333; padding: 5px 35px; font-family: "mr-eaves-sans", sans-serif; font-style: italic; font-size: 20px; margin: 0 0 4px 0; }
#cottage-filters a.active { background: #eea904; color: #FFF; }

.single-cottage #main section h2, .single-restoration #main section h2 { font-size: 72px; color: #51becc; font-style: italic; text-align: center; margin: 0; }
.single-cottage #main section p.title, .single-restoration #main section p.title { color: #000; font-size: 36px; text-transform: uppercase; text-align: center; margin: 0 0 30px 0; }
.single-cottage .bx-wrapper .bx-pager, .single-restoration .bx-wrapper .bx-pager { padding: 0; bottom: 30px; }
#cottage-data { margin: 50px 0; border-top: 1px solid #d6cb9d; border-bottom: 1px solid #d6cb9d; padding: 30px 0; font-size: 20px; font-weight: 700; }
#cottage-data a.button { float: right; margin-left:10px;}
#cottage-data span { color: #51becc; text-transform: uppercase; }
#cottage-map { text-align: center; }
#main section #cottage-map h3 { color: #51becc; font-style: italic; font-size: 36px; text-align: center; }
#reserveAmerica {float:right;}

.single-cottage #main section .bx-wrapper li { margin: 0; }
.single-cottage .bx-wrapper .bx-pager { padding: 0; bottom: 25px; }
.single-cottage .bx-wrapper .bx-pager.bx-default-pager a { background: #FFF; height: 15px; width: 15px; border-radius: 50%; margin: 0 8px; }
.single-cottage .bx-wrapper .bx-pager.bx-default-pager a:hover, #banner .bx-wrapper .bx-pager.bx-default-pager a.active { background: #007298; }


/* Events */
/*#main section .tribe-events-loop { border-top: 1px solid #d6cb9d; margin: 30px 0 20px; }*/
#main section .tribe-events-loop { margin: -40px 0 20px; }
#main section .type-tribe_events { list-style: none; margin: 0; border-bottom: 1px solid #d6cb9d !important; padding: 40px 0 40px 0 !important; }
#main section .type-tribe_events:first-child { padding-top: 0; }
#main #tribe-events-footer { border: 0; padding: 0; }
#main section a.tribe-events-ical { display: none !important; }
#main section .tribe-events-list .tribe-events-loop .tribe-event-featured a { color: inherit; }

#tribe-events-content .image { width: 45%; float: left; position: relative; }
.tribe-events-list .tribe-events-loop .tribe-events-event-image,
.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-event-image { width: 100%; float: none; margin: 0 !important; }

#tribe-events-content .date { text-align: center; position: absolute; top: 0; left: 15px; color: #FFF; background: url(images/orange-texture.png) center center repeat; padding: 20px 15px; font-size: 32px; text-transform: uppercase; font-weight: 700; line-height: 1; }
#tribe-events-content .date span { font-size: 54px; display: block; }
#tribe-events-content .event-content { width: 50%; float: right; }
#main section #tribe-events-content h2 { color: #d85e00; font-size: 36px; font-style: italic; margin: 0; }
#main section #tribe-events-content p { font-size: 16px;  }
.tribe-events-loop a { color: #eea904; font-size: 14px; text-transform: uppercase; }
#main section #date-link-list li a:hover { color: #51becc; }

#main section .tribe-events-schedule,
#main section .tribe-events-schedule h3 { margin: 0; }
#main section .tribe-events-schedule .recurringinfo { display: block; }
#main section .tribe-events-schedule .recurringinfo .tribe-events-divider { display: none; }
#main section .tribe-events-single ul.tribe-related-events li { width: 48%; margin: 0 0 0 4%; }
#main section .tribe-events-single ul.tribe-related-events li:nth-child( odd ) { margin-left: 0; }
#main section .tribe-events-single ul.tribe-related-events li h3 { margin: 0 0 5px 0; }
h3.tribe-related-events-title, h3.tribe-related-events-title a { font-size: 24px !important; }
#main section .tribe-events-single ul.tribe-related-events div { font-size: 15px; }
#main section .tribe-events-single ul.tribe-related-events .recurringinfo,
#main section .tribe-events-single ul.tribe-related-events .recurringinfo div { margin: 0; font-style: italic; color: #666; }

#main .tribe-mini-calendar thead, #main .tribe-mini-calendar-nav, #main .tribe-mini-calendar-nav td { background: #FFF; border: 0; }
#main .tribe-mini-calendar-nav span, #main .tribe-mini-calendar-nav .tribe-mini-calendar-nav-link { color: #51becc; font-size: 30px; }
#main .tribe-mini-calendar th { background: #FFF;  border: 0; border-top: 1px solid #b2b2b2; border-bottom: 1px solid #b2b2b2; padding: 7px 0; font-size: 14px; text-transform: uppercase; color: #b2b2b2; }
#main .tribe-mini-calendar td { background: #FFF; color: #b2b2b2;  }
#main .tribe-mini-calendar-no-event { color: #b2b2b2; font-weight: normal; }
#main .tribe-events-has-events a { color: #d85e00; font-weight: normal; }
#main .tribe-events-has-events a:hover { background: #d85e00; color: #FFF; }
#main aside .tribe-events-duration { font-size: 14px; }

#lct-widget-tribe_events_cat-container input, #lct-widget-tribe_events_cat-container select { vertical-align: middle; display: inline-block; margin: 0; }
select#lct-widget-tribe_events_cat { appearance: none; -webkit-appearance: none; border: 1px solid #cccccc; padding: 4px 40px 4px 15px; background: transparent url(images/select-arrow-down.png) 95% center no-repeat; border-radius: 0; position: relative; max-width:220px;}
#lct-widget-tribe_events_cat-container input[type="submit"] { display: inline-block; border: none; background: #eaa900 url(images/orange-texture2.png) center center repeat; color: #FFF; padding: 7px 25px; font-size: 15px; border-radius: 1px solid #FFF; text-transform: uppercase; text-decoration: none; cursor: pointer; }
#lct-widget-tribe_events_cat-container input[type="submit"]:hover { background-image: url(images/blue-texture.png); }


/* Forms */
select.medium.gfield_select { appearance: none; -webkit-appearance: none; border: 1px solid #cccccc; padding: 4px 40px 4px 15px; background: transparent url(images/select-arrow-down.png) 95% center no-repeat; border-radius: 0; position: relative; }

/* Donate */
#main section .ginput_price { display: none !important; }

/* Inline gallery */
.gallery { margin: 0 0 10px 0; }
.gallery .bx-wrapper .bx-pager { padding: 0; bottom: 30px; }

.metaslider { margin: 0 auto 40px auto !important; }


/* Member Page */
#membermobile {display:none; margin-bottom: 30px;}


/* ----------------------------------- */
/* FOOTER
/* ----------------------------------- */
#footer { background: #fbf5e3; padding: 50px 0; }
#footer nav { border-top: 1px solid #d8d2c4; border-bottom: 1px solid #d8d2c4; padding: 10px 0; text-align: center; margin: 0 0 20px 0; }
#footer nav li { display: inline-block; margin: 0 15px; }
#footer nav li a { text-transform: uppercase; font-size: 14px; }
#footer p#copyright { font-size: 14px; }
#footer p#copyright a { display: inline-block; margin-left: 10px; }
#footer a { color: #4b4f54; }
#footer a:hover { color: #929292; }

#search-popup { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba( 255,255,255,.9); }
#search-popup .container { padding: 200px 0 0 0; max-width: 500px; text-align: center; position: relative; }
#close-search-popup { position: absolute; right: -30px; top: 160px; font-size: 40px; color: #000; }
#search-popup form { background: #51becc; display: inline-block; padding: 15px 30px; }
#search-popup input { border: 0; background: none; padding: 0; font-size: 30px; }
#search-popup input[type="text"] { width: 400px; }
#search-popup input[type="submit"] { color: #FFF; font-family: "FontAwesome"; }

/* ----------------------------------- */
/* MOBILE
/* ----------------------------------- */

@media screen and (max-width: 1180px) {

	.container { padding-left: 5%; padding-right: 5%; width: 90%; }

	#instagram .bx-pager { display: block; }
	#instagram .bx-controls-direction { display: none; }
	

}
@media screen and (max-width: 880px) {

	#header .logo { float: left; }
	#mobile-menu { position: absolute; right: 5%; top: -80px; z-index: 10; display: block; font-size: 40px; color: #FFF; }
	#header nav ul { display: none; }
	.nav-open #header nav ul { display: block; }
	.nav-open #header nav ul li { display: block; background: #0f4876; border-top: 1px solid #51becc; }
	.nav-open #header nav ul li a { padding: 10px 0; }
	.nav-open #header nav ul li:hover ul,
    .nav-open #header nav ul li.current-menu-item ul,
    .nav-open #header nav ul li.current-menu-ancestor ul,
    .nav-open #header nav ul ul { display: none; position: static; padding: 0; border-top: 1px solid #51becc; }
	.nav-open #header nav ul ul.active { display: block !important; }
	.nav-open #header nav ul ul li { border: none; background: #007298; text-align: left; }
	.nav-open #header nav ul ul li a { padding: 10px 30px; font-weight: 400; color: #FFF; }
	.nav-open #header nav ul ul ul { display: block !important; border: none !important; }
	.nav-open #header nav ul ul ul li a { padding: 0 0 5px 60px; color: #ecaa00; text-transform: uppercase; }
	.nav-open #header nav li.search { display: none; }

	/*#banner li { height: auto; }*/
	#banner li .slide-content { position: relative; top: 0; padding: 180px 0 70px 0; }
	.slide-content p { padding: 0 5%; }
	.slide-content p.headline { font-size: 36px; }
	#banner .bx-controls-direction { display: none; }

	#mission { padding-bottom: 350px; }
	
	


}

@media screen and (max-width: 760px) {

	#intros li { width: 100%; padding: 0; float: none; margin: 0 0 40px 0; }

	#events ul { display: block; }
	#events li { width: 100%; margin: 0 0 40px 0; padding: 0 0 15px 0; }

	#newsletter input[type="text"] { display: block; text-align: center; }

    #main section #thumbnails li { width: 47%; }

    #newsletter form { display: block; text-align: center; margin: 10px 0; }
    #newsletter form input[type="text"] { width: 100%; text-align: center; margin: 0 0 4px 0; padding: 5px 0; }

    #cottage-filters a { display: block; }

	#main section, #main aside { width: 100%; float: none; }

	#tribe-events-content .image,
	#tribe-events-content .tribe-events-event-image,
	#tribe-events-content .event-content { width: 100%; float: none; }
	
	#membermobile {display:block;}
	#memberdesk {display:none !important;}
	
	


}
@media screen and (max-width: 568px) {

	#header .container { padding: 20px 0 0 0; }
	#header .logo img { max-width: 75%; height: auto; float: left; }
	#quick-contact, #buttons { display: none; }

    #banner li { background-size: auto 100%; }

	#mission { padding-bottom: 175px; }

	#footer nav li { display: block; }

	#events h2, #mission h2, #instagram h2 { font-size: 36px; }

	#events li { padding-bottom: 5px; }
	#events li h3 { font-size: 26px; margin-top: 10px; }

    #main section #thumbnails li { width: 100%; margin: 0 0 30px 0; }

    #main section #thumbnails.activated li.inactive { display: none; }

    #main section #image-link-list li img { float: none; width: auto; }
    #main section #image-link-list li h3, #main section #image-link-list li p { margin-left: 0; }

    #page-header h1 { font-size: 46px; }

    #header nav li a:hover { background-color: #000 !important; }

    #main .container.two-col section, #main aside { width: 100%; float: none; }

	.benefittable {width:85%;}
	.benefittable td {text-align:center; font-size:9px; color:#ebab21; border:none;padding:2px; vertical-align:middle;background-color:#f9f7e8; border-bottom:1px solid #d6cb9b;}
	.benefittable #rowtitle {text-align:left; padding-left:5px; color:#333333;}
	.benefittable #columntitle td {color:#ffffff; background-color:#51becc;border:none; line-height:10px; }
	.benefittable #lastrow td {border-bottom:none;}
	
	#mobiledonate {display:block; }
	
}
	
/* ----------------------------------- */
/* Kian's Additions
/* ----------------------------------- */

	#video-wrap {
float: left;
margin: 0 20px 5px 0;
}

