/*
 * =============================================================================
 * Calendar
 * ============================================================================
 */

.panel[data-type="calendar_responsive"] *,
.panel[data-type="calendar_responsive"] *:before,
.panel[data-type="calendar_responsive"] *:after {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	
}

.panel-widget[data-widget="calendar_responsive"] {
	position: relative;
	overflow: hidden;
}

/* list view */
.fc-calendar-container-listview {
	overflow: auto !important;
}

.fc-calendar-row-listview {
	border: 0 !important;
}
.fc-calendar-listview {
	width: 100% !important;
	border: 1px #ddd solid !important;
	min-height: 40px !important;
	border-right: 0 !important;
	border-bottom: 0 !important;
	padding: 10px !important;
}
.fc-calendar-listview .fc-date {
	width: auto !important;
	position: relative !important;
}
.fc-calendar-listview .fc-weekday {
	padding-left: 0px !important;
	display: inline-block !important;
	font-size: 10px !important;
	text-transform: uppercase !important;
}
.fc-calendar-body-listview {
	border: 0 !important;
}
/* list view */

.fc-history {
	background: #eee;
}
.fc-history .fc-date {
	color: #ccc !important;
	text-shadow: 0 0px 0 !important; 
}
.fc-calendar-container {
	position: relative;
	height: 400px;
	width: 100%;
}

.fc-calendar {
	width: 100%;
	height: 100%;
}

.fc-calendar .fc-head {
	height: 30px;
	line-height: 30px;
	background: #ccc;
	color: #fff;
}

.fc-calendar .fc-body {
	position: relative;
	width: 100%;
	height: 100%;
	height: -moz-cald(100% - 30px);
	height: -webkit-calc(100% - 30px);
	height: calc(100% - 30px);
	border: 1px solid #ddd;
}

.fc-calendar .fc-row {
	width: 100%;
	border-bottom: 1px solid #ddd;
}

.fc-four-rows .fc-row {
	height: 25%;
}

.fc-five-rows .fc-row {
	height: 20%;
}

.fc-six-rows .fc-row {
	height: 16.66%;
	height: -moz-calc(100%/6);
	height: -webkit-calc(100%/6);
	height: calc(100%/6);
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
	float: left;
	height: 100%;
	/*width: -moz-calc(100%/7);
	/width: -webkit-calc(100%/7); */
	width: 14.285%; /* 100% / 7 */
	position: relative;
}

/* IE 9 is rounding up the calc it seems */
.ie9 .fc-calendar .fc-row > div,
.ie9 .fc-calendar .fc-head > div {
	width: 14.2%
}

.fc-calendar .fc-row > div {
	border-right: 1px solid #ddd;
	padding: 4px;
	overflow: hidden;
	position: relative;
}

.fc-calendar .fc-row > div.fc-content {
	cursor: pointer;
}	

.fc-calendar .fc-row > div.fc-content .badge {
	margin-left: 3px;
	margin-top: 3px;
}

.fc-calendar .fc-row > div.fc-content .cfr_click_more {
	font-size: 10px;
	padding: 3px 0 0 0;
}
.fc-calendar .fc-head > div {
	text-align: center;
}

.fc-calendar .fc-head > div {
	text-align: center;
}

.fc-calendar .fc-row > div > span.fc-date {
	position: absolute;
	width: 30px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	font-weight: 700;
	color: #ddd;
	text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8);
	right: 5px;
	text-align: right;
}

.fc-calendar .fc-row > div > span.fc-weekday {
	padding-left: 5px;
	display: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: #fff4c3;
}

.fc-calendar .fc-row > div.fc.out {
	opacity: 0.6;
}

.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child {
	border-right: none;
}

.fc-calendar .fc-row:last-child {
	border-bottom: none;
}

/* bootstrap output */
.fc-calendar .fc-row > .list-group-item  {
	border: none !important;
	background: none;
	border-radius: 0;
	padding: 0 4px;
	margin: 0;
	font-size: 10px;
}
.fc-calendar .fc-row .list-group-item  .badge {
	font-size: 12px;
}


/* */

.fc-calendar .fc-content {
	cursor: pointer;
}
.fc-calendar .fc-content ul.list-group {
	margin-top: 10px;
	margin-bottom: 10px;
}


.iws-bs .btn {
	line-height: 1.0em;
	font-size: 1.0em;
}

/*
.fc-calendar .fc-head .xs { display: block; }
.fc-calendar .fc-head .md { display: none; }
.fc-calendar .fc-head .lg { display: none; }

@media screen and (min-width: 580px) {
	
	.fc-calendar .fc-head .xs { display: none; }
	.fc-calendar .fc-head .md { display: block; }
	.fc-calendar .fc-head .lg { display: none; }

}

@media screen and (min-width: 1000px) {

	.fc-calendar .fc-head .xs { display: none; }
	.fc-calendar .fc-head .md { display: none; }
	.fc-calendar .fc-head .lg { display: block; }


}
*/

@media (min-width: 768px) {
	.page-panel .panel-body div[class*="col-sm"] {
		width: 50% !important;
	}
	.page-panel .panel-body div[class*="col-md"] {
		width: 50% !important;
	}
}

@media (min-width: 1200px) {
    .pull-right-lg {
		float: right !important;
	}
}
@media (min-width: 992px) {
	.page-panel .panel-body div[class*="col-"] {
		width: 100% !important;
	}
	.page-panel .panel-body div[class*="col-"] div[class*="pull-right"] {
		float: left !important;
	}
}
@media (min-width: 768px) {
    .pull-right-sm  {
		float: right !important;
	}
}	

.fc-calendar-header {
	margin-bottom: 5px;
}

.custom-content-reveal {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0;
	overflow: auto;
}

.custom-content-reveal .custom-content-buttons {
	position: absolute;
	top: 4px;
	right: 4px;
}
.custom-content-reveal .list-group-item {
	border-top: none; 
	cursor: pointer;
}

/*.custom-content-reveal button.custom-content-close {
	position: absolute;
	top: 4px;
	right: 4px;
}

.custom-content-reveal button.custom-content-close:after {
	content: 'x';
}
*/

.custom-content-reveal .event {
	padding-top: 15px;
	margin-bottom: 0;
}

.custom-content-reveal .event:hover {
	background: #eee;
}

/*.calendar-responsive-menu { margin-bottom: 10px; }

.calendar-responsive-menu nav a {  color: #333; font-size: .75em; text-decoration: none; }
.iws-bs .dropdown-menu > li >  a {  font-size: 1.0em !important; text-decoration: none; }

.calendar-responsive-prev { float: left; }
.calendar-responsive-next { float: right; }
.calendar-responsive-type { float: left; margin-right: 10px; }
.calendar-responsive-today { display: block; text-align: center; }

.calendar-month-year { font-size: 1.2em; text-align: center; margin-bottom: 10px; }

.calendar-bs-buttons { float: right ; }
.calendar-bs-select { float: left; }
*/
.calendar-header {
}

/*
 * ============================================================================
 * Events Panel
 * ============================================================================
 */

.event-section  h4 {
	border-bottom: 1px solid #aaa;
	color: #555
}

.event {
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
}

.event-header {
	margin-bottom: .25em;
}

.event-header a {
	color: #777;
	font-size: 1em;
	font-weight: bold;
	padding: .25em 0;
	text-decoration: none;
}

.event-datetime {
	color: #aaa;
	font-size: .75em;
	margin-bottom: 1em;
}

.event-time-start:before {
	content: '@';
	padding-left: 0px;
	padding-right: 5px;
}

.event-time-start:after {
	content: '-';
	padding-left: 5px;
	padding-right: 0px;
}

.event-date-end:before {
	content: ' through ';
	padding-left: 3px;
	padding-right: 3px;
}

.events-footer {
	margin: 1em 0 .5em 0;
	text-align: right;
}

.events-footer a {
	color: #999;
	font-size: .9em;
	text-decoration: none;
}

.events-footer a:hover {
	color: #333;
}


body.modal-open {
	overflow: hidden !important;
}

.iws-bs .modal {
	overflow: auto;
}
.modal-backdrop {
	top: 0;
	left: 0;
	z-index: 100;
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background: black;
	opacity: .5;
}

/* overwrite fc-text */
.fc-calendar .fc-row > div.fc-text {
	padding: 	0 0 0 4px;

}

.fc-calendar .fc-row > div.fc-text > span.fc-date {
	position: relative;
	padding: 0;
	margin: 0;
	font-size: 14px;
	line-height: 14px;
	margin: 3px;
	display: block;
	height: auto;
	width: auto;
}
.fc-calendar .fc-row > div.fc-text  div ul {
	padding: 0px;
	margin : 4px 0 0 4px;
}
.fc-calendar .fc-row > div.fc-text  div ul li {
	background: none;
	font-family: arial;
	font-size: 10px;
	font-weight: normal;
	color: #333;    
	margin: 3px 0 0 0;
	padding: 0;
	display: block;
	text-align: left;
}

.fc-calendar .fc-row > div.fc-text  div ul li .event-time {
margin: 0 4px 0 2px;
  font-weight: bold;
}
.fc-calendar .fc-row > div.fc-text div li.badge { 
	padding: 0px !important;
	margin: 3px 0 0 0px;
}

.fc-calendar .fc-text div li .fa {
}

button.iw-cw-search-submit {
	padding: 9px 12px !important;
	font-size: 14px !important;
}
/* tag filters */
.iw-cw-tags-available .iw-cw-toggleTagOverflow {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid #ccc;
  color: #777;
  padding: 10px 15px;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
.iw-cw-tags-available ul > li > a {
	border: 1px solid #ccc;
	color: #777;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	transition: all .2s linear;
}
.iw-cw-tags-available {
  position: relative;
}
.iw-cw-tags-selected ul > li > a:before, .clear-filters:before {
  content: "X";
  font-weight: 100;
  padding-right: 5px;
}
.iw-cw-tags-selected ul > li > a {
  display: block;
  font-size: .85em;
}
.iw-cw-tags-selected ul > li {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 10px;
}
.iw-cw-tags-selected ul {
  list-style: none;
  padding: 0;
}

.iw-cw-tags-wrapper h4 {
  display: inline-block;
  font-weight: bold;
}
.iw-cw-tags-available .iw-cw-tags-wrapper {
  margin-right: 50px;
  position: relative;
  min-height: 40px;
  overflow: hidden;
}
.iw-cw-tags-selected {
	display: inline-block;
	margin-left: 20px;
}
.iw-cw-tags-available ul li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
}
