/*
Theme Name: Eames Foundation
Author: T-sign Studios
Author URI: http://www.t-sign.com/
Version: 0.9.6
*/

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/* ==========================================================================
  HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
  ========================================================================== */

html,button,input,select,textarea{ color: #222; }
body{ font-size: 1em; line-height: 1.4; }
::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #c2d9eb; margin: 30px 0; padding: 0; }
img { vertical-align: middle; pointer-events: none; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }
select:focus { outline: none; }
pre { z-index: 100; background: rgba(0,0,0,.7); color: #fff; position: relative; font-size: 12px; line-height: 1; }
.chromeframe { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; }

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

ul, ol { list-style: none; padding: 0; margin: 0; }
* { -moz-box-sizing: border-box; box-sizing: border-box; }
body, button, input, textarea, select { font-size: 13px; font-family: Georgia, serif; }
b, strong {font-weight: bold;}
i, em {font-style: italic;}
button, textarea, select { border: 0; background: none; -webkit-appearance: none; border-radius: 0; }
input{ border: 0; background: none; border-radius: 0; }
a:link, a:hover, a:visited, a:active { text-decoration: none; color: #006ab5; }
textarea { resize: none; }
h2 { cursor: default; }
h4 { display: inline-block; font-weight: bold; vertical-align: top; margin-bottom: 15px; }
.gfx { position: relative; }
.gfx:before { content: ""; display: block; background: url('images/gfx.png?v=2'); width: 35px; height: 35px; position: absolute; left: 0; top: 0; transition: background-color .1s cubic-bezier(0.390, 0.575, 0.565, 1.000); }

/* ========================================================================== */

body { min-width: 1024px; }
.wrap { width: 990px; position: relative; margin: 0 auto; }
.more, a[title="button"] { position: relative; padding-left: 13px; font-size: 14px; min-height: 10px; display: inline-block; color: #006ab5; }
.more:before, a[title="button"]:before { content: ""; display: block; background: url('images/gfx.png?v=2') -7px -105px; width: 7px; height: 10px; position: absolute; left: 0; top: 5px; transition: left .1s cubic-bezier(0.390, 0.575, 0.565, 1.000); }
.no-touch .more:hover:before { left: -2px; background-position: -14px -105px; }
.more-button, a[title="button"], form input[type=submit] { background: #006BB6!important; color: #fff!important; width: 225px; line-height: 30px; padding-left: 25px; }
.more-button:before, a[title="button"]:before { background-position: 0px -105px; left: 9px; top: 10px; }
.no-touch .more-button:hover, .no-touch a[title="button"]:hover, .no-touch form input[type=submit]:hover { background: #005994!important; }
.no-touch .more-button:hover:before { left: 7px; background-position: 0px -105px; }
a[title="button"] { line-height: 40px; }
a[title="button"]:before { top: 15px; }

input[type=date] { align-items: center; padding-right: 0; }
input[type=date]::-webkit-datetime-edit {  }
input[type=date]::-webkit-datetime-edit-fields-wrapper { }
input[type=date]::-webkit-datetime-edit-text {  }
input[type=date]::-webkit-datetime-edit-month-field {  }
input[type=date]::-webkit-datetime-edit-day-field {  }
input[type=date]::-webkit-datetime-edit-year-field {  }
input[type=date]::-webkit-inner-spin-button { display: none; -webkit-appearance: none; }
input[type=date]::-webkit-calendar-picker-indicator { background: none; position: relative; width: 35px; height: 35px; padding: 0; cursor: pointer; }
input[type=date]::-webkit-calendar-picker-indicator:after { content: ""; opacity: 1; display: block; background: #ECECEC url('images/gfx.png?v=2') -175px -35px; pointer-events: none; width: 34px; height: 33px; position: absolute; right: 1px; top: 1px; }

.featured-image { width: 715px; height: auto; display: block; margin-bottom: 30px; }

#wrapper { min-height: 100%; position: relative; left: 0; }
#wrap-content { overflow:auto; /*padding-bottom: 155px;*/ }
#footer { position: relative; /*margin-top: -155px; height: 155px;*/ height: auto; clear: both; }
#main { padding-top: 40px; white-space: nowrap; }
#main > div, #main > ul { white-space: normal; }

#header { background: #006bb6; color: #fff; height: 130px; position: relative; }
#header-logo { width: 259px; height: 67px; background: url('images/eames-logo.png'); position: absolute; top: 30px; }
#header-logo a { width: inherit; height: inherit; display: block; }
#header > div.wrap { height: inherit; }

#navigation { position: absolute; right: 0; top: 57px; font-size: 0; cursor: default; white-space: nowrap; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
#navigation > ul > li.menu-item { cursor: default; padding: 20px 0 30px; position: relative; }
#navigation > ul > li.menu-item:after { content:""; position: absolute; bottom: 0px; left: 0; height: 0; width: 100%; background: #005994; transition: height .3s cubic-bezier(0.390, 0.575, 0.565, 1.000); display: block; }
.no-touch #navigation > ul > li.menu-item:hover:after, #navigation > ul > li.menu-item:active:after, #navigation > ul > li.menu-item.hover:after { height: 10px; }

#navigation > ul > li.menu-item > a { color: #fff; font-size: 17px; line-height: 23px; display: block; padding: 0 20px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEElEQVQIW2OM6N30n5EBCAAScQKZ2DJZ/gAAAABJRU5ErkJggg==') repeat-y left top; }
#navigation > ul > li.menu-item:last-of-type > a { padding-right: 0; }
#navigation > ul > li.menu-item:first-of-type > a { background: none; }

#navigation > ul > li.current-menu-parent  { background: #005994; }
#navigation > ul > li.current-menu-parent > a { background: none; padding-right: 20px !important; }
#navigation > ul > li.current-menu-parent + li > a { background: none; }
#navigation > ul > li.current-menu-parent:after { display: none; }

#navigation > ul > li > ul { max-height: 0px; position: absolute; z-index: 10; background: #005996; left: 0; top: 73px; min-width: 100%; transition: max-height .2s cubic-bezier(0.390, 0.575, 0.565, 1.000); overflow: hidden; margin-top: -1px; }
#navigation > ul > li > ul > li.menu-item:last-of-type { padding-bottom: 10px; }
#navigation > ul > li > ul > li.menu-item a { line-height: 35px; font-size: 15px; color: #fff; display: block; padding: 0 20px; }
#navigation > ul > li > ul > li.current-menu-item,
.no-touch #navigation > ul > li > ul > li.menu-item:hover a, #navigation > ul > li > ul > li.menu-item a:active { background: #006BB6; }
.no-touch #navigation > ul > li:not(:hover) > ul, .touch #navigation > ul > li:not(.hover) > ul { max-height: 0px !important; }

#navigation > ul > li > ul > li.current-menu-item.menu-item-1699 {
 background: none;
}

.postid-951 #navigation > ul > li > ul > li.current-menu-item.menu-item-1699 {
 background: #006BB6;
}

#share { position: absolute; right: 230px; top: 19px; height: 35px; }
#share > p { color: #005189; display: inline-block; line-height: 35px; font-size: 15px; vertical-align: top; cursor: default; }
#share > div { display: inline-block; }
#share a.gfx { position: relative !important; display: inline-block !important; height: 35px !important; width: 35px !important; background: none!important; float: none; }
#share a.gfx span { visibility: hidden; }
#share a.fb:before { background-position: 0 -70px; }
.no-touch #share a.fb:hover:before, #share a.fb:active:before { background-position: 0 0; }
#share a.twitter:before { background-position: -35px -70px; }
.no-touch #share a.twitter:hover:before, #share a.twitter:active:before { background-position: -35px 0; }
#share a.plus:before { background-position: -70px -70px; }
.no-touch #share a.plus:hover:before, #share a.plus:active:before { background-position: -70px 0; }

.menu > li { display: inline-block; vertical-align: top; }

#search { background: #005994; width: 215px; height: 35px; top: 19px; right: 0px; position: absolute; }
#search button { width: 35px; height: 35px; position: absolute; right: 0; cursor: pointer; }
#search button:before { background-position: -105px -35px; z-index: 1; }
.no-touch #search button:hover:before, .touch #search button:active:before { background-position: -105px 0px; }
#search input { height: 35px; width: 145px; margin-left: 35px; color: #fff; padding: 5px; z-index: 1; background: transparent; }
#search input:focus { outline: none; }
#search form:before { background-position: -140px -35px; }

#rotator { width: 100%; height: 410px; overflow: hidden; position: relative; margin-bottom: 30px; }
#content #rotator { height: 260px; }

#rotator ul li{position:absolute;display:block;width:100%;top:0;left:0;overflow:hidden;opacity:0;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0,0%,0);-webkit-transition:-webkit-transform .5s cubic-bezier(0.390, 0.575, 0.565, 1.000);-moz-transition:-moz-transform .5s cubic-bezier(0.390, 0.575, 0.565, 1.000);-o-transition:-o-transform .5s cubic-bezier(0.390, 0.575, 0.565, 1.000);transition:transform .5s cubic-bezier(0.390, 0.575, 0.565, 1.000);}
#rotator ul li.right{-webkit-transform:translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);z-index:1;opacity:1;-webkit-transition-duration:1s;-moz-transition-duration:1s;-o-transition-duration:1s;transition-duration:1s;}
#rotator ul li.left{-webkit-transform:translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);z-index:1;opacity:1;-webkit-transition-duration:1s;-moz-transition-duration:1s;-o-transition-duration:1s;transition-duration:1s;}
#rotator ul li.active{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:3!important;opacity:1;-webkit-transition-duration:.5s;-moz-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;}
#rotator ul li.fast{/*opacity:0;*/-webkit-transition: none !important;-moz-transition: none !important;-o-transition: none !important;-ms-transition: none !important;transition: none !important;}
.touch #rotator ul li.sibling{-webkit-transition-duration:0s;z-index:4!important;opacity:1;-webkit-transform:translate3d(100%,0,0);}
.touch #rotator.touched ul li.active{-webkit-transition-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);}

#rotator ul li.rotator-item div.texts { background: #fff; position: absolute; transition: transform 0s cubic-bezier(0.390, 0.575, 0.565, 1.000) .5s; }
#rotator ul li.rotator-item h3 { font-size: 40px; color: #006ab5; }
#rotator ul li.rotator-item img { width: inherit; height: auto; display: block; }
#rotator ul li.rotator-template-1 div.texts { bottom: 0; left: 0; height: 90px; width: 100%; transform: translate3d(0px,90px,0px); }
#rotator ul li.rotator-template-1 h3 { line-height: 28px; padding-top: 34px; white-space: nowrap; }
#rotator ul li.rotator-template-1 p { font-size: 15px; color: #858585; line-height: 11px; margin-top: 12px; }
#rotator ul li.rotator-template-3 div.texts { width: 348px; height: 100%; right: 0; top: 0; padding: 0 20px; transform: translate3d(348px,0px,0px); }
#rotator ul li.rotator-template-3 h3 { line-height: 45px; margin-top: -8px; }
#rotator ul li.rotator-template-3 p { font-size: 40px; color: #b7b7b7; margin-top: -6px; }
#rotator ul li.rotator-template-3 .more { margin-top: 10px; }
#rotator ul li.active div.texts { transform: translate3d(0px,0px,0px); transition-duration: .4s; transition-delay: .3s; }

#rotator ol { position: absolute; right:0; bottom: 0; z-index: 5; background: #fff; }
#rotator ol li { width: 19px; height: 19px; position: relative; display: inline-block; cursor: pointer; }
#rotator ol li:after { width: 12px; height: 12px; position: absolute; display: block; border-radius: 50%; background: #cbcbcb; content: ""; position: absolute; right: 0; bottom: 0; }
#rotator ol li.selected { pointer-events: none; }
#rotator ol li.selected:after { background: #006ab5; }
.no-touch #rotator ol li:hover:after { box-shadow: inset 0 0 1px 1px #006ab5; }

#home-featured { height: 316px; }
#home-featured div.featured-box { display: inline-block; width: 480px; margin-right: 30px; vertical-align: top; }
#home-featured div.featured-box:nth-of-type(even) { margin: 0; }
#home-featured div.featured-box h3 { color: #006ab5; font-size: 22px; white-space: nowrap; padding-bottom: 30px; line-height: 20px; }
#home-featured div.featured-box .more { margin-top: 23px; }
#home-featured div.featured-box a { display: block; }

#weather { width: 310px; position: relative; display: inline-block; height: 260px; margin-right: 30px; margin-bottom: 30px; background: #cbcbcb; vertical-align: top; color: #fff; overflow: hidden; cursor: default; -webkit-transform: translateZ(0); }
#weather h2 { line-height: 57px; margin: 0 22px; border-bottom: 1px solid #d8d8d8; font-size: 17px; white-space: nowrap; }
#weather ul { background: #eaeaea; height: 100px; padding: 0 0 0 22px; white-space: nowrap; }
#weather ul li { display: inline-block; color: #919191; font-size: 12px; width: 88px; line-height: 16px; padding-top: 5px; }
#weather ul strong { color: #006ab5; font-size: 25px; display: block; line-height: 46px; }
#weather #celsius { margin: 0 22px; height: 103px; font-size: 40px; padding-left: 120px; line-height: 103px; background-repeat: no-repeat; background-position: left; }

#howtoplan { width: 650px; position: relative; display: inline-block; height: 260px; background: #eaeaea; vertical-align: top; margin-bottom: 30px; padding-left: 35%; color: #8d8d8d; background: url('images/howtoplan.png') center no-repeat; -webkit-transform: translateZ(0); }
#howtoplan h2 { color: #006ab5; font-size: 17px; line-height: 57px; white-space: nowrap; }
#howtoplan hr { width: 21px; background-color: #b1b1b1; margin: 0px; }
#howtoplan p { margin: 20px 0; }
#howtoplan ul { margin-bottom: 20px; }
#howtoplan a[href*="tel://"] { color: inherit; }
#howtoplan a.more { margin-top: 20px; }

#sidebar { width: 225px; margin-right: 50px; display: inline-block; vertical-align: top; }

#sidebar-menu { width: inherit; margin-bottom: 50px; }
#sidebar-menu li.page_item { border-top: 1px solid #c2d9eb; }
#sidebar-menu li.page_item > a { line-height: 24px; padding: 12px 18px; display: block; color: #9e9e9e; font-size: 17px; }
#sidebar-menu li.page_item > a span { float: right; }
.no-touch #sidebar-menu li.page_item:hover > a, #sidebar-menu li.page_item:active > a { color: #005994; }
#sidebar-menu li.parent_page_item { border: 0; }
#sidebar-menu li.current_page_item { border: 0; }
#sidebar-menu li:first-of-type,
#sidebar-menu li.current_page_item.no_children + li { border-top: 0; }
#sidebar-menu li.current_page_item > a,
#sidebar-menu li.parent_page_item > a { color: #fff !important; background: #005994; }
#sidebar-menu li.page_item ul { padding: 8px 0; }
#sidebar-menu li.subpage_item a { line-height: 17px; padding: 8px 18px 8px 28px; display: block; color: #9e9e9e; font-size: 14px; position: relative; }
#sidebar-menu li.subpage_item a:before { content: "\00b7"; position: absolute; left: 16px; top: 7px; font-size: 27px; }
.no-touch #sidebar-menu li.subpage_item:hover > a,
#sidebar-menu li.subpage_item:active > a,
#sidebar-menu li.current_subpage_item a { color: #005994; }

#sidebar-gallery { margin-bottom: 50px; }
#sidebar-gallery h3 { color: #006AB5; font-size: 17px; line-height: 57px; }

#content {  display: inline-block; vertical-align: top; margin-bottom: 50px; }
#sidebar + #content { width: 715px; }
#content h2 { color: #006ab5; font-size: 40px; padding-bottom: 25px; line-height: 50px; }
#content h2 span { color: #aaa; font-size: 20px; white-space: nowrap; }
#content h2 span#search-word { color: #aaa; font-size: inherit; white-space: normal; display: inline-block; }
#content h2 span#search-word:first-letter { text-transform: uppercase; }
#content h3 { font-size: 17px; color: #525151; font-weight: bold; border-top: 1px solid #d9d9d9; padding: 30px 0; clear: both;}
#content p { margin-bottom: 15px; }
#content p strong { font-weight: bold; }
#content p, #content .entry-content li { font-size: 15px; line-height: 25px; color: #525151; text-align: justify; }
#content .entry-content li {margin-bottom: 0;}
#content .entry-content > ul li { list-style: disc; }
#content .entry-content > ol li { list-style: decimal; margin-bottom: 0; }
#content .entry-content > ul, #content .entry-content > ol { padding: 0 0 0 40px; margin: 25px 0; }
#content .entry-content > ol { padding: 0 0 0 40px; margin: 0 0 25px; }
#content p.wp-caption-text { font-size: 12px; margin: 5px 0 30px; line-height: 18px; padding: 10px; box-sizing: border-box; border-bottom: 1px solid #c2d9eb; }
#content div.wp-caption { width: auto !important; }
#content div.wp-caption a { display: block; }
#content address { line-height: 25px; }
#content p + address { margin: -23px 0 75px; }
.single-visit #content p.wp-caption-text { margin-bottom: 20px; }
.single-visit #content address strong { display: inline-block; width: 140px; }
.single-support #content address { font-size: 11px; color: #555; line-height: 16px; margin-top: 75px; }
#content div.column { display: inline-block; vertical-align: top; margin-right: 15px; }
/*#content div.column strong { width: 150px; display: inline-block; font-weight: normal; }*/
#content div.column:nth-of-type(even) { margin-right: 0; }
#content span.custom_price { color: #aaa; font-size: 20px; white-space: nowrap; display:block; text-align: left; margin: -10px 0 15px 0;}



li.list-item { padding-bottom: 25px; padding-left: 0; position: relative; list-style: none !important; margin-bottom:25px; border-bottom:1px solid #d9d9d9}
li.list-item:after {
 clear:both;
 width:100%;
 display:block;
 height:1px;
 content:'';
}
li.list-item:last-of-type {border:0;}
#content li.list-item .text p:last-of-type {margin-bottom:15px;}
li.list-item {
 display: flex;
 flex-flow: row wrap;
}
li.list-item img { position: relative; top: 0; left: 0; max-width: 250px; display:inline-block;}
.image_container {
 display: block; width: 280px; text-align:center;
 flex: 1 1 280px;
 min-width: 280px;
 padding-right:30px;
 min-height: 250px;
 vertical-align: middle;
 line-height: 250px;
}


.entry-content h4,
li.list-item h4 {
 margin-bottom: 7px;
}

.text_container { flex: 1 1 calc(100% - 280px); }
#content p + #children-lists { margin-top: 75px; }
#children-lists, #children-lists ul { padding: 0 !important; }
#children-lists li:first-of-type h3.list-header { border: 0; padding-top: 0; }
.news-list li.list-item,
.events-list li.list-item,
.search-list li.list-item { padding-left: 0; min-height: 0; }
/*.single-support li.list-item { padding-left: 0; min-height: 0; border-top: 1px solid #D9D9D9; padding-top: 25px; }*/
.single-support li.list-item > img { display: block; }

.hide_image li.list-item { padding-left: 0; min-height: 0; border-top: 1px solid #D9D9D9; padding-top: 25px; }
.hide_image li.list-item > img { display: none; }

.single-support li.list-item > h4 { font-size: 18px; }
.search-list li.list-item { border-top: 1px solid #D9D9D9; padding-top: 30px; }
.search-list li.list-item > img { top: 30px; }


#content img.featured-image + p:first-of-type { font-size: 145%; line-height: 160%; font-weight: bold; }

#content.faq h4 { cursor: pointer; margin-bottom: 15px; padding-left: 45px; position: relative; line-height: 35px; }
#content.faq h4:before { content: ""; display: block; background: #006ab5 url('images/gfx.png?v=2') -70px 0px; width: 35px; height: 35px; position: absolute; left: 0; top: 0; transition: background-color .1s cubic-bezier(0.390, 0.575, 0.565, 1.000); }
#content.faq h4.chosen:before { background-position: -245px 0px; background-color: #005996; }
#content.faq p { margin-bottom: 0px; padding-left: 45px; }
#content.faq.ready h4 + p { overflow: hidden; transition: max-height .3s cubic-bezier(0.390, 0.575, 0.565, 1.000); }
#content.faq.ready h4.chosen + p { margin-bottom: 25px; }
#content.faq.ready h4:not(.chosen) + p { max-height: 0px !important; }
.no-touch #content.faq.ready h4:hover { color: #006AB5; }

#map { width: 715px; height: 400px; margin-bottom: 30px; }

form input, form select, form div.select, form textarea { background: #ECECEC; height: 35px; display: inline-block; vertical-align: top; padding: 0 12px; margin: 0 0 15px 0; }
form div.select { padding: 0; overflow: hidden; position: relative; }
form div.select i { display: block; width: 35px; height: 35px; position: absolute; right: 0; top: 0; background:url('images/gfx.png?v=2') -175px -35px; pointer-events: none; }
form div.select select { position: absolute; right: -30px; left: 0; top: 0; bottom: 0; width: 107%; padding: 9px; }
form div.select select:focus + i { background-position: -210px -35px; }
form button.more-button, form input[type=submit] { height: 35px; padding-left: 0; padding-right: 25px; cursor: pointer; }
form button.more-button:before { right: 0; top: 0; left: auto; background-position: -105px 0; height: 35px; width: 35px; }
.no-touch form button.more-button:hover:before { left: auto; background-position: -105px 0; }

#contact-form { margin: 30px 0; }
#contact-form #contact-firstname { width: 350px; margin-right: 15px; }
#contact-form #contact-lastname { width: 350px; }
#contact-form #contact-country { width: 350px; margin-right: 15px; }
#contact-form #contact-subject { width: 350px; }
#contact-form #contact-email { width: 100%; }
#contact-form label { width: 135px; display: inline-block; line-height: 35px; }
#contact-form div.select { width: 100%; }
#contact-form textarea { width: 100%; height: 120px; line-height: 25px; padding: 10px 15px; }
#contact-form *.warn { outline: 1px solid #006BB6; }
.contact-form[data-state="sending"] button, .contact-form[data-state="sent"] button { background: #d9d9d9 !important; pointer-events: none; text-indent: 120%; overflow: hidden; }
.contact-form[data-state="sending"] button:after, .contact-form[data-state="sent"] button:after { text-indent: 0; position: absolute; left: 0; width: 100%; top: 0; line-height: 35px; }
.contact-form[data-state="sending"] button:after { content: "Sending..."; }
.contact-form[data-state="sent"] button:after { content: "Sent!"; }

#membership-form { border-top: 1px solid #D9D9D9; padding-top: 30px; }
#membership-form h3 { margin-top: 25px; }
#membership-form h4 { display: block; margin: 5px 0 10px 0; }
#membership-form input { width: 350px; margin-right: 15px; }
#membership-form input:nth-of-type(even) { margin-right: 0; }
#membership-form input.long { width: 100%; margin-right: 0; }
span.price { color: #006AB5; font-size: 17px; }

#booking-form, .custom_form { font-size: 0; margin-bottom: 0; }
#booking-form {display:none;}
#booking-form input, #booking-form select, #booking-form label { font-size: 15px; }
.custom_form input, .custom_form select, .custom_form label { font-size: 15px; }
#booking-form label { line-height: 35px; margin-right: 10px; }
.custom_formlabel { line-height: 35px; margin-right: 10px; }
#booking-form .select { width: 70px; position: relative; }
.custom_form .select { width: 70px; position: relative; }
#booking-form input { width: 350px; }
.custom_forminput { width: 350px; }
#booking-form input:nth-of-type(odd) { margin-right: 15px; }
.custom_form input:nth-of-type(odd) { margin-right: 15px; }
#booking-form select { width: 122px; }
#booking-form small { font-size: 11px; color: #aaa; line-height: 35px; margin-left: 10px; }
#booking-form div.additional p { color: #aaa; font-size: 12px; margin-bottom: 15px; }
#booking-form + div.entry-content { padding-top: 25px; border-top: 1px solid #D9D9D9; }


.custom_form p{clear:both;}


div.wpcf7-response-output {
 padding:20px !important;
 margin: 0 !important;
 clear:both;

}

.custom_form .wpcf7-form-control-wrap {
 width:50%;
 display:block;
 float:left;
 padding-right:8px;
}

.custom_form label + .wpcf7-form-control-wrap {
 padding-right:0;
}

.custom_form .auto_width .wpcf7-form-control-wrap {
 width:auto;
 display:inline-block;
 vertical-align:middle;
}

.custom_form .auto_width {
 width:50%;
 float:left;
 padding-right:8px;
}

.custom_form .width100 {
 width:100%;
 float:left;
 clear:both;
 padding-right:0;
}

.custom_form .width100 textarea{min-height:150px; padding:10px; font-size:15px;}
.custom_form .width100 .wpcf7-form-control-wrap {
 width:100%;
 padding:0;
}

.custom_form input[type=submit] {
 width:calc(50% - 8px);
 margin-left:0;
 margin-right:0 !important;
}

.custom_form input[type=submit]:disabled {
 opacity:0.25;
}

.custom_form .wpcf7-form-control-wrap>*{
 width:100%;
}
.custom_form .wpcf7-form-control-wrap select {
  background: #ECECEC url(images/down-arrow.png) no-repeat 97% 12px;
}

.custom_form .wpcf7-form-control-wrap:nth-of-type(even) {
 padding-right:0;
 padding-left:8px;
}

.custom_form .wpcf7-form-control-wrap:nth-of-type(even):after {
 content:'';
 clear:both;
 display:table;
 width:100%;
 height:1px;
}

.wpcf7-form-control-wrap.date, .wpcf7-form-control-wrap.menu-759 {
 position: relative;
}
.wpcf7-form-control-wrap.date:after {
 content: '';
 position:absolute;
 top:0;
 right:8px;
 display:block;
 width:34px;
 height:35px;
 background:#ECECEC url(images/time.png) no-repeat center;
 background-size: 16px;
 pointer-events: none;
}

.wpcf7-form-control-wrap.menu-759:before,
.wpcf7-form-control-wrap.preferred-time:before,
.wpcf7-form-control-wrap.Second-time:before,
.wpcf7-form-control-wrap.event-type:before
{
 content: '';
 position:absolute;
 top:0;
 right:8px;
 display:block;
 width:36px;
 height:35px;
 background:#ECECEC url(images/down-arrow.png) no-repeat center;
 background-size: 15px 10px;
 pointer-events: none;
}

.wpcf7-form-control-wrap.preferred-time:before,
.wpcf7-form-control-wrap.event-type:before,
.wpcf7-form-control-wrap.Second-time:before {
 right: 0;
}

div.pagination { border-top: 1px solid #C2D9EB; text-align: center; font-size: 0; }
div.pagination:empty { border: 0; }
div.pagination .page-numbers { padding: 0 10px; line-height: 50px; display: inline-block; font-size: 15px; height: 50px; vertical-align: top; position: relative; min-width: 35px; }
.no-touch div.pagination .page-numbers:hover { background: #006AB5; color: #fff; }
div.pagination .current { border-top: 2px solid #000 !important; cursor: default; margin-top: -2px; pointer-events: none; }
div.pagination .prev,
div.pagination .next { text-indent: 200px; width: 35px; overflow: hidden; }
div.pagination .prev:before,
div.pagination .next:before { content: ""; display: block; background: url("images/gfx.png?v=2"); width: 35px; height: 35px; position: absolute; left: 0; top: 10px; transition: background-color .1s cubic-bezier(0.390, 0.575, 0.565, 1.000); }
div.pagination .prev:before { background-position: -280px -35px; }
div.pagination .next:before { background-position: -105px -35px; }
.no-touch div.pagination .prev:hover:before { background-position: -280px -0px; }
.no-touch div.pagination .next:hover:before { background-position: -105px -0px; }

#not-found { text-align: center; }
#not-found h2 { line-height: 28px; white-space: nowrap; font-size: 32px; color: #006AB5; padding-top: 150px; }
#not-found h2:before { content:"!"; font-size: 50px; border-radius: 50%; width: 90px; height: 90px; color: #fff; background: #CBCBCB; display: block; line-height: 90px; position: relative; margin: 0 auto 30px; }
#not-found h2 b { color: #aaa; }
#not-found hr { width: 40px; margin: 15px auto 10px; }
#not-found h3 { padding-bottom: 200px; }

#thankyou { position: fixed; left: 0; top: 100%; width: 100%; height: 100%; background: #fff; z-index: 20; -webkit-backface-visibility: hidden; transform: translate3d(0,0%,0); transition: transform .4s cubic-bezier(0.390, 0.575, 0.565, 1.000); }
#thankyou > div { position: absolute; left: 50%; top: 50%; background: #fff; text-align: center; padding: 50px 100px 30px; width: 460px; height: 200px; margin: -100px -230px; }
#thankyou hr { margin: 0; }
#thankyou p { margin: 25px 0 10px; text-align: center; font-size: 16px; }
#thankyou.shown { transform: translate3d(0,-100%,0); }

#footer > div { border-top: 1px solid #c2d9eb; }

#follow { padding: 30px 0; }
#follow a { float: left; line-height: 35px; padding-left: 44px; margin-right: 30px; }
#follow a:before { background-color: #006ab5; }
.no-touch #follow a:hover:before, .touch #follow a:active:before { background-color: transparent; }
#follow a.fb:before { background-position: 0 0; }
.no-touch #follow a.fb:hover:before, .touch #follow a.fb:active:before { background-position: 0 -35px; }
#follow a.twitter:before { background-position: -35px 0; }
.no-touch #follow a.twitter:hover:before, .touch #follow a.twitter:active:before { background-position: -35px -35px; }

#newsletter-wrap { float: right; overflow: hidden; height: 35px; }
#newsletter, #newsletter + button { background: #ececec; height: 35px; width: 310px; display: inline-block; vertical-align: top; }
#newsletter { padding: 12px; color: #000; }
#newsletter + button { width: 35px; cursor: pointer; }
#newsletter + button:before { background-position: -105px -35px; }
.no-touch #newsletter + button:hover, .touch #newsletter + button:active { background-color: #006ab5; }
.no-touch #newsletter + button:hover:before, .touch #newsletter + button:active:before { background-position: -105px 0px; }
#newsletter-wrap label { line-height: 35px; cursor: default; margin-right: 15px; color: #006ab5; }

#sitemap { padding: 50px 45px; line-height: 25px; font-size: 12px; }
#sitemap a:hover, #sitemap a:active { text-decoration: underline; }
#sitemap > ul > li { max-width: 230px; padding-right: 26px; min-width: 140px; }
#sitemap > ul > li:last-of-type { padding-right: 0px; min-width: 0; }
#sitemap > ul > li li a { margin-left: 4px; }
#sitemap > ul > li li:before { content:"\00b7"; }

#logos { padding: 30px 0; -webkit-transform: translateZ(0); }
#logos ul { white-space: nowrap; text-align: center; }
#logos ul li { display: inline-block; vertical-align: top; }
#logos ul li a { display: block; }

#colophon { text-align: center; font-size: 12px; color: #006ab5; vertical-align: top; height: 77px; line-height: 77px; }
#colophon span { width: 1px; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEUlEQVQIW2NkAALG/Tdf/QcACHMDhA+A73UAAAAASUVORK5CYII=') repeat-y; height: 15px; margin: -2px 16px; }
#colophon a:hover { text-decoration: underline; }

.alignright { float: right; margin-left: 30px; }
.alignleft { float: left; margin-right: 30px; }


/* ==========================================================================
  Media Queries
  ========================================================================== */

@media only screen and (max-width: 1010px) {
  /*.wrap { width: 98%; }*/
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
    /* Retina-specific stuff here */
}

@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {

}

/* ==========================================================================
  Helper classes
  ========================================================================== */

.ir { background-color: transparent; border: 0; overflow: hidden; *text-indent: 100%; }
.ir:before { content: ""; display: block; width: 0; height: 150%; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* ==========================================================================
  Print styles
  ========================================================================== */

@media print {
 * { 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) ")"; }
 .ir a:after, a[href^="javascript:"]:after, a[href^="#"]: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; }
 @page { margin: 0.5cm; }
 p, h2, h3 { orphans: 3; widows: 3; }
 h2, h3 { page-break-after: avoid; }
}
