	body {
	margin: 0;
	margin-top: 0px;
	padding: 0;
	font-family: Calibri, Helvetica Neue, Helvetica, sans-serif;
	font-size: 100%;
	}
	
	form {
		display: inline;
	}

.fc .fc-toolbar-title {
    font-size: 1.4em;
    margin-top: 1.0em;
  }
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.4em;
  }
.fc th {
    text-align: center;
	/*background-color:SkyBlue;*/
	background-color:Gainsboro;
  }
.fc .fc-button-primary:not(:disabled):active,
  .fc .fc-button-primary:not(:disabled).fc-button-active {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: ForestGreen;
    /*background-color: #1a252f;*/
    background-color: var(--fc-button-active-bg-color, ForestGreen);
    /*background-color: var(--fc-button-active-bg-color, #1a252f);*/
    border-color: #151e27;
    border-color: var(--fc-button-active-border-color, #151e27);
  }
.fc-day-grid-container.fc-scroller {
    height: auto!important;
    overflow-y: auto;
}
	#calendar {
	max-width: 1280px;
	/*max-width: 1200px;
	min-height: 100%;
	margin: 50px auto;
	margin-left: 20px;*/
	/*margin: -20px 20px;*/
	margin-top: -20px;
	margin-bottom: -20px;
	}
	
	#main {
	max-width: 1280px;
	overflow-y: auto;
	height: 100vh;
	margin-left: 20px;
	position: relative;
	/*border:1px solid red;*/
	}
	
	#contents {
		height:100%;
	border:1px solid blue;
	}
	
.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:3px;
	text-align:center;
}
	.button {
	padding-left: 6px;
	padding-right: 6px;
	text-decoration:none;
	border:1px solid #808080;
	border-radius: 3px;
	font-size: 80%;
	color: #000;
	background:white;
	/*background:#abc5d4;
	box-shadow: 1px 1px 5px #A9A9A9*/
	}
	.button:hover {
	text-decoration:none;
	}
	div.spacer_14 {
	width: 96%;
	height: 14px
}
	div.spacer_10 {
	clear: both;
	width: 96px;
	height: 10px
}
	div.spacer_6 {
	clear: both;
	width: 96px;
	height: 6px
}
	.tdc { text-align: center !important;}

	.fc h2 {	/* otsikko jota pienennetty oletuksesta */
	   font-size: 24px;
	}
	
	#footer {
	/*position:absolute;
	bottom: 0;*/
	float:left;
	/*margin-left:6px;*/
	color:#909090;
	font-size:86%;
	height:22px;
	padding-top:23px;
	}
	
	#footer a {
		text-decoration:none;
		color:DarkSlateGray ;
	}

	#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-axis {
	width: 44px !important;
	white-space: initial !important;
	text-align: left !important;
	}
	
	.fc-event{
		max-width: 96% !important;
	}
/*	
	.fc-title{
		font-weight:600 !important;
	}
 
 */ 
/*	tooltip muotoiluja  */
	.tooltip-inner {
		background-color: gold !important; 
		color:#000;
		border: 1px solid #808080;
		/*font-weight:bold;*/
	}
/* muut tooltip muotoilut bootstrap.min.css tiedostossa */

/* dropdown menu user ikonissa */
.nimityyli {
	border-bottom:1px solid #808080;
	font-size:100%;
	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: 100%;
  width: auto;
  right: -30px;
  /*  overflow: hidden;*/
white-space: nowrap;
  border:1px solid #A9A9A9;
  border-radius:3px;
  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: #2C3E50}*/
.dropup-content a:hover {
	background-color: #ccc;
	color: black;
}

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

.dropup:hover .dropbtn {
  /*background-color: #2C3E50;*/
  background-color: #2980B9;
}
 .logo {
	position:absolute;
	left:10px;
	top:4px;
}
  .groups {
	display:inline;
	/*margin-left:20px;*/
}
  .menu {
	position:relatine;
	text-align:center;
	overflow: hidden;
	height:38px;
	margin-bottom:14px;
	max-width: 1280px;
	background-color: WhiteSmoke;
	font-weight:400;
	/*border-bottom: 1px solid Gainsboro;
	box-shadow: 1px 3px 9px #E0E0E0;*/
  }
  
.links {
	position: absolute;
	width: auto;
	right:0;
	padding-right:6px;
	padding-top:0px;
	top:8px;
	color: #000;
}
.links a {
	text-decoration: none;
	color: Black;
	white-space: nowrap;
}
.links a:hover {
	color: DodgerBlue ;
}

.topnav {
	overflow: hidden;
    display: inline;
	font-weight:400;
	white-space:nowrap;
	margin-bottom:14px;
	margin-left:22px;
}

.topnav a {
	color: Black;
	padding: 2px 6px;
	margin-left:1px;
	font-size: 96%;
	text-decoration: none;
}

.topnav a:hover {
	/*color: OrangeRed !important;
	text-decoration:overline;*/
	font-weight:600;
}
.topnav .icon {
	display: none;
	padding-bottom:3px;
}
/*
@media only screen and (max-width: 520px) {
  .logo {
	  display: none;
  }
}
*/