/* Calendar Demo Styles */

body {
	/* margin-top: 100px !important; */
}

footer {
	margin-top: 50px;
	padding: 25px 0;
}

footer p {
	margin-bottom: 0;
}

.navbar-brand {
	margin-right: 25px;
}

.navbar-brand img {
	width: 30px;
	height: 30px;
	margin-right: 10px;
}

.navbar-nav .nav-item {
	margin-right: 10px;
}


/* MONTH CALENDAR */

#month_calendar {
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

#month_calendar table,
#month_calendar tr,
#month_calendar td {
	padding: 0;
}

#month_calendar_outer {
	width: 100%;
	margin: 0;
	padding: 0;
	table-layout: fixed;
}

#month_calendar_inner {
	width: 100%;
	table-layout: fixed;
}

#month_calendar #month_calendar_inner td {
	width: 14%;
	height: 130px;
	padding: 5px;
}

#month_calendar .event {
	font-size: 12px;
	overflow: hidden;
	white-space: nowrap;
	color: #7f7f7f;
	padding: 2px 0 0 0;
}

#month_calendar .event a {
	color: #565656;
	text-decoration: underline;
}

#month_calendar .day_cell .all_day,
#month_calendar .day_cell .multi_day {
	padding: 0 6px;
	line-height: 20px;
	color: #7f7f7f;
}

#month_calendar .day_cell .all_day {
	margin-bottom: 2px;
	background-color: #f2f2f2;
	border: 1px solid;
	border-color: #c6c6c6;
}

#month_calendar .day_cell .multi_day {
	margin-bottom: 2px;
	background-color: #f2f2f2;
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-left: none;
	border-right: none;
	border-color: #c6c6c6;
	margin-left: -5px;
	margin-right: -5px;
}

#month_calendar .day_cell .all_day a,
#month_calendar .day_cell .multi_day a {
	color: #565656;
	text-decoration: none;
}

#month_calendar .day_cell .all_day a:hover,
#month_calendar .day_cell .multi_day a:hover {
	color: #565656;
	text-decoration: underline;
}

#month_calendar .first_day {
	margin-left: 0 !important;
	border-left: 1px solid !important;
}

#month_calendar .last_day {
	margin-right: 0 !important;
	border-right: 1px solid !important;
}

#month_calendar .day_cell .date {
	width: 100%;
	text-align: right;
	margin: 0;
	padding: 0 0 3px 0;
}

#month_calendar .day_cell .date a {
	font-weight: normal;
	color: #000000;
	text-decoration: none;
}

#month_calendar .day_cell .has_events a {
	color: #d75452;
	font-weight: bold;
}

#month_calendar .day_cell .date .num {
	font-size: 15px;
	color: #8a8a8a;
}

#month_calendar .day_cell .date a:hover {
	color: #000000;
	text-decoration: underline;
}

#month_calendar .day_cell .has_events a:hover {
	color: #000000;
}

#month_calendar .day_cell hr {
	margin-top: 7px;
	margin-bottom: 7px;
}

#month_calendar td.day_cell {
	padding-top: 30px;
}

#month_calendar .out_of_range {
	background: #fbfbfb;
}

#month_calendar .out_of_range .date {
	color: #aeaeae;
}

#month_calendar td.today {
	background-color: #fcf8e4;
}

#month_calendar #days_of_week th {
	padding: 5px 0;
	text-align: center;
}

#month_calendar #month_year th {
	padding: 5px;
	color: #000;
}

#month_calendar #month_year th.left {
	text-align: left;
}

#month_calendar #month_year th.center {
	text-align: center;
}

#month_calendar #month_year th.right {
	text-align: right;
}

.popover-header span.event_time {
	display: block;
	color: #4f4f4f;
	font-size: 85%;
	margin-top: 5px;
}

#month_calendar .calendar-color {
	background-color: #9f9f9f;
	position: relative;
	top: 0;
	display: inline-block;
	height: 8px;
	width: 8px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	text-indent: -9000px;
}


/* WEEK CALENDAR */

#week_calendar .header div {
	float: left;
	width: 20%;
}

#week_calendar .header div.left {
	padding-left: 10px;
}

#week_calendar .header div.center {
	width: 55%;
	text-align: center;
}

#week_calendar .header div.right {
	text-align: right;
	padding-right: 10px;
}

#week_calendar ul.list-group {
	margin-bottom: 0px;
}


/* DAY CALENDAR */

#day_calendar .header div {
	float: left;
	width: 15%;
}

#day_calendar .header div.left {
	padding-left: 10px;
}

#day_calendar .header div.center {
	width: 65%;
	text-align: center;
}

#day_calendar .header div.right {
	text-align: right;
	padding-right: 10px;
}

#day_calendar ul.list-group {
	margin-bottom: 0px;
}

.list-group-item .calendar_event_title {
	color: #3a3a3a;
	text-decoration: underline;
}

.list-group-item .calendar_event_title:hover {
	color: #4f4f4f;
	text-decoration: none;
}


/* MINI CALENDAR */

#mini_calendar td,
#mini_calendar th {
	padding: 0;
	margin: 0;
	text-align: center;
}

#mini_calendar th {
	border: none;
	padding-top: 5px;
	padding-bottom: 5px;
}

#mini_calendar .mini_calendar_days th {
	background: #e5e5e5;
	border: 1px solid #979797;
	border-width: 1px 0;
}

#mini_calendar th a {
	color: #000;
	font-size: 15px;
}

#mini_calendar td a {
	display: block;
	color: #fff;
}

#mini_calendar td div,
#mini_calendar td.has_events div #mini_calendar td.mini_calendar_pad div {
	vertical-align: middle;
	text-align: center;
	padding: 6px;
}

#mini_calendar td.has_events div {
	padding: 0;
}

#mini_calendar td.has_events div a {
	font-weight: bold;
	color: #000000;
	display: block;
	padding: 6px;
	background-color: #f5f5f5;
}

#mini_calendar td.has_events .middot {
	display: block;
	padding: 6px;
}

#mini_calendar .middot {
	color: #bcbcbc;
}

#mini_calendar td.has_events div a:hover {
	background: #dff0d9;
	text-decoration: none;
}

#mini_calendar td.today div,
#mini_calendar td.today div a {
	background-color: #fcf8e4;
}

.freq-list input[type=checkbox] {
	display: none;
}

.freq-list input[type=checkbox]+label {
	display: inline-block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	cursor: pointer;

	width: 30px;
	height: 30px;
	padding: 3px 0 0;

	border-radius: 4px;

	background: #ebebeb;
	text-align: center;
	font-weight: normal;
}

.freq-list input[type=checkbox]:checked+label {
	background: #c8c8c8;
	color: #FFF;
}

.freq-list.freq-list-large input[type=checkbox]+label {
	display: block;
	width: 100%;
	padding: 3px 10px 0;
}

.freq-list.freq-list-large>div div.row {
	margin-left: -2px;
	margin-right: -2px;
}

.freq-list.freq-list-large>div div.col-xs-4 {
	padding-left: 2px;
	padding-right: 2px;
}

/* custom styles */
/*  */
/*  */

a {
	text-decoration: none !important;
}

.event-title,
.time,
.event-info {
	margin-bottom: 5px;
}

.event-title {
	color: #4381C1;
	/* font-family: urw-din, sans-serif; */
	margin: 5px 0 7px 0;
	text-transform: lowercase;

	font-size: 9px;
	hyphens: auto;
	-webkit-hyphens: auto;
}

@media(min-width: 768px) {
	.event-title {
		font-size: 14px;
		letter-spacing: 1px;
	}
}

.time {
	color: #A64914;
}

.event-info {
	color: #4381C1;
	font-family: urw-din, sans-serif;
	font-size: 10px;
}

.calendar-color {
	display: none !important;
}

#month_calendar .event {
	white-space: normal;
	background-color: #EEEEEE;
	padding: 2px;
	margin-bottom: 5px;
	overflow: visible;
}

#month_calendar #month_calendar_inner td {
	height: 200px;
}

#month_calendar .day_cell .date .num {
	font-size: 15px;
	color: rgba(68, 130, 193, 0.48);
	background-color: #EEEEEE;
	margin-right: -5px;
	padding: 2px 4px 2px 6px;
	font-family: Bernier, sans-serif;
}

#month_calendar #days_of_week th {
	background-color: #4381C1;
	color: #FEF8DD;
	font-family: Bernier, sans-serif;
	text-transform: lowercase;
	padding: 12px 0;
	letter-spacing: 2px;
}

#month_calendar .day_cell .date {
	padding: 0 0 7px 0;
}

.table-bordered td,
.table-bordered th {
	border: 4px solid #EEEEEE;
}

.badge-warning {
	display: none;
}

#month_calendar #month_calendar_inner td {
	padding-top: 0;
}

.calendar-container {
	max-width: unset;
	padding: 0;
	margin-top: -25px;
}

.headerImage {
	background-image: url(../../event-calendar/header-bg-2@2x.jpg);
	height: 300px;
	/* background-size: cover;
	justify-content: center !important; */
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: 100% 100%;
	justify-content: center !important;
}

@media(min-width: 500px) {
	.headerImage {
		height: 400px;
		/* background-position: 100% -140%; */
	}
}

@media(min-width: 768px) {
	.headerImage {
		height: 500px;
		background-image: url(../../event-calendar/header-bg-2@2x.jpg);
		background-position: 50% 50%;
		background-size: cover;
	}
}

@media(min-width: 1300px) {
	.headerImage {
		background-position: 50% 35%;
	}

}

.headerImage .col-3,
.headerImage .col-auto {
	align-self: flex-end;
}

.headerImage .prev,
.headerImage .next {
	padding: 0;
	background-color: transparent;
	border: none;
	height: 30px;
	margin-bottom: 14px;
	outline: none;
	color: transparent;
	border: none;
	box-shadow: none;
}

.headerImage .prev:active,
.headerImage .next:active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus {
	box-shadow: none;
	background-color: transparent;
	border: none;
}

.headerImage .prev img,
.headerImage .next img {
	height: 100%;
	outline: none;
}

#calendar-month-menu {
	font-size: 36px;
	letter-spacing: 2px;
	background-color: transparent;
	border: none;
	padding: 0;
	text-transform: lowercase;
	color: #FEF8DD;
}

.dropdown-toggle::after {
	display: none;
}

.badge {
	display: none;
}

.day_of_week {
	display: none;
}

.mobile {
	display: table-cell;
}

.time,
.event-info {
	display: none;
}

@media(min-width: 768px) {
	.day_of_week {
		display: table-cell;
	}

	.mobile {
		display: none;
	}

	.time,
	.event-info {
		display: block;
		line-height: 1;
	}
}


/* custom styles */
#month_calendar {
	margin-top: -15px;
}

.alert-success {
	display: none;
}

.calendar-container {
	margin-top: -15px;
}

.detail-row {
	/* margin-top: 45px; */
	margin-top: -15px;
	background-color: #EEEEEE;
}

.event-detail-content {
	margin: 40px auto 60px;
	max-width: 960px;
	width: 80%;
	line-height: 1.5;
	min-height: 40vh;
}

#events_calendar .event-title {
	font-size: 10vw;
	color: #A64914;
	margin-top: 150px;
}

#events_calendar .time {
	font-family: urw-din, sans-serif;
	font-size: 20px;
	color: #f0a202;
	margin-bottom: 10px;
	display: block;
	font-weight: bold;
}

#events_calendar .description {
	color: #A64914;
}

#events_calendar .link {
	font-size: 20px;
	margin: 20px 0;
}

#month_calendar .day_cell .multi_day {
	border: 0 !important;
	background-color: #EEEEEE;

	margin-right: 0px;
	margin-left: 0px;
	padding: 2px;

}

#month_calendar .day_cell .all_day a,
#month_calendar .day_cell .multi_day a {
	font-family: Bernier, sans-serif;
}

.multi_day .description {
	padding-bottom: 10px;
}

.multi_day .description p {
	font-size: 10px;
	line-height: 1;
}

#month_calendar #month_calendar_inner td {
	height: 100px;
}

@media(min-width: 768px) {
	#events_calendar .event-title {
		font-size: 44px;
	}

	#events_calendar .link {
		margin: 20px auto;
	}

	#month_calendar #month_calendar_inner td {
		height: 200px;
	}
}