/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


body { background-color:transparent}

#page {padding:0 10px}

.inside-header {position:relative;padding:0;min-height:90vh}
.site-logo {z-index:2;position:absolute;bottom:0;}
.site-logo a {text-decoration:none!important}

.site-logo span {color:white;font-size:2em;position:absolute;bottom:50px;right:20px}


.language-flags {z-index:2;position:absolute;top:20px;right:20px}


li.lang-item {list-style-type:none}
li.lang-item img {width:40px}



.crossfade > figure {
  animation: imageAnimation 30s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
}


.crossfade > figure:nth-child(1) { background-image: url('/wp-content/uploads/2023/06/slide-show-1.jpg'); }

.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('/wp-content/uploads/2023/06/slide-show-2.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('/wp-content/uploads/2023/06/slide-show-3.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url('/wp-content/uploads/2023/06/slide-show-4.jpg');
}
.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('/wp-content/uploads/2023/06/slide-show-3.jpg');
}

article article .text-image {max-width:1400px;margin:0 auto}

article footer.entry-meta .cat-links, article footer.entry-meta .comments-link, article article header.entry-header  {display:none}



article#post-28 footer {clear:both;background:transparent url('/wp-content/uploads/2023/06/roll-under1.jpg') center center no-repeat fixed;height:400px;background-size:contain}
article#post-25 footer {clear:both;background:transparent url('/wp-content/uploads/2023/06/roll-under2.jpg') center center no-repeat fixed;height:400px;background-size:contain}

article .post-image {margin-left:0;margin-right:0;margin-bottom:40px;margin-top:0!important}
article .post-image {width:50%;float:right;}
article .post-image img {display:block;margin:0 auto}
article#post-25 .post-image  {float:left;margin-left:0}

article .entry-summary {font-size:2em}


.wpcp-carousel-wrapper {clear:both;width:100%}


article#post-66 .inside-article {padding:0;margin:0;padding-top:0!important}
article#post-66 article .entry-summary {padding:0;margin:0;margin-top:40px}
article#post-96 .inside-article {padding:0;margin:0;padding-top:0!important}
article#post-96 article .entry-summary {padding:0;margin:0;margin-top:40px}



.footer-widgets {background:#2a445d url('/wp-content/uploads/2023/06/Tyre tracks.png') no-repeat left top;background-size:cover;font-family: 'Trebuchet MS', sans-serif;}

.footer-widgets .contact1, .footer-widgets .contact2 {}
.footer-widgets .contact-us-button a {color:#88a08a;font-size:3em;font-weight:bold;-webkit-text-stroke: 1px white;white-space: nowrap}
.footer-widgets .contact-us-button a {color:#88a08a!important;text-decoration:none}

.footer-widgets .address {color:white;font-size:1.7em}
.footer-widgets .email, .footer-widgets .tel a {font-weight:bold;color:#88a08a;font-size:2em;-webkit-text-stroke: 1px white;text-decoration:none}

.inside-site-info {padding:0}

h1.entry-title {color:#00465b;font-size:1.5em;text-align:center;padding:10px;font-weight:bold}



@media (max-width: 319px) {
 .site-logo {position:absolute;left:0;bottom:0;}
 .site-logo img {width:100%}

 .inside-header {min-height:150px}
 article .post-image {display:block;float:none!important;margin:0 auto;margin-top:20px!important;width:100%}

 .site-logo span {font-size:1em;position:relative}
 .site-logo span {display:none}

 article#post-28 footer, article#post-25 footer {height:150px;}
 .footer-widgets .contact-us-button a {white-space: normal;font-size:1.5em}
 .footer-widgets .email, .footer-widgets .tel a {font-weight:bold;color:#88a08a;font-size:1em;-webkit-text-stroke: 0px white;text-decoration:none}
 article .entry-summary {font-size:1.5em}
 article#post-66 article .entry-summary {margin-top:20px}


}



@media (min-width: 320px) and (max-width: 767px) {

 .inside-header {min-height:200px}
 article .post-image {display:block;float:none!important;margin:0 auto;margin-top:40px!important;width:100%}
 article .post-image img {display:block;margin:0 auto;}

 .site-logo span {font-size:1em;line-height:80%;position:absolute;bottom:10px}
 .site-logo span {display:none}

 article#post-28 footer, article#post-25 footer {height:200px;}
 .footer-widgets .contact-us-button a {white-space: normal;font-size:3em}
 .footer-widgets .email, .footer-widgets .tel a {font-weight:bold;color:#88a08a;font-size:1.8em;-webkit-text-stroke: 0px white;text-decoration:none}
 article .entry-summary {font-size:1.5em}

}

@media (min-width: 768px) and (max-width: 1024px) {


}

@media (min-width: 1025px) {

.h1-title {max-width: 1590px;margin-left: auto;margin-right:auto;display:flex;align-items:center;position:relative}
 h1.entry-title {position:absolute;bottom:30px;right:10px;color:white;text-shadow: 2px 2px 5px #00465b;font-size:1.9em;z-index:3}


}










@keyframes
imageAnimation {  0% {
 animation-timing-function: ease-in;
 opacity: 0;
}
 4% {
 animation-timing-function: ease-out;
 opacity: 1;
}
 17% {
 opacity: 1
}
 25% {
 opacity: 0
}
 100% {
 opacity: 0
}
}
