/**
 * MCB @ Berkeley Custom Styles
 */

/* UC Berkeley Font for Title */
@font-face {
  font-family: 'UCBerkeleyOSDemi';
  src: url("/internal/template_bootstrap/fonts/uc_berkeley_os_demi-webfont.eot");
  src: url("/internal/template_bootstrap/fonts/uc_berkeley_os_demi-webfont?#iefix") format("embedded-opentype"),
       url("/internal/template_bootstrap/fonts/uc_berkeley_os_demi-webfont.woff") format("woff"),
       url("/internal/template_bootstrap/fonts/uc_berkeley_os_demi-webfont.ttf") format("truetype"),
       url("/internal/template_bootstrap/fonts/uc_berkeley_os_demi-webfont.svg#UCBerkeleyOSDemi") format("svg");
  font-weight: normal;
  font-style: normal; 
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    color: #333;
    font-family: "Open Sans",sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: #003262;
}

h1, h2, h3, h4, h5, h6 {
    color: #003262;
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    line-height: 1.1;
}

td,
th {
  padding: 5px 7px;
}

th {
    background-color: #efefef;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
}


.wrapper {  /* used for sticky footer */
    min-height: 100%;
}

/* UC Berkeley link in top nav bar */

.navbar-default {
    background-color: #003262;
}

.navbar-default .navbar-brand {
	color: #fff;
	font-size: 16px;
    font-weight: 600;
    display: inline;
}
.navbar-default .navbar-brand a {
    color: #fff;
}
.navbar-default .navbar-brand:hover {
	color: #fdb515;
}

.navbar-header:before {
    display: inline;
}

/* Top right navbar links */
.navbar-default .navbar-nav {
    float: right;
}
.navbar-default .navbar-nav > li > a {
	color: #fff;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #fdb515;
}
.navbar-default .navbar-nav > .active > a {
	background-color: transparent;
	color: #fff;
}
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
	color: #fdb515;
}



/* Page title */
#page-title h1 a,
#page-title h1 a:active {
	font-family: "UCBerkeleyOSDemi","Minion Pro","Times New Roman",times,serif;
	color: #003262; /*#C4820E; */
	font-size: 44px;
	line-height: 1.1em;
	padding-top: 0px;
	text-decoration: none;
}

#page-title{
    margin: 5px 0px;
}

#page-title h1 {
    display: inline;
}


hr.top-header {
	margin-top: 0px;
	margin-bottom: 5px;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    border-radius: none;
    margin-bottom: 20px;
    margin-top: 0px;
    padding: 8px 15px 8px 2px;
}

.breadcrumb > li + li::before {
    padding: 0 5px;
    color: #ccc;
    content: " » ";
}

.breadcrumb > .active {
    color: #666;
}

/* Footer see https://css-tricks.com/couple-takes-sticky-footer/ for sticky footer code */
.bottom-spacer {
    padding-bottom: 80px;
    clear: both;
}

footer.footer {
    background-color: #003262;
    color: white;
    padding-top: 5px;
    border-top: none;
    height: 80px;
    margin-top: -80px;
}

footer.footer h2 {
    color: white;
    font-size: 1.2em;
    font-weight: 500;
}

footer.footer a {
    color: white;
}

footer.container-fluid {
    max-width: none;
}

/* Right menu blocks */
#rightCol {
    float:right;
    width: 175px;
    margin:10px 5px 5px 5px;
    padding:4px;
    background-color:#eaeaea;
    text-align:left;
    border:1px solid #999999;
    border-top:3px solid #999999;
}

/* Image captions */
.caption {
    border:1px solid #ECEAE4;
    margin: 0.6em;
    padding: 0.6em;
    background-color:#F0EEE8;
}

.caption img {
    vertical-align:middle;
    margin-bottom:2px;
}

.right {
    margin: 0.5em 0pt 0.5em 0.8em;
    float:right;
}

.left {
    margin: 0.5em 0.8em 0.5em 0;
    float:left;
}

.caption p {
    text-align: left;
    font-size: 80%;
    font-family: Helvetica, Arial, Verdana, san-serif;
    color:#999;
}

.clear{
    clear:both;
}


/* Tables with cell borders */

table.cell-borders td,
table.row-borders tr {
    border: 1px solid #ccc;
}

/*Tablesorter  */
.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
    background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
    background-position: center right;
    background-repeat: no-repeat;
    cursor: pointer;
    white-space: normal;
    padding: 4px 20px 4px 4px;
}
.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}
.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}
.tablesorter-default thead .sorter-false {
    background-image: none;
    cursor: default;
    padding: 4px;
}

.tablesorter .filtered {
    display: none;
}

/* filter row */
.tablesorter-filter-row td {
    background: #eee;
    line-height: normal;
    text-align: center; /* center the input */
    -webkit-transition: line-height 0.1s ease;
    -moz-transition: line-height 0.1s ease;
    -o-transition: line-height 0.1s ease;
    transition: line-height 0.1s ease;
}
/* optional disabled input styling */
.tablesorter-filter-row .disabled {
    opacity: 0.0;
    filter: alpha(opacity=0);
    cursor: not-allowed;
}

/* filters */
.tablesorter-filter {
    width: 95%;
    height: inherit;
    margin: 3px;
    padding: 3px;
    background-color: #fff;
    border: 1px solid #bbb;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: height 0.1s ease;
    -moz-transition: height 0.1s ease;
    -o-transition: height 0.1s ease;
    transition: height 0.1s ease;
}

/* collapsed arrows for tablesorter child rows */
tr.tablesorter-hasChildRow td .collapsed i {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #555;
    border-right: 0;
    margin-right: 10px;
}

tr.tablesorter-hasChildRow td i {
    width: 0;
    height: 0;
    display: inline-block;
    border-top: 6px solid #555;
    border-bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    margin-right: 5px;
    user-select: none;
    -moz-user-select: none;
}

.hidden {
    display: none;
}

tr.tablesorter-childRow {
    background-color: #efefef;
}

.nowrap {
    white-space: nowrap;
}

/* multi column layouts */
table.twocolumn, table.threecolumn, table.fourcolumn, table.fivecolumn {
    padding: 0;
    border: 0;
    width: 100%;
}

table.twocolumn tbody,
table.twocolumn tbody tr,
table.threecolumn tbody,
table.threecolumn tbody tr,
table.fourcolumn tbody,
table.fourcolumn tbody tr,
table.fivecolumn tbody,
table.fivecolumn tbody tr {
    border: 0;
}

table.twocolumn tbody tr.even,
table.twocolumn tbody tr:nth-child(2n+2),
table.threecolumn tbody tr.even,
table.threecolumn tbody tr:nth-child(2n+2),
table.fourcolumn tbody tr.even,
table.fourcolumn tbody tr:nth-child(2n+2),
table.fivecolumn tbody tr.even,
table.fivecolumn tbody tr:nth-child(2n+2) {
    background-color: #ffffff;
}

table.twocolumn td {
    border: 0;
    width: 50%;
}

table.threecolumn td {
    border: 0;
    width: 33%;
}

table.fourcolumn td {
    border: 0;
    width: 25%;
    vertical-align: top;
}

table.fivecolumn td {
    border: 0;
    width: 20%;
    vertical-align: top;
}

/* Basic responsive*/
table.table-responsive {
    padding: 0;
    border: 0;
    width: 100%;
}

table.table-responsive tbody,
table.table-responsive tbody tr {
    border: 0;
}

table.table-responsive tbody tr.even,
table.table-responsive tbody tr:nth-child(2n+2) {
    background-color: #ffffff;
}

table.table-responsive td {
    border: 0;
}

table.datagrid td,th {
    border: 1px solid #eaeaea;
}

/* Figure captions */
figure {
    padding: 4px;
    margin: auto;
}

figure img {
    width: 100%;
    border:  1px solid #cccccc;
}

.figure-right {
    margin-left:10px;
    float:right;
    width: 40%
}

.figure-left {
    margin-right:10px;
    float:left;
    width: 40%
}

figcaption {
    font-size: 0.9em;
    font-style: italic;
    padding: 5px;
    text-align: left;
}

.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}

.element-invisible.element-focusable:active, .element-invisible.element-focusable:focus {
    position: static !important;
    clip: auto;
    overflow: visible;
    height: auto;
}

/* Tableless css form layout from CSS Library
   set the form class to  class="cssform"
	 Put each row in <p> and labels in <label> */

.cssform p{
    width: 600px;
    clear: left;
    margin: 0;
    padding: 5px 0 8px 0;
    padding-left: 185px; /*width of left column containing the label elements*/
    height: 1%;
}

.cssform label{
    font-weight: bold;
    float: left;
    margin-left: -185px; /*width of left column*/
    width: 180px; /*width of labels. Should be smaller than left column (155px) to create some right margin*/
}

.cssform input[type="text"]{ /*width of text boxes. IE6 does not understand this attribute*/
    width: 250px;
}

.cssform textarea{
    width: 350px;
}

/* Tables with no borders around cells */
table.noborder {
    border:0;
}

th.noborder {
    border:0;
}

td.noborder {
    border: 0;
}

.required, .red {
    color:#FF0000;
}

.larger {
    font-size:1.2em;
}

@media only screen and (max-width:580px) {
    table.table-responsive,
    table.twocolumn-responsive,
    table.threecolumn-responsive {
        display: block;
    }

    .table-responsive td,
    .table-responsive tr,
    .twocolumn-responsive td,
    .twocolumn-responsive tr,
    .threecolumn-responsive td,
    .threecolumn-responsive tr,
    .fourcolumn-responsive td,
    .fourcolumn-responsive tr ,
    .fivecolumn-responsive td,
    .fivecolumn-responsive tr  {
        display: block !important;
    }

    .table-responsive td,
    .twocolumn-responsive td,
    .threecolumn-responsive td,
    .fourcolumn-responsive td,
    .fivecolumn-responsive td {
        width: 100% !important;
        margin-bottom: 15px;
        clear: both;
    }
}

/* Code for smaller screens */
@media only screen and (min-width:768px) and (max-width:900px) {

    #page-title h1 a,
    #page-title h1 a:active {
        font-size: 38px;
        line-height: 0.9;
    }

    h2 {
        font-size: 26px;
    }
}

@media only screen and (min-width:768px) and (max-width:820px) {
    .navbar-default .navbar-brand {
        font-size: 15px;
    }
}

@media only screen and (max-width:767px) {

    #page-title h1 {
        display: block;
    }

    #page-title h1 a,
    #page-title h1 a:active {
        font-size: 38px;
        line-height: 0.9;
    }

    h2 {
        font-size: 26px;
    }

    .navbar-default .navbar-brand {
        font-size: 14px;
        font-stretch: semi-condensed;
    }

    .fivecolumn-responsive td,
    .fivecolumn-responsive tr  {
        display: block !important;
    }

    .fivecolumn-responsive td {
        width: 100% !important;
        margin-bottom: 15px;
        clear: both;
    }
}

@media print
{
    .noprint, .noprint *
    {
        display: none !important;
    }
}