table.ministry_report th { padding-right:10px; padding-left:10px;}
table.ministry_report td { text-align:center;}
table.ministry_report tr:hover { background:lightgrey;}

.alertbutton {
  width: 50px;
  height: 50px;
  -webkit-animation: ALERTANIM 1s infinite;  /* Safari 4+ */
  -moz-animation: ALERTANIM 1s infinite;  /* Fx 5+ */
  -o-animation: ALERTANIM 1s infinite;  /* Opera 12+ */
  animation: ALERTANIM 1s infinite;  /* IE 10+, Fx 29+ */
}

@-webkit-keyframes ALERTANIM {
  0%, 49% {
    /*background-color: rgb(117, 209, 63);*/
    border: 3px solid #e50000;
  }
  50%, 100% {
    /*background-color: #e50000;*/
    border: 3px solid rgb(117, 209, 63);
  }
}

.bigbtn {
	height: 6em;
	min-width: 10em;
    line-height: 5em;	
	margin-right:20px;
	font-weight: bold;
}
.hugebtn {
	height: 6em;
	min-width: 23em;
    line-height: 5em;	
	margin-right:20px;
	font-weight: bold;
}
.web2py-menu-active {
	background-color: #823f3b;
	color: white;	
}
.preferences {	
	padding-top: 20px;
	padding-bottom: 20px;
}

.navbar button {
	position: absolute;
	margin-left:10px;
}

div.notices {
	padding-top:10px;
	width:100%;
}

div.event_avail {
	padding-left: 20px;	
	padding-right: 20px;	
	padding-top: 10px;		
	padding-bottom: 20px;
	border-top-width: 2px;
	border-top-color: #eeeeee;
	border-top-style: solid;
	border-left-style: solid;
	border-left-width: 5px;
}

div.soon {
	border-left-color: #ffff1a;
}

div.later {
	border-left-color: #eeeeee;
}

div.event_avail table {
	width:100%;
	margin-bottom: 15px;
}

div.event_avail table td.toggles {
	width:100px;	
}

.border_radius_4 {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-khtml-border-radius: 4px;	
}

a.btn {
	text-align: center;
	color:black;
	margin-bottom: 3px;	
	margin-top: 3px;
	padding-top: 5px;	
	padding-bottom: 5px;	
	padding-right: 10px;	
	padding-left: 10px;	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-khtml-border-radius: 4px;
	text-decoration:none;
}

.create_evt .evt_pattern_actions {
	padding-left: 30px;
}

.event .evt_pattern_actions {
	display: none;
}

.event:hover .evt_pattern_actions {
	display: inline;
}


a.btn:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

a.hide_evt {
	background-color: #85e085;
	margin-right: 20px;
}


.not-active {
   pointer-events: none;
   cursor: default;
   color: #aaaaaa;
   opacity: 0.2;   
}

.dateintitle {
	font-size:0.8em;
	padding-right:15px;
	display:inline-block;
	width:150px;	
	color: #888888;
}

a.toggle_from {
	display: inline-block;
	min-width: 250px;
}

a.positive {
	background-color: #d2ff4d;
}

a.negative {
	background-color: #ff704d;
}

a.substitute {
	background-color: #eeeeee;
}

a.null {
	background-color: #000000;
	color: #ffffff;
}
a.null:hover {
	color: #ffffff;
	text-decoration: underline;
}


span.userlisted {
	margin-right:10px;
	margin-bottom: 3px;	
	margin-top: 3px;
	display: inline-block;
	min-width: 250px;	
	text-align: center;
	padding-left:10px;
	padding-right:10px;
	padding-top: 7px;
	padding-bottom: 7px;
}

span.confirmed {
	background-color: #ffff1a;
}

span.available {
	background-color: #eeeeee;	
}

td.othavails {
	padding-left: 20px;
} 

div.my_tasks {
	background-color: #faf0f0;
	padding: 20px; 
	margin-bottom: 20px;
}

div.my_carts {
	background-color: #f0faf0;
	padding-right: 20px; 	
	padding-left: 20px; 	
}

.week {
	width: 1440px;
}

td.clash span {
	padding-top: 3px;	
	padding-bottom: 3px;
}

td.clash span.severe {
	background-color: red;
	padding-right: 5px;
}

td.clash span.warn {
	background-color: #ff9966;
}

.assigned {
	color: blue;
}

.leave {
	background-color:  #ffcccc;
	padding-left: 5px;
	padding-right: 5px;
	margin-left: 5px;
}

.glyphic {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
	padding-right: 16px;
	margin-right: 0px;
	background-position: center; 
    background-repeat: no-repeat;
/*	background-color: #f2f2f2;*/
 }
 
.pers_avail {
	-webkit-box-shadow: 0 7px 6px -6px #fafafa;
	   -moz-box-shadow: 0 7px 6px -6px #fafafa;
	        box-shadow: 0 7px 6px -6px #fafafa;
}
 
.acontainer .actions {
	margin-left:30px;
	visibility:hidden;
}

.acontainer:hover {
	background-color:  #ffffe5;
}

.acontainer:hover .actions {
	visibility:visible;
}

.event {
	padding-left: 30px;	
	padding-top: 10px;
	padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
	border-bottom:solid;
	border-bottom-color:white;	
}

.radius {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-khtml-border-radius: 4px;	
}

.create_evt {
	display:inline-block;
	width: 700px;
	margin-right: 6px;
	margin-bottom: 3px;	
	margin-top: 3px;
	padding-top: 10px;	
	padding-bottom: 10px;
	padding-left:10px;	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-khtml-border-radius: 4px;
}

.create_evt a {
	color:black;
	text-decoration:none;
}

.create_evt:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);	
}

.event span.cal_preview {
	width:100px;
	margin-right:30px;
	padding:20px;
	display:inline-block;	
	right: 0;
    vertical-align: top;
}

.event span.cal_preview pre {
	position: absolute;
	visibility:hidden;
	width:650px;
	margin-right:530px;
	padding:20px;
	display:inline-block;	
	right: 0;
    vertical-align: top;
}

.event span.cal_preview pre {
	z-index: 5;
}

.event span.cal_preview:hover pre {
	visibility:visible;	
}

.event table.edit_event {
	display:inline-block;
}

.event_public {
	padding-left: 30px;	
	padding-top: 10px;
	padding-bottom: 20px;
}

.event table {
	display:block;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
}



.fill_width {
	width: 50%;
}

td.position {
	width: 30px;
	color: #909090;	
}

td.duration {
	width: 50px;	
}

td.name {
	width: 200px;	
}

.selection {
	width: 300px;	
}

.selection input.context-hidden {
	visibility:hidden;
} 

.selection span.context-hidden-reversed {
	display:inline;
} 

.selection:hover input.context-hidden {
	visibility:visible;
}

.selection:hover span.context-hidden-reversed {
	display:none
} 
 

td.study {
	width: 200px;
	padding-left:20px; 	
}

table.pers th {
	width: 80px;
	background-color: #f0f0f0;
	text-align: center; 
}

table.pers td {
	text-align: center; 
}

table.pers td.odd {
	background-color: #fafafa; 
}

table.pers .name {
	background-color: #f0f0f0; 
	width: 150px;
}

table.pers tr:hover td {
	background-color: #ffffe5;
}

.actionbar {
	height:40px;
	font-size: 2em;
	background-color: #fafafa;
}

#printbtnz {
	position: absolute;
	left: 143px;
	z-index: 2;
	background: #f0f0f0;
	display: none;
}

#printbtnz a {
	display: block;
	font-size: 15px;
	line-height: 1.2em;
	padding: 3px 10px 3px 0px;
}

h2 {
	font-size: 1.8em;	
}

h3 {
	font-size: 1.5em;	
}
