/* CSS Document */

/*
===
College of Agriculture and Life Sciences,Cornell University
===
*/


/*
===========================================================
                 General Elements
===========================================================
*/

body {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 82%;
    text-align:left;
    background:#F5F5F5 none repeat scroll 0 0;
}

h1, h2, ul, li {
    padding: 0;
    margin: 0;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 1.1em;
}

ul {
	margin-top: 5px; /* margin about ul was too big on view term appts; don't know where it came from */
}

p {
	line-height:1.5em;
	margin:9px 0;
	padding:0;
}

hr {
	color:#eeeeee;
}

li {
  list-style: none;
}

input {
	padding: 2px;
}

table {
	margin-top: 5px;
	margin-bottom: 5px;

}

table {
    border: thin solid #999999;
    empty-cells: show;
    border-collapse: collapse;
}

td, th {
    border: thin solid #999999;
    padding: 6px;
}

th {
    /*background-color:  #0174DF;*/
    /*color: #FFFFFF;*/
}

/*
===========================================================
                 General Classes
===========================================================
*/

.floatright {
	float:right;
}

.floatleft {
	float:left;
	}

.center{
	text-align:center;
	}

.hidden {
	display: none;
}

.notice {
	color: red;
}

.faint {
	color: gray;
}

/*
===========================================================
                 Banner
===========================================================
*/

div#titlebar {
    background-color: #b31b1b; /* For when the banner is normal white */
    /*background-color: #000; /* For when the banner is GRAY */ /* cornell gray: #68645b;*/ /* #000; */
    height: 32px;
    position:relative;
    z-index: 474; /* Places the titlebar above most other things in the app */

    /* For when the banner is GRAY */
    /*background: #000000;*/ /* Old browsers */
    /*background: -moz-linear-gradient(top,  #000000 0%, #45484d 100%);*/ /* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(100%,#45484d));*/ /* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top,  #000000 0%,#45484d 100%);*/ /* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top,  #000000 0%,#45484d 100%);*/ /* Opera 11.10+ */
    /*background: -ms-linear-gradient(top,  #000000 0%,#45484d 100%);*/ /* IE10+ */
    /*background: linear-gradient(to bottom,  #000000 0%,#45484d 100%);*/ /* W3C */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#45484d',GradientType=0 );*/ /* IE6-9 */

    /*background: #45484d;*/ /* Old browsers */
    /*background: -moz-linear-gradient(top,  #45484d 0%, #000000 100%);*/ /* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000));*/ /* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top,  #45484d 0%,#000000 100%);*/ /* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top,  #45484d 0%,#000000 100%);*/ /* Opera 11.10+ */
    /*background: -ms-linear-gradient(top,  #45484d 0%,#000000 100%);*/ /* IE10+ */
    /*background: linear-gradient(to bottom,  #45484d 0%,#000000 100%);*/ /* W3C */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 );*/ /* IE6-9 */

}

div#titletext {
    /* using margin auto in this situation centers the element */
    /* I use margin-left, margin-right because otherwise IE makes the margins equal above and below too */
    margin-left:auto;
    margin-right:auto;
    padding: 5px;
    position:relative;
    width: 960px;
    /*color: #000; */ /* #b31b1b;*/ /* cornell red! */
    color: #EEE;
    line-height:25px;
}

#apptitle {
    font-size: 1.3em;
    float:left;
    /*font-weight: bold;*/
    padding: 0 5px;
}
#username {
    float:right;
    vertical-align: middle;
    padding: 0 5px;

}

/*
===========================================================
                 Toolbar
===========================================================
*/

/* both upper and lower toolbar */
div.cals_toolbar {
    /* For gray banner */
    -moz-box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    
    background: #000;  /* For when the banner is white */
    /* background: #d8d2c9; /* For when the banner is gray *//*#000; /* #68645b; */
    width:100%;
    /*font:normal 12px 'Trebuchet MS','Arial';*/
    margin: 0;
    padding: 0;
    /*height: 32px;*/ /* for white banner */
    height: 31px; /* For gray banner */
}

#upper_toolbar {
/*    width:740px; replaced with width:100%; below, to stretch across the entire page*/
    position: relative;
    z-index: 700;
}

#footer {
    bottom:0;
    position:fixed;
    z-index:1;
    background: #000;
    width:100%;
    margin: 0;
    padding: 0;
    height: 32px; 
}
#footer a {
    color:white;
}

.cals_toolbar ul {
    line-height:30px; /* with 2px remaining for border */
    list-style:none;
    padding:0;
}

#upper_toolbar > ul {
    margin: 0 auto 0 auto;
    width:960px;
}



#footer ul {
    margin-left: 20px;
    margin-right: 20px;
}

div.cals_toolbar > ul > li {
    display:inline;
    float:left;
    /*border: 1px solid #000;*/ /* For when the banner is white */
    border: 1px solid transparent; /* For when the banner is gray */
    margin-left: 0px;
    margin-right: 10px;
    position: relative;
}

div.cals_toolbar a {
    color:#FFF; /* for white banner */
    /* color: #000; /* for gray banner */
    text-decoration:none;
    padding: 8px 10px;  /* fill up the tab with clickable area */
}
div.cals_toolbar a:hover {
    color:#FFF; 
}


div.cals_toolbar > li:hover {
    /* For when the banner is white */
    /*background-color: #484848;*/ /*dark gray*/
    /*border: 1px solid #484848;*/

    /* For when the banner is gray */
    background-color: #888;
    border: 1px solid #68645b;
    border-top-color: black;
}

div.cals_toolbar > li:hover a {
    color:#000;
}

div.cals_toolbar li.activeTab  {
    background-color: #484848;
    border: 1px solid #484848;
}

/* For gray banner only */
div.cals_toolbar li.activeTab a.activeTab {
    color:#FFF;
}
div.cals_toolbar > ul > li.activeTab > a {
    color:#FFF;
}
div.cals_toolbar > ul > li.hover > a {
    color:#FFF;
}
/* end */

li.gap {
    margin-left: 1px;
    margin-right: 1px;
    
}

.cals_toolbar li.right {
    float:right;
    margin-left: 10px;
    margin-right: 0px;
}


/*
===========================================================
                 Unsorted
===========================================================
*/

#pagetitle {
    padding: 5px 5px 15px 0px;
}



#appcontent {
    border:0 dotted #999999;
    margin:auto;
    padding:0;
    position:relative;
    width:100%;
}




#pagecontent {
    border:0 dotted #999999;
    margin:auto;
	margin-top: 5px;
    padding: 5px 0 50px 0;
    position:relative;
    width: 960px; 
}



input[type="submit"].highlight {
   color: #FF0000;
} 

input[type="submit"].disabled {
   color: #736F6E;
} 

legend {
    padding: 0 10px;
    font-weight: bold;
}


/* to give some space between label and dropdown list on view term appts*/
label + select {
	margin-top: 5px;
}

fieldset ol {
  margin: 0;
  padding: 0;
  vertical-align: top;
}
fieldset li {
  /*padding: 5px;*/
  margin: 0;
  vertical-align: top;
}



/* Table row display striped */
.even {
  background-color: #F5FBEF;
}
.odd {
  background-color: #F2F2F2;
}


/*
===========================================================
    Hack to Fix CU Banner for Different Screen Sizes
===========================================================
*/
#cu-identity-content {
  width:960px;
}
