/* CSS Document */
#ev_ministry_filter{
	float: right;
	right: 0px;
	position: relative;
	top: 0px;
	height: 30px;
	width: 150px;
	z-index: 1000;	
}
#cal_loader{
	position: absolute;
    z-index: 9000;
    background: #ffffff;
    padding: 50px;
    text-align: center;
    border-radius: 20px;
    border: #e2e2e2 1px solid;
    /* margin-left: auto; */
    /* margin-right: auto; */
    left: 30%;
    width: 40%;
    top: 70%;
}
.view_calendar_index{
	width: 200px;
	background-color: #217dbc;
	height: 30px;
	line-height: 30px;
	float: right;
	color: #fff;
	text-align: center;
	text-decoration: none;
	margin-top: 20px;
	transition: background-color 0.5s ease;
}
.event_header h2 {
    background: #000000;
    color: #ffffff;
    padding: 15px;
}
span#custom-next {
    border-radius: 0 10px 10px 0;
}
span#custom-prev {
    border-radius: 10px 0 0 10px;
}
.close {
	width: 40px;
	height: 40px;
	padding: 0px;
	margin: 0px;
	position: absolute;
	top: -45px;
	right: 0px;
	border: none;
	color: #000000;
	display: block;	
	line-height: 40px;
}
.close:hover{
	background-position: top;
}
.calendar_footer{
width: 100%;
height: 50px;
display: block;
float: left;
position: relative;
background: rgba(29, 29, 29, 1);
}
.event{
	background-color: rgba(187, 187, 187, 1);
	transition: ease-in-out 0.2s;
	overflow:hidden;
}
.event:hover{
	background-color: rgba(202, 203, 206, 1);
}
.pro {
	width: 30%;
	height: 30px;
	line-height: 30px;
	z-index: 9999;
	display: none;
	text-align: center;
	border-radius: 20px; 
	-moz-border-radius: 20px; 
	-webkit-border-radius: 20px; 
	color: #FFFFFF;
	background-color: #000000;
	position:absolute;
	left: 35%;
    top: 50%;
}
#showCalendar, #ev_ministry_filter {
	display: none;
}
.custom-calendar-full {
    bottom: 0;
    height: auto;
    left: 0;
    position: relative;
    top: 24px;
    width: 100%;
	transition: ease-in-out 5s;
}
*, *:after, *:before {
    -moz-box-sizing: border-box;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

.custom-header {
    height: 50px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 20px;
    padding-top: 0px;
    position: relative;
}
.custom-header h2,
.custom-header h3 {
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 4px;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
}
.custom-header h2 {
	color: #000;
	width: 60%;
}
.custom-header h3 {
	width: 30%;
	color: #ddd;
	color: #000000;
	font-weight: 300;
	line-height: 30px;
	text-align: right;
	padding-right: 10px;
}
.custom-header nav {
	position: absolute;
	right: 170px;
	top: 0px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.custom-header nav span {
    background-color: #363636;
    box-shadow: 0 1px rgba(50, 50, 50, 0.2) inset;
    color: #ffffff;
    cursor: pointer;
    float: left;
    font-size: 20px;
    height: 35px;
    margin-bottom: 0;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 0;
    position: relative;
    width: 35px;
    text-align: center;
    line-height: 35px;
}

.custom-header nav span:first-child {
	border-radius: 3px 0 0 3px;
}

.custom-header nav span:hover {
	background: #000000;
}

.custom-header span:before {
	font-family: 'fontawesome-selected';
	color: #fff;
	display: inline-block;
	text-align: center;
	width: 100%;
	text-indent: 4px;
}



.custom-header nav span:last-child {
	border-radius: 3px;
}

.custom-header nav span.custom-current{
	width:35px;
}
.md_today{
	background-color: #C4C4C4
}

.fc-calendar {
	width: auto;
	height: auto;
	line-height: 40px;
}
.fc-head {
    background: rgba(29, 29, 29, 1);
	color: rgba(255,255,255,0.9);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
	height: 50px;
	line-height: 50px;
}
.fc-calendar { 
	background: rgba(255,255,255,0.2);
	color: rgba(255,255,255,0.9);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
	border-radius: 20px 20px 0 0;
	height: 40px;
	line-height: 40px;
}
.calendar_days {
margin-left: auto;
margin-right: auto;
position: relative;
background: rgba(255,255,255,0.9);
color: rgba(255,255,255,0.9);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
display: block;
float: left;
}

.fc-calendar .fc-head > div {
	font-weight: 300;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 3px;
	text-shadow: 0 1px 1px rgba(0,0,0,0.4);
	text-align: center;
}
.fc-calendar .fc-row > div > span.fc-date {
	color: rgba(255,255,255,0.9);
	text-shadow: none;
	font-size: 26px;
	font-weight: 300;
	bottom: auto;
	right: auto;
	top: 10px;
	left: 10px;
	text-align: left;
	text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}
.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
	float: left;
	height: 100%;
	width:  14%; /* 100% / 7 */
	position: relative;
}

.week_days {
	width: 100%
}
.days_of_week {
	float: left;
	width: calc(100% / 7);
	text-align: center;
}
.md_cal_num {
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #000;
    color: #fff;
    text-align: center;
}
.cal_day {
	position: relative;
	float: left;
	width: calc(100%/7);
	height: 150px;
	display: block;
}
div#calendar_holder {
    width: 100%;
}

.day_heading {
	position: relative;
	float: left;
	width: 70px;
	height: 16px;
	color: #000;
	font-family: Arial;
	font-size: 14px;
}
.openings {
	    width: 100%;
    clear: left;
    text-align: center;
    color: #000000;
    margin-top: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.non_cal_day{
	position: relative;
	float: left;
	width: calc(100%/7);
	height: 150px;
	background: #f7f7f7;
}
#events {
	padding-top: 15px;
	padding-left: 15px;
	padding-right: 15px;
	height: 500px;
	max-height: 600px;
	padding-bottom: 30px;
	overflow-x: hidden;
}
.md_cal_h3{
	padding: 5px;
    background: #4e4e4e;
    color: #ffffff;
}
#event_container {
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    background-color: #FFFFFF;
    z-index: 3000;
    opacity: 1;
    width: 60%;
    display: none;
    position: fixed;
    left: 70%;
    -webkit-box-shadow: 0px 0px 32px -2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 32px -2px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 32px -2px rgba(0,0,0,0.75);
    top: 70%;
    margin: -360px 0 0 -50%;
	border-radius: 10px;
    overflow: hidden;
}
#overlay {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 2000;
}
.calendar_days {
	margin-left: auto;
	margin-right: auto;	
	position: relative;
}

#eventControl {
	display: none;
	width: 100%;
	height: 30px;
	z-index: 3000;
}
.day {
	display: none;
}
.no_events {
		display: none;
}
.event_link {
	font-size: 12px;
	color: #000000;
	text-decoration: none;
	line-height: 14px;
}
.event_link:hover {
	color: #FFFFFF;
}
.view_all_link {
	font-size: 14px;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 18px;
}
.view_all_link {
	color: #FFFFFF;
}
@media screen and (max-width: 992px) {
	.head-phone{
		display: none;
	}
}
@media screen and (max-width: 768px) , screen and (max-height: 450px) {
.custom-header h3 {
    width: 30%;
    top: 0px;
    position: absolute;
}
	.custom-header nav {
		right: 190px;
	}
#event_calendar {
    display: block;
    float: left;
    top: 10%;
}
	#ev_ministry_filter{
	right: 20px;
	top: 0px;
}
.event_link {
	font-size: 12px;
	color: #000000;
	text-decoration: none;
	line-height: 14px;
}
	.view_calendar_index, .social_button{
	transition: background-color 0.5s ease;
	width: 100%;
	background-color: #217dbc;
	height: 30px;
	line-height: 30px;
	float: right;
	color: #fff;
	text-align: center;
	text-decoration: none;
	margin-top: 20px;
}
	.phone, .non_cal_day, .fc-head {
		display: none;
	}
	.cal_day {
		width: 100%;
		border-radius: 20px;
		margin-bottom: 1%;
	}
	.cal_day > event {
		display:block;
	}
		.openings {
			margin-top: 0px;
    padding-left: 75px;
}
	.event_link {
	font-size: 20px;
	color: #000000;
	text-decoration: none;
	line-height: 20px;
}
	.day {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 12px;
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
    color: #000;
    background: #e8e4e4;
}
	.md_cal_num {
    width: 75px;
    height: 75px;
    line-height: 75px;
    background: #000;
    color: #fff;
    text-align: center;
}
	
	.event_link2{
		display: none;
	}
	#event_container{
	width: 90%;
    margin: -360px 0 0 -50%;
    left: 55%;
	}
	#events {
		height: 400px;
	}
	.day_heading {
	font-size: 25px;
}
	.custom-header h2,
	.custom-header h3 {
		float: none;
		width: auto;
		text-align: left;
		padding-left: 5px;
	}
	.fc-calendar {
		top: 120px;
	}
	.no_events {
		display: block;
	}
	.map {
	width: 90%;
    height:300px;
    position:relative;
    overflow:hidden;
}
#events {
	padding: 0;
	overflow-y: scroll;		
}	
	
.calendar_days {
background: none;
box-shadow: none;
width: 100%;

}
.fc-calendar, .fc-head, .calendar_footer {
	background: none;
	box-shadow: none;

}
}
@media only screen and (max-width: 479px) {
	#event_container{
	width: 320px;
	margin:0 0 0 -160px;
	top: 10%;
	}
	#events {
	padding: 0;
	overflow-y: scroll;	
}
}
@media screen and (max-width: 465px){
.custom-header h3 {
    width: 100%;
    top: -40px;
    position: absolute;
}
}