/* Pohjatyylit. */
body {
	overflow-y: scroll;
}

.borderBox {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box; /* Firefox, other Gecko */
	box-sizing: border-box; /* Opera/IE 8+ */
}

#calendarComponent {
	background-color: #e9ebec;
	background-repeat: repeat-x;
	background-attachment: scroll;
	background-position: 0pt 100%;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	box-shadow: #dddddd;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #cccccc;
	border-bottom-color: #cccccc;
	margin-top: -7px;
	margin-right: 50px;
	margin-bottom: 20px;
	margin-left: 50px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	font-size: 1.1em;
	min-width: 440px;
	z-index: 0;
	width: auto;
	display: block;
}

#calendarComponent * {
	/* -webkit-box-sizing: border-box; Safari/Chrome, other WebKit
	-moz-box-sizing: border-box;    Firefox, other Gecko
	box-sizing: border-box;         Opera/IE 8+ */
	
}

/* Komponentin yl�osa */
#component_header {
	border-bottom: 1px solid #cccccc;
	height: 90px;
	display: block;
	z-index: 0;
	position: relative;
}

.calendar_navigator {
	position: relative;
	width: 100%;
	text-align: center;
	z-index: 50;
}

.calendar_navigator .absolute.left.top {
	position: absolute;
	top: 0;
	left: 0;
}

.calendar_navigator .absolute.left.bottom {
	position: absolute;
	bottom: 0;
	left: 0;
}

.calendar_navigator .absolute.right.top {
	position: absolute;
	top: 0;
	right: 0;
}

.calendar_navigator .absolute.right.bottom {
	position: absolute;
	bottom: 0;
	right: 0;
}

.calendar_navigator img.prevWeekNav {
	/* float: left;  */
	margin-top: 10px;
	margin-left: 5px;
	cursor: pointer;
}

.calendar_navigator img.nextWeekNav {
	/* float: right; */
	margin-top: 10px;
	margin-right: 5px;
	cursor: pointer;
}

.componentHeaderInfo {
	margin-top: 10px;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	/* font-family: Arial, Helvetica, sans-serif; */
	font-size: 1.5em;
}

.calendar_navigator img.prevDayNav {
	/* float: left; */
	margin-top: 10px;
	margin-left: 10px;
	cursor: pointer;
}

.calendar_navigator img.nextDayNav {
	/* float: right; */
	margin-top: 10px;
	margin-right: 10px;
	cursor: pointer;
}

#dateAndRoomInfo_top {
	padding-left: 88px;
	padding-right: 18px;
	position: absolute;
	float: left;
	width: 100%;
	bottom: 0;
}

#dateAndRoomInfo_top div {
	float: left;
	text-align: center;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
}

#dateAndRoomInfo_top .daysHeaderDiv {
	position: relative;
}

#dateAndRoomInfo_top .date {
	font-weight: bold;
	color: #5e5e5e;
	display: block;
	width: 100%;
}

#dateAndRoomInfo_top .headerLink {
	cursor: pointer;
}

#dateAndRoomInfo_top .headerLink:hover {
	opacity: 0.7;
}

#dateAndRoomInfo_top .room {
	height: 30px !important;
	cursor: default;
	float: left;
	border-radius: 4px 4px 0px 0px;
	/* border: 1px solid #E9EBEC;
	border-bottom: 0px; */
}

#dateAndRoomInfo_top .roomInfoContainer .infoIcon {
	margin-right: 2px;
}

#dateAndRoomInfo_top .holiday {
	display: block;
	width: 100%;
	min-height: 30px;
	position: relative;
}

#dateAndRoomInfo_top .holiday.clickable {
	cursor: pointer;
}

#dateAndRoomInfo_top .holiday p {
	position: absolute;
	bottom: 0;
	width: 100%;
}

#moduleWeeklyHours {
	font-weight: bold;
	color: #5e5e5e;
	width: 100%;
	font-size: 0.9em;
	top: 0;
	position: absolute;
	margin-top: 3px;
	left: 25%;
	display: hidden;
}
/* Komponentin yl�osa */

/* Komponentin keskiosa */
#component_content {
	position: relative;
	background-color: #FFFFFF;
	overflow-x: hidden;
	overflow-y: scroll;
	min-height: 60px;
}

#calendar_hours {
	width: 88px;
	float: left;
	z-index: 0;
	position: relative;
}

#calendar_hours .odd {
	background-color: #fcfcfc;
}

.calendarContentTime {
	height: 60px;
	font-size: 11px;
	font-weight: normal;
	text-align: center;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #e5e5e5;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCCCCC;
	z-index: 0;
}

.calendarContentTime .timeText {
	color: #333333;
}

#calendar_events {
	position: relative !important;
	z-index: 0;
	overflow: hidden;
}

.dayColumn {
	float: left;
}

.roomColumn {
	float: left;
	position: relative;
	background-color: #EEF2F5;
}

.roomColumn .odd {
	background-color: #fcfcfc;
}

.borderRightSolid {
	border-right: 1px solid #b3b3b3;
}

.borderRightDotted {
	border-right: 1px dotted #cccccc;
}

.timeBlock {
	height: 60px; /* Height of hour rows */
	border-bottom: 1px solid #e5e5e5;
	width: 100%;
	background: #ffffff;
	z-index: 0;
}

#loadingOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#loadingOverlay .load-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(0%, -50%);
	-ms-transform: translate(0%, -50%);
	transform: translate(0%, -50%);
	z-index: 1000;
}
/* Komponentin keskiosa */

/* Komponentin alaosa */
#component_footer {
	z-index: 0;
	position: relative;
	height: 80px;
}

#component_footer::after {
	content: '';
	clear: both;
	display: block;
}

#component_footer .calendar_navigator {
	float: left;
	position: absolute;
	bottom: 10px;
}

#component_footer .calendar_navigator img.prevDayNav, #component_footer .calendar_navigator img.nextDayNav,
	#component_footer .calendar_navigator img.prevWeekNav,
	#component_footer .calendar_navigator img.nextWeekNav {
	margin-top: 0px;
}

#dateAndRoomInfo_bottom {
	padding-left: 88px;
	padding-right: 18px;
	padding-top: 8px;
	top: 0;
	width: 100%;
	height: auto;
	float: left;
	border-top: 1px solid #cccccc;
}

#dateAndRoomInfo_bottom div {
	display: inline-block;
	text-align: center;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
}

#dateAndRoomInfo_bottom .date {
	font-weight: bold;
	color: #5e5e5e;
	display: block;
	width: 100%;
}

#dateAndRoomInfo_bottom .headerLink {
	cursor: pointer;
}

#dateAndRoomInfo_bottom .headerLink:hover {
	opacity: 0.7;
}

#dateAndRoomInfo_bottom .infoIcon {
	margin-right: 4px;
}

#dateAndRoomInfo_bottom .room {
	height: 50%;
	cursor: default;
	float: left;
}

#dateAndRoomInfo_bottom .roomInfoContainer .infoIcon {
	margin-right: 2px;
}

#dateAndRoomInfo_bottom .holiday {
	display: block;
	width: 100%;
}

#dateAndRoomInfo_bottom .holiday.clickable {
	cursor: pointer;
}
/* Komponentin alaosa */

/* Varauselementtiin liittyv�t m��ritykset */
.eventGhost {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	/* overflow: hidden !important; */
	border: 1px solid #bababa;
	background: #bababa;
	opacity: 0.35;
}

.roomPartGhost {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	overflow: hidden !important;
	display: inline;
	border: 1px solid #bababa;
	opacity: 0.75;
}

.selectedTimeSpanOwn {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	overflow: hidden !important;
	display: inline;
	border: 1px solid #bababa;
}

.selectedTimeSpanOwn .eventTime, .selectedTimeSpanOwn .eventInfo {
	color: #FFFFFF;
}

.selectedTimeSpanOwnGhost {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	overflow: hidden !important;
	display: inline;
	border: 1px solid #bababa;
}

.selectedTimeSpanOther {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	overflow: hidden !important;
	display: inline;
	border: 1px solid #bababa;
}

.roomPartGhostActive {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	overflow: hidden !important;
	display: inline;
	border: 1px solid #bababa;
}

.usageRestriction {
	font-size: 0.7em;
	position: absolute !important;
	z-index: 0;
	overflow: hidden !important;
	display: inline;
	border: 1px solid #bababa;
}

.opening-time-block {
	position: absolute;
	background-color: rgba(0,0,0,.1);
	user-select: none;
	transform: scale(1.01);
	z-index: 11;
}

.hideBookings {
	z-index: 12;
}

.eventClip {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	/* overflow: hidden !important; */
	display: inline;
	border: 1px solid #bababa;
	cursor: pointer;
}

.event {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 10;
	/* overflow: hidden; */
	/*display: inline-block;*/
	border: 1px solid #bababa;
}

.doubleEvent {
	font-size: 0.7em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute !important;
	z-index: 5;
	background: repeating-linear-gradient(-45deg, #D2D2D2, #D2D2D2 19px, #333 0px,
		#fefefe 20px);
	opacity: 0.7;
	/* overflow: hidden; */
	/*display: inline-block;*/
	border: 1px solid #bababa;
}

.tentativeMeeting {
	border: 1px dashed black;
}

.bookingApp {
	font-size: 0.7em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	position: absolute !important;
	cursor: pointer;
	z-index: 15;
	/* overflow: hidden !important; */
	display: inline;
	border: 1px solid #bababa;
	background: #bbbbbb;
	opacity: 0.5;
}

.eventContainer {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	z-index: 10;
	overflow: hidden;
}

.event_header {
	overflow: hidden;
	position: absolute;
	/*background-color: #e9ebec;*/
	width: 100%;
	height: 15px;
	top: 0;
	font-size: 1em;
}

.event_header_highlight {
	width: auto;
	height: auto;
	position: absolute;
	white-space: nowrap;
	background-color: #e9ebec;
	border: 1px solid #919191;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 2px 2px 10px black;
	-webkit-box-shadow: 2px 2px 10px black;
	box-shadow: 2px 2px 10px black;
	margin-top: 2px;
	padding: 2px;
	z-index: 15;
	font-size: 1.3em;
}

.eventTime {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	padding-left: 2px;
}

/*#eventInfo .event_extrainfo {
	margin-top: 3px;
}*/
.event_content {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	font-size: 1em;
	padding-top: 15px;
	padding-bottom: 10px;
}

.noHeader {
	padding-top: 0px;
}

.eventInfo {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	padding-left: 2px;
	float: left;
	width: 100%;
}

.eventExtraInfo {
	font-family: Tahoma, Helvetica, sans-serif;
	color: #000000;
	padding: 0px 2px 0px 2px;
	float: left;
	width: 100%;
}

.eventExtraInfo span#paymentMethod {
	float: right;
}

.eventExtraInfo span#extraOperations {
	float: left;
}

.eventExtraInfo img#paymentMethod {
	float: right;
	margin: 2px 5px 0px 0px;
}

.eventExtraInfo span#extraOperations img {
	float: left;
	margin: 2px 5px 0px 0px;
	cursor: pointer;
}

.event_footer {
	position: absolute;
	width: 100%;
	/*background-color: #e9ebec;*/
	text-align: center;
	cursor: s-resize;
	bottom: 0;
	line-height: 8px;
	font-size: 11px;
	font-family: monospace;
}

.eventIndicator {
	background-color: #00F;
	z-index: 50;
	display: none;
	position: absolute;
}
/* Varauselementtiin liittyv�t m��ritykset */

/* Varauksen menu. */
#contextmenu, #contextmenu_application, #contextmenu_paymentMethod,
	#contextmenu_exchangeBooking, #contextmenu_usageRestriction {
	display: none;
	position: fixed;
	font-size: 0.8em;
	color: #222;
	border: 1px solid #919191;
	background: none #eae9e9;
	padding-bottom: 8px;
	padding-top: 8px;
	box-shadow: 0 2px 2px #ddd;
	text-align: left;
	width: 200px;
	border-radius: 5px 5px 5px 5px;
	z-index: 120 !important;
}

#contextmenu .contextmenuItem, #contextmenu_application .contextmenuItem,
	#contextmenu_paymentMethod .contextmenuItem,
	#contextmenu_exchangeBooking .contextmenuItem,
	#contextmenu_usageRestriction .contextmenuItem {
	/*width: 100px;
	display: block;
	padding: 5px 10px;
	cursor: pointer;*/
	margin: -4px 0 0;
	float: none;
	background: none #eae9e9;
	display: block;
	clear: both;
	padding: 3px 10px 4px 10px;
	margin: 0;
	cursor: pointer;
}

#contextmenu .contextmenuItemDisabled, #contextmenu_application .contextmenuItemDisabled,
	#contextmenu_paymentMethod .contextmenuItemDisabled,
	#contextmenu_exchangeBooking .contextmenuItemDisabled,
	#contextmenu_usageRestriction .contextmenuItemDisabled {
	margin: -4px 0 0;
	float: none;
	background: none #eae9e9;
	display: block;
	clear: both;
	padding: 3px 10px 4px 10px;
	margin: 0;
	cursor: pointer;
	color: #a8a8a8;
}

#contextmenu .hiddenItem, #contextmenu_application .hiddenItem,
	#contextmenu_paymentMethod .hiddenItem, #contextmenu_exchangeBooking .hiddenItem,
	#contextmenu_usageRestriction .hiddenItem {
	display: none;
}

#contextmenu .contextmenuItem:hover, #contextmenu_application .contextmenuItem:hover,
	#contextmenu_paymentMethod .contextmenuItem:hover,
	#contextmenu_exchangeBooking .contextmenuItem:hover,
	#contextmenu_usageRestriction .contextmenuItem:hover {
	float: none;
	display: block;
	position: relative;
	background: #444;
	color: #fff;
}

#contextmenu .sep_li, #contextmenu_application .sep_li,
	#contextmenu_paymentMethod .sep_li, #contextmenu_exchangeBooking .sep_li
	. #contextmenu_usageRestriction .sep_li {
	border-top: 1px ridge #aaa;
	margin: 5px 0
}
/* Varauksen menu. */

/* Komponenttiin liittyvi� juttuja. */
.weekScheduleLinkBox {
	width: 100%;
	display: block;
	float: left;
	text-align: left;
}

span.weekScheduleLink {
	padding-left: 36px;
	color: #1685BD;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}

span.weekScheduleLink:hover {
	text-decoration: underline;
}

#calendarFooter {
	float: left;
	clear: left;
	width: 100%;
}
/* Komponenttiin liittyvi� juttuja. */

/* Pohjatyylit. */

/* Pienten n�ytt�jen tyylit. */
/* @media screen and (max-width: 473px) { */
@media screen and (max-width: 550px) {
	body {
		overflow-y: hidden;
	}
	#calendarComponent {
		margin-top: -8px;
		margin-right: 3px;
		margin-bottom: 25px;
		margin-left: 27px;
		min-width: 0px;
	}

	/* Komponentin yl�osa */
	#component_header {
		height: 55px;
	}
	#dateAndRoomInfo_top {
		padding-left: 20px;
		padding-right: 0px;
	}
	.componentHeaderInfo {
		font-size: 1em;
		margin-top: 5px;
		font-weight: bold;
	}
	.componentHeaderInfo span {
		display: block;
	}
	/* Komponentin yl�osa */

	/* Komponentin alaosa */
	#component_content {
		overflow-y: hidden;
	}
	#calendar_hours {
		width: 20px;
	}
	.calendarContentTime {
		border-left-width: 1px;
		border-left-style: solid;
		border-left-color: #e5e5e5;
	}
	#calendar_events div {
		pointer-events: none;
	}
	/* Komponentin alaosa */

	/* Varauselementtiin liittyv�t m��ritykset */
	.event_footer {
		visibility: hidden;
	}
	/* Varauselementtiin liittyv�t m��ritykset */

	/* Varauksen menu. */

	/* Varauksen menu. */

	/* Komponenttiin liittyvi� juttuja. */

	/* Komponenttiin liittyvi� juttuja. */
}

/* Pienten n�ytt�jen tyylit. */


.glyphicon-star-empty:before {
	content: "\e007";
}

.glyphicon-star-filled:before {
	content: "\e006";
	color: #4285f4;
}


/*
#header .add-nav .drop {
   position: absolute;
   left: 0;
   top: 20px;
   z-index: 1001;
   font-size: 13px;
   color: #222;
   display: none;
   border: 1px solid #919191;
   background: none #eae9e9;
   padding-bottom: 10px;
   -moz-box-shadow: 0 2px 2px #ddd;
   -webkit-box-shadow: 0 2px 2px #ddd;
   box-shadow: 0 2px 2px #ddd;
   text-align: left;
   width: 250px;
}
#header .add-nav .drop ul {
    margin: -4px 0 0;
}

#header .add-nav li:hover .drop {
   display: block;
}

#header .add-nav .drop li {
   float: none;
   background: none #eae9e9;
   display: block;
   clear: both;
   padding: 0;
   margin: 0;
}
#header .add-nav .drop a {
   text-decoration: none;
   padding: 3px 10px 4px 21px;
   position: relative;
   float: none;
   display: block;
}
#header .add-nav li:hover .drop a,#header .add-nav li.active .drop a {
   background: none;
   color: #444;
   float: none;
   display: block;
   position: relative;
}

#header .add-nav li:hover .drop li:hover a, #header .add-nav li.active .drop li:hover a
   {
   background: #444;
   color: #fff;
}

#header .add-nav .drop li li {
   margin: 0;
   padding: 0;
   background: none;
   font-weight: normal;
   font-size: 12px;
}*/

/*.vmenu .inner_li{display:none;margin-left:120px;position:absolute;border:1px solid #aaa;
        border-left:1px solid #ccc;margin-top:-28px;background:#fff;}
       .vmenu .sep_li{border-top: 1px ridge #aaa;margin:5px 0}
       .vmenu .fill_title{font-size:11px;font-weight:bold;/height:15px;/overflow:hidden;word-wrap:break-word;}*/

/* .weekScheduler_appointment_header { Appointment header row
	height: 4px;
	background-color: #B5C5D2;
}

.weekScheduler_appointment_headerActive {
	Appointment header row  - when active
	height: 4px;
	background-color: #00F;
}

.weekScheduler_appointment_textarea {
	Textarea where you edit appointments
	font-size: 0.7em;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
} */