/*
Theme Name: Northern Escapes 2020
Theme URI: https://www.northernescapes.co.uk/
Description: A WordPress powered website with a custom theme (design)
Author: Josh.biz Web Design
Author URI: https://www.josh.biz
Version: 1.0

Designed Autumn 2020 - Using a RESPONSIVE DESIGN and DESKTOP FIRST approach
*/
/*--------------------------------------------------------------
CSS Reset
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
}
img {
  display: block;
  border: 0;
  max-width: 100%;
  height: auto;
}
/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
/* Webfont: SwingSetBB */
@font-face {
  font-family: "SwingSetBB";
  src: url("fonts/SwingSetBB.eot"); /* IE9 Compat Modes */
  src: url("fonts/SwingSetBB.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("fonts/SwingSetBB.woff") format("woff"),
    /* Modern Browsers */ url("fonts/SwingSetBB.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("fonts/SwingSetBB.svg#SwingSetBB")
      format("svg"); /* Legacy iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}
body,
button,
input,
select,
textarea {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
h1,
h2,
h3 {
  margin: 0;
  padding: 1em 0;
}
#sitetitle {
  font-family: "SwingSetBB", Georgia;
  font-size: 96px;
  line-height: 1em;
  text-shadow: 3px 3px 6px #404040;
}
#sitetitle a:link,
#sitetitle a:visited {
  color: #ffffff;
  text-decoration: none;
}
#sitetitle a:hover,
#sitetitle a:active {
  color: #ffffff;
  text-decoration: none;
}
header #hdrcontact {
  float: right;
  color: #dbc4e1;
  font-size: 34px;
}
h1 {
  font-weight: normal;
  margin: 0.75em 0 0.25em 0;
  padding: 0;
  color: #a185a8;
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.25em;
}
.home h1 {
  font-size: 36px;
}
.single-post h1 {
  margin-bottom: 0.5em;
}
h2 {
  font-size: 24px;
  color: #9972a2;
  color: #767377;
  line-height: 1.5em;
  margin: 1em 0 0;
  padding: 0;
}
h3 {
  font-size: 20px;
  color: #9d6baa;
  line-height: 1.5em;
  margin: 1.5em 0 0;
  padding: 0;
}
p {
  margin: 0;
  padding: 1em 0;
}
/*--------------------------------------------------------------
Everything else
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background-color: #43254a;
  color: #5f5f5f;
  background-image: url("images/bg.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
a:link,
a:visited {
  color: #4c4c4c;
}
a:hover,
a:active {
  color: #4c4c4c;
}
#wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  margin: 0 auto;
  max-width: 1260px;
  padding: 0;
}
nav,
header,
#summaryinfo,
footer,
#otherwelcomeescapes {
  grid-column: 1/3;
}
.page-template-full-width main,
.blog main,
.single main {
  grid-column: 1/3;
}
nav,
header,
main,
aside,
#summaryinfo,
footer,
#otherwelcomeescapes {
  padding: 1em 2em;
}

/* Reduce main padding (calendar display on small screens) - less than 330px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 330px) {
nav, header, main, aside, #summaryinfo, footer, #otherwelcomeescapes {
  padding: 1em 0.75em;
}
}

header {
  background-color: #744181;
  color: #ffffff;
  padding-top: 2em;
}
nav {
  padding: 0 2em 1em 2em;
  background-color: #744181;
  color: #ffffff;
}
main {
  background-color: #ffffff;
  padding-bottom: 4em;
}
.page-id-1160 main {
  padding: 1em 2.5em 4em 2.5em;
}
aside {
  background-color: #ffffff;
  padding: 5em 2em 2em 0em;
}
.sidebarbox {
  margin-bottom: 2em;
  padding: 1em 1.5em 1.5em 1.5em;
  background-color: #606060;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  color: #ffffff;
  font-size: 16px;
  overflow: hidden;
}
.sidebarbox#cottages {
  background-color: #999999;
}
.sidebarbox h3 {
  color: #dbc5e3;
  margin: 0.5em 0 0 0;
  padding: 0.25em 1em;
  text-align: center;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
  background-color: #434343;
  font-weight: 400;
  font-size: 20px;
  display: table;
}
.sidebarbox#usefulwebsites h3 {
  font-size: 26px;
  margin: 1em 0 0.75em 0;
}
.sidebarbox ul {
  margin-top: 0px;
  padding-left: 1.5em;
}
.sidebarbox#usefulwebsites ul,
.sidebarbox#nicetohave ul,
.sidebarbox#nicetoknow ul {
  margin-top: 0.5em;
}
.sidebarbox#usefulwebsites ul li {
  margin-bottom: 8px;
}
.sidebarbox ul li span {
  font-size: 20px;
  color: #f2cdff;
}
.sidebarbox#booking #bookingcalendar {
  margin-right: 15px;
}
.sidebarbox a:link,
.sidebarbox a:visited {
  color: #ffffff;
}
.sidebarbox a:hover,
.sidebarbox a:active {
}
.sidebarbox img.wifi {
  max-width: 200px;
  float: right;
}
.sidebarbox .social {
  margin: 1em 0.5em;
  display: inline-block;
}
.page-id-19 .sidebarbox#contact {
  display: none;
}
.sidebarbox #sidebarcottages #cottage {
  padding: 1.5em;
  background-color: #58475d;
  margin-top: 1em;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  border-radius: 18px;
}

.sidebarbox #sidebarcottages #cottage h4 {
  color: #e6caed;
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-size: 18px;
}

.sidebarbox #sidebarcottages #cottage h4 a:link,
.sidebarbox #sidebarcottages #cottage h4 a:visited {
  text-decoration: none;
  color: #fae8ff;
}

.sidebarbox #sidebarcottages #cottage h4 a:hover,
.sidebarbox #sidebarcottages #cottage h4 a:active {
  text-decoration: underline;
}

/*Sidebar Button styling*/
.sidebarbox a.button,
.sidebarbox .single-post .postnavbuttons a {
  vertical-align: middle;
  padding: 5px 17px;
  border-radius: 26px;
  text-decoration: none;
  font-size: 17px;
  display: table;
  margin: 1.5em 0 0em 0;
  line-height: 1.6em;
  background: #3e2f42;
}
.sidebarbox a.button:link,
.sidebarbox a.button:visited {
  color: #ffffff;
  text-decoration: none;
}
.sidebarbox a.button:hover,
.sidebarbox a.button:focus {
  text-decoration: none;
  background: #454e59;
  color: #ffffff;
}
.sidebarbox a.button:active {
  background: #535e6b;
}
footer {
  background-color: #63476a;
  color: #fbfbfb;
  padding-bottom: 1em;
  text-align: center;
}
footer h3 {
  font-family: "SwingSetBB", Georgia;
  font-size: 60px;
  line-height: 1em;
  color: #fbf0fe;
  font-weight: normal;
  margin: 0.5em 0 0;
  padding: 0;
  text-shadow: 3px 3px 6px #404040;
}
footer p {
  font-size: 12px;
  color: #efddf4;
}
footer p span {
  font-size: 18px;
}
footer a:link,
footer a:visited {
  color: #fbfbfb;
  text-decoration: none;
}
footer a:hover,
footer a:active {
  color: #fbfbfb;
  text-decoration: underline;
}
footer #credit {
  text-align: right;
  font-size: 11px;
  border-top: 1px solid #797979;
  border-bottom: 1px solid #797979;
  padding: 3px 6px 3px 6px;
  display: inline-block;
  float: right;
}
/*Other Welcome Escapes*/
#otherwelcomeescapes {
  background-color: #474747;
  text-align: center;
  padding-bottom: 0em;
}
#otherwelcomeescapes h3 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.5em;
  margin: 2em 0 0.5em;
  padding: 0 0 0.5em;
  color: #bbbbbb;
  border-bottom: solid 1px #626262;
}
#otherwelcomeescapes #sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2em;
}
#otherwelcomeescapes section {
  padding: 0 1em;
  text-align: center;
}
#otherwelcomeescapes #sections section a.removelinkdefault:link,
#otherwelcomeescapes #sections section a.removelinkdefault:visited {
  text-decoration: none;
}
#otherwelcomeescapes .crosslink#northnorfolkescapes {
  background-color: #47678e;
}
#otherwelcomeescapes .crosslink#southernescapes {
  background-color: #803f45;
}
#otherwelcomeescapes p.strapline {
  font-size: 15px;
  color: #f3f3f3;
  padding: 0.5em 1em;
}
#otherwelcomeescapes .crosslink div {
  position: relative;
  text-align: center;
  color: white;
}
#otherwelcomeescapes .crosslink h4 {
  font-family: "SwingSetBB", Georgia;
  font-size: 44px;
  line-height: 1em;
  font-style: normal;
  font-weight: normal;
  margin: 0;
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  color: #ebebeb;
  padding: 15px;
  text-align: center;
}
#otherwelcomeescapes p.linkurl {
  font-size: 15px;
  color: #d2d2d2;
  background-color: #303030;
  letter-spacing: 1px;
}
#otherwelcomeescapes p.linkurl:hover,
#otherwelcomeescapes p.linkurl:active {
  color: #ffffff;
}
#otherwelcomeescapes #credit {
  font-size: 11px;
  border-top: 1px solid #626262;
  border-bottom: 1px solid #626262;
  padding: 3px 6px 3px 6px;
  display: inline-block;
  margin: 6em 1em;
}
#otherwelcomeescapes #credit a:link,
#otherwelcomeescapes #credit a:visited {
  color: #bbbbbb;
  text-decoration: none;
}
/*Reviews Page Styling*/
.reviewtext {
  font-family: "Indie Flower", cursive;
  font-size: 22px;
}
.reviewtext p {
  padding: 0.5em 0;
}
.reviewtext p:first-child::before,
#featuredreview p:first-child::before {
  content: "\275D\0020";
}
.reviewtext p:last-child::after,
#featuredreview p:last-child::after {
  content: "\0020\275E";
}
/*Review box (home page) styling*/
#featuredreview {
  max-width: 96%;
  background-color: rgba(255, 254, 242, 1);
  color: #5f5f5f;
  font-family: "Indie Flower", cursive;
  font-size: 22px;
  padding: 0.5em 1.5em 1em 1.5em;
  border: 1px solid rgba(183, 182, 169, 1);
  border-radius: 8px;
  box-shadow: 5px 5px 10px 0 rgba(149, 149, 149, 0.5);
  margin: 2em 0 0 0;
}
#featuredreview .credit {
  display: block;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  text-align: right;
}
.alignleft,
.wp-caption.alignleft {
  float: left;
  margin: 0em 1.5em 1.5em 0em;
  text-align: left;
}
.alignright,
.wp-caption.alignright {
  float: right;
  margin: 0em 0em 1.5em 1.5em;
  text-align: right;
}
.aligncenter,
.wp-caption.aligncenter {
  display: block;
  margin: 1em auto;
  text-align: center;
}
p.wp-caption-text {
  margin-top: 0;
  font-style: italic;
}
.wp-block-image {
  margin: 0;
}
#summaryinfo {
  display: flex;
  background-color: #faebd7;
  padding-bottom: 2em;
}
#summaryinfo div {
  width: 50%;
  padding: 0 2em;
}
#summaryinfo h3 {
  font-size: 32px;
  margin-top: 1em;
}
#summaryinfo ul {
}
#summaryinfo ul li {
  margin-bottom: 0.5em;
}
/*Button styling*/
a.button,
.single-post .postnavbuttons a {
  text-align: center;
  vertical-align: middle;
  padding: 12px 32px;
  border-radius: 26px;
  background: #797979;
  color: #ffffff;
  text-decoration: none;
  font-size: 19px;
  display: table;
  margin: 1.5em auto 0em auto;
  line-height: 1.6em;
}
a.button:link,
a.button:visited {
  color: #ffffff;
  text-decoration: none;
}
a.button:hover,
a.button:focus {
  color: #ffffff;
  text-decoration: none;
  background: #666666;
}
a.button:active {
  background: #525252;
}
/*Sign-up box styling and all buttons */
#signup {
  background-color: #fcf2ff;
  margin: 5em 2em 4em;
  padding: 2em;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  text-align: center;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    16px 9px 15px 8px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 16px 9px 15px 8px rgba(0, 0, 0, 0);
}
#signup h2 {
  color: #8f6e98;
  margin-top: 0;
}
#signup a.button,
a.wp-block-button__link {
  background: #9870a3;
  color: #ffffff;
}
a.wp-block-button__link {
  margin: 1em 0em 1em 0em;
}
#signup a.button:link,
a.button:visited,
a.wp-block-button__link:link,
a.wp-block-button__link:visited {
  color: #ffffff;
}
#signup a.button:hover,
#signup a.button:focus,
a.wp-block-button__link:hover,
a.wp-block-button__link:focus {
  color: #ffffff;
  background: #744181;
}
#signup a.button:active {
  background: #713281;
}
.blog h2 a:link,
.blog h2 a:hover {
  text-decoration: none;
}
/*.single-post figure {
  background-color: #333333;
  padding: 2em;
}*/
.single-post figure img {
  margin: 0 auto;
}
/*Content Columns*/
main .content-column {
  margin-top: 2em;
}
main .one_half {
  padding-right: 1em;
}
main .last_column {
  padding-left: 1em;
  padding-right: 0;
}
/* Contact Form 7 Styles
---------------------------------*/
.wpcf7 {
  background-color: #f0f0f0;
  margin-top: 0.5em;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    16px 9px 15px 8px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 16px 9px 15px 8px rgba(0, 0, 0, 0);
  border-radius: 24px;
  padding-bottom: 1em;
}
.wpcf7-form {
  margin: 1em 2em 2em 2em;
  padding-top: 1em;
}
.wpcf7-textarea {
  width: 85%;
}
.wpcf7-text {
  width: 50%;
}
.wpcf7-submit {
  background: #666666;
  border: none;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  padding: 12px 32px;
  border-radius: 26px;
  color: #ffffff;
  text-decoration: none;
  font-size: 19px;
  display: table;
  margin: 1.5em 0em 0em 0em;
  line-height: 1.6em;
}
/*Misc*/
.n2-section-smartslider {
  margin-bottom: 2em;
}

hr {
	margin: 3em 1em;
}

/* FIRST Media Breakpoint - less than 800px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
  #sitetitle {
    text-align: center;
  }
  header #hdrcontact {
    display: none;
  }
  main,
  aside {
    grid-column: 1/3;
  }
  main {
    padding-bottom: 1em;
  }
  aside {
    padding: 0em 2em 1em 2em;
  }
  .aligncenter,
  .wp-caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .alignleft,
  .wp-caption.alignleft,
  .alignright,
  .wp-caption.alignright,
  .aligncenter,
  .wp-caption.aligncenter,
  .alignnone {
    float: none;
    margin: 1em auto;
    display: block;
  }
  .alignleft p.wp-caption-text,
  .alignright p.wp-caption-text {
    text-align: center;
  }
}
/* Media Breakpoint - less than 700px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 700px) {
  #summaryinfo {
    flex-direction: column;
  }
  #summaryinfo div {
    width: 100%;
    padding: 0 2em;
  }
  #signup {
    margin: 5em 0em 1.5em;
  }
}
/* Media Breakpoint - less than 680px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 680px) {
  #otherwelcomeescapes {
    padding: 1em;
  }
  #otherwelcomeescapes #sections {
    grid-template-columns: 1fr;
  }
  #otherwelcomeescapes section {
    margin-bottom: 2em;
  }
}
/* Media Breakpoint - less than 540px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 540px) {
  #sitetitle {
    font-size: 62px;
  }
  h1 {
    font-size: 32px;
  }
  footer h3 {
    font-size: 42px;
  }
  #featuredfeedback {
    max-width: 100%;
  }
  /* Contact Form 7 Styles
---------------------------------*/
  .wpcf7-form {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
  }
  .wpcf7-textarea {
    width: 100%;
  }
  .wpcf7-text {
    width: 100%;
  }
  .single-post figure {
    padding: 1em;
  }
}

/* Media Breakpoint - less than 400px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 400px) {
  #wrapper {
    display: grid;
    grid-template-columns: 1fr;
  }
}
