/*
Theme Name: Squash Northland
Author: Big Fish Creative
*/

/* ----------------------------------------------------------------
    RESET
-----------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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,
field set, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, fig caption, footer, header, group, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, fig caption, figure, main,
footer, header, group, menu, nav, section { display: block; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: #fff; }
body { line-height: 1; }
ul { list-style: none; }
blockquote, q { quotes: none; }
block quote:before, block quote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
:focus { outline: 0;}
[hidden] { display: none; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
input[type="text"],
input[type="email"],
input[type="password"],
textarea { -webkit-appearance: none; -webkit-border-radius: 0; border-radius: 0; }
input[type="submit"],
input[type="reset"] { -webkit-appearance: none; }
.input-block-level { display: block; width: 100% !important; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix { display: inline-block; *zoom:1;}
* html .clearfix { height: 1%;} /* Hides from IE-mac \*/
.clearfix { display: block;}

/* ----------------------------------------------------------------
    REPEATABLE PATTERNS
-----------------------------------------------------------------*/

::selection { background: #7ca3dc; color: #fff; }
::-moz-selection { background: #7ca3dc; /* Firefox */ color: #fff; }
::-webkit-selection { background: #7ca3dc; /* Safari */ color: #fff; }
::-webkit-input-placeholder { color: #6b6b6b; text-transform: uppercase; font-weight: 400; font-size: 18px; line-height: 26px; }
:-moz-placeholder { /* Firefox 18- */ color: #6b6b6b; text-transform: uppercase; font-weight: 400; font-size: 18px; line-height: 26px; }
::-moz-placeholder { /* Firefox 19+ */ color: #6b6b6b; text-transform: uppercase; font-weight: 400; font-size: 18px; line-height: 26px; }
:-ms-input-placeholder { color: #6b6b6b; text-transform: uppercase; font-weight: 400; font-size: 18px; line-height: 26px; }

html { background: #000; }
body { background: #fff; }

/* TABLES */

th, td { text-align: left; border-top: 1px solid #bababa; }
th { padding: 8px 12px 8px 0; font-weight: 500; }
td { padding: 8px 12px; }

.dark-bg { background: #000; color: #fff; }
.dark-bg h3 { color: #fff; }
 
/* FORMS */

form p { margin-bottom: 12px; }
fieldset { border: 1px solid #bababa; padding: 15px 20px 20px 20px; width: auto; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; }
label { display: inline-block; padding-bottom: 6px; cursor: pointer; font-size: 16px; line-height: 18px; font-weight: 600; }
label span, small span { color: #7ca3dc; font-size: 14px; }
input, select, textarea { font-family: 'Titillium Web', sans-serif; font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {  display: block; padding: 8px 15px;  margin: 0 0 5px 0; outline: 0; font-size: 16px; line-height: 20px; width: 92%; }
input[type="text"], input[type="email"], input[type="password"], textarea { -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; color: #f38f17; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; background: #fcfcfc; border: 1px solid #bababa; color: #bababa; }
input.wpcf7-not-valid, textarea.wpcf7-not-valid { border-color: red; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus { background: #f1f7ff; border-color: #7ca3dc; color: #7ca3dc; }
input[type="submit"] { font-family: 'Titillium Web', sans-serif; border: none; outline: none; margin-top: 5px; }
input[type="submit"]:hover, input[type="submit"]:active { background: #639143; color: #fff; }
input#contact-captcha { width: 55px; }
div.wpcf7-response-output { margin: 2em 0 1em 0 !important; padding: 10px 15px !important; border-width: 1px !important; background: #fffef0 !important; font-size: 16px !important; color: #656565 !important; line-height: 20px; }
div.wpcf7-validation-errors { border: 1px solid #ff0000 !important; background: #ffe7e7 !important; color: red !important; text-shadow: none; }
span.wpcf7-not-valid-tip { font-size: 12px !important; font-style: italic; width: 180px !important; padding: 3px 8px; color: red !important; text-shadow: none; font-weight: 400; }
div.wpcf7-mail-sent-ok { background: #f1ffeb !important; color: #398F14 !important; }

/* LISTS */

ul, ol, dl { margin-left: 20px; }
ul { list-style: disc; }
ol { list-style: decimal; }
ul, ol { padding: 0 0 0 10px; }
ul li, ol li { margin-bottom: 15px; }
.list-reset { margin: 0; padding: 0; list-style: none; }
.clear { height: 1px; background: transparent; width: 100%; clear: both; }

/* IMAGES */

img { width:auto; max-width: 100%; height: auto; }
.cover { position: relative; background-repeat: no-repeat; background-position: 50% 50%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; -webkit-backface-visibility: hidden; overflow: hidden; }
.rounded { -webkit-border-radius: 500px; -moz-border-radius: 500px; border-radius: 500px; }
.bordered { border: 2px solid #fff; -webkit-transition: border 0.3s ease-in-out; -moz-transition: border 0.3s ease-in-out; -o-transition: border 0.3s ease-in-out; transition: border 0.3s ease-in-out; }

/* BUTTONS */

.button, input[type="submit"] { background: #7ca3dc; color: #000; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; padding: 10px 30px; text-transform: uppercase; font-size: 18px; line-height: 22px; font-weight: 600; display: inline-block; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; cursor: pointer; outline: none; border: none; }
.button:hover, .button:active, input[type="submit"]:hover, input[type="submit"]:active { background: #19212c; color: #fff; }
.button.inverse { background: #fff; color: #000; }
.button.inverse:hover, .button.inverse:active { background: #7ca3dc; color: #fff; }
.facebook-link { display: block; width: 45px; height: 45px; position: absolute; background: url(gfx/icon-fb.png) no-repeat 0 0; text-indent: -5000px; }
.facebook-link:hover { background-position: 0 -45px; }

/* TEASERS */

.teaser-list { padding-top: 20px; }
.teaser-list li:last-child .teaser { border-bottom: none; }
.teaser { overflow: hidden; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #7ca3dc; }
.teaser .col-one-fourth, .teaser .col-three-fourth { margin-bottom: 0; }
.teaser-image a { width: 96%; padding: 2%; background: #fff; line-height: 0; display: block; -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; -o-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
.teaser-image img { min-height: 128px; }
.teaser-image a:hover { opacity: 0.6; }
.teaser-text h3 { margin-bottom: 10px; }
.teaser-text h5 { margin-bottom: 15px; color: #000; }
.teaser-text p { margin-bottom: 15px; }

/* FEATURES */

.feature-item { float: left; position: relative; margin-bottom: 0; -webkit-border-radius: 500px; -moz-border-radius: 500px; border-radius: 500px; overflow: hidden; }
.feature-item.col-one-third { margin-bottom: 0; }
.feature-item .feature-image { overflow: hidden; position: relative; }
.feature-item .feature-image a { display: block; }
.feature-item .feature-image img { display: block; position: relative; width: 100%; height: auto; }

.feature-overlay { display: none; }
.feature-overlay-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; background: #000; background: rgba(0,0,0,0.6); }
.feature-title { position: absolute; top: 40%; left: 0; width: 100%; padding: 12px 0; background: #000; background: rgba(0,0,0,0.6); margin-bottom: 0; color: #fff; }
.feature-text { position: absolute; top: 20%; left: 8%; width: 84%; color: #fff; }
.feature-text h2 { margin-bottom: 10px; }
.feature-text p { font-size: 16px; line-height: 20px; }
.feature-text a.button:hover { background: #fff; color: #000; }

/* GOOGLE MAPS */

.google-map { margin-bottom: 40px; }
.google-map img { max-width: none; }

/* SINGLE NAV */

#nav-single { padding-top: 25px; clear: both; width: 100%; }
#nav-single li { width: 33.33%; float: left; font-size: 16px; line-height: 22px; font-weight: 600; text-transform: uppercase; }
#nav-single li#tab-prev { text-align: left; }
#nav-single li#tab-all { text-align: center; }
#nav-single li#tab-next { text-align: right; }
#nav-single a { display: inline-block; outline: none; }
#nav-single li#tab-prev a { padding: 15px 20px 15px 0; }
#nav-single li#tab-all a { padding: 15px 20px; }
#nav-single li#tab-next a { padding: 15px 0 15px 20px; }

/* ----------------------------------------------------------------
    TYPOGRAPHY
-----------------------------------------------------------------*/

body { font-family: 'Titillium Web', sans-serif; color: #000000; font-size: 17px; line-height: 25px; font-weight: 400; }

p, ul, ol, blockquote, table, fieldset, form { margin-bottom: 20px; }

.kicker { font-size: 24px; line-height: 30px; font-weight: 600; }

strong { font-weight: bold; }
em, cite { font-style: italic; }
small { font-size: 13px; font-style: italic; }
caption { text-align: left; }

.centered { text-align: center;}
.upper { text-transform: uppercase; }

/* HEADINGS */

h1, h2, h3, h4, h5, h6 { font-family: 'Titillium Web', sans-serif; font-weight: 600; color: #7ca3dc; margin-bottom: 15px; }
h1 { font-size: 42px; line-height: 44px; margin-bottom: 20px; }
h2 { font-size: 32px; line-height: 36px; }
h3 { font-size: 28px; line-height: 32px; }
h4 { font-size: 24px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 16px; line-height: 20px; }
.section-heading { clear: both;  overflow: hidden; background: url(gfx/bg-section-heading.gif) repeat-x center left; width: 100%; margin-bottom: 12px; padding-bottom: 3px; }
.section-heading h2 { margin: 0; padding: 0 15px 0 0; background: #fff; display: inline; width: auto; color: #000; text-transform: uppercase; }
h2.tribe-events-page-title { font-size: 42px; line-height: 44px; margin-bottom: 20px; font-weight: 600; }

/* LINKS */

a { text-decoration: none; color: #7ca3dc; -webkit-transition: color 0.15s ease-in-out; -moz-transition: color 0.15s ease-in-out; -o-transition: color 0.15s ease-in-out; transition: color 0.15s ease-in-out; }
a:hover, a:active { color: #d22333; }
.read-more { display: inline-block; padding: 5px 15px 5px 0; }

/* ----------------------------------------------------------------
    STRUCTURE
-----------------------------------------------------------------*/

.container { width: 960px; margin: 0 auto; position: relative; }
.inset { padding: 20px; }
.align-left { float: left; }
.align-right { float: right; }

.col-full { width: 100%; }
.col-half { width: 48%; }
.col-one-third { width: 30.63%; }
.col-two-third { width: 65.33%; }
.col-one-fourth { width: 22%; }
.col-three-fourth { width: 74%; }
.col-one-fifth { width: 16.8%; }
.col-two-fifth { width: 37.6%; }
.col-three-fifth { width: 58.4%; }
.col-four-fifth { width: 79.2%; }
.col-one-sixth { width: 13.33%; }
.col-five-sixth { width: 82.67%; }

.col-full, .col-half, .col-one-third, .col-two-third, .col-three-fourth, .col-one-fourth, .col-one-fifth, .col-two-fifth, .col-three-fifth, .col-four-fifth, .col-one-sixth, .col-five-sixth { display: block; position: relative; margin-right: 4%; margin-bottom: 50px; float: left; }

.col-full { clear: both; float: none; margin-right: 0; }
.col-last { margin-right: 0; clear: right; }

/* ----------------------------------------------------------------
    MASTHEAD
-----------------------------------------------------------------*/

#masthead-wrapper { position: relative; width: 100%; z-index: 1000; background: #fff; }
	
	#masthead { background: #fff; line-height: 0; }
	#masthead div { margin-bottom: 0; }
	
	/* LOGO */
	
	#logo { z-index: 100000; }
	#logo a { padding: 12px 0; display: block; }
	#logo a.retina-logo { display: none; }
	
	/* STRAPLINE */
	
	#masthead-strapline { margin-top: 25px; }
	#masthead-strapline img { width: 60%; height: 60%; }
	
	/* MAIN NAV */
	
	#responsive-nav { display: none; }
	#main-nav-wrapper { background: #000; }
	#menu-main-navigation { z-index: 999999; list-style: none; float: left; margin: 0; padding: 0; }
	#menu-main-navigation li { float: left; margin: 0; position: relative; background: url(gfx/bg-nav-dot.gif) no-repeat center right; }
	#menu-main-navigation li#menu-item-36 { background-image: none; }
	#menu-main-navigation li > a { color: #fff; display: block; font-size: 17px; line-height: 23px; padding: 15px 18px 15px 13px; -webkit-transition: none; -moz-transition: none; -o-transition: none; transition: none; }
	#menu-main-navigation li:hover a, #menu-main-navigation li.current-menu-item a, #menu-main-navigation li.current-menu-parent a, .single-post #menu-main-navigation li#menu-item-43 a, .category #menu-main-navigation li#menu-item-43 a, .single-gallery #menu-main-navigation li#menu-item-41 a, .events-archive #menu-main-navigation li#menu-item-37 a { color: #7ca3dc;  }
	#menu-main-navigation ul.sub-menu { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; margin: 0; list-style: none; padding: 0; position: absolute; top: 52px; left: 0; width: 194px; z-index: 999999; border: 1px solid #ddd; border-top: none; }
	#menu-main-navigation ul.sub-menu li { margin: 0; border: none; }
	#menu-main-navigation ul.sub-menu a { background: #fff; border-top: 1px solid #ddd; color: #333333; font-size: 16px; line-height: 20px; font-weight: normal; height: auto; padding: 12px 15px; width: 164px; text-transform: none; text-shadow: none; }
	#menu-main-navigation li:hover ul.sub-menu a:hover, #menu-main-navigation li:hover ul.sub-menu li.current-menu-item > a, #menu-main-navigation li:hover ul.sub-menu li.current-menu-parent > a { background: #7ca3dc; color: #fff !important; }
	#menu-main-navigation li:hover > ul { display: block; }
	
	/* GLOBAL SEARCH */
	
	.search-form { margin-bottom: 0; position: relative; z-index: 2000; }
	.search-form input[type="search"] { background: #fff url(gfx/icon-search.png) no-repeat 10px center; border: 1px solid #fff; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; padding: 3px 8px 3px 30px; color: #000; font-size: 16px; line-height: 24px; margin: 10px 0 0 0; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; -webkit-appearance: none; max-width: 150px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.search-form input[type="search"]:focus { background-color: #f1f7ff; border-color: #7ca3dc; }
	.search-form .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; }

	/* SLIDER */
	
	#home-slider { position: relative; overflow: hidden; height: 100%; }
	#home-slider img { width: 100%; }
	#home-slider .bx-wrapper { position: relative; }
	#home-slider .bx-controls-direction { position: absolute; bottom: 55%; z-index: 9999; width: 100%; }
	#home-slider .bx-controls-direction a { display: block; width: 40px; height: 40px; background-repeat: no-repeat; background-position: 0 0; text-indent: -5000px; position: absolute; }
	#home-slider .bx-controls-direction a:hover { background-position: 0 -40px; }
	#home-slider .bx-prev { background-image: url(gfx/sprite-btn-prev.png); left: 40px; }
	#home-slider .bx-next { background-image: url(gfx/sprite-btn-next.png); right: 40px; }
	#home-slider li { margin-bottom: 0; line-height: 0; }
	#home-slider .slide-border { background-image: url(gfx/overlay-slider.png); height: 30%; width: 100%; display: block; position: absolute; bottom: 0; }
	.slide-overlay { position: absolute; bottom: 15%; left: 0; z-index: 10000; background: #000; background: rgba(0,0,0,0.6); padding: 10px 30px; }
	.slide-overlay h4 { display: inline-block; margin-right: 20px; }
	
/* ----------------------------------------------------------------
    LEFT SIDEBAR
-----------------------------------------------------------------*/

#sidebar-left-sticky-wrapper { width: 25%; }
#sidebar-left-sticky-wrapper.is-sticky #sidebar-left.col-one-fourth { width: 240px !important; }
#sidebar-left.col-one-fourth { width: 100%; }
	
	#subnav { background: #000; padding: 16px; }
	#subnav h2 { color: #fff; }
	#subnav ul { margin-bottom: 0; }
	#subnav li { margin: 0; border-top: 1px solid #fff; }
	#subnav li:first-child { border-top: none; }
	#subnav a { display: block; padding: 12px 15px 12px 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; color: #fff; }
	#subnav a:hover, #subnav li.current_page_item a, #subnav li.current-menu-parent > a, #subnav li.current-menu-ancestor > a, #subnav li.current-cat a, .single-honours #subnav li.page-item-114 a { color: #7ca3dc; }
	#subnav li.current_page_item a, #subnav li.current-menu-parent > a, #subnav li.current-menu-ancestor > a, #subnav li.current-cat a, .single-honours #subnav li.page-item-114 a { padding-left: 13px; background: url(gfx/bg-subnav-dot.gif) no-repeat left 22px; font-weight: 600; }

/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/

#main-content-wrapper { width: 100%; clear: both; padding: 0; position: relative; z-index: 500; }

	#main-content { padding: 30px 0 50px 0; position: relative; z-index: 10; overflow: hidden; }
	.home #main-content { padding-top: 0; }
	
	#content.col-three-fourth { float: right; width: 71%; }
	
	/* HOME */
	
	.home h1 { font-size: 50px; line-height: 52px; }
	.home .kicker { width: 80%; margin: 0 auto 20px auto; }
	
	#home-features { padding: 20px 0; }
	
	#home-col-left, #home-col-right { width: 48.5%; }
	#home-latest-news, #home-upcoming-events, #home-fb-feed { padding: 15px; overflow: hidden; }
	
	#home-latest-news { background: #000 url(gfx/bg-black-angle.png) no-repeat top center; margin-top: 55px; padding-top: 95px; }
	#home-latest-news-list { padding-top: 5px; }
	#home-latest-news-list li { overflow: hidden; border-bottom: 1px solid #fff; }
	#home-latest-news-list li:last-child { border-bottom: none; }
	.home-latest-news-item.teaser { margin-bottom: 15px; padding-bottom: 10px; }
	.home-latest-news-item div { margin-bottom: 0; }
	.home-latest-news-item .teaser-text h4 { margin-bottom: 0; }
	.home-latest-news-item .teaser-text h4 a { color: #fff; }
	.home-latest-news-item .teaser-text h6 { margin-bottom: 8px; }
	.home-latest-news-item .teaser-text p { font-size: 16px; line-height: 20px; margin-bottom: 0; }
	
	#home-upcoming-events { margin-bottom: 30px; background: #000 url(gfx/bg-black-angle.png) no-repeat top center; padding-top: 95px; }
	#home-upcoming-event-list { padding: 10px 0; }
	.home-upcoming-event { width: 100%; clear: both; overflow: hidden; }
	.home-upcoming-event h4 { margin-bottom: 0; }
	.home-upcoming-event h4 a { color: #fff; }
	.home-upcoming-event h4 a span { font-weight: 400; color: #7ca3dc; font-size: 20px; }
	.upcoming-event-date { width: 47px; margin-right: 12px; padding-top: 5px; }
	.upcoming-event-date span { display: block; font-family: Helvetica, Arial, sans-serif; }
	.upcoming-event-month { height: 18px; font-size: 11px; line-height: 20px; color: #fff; background: url(gfx/bg-cal-month.png) no-repeat scroll 0 0; display: block; }
	.upcoming-event-day { height: 29px; font-size: 23px; line-height: 31px; color: #000; background: url(gfx/bg-cal-day.png) no-repeat scroll 0 0; font-weight: bold; }
	.upcoming-event-meta { width: 375px; }
		
	#home-fb-feed { position: relative; overflow: hidden; }
	#home-fb-feed h3 { padding-top: 12px; }
	#home-fb-feed .facebook-link { top: 15px; right: 15px; }
	#home-fb-feed #fb-wrapper { background: #fff; }
	
	/* CLUBS */
	
	#club-map { height: 400px; }
	.info-window { text-align: left; }
	.info-window .button { font-size: 14px; line-height: 20px; padding:  6px 20px; }
	
	.club { text-align: left; overflow: hidden; margin-bottom: 4%; min-height: 250px; }
	.club .button:hover, .club .button:active { background: #fff; color: #000; }
	
	#club-details ul { overflow: hidden; border-top: 1px solid #333333; padding: 15px 0 10px 0; }
	#club-details li { margin: 0 0 5px 30px; }
	#club-details li.contact-website { margin-bottom: 10px; }
	#club-details .fa-li { color: #fff; }
	#club-details li.contact-name { margin-left: 0; }
	#club-details li.contact-phone .fa-li { font-size: 18px; }
	#club-details li.contact-email .fa-li { font-size: 15px; left: -2.3em; }
	#club-details li.contact-address .fa-li { font-size: 20px; left: -2em; }
	#club-details li.contact-address p { margin-bottom: 0; }
	#club-details li.contact-map, #club-details li.contact-map i { padding-top: 10px; }
	#club-details li.contact-map .button { padding: 8px 15px; font-size: 16px; line-height: 20px; font-weight: 600; }
	#club-details li.contact-map .button:hover { background: #fff; color: #000; }
	
	/* MODALS */
	
	.modal-dialog { width: 440px; }
	.modal-open { overflow: hidden; }
	.modal { display: none; overflow: hidden;  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; -webkit-overflow-scrolling: touch; outline: 0; }
	.modal.fade .modal-dialog { -webkit-transform: translate3d(0, -25%, 0); transform: translate3d(0, -25%, 0); -webkit-transition: -webkit-transform 0.3s ease-out; -moz-transition: -moz-transform 0.3s ease-out; -o-transition: -o-transform 0.3s ease-out; transition: transform 0.3s ease-out; }
	.modal.in .modal-dialog { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
	.modal-open .modal { overflow-x: hidden; overflow-y: auto; }
	.modal-dialog { position: relative; margin: 2% auto 0 auto; }
	.modal-content { position: relative; background-color: #000; border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); background-clip: padding-box; outline: 0; }
	.modal-content iframe { margin-bottom: 0; }
	.modal-content .close { position: absolute; top: 10px; right: 10px; outline: none; display: block; width: 25px; height: 25px; border: none; cursor: pointer; background: #7CA3DC; }
	.modal-content .close span { display: block; width: 25px; height: 25px; padding: 0; position: absolute; top: 0; left: 0; }
	.modal-content .close .fa-times-circle { font-size: 25px; line-height: 25px; color: #000; }
	.modal-content .close .sr-only { text-indent: -5000px; display: block; }
	.modal-content .close:hover .fa-times-circle { color: #fff; }
	.modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000; }
	.modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); }
	.modal-backdrop.in { opacity: 0.8; filter: alpha(opacity=80); }
	.modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; min-height: 16.42857143px; background: #7CA3DC; -webkit-border-top-left-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topleft: 8px; -moz-border-radius-topright: 8px; border-top-left-radius: 8px; border-top-right-radius: 8px; }
	.modal-header h3 { width: 90%; margin-bottom: 0; color: #000; }
	.modal-title { margin: 0; line-height: 1.42857143; }
	.modal-body { position: relative; padding: 25px 15px 10px 15px; }
	.modal-body input[type="text"], .modal-body input[type="email"], .modal-body textarea { width: 93%; }
	.modal-body textarea { margin-bottom: 5px; }
	.modal-body .form-note { font-size: 14px; line-height: 18px; display: block; color: #fff; }
	.modal-footer { background: #7CA3DC; padding: 15px; text-align: right; border-top: 1px solid #e5e5e5; position: relative; min-height: 15px; -webkit-border-bottom-right-radius: 8px; -webkit-border-bottom-left-radius: 8px; -moz-border-radius-bottomright: 8px; -moz-border-radius-bottomleft: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; }
	.modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; }
	.modal-footer:before,
	.modal-footer:after { content: " "; display: table; }
	.modal-footer:after { clear: both; }
	
	/* EVENTS */
	
	.tribe-events-list-separator-month { display: block; width: 100%; clear: both; margin-bottom: 30px; }
	
	#tribe-bar-form { background: none; }
	.tribe-bar-date-filter { display: none; }
	.tribe-bar-disabled #tribe-bar-form #tribe-bar-views { left: 0; }
	.tribe-bar-disabled .tribe-bar-views-inner { padding: 5px; }
	#tribe-bar-views .tribe-bar-views-list { position: relative; }
	.tribe-events-list .type-tribe_events { border-bottom: 1px solid #aaa; }
	.tribe-events-list .type-tribe_events { padding-bottom: 20px; margin-bottom: 20px; }
	.tribe-events-list .tribe-events-event-image { display: none !important; }
	#tribe-events .tribe-events-ical, #tribe-events-footer~a.tribe-events-ical.tribe-events-button, #tribe-events .tribe-events-gcal { display: none; }
	.tribe-bar-is-disabled .tribe-events-page-title { margin-bottom: 15px; }
	#tribe-events-header .tribe-events-sub-nav { display: none; }
	.tribe-events-nav-previous a,
	.tribe-events-sub-nav li a, .tribe-events-read-more, .tribe-events-back a { display: inline-block; padding: 10px 15px; background: #7ca3dc; color: #000; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; margin-bottom: 0; font-size: 16px; line-height: 20px; font-weight: 600; text-transform: uppercase; }
	.tribe-events-sub-nav li a span { display: none !important; }
	.tribe-events-sub-nav li a:hover, .tribe-events-read-more:hover, .tribe-events-back a:hover { background: #000; color: #fff; }
	.tribe-events-sub-nav li a:visited { color: #000; }
	.tribe-events-tooltip .tribe-events-event-thumb { display: none; }
	.tribe-events-tooltip .tribe-events-abbr { display: inline !important; }
	.event { width: 46%; margin: 0 2% 40px 2%; }
	.event a.tribe-events-read-more:hover { background: #fff; color: #000; }
	.tribe-events-sub-nav li a:visited:hover { color: #fff; }
	.events-list #tribe-events-footer, .tribe-events-day #tribe-events-footer, .tribe-events-map #tribe-events-footer { padding-top: 30px; }
	
	/* NEWS */
	
	#post-header { margin-bottom: 25px; }
	#post-header h1 { margin-bottom: 8px; }
	#post-header h5 { color: #000; margin-bottom: 20px; }
	
	.wp-pagenavi { padding-top: 15px; margin-bottom: 20px; }
	.wp-pagenavi .pages { border: none; padding-left: 0; margin-left: 0; background: none; color: #000; display: inline-block; margin-bottom: 8px; }
	.wp-pagenavi a, .wp-pagenavi span { padding: 4px 8px; margin: 0 4px; background: #000; border: 1px solid #000; color: #fff; font-weight: 600; }
	.wp-pagenavi a:hover, .wp-pagenavi a:active, .wp-pagenavi span.current { background: #7ca3dc; border: 1px solid #7ca3dc; color: #000; }
	
	/* GALLERY */
	
	#gallery-list li,
	#image-list li { margin-bottom: 20px; }
	#gallery-list img,
	#image-list img { -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
	#gallery-list a:hover img,
	#image-list a:hover img { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; }
	
	/* REPRESENTATIVES */
	
	.teaser-honours { background: #000; min-height: 90px; display: table; width: 100%; -webkit-transition: background 0.2s ease-in-out; -moz-transition: background 0.2s ease-in-out; -o-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; }
	.teaser-honours h5 { display: table-cell; vertical-align: middle; }
	.teaser-honours:hover { background: #7ca3dc; }
	.teaser-honours:hover h5 { color: #000; }
	
	#accordion { border: 1px solid #c2c2c2; border-top: none; }
	#accordion h2 { margin: 0; padding: 12px 18px 12px 45px; }
	.ui-accordion h3, .ui-accordion h4 { margin: 0 0 10px 0; font-size: 20px; line-height: 24px; }
	.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; padding: 10px 10px 10px 20px; zoom: 1; border-top: 1px solid #c2c2c2; }
	.ui-accordion .ui-accordion-icons { padding-left: 45px; }
	.ui-accordion .ui-accordion-header-icon { position: absolute; left: 10px; top: 17px; width: 27px; height: 27px; }
	.ui-icon-triangle-1-e { background: url(gfx/sprite-accordion-more.png) no-repeat 0 0; }
	.ui-icon-triangle-1-s { background: url(gfx/sprite-accordion-less.png) no-repeat 0 0; }
	.ui-accordion h2:hover .ui-icon-triangle-1-e,
	.ui-accordion h2.ui-state-active:hover .ui-icon-triangle-1-s { background-position: 0 -27px; }
	.ui-accordion .ui-accordion-content { padding: 20px 10px 20px 45px; border-top: 0; overflow: auto; zoom: 1; height: auto; }
	
	/* CONTACT */
	
	#contact-map { height: 400px; }
	.grecaptcha-badge { display: none; }
	.page-id-22 .grecaptcha-badge { display: block; }
	.page-id-22 #back-to-top { display: none !important; }
	
	/* SEARCH */
	
	#search-title { margin-bottom: 10px; }
	#result-count { margin-bottom: 35px; color: #000; }
	#result-list { border-top: 1px solid #7ca3dc; }
	.result h3 { margin-bottom: 0; }
	.result-url { display: block; margin-bottom: 10px; font-style: italic; color: #7f7f7f; }
	
	/* 404 */
	
	#search-404 { overflow: hidden; }
	#search-404 .search-form.align-right { float: none; }
	#search-404 .search-form input[type="search"] { border-color: #000; }
	#search-404 .search-form input[type="search"]:focus { border-color: #7ca3dc; }
	
/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/

#global-footer div { overflow: hidden; }

	#footer-promos { background: #e5edf8; padding: 50px 0; }
	.footer-promo { overflow: hidden; line-height: 0; margin-bottom: 0; }
	.footer-promo a { display: block; }
	.footer-promo .footer-promo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; background: rgba(0,0,0,0.5); overflow: hidden; -webkit-transition: background 0.2s ease-in-out; -moz-transition: background 0.2s ease-in-out; -o-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; }
	.footer-promo a:hover .footer-promo-overlay { background: #7ca3dc; background: rgba(124,163,220,0.7); }
	.footer-promo-overlay div { display: table; width: 100%; height: 100%; text-align: center; }
	.footer-promo-overlay h4 { padding: 0 10px; color: #fff; -webkit-transition: color 0.2s ease-in-out; -moz-transition: color 0.2s ease-in-out; -o-transition: color 0.2s ease-in-out; transition: color 0.2s ease-in-out; display: table-cell; vertical-align: middle; }
	.footer-promo-overlay h4 img { width: 16px; padding-left: 5px; }
	
	#footer-contact { background: #19212c; color: #fff; padding: 45px 0; }
	#footer-contact img { margin-right: 30px; }
	#footer-contact li { margin-bottom: 4px; font-size: 16px; line-height: 20px; }
	#footer-contact li span { color: #7ca3dc; }
	#footer-contact li br { display: none; }
	#footer-contact .facebook-link { bottom: 0; right: 0; }
	
	#footer-sponsors { background: #000000; padding: 30px 0; }
	#footer-sponsors h4 { color: #fff; display: inline; }
	#footer-sponsor-list li { display: inline; margin: 0 0 10px 10px; float: right; line-height: 0; }
	
/* ----------------------------------------------------------------
    BACK TO TOP
-----------------------------------------------------------------*/

#back-to-top { display: none; z-index: 99999; position: fixed; width: 40px; height: 40px; top: auto; left: auto; right: 30px; bottom: 30px; cursor: pointer; background: url(gfx/sprite-btn-btt.png) no-repeat 0 0; }
#back-to-top:hover,
#back-to-top:active { background-position: 0 -40px; }
#back-to-top span { display: block; text-indent: -10000px; }