/*
Theme Name: The Green Pavilion theme 2022
Theme URI: https://thegreenpavilion.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

Launched February 2022 - Using a RESPONSIVE DESIGN and DESKTOP FIRST approach
*/

body {
  font-family: "Merriweather", serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #605749;
  background: #919f70;

  background-image: url(images/cow-parsley1.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/*Responsive media*/
img,
.wp-caption,
object,
embed,
video {
  max-width: 100%;
  height: auto;
}
/*Image alignment*/
.alignleft,
.caption.alignleft {
  float: left;
  margin: 0em 1.5em 0.5em 0em;
  text-align: left;
}
.alignright,
.caption.alignright {
  float: right;
  margin: 0em 0em 0.5em 1em;
  text-align: right;
}
.aligncenter,
.caption.aligncenter {
  display: block;
  margin: 1em auto;
  text-align: center;
}
.alignnone {
  margin-right: 12px;
}
#container {
  clear: both;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
  padding: 0;

  background-color: #c7d5a7;
  -webkit-box-shadow: 0px 0px 50px -1px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 50px -1px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 50px -1px rgba(0, 0, 0, 0.5);
}

p.caption-text {
  margin-top: 0;
  font-style: italic;
}
#nav {
  font-size: 19px;
  margin: 0px 0px 16px 0px;
}
.fixed {
  position: fixed;
  z-index: 99999;
  width: 100%;
  top: 0;
  left: 0;
}
#header p.sitetitle,
#header h1 {
  font-weight: normal;
  font-size: 38px;
  margin: 0;
  padding: 0;
  letter-spacing: -1px;
  line-height: 1.25em;
  margin-bottom: 0px;
  margin-top: 18px;
}
#header p.sitetitle a:link,
#header p.sitetitle a:visited,
#header h1 a:link,
#header h1 a:visited {
  color: #8d9711;
  text-decoration: none;
}
#header p.sitetitle a:hover,
#header p.sitetitle a:active,
#header h1 a:hover,
#header h1 a:active {
}
#header p.sitetitle span,
#header h1 span {
  font-size: 22px;
  letter-spacing: 0;
}
#header .wifi {
  margin-top: 10px;
}

.content h1 {
  font-size: 30px;
  font-weight: normal;
  margin: 50px 0 24px 0;
  padding: 0;
  color: #958162;
  line-height: 1.5em;
}

.blog .content h1 a {
  color: #668599;
  text-decoration: none;
}

#header p.sleeps {
  font-size: 20px;
  line-height: 1.4em;
  letter-spacing: 0;
  font-weight: normal;
  color: #8c7651;
  margin: 0.5em 0em;
}

#header p.sleeps span {
  font-size: 16px;
  color: #c99646;
}

#header .strapline {
  color: #ffedc3;
  font-size: 18px;
}
h2 {
  font-size: 26px;
  font-weight: normal;
  margin: 44px 0 12px 0;
  padding: 0;
  color: #92713b;
  line-height: 1.5em;
}

h3 {
  font-size: 24px;
  font-weight: normal;
  margin: 2em 0 0.75em 0;
  padding: 0;
  color: #a2b181;
  line-height: 1.25em;
}
p {
  line-height: 1.75em;
  margin: 0 0 24px;
  padding: 0;
}
p strong {
  font-weight: 700;
}
p.intro {
  font-size: 20px;
}
p.wp-caption-text {
  font-size: 14px;
  color: #949494;
  font-style: italic;
}
a:link,
a:visited {
  color: #606060;
  text-decoration: underline;
}
a:hover,
a:active {
  color: #606060;
  text-decoration: underline;
}
/*Overall Container*/

.wp-block-button__link {
  margin: 0.5em 0em;
}

/*Header*/

#header {
  background-color: #fffbf5;
  padding: 0 3% 1.5em 3%;
  color: #ffffff;
  text-align: left;
  padding-top: 20px;
  overflow: auto;
  clear: both;
}
#header a:link,
#header a:visited {
  text-decoration: underline;
  color: #fff4b8;
}
#header a:hover,
#header a:active {
}
a#book-online,
a#book-online:visited {
  padding: 8px 24px;
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 24px;
  letter-spacing: 0.05em;
  background-color: #657072;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  display: inline-block;
}
#header a#book-online:link,
#header a#book-online:visited {
  text-decoration: none;
  color: #ffffff;
  clear: both;
  margin-bottom: 1em;
}

#header a#book-online:hover,
#header a#book-online:active {
  text-decoration: underline;
}

#header img.logo {
  margin-top: 0.5em;
}
.contact {
  float: right;
  text-align: right;
}
.contact img {
  margin-left: 12px;
  margin-bottom: 0px;
}
#header .contact p {
  color: #474f52;
  margin: -4px 0px 0px;
  padding: 0px;
  font-size: 20px;
  line-height: 1.5em;
  letter-spacing: 0em;
  text-align: right;
  font-weight: normal;
  clear: right;
}
#header .contact p a:link,
#header .contact p a:visited {
  color: #474f52;
  text-decoration: underline;
}
#header .contact p a:hover,
#header .contact p a:active {
  color: #474f52;
  text-decoration: underline;
}
#header .contact .icons {
  margin-top: 1em;
}

/*Feature Image*/

#feature {
  background: none;
  text-align: center;
  margin-bottom: 36px;
  line-height: 1em;
}
#feature p.caption {
  font-size: 14px;
  font-style: italic;
  padding-top: 4px;
}

#feature p.caption a:link,
#feature p.caption a:visited {
  color: #605749;
  text-decoration: underline;
}

#feature p.caption a:hover,
#feature p.caption a:active {
  text-decoration: underline;
}

/*Main Content*/

#maincontent {
  clear: both;
  margin: 0 36px;
  padding: 0;
  background: #ffffff;
  overflow: auto;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
}
/*.home #maincontent {
	padding-top: 2em;
}*/
#container #maincontent .content {
  padding-top: 20px;
  padding-right: 26px;
  padding-bottom: 2em;
  padding-left: 26px;
  margin-left: 12px;
  margin-right: 12px;
  overflow: auto;
}

/*Blog box*/
#container #maincontent .content #blog {
  max-width: 240px;
  float: right;
  background-color: #0a4e75;
  color: #ffffff;
  padding: 1.5em 0.5em 0.75em;
  text-align: center;
  margin-top: 2.5em;
  margin-bottom: 2em;
  margin-left: 1em;
  font-size: 1.25em;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#blog h3 {
  margin-top: 0px;
  color: #ffdb86;
  font-size: 30px;
}
#container #maincontent .content #blog a:link,
#container #maincontent .content #blog a:visited {
  color: #ffffff;
  text-decoration: none;
}
#container #maincontent .content #blog a:hover,
#container #maincontent .content #blog a:active {
  text-decoration: underline;
}
#container #maincontent .content #blog ul {
  list-style: none;
  padding-left: 0;
}
#container #maincontent .content #blog ul li {
  margin-bottom: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: solid 2px rgba(255, 255, 255, 0.13);
  line-height: 1.4em;
}

.post {
  margin-top: 2em;
  padding: 0em 2em 3em 2em;
  /*border: solid 1px #9e9e9e;*/
  margin-bottom: 2em;
  overflow: hidden;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  background-color: #edf0f3;
}

#container #maincontent .content ul {
  margin-bottom: 20px;
}
#container #maincontent .content li {
  margin-bottom: 1em;
  line-height: 1.75em;
}
figure {
  margin: 0;
}
figcaption {
  font-style: italic;
  color: #837156;
  font-size: 15px;
  line-height: 1.5em;
}
blockquote {
  display: block;
  background: #fff;
  padding: 22px 20px 15px 50px;
  margin: 2em 0 20px;
  position: relative;
  overflow: hidden;
  width: auto;
  /*Font*/
  font-size: 15px;
  line-height: 1.4;
  /*Borders*/
  border-left: 15px solid #dabf93;
  border-right: 2px solid #dabf93;
  /*Box Shadow*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}
blockquote::before {
  content: "\201C"; /*Unicode for Left Double Quote*/
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  /*Positioning*/
  position: absolute;
  left: 10px;
  top: 0px;
}
blockquote::after {
  /*Reset to make sure*/
  content: "";
}
blockquote a {
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}
blockquote a:hover {
  color: #666;
}
blockquote em {
  font-style: italic;
}
/*Footer*/

#footer {
  padding: 40px 20px 50px;
  text-align: center;
}

#footerinner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#footerinner .box {
  padding: 1em 1em 1.5em 1em;
  margin-bottom: 1em;
  background-color: #818d63;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  text-align: center;
}
#footerinner #box2.box {
  padding: 2em;
}

#footer #footerinner h4 {
  color: #eeffc9;
  font-weight: normal;
  font-size: 24px;
  margin: 1em 1em 0.5em 1em;
}

#footer #footerinner ul {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.75em;
  list-style: none;
  margin: 1em 0 0 0;
  padding: 0;
}

#footer #footerinner ul li {
  margin: 0 0 0.25em 0;
}
#footer #footerinner ul li.copyright {
  font-size: 14px;
  line-height: 1.5em;
  margin-top: 17px;
  color: #ffffff;
}

#footer a:link,
#footer a:visited {
  text-decoration: underline;
  color: #ffffff;
}
#footer a:hover,
#footer a:active {
  text-decoration: underline;
}

#footer #credit {
  margin-top: 3em;
  font-size: 11px;
  /* border: 1px solid #6a7d92; */
  padding: 6px 10px 6px 10px;
  display: inline-block;
  background-color: #dbe7c0;
  -webkit-box-shadow: 2px 2px 4px 0px rgb(106 106 106);
  -moz-box-shadow: 2px 2px 4px 0px rgb(106 106 106);
  box-shadow: 2px 2px 4px 0px rgb(106 106 106);
}
#footer #credit a:link,
#footer #credit a:visited {
  color: #60694a;
  text-decoration: none;
}

#footer #sawdays {
  margin-top: 3em;
  text-align: center;
}

#footer #sawdays img {
  max-width: 172px;
}

#footer #green {
  margin-top: 3em;
  text-align: center;
}
#footer #green img {
	max-height: 90px;
	margin: 12px;
}

/*Miscellaneous*/

#footer .icons {
  float: none;
  margin-top: 0px;
}
.icons img {
  margin-left: 8px;
  border: none;
}
#footer .icons img {
  margin-left: 6px;
  margin-right: 6px;
}
.icons img.button {
  opacity: 0.65;
}
.icons img.button:hover {
  opacity: 1;
}
.shadow {
  -webkit-box-shadow: 2px 2px 30px rgba(50, 50, 50, 0.3);
  -moz-box-shadow: 2px 2px 30px rgba(50, 50, 50, 0.3);
  box-shadow: 2px 2px 30px rgba(50, 50, 50, 0.3);
}

#map_canvas {
  margin-bottom: 26px !important;
}

.nextpage {
  font-size: 21px;
  margin-top: 2em;
  text-align: center;
}

div.wpcf7 .wpcf7-form-control {
  max-width: 100%;
}

.page-id-176 .tablepress tfoot th,
.page-id-176 .tablepress thead th {
  background-color: #ebeadf;
}

body:not(.page-id-36) .grecaptcha-badge {
  display: none;
}

.wp-block-button__link {
  color: #fff;
  background-color: #a7906c !important;
  border: none;
  border-radius: 1.55em;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  font-size: 1em !important;
  padding: 0.667em 1.333em;
  text-align: center;
  text-decoration: none !important;
}

.wp-block-button__link:hover {
  background-color: #89775a !important;
}

.wp-block-button a:link,
.wp-block-button a:visited {
  color: #ffffff;
}

.wp-block-button a:hover,
.wp-block-button a:active {
  color: #ffffff;
}

.content .wp-block-image.is-style-rounded img {
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
}

a#button,
a#button:visited {
  padding: 8px 24px;
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 20px;
  background-color: #a48b62;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  display: inline-block;
}
#header a#button:link,
#header a#button:visited {
  text-decoration: none;
  color: #ffffff;
  clear: both;
  margin-bottom: 1em;
}
#header a#button:hover,
#header a#button:active {
  text-decoration: none;
  background-color: #635845;
}

.content .wp-block-separator {
  border-top: 1px solid #c7d5a7;
  border-bottom: none;
  margin-top: 2em;
  margin-bottom: 3em;
}

/* Reset table paragrpah styling */
#maincontent .wp-block-kadence-table p {
	margin-bottom: 0;
}




/* FIRST Media Breakpoint - less than 1080px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 1080px) {
  body {
    background-image: none;
  }
  #header {
    margin-top: 0;
  }
  #header h2 {
    font-size: 26px;
  }
}

/* Media Breakpoint - less than 850px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 850px) {
  .content .wp-block-image .aligncenter, .wp-caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .content .wp-block-image .alignleft, .wp-caption.alignleft, .content .wp-block-image .alignright, .wp-caption.alignright, .content .wp-block-image .aligncenter, .wp-caption.aligncenter, .content .wp-block-image .alignnone {
    float: none;
    margin: 1em auto 1.5em auto;
    display: block;
    text-align: center;
  }
  .content .wp-block-image figcaption {
    text-align: center;
    display: block!important;
  }
}

/* Media Breakpoint - less than 822px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 822px) {
  #header {
    text-align: center;
  }
  #header h1,
  #header p.sitetitle,
  #header h2,
  #header p.sleeps {
    text-align: center;
  }
  #header h1 span {
    display: block;
  }
  #header .contact {
    display: none;
  }
}

/* Media Breakpoint - less than 816px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 816px) {
  #header .icons {
    display: none;
  }
}

/* Media Breakpoint - less than 780px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 780px) {
  .logged-in #nav {
    margin-top: 0px;
  }
}

/* Media Breakpoint - less than 450px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 450px) {
  #header {
    padding-top: 0;
  }

  #header h1,
  #header p.sitetitle {
    font-size: 36px;
  }
  .content h1 {
    font-size: 32px;
  }
  #header p.sitetitle span,
  #header h1 span {
    font-size: 28px;
    display: block;
  }
  #header p.sleeps {
    font-size: 18px;
	  line-height: 1.5em;
  }
  #header p.wifi {
    display: none;
  }
  #maincontent {
    margin: 0 20px;
  }
  #container #maincontent .content {
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Media Breakpoint - less than 436px
-------------------------------------------------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 436px) {
  h2 {
    margin-top: 20px;
    font-size: 28px;
  }
  h3 {
    font-size: 21px;
  }
  #container #maincontent .content ul {
    padding-left: 1.5em;
  }
  .nextpage {
    font-size: 22px;
  }
  #container #footer .small {
    line-height: 1.1em;
    margin-bottom: 0.5em;
  }
  #footer p {
    font-size: 16px;
  }
}
