

#calendar{
	position: absolute;
	top: 75px;
	left: 50px;
	right: 50px;
	bottom: 200px;
	border: 1px solid #bbb;
}

#date_head{
	position: absolute;
	right: 200px;
	margin: auto;
	text-align: center;
	left: 200px;
	top: -5px;
}

div.reserve {
    position: absolute;
    right: 200px;
    margin: auto;
    text-align: center;
    left: 200px;
    top: -4px;
}

.m-tip{
	user-select: none;
	border: 4px solid #ccc;color: black; opacity: 0.8;
	margin: auto;
	border-radius: 4px;

	text-align: center;font-size:16px;
	position:absolute;
	bottom: 30px;
	overflow: auto;
	max-height: 150px;
	
	left: 50px;
	right: 50px; 
}

.clearfix{
	clear: both;
}

#controls{
	position: absolute;
	top: 30px;
	height: 23px;
	left: 50px;
	right: 50px;
	margin: 0;
	padding: 0;
}

#controls ol{
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 1px solid #B3B3B3;
	border-radius: 2px;
	overflow: hidden;
	-moz-background-clip: padding;     /* Firefox 3.6 */
	-webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
	background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
	height: 30px;
}

#controls ol li{
	display: inline-block;
	float: left;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: #CACACA url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAUCAYAAABMDlehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNp0y6sNACAAxNALBs0ArM9QbMEnJKiD4jEvNZXtEiRVEBg2LJgwoEN7pbtlSBBBX44AAwARiCdWebcYiAAAAABJRU5ErkJggg==) repeat-x 0 0; /* Old browsers */
	text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px;
	color: #333;
}

#controls ol li:hover{
	background-color: #C0C0C0;
	color: #000;
}

#controls ol li.on{
	background: #C4C4C4;
	color: #555;
}

#controls ol li button{
	margin: 0;
	background: transparent;
	border: 0;
	border-left: 1px solid #B3B3B3;
	height: 100%;
	padding: 0 10px;
	color: inherit;
	text-shadow: inherit;
	cursor: pointer;
}

#controls ol li:first-child button{
	border-left: 0;
}

#cals{
	float: left;
}

#nav{
	float: right;
}

.ui-cal-week .ui-cal-dateline, .ui-cal .ui-cal-resourceline {
    height: 30px;
}

.ui-cal-week .ui-cal-dateline-fill {
    height: 30px;
}

.ui-cal-week .ui-cal-resourceline-fill {
    height: 30px;
}

.ui-cal .ui-cal-label-date p, .ui-cal .ui-cal-label-resource p {
    margin-top: -14px;
}

.btn.btn-kraig-inverse {
    background-color: #fff;
    color: rgb(125, 45, 28);
    border-color: #fff;
    border-radius: 0;
}

.kraigModal .modal-content{
	overflow:hidden;
}

.kraigModal .top-strip{
	height: 155px;
    background: #007b5e;
    transform: rotate(141deg);
    margin-top: -94px;
    margin-right: 190px;
    margin-left: -130px;
    border-bottom: 65px solid #7d2d1c;
    border-top: 10px solid #7d2d1c;
}

.kraigModal .bottom-strip{
	height: 155px;
    background: #007b5e;
    transform: rotate(112deg);
    margin-top: -110px;
    margin-right: -215px;
    margin-left: 300px;
    border-bottom: 65px solid #7d2d1c;
    border-top: 10px solid #7d2d1c;
}


/**************************/
/****** modal-lg stips *********/
/**************************/
.kraigModal .modal-lg .top-strip {
    height: 155px;
    background: #602215;
    transform: rotate(141deg);
    margin-top: -106px;
    margin-right: 457px;
    margin-left: -130px;
    border-bottom: 65px solid #7d2d1c;
    border-top: 10px solid #7d2d1c;
}
.kraigModal .modal-lg .bottom-strip {
    height: 155px;
    background: #602215;
    transform: rotate(135deg);
    margin-top: -115px;
    margin-right: -339px;
    margin-left: 621px;
    border-bottom: 65px solid #7d2d1c;
    border-top: 10px solid #7d2d1c;
}

.top-right {
    position: relative;
}
.top-right img {
    position: absolute;
    top: 0px;
    right: 0px;
}

nav.navbar{
	z-index: 99999;
}

#editEventModal{
	z-index: 99999;
}

#subscribeModal{
	z-index: 99999;
}

@media only screen and (max-width: 576px) {
	#calendar{
		position: absolute;
		top: 60px;
		left: 5px;
		right: 5px;
		bottom: 5px;
		border: 1px solid #bbb;
	}
	
	.m-tip{
		display: none;
	}
	
	.time-btn{
		width: 49%;
	}
}