/*
 * Academic Calendar
 */

/* Table */
.checkbox-col{ width:24px; }
.first-col{ width:200px; }
.second-col{ width:350px; }

table {
    font-size: 1em;
}
table.grid-clean tr td {
    background: none repeat scroll 0 0 #fff;
    border-top: 1px solid #CBCBCB;
    padding: 5px;
    vertical-align: top;
}
table.grid-clean tr td {
    background: none repeat scroll 0 0 #fff;
    border-top: 1px solid #CBCBCB;
    padding: 5px;
    vertical-align: top;
}
table.grid-clean tr:hover td {
    background: none repeat scroll 0 0 #F4F4F4;
}
table.grid-clean tr.alt td, table.grid-clean tr td.alt {
    background: none repeat scroll 0 0 #EEEEEE;
}
table.grid-clean span.teachingArea {
    font-size: 0.9em;
	/* font-style:italic; */
}

/* Form */
form fieldset div.question {
	display:block;
	font-weight:normal;
	line-height:1.5em;
	margin:0 10px 10px 0;
	width:540px;
}
.submit input#submit_button {
	background-image:url(../../../../../images/buttons/submit.gif); 
	width:62px;
	background-position:top left;
	height:25px;
	margin:0;
	padding:0;
	border:0;
	cursor:pointer;
}
.submit input#back_button {
	background-image:url(../../../../../images/buttons/back.gif); 
	width:51px;
	background-position:top left;
	height:25px;
	margin:0;
	padding:0;
	border:0;
	cursor:pointer;
}
.submit input#cancel_button {
	background-image:url(../../../../../images/buttons/cancel.gif); 
	width:62px;
	background-position:top left;
	height:25px;
	margin:0;
	padding:0;
	border:0;
	cursor:pointer;
}
.submit input#btn-print {
	background-image:url(../images/ico_printer.gif);
	background-color:#ffffff;
	background-position:left top;
	border:0 none;
	cursor:pointer;
	height:16px;
	margin-left:0.4em;
	padding:0;
	width:16px;
}
.submit input#btn-email {
	background-image:url(../images/ico_email.gif);
	background-color:#ffffff;
	background-position:left top;
	border:0 none;
	cursor:pointer;
	height:16px;
	margin-left:0.4em;
	margin-right:1em;
	padding:0;
	width:16px;
}
div.print-email {
	border:none;
}
form#event-submission h4, form#standard h4 {
    /*background: none repeat scroll 0 0 #E5DAC7;*/
	background: none repeat scroll 0 0 #DBDBDB;
    color: #444444;
    font-weight: normal;
    margin: 0 0 10px;
    padding: 5px;
}
form fieldset div.field {
    float: left;
    font-weight: normal;
    margin: 0 1em 0 0;
}
form fieldset div.search-box {
    background: none repeat scroll 0 0 #DBDBDB;
    padding: 20px;
    width: 490px;
}
textarea {
    height: 110px;
    padding: 2px;
    width: 400px;
}
form .ui-datepicker-trigger {
    cursor: pointer;
    margin-left: 5px;
}

div.sidebar-quicklinks-clear h3 {
    background: url("/images/icons/sidepanel_arrow_corporate.gif") no-repeat scroll 0 0 transparent;
    border-bottom: 1px solid #D8CDBA;
    color: #61380C;
    font-size: 1.2em;
    height: 30px;
    line-height: 1.6em;
    margin: 0;
    padding: 0;
    text-indent: 30px;
}
h2.index {
    background: none repeat scroll 0 0 #DBDBDB;
    color: #444444;
    margin: 0;
    padding: 10px;
}
.note {
    font-style: italic;
    text-align: right;
}
.notes_link {
	background-image:url(../../resources/images/notes.gif);
	background-repeat:no-repeat;
	background-position: 0px 0px, top left;
	padding-left:18px;
}
.info_link {
	background-image:url(../../resources/images/info.png);
	background-position:left top;
	background-repeat:no-repeat;
	padding-left:18px;
	line-height: 1.3em;
}
.add_link {
	background-image:url(../../resources/images/add.gif);
	background-position:left center;
	background-repeat:no-repeat;
	padding-left:18px;
}
.delete_link {
	background-image:url(../../resources/images/delete.gif);
	background-position:left center;
	background-repeat:no-repeat;
	padding-left:18px;
}
.copy_link {
	background-image:url(../../resources/images/copy.gif);
	background-position:left center;
	background-repeat:no-repeat;
	padding-left:18px;
}
.download_link {
	background-image:url(../../resources/images/download.gif);
	background-position:left center;
	background-repeat:no-repeat;
	padding-left:18px;
}
.year_select {
	display: inline-block;
	padding:10px 0 10px 18px;
}

#cancel_btn {
	cursor: pointer;
}
#box {
	border:1px solid #D9D9D9;
	margin-bottom:10px;
	padding:10px 10px 0 10px;
}

#box ul {
	padding-left:0;
	margin-left:0;
}

ul.so-downloadable-documents {
    border-top: 1px solid #F0F0F0;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
ul.so-downloadable-documents li {
    border-bottom: 1px solid #F0F0F0;
    clear: both;
    margin: 0 0 2px;
    min-height: 40px;
    padding: 10px;
}
* html ul.so-downloadable-documents li {
    height: 40px;
}
ul.so-downloadable-documents li.alt {
    background: none repeat scroll 0 0 #FBFBFB;
}
ul.so-downloadable-documents li img {
    float: left;
}
ul.so-downloadable-documents li div {
    /* font-size: 0.95em; */
	margin-left: 15px;
    padding-left: 8px;
}
ul.so-downloadable-documents li ul, ul.so-downloadable-documents li ul li, ul.so-downloadable-documents li h4 {
    border: 0 none;
    line-height: 1.2em;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
ul.so-downloadable-documents li h4 {
    font-size: 1.2em;
}
ul.so-downloadable-documents li h4 a {
    text-decoration: none;
}
ul.so-downloadable-documents li h4 a:hover {
    text-decoration: underline;
}
ul.so-downloadable-documents li p {
    /* margin: 0.5em 0; */
	margin: 0 0 1em;
}
ul.checkboxlist {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

/* CKEDITOR */
.cke_contents {
	width: 400px !important;
}

/* Calendar view */

/* Center table headers */
#calendar thead th {
	text-align: center;
}

/* Prevent double border from the two table header rows */
#calendar thead tr:first-child th {
	border-bottom: none;
}

#calendar {
	margin-left: auto;
	margin-right: auto;
}

#calendar thead th.current-month {
	font-size: 1.3em;
	font-weight: bold;
}

#prevMonth, #nextMonth{
	color: #ffffff
}

#prevMonth:visited, #nextMonth:visited {
	color: #ffffff
}

/* Make days square */
#calendar .daysColumn {
	width: 75px;
}

#calendar tbody tr {
	height: 75px;
}

#calendar tbody td {
	padding: 0px 0px 0px 0px;
}
#calendar span.day {
	display: block;
	padding-left: 5px;
	color: #000000;
	background-color: #D8CDBA;
}

#calendar span.no-of-events {
	color: #000000;
	padding-left: 5px;
	padding-top: 5px;
}

/* Setup borders around cells and prevent doble borders */
#calendar thead th:first-child {
	border-left: 1px solid #ABABAB;
}

#calendar thead th:last-child {
	border-right: 1px solid #ABABAB;
}

#calendar tbody td:first-child {
	border-left: 1px solid #ABABAB;
}

#calendar tbody td {
	border-right: 1px solid #ABABAB;
}

#calendar tbody tr:first-child td {
	border-bottom: 1px solid #ABABAB;
}

#calendar tbody tr td{
	border-bottom: 1px solid #ABABAB;
}

/* Add cell based highlighting */
#calendar tbody tr td:hover { 
	background-color: #ECE6D8  !important;
}

/* Highlight days which have events */
#calendar td.has-events span.day{
	font-weight: bold;
	color: #000000;	
	text-decoration: underline;
}
#calendar td.has-events span.day:hover {
	text-decoration: none;
	cursor: pointer;
}
#calendar td.has-events {
	background-color: #FFFFFF;
}
/* Darker weekends */
#calendar td.weekend {
	background-color: #F3F3F3;
}

/* Grey out empty days */
#calendar td.empty, #calendar td.empty:hover {
	background-color: #FFFFFF !important;
}

/* Highlight for selected date */
#calendar tbody tr td.selected {
	background-color: #ECE6D8 !important;
}

#calendar { 
	border:0; width:98%; 
}

#calendar th { 
	/* background-color:#644528; */
	background-color:#414042;
	border:1px solid #e1e1e1; 
	border-width:1px 0; 
	text-align:left; 
	padding:5px; 
	color: #ffffff
}

#calendar td { 
	padding:3px 5px; 
	vertical-align:top;
	background-color: #FFFFFF;
}

/* Event details view */

#event-details-container {
	min-height: 300px;
}

#day-details {
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
}

#day-details thead th {
	padding-left: 5px;
	text-align: left;
}

#day-details .dates-col {
	width: 200px;
}

#day-details .details-col {
	width: 500px;
}

/* Calendar Widget Styles */

#calendarWidget {
	margin-top: 25px;
	margin-left: auto;
	margin-right: auto;
}

#calendarWidget tbody td {
	background-color: #ffffff;
	text-align: center;
}

#calendarWidget thead th {
	text-align: center;
	background-color: #E1E1E1;
}

#calendarWidget .click {
	color: #D71B00;
	text-decoration: underline;
}	
#calendarWidget .click:hover {
	text-decoration: none;
	cursor: pointer;
}

/* Prevent double border from the two table header rows */
#calendarWidget thead tr:first-child th {
	border-bottom: none;
}

/* Make days square */
#calendarWidget .daysColumn {
	width: 15px;
}

#calendarWidget tbody tr {
	height: 15px;
}

#calendarWidget tbody td {
	padding: 0px 0px 0px 0px;
}

/* Setup borders around cells and prevent doble borders */
#calendarWidget thead th:first-child {
	border-left: 1px solid #E1E1E1;
}

#calendarWidget thead th:last-child {
	border-right: 1px solid #E1E1E1;
}

#calendarWidget tbody td:first-child {
	border-left: 1px solid #E1E1E1;
	border-right: 1px solid #E1E1E1;
}

#calendarWidget tbody td {
	border-right: 1px solid #E1E1E1;
}

#calendarWidget tbody tr:first-child td {
	border-bottom: 1px solid #E1E1E1;
}

#calendarWidget tbody tr td{
	border-bottom: 1px solid #E1E1E1;
}

/* Add cell based highlighting */
#calendarWidget tbody tr td:hover { 
	background-color: #f4f4f4 !important;
}

/* Search Icon */
.maindiv a.searchbutton:hover {
    opacity: 1;
}
.maindiv a.searchbutton {
    /* background: url("../images/brown-button-background.gif") no-repeat scroll right center #644528; */
    background: url("../images/dark-button-background.gif") no-repeat scroll right center #414042;
    border-radius: 6px;
	cursor: pointer;
    color: #FFFFFF;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    margin: 0;
    opacity: 0.85;
    padding: 8px 50px 8px 15px;
    text-decoration: none;
    text-indent: 0;
    text-shadow: 0 0 3px #550A13;
    vertical-align: top;
    width: auto;
}

/* Pop Up */
#overlay_form{
	position: absolute;
	border: 5px solid gray;
	padding: 15px;
	background: white;
	width: 270px;
	height: 160px;
}

/* Notes */
.tooltip
{
  position: relative;
  /* background: #eaeaea; */
  padding: 8px 50px 8px 18px;
  cursor: help;
  display: inline-block;
  text-decoration: none;
  outline: none;
  height: auto;
  line-height: normal;
  margin: 0;
  text-indent: 0;
  vertical-align: top;
  width: auto;
}

.tooltip span
{
  /* color: #666666; */
  color: #444444;	
  visibility: hidden;
  position: absolute; 
  bottom: 30px;
  left: 50%;
  z-index: 999;
  width: 500px;
  margin-left: -127px;
  padding: 10px;
  border: 2px solid #ccc;
  opacity: .9;
  background-color: #EEEEEE;                     
  background-image: -webkit-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -o-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));  
  -moz-border-radius: 4px;
  border-radius: 4px;  
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;  
  text-shadow: 0 1px 0 rgba(255,255,255,.4); 
}

.tooltip:hover
{
  border: 0; /* IE6 fix */
}

.tooltip:hover span
{
  visibility: visible;
}

.tooltip span:before,
.tooltip span:after
{
  content: "";
  position: absolute;
  z-index: 1000;
  bottom: -7px;
  left: 50%;
  margin-left: -8px;  
  border-top: 8px solid #ddd;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;        
  border-bottom: 0;  
}

.tooltip span:before
{
  border-top-color: #ccc;
  bottom: -8px;
}

form.calendar {
	background: none repeat scroll 0 0 #F5F2EB !important;
	padding-top: 15px;
	border: 1px solid #CCCCCC;
	border-radius: 8px;
}
