/*
Theme Name: Woodhayes
Theme URI: https://www.digitex.co.uk
Author: Digitex
Author URI: https://www.digitex.co.uk
Description: A child theme for TT2.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo-child
Template: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/

.page-template-default {
  background-image: url(images/woodhayesbg.gif);
}

.wp-site-blocks {
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 30%);
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px;
}

.head-contact {
  display: flex;
  justify-content: center;
}

.head-items {
  text-align: center;
  margin-bottom: 0;
}

.head-items .wp-block-image {
  margin-bottom: 0;
}

header .wp-block-social-links {
  justify-content: center;
  margin: 0 auto;
}

.wp-block-nextend-smartslider3 {
  margin: auto -10px;
  display: none;
}

/**
* Navigation
*/

.wp-block-navigation__container {
  gap: 5px;
}

.wp-block-navigation__responsive-container-content {
  border-top: dotted 2px var(--wp--preset--color--accent);
  padding-top: 10px;
}

.wp-block-navigation__responsive-container-open {
  background-color: var(--wp--preset--color--primary);
  border-radius: 5px;
  padding: 5px;
  color: #fff;
}

header .wp-block-navigation .current-menu-item{
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--background);
}

.wp-block-navigation .current-menu-item .wp-block-navigation-item__content{
  color: var(--wp--preset--color--background);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation__submenu-container {
  padding-top: 0.4em;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container{
  gap: .4em;
}

.wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container{
  min-width: 215px;
}

h2.wp-block-post-title {
  border-top: dotted 2px var(--wp--preset--color--accent);
  border-bottom: dotted 2px var(--wp--preset--color--accent);
  padding: 10px 0;
}

/* Gallery Modal */
.bod-block-popup-overlay{
	background-color: rgba(0,0,0,.6)!important;
}

.bod-block-popup-wrap .bod-block-popup{
	max-height: 80%;
}

.bod-block-popup-wrap .bod-block-popup-closer{
	top: 30px;
	background-color: rgba(255,255,255,1);
}

.bookingformbutton a{
  display: flex;
  column-gap: 10px;
  align-items: center;
}

.bookingformbutton svg{
  width: 24px;
  height: 24px;
}

footer .footermenu {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

footer .footermenu .wp-block-navigation__container{
  gap: 0;
}

footer .footermenu .wp-block-navigation-item {
  flex: 1 1 auto;
  text-align: center;
  padding: 0 5px;
  margin: 0;
}

footer .footermenu .wp-block-navigation-item .wp-block-navigation-item__content {
  text-decoration: none;
  font-weight: bold;
  color: var(--wp--preset--color--accent);
}

footer .footermenu .wp-block-navigation-item{
    border-right: 0;
}

footer .footermenu  li + li {
  border-left: 1px solid var(--wp--preset--color--accent);

  margin-left: 5px;
  padding-left: 5px;
}

.footlogos {
  border-top: dotted 2px var(--wp--preset--color--accent);
}

.footlogos p {
  flex: 1 1 22%;
}

/* Home CTAs */
.homectas{
  row-gap: 50px;
}

.homectas h4{
  margin-top: -35px;
  background-color: var(--wp--preset--color--background);
}

.homectas h4 a{
  text-decoration: none;
}

.homectas h4 a:hover{
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.homectas .playbutton{
  color: var(--wp--preset--color--primary);
  width: 50px;
  height: 50px;
  margin: 0 auto;
  transform: translateY(35px);
}

.bod-btn{
  border: none;
}

/** About page **/
.about-cols .wp-block-group{
	height:100%;
}

/**
* Booking form
*/

.bookingform{
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  flex-direction: column;
}

.wpcf7 label{
  font-weight: 700;
}

.wpcf7-form-control-wrap{
  margin: 5px auto;
  display: inline-block;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea{
  border: 1px solid var(--wp--preset--color--primary);
  font-size: 1.2em;
}

.wpcf7-submit{
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  font-size: 20px;
  padding: 5px;
}

.wpcf7-submit:disabled{
  background-color: #cccccc;
}

/**
* Responsive styles
*/
@media (min-width: 600px) {
  .head-items {
    text-align: left;
  }

  header .wp-block-social-links {
    justify-content: flex-end;
  }

  .wp-block-navigation ul li {
    padding: 5px 10px;
    border-right: 1px solid var(--wp--preset--color--accent);
  }

/**
* Navigation
*/

  .wp-block-navigation .wp-block-navigation-item__content {
    color: var(--wp--preset--color--foreground);
  }
  .wp-block-navigation li:hover {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    text-decoration: none !important;
  }

  .wp-block-navigation li:hover .wp-block-navigation-item__content {
    color: #fff;
  }

  .wp-block-navigation .wp-block-navigation__submenu-container li {
    padding: 0;
  }

  .wp-block-nextend-smartslider3 {
    margin: auto -10px;
    display: block;
  }

  .bookingform{
    flex-direction: row;
  }

}

@media (min-width: 781px) {
  .footmidcol {
    border-left: dotted 2px grey;
    border-right: dotted 2px grey;
    padding: 0 20px;
  }
  .homectas{
    row-gap: inherit;
  }
}
