	body {
	margin: 0;
	margin-top: 0px;
	padding: 0;
	font-family: Calibri, Helvetica Neue, Helvetica, sans-serif;
	font-size: 100%;
	}
	#calendar {
	max-width: 1280px;
	/*min-width: 600px;
	min-height: 100%;
	max-width: 900px;
	margin: 50px auto;*/
	margin-top: -20px;
	margin-bottom: -20px;
	}
	
	#main {
	max-width: 1280px;
	min-width: 600px;
	overflow-y: auto;
	height: 100vh;
	margin-left: 20px;
	position: relative;
	}
	
	form {
		display: inline;
	}
	
	.btn-close {
	  float: right;
	  font-size: 14px;
	  font-weight: 700;
	  line-height: 1;
	  color: #000;
	  text-shadow: 0 1px 0 #fff;
	  filter: alpha(opacity=20);
	  opacity: .4;
	}
	

	.submit {
	width:auto;
	background-color: #FFCC66;
	background: linear-gradient(to bottom, #FAF4B7 0%, #E5CC67 100%);
	color:#000;
	font-size:82%;
	cursor:pointer;
	border:1px solid #808080;
	border-radius:4px;
	text-align:center;
	}
	.button {
	padding-left: 6px;
	padding-right: 6px;
	text-decoration:none;
	border:1px solid #808080;
	background:#f5f5f5;
	border-radius: 2px;
	font-size: 80%;
	color: #000;
	/*box-shadow: 1px 1px 5px #A9A9A9*/
	}
	.button:hover {
	text-decoration:none;
	}
	div.spacer_14 {
	width: 96%;
	height: 14px
}
	div.spacer_10 {
	/*clear: both;*/
	width: 96%;
	height: 10px
}
	div.spacer_6 {
	width: 96%;
	height: 6px
}

	.fc h2 {	/* otsikko jota pienennetty oletuksesta */
	   font-size: 24px;
	}

	.calheader {
	max-width:1280px;
	height:38px;
	font-size:24px;
	font-weight:500;
	margin-bottom:36px;
	padding-top:2px;
	background-color: #add8e6;
	color:black;
	border-bottom: 1px solid #A9A9A9;
	/*box-shadow: 1px 3px 9px #A9A9A9;
	border-radius:2px;*/
	}
	.calheader a {
	color:black;
	text-decoration:none;
	}
	.calheader a:hover {
	color:#808080;
	text-decoration:none;
	}
	#footer {
	float:left;
	margin-left:20px;
	color:#909090;
	font-size:90%;
	height:28px;
	padding-top:26px;
	}
	#external-events {
	position: fixed;
	z-index: 2;
	top: 155px;
	left: 20px;
	width: 42px;
	padding: 0 10px;
	border: 1px solid #ccc;
	background: #eee;
    opacity: .5 !important;
	}

	#external-events .fc-event {
	margin: 1em 0;
	cursor: move;
	color:#fff
	}
	  
	#calendar-container {
	  position: relative;
	  z-index: 1;
	  margin-left: 70px;
	}
	.fc th {
		text-align: center;
		/*background-color:SkyBlue;*/
		background-color:Gainsboro;
	  }

.fc-axis {
	width: 60px !important;
	white-space: initial !important;
	text-align: left !important;
	}
	
	.fc-event{
		max-width: 98% !important;
	}
 .selectedDate {
  background-color: #CAFFDC !important;
}
/* aikarivin korkeus */
.fc-slats td { 
  height: 50px !important; 
  /*font-size: 12px !important; */
}
.fc .fc-timegrid-axis-cushion {
    max-width: 66px; /* limits the width of the "all-day" text */
    flex-shrink: 0; /* allows text to expand how it normally would, regardless of constrained width */
  }

/*	tooltip muotoiluja  */
	.tooltip-inner {
		background-color: gold !important; 
		color:#000;
		border: 1px solid #808080;
	}
/* muut tooltip muotoilut bootstrap.min.css tiedostossa */

/* dropdoun menu user ikonissa */
.nimityyli {
	border-bottom:1px solid #808080;
	font-size:94%;
	color:#303030;
	background-color:LightYellow;
	padding:0 4px 0 4px;
}

.dropbtn {
  background-color: #3498DB;
  color: black;
  padding: 3px;
  font-size: 96%;
  border: none;
}

.dropup {
  position: relative;
  display: inline-block;
  text-align:center;
}

.dropup-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  font-size: 90%;
  width: auto;
  right: -12px;
  white-space: nowrap;
  overflow: hidden;
  border:1px solid #A9A9A9;
  border-radius:4px;
  z-index: 10;
}

.dropup-content a {
  color: black;
  padding: 4px 10px;
  text-decoration: none;
  font-size: 100%;
  display: block;
}

.dropup-content a:hover {
	background-color: #ccc;
	color: black;
}

.dropup:hover .dropup-content {
  display: block;
}

.dropup:hover .dropbtn {
  /*background-color: #2C3E50;*/
  background-color: #2980B9;
}

