/*
Theme Name: Alderney Week
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alderney-week
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

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

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

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

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

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

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

input {
	line-height: normal;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
    margin: 0;
    padding: 0;
    line-height: 1em;
    font-weight: bold;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

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

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

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

div.wpcf7-response-output {
    margin: 0;
    padding: 15px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	border-radius: 0;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    padding: 12px 35px;
    background-color: #000;
    border: 3px solid #000;
    color: #9AC7BC;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
    -webkit-appearance: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color:  #9AC7BC;
    color: #000;
}

select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 2px solid #ccc;
	border-radius: 3px;
	padding: 5px;
    width: 100%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #75B3A4;
    text-decoration: underline;
}

a:hover {
	color: #F1C829;
    text-decoration: underline;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation {
	width: 100%;
    text-align: center;
}

ul#primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
    text-align: center;
}

.main-navigation li {
    list-style: none;
    display: inline-block;
    font-size: 1.375em;
    margin: 0 15px 0 0;
    padding: 0 15px 0 0;
    border-right: 1px solid #fff;
}

.main-navigation li:last-of-type {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.main-navigation a {
	display: block;
    color: #FDF7EB;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
    color: #fff;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.single li#menu-item-494 a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    color: #F1C728;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0;
}

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


/*--------------------------------------------------------
# Custom Typography Styles */

@font-face {
    font-family: 'la_belle_auroreregular';
    src: url('fonts/la-belle-aurore-webfont.eot');
    src: url('fonts/la-belle-aurore-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/la-belle-aurore-webfont.woff') format('woff2'),
         url('fonts/la-belle-aurore-webfont.woff') format('woff'),
         url('fonts/la-belle-aurore-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexa_rust_slabblack_shadow_01';
    src: url('fonts/NexaRustSlab-BlackShadow01-Free-webfont.eot');
    src: url('fonts/NexaRustSlab-BlackShadow01-Free-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/NexaRustSlab-BlackShadow01-Free-webfont.woff') format('woff2'),
         url('fonts/NexaRustSlab-BlackShadow01-Free-webfont.woff') format('woff'),
         url('fonts/NexaRustSlab-BlackShadow01-Free-webfont.ttf') format('truetype'),
         url('fonts/NexaRustSlab-BlackShadow01-Free-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}



main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
    font-family: 'nexa_rust_slabblack_shadow_01';  
    letter-spacing: 1px;
}

body,
button,
input,
select,
textarea {
    font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif;    
}


/*--------------------------------------------------------
# Page Header Section Styles */

#stripes {
    display: block;
    width: 100%;
    height: 7px;
    background: repeating-linear-gradient(
      -55deg,
      #FDF7EB,
      #FDF7EB 10px,
      #fff 10px,
      #fff 20px
    );    
}

header {
    background-color: #93C3B7;
    background-repeat: no-repeat;
    background-image: url(img/header-bg.jpg);
    background-position: center top;
    padding: 0 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

#bunting {
    float: left;
    width: 25%;
    height: 108px;
    background-position: left top;
    background-repeat: no-repeat;
    background-image: url(img/bunting.png);
    margin-top: -5px;
}

#logo {
    width: 50%;
    float: left;
    text-align: center;
    margin: 30px 0;
}

#social-media {
    float: right;
    width: 25%;
    max-width: 275px;
    margin-top: 20px;
}

#social-media ul {
    margin: 0;
    padding: 0;
    text-align: right;    
}

#social-media li {
    list-style: none;
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
}

#social-media li img {
    opacity: 0.5;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;      
}

#social-media li img:hover {
    opacity: 1;    
}

#social-media li:first-of-type {
    margin-left: 0;
}

nav#site-navigation {
    clear: both;
    width: 100%;
    display: block;
    background-color: #75B3A4;
    padding: 15px 0;
}


/*--------------------------------------------------------
# Misc Page Styles */

.center-content {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

#socials {
    width: 100%;
    display: block;
    clear: both;
    text-align: center;
    margin: 0 0 50px 0;
}

.error-404 {
    text-align: center;
    min-height: 400px;
    padding: 60px 0;
}


/*--------------------------------------------------------
# Home - Welcome Section Styles */

#welcome {
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 20px;
    background-color: #FDF7EB;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
    position: relative; 
    z-index: 1;
}

#welcome:after {
    content: '';
    display: block;
    clear: both;     
}

/*
#welcome h1 {
    display: block;
    width: 100%;    
    max-width: 600px;
    height: 125px;
    margin: 0 auto 30px auto;
    text-align: center;
    padding-top: 45px;
    color: #fff;
    font-size: 2.500em;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(http://www.alderneyweek.net/wp/wp-content/themes/alderney-week/img/banner-1.png);    
}*/

.ribbon {
     font-size: 36px !important;
 /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */

     width: 45%;
    max-width: 500px;
     position: relative;
     background: #9DC9BE;
     color: #fff;
     text-align: center;
     padding: 0.8em; /* Adjust to suit */
     margin: 0 auto 1.5em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
    
}

.ribbon:before, .ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -1em;
    border: 1.4em solid #88BDB1;
    z-index: -1;
}

.ribbon:before {
 left: -1.75em;
 border-right-width: 1.4em;
 border-left-color: transparent;
}

.ribbon:after {
 right: -1.75em;
 border-left-width: 1.4em;
 border-right-color: transparent;
}

.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
 content: "";
 position: absolute;
 display: block;
 border-style: solid;
 border-color: #66AA9B transparent transparent transparent;
 bottom: -1em;
}

.ribbon .ribbon-content:before {
 left: 0;
 border-width: 1em 0 0 1em;
}

.ribbon .ribbon-content:after {
 right: 0;
 border-width: 1em 1em 0 0;
}


#welcome p {
    font-size: 1.1em;
}

#welcome article {
    float: left;
    width: 64%;
}

#welcome aside {
    float: right;
    width: 32%;
    position: relative;
    margin-top: 20px;
}

#welcome aside img {
    max-width: 200px;
    border: 5px solid #fff;
    -webkit-box-shadow: 1.5px 1.5px 2.5px 3px #666;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    1.5px 1.5px 2.5px 3px #666;  /* Firefox 3.5 - 3.6 */
    box-shadow:         1.5px 1.5px 2.5px 3px #666;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5   */ 
}

.welcome-img-1 {
    position: absolute;
    top: 10px;
    left: 200px;
    transform: rotate(2deg);
}

.welcome-img-2 {
    position: absolute;
    top: 170px;
    left: 190px;    
    transform: rotate(2deg);
    z-index: 2;
}

.welcome-img-3 {
    position: absolute;
    top: 150px;
    left: 0px;    
    transform: rotate(1deg);
}

.welcome-img-4 {
    position: absolute;
    top: 10px;
    left: 0px;    
    transform: rotate(-1deg);
}


/*--------------------------------------------------------
# Home - Recent Photos Section Styles */

#gallery {
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 20px;
    background-color: #99C6BB;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;    
    text-align: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;   
    position: relative; 
    z-index: 1;    
}

/*
#gallery h2 {
    display: block;
    width: 100%;
    max-width: 525px;
    height: 125px;
    margin: 0 auto 30px auto;
    padding-top: 30px;
    color: #9DC9BE;
    font-size: 2.813em;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(http://www.alderneyweek.net/wp/wp-content/themes/alderney-week/img/banner-2.png);    
}*/

#gallery .ribbon {
    background: #fff;
    color: #9DC9BE;
}

#gallery .ribbon:before, #gallery .ribbon:after {
    border: 1.4em solid #f0f0f0;
}

#gallery .ribbon:before {
     left: -1.75em;
     border-right-width: 1.4em;
     border-left-color: transparent;
}

#gallery .ribbon:after {
    right: -1.75em;
    border-left-width: 1.4em;
    border-right-color: transparent;
}

#gallery .ribbon .ribbon-content:before, #gallery .ribbon .ribbon-content:after {
     border-color: #fbfbfb transparent transparent transparent;
}

#gallery .ribbon .ribbon-content:before {
     left: 0;
     border-width: 1em 0 0 1em;
}

#gallery .ribbon .ribbon-content:after {
    right: 0;
    border-width: 1em 1em 0 0;
}

#image-gallery {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

#image-gallery:after {
    content: '';
    display: block;
    clear: both;    
}

#image-gallery img {
    vertical-align: bottom;
    opacity: 0.75;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;      
}

#image-gallery img:hover {
    opacity: 1;    
}

#image-gallery a {
    display: inline-block;
    float: left;
    width: 25%;
}

#all-photos {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.375em;
    border-radius: 7.5px;
    border: 3px solid #fff;
    width: 100%;
    max-width: 275px;
    text-align: center;
    padding: 20px 0;
    margin: 40px auto 0 auto;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

#all-photos:hover {
    background-color: #fff;
    color: #99C6BB;
}

/*--------------------------------------------------------
# Home - News & Events Section Styles */

#news-events {
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 20px 45px 20px;
    background-color: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;    
    text-align: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
    position: relative; 
    z-index: 1;      
}

#news-events:after {
    content: '';
    display: block;
    clear: both;      
}

#news-page {
    background-color: #FDF7EB;
    padding: 60px 15px;
}

.single #socials,
.blog #socials {
    background-color: #FDF7EB; 
    margin-bottom: 0;
    padding-bottom: 50px;
}

.blog #news-page article {
    width: 33.3%;
    float: left;
    margin-top: 30px;
    padding-right: 30px;
}

.post-image {
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin-bottom: 15px;    
}

#news-page article:nth-of-type(3n+4) {clear:left;}



#news-page article:after {
    content: '';
    display: block;
    clear: both;     
}

#news-page article h2 {
    font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif;
    letter-spacing: 0;
}

#news-page article h2 a {
    text-decoration: none;
}


.wp-pagenavi {
    clear: both;
    font-size: 0.9em;
    text-align: center;
    padding-top: 30px;
}

/*
#news-events h2 {
    display: block;
    width: 100%;
    max-width: 525px;
    height: 125px;
    margin: 0 auto 30px auto;
    padding-top: 60px;
    color: #fff;
    font-size: 2.813em;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(http://www.alderneyweek.net/wp/wp-content/themes/alderney-week/img/banner-3.png);    
}*/

#news-events article {
    float: left;
    width: 25%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;    
    text-align: center;
    border: 15px solid #fff;
    margin-bottom: 20px;
}

#news-events article img {
    opacity: 0.75;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;      
}

#news-events article img:hover {
    opacity: 1;    
}

#news-events a {
    color: #666666;
    text-decoration: none;
}

#news-events h3 {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

#news-events a h3:hover {
    color: #99C6BB;
}

.single h1,
#news-events h3 {
    font-size: 1.3em;
    margin-top: 5px;
    font-family: Gill Sans,Gill Sans MT,Calibri,sans-serif;       
}

.single h1 {
    font-size: 2.3em;
    margin-top: 20px;
}

.single #news-page article img {
    float: left;
    width: 33.3%;
    padding-right: 30px;
}

.single .entry-content {
    float: right;
    width: 66.6%;
    padding-left: 30px;
}


/*--------------------------------------------------------
# Theme & Events - Theme & Events Section Styles */

a.btn {
    background-color: #75B3A4;
    color: #fff;
    display: inline-block;
    width: 50%;
    max-width: 270px;
    padding: 20px 0;
    text-align: center;
    text-decoration: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;   
    margin-right: 20px;
    border: 1px solid #000;
}

a.btn:hover {
    background-color: #F1C728;
}

#page-wrapper,
#thanks,
#events,
#theme {
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 20px;
    background-color: #FDF7EB;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
    position: relative; 
    z-index: 1;    
}

#events {
    background-color: #fff;
}

#thanks:after,
#events:after,
#theme:after {
    content: '';
    display: block;
    clear: both;     
}

#thanks p,
#events p,
#theme p {
    font-size: 1.1em;
}

#theme article {
    float: left;
    width: 55%;
}

#events article {
    float: right;
    width: 55%;   
}

#theme aside {
    float: right;
    width: 40%;
    margin-top: 35px;
}

#events aside {
    float: left;
    width: 40%;
    margin-top: 35px;    
}

#events aside img,
#theme aside img {
    border: 5px solid #fff;
    -webkit-box-shadow: 1.5px 1.5px 2.5px 3px #666;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    1.5px 1.5px 2.5px 3px #666;  /* Firefox 3.5 - 3.6 */
    box-shadow:         1.5px 1.5px 2.5px 3px #666;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5   */ 
    transform: rotate(2deg);
}

#events aside img {
    transform: rotate(-2deg);    
}


/*--------------------------------------------------------
# Theme & Events - Photo Gallery Section Styles */

.page-template-page-theme-events #image-gallery a {
    width: 20%;
}


/*--------------------------------------------------------
# Theme & Events - Contact Us Section Styles */

#contact-form {
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 20px 45px 20px;
    background-color: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;    
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;  
    position: relative; 
    z-index: 1;    
}

#contact-form:after {
    content: '';
    display: block;
    clear: both;      
}

#contact-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    width: 48.5%;
    float: left;
}

#contact-form fieldset:last-of-type {
    float: right;
}


/*--------------------------------------------------------
# Sponsorship & Advertising Page Styles */

#downloads a {
    background-color: #75B3A4;
    color: #fff;
    display: inline-block;
    width: 50%;
    max-width: 270px;
    padding: 20px 0;
    text-align: center;
    text-decoration: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;   
    margin-right: 20px;
    border: 1px solid #000;
}

#downloads a:hover {
    background-color: #F1C728;
}

.page-template-page-sponsorship-advertising #theme h1 {
    padding-top: 20px;
}

.advertising-rows section {
    width: 100%;
    display: block;
    clear: both;
    padding: 60px 20px;
    background-color: #FDF7EB;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;   
    position: relative; 
    z-index: 1;     
}

.advertising-rows section:after {
    content: '';
    display: block;
    clear: both;      
}

.advertising-rows section:nth-child(odd) {
 
}

.advertising-rows section:nth-child(even) {
     background-color: #fff;
}

.advertising-rows section:last-of-type {
    background-color: #99C6BB;
}

.advertising-rows section:last-of-type p {
    color: #fff;
}

.advertising-rows section:last-of-type .ribbon {
    background: #fff;
    color: #9DC9BE;
}

.advertising-rows section:last-of-type .ribbon:before, .advertising-rows section:last-of-type .ribbon:after {
    border: 1.4em solid #f0f0f0;
}

.advertising-rows section:last-of-type .ribbon:before {
     left: -1.75em;
     border-right-width: 1.4em;
     border-left-color: transparent;
}

.advertising-rows section:last-of-type .ribbon:after {
    right: -1.75em;
    border-left-width: 1.4em;
    border-right-color: transparent;
}

.advertising-rows section:last-of-type .ribbon .ribbon-content:before, #gallery .ribbon .ribbon-content:after {
     border-color: #fbfbfb transparent transparent transparent;
}

.advertising-rows section:last-of-type .ribbon .ribbon-content:before {
     left: 0;
     border-width: 1em 0 0 1em;
}

.advertising-rows section:last-of-type .ribbon .ribbon-content:after {
    right: 0;
    border-width: 1em 1em 0 0;
}

.advertising-rows article {
    float: left;
    width: 55%;
}

.advertising-rows section:nth-child(odd) article {
    float: right;
    width: 55%;   
}

.advertising-rows aside {
    float: right;
    width: 40%;
    margin-top: 35px;
}

.advertising-rows section:nth-child(odd) aside {
    float: left;
    width: 40%;
    margin-top: 35px;    
}


.advertising-rows img {
    border: 5px solid #fff;
    -webkit-box-shadow: 1.5px 1.5px 2.5px 3px #666;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    1.5px 1.5px 2.5px 3px #666;  /* Firefox 3.5 - 3.6 */
    box-shadow:         1.5px 1.5px 2.5px 3px #666;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5   */ 
    transform: rotate(2deg);
    max-height: 400px;
}

.advertising-rows section:nth-child(odd) img {
    transform: rotate(-2deg);    
}



/*--------------------------------------------------------
# Miss Alderney Page Styles */

.page-template-page-miss-alderney #theme aside {
    text-align: center;
}

.page-template-page-miss-alderney #theme aside img {
    max-height: 500px;
}

.page-template-page-miss-alderney #events aside p,
.page-template-page-miss-alderney #theme aside p {
    font-style: italic;
    font-size: 0.9em;
}


/*--------------------------------------------------------
# The Team Page Styles */

.page-template-page-the-team #image-gallery a {
    width: 20%;
}

/*--------------------------------------------------------
# Contact Page Styles */

.intro {
    text-align: center;
}

.contact-row {
    width: 100%;
    max-width: 500px;
    clear: both;
    display: block;
    margin-bottom: 35px;
}

.contact-row:after {
    content: '';
    display: block;
    clear: both;       
}

.contact-col {
    width: 50%;
    float: left;
}

.contact-title {
    
}

/*--------------------------------------------------------
# Footer Section Styles */

#footer-container {
    width: 100%;
    display: block;
    clear: both;
    padding: 50px 20px;
    background-color: #99C6BB;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;       
}

#top-footer,
#bottom-footer {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;   
    color: #fff;
}

#top-footer a,
#bottom-footer a {
    color: #fff;
    text-decoration: none;
}

#bottom-footer {
    border-top: 1px solid #fff;
    padding-top: 20px;
    margin-top: 50px;
}

#top-footer:after,
#bottom-footer:after {
    content: '';
    display: block;
    clear: both;      
}

#top-footer section {
    float: left;
    width: 23.3%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;     
    padding-right: 30px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

#top-footer section:nth-of-type(3) {
    width: 30%;
}

#top-footer section:nth-of-type(3) p {
    margin-bottom: 5px;
}

#top-footer h2 {
    padding-bottom: 5px;
    font-weight: normal;
    font-size: 1.375em;
}

#top-footer h2.email-h2 {
    padding-top: 15px;
}

#top-footer ul {
    margin: 0;
    padding: 0;
}

#top-footer li {
    list-style: none;
    margin-bottom: 5px;
}

#top-footer p {
    margin: 0;
    padding: 0;
}

#top-footer .wpcf7-submit {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    padding: 12px 35px;
    background-color: #000;
    border: 3px solid #000;
    color: #9AC7BC;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

#top-footer .wpcf7-submit:hover {
    background-color:  #9AC7BC;
    color: #000;
}

#top-footer span {
    font-size: 1.75em;
}

#bottom-footer section {
    float: left;
    width: 66.6%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;   
    font-size: 0.875em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

#bottom-footer section:last-of-type {
    text-align: right;
    width: 33.3%;
}


/*--------------------------------------------------------
# Tablet Break Point Styles */
@media screen and (max-width: 800px) {
    #social-media,
    #bunting {
        display: none;
    }
    #logo {
        float: none;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
    #welcome article {
        width: 100%;
        float: none;
    }    
    #welcome aside {
        display: none;
    }    
    #news-events article {
        width: 50%;
    }
    .ribbon {
        width: 82.5%;
        max-width: none;
        margin-bottom: 2em;
    }
    .page-template-page-theme-events #image-gallery a {
        width: 25%;
    }
    #top-footer section:nth-of-type(3),
    #top-footer section {
        width: 50%;   
        margin-bottom: 30px;
        padding-right: 0;        
    }
    #bottom-footer section {
        float: none;
        width: 100%;
        text-align: center;
    }
    #bottom-footer section:last-of-type {
        display: none;
    }     
    a.btn,
    #downloads a {
        display: block;
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
    }
    .blog #news-page article {
        width: 50%;
    }
    #news-page article:nth-of-type(3n+4) {clear:none;}
    #news-page article:nth-of-type(2n+3) {clear:left;}    
}


/*--------------------------------------------------------
# Phone Break Point Styles */
@media screen and (max-width: 600px) {
    .blog #news-page article {
        width: 100%;
    }    
    .single #news-page {
        text-align: center;
    }
    .single #news-page article img {
        float: none;
        width: auto;
        padding-right: 0;
        height: 300px;
        max-width: none;
    }    
    .single .entry-content {
        float: none;
        width: 100%;
        padding-left: 0;
    }    
    #logo {
        float: none;
        width: 100%;
        margin-top: 40px;
    }    
    .easingslider-buttons,
    .easingslider-controls {
        display: none!important;
    }
    #thanks,
    #welcome,
    #gallery,
    #news-events,
    #footer-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    /*
    #welcome h1 {
        background-image: none;
        color: #99C6BB;
        padding-top: 0;
        margin-bottom: 10px;        
        height: auto;
    }
    #gallery h2 {
        background-image: none;
        color: #fff;
        padding-top: 0;    
        height: auto;   
        margin-bottom: 10px;    
    }*/
    .ribbon {
        margin-bottom: 1.5em;
        width: 100%;
    }
    .ribbon::before, .ribbon::after {
        display: none;   
        width: 100%:
    }
    .page-template-page-theme-events #image-gallery a,
    .page-template-page-the-team #image-gallery a,
    #image-gallery a {
        width: 50%;
    }
    #all-photos {
        max-width: 100%;
    }/*
    #news-events h2 {
        background-image: none;
        color: #99C6BB;
        padding-top: 0;     
        height: auto;     
        margin-bottom: 10px;
    }*/
    .advertising-rows aside,
    .advertising-rows article,
    .advertising-rows section:nth-child(2n+1) article,
    .advertising-rows section:nth-child(2n+1) aside,
    #events article,
    #events aside,
    #theme aside,
    #theme article,
    #news-events article {
        float: none;
        width: 100%;
        margin-bottom: 0;
    }
    #socials {
        display: none;
    }
    #top-footer section:nth-of-type(3),
    #top-footer section {
        float: none;
        width: 100%;  
        margin-bottom: 30px;
        padding-right: 0;
    }
    #top-footer .wpcf7-submit {
        width: 100%;
    }
    #top-footer .wpcf7-email {
        max-width: none;
    }   
    #contact-form {
        padding-top: 30px;
        padding-bottom: 30px;        
    }
    /*
    #contact-form h2 {
        background-image: none;
        color: #99C6BB;
        padding-top: 0;     
        height: auto;     
        margin-bottom: 10px;        
    }*/
    #contact-form fieldset:last-of-type,
    #contact-form fieldset {
        float: none;
        width: 100%;
        padding: 0;
    }
    button, input[type="button"], input[type="reset"], input[type="submit"] {
        width: 100%;
    }
}



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

.hentry {
	margin: 0;
}

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

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

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0;
}

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

.bypostauthor {
	display: block;
}

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

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

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

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

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}