/*
Theme Name: Calvert Library
Description: Calvert Library
Author: DCWD
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

#custom-slider-overlay {
	position: absolute;
	background: url('/wp-content/uploads/2017/07/shape.png') no-repeat;
	width: 858px;
	height: 495px;
	z-index: 9999;
	left: 50%;
	margin-left: -450px;
	top: 50%;
	margin-top: -247.5px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column;
	padding-top: 70px;
	padding-left: 50px;
	text-align: center;
}

#custom-slider-overlay .slider_search {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 25px 0;
}

#custom-slider-overlay .slider_search > div {
	margin: 0 15px;
}

#custom-slider-overlay .search-field input {
	font-size: 16px;
	font-family: 'Open Sans';
	padding: 16px 10px;
	border: none;
}

#custom-slider-overlay .search-button input {
	height: 32px;
	background: #fff;
	color: #3d3d3d;
	border: none;
}

#custom-slider-overlay .search-button input:hover {
	color: #fff;
}

.clndr .event-listing {
	display: none;
}

.clndr .days .day {
	cursor: pointer;
}

#mini_cal_list {
	position: fixed;
	height: 100vh;
	width: 300px;
	padding: 50px 20px;
	background: #f6f6f6;
	right: -300px;
	top: 0;
	overflow-y: scroll;
	z-index: 99999;
	margin: 0;
	list-style-type: none;
}

#mini_cal_list li {
	margin-bottom: 15px;
}

#mini_cal_list .close-btn {
	cursor: pointer;
}

#mini_cal_list .close-btn:hover {
	color: #00837C;
}

.clndr .clndr-controls .current-month {
	font-size: 18px !important;
	text-transform: uppercase;
	font-weight: 500;
}

#homepage-news .date {
	background: #4D2F90;
	color: #fff;
	width: 60px;
	height: 75px;
	text-align: center;
	padding-top: 15px;
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
	font-family: 'Open Sans';
	margin-right: 20px;
}

#homepage-news .content {
	text-align: left;
	width: 100%;
}

#homepage-news h4 {
	color: #4D2F90;
}

#homepage-news p {
	font-size: 15px;
	color: #000;
	font-weight: 500;
}

#homepage-news .event {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	cursor: pointer;
	transition: all 0.75s ease;
}

#homepage-news .more {
	display: block;
	text-align: left;
	font-weight: 600;
}


#homepage-news .event:hover .date, #homepage-news .news-item:hover .date {
	background-color: #00837C;
	transition: all 0.75s ease;
}

#homepage-news .event:hover h4, #homepage-news .news-item:hover h4 {
	color: #00837C;
	transition: all 0.75s ease;
}

.dcwd-header-search {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.fusion-header-banner .fusion-button.button-2, .fusion-header-banner .fusion-button.button-1 {
	width: 170px;
}

.dcwd-header-search input[type="submit"] {
	background: #4D2F90;
	color: #fff;
	border: none;
	height: 29px;
	cursor: pointer;
	transition: all 0.75s ease;
}

.dcwd-header-search input[type="submit"]:hover {
	background: #00837C;
	transition: all 0.75s ease;
}

.dcwd-header-search #s {
	width: 188px;
}

.dcwd-header-search select {
	border: 1px solid #d2d2d2;
}

@media only screen and (max-width: 610px) {
	.fusion-mobile-menu-design-modern.fusion-header-v4 .fusion-logo .searchform {
		display: block !important;
		margin-left: 0 !important;
	}
	.fusion-header-banner .fusion-alignright {
		margin: 8px 0 !important;
		display: inline-block !important;
		width: auto !important;
	}
	.fusion-header-banner .fusion-button.button-2, .fusion-header-banner .fusion-button.button-1 {
		width: 150px !important;
		margin-right: 5px;
	}
}
