/*
Theme Name:  Burgoynes Lyonshall. Child of Bootstrap Basic.
Theme URI:  https://www.woodcockwebservices.co.uk
Description:  Theme for Burgoynes Lyonshall./*
Author:  Ben Woodcock
Textdomain:  woodcockwebservices
Author URI:  https://www.woodcockwebservices.co.uk
Template:  bootstrap-basic
Version:  1.0
License:  GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html                 
*/


:root {
  --background: #FFFFFF;
  --lightgreen: #79b500;
  --midgreen: #338735;
  --darkgreen: #006902;
  --darkgreenhover: #2f6351;
}

.col-sm-6, .col-12, .col {
	/*border: 1px solid red!important;*/
}

/*GENERAL*/

body {
	font-family: "Archivo", sans-serif;
	color: #333333;
	background-color: var(--background);
	font-size: 1.2em;
}

h1, h2, h3 {
	font-family: "AdverGothic Web", sans-serif;
}

h1, h2 {
	font-size: 3em;
	color: var(--darkgreen);
	margin-bottom: 20px;
}

h1 {
	text-align: center;
}

p {
	font-size: 1.6em;
	text-align: center;
    margin: auto;
	margin-bottom: 30px;
}
ul {
	font-size: 1.2em;
}

@media (min-width: 768px) { 
p {
	font-size: 1.2em;
	text-align: left;
}
}

@media (min-width: 992px) { 
p {
	font-size: 1.6em;
	text-align: left;
}
ul {
	font-size: 1.6em;
}
}


a {
	text-decoration: none;
	color: var(--midgreen);
}

a:hover {
	text-decoration: none;
	color: var(--midgreenhover);
}



/*MOBILE HEADER*/

.header {
	margin-top: 20px;
	margin-bottom: 10px;
}

header a {
	color: #fff;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

.sticky {

    position: fixed;
    z-index: 99;
    right: 0;
    left: 0; 
	background-color: var(--midgreen);
	height: 100px;
}

.xs-logo {
	text-align: center;
}

.xs-logo img {
	width: 250px;
}

.navbar-toggle {
    position: relative;
    margin: auto;
    background-color: #fff!important;
    background-image: none;
    border: none;
    border-radius: 4px;
	float: none;
	left: 10px;
	margin-bottom: 10px;
}

.navbar-toggle .icon-bar {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--midgreen);
}

.navbar-default, .navbar-default .navbar-toggle:hover, .navbar-header {
    background-color: var(--midgreen);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	background-image: none;
	border: none;
	
}

/*HEADER*/

#content {
	margin-top: 150px;
}

@media (min-width: 768px) { 

#content {
	margin-top: 115px;
}

.header {
	margin-top: 10px;
	margin-bottom: 10px;
}

 }
 
 .logo {
	 text-align: center;
 }

.logo img {
	width: 250px;
	margin-top: 15px;
}

@media (min-width: 768px) and (max-width: 991.98px) { 

.logo img {
	width: 200px;
	margin-top: 20px;
}
}

/*MENU*/

.navbar-nav {
    float:left;
    display: table;
    table-layout: fixed;
	margin:0px 0px;
}

.navbar-default {
	padding-top: 10px;
}

.navbar-collapse {
	border-top: 1px solid var(--midgreen)!important;
	border-bottom: 1px solid var(--midgreen)!important;
}

/* Common hover/focus styles */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-nav > li > a:active {
    color: #fff;
    text-decoration: underline 2px #fff;
    text-underline-offset: 4px;
}

/* Active state */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: var(--midgreen);
    background-image: none;
    box-shadow: none;
    text-decoration: underline 2px #fff;
    text-underline-offset: 4px;
}


@media (min-width: 768px) { 

.navbar-nav {
	margin:0 30px;
	float: left;
}

.navbar-default {
	padding-top: 10px;
}

.navbar-collapse {
    border: none!important;
	border-color: #EFF4F2!important;
}
}

.navbar-burgoynes {
	font-size: 1.7em;
}

@media (min-width: 768px) and (max-width: 991.98px) { 
.navbar-burgoynes {
	font-size: 1.1em;
}

.nav>li>a {
	padding: 10px 5px;
}
}

@media (min-width: 992px) and (max-width: 1399.98px) { 
.navbar-burgoynes {
	font-size: 1.3em;
}
}


.navbar-default  .navbar-default .navbar-form {
    border: none;
	border-color: #EFF4F2;
}


.navbar {
	border: none;
	margin-bottom: 0px;
}

.navbar-default .navbar-nav>li>a {
	color: #fff;
	transition: color 0.2s ease;
}

.navbar-brand, .navbar-nav>li>a {
    text-shadow: none;
}



/*CONTENT*/

#main-column .post, #main-column .page {
    border: none;
    margin-bottom: 20px;
    padding: 10px;
}


.entry-content {
	margin: 0 5%;
}

@media (min-width: 768px) { 
.entry-content {

}
}

@media (min-width: 992px) { 
.entry-content {
	margin: 0 15%;
}
}

.entry-content img {
	border-radius: 15px;
}

/* Gutter system: horizontal always, vertical only between rows */
.tile-grid,
.tile-grid .row{
  margin-left: -8px;
  margin-right: -8px;
}

.tile-grid > [class*="col-"],
.tile-grid .row > [class*="col-"]{
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 16px; /* vertical gap */
  padding-top: 0;       /* <-- no top offset */
}

/* Remove bottom padding on last row items */
.tile-grid .row > [class*="col-"]{
  padding-bottom: 0;
}

  .tile-grid .row > [class*="col-"]{
    padding-bottom: 16px;          /* gap between top row and bottom row */
  }
  .tile-grid .row > [class*="col-"]:nth-last-child(-n+2){
    padding-bottom: 16px;             /* last two tiles (bottom row) gap on mobile */
  }
  
/* Now add vertical gap only between the two right-hand rows */
@media (min-width: 576px){
  .tile-grid .row > [class*="col-"]{
    padding-bottom: 16px;          /* gap between top row and bottom row */
  }
  .tile-grid .row > [class*="col-"]:nth-last-child(-n+2){
    padding-bottom: 0;             /* last two tiles (bottom row) no gap under */
  }
}


/* Your tile styles (keep) */
.tile{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}

.tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 15px;
  background: var(--darkgreen);
  color: #fff;
  font-weight: 400;
  font-size: 2.5rem;
}

/* Equal-height behavior on sm+ */
@media (min-width: 576px){
  .tile-lg, .tile-sm { height: 100%; min-height: 0; }
}

/*Tile Hover Effects*/
/* Image zoom */
.tile img{
  transition: transform 700ms ease;
}
.tile:hover img{
  transform: scale(1.01);
}
.no-hov:hover img{
  transform: scale(1)!important;
}

/* Overlay */
.tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.15);
  opacity:0;
  transition: opacity 220ms ease;
  pointer-events:none;
}
.tile:hover::after{
  opacity:1;
}
.no-hov:hover::after{
  opacity:0!important;
}

/* Badge lift */
.tile-badge{
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.tile:hover .tile-badge{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}


@media (prefers-reduced-motion: reduce){
  .tile img,
  .tile::after,
  .tile-badge{
    transition: none;
  }
}

@media (min-width: 768px) { 
.tile-badge{
  font-size: 1.6rem;
}
}

/*Content Logos*/

.w-100 .page-logo {
	border-radius: 0px;
}

.w-100 {
	text-align: center;
}

.w-100 .page-logo {
	max-width: 200px;
	padding-top: 20px;
	padding-bottom: 20px;
}

@media (min-width: 768px) { 

.w-100 {
	text-align: left;
} 

.w-100 .page-logo {
	max-width: 175px;
	padding-top: 0px;
	padding-bottom: 20px;
}

}

/*Content text*/

.tile p {
	
}

/*BUTTONS*/
.wp-block-button__link{
  padding: 6px 12px;
  border-radius: 15px;
  background: var(--darkgreen);
  color: #fff;
  font-weight: 400;
  font-size: 1.7rem;
}


.wp-block-button{
  transition: transform 220ms ease;
}

 .wp-block-button:hover{
  transform: translateY(-2px);
  color: #fff!important;
}

@media (max-width: 767px) {
  .wp-block-buttons {
    justify-content: center;
  }
}


/*FOOTER*/
#site-footer {
	background-color: var(--midgreen);
	border-top: 0px;
	color: #fff;
}

.footer {
	margin-left: -15px;
    margin-right: -15px;
}

#site-footer .col-sm-4 p {
	margin-top: 20px;
	text-align: center;
	font-size: 1em;
	width: 100% !important;
}

#site-footer ul li{

	margin-right: 20px;
}

#site-footer a{
	color: #fff;
	transition: color 0.2s ease;
}

#site-footer a:hover{
	color: var(--darkgreenhover);
	text-decoration: none;
}

#site-footer ul {
	list-style-type: none; 
	padding: 0;
	margin: 0; 
}



@media (min-width: 768px) { 
#site-footer .col-sm-4 {
	text-align: left;
}
}



