*{
font-family: arial;
}

.cal-head{text-align:center;margin-top: -11px !important;margin-bottom: 3px !important;}
.cal-head a {color:#474747;}

#main-calendar .cal-head{margin-bottom: 12px !important;}
#top-right-note img{width:14px;display:inline;}

#calheadtbl{
border: 0px solid #ededed;
border-collapse: collapse;
border-spacing: 0;
font-size: 14px;
line-height: 2;
margin: 0px;
width: 650px;
margin-left: auto;
margin-right: auto;
}

#calheadtbl td{
border-top: 0px solid black;
}

/*Styles for content in day squares in calendar view*/
.day-wrap-div{
border:0px solid brown;
width:100%;
height:100px;
overflow:hidden;
}

.cal-start-time{
display:block;
font-weight:bold;
color:#04B404;
}

.cal-end-time{
display:block;
font-weight:bold;
color:#EE0404;
}

.cal-title{
display:block;
font-weight:bold;
color:#9b62a1;
text-align:center;
}

.cal-desc{
/*display:none;*/
}

.cal-loc{
/*display:none;*/
}

#moreinfo{
margin-left: auto;
margin-right: auto;
}

.view-all-events-link{
color: #99649f;
cursor: pointer;
background:#9a62a0;
text-align:center;
color:#fff;
margin-top:.22em;
}

.view-all-events-link:hover{background:#7c4182;}

/*Styles for content in the calendar pop up window:*/
.pop-head{
color:#9b62a1;
}

/*popcon div wraps all content in the popup*/
#popcon{
color: #888888;
}

.pop-up-content{
display:none;
color:#292929;
padding:0 0 1em 0;
}

.pop-up-content a {font-size:20px;}

.pop-cal-start-time{
display:block;
font-weight:bold;
color:#04B404;
}

.pop-cal-end-time{
display:block;
font-weight:bold;
color:#EE0404;
}

.pop-cal-title{
display:block;
font-weight:bold;
color:#9b62a1;
text-align:center;
}

.pop-cal-desc{
display:block;
}

.pop-cal-loc{
display:block;
}
/*End basic content styles for calendar pop up window.*/


table.calendar{
table-layout: fixed;
overflow:hidden;
/*border-left:1px solid #999;*/
margin-right: auto;
margin-left: auto;
width:100%;
}

table.calendar td{
/*
min-width:10%;
max-width:100px;
*/
}


table.calendar td:first-child{border-left: 1px solid #999;}
tr.calendar-row{}
td.calendar-day{font-size:11px;position:relative;overflow:hidden;}

/*
* html div.calendar-day{
height:80px;
}*/

td.calendar-day:hover{background:#f9f9f9;}
td.calendar-day-np{background:#eee;}
* html div.calendar-day-np{

}
td.calendar-day-head{
background:#ccc;
font-weight:bold;
text-align:center;
padding:5px;
border-bottom:1px solid #999;
border-top:1px solid #999;
border-right:1px solid #999;
}

div.day-number{width:100%;background:#fff;color:#292929;position:absolute;top:5px;left:5px;padding:5px;font-weight:bold;margin:-5px -5px 0 0;text-align:left;-moz-box-sizing:border-box;-webkit-box-sizing: border-box;box-sizing:border-box;}
div#popwrap .day-number{left:0;}
div.cal-content {padding:0px 0 0 0;}
.cultivate-popup-title {background:#e9632f;padding:2px 5px 2px 7px;}
div#popwrap .cultivate-popup-title {background:#none;font-size:20px;padding:2px 5px 2px 7px;}

.day-content{margin-top:27px;}

/* shared */
td.calendar-day, td.calendar-day-np{/*height: 100px;*/padding:5px;border-bottom:1px solid #999;border-right:1px solid #999;}

/* Popup Styles */
.ontop {z-index: 999;width: 100%;height: 100%;top: 0;left: 0;display: none;position: absolute;background-color: #444444;color: #aaaaaa;opacity: .74;filter: alpha(opacity = 95);}
#popup {display:none;width:500px;max-width:100%;position: absolute;color: #000000;background-color: #ffffff;top: 220px;left: 50%;margin-left: -200px;z-index:9999;border: 1px solid #474747;}
#popwrap{padding:29px;-moz-box-sizing:border-box;-webkit-box-sizing: border-box;box-sizing:border-box;}
.close a:link{font-size:16px;color:#a6a6a6;position:absolute;right:8px;top:4.5px;text-decoration:none;}
.close a:hover{font-size:16px;color:#a6a6a6;position:absolute;right:8px;top:4.5px;text-decoration:none;}
.close a:visited{font-size:16px;color:#a6a6a6;position:absolute;right:8px;top:4.5px;text-decoration:none;}
.edit{position:absolute;right:5px;bottom:7px;}



/* Ian - this section */

/* Button Styles */
.button {
   border: 1px solid #9b62a1;
   background: #9b62a1;
   background: -webkit-gradient(linear, left top, left bottom, from(#9b62a1), to(#9b62a1));
   background: -webkit-linear-gradient(top, #9b62a1, #9b62a1);
   background: -moz-linear-gradient(top, #9b62a1, #9b62a1);
   background: -ms-linear-gradient(top, #9b62a1, #9b62a1);
   background: -o-linear-gradient(top, #9b62a1, #9b62a1);
   background-image: -ms-linear-gradient(top, #9b62a1 0%, #9b62a1 100%);
   padding: 12px 16px;
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   font-size: 18px;
   text-decoration: none;
   vertical-align: middle;
   }
.button:hover {
   border: 1px solid #86498c;
   background: #86498c;
   background: -webkit-gradient(linear, left top, left bottom, from(#86498c), to(#86498c));
   background: -webkit-linear-gradient(top, #86498c, #86498c);
   background: -moz-linear-gradient(top, #86498c, #86498c);
   background: -ms-linear-gradient(top, #86498c, #86498c);
   background: -o-linear-gradient(top, #86498c, #86498c);
   background-image: -ms-linear-gradient(top, #86498c 0%, #86498c 100%);
   }
.button:active {
   border: 1px solid #9b62a1;
   background: #9b62a1;
   background: -webkit-gradient(linear, left top, left bottom, from(#9b62a1), to(#86498c));
   background: -webkit-linear-gradient(top, #9b62a1, #9b62a1);
   background: -moz-linear-gradient(top, #9b62a1, #9b62a1);
   background: -ms-linear-gradient(top, #9b62a1, #9b62a1);
   background: -o-linear-gradient(top, #9b62a1, #9b62a1);
   background-image: -ms-linear-gradient(top, #9b62a1 0%, #9b62a1 100%);
   }

/* Ian - end of edited section */


/* =============================================================================
   Calendar
   ========================================================================== */
.calendar-title{font-size:34px;text-align:center;padding:0;}
.calendar-header{width:100%;font-size:22px;background:#f0f0f0;padding:.74em .92em .47em 1em;}
.calendar-box{background:#f9f9f9;width:100%;height:100%;padding:1em 1.2em 1em 1.2em;}
.calendar-right{width:35%;float:right;margin:0 0 1em 0;background:#fff;border:#ccc;-webkit-border-radius: 3px 3px 3px 3px;border-radius: 3px 3px 3px 3px;}
.calendar-left{width:65%;float:left;margin:0 0 1em 0;padding:0 1.5em 0 0;background:#fff;border:#ccc;-webkit-border-radius: 3px 3px 3px 3px;border-radius: 3px 3px 3px 3px;}
.calendar-field {border:1px solid #ccc !important;height:50px !important;width:90%;margin:.22em 0 .74em 0;padding:.5em 0 .5em .7em !important;font-size:20px !important;color:#292929 !important;background:#fff !important;}
.calendar-field-yl {border:1px solid #ccc !important;height:40px !important;width:90%;margin:.47em 0 .74em 0;padding:.5em 0 .5em .7em !important;font-size:18px !important;color:#292929 !important;background:#fff !important;}
.calendar-submit{background:#8b8b8b !important;height:50px !important;width:200px !important;text-shadow:none !important;color:#fff !important;-webkit-border-radius: 0 0 0 0 !important;border-radius: 0 0 0 0 !important;-webkit-transition: background 400ms ease-in-out;-moz-transition: background 400ms ease-in-out;-ms-transition: background 400ms ease-in-out;-o-transition: background 400ms ease-in-out;transition: background 400ms ease-in-out;}
.calendar-submit:hover{background:#292929 !important;}
.calendar-main-title{text-align:center;margin:-.5em 0 0 0;padding:0;}
.calendar-main-top-note{text-align:center;font-size:15px;margin:0 0 1em 0;color:#292929;}
.calendar-spots{padding:0 0 .47em 0;font-size:18px;}
.usermsg{width:100%;background:#429ad8;color:#fff !important;padding:.77em .47em .11em .74em !important;margin:.47em 0 1em 0;text-align:center;-moz-box-sizing:border-box;-webkit-box-sizing: border-box;box-sizing:border-box;}
.usermsg-error{width:100%;background:#de4b4b;color:#fff !important;padding:.77em .47em .11em .74em !important;margin:.47em 0 1em 0;text-align:center;-moz-box-sizing:border-box;-webkit-box-sizing: border-box;box-sizing:border-box;line-height:1.3;}


 /*Styles above here don't need to be inside of a media query because the table's width for the calendar will be set to 1000px and centered. All styles below here are for screen sizes under 1000px:*/

@media(max-width: 900px) {
/*add styles for screen sizes from 800 to 900px:*/
	table.calendar{
	width:100%;
	}
}

/*** 850px ***/

@media screen and (max-width: 53.125em) {

/* calendar */
.calendar-left{width:100%;clear:both;padding:0;}
.calendar-right{width:100%;clear:both;padding:0;}

}

@media(max-width: 800px) {
/*add styles for screen sizes from 700 to 800px:*/
	table.calendar{
	width:100%;
	}
}

@media(max-width: 700px) {
/*add styles for screen sizes from 500 to 700px:*/
	table.calendar{
	width:100%;
	}
	.day-wrap-div{
	height:75px;
	}
}

/*** 650px ***/
@media screen and (max-width: 650px) {

/* calendar */
.calendar-author-pic{width:100%;}
.calendar-author-text{width:100%;}
.calendar-author-button{width:100%;}

}

@media(max-width: 500px) {
/*add styles for screen sizes from 400 to 500px:*/
	table.calendar{
	width:100%;
	}

	.day-wrap-div{
	height:65px;
	}

	#popup {
	left: 0%;
	margin-left:0px;
	}
}


@media(max-height: 400px) {
/*add styles for screen sizes under 500px high:*/

	#popup {
	top: 0px;
	min-height:400px;
	}
}


@media(max-width: 400px) {
/*add styles for screen sizes from 320 to 400px:*/
	table.calendar{
	width:100%;
	}
	.day-wrap-div{
	height:45px;
	}

	td div.cal-start-time, td div.cal-end-time, td div.cal-loc, td div.cal-desc, td div.cal-title{
	display:none;
	}

	.moreinfo{
	margin-top:16px;
	width:22px;
	}

	div.day-number {
    padding: 1px;
	}

}

@media(max-width: 320px) {
/*add styles for screen sizes 320px and under:*/
	table.calendar{
	width:290px;
	}
	.day-wrap-div{
	height:40px;
	}

	td div.cal-start-time, td div.cal-end-time, td div.cal-loc, td div.cal-desc, td div.cal-title{
	display:none;
	}

	.moreinfo{
	margin-top:16px;
	width:22px;
	}

	div.day-number {
    padding: 1px;
	}

}

/*Ian added to remove parent from pods*/
.term-parent-wrap{
  display: none !important;
}
