﻿

.event-item {
    /*margin: 0px;*/
    padding: 0px;
    margin-bottom: 0em;
    padding-bottom: 3vw;
   
}
a.eventInList
{
    color:#000000;
    text-decoration: none;
    }

a.eventInList:hover
{
    color:#000000;
    text-decoration: underline;
    }

.highLine
        {
            padding-left: 0px;
            border-bottom: 0px solid #b09d60;  
                        margin-top: -1px; 
            margin-left: 10px; 
            margin-right: 10px; 
            padding-bottom:2em; 
            margin-bottom: 10px;
            }  

.paddingLeft {
    padding-left: 16px;
}
    
  @media (min-width: 992px)
    {
        h3, .h3 
        {
           
            border-right: 0px solid #000;
            line-height: 1.5em;
        }
        
        .borderRight
        {
            border-right: 1px solid #000;
            }
            
        .highLine
        {
            margin-bottom: 0px;
            }
    }


/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    height: auto;
    background: #8c624a;
    text-align: center;
    cursor: pointer;
    margin-right: 30px;
    margin-left: 30px;
}

.grid figure img {
	position: relative;
	display: block;
	/* min-height: 100%; */
	max-width: 100%;
	/* opacity: 0.8; */
}

.grid figure figcaption {
	padding: 1.5em;
	color: #ffffff;
	font-size: 1.25em;
	
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

    .grid figure h2 {
        font-weight: 300;
        font-size: clamp(18px, 1.2vw, 28px);
    }

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	/*font-size: 68.5%;*/
    font-size: 75%;
}

/*---------------*/
/***** Ruby *****/
/*---------------*/

figure.effect-ruby {
	background-color: #000000;
}



figure.effect-ruby img {
	opacity: 1;
	/*-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.15);
	transform: scale(1.15);*/
}


figure.effect-ruby:hover img 
{
    opacity: 0.4;
    background-color: white;
    -webkit-transform: scale(1);
    transform: scale(1);
    
}

figure.effect-ruby h3 {
	margin-top: 0%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
    font-size: 16pt;
	opacity: 0;
}

figure.effect-ruby h3 small
{
    color:#ffffff;
}

figure.effect-ruby p {
	margin: 1em 0 0;
	padding: 3em;
    padding-left: 0px; 
    padding-right:0px;
	border: 0px solid #fff;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0) scale(1.1);
	transform: translate3d(0,20px,0) scale(1.1);
} 

figure.effect-ruby:hover h3 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	opacity: 0.8;
}

figure.effect-ruby:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}

/*---------------*/
/***** Sadie *****/
/*---------------*/

figure.effect-sadie figcaption::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.4), rgba(0,0,69,0.4) );
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    content: '';
    opacity: 0;
    -webkit-transform: translate3d(0,50%,0);
    transform: translate3d(0,50%,0);
}



figure.effect-sadie h2 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #ac995f;
    -webkit-transition: -webkit-transform 0.35s, color 0.35s;
    transition: transform 0.35s, color 0.35s;
    -webkit-transform: translate3d(0,-50%,0);
    transform: translate3d(0,-50%,0);
    opacity: 0;
    padding: 1em;
}

figure.effect-sadie figcaption::before,
figure.effect-sadie p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie p {
    position: absolute;
    bottom: 5%;
    left: 0;
    padding: 2em;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate3d(0,10px,0);
    transform: translate3d(0,10px,0);
}

figure.effect-sadie:hover img {
    /*opacity: 0.7;*/
    background-color: white;
    -webkit-transform: scale(1);
    transform: scale(1);
    filter: blur(8px) grayscale(100%);
}


figure.effect-sadie:hover h2 {
    color: #fff;
    -webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
    transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
    opacity: 1;
}

figure.effect-sadie:hover figcaption::before,
figure.effect-sadie:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

@media only screen and (max-width: 1230px) {
    .grid figure {
        /*margin: 0rem !important;*/
        margin: 5px;
    }

        .grid figure p {
            font-size: 66.6%;
        }

    figure.effect-sadie p {
        bottom: 0;
        padding: 1.5em;
    }
}

@media (min-width: 0px) and (max-width: 699px) 
{
    figure {
    margin: 0 0 0rem;
}

    .paddingLeft {
    padding-left: 0px;
}

    .eventCats
    {
        margin-top: 3em;
        }
    
    .eventCats li
    {

        float:left;
        display:inline-block;
        font-size:0.8em;
        margin-left: 2em;
        height: 3em;
        font-weight: 900;
        }
    
}