/* >>>>>>>event poster gallery<<<<<<< */
.galleryrow {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
}
.galleryrow img {
    width: 100%;
    height: calc(width + 10%);
    vertical-align: middle;
    -webkit-backface-visibility: hidden;
    -webkit-transform:translateZ(0);
    -moz-transform:translateZ(0);
    -ms-transform:translateZ(0);
    -o-transform:translateZ(0);
    transform:translateZ(0);
}
.cap-bot {
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -ms-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}
.cap-bot:hover {
    -webkit-transform: scale(2); /* Safari and Chrome */
    -moz-transform: scale(2); /* Firefox */
    -ms-transform: scale(2); /* IE 9 */
    -o-transform: scale(2); /* Opera */
    transform: scale(2);
    z-index: 1;
}
}
.cap-bot:hover:before figcaption {
    opacity: 0;
}
.cap-bot:hover figcaption {
    opacity: 1;
    left: 0;
    right: 0;
    bottom: 0;
}
.cap-bot figcaption {
    bottom: -30%;
}
figcaption {
    position: absolute;
    background: #000000;
    background: rgba(0,0,0,0.60);
    color: white;
    opacity: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    font-size: 7px;
    line-height: 1;
    width: 90%;
    padding: 8% 5% 8% 5%; 
    /* top, right, bottom, left */
    bottom: 0; 
    left: 0;
    height: auto;
    -webkit-transition: 0.7s ease-in, 0.4s ease-out;
    -moz-transition: 0.7s ease-in, 0.4s ease-out;
    -ms-transition: 0.7s ease-in, 0.4s ease-out;
    -o-transition: 0.7s ease-in, 0.4s ease-out;
    transition: 0.7s ease-in, 0.4s ease-out;
    -webkit-backface-visibility: hidden;
    -webkit-transform:translateZ(0);
    -moz-transform:translateZ(0);
    -ms-transform:translateZ(0);
    -o-transform:translateZ(0);
    transform:translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
figcaption a {
    color: #ffffff;
}
figcaption a:hover {
    color: #00E6E6;
}
.infobuttondiv {
    position: relative;
    overflow: hidden;
}
.eventgallerylinkbuttonouter {
    position:absolute;
    top: 5%;
    right: 10%;
    width:15px;
    height: 15px;
    background: #00E6E6;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #236bb2;

    box-shadow: inset  1px 1px 1px 1px rgba(0, 0, 0, 0.1), 1px 1px 3px 1px rgba(0, 0, 0, 0.1)
    -webkit-transition: 0.6s ease-in, 0.3s ease-out;
    -moz-transition: 0.6s ease-in, 0.3s ease-out;
    -ms-transition: 0.6s ease-in, 0.3s ease-out;
    -o-transition: 0.6s ease-in, 0.3s ease-out;
    transition: 0.6s ease-in, 0.3s ease-out;
    -webkit-transform:translateZ(0);
    -moz-transform:translateZ(0);
    -ms-transform:translateZ(0);
    -o-transform:translateZ(0);
    transform:translateZ(0);
}
#maindivevents li {
  display: inline-block;
  font-size: 20px;
  padding: 0px;
  float:left;
}
.infobuttondiv:hover .eventgallerylinkbuttonouter {
    width: 16px;
    height: 16px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 0.5px solid #236bb2;
    background: #00E6E6;
}
.infobuttondiv:hover .eventgallerylinkbuttoninner {
    box-sizing: border-box;
    width: 8px;
    height: 8px;
    position: relative;
    margin: 0px auto;
    top: 25%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 0.7px solid #236bb2;
}
.eventgallerylinkbuttonouter:hover .eventgallerylinkbuttoninner {
    opacity: 0.3;
}
.date {
    padding: 0px 30px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    text-align: center;
    margin-top: 50%;
    color: #696969;
}
/* >>>>>>>event gallery modals<<<<<<< */
.modal {
    z-index: 2;
    box-sizing: border-box;
    display: none;
    position: fixed;
    padding-top: 15px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: fadein;
    -moz-animation-name: fadein;
    -webkit-animation-name: fadein;
    animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    -webkit-animation-duration: 0.4s;
}
@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}
.close {
    color: #ffffff;
    float: right;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    font-size: 28px;
    line-height: 1;
}
.close:hover,
.close:focus {
    color: #555555;
    text-decoration: none;
    cursor: pointer;
}
.modal-header {
    padding: 5px 16px 5px 16px;
    /* top, right, bottom, left */
    background-color: #222222;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    font-size: 14px;
}
.modal-header a:hover {
    color: #00E6E6;
}
.modal-header a {
    color: white;
}
.modal-footer {
    width: 100%;
    padding: 1px 0px;
    /* top, right, bottom, left */
    background-color: #222222;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    font-size: 16px;
    text-align: center;
}

/* >>>>>>>event modals image columns<<<<<<< */
.row {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}
.column {
    box-sizing: border-box;
    flex: 33.33%;
    max-width: 33.33%;
    padding: 8px 4px;
    overflow: hidden;
}
.column img {
    box-sizing: border-box;
    margin-top: 8px;
    vertical-align: middle;
    width:100%;
}