/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

body {
    font-size: 1em;
    line-height: 1.4;
}

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

/* ==========================================================================
   eIgnition Creative
   ========================================================================== */
body {
margin: 0;
padding: 0;
color:#333333;
}
.head {
background:url("../img/header_top.gif") repeat-y scroll right center #669999;
color: #fff;
padding: 10px;
margin: 0;
}
.head h1 {
font-weight: normal;

padding: 0;
margin: 0;
}
.head p {
font-size: 1em;
padding: 0;
margin: 0;
}
.nav {
background: #ccc url(../img/header_bottom.gif) no-repeat bottom right;
overflow: hidden;
}
.nav ul{
margin: 0;
padding: 0;
}
.nav ul li{
float:left;
padding: 2px 0;
}
.nav ul li a{
display: block;
padding: 0 10px;
border-right: 1px solid #fff;
color: #333;
text-decoration: none;
margin-bottom: 2px;
}
.nav ul li a:hover{
color: #fff;
}
.main {
padding: 20px;
position: relative;
}
.main h1 {
margin: 0;
font-weight: normal;
font-size: 2em;
color: #669999;
}
.main h2 {
margin: 25px 0 15px
}
.main h3 {
clear: both;
}
.logo {
margin-right: 35px;
}
.intro {
margin: 0 0 20px 0;
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {

	.intro {
	float: left;
	}

}

/* iPads (portrait) ----------- */
@media only screen 
and (max-device-width : 768px)
and (orientation : portrait) {

	.intro {
	float: left;	
	}

}

.text p {
position: relative;
z-index: 2;
}
.stonegarth-btn {
float: left;
display: block;
width: 300px;
height: 230px;
padding-top: 10px;
text-align: center;
font-size: 1.4em;
color: #fff !important;
margin: 0 20px 20px 0;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.cottage-btn {
background: url('../img/cottage-bg.jpg') no-repeat center 50px #345757;
}
.mews-btn {
background: url('../img/mews-bg.jpg') no-repeat center 50px #345757;
}
a:hover.stonegarth-btn {
text-decoration: none;
}
a:hover.cottage-btn {
background: url('../img/cottage-bg.jpg') no-repeat center 50px #669999;
}
a:hover.mews-btn {
background: url('../img/mews-bg.jpg') no-repeat center 50px #669999;
}
.link-section {
clear: both;
float: left;
margin-bottom: 20px;
}
.first-link {
clear: none;
}
.link-block {
float: left;
margin-top: -20px;
}
img.places {
float: left;
margin: 0 20px 20px 0;
}
.bookings {
color: #fff;
background: none repeat scroll 0 0 #669999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
width: 320px;
padding: 20px;
/*position: absolute;
top: 84px;
right: 30px; */
float: right;
margin: 20px 0 20px 40px;
position: relative;
z-index: 100;
}

.bookings-home {
margin-top: 0;
}
fieldset.error-field {
padding: 10px 20px;
}
legend.error-legend {
padding-top: 10px;
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {

	.bookings-home {
	float: left;
	margin-left: 0;
	}
	.stonegarth-btn {
	margin-bottom: 40px;
	}
}

/* iPads (portrait) ----------- */
@media only screen 
and (max-device-width : 768px) {

	.bookings-home {
	float: left;
	margin-left: 0;
	}
	.stonegarth-btn {
	margin-bottom: 40px;
	}
}

.bookings h3 {
    border-bottom: 1px solid #FFFFFF;
    font-weight: normal;
    margin: 0;
    padding: 0;
	padding: 10px;
}



a.default_popup {
color: #fff !important;
float: right;
line-height: normal;
margin: 20px 0 10px 10px;
}


.backtotop {
clear: both;
margin: 0;
}
.backtotop a{
color: #6666FF;
text-decoration: none;
padding: 0 30px;
font-size: 0.8em;
}
.backtotop a:hover{
text-decoration: underline;
}
.foot {
margin-top: 30px;
}
.foot-message {
    background: none repeat scroll 0 0 #669999;
    color: #FFFFFF;
    padding: 5px;
}
.foot-eign {
text-align:right;
font-size: 0.8em;
padding-right: 20px;
}
.foot-eign a{
color: #669999;
text-decoration: none;
}
.foot-eign a:hover {
color: #333;
text-decoration: underline;
}

/* Slideshow */

.slideshow {
float: right;
/*height: 405px;
width: 530px; */
margin: 20px 0 30px 20px;
position: relative;
z-index: 1;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
width: 100%;
max-width: 530px;
height: auto;
}
.slideshow img {
padding: 15px;
border: 1px solid #ccc;
background: #eee;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
width: 100%;
max-width: 500px;
height: auto;
}

/*-------------------------------

	POPUP.CSS

-------------------------------*/

h3.policy {
	margin-top: 0;
}
p.canx {
	margin-bottom: 0;
}

.popup_back {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

.popup_cont {
	position: fixed;
	z-index: 102;
}

.preloader {
	z-index: 101;
}

/*---------------------

	EDIT BELOW

*/

.popup_cont {
right: 20px;
}

.popup_close {
	color: #888;
	cursor: pointer;
	position: absolute;
	padding: 5px;
	right: 5px;
	top: 0;
}

.popup_close:hover {
	color: #111;
}

.popup_back {
	cursor: pointer;
	background-color: #222;
}

div.popup {
	background: #fff;
	padding: 25px;
	box-shadow: 0 3px 10px #222;
	width: 500px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.preloader {
	left: 50%;
	margin: -10px 0 0 -25px;
	position: fixed;
	top: 50%;
}


.date {
font-size : 0.6em; 
color : #666666; 
text-indent : 0.6em; 
text-align : left; 
} 
body {
background-color : #ffffff; 
margin-top : 0; 
margin-right : 0; 
margin-bottom : 0; 
margin-left : 0; 
font-family : Arial, Helvetica, sans-serif; 
} 
a:hover {
color : #990033; 
text-decoration : underline; 
} 
a:visited {
color : #6666ff; 
} 
ul {
list-style-type : square; 
font-size : 0.9em; 
} 
ul ul {
color : #666666; 
list-style-type : circle; 
font-size : 0.8em; 
} 
a:link {
color : #6666ff; 
} 
hr {
text-decoration : none; 
height : 1px; 
color : #cccccc; 
} 
.borderallblack {
border-bottom : 1px solid black; 
border-top : 1px solid black; 
border-right : 1px solid black; 
border-left : 1px solid black; 
font-size : 0.8em; 
color : #333333; 
} 
.box {
font-weight : 800; 
font-size : 0.8em; 
text-align : left; 
color : #333333; 
} 
.bordernone {
border-bottom : 0 solid black; 
border-top : 0 solid black; 
border-right : 0 solid black; 
border-left : 0 solid black; 
font-size : 0.8em; 
color : #333333; 
} 
.borderbottomonly {
border-bottom : 0 solid black; 
border-top : 0 solid black; 
border-right : 0 solid black; 
border-left : 0 solid black; 
font-size : 0.8em; 
color : #333333; 
border-color : #666666 black; 
border-top-width : 0; 
border-right-width : 0; 
border-bottom-width : 1px; 
} 
.datewhite { font-size : 0.6em; color : #CCCCCC; text-indent : 0.6em; text-align : left; }
.bordernonewhitetext { border-bottom : 0 solid black; border-top : 0 solid black; border-right : 0 solid black; border-left : 0 solid black; font-size : 0.8em; color : #FFFFFF; ; text-indent: 5px; border-color: #99FFFF black; border-top-width: 1px; border-bottom-width: 1px}
.bordertop { border-bottom : 1px solid #99ccff; border-top : 1px solid #99ccff; font-size : 14px; color : #FFFFFF; ; text-indent: 5pt}
.bordertop a:visited { color : #000000; ; text-decoration: none}
.bordertop a {color : #333333; ; text-decoration: none}
.bordertop a:hover {text-decoration: none; color: #FFFFFF}
.backtotop { font-weight : normal; font-size : 0.8em; text-align : left; }
a {  text-decoration: none}
.borderbottom { border-bottom : 1px solid #99ccff; border-top : 1px solid #99ccff; font-size : 0.8em; color : #FFFFFF; ; text-indent: 5pt ; border-color: #99ccFF black #99CCFF; white-space: normal; border-top-width: 1px; border-bottom-width: 1px}
.borderbottom a:visited { color : #FFFFFF; ; text-decoration: none}
.borderbottom a {color : #FFFFFF; ; text-decoration: none}
.borderbottom a:hover {text-decoration: none; color: #000000}
.images {
display:block;
width: 500px;
height: 350px;
float:right;
}
.images img {
padding: 3px;
}

/* ==========================================================================
   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%;
}

/*
 * 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;
}
.grecaptcha-badge { 
    visibility: hidden;
}

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