
body {
	font-family: 'AvenirNextLTW01-Regular', sans-serif;
	margin:0;
	padding:0;
	background-color:#fff;
}

#popup {
	position:fixed;
	width:100%;
	height:100%;
	background-color:rgba(255,255,255,0.8);
	z-index:100;
	display:none;
	color:#333;
}
#popup .box {
	width:340px;
	height:380px;
	background-color:#fff;
	padding:25px;
	border-radius:5px;
	box-shadow:0 0 7px #aaa;
	text-align:center;
	margin: auto;
  	position: absolute;
  	top: 0; left: 0; bottom: 0; right: 0;
	color:#666;
	/*background-image: url(stripe2.png);*/
}
#boxRoom {
	display:block;
	font-size:25px;
	margin:15px 0;
	color:#333;
}
#boxMail {
	display:block;
	font-size:20px;
	margin:15px 0;
	border:1px solid #ccc;
	border-radius:5px;
	color:#333;
	position:relative;
	overflow:hidden;
}
#boxMailIn {
	display:block;
	padding:10px;
	padding-right:42px;
}
#boxMail i {
	position:absolute;
	right:0;
	background-color:rgba(26,127,156,1);
	height:100%;
	padding:10px;
	display:block;
	color:#fff;
	cursor:pointer;
}
#closePopup {
	display:inline-block;
	background-color:rgba(26,127,156,1);
	color:#fff;
	padding:8px 15px;
	border-radius:2px;
	text-transform:uppercase;
	font-size:90%;
	cursor:pointer;
}
#boxDesc {
	font-size:90%;
	line-height:1.1;
}

#closePopup:hover {
	background-color:rgba(26,127,156,0.9);
}

@-webkit-keyframes swinging{
    0%{-webkit-transform: rotate(6deg);}
    50%{-webkit-transform: rotate(-2deg)}
    100%{-webkit-transform: rotate(6deg);}
}

@keyframes swinging{
    0%{transform: rotate(6deg);}
    50%{transform: rotate(-2deg)}
    100%{transform: rotate(6deg);}
}

.swingimage{
	display:block;
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-animation: swinging 6.5s ease-in-out forwards infinite;
    animation: swinging 6.5s ease-in-out forwards infinite;
}
div.calOuter {
	margin:1px auto;
	margin-bottom:15px;
	min-width:800px;
	max-width:1800px;
	width:90%;
}
div.calOuter h1 {
	font-size:28px;
	text-transform:uppercase;
	font-weight:normal;
	font-family: 'AvenirNextLTW01-Demi', sans-serif;
	padding-left:230px;
	background-image:url(logo_red.png);
	background-repeat:no-repeat;
	height:66px;
	box-sizing:border-box;
	line-height:56px;
	color:#555;
	overflow:hidden;
	float:left;
    width:700px;
    padding-top:10px;
}
div.cal {
	width:100%;
	height:1070px;
	border:6px solid #fff;
	overflow:hidden;
	box-shadow:0px 0px 10px #999;
	background-color:#fff;
	border-radius:7px;
}
div.calHeader {
	height:70px;
	background-color:rgba(153,0,0,1);
	overflow:hidden;
	border-radius:4px;
	background-image:url(stripe2.png);
}
div.calHeader.view-week, div.calHeader.view-workweek {
	height:100px;
}
div.cal div.calRow {
	color:#333;
	line-height:300%;
	overflow:hidden;
	padding-left:7px;
	box-sizing:border-box;
	border-bottom:1px solid #ccc;
	font-size: 14px;
}
div.cal div.calRow:nth-child(2n+2) {
	border-bottom:2px solid #ccc;
	background-color:rgba(0,0,0,0.03);
}
div.calRoomColVisible:nth-child(2n+2) {
	background-color:rgba(0,0,0,0.07);
}
div.calRoomColVisible:nth-child(2n+1) {
	background-color:rgba(0,0,0,0.03);
}
div.calView {
	height:1100px;
	overflow:hidden;
	position:relative;
}
div.calHolder {
	height:1600px;
	overflow:hidden;
	top:-460px;
	position:relative;
}
div.calEvent {
	position:absolute;
	box-sizing:border-box;
	padding:5px;
	overflow:hidden;
	border-radius:5px;
	/*
	background-color:#eee;
	border:1px solid #ccc;
	*/
	text-overflow: ellipsis;
	background-color:rgba(0,61,76,0.8);
	background-image:url(stripe2.png);
	border:1px solid rgba(0,61,76,1);
	color:#fff;
	width:-webkit-calc(100% - 6px);
	width:calc(100% - 6px);
	font-size:12px;
	margin:0 3px;
	/*
	transform: rotate(-90deg);
	*/
	cursor: pointer;
}
div.calEvent:hover {
    box-shadow:0 0 5px #555;
    min-width:180px;
    min-height:90px;
    z-index:99;
    background-color:rgba(0,61,76,1);
    cursor:pointer;
    border:1px solid #fff;
    font-size:13.5px;
    padding:8px;
}
div.calEvent:hover:before {
	content:'';
	display:block;
	position:absolute;
	background-color:rgba(255,255,255,1);
	transform:rotate(45deg);
	width:20px;
	height:20px;
	right:-10px;
	top:-10px;
}

div.calCols {
    position:absolute;
    top:0;
    left:0;
    padding-left:50px;
    height:100%;
    background-color:rgba(111,111,111,0);
    width:100%;
    box-sizing:border-box;
}

div.calCols div:last-child div.calEvent:hover {
    right:0;
}

div.calCols div:last-child, div.calCols div.calDayCol div:last-child {
    border-right:none !important;
}
div.calRoomCol {
	position:relative;
	top:0;
	left:0;
	height:100%;
	border-right:1px dotted maroon;
	box-sizing:border-box;
	float:left;
}
div.calDayCol {
	position:relative;
	top:0;
	left:0;
	height:100%;
	border-left:2px solid #333;
	box-sizing:border-box;
	float:left;
}

div.calRoomItem {
	display:inline-block;
	margin:2px 4px;
	padding:2px 4px;
	border:1px solid #ddd;
	background-color:#f5f5f5;
	border-radius:3px;
	font-size:12px;
	text-transform:uppercase;
	cursor:pointer;
}
div.calRoomItem:hover {
	border:1px solid #aaa;
	background-color:#ccc;
}
/*
div.calRoomItem::before {
	display:inline-block;
	margin-right:4px;
	margin-top:2px;
	border:1px solid #777;
	border-radius:3px;
	content:'.';
	font-size:1px;
	height:11px;
	width:11px;
	float:left;
	box-sizing:border-box;
	padding:0;
	background-color:#fff;
}
*/
div.calRoomItem::before {
	content: '\f204';
	margin-right:5px;
	font-size:14px;
	line-height:14px;
}
/*
div.calRoomItem.calRoomItemSelected:before {
    background-color:rgba(0,61,76,1);
    background-image:url(stripe2.png);
}
*/
div.calRoomItem.calRoomItemSelected:before {
    content: '\f205';
    color:darkgreen;
}
div.calDayColHroom {
    margin-top:0px;
    line-height:0.95;
    height:30px;
    float:left;
    /*overflow:hidden;*/
    border-top:1px solid white;
    padding:3px;
    box-sizing:border-box;
    font-size:12px;
    border-right:1px solid transparent;
    border-left:1px solid transparent;
    position:relative;
}
div.calDayColHroom.view-week, div.calDayColHroom.view-workweek {
	height:60px;
}
div.calDayColHroom span {
	/*
    transform: rotate(90deg);
    transform-origin: left bottom 0;
    margin-top:-10px;
    position:relative;
    top:0;
    left:0;
    text-align:left;
    */
    display:block;
    text-align:center;
    padding-top:6px;
    cursor:pointer;
}
div.calDayColHroom.view-week span, div.calDayColHroom.view-workweek span {
/*
	transform: rotate(90deg);
    transform-origin: left bottom 0;
    margin-top:-10px;
    position:relative;
    top:0;
    left:0;
    text-align:left;
    padding-top:2px;
    text-align:left;
    */
}
/*
div.calDayColHroom span:hover:after {
	content:attr(data-mail);
	display:block;
	position:absolute;
	padding:6px;
	background-color:rgba(255,255,255,0.9);
	box-shadow:0 0 3px #aaa;
	color:#333;
	z-index:99;
	top:-20px;
	right:0;
}
*/
div.calDayColH {
    float:left;
    text-align:center;
    color:#fff;
    padding:12px 0;
    position:relative;
    top:0;
    left:0;
    border-left:none;
    box-sizing:border-box;
    overflow:hidden;
    white-space: nowrap;
}
div.dateNav a {
    display:inline-block;
    text-decoration:none;
    padding:8px 12px;
    border-radius:3px;
    margin:5px 8px;
    background-color:rgba(153,00,0,1);
    color:#fff;
}
div.dateNav a:hover {
    background-color:rgba(153,00,0,0.8);
}
div.dateNav {
    margin-bottom:20px;
}
div.timeHeader {
    float:left;
    width:50px;
    box-sizing:border-box;
    padding:12px 0px;
    text-align:center;
    color:#fff;
    font-size:20px;
}
div.calDayColHHolder {
    padding-left:50px;
    width:100%;
    box-sizing:border-box;
}
div.error {
    margin:50px auto;
    padding:35px;
    width:550px;
    border-radius:15px;
    color:#fff;
    box-shadow:0px 0px 10px #999;
    background-color:rgba(153,00,0,1);
}
div.error h1 {
    font-size:38px;
    text-transform:uppercase;
    font-weight:normal;
    font-family: 'AvenirNextLTW01-Demi', sans-serif;
    padding-left:230px;
    box-sizing:border-box;
    color:#fff;
    padding:0;
    margin:0;
    padding-bottom:10px;
    margin-bottom:20px;
    border-bottom:2px solid #fff;
}
div.error a {
    color:#fff;
    text-decoration:none;
}
div.roomSelector {
    float:right;
    margin-top:15px;
    width:calc(100% - 700px);
    text-align:right;
}
div.hnote {
    position:absolute;
    background-color:rgba(153,00,0,1);
    color:#fff;
    top:70px;
    left:740px;
    border-radius:3px;
    padding:2px 6px;
    text-transform:uppercase;
    font-size:11px;
}
div.udt {
	text-align:right;
	color:#ccc;
	font-size:10px;
	margin:1px auto;
	min-width:800px;
	max-width:1800px;
	width:90%;
}

@media screen and (max-width: 1250px) {
    div.roomSelector {
        float:none;
        width:100%;
        text-align:left;
    }
   div.roomSelector:before {
   	content:'';
   	display:block;
   	clear:both;
   }
}