/*
Theme Name: Puppet
Description: Simple theme using bootstrap for styling. Aimed at mulit-page sites, rather than blogging.
Version: 1.0
Author: Steve Clesham
Author URI: steveclesham.co.uk
*/

body
{
    margin:auto;
    font-family:'arial', sans-serif;
}
.embed-responsive
{
    margin: 30px 0px;
}

.carousel-item
{
    margin:auto;
}

p a
{
    text-decoration: underline;
}

.carousel-item img
{
    margin: auto;
    width: 95%;
}

.navbar-nav
{
margin:0 auto;
}

#ppts
{
    margin:20px;
}

#Logo
{
    margin:auto;
    padding:20px;
}

img
{
    display: block;
    margin-left:auto;
    margin-right: auto;
    max-width: 100%;
}

#puppetnav
{
    border-radius:10px;
}

.lead
{
    line-height: normal;
    font-size:97%;
}

.puppetDesc
{
    font-size: 90%;
}

.nav-item
{
    width:auto;
}

.bluebar
{
    border: 2px solid #003366;
}

.shr
{
    width:15%
}

#message
{
    width:100%;
    height:200px;
}

a
{
    vertical-align: center;
    color:#003366;
}

a:hover, a:focus
{
    text-decoration: none;
    color:#ffcc66;
    outline:none;
}

#footer p
{
    margin-top: 5%;
    color:#003366;
}

#icons
{
    width:15px;
}

#footerbr
{
    height:10px;
}

#home h2
{
    font-size:150%;
    color:#003366;
    font-weight: 700;
}

h4
{
    line-height: 28px;
}

#mela_content, #glastonbury_content, #shambala_content, #greenman_content, #install_content
{
    display:none;
}

#content_show .active_link, #econtent_show .active_link
{
    color:#ffcc66;
}
#content_show button, #econtent_show button
{
    background-color: white;
    border:none;
    font-size:120%;
    transition:color 0.35s ease-in-out;
    cursor: pointer;
    color:#003366;
}

#content_show button:hover, #econtent_show button:hover,
#content_show button:focus, #econtent_show button:focus
{
    color:#ffcc66;
}

#content_show button:focus, #econtent_show button
{
    outline:none!important;
}

#econtent_show img
{
    border-bottom: 2px solid white;
	vertical-align:top;
}

#econtent_show img:hover, #econtent_show img:focus #econtent_show .active_link, .active_nav
{
    border-bottom: 2px solid #ffcc66;
}

/* ---- grid ---- */

.grid {
  max-width: 1200px;
    margin:0 auto;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
  width: 20%;
    padding:4px;
}

.grid-item {
  float: left;

}
.grid-item img{
    width:100%;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
}

.grid-item--width2 { width:  40%; }
.grid-item--width3 { width:  60%; }

.grid-item--height2 { height: 200px; }
.grid-item--height3 { height: 260px; }
.grid-item--height4 { height: 360px; }

#fancybox-title {
    margin-left:0 !important;
}
.slideshow-container img{
    max-height:666px;
}
#ssq {
    border-radius: 100%;
}
a.fancybox img {
        border: none;
        -o-transform: scale(1,1);
        -ms-transform: scale(1,1);
        -moz-transform: scale(1,1);
        -webkit-transform: scale(1,1);
        transform: scale(1,1);
        -o-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
}
a.fancybox:hover img,a.fancybox:focus img
{
        position: relative;
        z-index: 3;
        -o-transform: scale(1.0,1.03);
        -ms-transform: scale(1.0,1.03);
        -moz-transform: scale(1.0,1.03);
        -webkit-transform: scale(1.0,1.03);
        transform: scale(1.0,1.03);
}
.wpforms-field-label{
	font-weight:700;
color:#003366;
}
.wpforms-required-label{
color:#ffcc66;
}
::-webkit-scrollbar {
    width: 12px;
    z-index:3;
}
::-webkit-scrollbar-track {
    -webkit-border-radius:10px;
    border-radius:10px;
    background-color: #888;
}
::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 10px;
    -webkit-border-radius:10px;
}
.button_icon {
color:#fff;
font-size:120%;
}
#wpforms-submit-174 {
background-color:#ffcc66;
color:#003366;
border:none;
font-weight:500;
border-radius:5px;
}

.image-container
{
    background-size: cover;
    width:75%;
    max-width: 250px;
    height:0;
    padding-bottom: 80%;
    margin:20px auto;
    background-position: center;
}
.image-container + a
{
    font-weight: bold;
    color: #003366;
    text-decoration: underline;
}
.press{
    min-width: 250px;
}
.wpforms-field-small, .wpforms-field-medium {
margin:auto!important;
}
#content_show button{
display:inline;
}
.square:hover::before, .square:focus::before{
content: "Find out more";
color:#ffcc66;
background-color:#003366;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
border-radius:5px;
padding:5px;
cursor:pointer;
transition: 0.5s ease;
z-index:3;
}
.square:hover img, .square:focus img{
opacity:0.7;
transition:.5s ease;
z-index:2;
}
.square a{
z-index:4;
}
.square
#snake_more, #charmer_more, #dragon_more, #weather_more, #bike_more{
display:none;
}

.square
{
margin-bottom:20px;
}

.upcoming-events
{
    margin: auto;
    max-width: 800px;
    background: rgba(0,51,102,0.2);
    padding: 20px;
}
.upcoming-event-title
{
    margin-top: 2px;
    text-align: center;
    color: #003366;
    margin-bottom: 16px;
    font-size: 30px;
}
.upcoming-event
{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.upcoming-event + .upcoming-event
{
    margin-top: 20px;
    padding-top: 20px;
    position: relative;
}
/* .upcoming-event + .upcoming-event::before
{
    content: "";
    width:40%;
    left:30%;
    top: 0px;
    position: absolute;
    height: 2px;
    background: #003366;

} */
.upcoming-event img
{
    width: 100px;
    height: auto;
}
.upcoming-event div
{
    margin-left: 50px;
    flex-grow: 1;
}
.upcoming-event p
{
    margin-bottom: 4px;
}

@media all and (max-width:768px)
{
    .puppetContainer .lead
    {
        padding-top: 1rem;
    }
}

#content_show
{
    margin-bottom: 32px;
}

.puppetVideo
{
    display: block;
    min-width:300px;
    margin:30px auto;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.puppetVideo iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.puppetVideo-alt.facebook {
    margin-top: 1rem;
}

.spacer30{
    width:100%;
    height:30px;
}

.slider-description{
    background: none!important;
    color:#003366!important;
    width:100%!important;
    text-align: center!important;
    bottom:-50px!important;
}
.slider_1 .huge-it-slider > li
{
    overflow:visible!important;
}
.huge-it-wrap
{
    overflow: visible!important;
}
.slider_1
{
    margin-bottom:60px!important;
}

.eventLogos
{
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
}
.eventLogos a
{
    width:24%;
}