body {
	font-family: "trebuchet ms", verdana, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	color: #333;
	background: #ffffff;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}
p {
	margin-top: 10px;
}
hr {
	color: #eee;
	background-color: #000;
	height: 2px;
}
a:link {
	text-decoration: none;
	color: #000;
}
a:visited {
	text-decoration: none;
	color: #000;
}
a:hover, a:active {
	text-decoration: none;
	color: #000;
}
img {
	border: 0;
}
header h1 {
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #fff;
}
.main {
	margin: 5px 5px 5px 5px;
	padding: 5px 5px 5px 5px;
	background: #FFFFFF;
}
.bar {
	background: #eee;
}
.bar h3 {
 	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	margin-bottom: 1em;
}
ul.events, ul.event_list {
    text-align: left;
    padding-left:0;
}
ul.events li {
    list-style-type: none;
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 15px;
	border-right: 5px double grey;
	padding-right: 10px;
}
ul.event_list li {
	list-style-type: none;
    margin-top:10px;
}
ul.event_list li:nth-child(even) {
    background:#e0e0e0;
    border-top:1px solid #9e9e9e;
    border-bottom:1px solid #9e9e9e;
}
ul.events li a {
    color: #5c0091;
}
ul.events li a:hover {
    color: #784595;
}
.event_container {
    margin:4px 0;
}
.event_container strong span {
	border-bottom: 1px solid #333;
}
@media (min-width: 992px) {
	ul.events li {
		display: block;
		margin-right: 0;
		margin-bottom: 5px;
		border-right: none;
		padding-right: 0;
	}
	.bar h3 {
		margin-bottom: .75em;
	}
}
/* ------- calendar specific styles -------- */

a.cal_date:link {text-decoration:none;color:white;display:block;width:100%;height:100%;}
a.cal_date:visited {text-decoration:none;color:white;display:block;width:100%;height:100%;}
a.cal_date:hover {text-decoration:none;color:white;display:block;width:100%;height:100%;}
a.cal_date:active {text-decoration:none;color:white;display:block;width:100%;height:100%;}

a.cal:link {text-decoration:none;color:red;display:block;height:100%;background:white;padding:3px;}
a.cal.add_date:link {
    text-decoration:none;
    color:#3a912c;
    text-align: left;
    background:white;
}
a.cal.add_date:hover {
    color:#2c3e91;
}   
a.cal:visited, a.cal {text-decoration:none;color:red;display:block;width:100%;height:100%;background:#9ed19c;padding:3px;}
a.cal:hover {text-decoration:none;color:white;display:block;width:100%;height:100%;background:#9ed19c;padding:3px;}
a.cal:active {text-decoration:none;color:red;display:block;width:100%;height:100%;background:white;padding:3px;}

a.event:link {text-decoration:none;color:white;width:100%;background:#3f97e9;padding:3px;}
a.event:visited {text-decoration:none;color:rgb(114, 182, 231);width:100%;background:#3f97e9;padding:3px;}

a.deleteevent:link {text-decoration:none;color:white;background:red;padding:3px;border-right:thin solid black;}
a.deleteevent:visited {text-decoration:none;color:#DDD;background:rgb(247, 111, 111);padding:3px;border:thin solid black;}


table.cal {
	border: thin solid black;
}

th.cal {
  background: #000000;
  color: #ffffff;
}

td.cal_date {
  background: #333333;
  color: #ffffff;
}

td.cal {
}

strong.today {
    font-weight: bold;
    color: #88d3f2;
}
span.datepicker {
	font-family: "trebuchet ms", verdana, sans-serif;
	font-size: 18px;
	font-weight: bold;
	text-align: center;	
}
.datepicker .prev, .datepicker .next {
    color:white;
    margin: 0 7px;
}
.datepicker a.prev:hover, .datepicker a.next:hover {
    color:#ddd;
}
.datepicker a.current {
    color:white;
}
.datepicker a.current:hover {
    color:#ddd;
}
/* ------- modal -------- */
.modal-header {
	background: #ddd;
}
.modal-footer {
	background: #efefef;
}
.modal-footer .btn-secondary {
	color: #333;
	background-color: #bebebe;
	border-color: #9a9a9a;
}
.modal-footer .btn-secondary:hover {
	background-color: #ddd;
/* 	border-color: #eee; */
}
.description {
    border-top: 2px solid #eee;
    border-bottom: 5px double #eee;
    padding: 20px 30px;
}
/* ------- login form -------- */
#login {
	font-family: "trebuchet ms", verdana, sans-serif;
	font-size: 14px;
	border: 2px solid #dddddd;	
	margin: 20px auto 0 auto;
	background: #eeeeee;
	padding: 20px 10px;
}
/* forms */
#login label {
	border-bottom: 1px solid #414141;
	font-weight: bold;
	color: #414141;
}
/* ------- form -------- */
.input-group-sm>.custom-select, .input-group-sm>.form-control:not(textarea) {
height: calc(1.0em + .5rem + 2px);
}

/* --- footer ---------------------------- */
footer {
	/* 	height: 4.3rem; */
	background: #333;
	color:#ccc;
	letter-spacing: 0.4em;
	text-align: center;
}
footer a, footer a:link, footer a:visited {
	color:#ccc;
	text-decoration: none;
	border-bottom: 1px solid #ccc;
}
footer a:hover {
	color:#ddd;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}
/* ---( end specific tags )----------------------------- */

/* 
Extra small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap
 */

/* // Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
	td.cal {
		display: block;
		border: none;
	}
	td.cal_date {
		display: none;
	}
	.cal thead {
		display: none;
	}
	.table td {
		padding: 0;
	}
	.mobile-date {
		background-color: rgb(108, 108, 108);
		color: white;
		padding: 5px 0;
	}
	.modal {
		padding-right: 0 !important;
	}
	.modal-dialog {
		width: 100%;
		height: auto;
		margin: 0;
	}
	.modal-content {
		height: 100%;
	}
}
/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	body {
		font-size: 14px;
	}
	.event_container {
		font-size: 12px;
	}
	a.event:link {font-size: 12px;}
	a.event:visited {font-size: 12px;}
}

/*// Extra small devices (portrait phones, less than 576px)*/
/*// No media query for `xs` since this is the default in Bootstrap*/

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { }

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { }

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) { }

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }