.img-replace {
    /* replace text with an image */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    color: transparent;
    white-space: nowrap;
}

/* CD POPUP */
.cd-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    overflow: auto;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    z-index: 9999;
}
.cd-popup.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

/* CD POPUP CONTAINER */
.cd-popup-container {
    position: relative;
    width: 90%;
    max-width: 750px;
    margin: 2em auto;
    padding: 35px;
    background: #FFF;
    border-radius: .25em .25em .4em .4em;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
    /* Force Hardware Acceleration in WebKit */
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.cd-popup-container h2{
	margin: 0 0 6px;
	padding: 0;
	font-size: 32px;
	text-transform: none;
	letter-spacing: 0px;
}
.cd-popup-container h2 span{
	color: #90181B;
}
.cd-popup-container h3{
	margin: 0 0 30px;
	padding: 0 0 30px;
	font-size: 15px;
	font-weight: 400;
	color: #a3a3a3;
	border-bottom: 1px solid #E3E3E3;
}
.cd-popup-container p {
    margin: 0;
  	padding: 105px 0;
}
.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
    display: none;
}
.cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.cd-popup-container .cd-buttons li:first-child a {
  background: #90181B;
  border-radius: 0 0 0 .25em;
}
.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
  opacity: 0.8;
}
.cd-popup-container .cd-buttons li:last-child a {
  background: #d4d4d4;
    color: #212121;
  border-radius: 0 0 .25em 0;
}
.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
  opacity: 0.8;
}
.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 5em auto;
  }
}

@media screen and (max-width: 992px){
	.cd-popup-container {
    	padding: 30px 20px;
    }
    .cd-popup-container h2{
		font-size: 22px;
	}
	.cd-popup-container h2 span{
		color: #90181B;
	}
	.cd-popup-container h3{
		font-size: 14px;
	}
}


/* CATEGORY POPUP */
.category-popup-trigger{
	position: absolute;
	top: 15px;
	right: 0;
	font-size: 14px;
	font-weight: 600;
	color: #90181B;
	text-align: right;
	cursor: pointer;
}
.category-popup-trigger:hover{
	text-decoration: underline;
}
.category-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    overflow: auto;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    z-index: 9999;
}
.category-popup.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

/* CD POPUP CONTAINER */
.category-popup-container {
    position: relative;
    width: 90%;
    max-width: 750px;
    margin: 2em auto;
    padding: 35px 35px 25px;
    background: #FFF;
    border-radius: .25em .25em .4em .4em;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
    /* Force Hardware Acceleration in WebKit */
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.category-popup-container h2{
	margin: 0 0 12px;
	padding: 0;
	font-size: 32px;
	text-transform: none;
	letter-spacing: 0px;
	color: #90181B;
}
.category-popup-container h3{
	margin: 0 0 30px;
	padding: 0 0 30px;
	font-size: 15px;
	font-weight: 400;
	color: #a3a3a3;
	border-bottom: 1px solid #E3E3E3;
}
.category-popup-container p {
    margin: 0;
  	padding: 0 0 20px;
}
.category-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.category-popup-container .cd-buttons li {
  float: left;
  width: 50%;
    display: none;
}
.category-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.category-popup-container .cd-buttons li:first-child a {
  background: #90181B;
  border-radius: 0 0 0 .25em;
}
.no-touch .category-popup-container .cd-buttons li:first-child a:hover {
  opacity: 0.8;
}
.category-popup-container .cd-buttons li:last-child a {
  background: #d4d4d4;
    color: #212121;
  border-radius: 0 0 .25em 0;
}
.no-touch .category-popup-container .cd-buttons li:last-child a:hover {
  opacity: 0.8;
}
.category-popup-container .category-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.category-popup-container .category-popup-close::before, .category-popup-container .category-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.category-popup-container .category-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.category-popup-container .category-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .category-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .category-popup-container {
    margin: 5em auto;
  }
}

@media screen and (max-width: 992px){
    .category-popup-trigger{
		position: relative;
		display: inline-block;
		margin: 0 0 5px;
		padding: 0;
		top: -20px;
		left: 0;
		width: 100%;
		font-size: 11px;
		text-align: left;
	}
	.category-popup-container {
    	padding: 30px 20px;
    }
    .category-popup-container h2{
		font-size: 22px;
	}
	.category-popup-container h2 span{
		color: #90181B;
	}
	.category-popup-container h3{
		font-size: 14px;
	}
}

/* CALENDAR POPUP */
.calendar-popup-trigger{
    cursor: pointer;
}
.calendar-popup-trigger:hover{}
.calendar-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.70);
    opacity: 0;
    overflow: auto;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    z-index: 9999;
}
.calendar-popup.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

/* CD POPUP CONTAINER */
.calendar-popup-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    max-width: 850px;
    margin: 2em auto;
    padding: 0;
    background: #FFF;
    border-radius: 6px;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
    /* Force Hardware Acceleration in WebKit */
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

/* CALENDAR WRAP */
.calendar-popup-container .calendar-wrap{
    float: left;
    padding: 25px 35px;
    width: 78%;
    height: 555px;
    background: #fff;
    
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.calendar-popup-container .calendar-wrap h2{
	margin: 4px 0 12px;
	padding: 0;
	font-size: 26px;
    font-weight: 700;
	text-transform: none;
	letter-spacing: 0px;
    color: #90181B;
    text-align: center;
}
.calendar-popup-container .calendar-wrap .fc-prev-button,
.calendar-popup-container .calendar-wrap .fc-next-button{
    margin: 4px 0 0;
    padding: 0 5px;
    background: #fff;
    border: none;
    outline: none;
    box-shadow: none;
}
.calendar-popup-container .calendar-wrap .fc-prev-button:hover,
.calendar-popup-container .calendar-wrap .fc-next-button:hover{
    opacity: 0.65;
}
.calendar-popup-container .calendar-wrap .fc-today-button,
.calendar-popup-container .calendar-wrap .fc-month-button,
.calendar-popup-container .calendar-wrap .fc-agendaWeek-button,
.calendar-popup-container .calendar-wrap .fc-agendaDay-button{
    display: none;
}
.calendar-popup-container .calendar-wrap .fc-unthemed thead{
    border: none;
}
.calendar-popup-container .calendar-wrap .fc-day-header{
    border: none;
    margin: 0;
    padding: 0 0 30px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.calendar-popup-container .calendar-wrap .fc-unthemed td{
    border: none;
    text-align: center;
}
.calendar-popup-container .calendar-wrap .fc-basic-view td.fc-day-number{
    padding: 8px 0 0;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}
.calendar-popup-container .calendar-wrap .fc-unthemed .fc-today{
    background: #f8f8f8;
}
.calendar-popup-container .calendar-wrap .fc-content{
    font-size: 11px;
    font-weight: 700;
}
.calendar-popup-container .calendar-wrap .fc-time{
    display: none;
}
.calendar-popup-container .calendar-wrap .fc-title{
    padding: 4px 2px;
    cursor: pointer;
}
.calendar-popup-container .calendar-wrap .fc-title:hover{
    opacity: 0.75;
}

/* EVENT WRAP */
.calendar-popup-container .event-wrap{
    float: left;
    padding: 88px 30px 25px;
    width: 22%;
    height: 555px;
    background: #2E2E2E;
    color: #fff;
    
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.calendar-popup-container .event-wrap h5{
	margin: 0 0 30px;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.calendar-popup-container .event-wrap a{
    display: inline-block;
    margin: 0 0 15px;
    padding: 0 0 15px;
    width: 100%;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    text-align: center;
    line-height: 1.4;
}
.calendar-popup-container .event-wrap a:last-child{
    border: none;
}
.calendar-popup-container .event-wrap a span{
    display: none;
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 400;
}
.calendar-popup-container .calendar-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
}
.calendar-popup-container .calendar-popup-close::before, 
.calendar-popup-container .calendar-popup-close::after {
    content: '';
    position: absolute;
    top: 12px;
    width: 14px;
    height: 3px;
    background-color: #fff;
}
.calendar-popup-container .calendar-popup-close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 8px;
}
.calendar-popup-container .calendar-popup-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 8px;
}
.is-visible .calendar-popup-container {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
    .calendar-popup-container {
        margin: 5em auto;
    }
}

@media screen and (max-width: 992px){
	.calendar-popup-container {
    	padding: 30px 20px;
    }
    .calendar-popup-container h2{
		font-size: 22px;
	}
	.calendar-popup-container h2 span{
		color: #90181B;
	}
	.calendar-popup-container h3{
		font-size: 14px;
	}
}