@import 'https://fonts.googleapis.com/css?family=Lato|Bodoni+Moda';
@import 'dist/jquery.fancybox.css';
@import 'menu.css';



/* CORE STYLES */
:root {
    --coloured-background: #85d36e;
    --alternate: #72b55e;
    --white: #fff;
  }

html {
    scroll-behavior: smooth;
}
body {
	background-color: #fff;
	margin: 0px;
	padding: 0px;
    font-family: 'Lato', sans-serif, sans;
    background-color: #fff;
	text-rendering: optimizeLegibility;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}
input, textarea, select {
	border: 1px solid var(--coloured-background);
	background-color: #fff;
	max-width: 100%;
    font-family: 'Lato', sans-serif, sans;
	font-size: 15px;
	padding: 7px;
} 
input[type="submit"]{
	cursor:pointer;
}
a[href^="mailto:"]
{
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
table{
	width: 100%;
	border-collapse: collapse;
}
th{
	padding: 5px 3vw 5px 5px;
	vertical-align: top;
	text-align: left;
	background-color: #666666;
	color: #fff;
	font-size: 20px; 
}
td{
	padding: 5px 3vw 5px 5px;
	vertical-align: top;
}
header{
	background-color: #72b55e;
	background-color: var(--alternate);
}
header div{
    max-width: 1300px;
    margin: auto;
    padding: 30px 30px; 
    color: #fff;
}
header h1{
    font-family: Bodoni Moda;
    font-size: 60px;
    letter-spacing: 2px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 100px; 
    text-transform: uppercase;
}
header h1 span{
    font-size: 100px; 
    letter-spacing: -12px;
}
header h1 span:nth-of-type(2){
    letter-spacing: -10px;
}
header a{
	color: #fff;
	text-decoration: none;
}
header a:hover{
	text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
header p{
    margin: -10px 0 0 5px;
    padding: 0;
    font-size: 26px; 
    }
.grid{
    display: flex;
    flex-wrap: wrap;
}
.grid > div{
    flex: 1 1 400px; 
    margin: 5px; 
}
.grid > div > img{
    width: 100%;
    height: 100%;
}
@supports(display: grid) {
.grid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(calc(200px + 15vw), 1fr));
    justify-items: center;
    gap: 10px; 
}
}
#pictures{
	margin: 10px 0;
} 
@supports(gap: 10px){
    .grid > div{
        margin: 0;
    }
}

@supports(object-fit: cover){
.grid > div > img,
.grid > div > a img{
    object-fit: cover;
	height: 100%;
	width: 100%;  
}
.grid > div {
    height: 40vh;
    width: 100%;
    max-height: 500px; 
}
} 
.maintext{
    max-width: 800px;
    margin: auto;
    color: #666;
    line-height: 170%;
    padding: 1vw 3vw;
	width: 94vw;
}
.maintext a{
	color: #666;
	text-decoration: none; 
}
.maintext.admin,
.maintext.caltariff{
	max-width: 1400px; 
	width: 94vw;
}
.maintext h1{

    font-size: 30px;
    font-weight: 400;
    line-height: 1; 
    color: var(--alternate);
}
.maintext h2{

    font-size: 26px;
    font-weight: 400;
    line-height: 1; 
    color: var(--alternate);
}

.bookings{
	background-color: #f3f3f3;
    text-align: center;
    padding: 20px 0;
    color: #333;
    font-size: 20px;

}
.bookings form{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.bookings input, .bookings select, .bookings input[type="submit"] {
	width: 200px; 
	text-align: center;
	letter-spacing: 1px ; 
	font-weight: bold; 
	padding: 5px;
	border: 0;
    background-color: var(--coloured-background);
	text-align-last:center;
	color: var(--white);
    appearance: none;
    margin-top: 5px;
    font-size: 15px;
    box-shadow: 2px 2px 10px rgba(50,50,50,0.7);
    transition : 0.2s;
	border-radius: 15px; 
	text-transform: uppercase; 
}
.bookings input[type=date]{
	width: 160px !important; 
	text-align: center !important;
	padding: 7px;
	border: 0;
}
.bookings input:focus, 
.bookings select:focus, 
.bookings input[type="submit"]:focus,
.bookings input:hover, 
.bookings select:hover, 
.bookings input[type="submit"]:hover {
    box-shadow: 0 0 0 var(--alternate);
}
.bookings div {
    padding: 0 3px;
    flex: 1 1 20%; 
    vertical-align: baseline;
}


footer {
	background-color: #72b55e;
    background-color: var(--coloured-background);
    color: #fff;
    line-height: 180%;
	font-size: 20px; 
}
footer > div{
	padding: 50px;
	text-align: center; 
	grid-row: 1 / 2;
}
footer > div:nth-of-type(2){
	background-color: #72b55e;
	background-color: var(--alternate);
	grid-row: 1 / 3;
}
footer > div:nth-of-type(1){
	grid-row: 1 / 3;
}
footer a{
    color: #fff;
    text-decoration: none; 
    transition: 0.2s;
}
footer a:hover{
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}
.admin table tr:nth-of-type(2n) td{
	background-color: #f0f0f0;
}
.months {
	width: 35%;
} 
.monthsselects {
	display: flex;
	margin: 20px auto;
	gap: 20px; 
	flex-wrap: wrap; 
	justify-content: center; 
}
.calendar {
	text-align: center;
	width: 250px; 
	margin: auto; 

} 

.caladmin {
	text-align: center;
	width: 450px; 
	margin: auto; 
} 

.flow .formheading td, .admin .formheading td{
	padding: 15px;
	background-color: #43724D;
	background-color: var(--alternate) !important;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
}
.flow tr:nth-of-type(2n) td,
.tariff tr:nth-of-type(2n) td{
	background-color: #f9f9f9;
}
.flow tr:nth-of-type(2n+1) td,
.tariff tr:nth-of-type(2n+1) td{
	background-color: #f3f3f3;
}
.tariff{
	line-height: 170%;
	color: #666;
}
.tariff td:not(:first-child),
.tariff th:not(:first-child){
	text-align: right; 
}
.formheading a{
	color: #fff;
}
.calheading td{
	padding: 25px;
	background-color: #43724D;
	background-color: var(--alternate);
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
}
.greenheading td{

	background-color: #85D36E;
	background-color: var(--coloured-background) !important;
	color: #fff;

	font-weight: bold;
	font-size: 15px;
}

.tabletopmain td {
	text-align: center;
	background-color: var(--coloured-background) !important;
	color: #fff;
	padding: 10px 1px;
	font-size: 12px; 
} 
.tabletop  {
	text-align: center;
	background-color: var(--coloured-background); 
	color: #fff;
	padding: 10px 1px;
	font-size: 18px; 
} 
.calname {
	width: 100px;
	padding: 15px !important;
	text-align: left !important;
}
.calone td, .calone{
	padding: 15px 2px;
	background-color: #fefefe;
	text-align: center;
	font-size: 15px;
}
.caltwo td, .caltwo{
	padding: 15px 2px;
	background-color: #f0f0f0;
	text-align: center;
	font-size: 15px;
}
#booked {
	background-color: #af2020;
	color: #fff;
	text-align: center;
} 

.dummy #booked td, .dummy #avail td{
	width: 25px;
	height: 25px;
	border: 1px solid #1a4123;
}
#avail {
	background-color: #f0f0f0;
} 
.cal9 {
	border: 1px solid #C0C0C0;
	width: 25px; 
	height: 25px; 
}
.full{
	display: flex; 
	flex-flow: wrap; 
}
.caldiv {
	width: 30%;
	display: inline-block;
	min-height: 270px;
	flex: 1 1 auto;
	margin: 10px; 
}
@supports(gap: 20px){
.full{
	gap: 20px; 
}
.caldiv {
	margin	: 0; 
}
}
.full form,
.full table{
	flex-basis: 90%;
}
.tabletext{
  table-layout: fixed ;
}
.tabletext td{
	text-align: center; 
}
.caldiv2 {
	width: 100%;
	min-height: 270px;
	margin: 20px 30px 10px 0;
	overflow: auto; 
}
.caldiv3 {
	width: 100%;
	min-height: 270px;
	margin: 20px 30px 10px 0;
	overflow: auto; 
}
.slideright {
	overflow-x: auto;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 50px auto; 
}
.slideright a {
	color: #000;
	text-decoration: none; 
}
.caldiv td, .caldiv2 td{
	vertical-align: top; 
	padding: 5px 2px  !important;
	min-height: 40px; 
	font-size: 14px; 
}
.caldiv tr:nth-child(odd) {
	background-color: rgba(0,0,0,0.1);
}
.caldiv tr:nth-child(even) {
	background-color: rgba(50,50,50,0.1);
}
.caldiv2 tr:nth-child(odd) {
	background-color: rgba(0,0,0,0.1);
}
.caldiv2 tr:nth-child(even) {
	background-color: rgba(50,50,50,0.1);
}
.caladmin .tabletopmain td{
	background-color: #5c934b; 
} 
.cottages{
    max-width: 1200px;
    margin: 5vw auto;
    color: #666;
    line-height: 1.4;
	display: flex;
	flex-flow: wrap; 
}
.cottages > div {
	background-color: #f0f0f0;
	display: inline-block;
	width: 30%; 
}
@supports(display:grid) {
.cottages{
	gap: 10px;
	display: grid;

}
.cottages > div {
	display: block; 
	width: auto;
}
}
.maintext + .cottages{
	margin-top: 1vw;
}

.cottages > .desc {
	padding: 20px;
}
.cottages > .facilities,
.facilities {
	display: flex;
	flex-flow: wrap;
	justify-content: center; 
	align-items: center; 
	max-width: 800px; 
	margin: auto; 
}
.cottages .facilities {
	margin: 0; 
}
 .facilities img{
	width: 50px; 	

}
.facilities > div {
	text-align: center; 
	flex: 1 1 auto;
	padding: 10px; 
}
.cottages a{
	color: #333;
	text-decoration: none; 
}
.cottages a:hover{
	background-color: var(--coloured-background); 
}
.cottages h4{
	font-size: 20px; 
	font-weight: normal;
	margin	: 0; 
	line-height: 22px; 
}
.cottages > div > img,
.cottages > div > a > img{
	width: 100%; 
	display: block; 
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.cottages .toosmall{
	display: none; 
}
@supports(aspect-ratio: 3 / 2){
.cottages > div > img,
.cottages > div > a > img{
	aspect-ratio: 3 / 2;
	height: auto;
}
}
#inline1 {
    max-width: 800px;
    display: none;
    height: 80vh;
    color: #333;
    font-size: 16px;
    margin: 3vw;
	line-height: 1.5;
}
.page{
	height: 700px;
	max-height: 70vh;
	background-size: cover;
	background-position: center center; 
	display: flex;
	align-items: center; 
	justify-content: center; 
}
.page h1{
	font-size: 12vw;
	opacity: 0.6;
	color: #fff; 
}
.toplinks{
	background-color: #F3F3F3;
	display: flex;
	align-items: center; 
	justify-content: center; 
	flex-flow: wrap;
}
.toplinks a{
	display: block;
	padding: 30px; 
	color: #333;
	text-decoration: none; 
	transition: 0.3s;
}
.toplinks a:hover{
	background-color: var(--coloured-background); 
	color: #fff;
}
#map{
	height: 600px;
	max-height: 80vh;
}
.iw {
	font-size: 10px;
	padding: 2px 5vw;
	text-align: right;
	background-color: var(--coloured-background);  
	grid-row: 2/3;
	margin-top: auto; 
	line-height: 15px;
} 
.iw a{
	color: #fff;
	text-decoration: none;

}
.vimeo-wrapper, .vimeo-wrapper2 {
	width: 100%;
	background-size: cover; 
	overflow: hidden;
	position: relative; 
	background-image: url('/images/video-frame.jpg'); 
	background-position: center center; 
  }
.vimeo-wrapper:after {
	padding-top: 48%;
	display: block;
	content: ""; 
}

.vimeo-wrapper iframe, .vimeo-wrapper2 iframe {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0; 
}










/* mobiles */

@media only screen and ( max-width: 1024px ) {
    .bookings div {
        flex: 1 1 100%; 
}     

.caldiv {
	width: 100%;
}
.caldiv:first-of-type {
	display: none; 
}
.caldiv:last-of-type, #last {
	display: none; 
}
.caldiv td {
	display: table-cell;
}
.bookme input{
	width: auto !important; 
	max-width: 100%; 
	padding: 15px 20px; 
} 
header h1,
header h1 span,
header h1 span:nth-of-type(2){
	font-size: 36px; 
	letter-spacing: 0; 
	line-height: 1;
	margin-bottom: 20px; 
}
.slideright {
	overflow-x: auto;
	width: 100%;
    cursor: move;
	max-width: 1200px;
	margin: 0 auto 50px auto; 
}
}





@media only screen and ( max-width: 640px ) {

.flow td,
.flow th,
.tariff td,
.tariff th {
	display: block;

}
input:not([type='checkbox']), textarea {
	width: 80%;
} 
.cottages > div:nth-of-type(3n){
	margin-bottom: 40px; 
}
.cottages {
	gap: 0;
}
.vimeo-wrapper iframe{
	display: none; 
}
.vimeo-wrapper {
	display: none; 
}
}








/* desktop */

@media only screen and ( min-width: 1024px ) {
body {
	background-color: #fff;
	margin: 0px;
	padding: 0px;
    font-family: 'Lato', sans-serif, sans;
    background-color: #fff;
	text-rendering: optimizeLegibility;
	display: flex;
	flex-direction: column;
	min-height: 100vh; 
}
footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-top: auto; 
}
.flow input:not([type='checkbox']),
.flow textarea,
.flow select {
	width: 300px;
}
.page{
	background-attachment: fixed;
}

}

@media only screen and ( min-width: 640px ) {
.cottages{
	grid-template-columns: 1fr 1fr 1fr;
}
 .cottages >   .facilities > div {
	text-align: center; 
	flex: 1 1 40%;
	padding: 10px; 
}
.cottages > div > img,
.cottages > div > a > img{
	width: 100%; 
	display: block; 
	aspect-ratio: 3 / 2;
	object-fit: cover;
	height: 100%; 
	max-height: 300px; 
}
}




/* ie10?  */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
body {
	display: block; 
}
}