

/* @import url('https://fonts.googleapis.com/css2?family=Dosis&family=Special+Elit&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Dosis&display=swap'); 
@import '/flickity.css';
@import '/dist/jquery.fancybox.css';




@font-face {
  font-family: 'special_eliteregular';
  src: url('specialelite-regular-webfont.woff2') format('woff2'),
       url('specialelite-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;

}


@font-face {
  font-family: 'sooky_70sregular';
  src: url('sooky-70s.regular-webfont.woff2') format('woff2'),
       url('sooky-70s.regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;

}




/* @font-face {
  font-family: 'Dosis';
  src: url('dosis-variablefont_wght-webfont.woff2') format('woff2'),
       url('dosis-variablefont_wght-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;

} */

/* CORE STYLES */


:root {

      --black: #111;
    --background: #191919;
    --dark: #333;  
    --dark: #0f0f0f;
    --text: #f0f0f0;
    --colour: #70db62;
    --blue: #92abf0;
    --othergreen: #82e275;
    --othercolour: #af2020;
    --othercolour2: #c42424;
    --othercolour3: #db6262;
    --darktext: #222;
    --cream: #e4e2cf;
    --midgrey: #666;
    --hotpink: #ff91ca;
 } 

  html {
	scroll-behavior: smooth;
    overflow-y: scroll;
	height: 100%;
}
body{
    background-color: var(--black);
    margin: 0;
    font-family: Dosis, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
	  height: 100%;
}
.container{
  max-width: 2000px;
  margin: auto; 
  background-color: var(--background);
  position: relative;
}
img{
    max-width: 100%;
}
header{
    display: grid;
    justify-content: center;
}
header h1{
  font-family: 'sooky_70sregular';
  line-height: 1;
  font-size: 8rem;
  text-align: center;
  font-weight: 400;
  text-shadow: 3px 3px 1px var(--black);
  margin-block: 2rem;
}
header h1 a{
  color: var(--text); 
  text-decoration: none;
}
header img{
    margin: 1rem auto;
    display: block;
}
nav{
    display: flex;
    width: 100%;
    justify-content: center;
    /* font-family: 'Barriecito', cursive; */
    font-size: 20px;
}
nav a{
    display: block;
    padding: 1rem;
    background-color: var(--darktext);
    color: var(--text); 
    text-align: center;
    flex: 1 1 auto; 
    text-transform: capitalize;
    text-decoration: none;
    transition: 0.4s;
}
nav a:hover{
    background-color: var(--colour) ;
    color: var(--darktext);
}
input, textarea, select{
  font-family: Dosis, Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
input[type="number"]{
    max-width: 75px; 
}
table{
  border-collapse: collapse;
  width: 100%; 
}
td{
  vertical-align: top;
  padding: 0.5rem;
  position: relative;
}
big{
  color: var(--othercolour2);
  font-size: 2rem;
}

 table tr:nth-last-of-type(2n) td,
 table:not(.cke_dialog_contents) tr.classtwo td, 
.season tr:nth-last-of-type(2n) td{
  background-color: var(--darktext);
  color: var(--text); 
}
table.tariff tr.classtwo td{
  background-color: var(--darktext) !important;
  border-bottom: 1px solid var(--black);
}
table.tariff tr.classone td{
  background-color: var(--background) !important;
  border-bottom: 1px solid var(--black);
}
.season tr:nth-last-of-type(2n+1) td{
  background-color: var(--background)
}
.cke_reset_all table tr td{
  background-color: transparent !important;
  color: initial;
}
.bw{
	min-height: 650px;
	max-height: 80vh;
	margin: auto;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;

}
.bw p{
    position: absolute;
    bottom: 0; 
    left: 0;
    background-color: rgba(0,0,0,0.5);
    color: var(--text);
    text-shadow: 3px 3px 3px var(--darktext);
    font-size: 2rem;
    padding: 1rem 3rem; 
    width: calc(100% - 6rem); 
    margin: 0;
}
.bigheader{
    color: var(--text);
    text-shadow: 3px 3px 3px var(--darktext);
    padding: 3rem; 
    font-size: 2rem;
    opacity: 0.7;
}

section a{
    color: #fff; 
    text-decoration: none;
    transition: 0.4s;
}
section a:hover{
  color: var(--colour); 
  text-decoration: underline;
}
.maintext h1, 
.page h1,
.bigheader h2,
section .text h2{
    font-size: 4rem;
    /* font-family: 'Barriecito', cursive; */
    font-family: special_eliteregular, monospace;  
    margin: 0; 
    line-height: 1;
    font-weight: 400;
}
.text h1{
  font-size: 2.5rem;
    /* font-family: 'Barriecito', cursive; */
    font-family: special_eliteregular, monospace;  
  line-height: 1;
  font-weight: 400;
}
section .text h2.hasmargin{
  margin:revert; 
}
.maintext a{
  color: var(--cream); 
}
.maintext,
section .text{
    margin: auto; 
    color: var(--text);
    font-size: 1.25rem;
    max-width: 1000px;
    padding: 2rem; 
    line-height: 1.7;
}
section:nth-last-of-type(2n+1){
  background-color: var(--black);
}
.halfpage:nth-last-of-type(2n+1){
    background-color: var(--dark);
}
.grid{
    display: grid;
}

.halfpage{
    color: var(--text);
    font-size: 1.25rem;
    gap: 1rem;
    margin: 0.5rem; 
}
.lettitle{
    padding: 0 1rem;
    line-height: 1.7; 
}
.halfpage .gridtext{
    padding: 1rem;
    line-height: 1.4; 
}
.halfpage .gridtext h3,
.lettitle h3{
    /* font-family: 'Barriecito', cursive; */
    font-family: 'Special Elite', monospace;  
    font-size: 2rem;
    font-weight: 400;
}
.halfpage .picture{
    background-position: center center;
    background-size: cover;
    min-height: 400px; 
    position: relative;
}
.halfpage .picture::after{
    content: "click me...";
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    color: var(--text);
    font-size: 1.25rem;
    background-color: rgba(0,0,0,0.5);
}
.halfpage .picture a{
    position: absolute;
    inset: 0; 
    z-index: 2;
}
.halfpage .picture a img{
    display: block;
    height: 100%;
    width: 100%;
}
.halfpage .prices,
.maintext .prices,
section .text .prices{
    color: var(--colour); 
}
.mobile{
  display: none;
}
.page{
  height: 300px; 
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.page.contain{
  background-size: contain;
}
.pageinner{
  display: none;
}
.page .bigheader{
  display: none;
}
.grid#pictures{
  display: flex;
  flex-wrap: wrap;
}
.grid#pictures > div{
  flex: 1 1 400px; 
  margin: 5px; 
}
.grid#pictures > div > img{
  width: 100%;
  height: 100%;
}
@supports(display: grid) {
.grid#pictures{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(calc(150px + 15vw), 1fr));
  justify-items: center;
  gap: 10px; 
}
}
#pictures{
margin: 10px 0;
} 
@supports(gap: 10px){
  .grid#pictures > div{
      margin: 0;
  }
}
footer{
  color: var(--text);
  line-height: 1.7;
  font-size: 1.25rem;
}
footer a{
  color: var(--colour); 
  transition: 0.4s;
  text-decoration: none;
}
footer a:hover{
  color: var(--text); 
  text-decoration: underline;
}
footer > div{
  max-width: 1000px;
  margin: auto;
  display: grid;
  gap: 1rem;
  padding: 2rem; 
}
footer img{
  height: 50px;
  width: 50px; 
}
.telgrid{
  display: grid;
  gap: 0.2rem;
}
table tr.greenheading td, 
table th{
  background-color: var(--colour);
  color: var(--black);
  text-align: left; 
  vertical-align: top;
  padding: 0.5rem;
}
.weekday{
  color: var(--colour); 
}
.weekend{
  color: var(--othercolour3); 
}
.notes, 
.marker{
  color: var(--blue);
}
/* calendar */

.months {
	width: 35%;
} 
.monthsselects {
	display: flex;
	margin: 20px auto;
	gap: 20px; 
	flex-wrap: wrap; 
	justify-content: center; 
}
.calendar {
	text-align: center;
	max-width: 400px; 
	margin: 0 auto 2rem auto; 

} 

.caladmin {
	text-align: center;
	width: 450px; 
	margin: auto; 
} 
.formheading a{
	color: #fff;
}
.calheading td{
	padding: 25px;
	background-color: #43724D;
	background-color: var(--colour);
	color: var(--text);
	text-align: center;
	font-weight: bold;
	font-size: 1.25rem;
}
.tabletopmain td {
	text-align: center;
	background-color: var(--othercolour) !important;
	color: var(--text);
	padding: 10px 1px;
} 
.tabletop  {
	text-align: center;
	background-color: var(--darktext) !important; 
	color: var(--text) !important;
	padding: 1rem 1px;
	font-size: 1.25rem !important; 
} 
.calname {
	width: 150px;
	padding: 15px !important;
	text-align: left !important;
  font-size: 1.2rem;
}
.calname a:hover{
  color: var(--text) !important; 
}
.caldiv table .calone td,
.slideright table .calone td,
.caladmin table .calone td,
.slideright table .calone,
.caldiv table tr  td{
	padding: 15px 2px;
	background-color: var(--colour);
	text-align: center;

  color: var(--darktext); 
}
.caldiv table .caltwo td,
.slideright table .caltwo td,
.slideright table .caltwo,
.caladmin table .caltwo td,
.caldiv table tr:nth-last-of-type(2n) td{
	padding: 15px 2px;
	background-color: var(--othergreen);
	text-align: center;
  color: var(--black); 
}
.slideright table .caltwo #booked, 
.caladmin table .caltwo #booked, 
.caldiv table .caltwo #booked,
.caldiv table tr:nth-last-of-type(2n) #booked   {
	background-color: var(--othercolour);
	color: #fff;
	text-align: center;
} 
.slideright table .calone #booked,
.caladmin table .calone #booked, 
.caldiv table .calone #booked,
.caldiv table tr #booked {
	background-color: var(--othercolour2);
	color: #fff;
	text-align: center;
}
.slideright table td.outofseason , 
.caldiv table td.outofseason , 
.caldiv table tr td.outofseason {
  background-color: var(--midgrey);
  color: var(--text); 
}

.dummy{
    color: var(--text);
    font-size: 1.25rem;
}
.dummy td#booked, 
.dummy td#avail, 
.dummy td.outofseason{
	width: 25px;
	height: 25px;
	border: 1px solid var(--dark);
  display: inline-block;
}
.dummy td#booked{
  background-color: var(--othercolour);
}
#avail {
	background-color: var(--colour);
} 
.dummy td.outofseason{
  background-color: var(--midgrey);
}
.cal9 {
	border: 1px solid #C0C0C0;
	width: 25px; 
	height: 25px; 
}
/* .full{
	display: flex; 
	flex-flow: wrap; 
} */
.caldiv {
	display: grid;
	min-height: 270px;
	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: 1000px;
	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; 
}

 td.high::after{
  content: "";
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0; 
  z-index: 0; 
  height: 3px;
  background-color: hotpink; 
} 
/* end calendar */
#map{
	height: 600px;
	max-height: 80vh;
}
.up{
  display: block;
  position: fixed;
  opacity: 0;
  bottom: 2rem;
  right: 2rem; 
  height: 3rem;
  width: 3rem; 
  transition: opacity 1s;
z-index: 3001;
}
.upbutton.up{
  opacity: 0.8;
  transition: 0.3s;
}
.upbutton.up:hover{
  filter: drop-shadow(2px 2px 3px var(--shadow));
  transform: translateY(-2px);
}
.mailto{
  display: none;
}



















@media only screen and ( min-width: 900px ) {
  body{
    position: relative;
  }
  nav{
    position: sticky;
    top: 0; 
    z-index: 30;
  }
  section{
    scroll-snap-align: start;
    scroll-margin: 56px;
  } 
    .halfpage{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .bigheader h2, 
    .page h1{
        font-size: 6rem;
    }
    .lettitle{
      grid-row: 1/2;   
      grid-column: 1/4; 
    }
    .halfpage:nth-child(2n+1) .picture:nth-child(2){
        grid-column: 2/3;
        grid-row: 2/3;
    }
    .halfpage:nth-child(2n+1) .picture:nth-child(3){
      grid-column: 3/4;
      grid-row: 2/3;
  }
    .halfpage:nth-child(2n+1) .gridtext{
        grid-column: 1/2;
        grid-row: 2/3;
    }
    .halfpage.onepicture:nth-child(2n+1) .gridtext{
      grid-column: 1/3;
      grid-row: 2/3;
  }
  .halfpage.onepicture:nth-child(2n) .gridtext{
    grid-column: 2/4;
    grid-row: 2/3;
}
.halfpage.onepicture:nth-child(2n+1) .picture{
  grid-column: 3/4;
  grid-row: 2/3;
}
.halfpage.onepicture:nth-child(2n) .picture{
grid-column: 1/2;
grid-row: 2/3;
}
.halfpage.fourpictures:nth-child(2n) .picture:nth-child(3){
  grid-column: 1/2;
  grid-row: 3/4;
}
.halfpage.fourpictures:nth-child(2n) .picture:nth-child(4){
grid-column: 2/3;
grid-row: 3/4;
}
.halfpage.fourpictures:nth-child(2n+1) .picture:nth-child(3){
  grid-column: 2/3;
  grid-row: 3/4;
}
.halfpage.fourpictures:nth-child(2n+1) .picture:nth-child(4){
grid-column: 3/4;
grid-row: 3/4;
}
.halfpage.fourpictures:nth-child(2n+1) .gridtext{
  grid-column: 1/2;
  grid-row: 2/4;
}
.halfpage.fourpictures:nth-child(2n) .gridtext{
  grid-column: 3/4;
  grid-row: 2/4;
}


    .button-two{
        display: none;
    }
    .page{
      height: 500px; 
  }
  @supports(object-fit: cover){
    .grid#pictures > div > img,
    .grid#pictures > div > a img{
      object-fit: cover;
    height: 100%;
    width: 100%;  
    }
    .grid#pictures > div {
      height: calc(150px + 15vw); 
      width: 100%;
      max-height: 500px; 
    }
    } 
    footer > div{
      grid-template-columns: 1fr 1fr 1fr;
      padding: 2rem; 
    }
    .telgrid{
      grid-template-columns: auto auto; 
    }
    .gallery-cell h2, 
    .gallery-cell p {
      opacity: 0;
      z-index: -1;
    }

    .gallery-cell:not([aria-hidden=true]) h2{
      opacity: 1;
      z-index: 0;
      transition: opacity 2s ease-in-out;
    }
    .gallery-cell:not([aria-hidden=true]) p{
      opacity: 1;
      z-index: 0;
      transition: opacity 2s ease-in-out; 
      transition-delay: 1s;
    }
    .page .bigheader h1{
      animation: fadein 2s;
    }
    .tariff td[data-cell="Accommodation"] span{
      display: none;
    }
    .tariff tr td, 
    .tariff tr th, 
    .right tr th,
    .right tr td, 
    .tariff tr td.rightalign
    {
      text-align: right;
    }
    .tariff tr td.rightalign:first-child
    {
      text-align: right !important;
    }
    .tariff tr td:first-child,
    .tariff tr th:first-child,
    .right tr td:first-child,
    .right tr th:first-child{
      text-align: initial;
    }
    /* .tariff tr:first-child{
      position: sticky;
      top: 56px;
    } */
    .tariff{
      position: relative;
    }
    #calendar input, 
    #calendar select,
    #Availability input,
    #Availability select{
      padding: 0.5rem;
      background-color: var(--colour);
      color: var(--black);
      font-size: 1.25rem;
      border: 0;
      border-radius: 4px;
    }
    .caldiv{
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin: 1rem auto; 
    }
}


  /* wide but not tall */
  @media only screen and ( min-width: 1400px )and ( max-height: 1200px ) {
  .page{
      height: 650px; 
      position: relative;
      z-index: 1;
    }
    .page .bigheader{
      position: relative;
      left: 1rem; 
      top: 30%;
      z-index: 10;
      display: block;
    }
    :not(.contain).page{
      position: relative;
      background-image: none !important;
      overflow-x: hidden;
    }
    :not(.contain) .pageinner{
      inset: auto 0 0 0;
      background-position: center center;
      background-size: cover;
      display: block;
      position: absolute;
      height: 140%; 
    }
    .cottageheader:not(.showh1){
      display: none;
    }
}




@media only screen and ( max-width: 899px )
{
    .button-two {
        --button-color: var(--text);
            background: transparent;
            border: 0;
            margin: auto; 
            height: 80px;
            width: 80px; 
            display: grid;
            align-items: center;
            justify-content: center;
            cursor: pointer;
      }
      .button-two[data-state="closed"] :is(.top, .bottom) {
        animation: to-open-icon 1s forwards;
      }
      
      .button-two[data-state="opened"] :is(.top, .bottom) {
        animation: to-close-icon 1s forwards;
      }
      .button-two .hamburger {
        transition: rotate 800ms 100ms;
      }
      .button-two[data-state="opened"] .hamburger {
        rotate: 1turn;
      }
      
      .button-two .line.top {
        --rotation: -45deg;
        transform-origin: 65px 45px;
      }
      .button-two .line.bottom {
        --rotation: 45deg;
        transform-origin: 60px 55px;
      }
    nav{
        flex-basis: 100%;
        visibility: hidden;
        transform: scaleY(0);
        transition: 0.5s;
        opacity: 0;
        padding: 0;
        animation: fadein 1s;
        display: block;
        height: 0;
        /* position: absolute;
        top: 80px;
        left: 0;
        right: 0; 
        z-index: 50; */
      }
      .button-two[data-state="opened"] + nav,
      .button-two[aria-expanded="true"] + nav{
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
        height: auto; 
    }
    header img{
        margin: 0 auto 1rem auto;
    }
    .halfpage .picture{
      min-height: 400px;
  }
  .slideright {
    overflow-x: auto;
    width: 100%;
    cursor: move;
    max-width: 1200px;
    margin: 0 auto 50px auto;
  }
  .caldiv {
    width: 100%;
  }
  /* .caldiv:first-of-type {
    display: none; 
  } */
  .caldiv .tabletext:last-of-type, #last {
    display: none; 
  }
  .halfpage .gridtext{
    padding: 1rem;
  }
  /* .halfpage .picture{
    background-size: contain;
    background-repeat: no-repeat;
  } */
  .mailto{
    display: block;
    position: absolute;
    right: 1rem;
    top: 1.5rem;
    height: 50px;
    width: 50px;
  }
  .mailto img{
    height: 50px;
    width: 50px;
    border: 0;
    color: #fff;
  }
}


@media only screen and ( max-width: 640px )
{
  header h1{
    font-size: 4rem;
    margin: 0.5rem;
  }
  a[href^="mailto:"], 
  h1,
  h2
{
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-all;
  word-break: break-word;
  hyphens: auto;
}
.maintext, 
section .text,
.halfpage .gridtext,
footer > div,
.lettitle
 {
	padding: 1rem 0.5rem;
}
.lettitle h3{
  margin-block: 0.25rem;

}
  .gallery.js-flickity{
    display: none;
  }
  .halfpage .picture{
    min-height: unset;
    aspect-ratio: 4/3;
}
.bw{
    min-height: 450px;
}
.bw p{
  font-size: 1.5rem;
}
.bigheader h2,
section .text h2, 
.maintext h1{
  font-size: 2.5rem;
}
/* section .text h1{
  font-size: 3rem;
} */
.mobile{
  display: block;
}
.desktop{
  display: none;
}
.gridtext{
  position: relative;
}
.gridtext h4::before{
  content: '';
  background-image: url('/images/number-one.svg');
  background-size: contain;
  height: 50px;
  width: 50px; 
  display: block;
  position: relative;
  bottom: 1rem;
}

.dummy td{
  display: block; 
  margin: auto; 
}
.grid#pictures{
  grid-template-columns: unset; 

}
.grid#pictures > div:first-child{
  display: none;
}
.tariff td, .tariff th,
.season td, .season th{
  padding: 2px 2px; 
  font-size: 0.9rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-all;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.4;
}
/* .tariff .fromto td, 
.season .fromto td{
  font-size: 0.7rem; 
} */
}





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


  .hasdata th{
    display: none;
  }
  .hasdata td{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 1rem !important; 

  }
  .hasdata td::before{
    content: attr(data-cell); 
    display: block;
  
  }


}











@keyframes to-close-icon {
    0% {
      stroke-dashoffset: 0;
    }
    40% {
      stroke-dashoffset: 79.9;
    }
    60% {
      stroke-dashoffset: 79.9;
      rotate: calc(var(--rotation));
    }
    100% {
      stroke-dashoffset: 0;
      rotate: var(--rotation);
    }
  }
  @keyframes to-open-icon {
    0% {
      stroke-dashoffset: 0;
      rotate: var(--rotation);
    }
    40% {
      stroke-dashoffset: 79.9;
      rotate: var(--rotation);
    }
    60% {
      stroke-dashoffset: 79.9;
    }
    100% {
      stroke-dashoffset: 0;
    }
  }

  @keyframes fadein{
    0%{
      opacity: 0;
    }
    100%{
      opacity: 100%; 
    }
  }