/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300);


/*
font-family: 'Open Sans', sans-serif;
font-weight: 300;
*/
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    /*-webkit-font-smoothing:antialiased;*/
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

h1 {
    margin: 0 0 11px 0;
    font: 300 50px/60px 'Open Sans', sans-serif;

    color: #444444;
}

h2 {
    margin: 0 0 15px 0;
    font: 400 24px/29px 'Open Sans', Arial, Helvetica, sans-serif;
    color: #444444;
}

h3 {
    margin: 0 0 10px 0;
    font: 400 20px/24px 'Open Sans', Arial, Helvetica, sans-serif;
    color: #444444;
}

p {
    font: 400 16px/19px 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 20px 0;
    color: #000;
}

ul, ol {
	margin-left: 0;
	margin-top: 0;
	padding-left: 25px;
}
ul li, ol li {
    font: 400 16px/19px 'Open Sans', Arial, Helvetica, sans-serif;
    margin-bottom: 10px; 
    color: #000;
}


a {
    color: #8C0000;
    text-decoration: none;
}

a:hover {
    color: #000;
}

body {
    background: #fff url(../img/bg.jpg) 0 0 repeat;
    min-width: 980px;
}
header {
    width: 100%;
    height: 750px;
    position: relative;
    background-position: top center;
    background-repeat: no-repeat;
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover; 
    border-bottom: 1px solid #FFF;
}

a.homeLink {
    display: block; 
    margin: 0 auto; 
	padding: 15px 0 30px 0; 
    width: 100%;
    height: 124px;
    background: url(../img/btnHome.png) center center no-repeat rgba(255,255,255,0.6);
}

a.homeLink.fixed {
	position: fixed;
}

nav {
	position:fixed;
    z-index: 99;
    width: 100%;
    text-align: center;
    margin: 169px auto 0 auto; 
    background: rgba(255,255,255,0.6);
	border-bottom: 1px solid  rgba(255,255,255,0.4);
}

nav.fixed {
	position:fixed;
	top: 0;
	margin-top: 0;
    background: rgba(255,255,255,0.97);
	border-bottom: 1px solid  #CCC;
	-webkit-box-shadow: 1px 1px 13px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    1px 1px 13px rgba(50, 50, 50, 0.75);
	box-shadow:         1px 1px 13px rgba(50, 50, 50, 0.75);
}
nav a {
    display: inline-block;
    padding: 10px 20px;
    font: 400 16px/16px 'Open Sans', Arial, Helvetica, sans-serif;
    color: #1F4517;
    text-decoration: none;
}

nav a:hover, nav a.current {
    text-decoration: underline;
}


header h3 {
	position:absolute;
	bottom: 120px;
	left: 50%;
	margin-left: -480px;
    padding-left: 20px;
    width: 960px;
    font: 300 36px/44px 'Open Sans', sans-serif; /*QQ fix me in firefox*/
    color: #FFF;
}

.contBody {
    width: 900px;
    padding: 26px 30px 20px 30px;
    margin: 0 auto; 
    background: #fff; 
    -webkit-box-shadow: 0px 3px 20px rgba(50, 50, 50, 0.70);
    -moz-box-shadow:    0px 3px 20px rgba(50, 50, 50, 0.70);
    box-shadow:         0px 3px 20px rgba(50, 50, 50, 0.70);
}

footer {
    width: 960px;
    margin: 0 auto; 
    padding-top: 15px;
    padding-bottom: 40px;
}

footer p {
    float: right;
    font: 14px/17px 'Open Sans', Arial, Helvetica, sans-serif;
}
footer p:first-child {
    float: left;
}

.colLeft {
    float: left;
    width: 520px;
    margin-top: -26px;
    margin-bottom: -26px;
    padding: 26px 20px 30px 0px;
}
.colRight {
    float: left;
    width: 330px;
    margin: -30px -36px -20px 0;
    padding: 30px 30px;
}

/* HOME PAGE */
.homePage .colRight {
    background: rgba(32,69,23,0.2);

}
.btnBig {
    display: block;
    margin-top: 12px; 
    padding: 22px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #888888;
    background: #FFF;
    text-align: center;
    text-decoration: none;
    color: #8C0000;
    font: 36px/36px 'Open Sans', Arial, Helvetica, sans-serif;
}
.btnBig span {
	display:inline-block;
	margin-bottom: -2px;
	vertical-align:bottom; 
}

.btnBig:hover {
    background: #eee;
}


.contactDetails {
    padding: 30px 0;
}

.contactDetails h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin-bottom: 0.6em; 
}



blockquote {
    padding: 20px 20px;
    margin: 0;
    background: #FFF;
    font: 400 22px/24px 'Open Sans', Arial, Helvetica, sans-serif;
}

blockquote span {
    padding-top: 20px;
    display: block; 
}

blockquote img {
/*    float: right;
    margin-top: 20px;*/
    margin: 20px 0 -20px 20px;
}

.homePage blockquote {
     border: 1px solid #BBBBBB;   
}
.homePage blockquote img {
    float: right;
}

/* CONTENT PAGES */

.contSections .section:first-child {
    border: none;
}
.section {
    padding-top: 20px;
    padding-bottom: 15px;
    border-top: 1px dashed #8FA18A;
}
.section img {
    margin-bottom: 10px;
    border: 1px solid #8FA18A; 
    max-width: 438px;
}

.section.imgLeft img {
    float: left;
    margin-right: 20px;
}

.section.imgRight img {
    float: right;
    margin-left: 20px;
}

.divider {
    display: block; 
    height: 20px;
    background:  url(../img/bgDivider.png) top center no-repeat;
    width: 100%;
    margin-bottom: 30px;
}

.cont_directors {
    margin-top: 40px;
    width: 40%;
    margin-left: 10%;
    float: left;
}
.cont_directors:first-child {
    margin-left: 0;
}

.cont_directors img {
    float: none !important;
    margin: 0 0 20px 0 !important;
}


/* ACCOMMODATION PAGE */

.contAccommTiles {
    padding-top: 40px;
    padding-bottom: 20px;
}

.accommTile {
    float: left;
    width: 290px;
    margin-left: 15px;
    margin-bottom: 30px;
} 

.accommTile:nth-child(3n+1) {
    margin-left: 0;
}
.accommTile img {
    width: 288px;
    border: 1px solid #8FA18A;
    margin-bottom: 8px;
}

.accommTile a:hover img {
    border: 1px solid #000; 
}


.accommTile h2, .accommTile p {
    padding: 0 10px;
} 

/* CONTACT PAGE */

.contactPage .colLeft {
    margin-top: -10px;
    width: 380px;
}
.contactPage .colRight {
    margin-top: -10px;
}

.contactPage p strong {
    font: 20px/24px 'Open Sans', Arial, Helvetica, sans-serif;
}

.contactForm {
    width: 420px;
    margin-bottom: 50px;
}

.contactForm  input, .contactForm textarea {
    padding: 10px 10px;
    margin-bottom: 10px;
    border: 1px solid #888888;
    background: #FFF;
    border-radius: 8px;
    width: 100%;
    font: 400 16px/20px 'Open Sans', Arial, Helvetica, sans-serif;
}
.contactForm textarea {
    height: 120px;
    margin-bottom: 20px;
}

.contactForm a {
    display: inline-block;
    padding-left: 40px;
    padding-right: 40px;
}

.contactMap {
    display: block; 
    clear: both;
    width: 960px;
    margin-left: -30px;
    margin-bottom: -26px;
    border-top: 1px dashed #8FA18A;
}
.btnGreen, input.btnGreen {
    display: inline-block;
    padding: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #888888;
    background: #BBC9BC;
    text-align: center;
    text-decoration: none;
    color: #FFF;
    width: auto;
    font: 28px/34px 'Open Sans', Arial, Helvetica, sans-serif;
}

 input.btnGreen {
    padding: 16px 40px;
    float: left;
}
 input.btnGreen:hover {
    color: #000;
 }

 .contactSuccess {
    display: none;
}

.highlight {
    border:2px solid #9F1319 !important;
}

.loading {
    float: left;
    margin-left: 20px;
    margin-top: -5px;
    display: none;
    width: 60px;
    height: 60px;
    background: url(../img/loading.gif) 0 0 no-repeat; 
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.clear {
	clear: both;
}

.fr {
	float:right !important;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}
