section.calendar * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	min-height: 100%;
	position: relative;
}
body {

	height: 100%;
}

.dropshadow {
	-webkit-box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, .25);
	box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, .25);
}

/** #############################################################################################################
 * 												GLOBAL VIEW
 * ##############################################################################################################
 */
/**------------------------------------- Navigation --------------------------------------------------------- **/

section.calendar div.week-view header.header, section.calendar div.month-view header.header {
	margin-bottom: 10px;
}
section.calendar  header.header div.cal-nav {
	float: right;
	font-size: 16px;
	text-align: right;
	margin-top: 20px;
}

section.calendar  header.header div.cal-extra {
	display: none;
	clear: both;
	position: absolute;
	top: 60px;
	left: 240px;
	z-index: 101;
	width: 300px;
	background-color: #EEEEEE;
	padding: 10px;
}

section.calendar  header.header div.cal-extra label {
	padding: 15px;
	background-color: #DDDDDD;
	width: 100%;
}
section.calendar  header.header div.cal-nav, section.calendar  header.header div.cal-extra label input {
	margin-top: 0;
}

section.calendar header.header div.cal-nav a {
	background-color: #EBEBEB;
	padding: 5px;
}
section.calendar header.header div.cal-nav a.selected {

	background-color: #D6D6D6;
}
section.calendar  header.header div.tool-header {
	float: left;
	width: auto;
}
section.calendar header.header div.tool-header h2 {
	float: left;
}
section.calendar header.header div.tool-header #events-select-trigger, section.calendar header.header div.tool-header #calendar-subscribe {
	margin-top: 20px;
	margin-left: 5px;
}

/**------------------------------------ Event Popup --------------------------------------------------------------**/

div#event-popup {
	z-index: 103;
	padding: 10px;
	width: 300px;
	position: relative;
	-webkit-border-radius: 5px;
}

div#event-popup.left-arrow:after {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

div#event-popup.left-arrow::after {
	/*border-color: rgba(66, 139, 202, 0);
	 border-left-color: #428BCA;
	 border-width: 10px;
	 top: 17px;
	 margin-top: -10px; */
	top: 10px;
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-right: 10px solid #428BCA;
	border-bottom: 9px solid transparent;
}

div#event-popup.right-arrow:after {
	left: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

div#event-popup.right-arrow::after {
	/*border-color: rgba(66, 139, 202, 0);
	 border-left-color: #428BCA;
	 border-width: 10px;
	 top: 17px;
	 margin-top: -10px; */
	top: 10px;
	width: 0;
	height: 0;
	border-top: 9px solid transparent;
	border-left: 10px solid #428BCA;
	border-bottom: 9px solid transparent;
}

div#event-popup h2 {
	font-size: 15px;
	margin: 0;
	line-height: 20px;
}

div#event-popup div.popup-close {
	position: absolute;
	right: 5px;
	top: 0px;
	cursor: pointer;
	font-size: 20px;
}

/** #############################################################################################################
 * 												MONTH VIEW
 * ##############################################################################################################
 */

/**------------------------------------- Header ------------------------------------------------------------- **/
section.calendar div.month-view  div.calendar-content div.day-header div.day {
	height: auto;
	text-align: center;
	font-weight: bold;
	width: 13.5%;
	padding: 5px;
	float: left;
	margin-right: 0.91666666666667%;
	margin-bottom: 0.91666666666667%;
	margin-right: 0.91666666666667%;
	margin-bottom: 0.91666666666667%;
	background-color: #d6d6d6;
}
section.calendar div.month-view  div.calendar-content div.day-header div.day:last-child {
	margin-right: 0;
}
/**------------------------------------- Navigation --------------------------------------------------------- **/
section.calendar div.month-view header.header, section.calendar div.week-view header.header {
	position: relative;
	top: 1px;
}
section.calendar div.month-view header.header div.tool-header h2 span#month-select-trigger {
	cursor: pointer;
	display: block;
}

section.calendar div.month-view header.header div.month-select {
	clear: both;
	position: absolute;
	top: 60px;
	z-index: 101;
	width: 100%;
	background-color: #EEEEEE;
	padding: 10px;
	-webkit-box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, .25);
	box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, .25);

}

section.calendar div.month-view header.header div.month-select div.third {
	width: 33.33%;
	float: left;
	text-align: center;
}

section.calendar div.month-view header.header div.month-select div.third div {
	height: 30px;
}
section.calendar div.month-view header.header div.month-select div.third div a {
	width: 100%;
	height: 100%;
	display: block;
	padding-top: 5px;
}
section.calendar div.month-view header.header div.month-select div.month-row a.month {
	margin-right: 0.9090%;
	width: 7.5%;
	float: left;
	text-align: center;
	margin-bottom: 0.9090%;
	display: block;
	border: 1px solid transparent;
	padding: 25px 0;
	height: 100px;
	overflow: hidden;
}
section.calendar div.month-view header.header div.month-select  a.month:last-child {
	margin-right: 0;
}
section.calendar div.month-view header.header div.month-select  .prev-month {
	background-color: #DDDDDD;
}

section.calendar div.month-view header.header div.month-select  .next-month {
	background-color: #CCCCCC;
}

section.calendar div.month-view header.header div.month-select  .current-month {
	background-color: #2A8ACF;
}
section.calendar div.month-view header.header div.month-select  .current-month  a {
	color: #FFFFFF;
}

section.calendar div.month-view header.header div.month-select   .selected-month {
	border: 1px solid #2A8ACF;
}

/**------------------------------------- Calendar Main Div -------------------------------------------------- **/
section.calendar div.calendar-content {
	width: 100%;
	font-size: 100%;
}

/**------------------------------------- Day ---------------------------------------------------------------- **/
section.calendar div.month-view div.month div.day {
	width: 13.5%;
	padding: 5px;
	float: left;
	height: 150px;
	background-color: #EBEBEB; /** COLOR **/
	margin-right: 0.91666666666667%;
	margin-bottom: 0.91666666666667%;
}

section.calendar div.month-view div.month div.week div.day div.day-popup {

	min-width: 13.5%;
	padding: 5px;
	float: left;
	min-height: 150px;
	background-color: #EBEBEB;
	margin-right: 0.91666666666667%;
	margin-bottom: 0.91666666666667%;
	z-index: 103;
	display: none;
}

section.calendar div.month-view div.month div.day:last-child {
	margin-right: 0;
}

section.calendar div.month-view div.month div.dimday {
	background-color: #f2f2f2; /** COLOR **/
	visibility: hidden;
}

section.calendar div.month-view div.month div.day section.event {
	padding: 3px;
	overflow: hidden;
	width: 100%;
	height: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
}
section.calendar section.event > a {
	display: block;
}

/**------------------------------------- Month -------------------------------------------------------------- **/
section.calendar div.month {
	width: 100%;
}
/** #############################################################################################################
 * 												AGENDA MONTH VIEW
 * ##############################################################################################################
 */

#agenda-month div.events {
	border-top: 1px solid #C4C4C4;
	padding-top: 1px;
	clear: both;
}
#agenda-month div.events section.event {
	margin-bottom: 1px;
	background-color: #EBEBEB; /** COLOR **/
	padding: 10px;
}
#agenda-month div.events div.day-label {
	width: 25%;
	float: left;
}

#agenda-month div.events div.day {
	width: 75%;
	float: left;
}
#agenda-month div.events section.event a {
	display: inline;
}

#agenda-month div.events section.event span.range {
	font-size: 12px;
	display: block;
}
/** #############################################################################################################
 * 												WEEK VIEW
 * ##############################################################################################################
 */
section.calendar div.week-view div.calendar-content div.day-header  div.day-head-wrapper {
	width: 95%;
	float: left;
}
section.calendar div.week-view div.calendar-content div.day-header  div.day-head-wrapper div.day {
	width: 13.42857142857143%;
	margin-right: 1%;
	float: left;
	text-align: center;
}

section.calendar div.week-view div.calendar-content div.day-header div.hour-header {
	width: 4%;
	float: left;
	margin-right: 1%;
}

section.calendar div.week-view div.calendar-content div.day-header  div.day-head-wrapper  div.day:last-child {
	margin-right: 0;
}

section.calendar div.week-view div.calendar-content div.week-wrapper div.week div.day {
	width: 13.42857142857143%;
	margin-right: 1%;
	float: left;
	position: relative;
	height: 1440px;
	background-image: url('../img/week-bg.jpg');
}
section.calendar div.week-view div.calendar-content div.week-wrapper {
	width: 100%;
}

section.calendar div.week-view div.calendar-content div.week-wrapper div.week {
	float: left;
	width: 95%;
}
section.calendar div.week-view div.calendar-content div.week-wrapper div.hour-column {
	width: 4%;
	float: left;
	margin-right: 1%;
}
section.calendar div.week-view div.calendar-content div.week-wrapper div.hour-column div.hour-label {
	height: 60px;
	font-size: 10px;
}

section.calendar div.week-view div.calendar-content div.week-wrapper div.week div.day div.hour {
	height: 60px;
	background-color: #DDDDDD;
	margin-bottom: 1px;
}

section.calendar div.week-view div.calendar-content div.week-wrapper div.week div.day:last-child {
	margin-right: 0;
}

section.calendar div.week-view div.calendar-content div.week div.day div.day-popup {
	display: none;
}

section.calendar div.week-view div.calendar-content div.week div.day section.event {
	padding: 3px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	position: absolute;
	min-height: 30px;
}
section.calendar div.week-view header.header #week-selector-popup {
	display: none;
	clear: both;
	position: absolute;
	top: 60px;
	z-index: 101;
	width: 100%;
	background-color: #EEEEEE;
	padding: 10px;
	-webkit-box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, .25);
	box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, .25);

}

section.calendar div.week-view header.header div.tool-header h2 #month-select-trigger {
	cursor: pointer;
}

section.calendar div.week-view header.header #week-selector-popup section.calendar {
	width: 16.66666666666667%;
	float: left;
	padding: 5px;
}
section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view header.header h2 {
	font-size: 15px;
	line-height: 15px;
}
section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view header.header h2 a {
	display: none;
}

section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.week {
	margin-bottom: 3px;
}
section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.week div.day {
	float: left;
	width: 13.42857142857143%;
	margin-right: 1%;
	text-align: center;
	background-color: #DDDDDD;
}
section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.week:hover div.day {
	background-color: #CCCCCC;
}
section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.selected div.day, section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.selected:hover div.day {
	background-color: #2A8ACF;
	color: #FFFFFF;
}

section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.week div.dimday {
	visibility: hidden;
}

section.calendar div.week-view header.header #week-selector-popup section.calendar div.small-month-view div.calendar-content div.month div.week div.day:last-child {
	margin-right: 0;
}

section.calendar div.week-view header.header #week-selector-popup .tool-header {
	display: block;
	float: none;
}
section.calendar div.week-view header.header #week-selector-popup .tool-header a:hover {
	text-decoration: none;
	font-weight: bold;
}
section.calendar div.week-view header.header #week-selector-popup h2 {
	font-size: 1.3em;
	margin: 10px 0px 5px 0px;
	padding: 5px 0px 0px 0px;
	border-bottom: 1px solid #2A8ACF;
	text-align: center;
	display: block;
	float: none;
}
section.calendar div.week-view header.header #week-selector-popup a#next-btn, section.calendar div.week-view header.header #week-selector-popup a#back-btn {
	display: none;
}

/** #############################################################################################################
 * 												Day VIEW
 * ##############################################################################################################
 */

section.calendar div.day-view div.calendar-content div.day-wrapper div.hour-column {
	width: 10%;
	float: left;
}
section.calendar div.day-view div.calendar-content div.day-wrapper div.hour-column div.hour-label {
	height: 60px;
}
section.calendar div.day-view div.calendar-content div.day {
	width: 100%;
	float: left;
	height: 1440px;
	position: relative;
	background-image: url('../img/week-bg.jpg');
}
section.calendar div.day-view div.calendar-content div.day section.event {
	position: absolute;
	width: 100%;
	padding: 5px;
	overflow: auto;
	border: 1px solid #000;
}
section.calendar div.day-view div.calendar-content div.day section.event hr {
	padding: 2px 0;
	margin: 0;
	border-color: #000;
}

/** #############################################################################################################
 * 												EVENT SPECIFIC STYLES
 * NOTE: These styles will change based on what events are added to the calendar. I.e. you have to add the event
 * to the calendar to see what class is generated.
 * ##############################################################################################################
 */
.telegraph5712 {
	background-color: #fee8e6;
}
.telegraph113 {
	background-color: #d9f5fa;
}

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

	section.calendar div.calendar-content {
		font-size: 12px;
	}
	section.calendar div.week section.event, section.calendar div.month section.event {
		border-bottom: 1px solid #000;
	}
	section.calendar section.event span.range {
		display: none;
	}
	section.calendar div.month-view div.month div.day {
		height: 100px;
	}

	section.calendar div.week-view header.header #week-selector-popup section.calendar {
		width: 25%;
	}

}
@media screen and (max-width: 650px) {
	section.calendar header.header div.tool-header h2 {
		font-size: 1.9em;
	}
}

@media screen and (max-width: 600px) {

	section.calendar div.calendar-content {
		font-size: 10px;
	}

	.cal-nav a:nth-child(2) {
		display: none;
	}
	section.calendar  header.header div.cal-extra {
		left: 0;
		width: 100%;
	}

	section.calendar div.week-view header.header #week-selector-popup section.calendar {
		width: 33.33%;
	}

	section.calendar header.header div.tool-header a#events-select-trigger, section.calendar header.header div.tool-header a#calendar-subscribe {
		display: block;
		margin-top: 0px;
		margin-left: 0px;
	}

	section.calendar  header.header div.cal-nav {
		float: none;
		display: block;
	}
	section.calendar  header.header div.cal-nav a {
		float: left;
		width: 50%;
		text-align: center
	}
	section.calendar header.header div.tool-header {
		float: none;
	}
	section.calendar header.header div.tool-header h2 {
		float: none;
		text-align: center;
	}
}

@media screen and (max-width: 350px) {
	section.calendar div.week-view header.header #week-selector-popup section.calendar {
		width: 50%;
	}
	section.calendar header.header div.tool-header h2 {
		font-size: 1.7em;
	}
}

@media screen and (max-width: 380px) {
}
