/**************************

    Special stuff for GAMES
    slide on the homepage

**************************/
.page.home .hero .slide:nth-child(3) {
  background-position: 50% 80%;
}
.page.home .hero .slide:nth-child(3) .main-image img {
  width: 280px;
  height: 142px;
  display: inline;
  vertical-align: inherit;
  position: absolute;
  top: 2em;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
@media (min-width:48em){
  .page.home .hero .slide:nth-child(3) .main-image img {
    max-width: none;
    top: 8%;
  }
}

.page.home .hero .slide:nth-child(3) .badge-image-link {
  display: block;
  width: 212px;
  height: 46px;
  padding-right: 0;
  margin-bottom: 0;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
@media (min-width:48em){
  .page.home .hero .slide:nth-child(3) .badge-image-link {
    display: block;
    width: 212px;
    padding-right: 0;
    bottom: 8%;
  }
}
.page.home .hero .slide:nth-child(3) .badge-image {
  margin-bottom: 0;
}

.hero .slide:nth-child(3) .action {
  position: absolute;
  bottom: 65%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
@media (min-width:48em) {
  .hero .slide:nth-child(3) .action {
    top: 50%;
    bottom: auto;
  }
}
/* END Games stylez */

/**************************

    Special stuff for EVENTS page

**************************/
body.page-template-template-events h2.brown-primary {
    font-family: tg-20;
    margin-bottom: 25px;
}
body.page-template-template-events .main:first-of-type {
    background-image: none;
}
@media (max-width:767px){
    body.page-template-template-events article.content {
        background-image: none;
    }
}
.month-single + .month-single {
    margin-top: 50px;
}
.generic-content .month-name {
    font-size: 2.4em;
    font-family: "bembo-sb";
    text-transform: capitalize;
    letter-spacing: .05em;
    color: #fffef3;
    margin: 0 0 8px;
    position: relative;
    width: 100%;
}
.generic-content .month-name:before {
    content: attr(data-val);
    text-transform: capitalize;
    color: #fffef3;
    background-color: #2c180b;
    position: absolute;
    padding-right: .5em;
    left: 0;
    top: 0;
    z-index: 1;
}
.generic-content .month-name:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #fffef3;
}
.month-single {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.month-single .item {
    width: 100%;
    margin-bottom: 40px;
}
@media all and (min-width:48em){
    .month-single .item {
        width: 45%;
        margin-bottom: 0;
    }
}
@media all and (min-width:64em){
    .month-single .item {
        width: 30%;
    }
    .month-single div.item:last-child:nth-of-type(3n+2) {
        margin-right: 35%;
    }
}
.card {
    position: relative;
    overflow: hidden;
    padding-bottom: 133.33333%;
    background-color: #532f18;
    box-shadow: 0 0 25px rgba(17, 8, 4, .5);
}
.card > * {
    position: absolute;
}
.card__expanded {
    line-height: .75;
    color: #fffef3;
    font-size: 36px;
    font-family: tg-20;
    top: 0;
    right: 3px;
    z-index: 100;
    display: block;
}
.card__expanded:before {
    content: "";
    position: absolute;
    border-left: 50px solid transparent;
    border-top: 50px solid #b41019;
    top: 0;
    right: -3px;
    z-index: -1;
}
.card__img {
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-height: 100%;
}
.card__description {
    height: 100%;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(193,177,140,.85);
    padding: 20px;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.card__description p {
    font-size: 14px;
    color: #532f18;
    line-height: 1.4;
    margin: 0;
    padding: 1em 0;
}
.card.on .card__description {
    top: 0;
}
.card__info {
    background-color: rgba(193,177,140,.85);
    bottom: 0;
    width: 100%;
    padding: 30px 20px 20px;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    max-height: 80px;
}
html.touch .card__info,
html.touch .card:hover .card__info {
    max-height: none;
    -webkit-transition: none;
    transition: none;
}
.card.on .card__info,
html.touch .card.on .card__info {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
}
.card:hover .card__info {
    max-height: 260px;
}
.card.on:hover .card__info {
    max-height: 0;
}
.card__info:before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: 1px;
    background-color: #fffef3;
}
.generic-content .card__headline {
    font-size: 21px;
    font-family: tg-20;
    color: #532f18;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -.025em;
    line-height: 1;
}
.card__attributes {
    padding-left: 30px;
    list-style: none;
    font-size: 14px;
    color: #532f18;
    margin-top: 2em;
}
.card__attribute {
    position: relative;
    margin: 10px 0;
}
.card__attribute:first-child {
    margin-top: 0;
}
.card__attribute:last-child {
    margin-bottom: 0;
}
.card__attribute.datetime:before,
.card__attribute.location a {
    position: absolute;
    width: 18px;
    height: 21px;
    top: 0;
    left: -30px;
}
.card__attribute.datetime:before {
    content: "";
    background: transparent url(../images/icon-clock.svg) no-repeat center center / contain;
}
.card__attribute.location a {
    background: transparent url(../images/icon-location.svg) no-repeat center center / contain;
}
.generic-content .card__cta {
    padding: 8px 20px;
    font-size: 21px;
    display: inline-block;
}
.card__cta[disabled] {
    opacity: .4;
    cursor: default;
}
.card__cta[disabled]:hover {
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#b82d35),color-stop(100%,#a01018));
    background: -webkit-linear-gradient(top,#b82d35 0,#a01018 100%);
    background: linear-gradient(to bottom,#b82d35 0,#a01018 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b82d35', endColorstr='#a01018', GradientType=0 );
}
/* END Eventz stylez */