body {
  background:#e8e9ea;
  font-family: Helvetica, sans-serif;
  color: #777;
  line-height:1.7;
  margin-bottom:20px;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
  font-family: Helvetica, sans-serif !important;
  font-size: 14px !important;
}
.main-container {
  box-shadow: 0px 5px 30px 5px #b0b1b3;
  background:white;
  padding-bottom: 60px;
  padding-top: 45px;
  position: relative;
  /*z-index: 10*/;
}
.main-content{
  margin-top: 30px; 
}
.main-content.home{
  margin-top: 0; 
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Fjalla One', sans-serif;
  color: #000;
  line-height: 1.3;
  letter-spacing: 0px;
}
.headline {
  color:#000;
  font-weight:bold;
  /*  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.9em;
  */
}
h1, .h1 {
  /*font-size: 16px;*/
  font-size: 30px;
  color: black;
}
.body-head h2, .body-head .h2 {
  font-size: 19px;
  text-transform: uppercase;
  margin-top: 5px;
  color: #aaa;
  font-weight: normal;
}
h2, .h2 {
  font-size: 22px;
}
h3, .h3 {
  font-size: 18px;
}
h4, .h4 {
  font-size: 16px;
  margin-top:16px;
}
h5, .h5 {
  font-size: 16px;
}
h6, .h6 {
  font-size: 14px;
}
h2+h1, h2+.h1,.h2+h1, .h2+.h1 {
  margin-top: -8px;
  font-size: 33px;
  color:black;
}
h2+.h1, .h2+.h1 {
  font-size: 26px;
}
h3+h4 {
  margin-top: -8px;
}
hr+h3 {
  margin-top: 0;
}
.body-color{
  color: #777;
}
.heading-color{
  color: #464646;
}
.detail h1, .person-detail h1, .event-detail h1, .news-detail h1, .announcement-detail h1 {
  font-size: 30px;
  color: black;
  margin-top:0px;
}
.person-detail h1 + h2 {
  margin-top: -8px;
  margin-bottom: 25px;
}
.education p {
  margin-bottom: 6px;
  line-height: 1.4;
}
div h2:first-child, div h3:first-child, div.bio h4:first-child {
  margin-top: 0px;
}
h3 + time {
  margin-top: -10px;
  margin-bottom: 10px;
  display: block;
}
.tight {
  margin-right:-15px;
  margin-left:-15px;
}
/*body boxes*/
.body-boxes .body-box{
  margin: 0px 0 20px; 
}
.body-boxes .body-box h2:first-child {
  background: #000;
  padding: 10px 15px;
  border-bottom: 1px solid #fff;
  /* border-top: 2px solid #fff; */
  margin: 0;
}
.body-boxes .body-box h2 a {
  color: #fff;
}
.body-boxes .body-box h2 a:hover, .body-boxes .body-box h2 a:focus {
  color: #aaa;
}
.body-box h3{
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.65;
  margin-top:0;
}
.body-boxes .body-box img:first-child{
  width: 100%; 
}
/*end body boxes*/
.form-group img, img.not-bordered {
  border: 0px solid #ccc;
}

a, .btn-link {
  color: #1977C5;
}
a:hover, a:focus, .btn-link:hover, .btn-link:focus {
  color: #000;
  text-decoration: none;
}
h1 a, h2 a, h3 a, h4 a {
  color:#000;
}
h1 a:hover, h1 a:focus, h2 a:focus a, h3 a:hover, h3 a:focus, h4 a:hover, h4 a:focus {
  color:#1977C5;
}
a.btn:hover{
  color: #fff !important;
}
a.btn-sm{
  margin: 5px 0;
}
/*
h3 > a{
color: #464646; 
}
h3 > a:hover, h3 > a:focus{
color: #00266B;
}
*/
a#delete-button {
  color: #aaa;
}
a#delete-button:hover {
  color: #000;
}
.btn {
  border-radius:0px;
}
.btn-back, .btn-square {
  padding: 4px 8px;
}
.btn-sm.btn-square {
  padding:1px 4px 
}
.link-back, .link-top {
  text-align:right;
}
.link-top {
  text-align:right;
  padding-top:50px;
}
.btn-block {
  padding-left: 5px;
  padding-right: 5px;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
  background-color: #adadad;
}
.btn-color {
  color: #ffffff;
  background-color: #888;
  border-color: #888;
}
.btn-color:hover,
.btn-color:focus,
.btn-color:active,
.btn-color.active,
.open .dropdown-toggle.btn-color {
  color: #fff;
  background-color: #000;
  border-color: #000;
}
.btn-color:active,
.btn-color.active,
.open .dropdown-toggle.btn-color {
  background-image: none;
}
.btn-color.disabled,
.btn-color[disabled],
fieldset[disabled] .btn-color,
.btn-color.disabled:hover,
.btn-color[disabled]:hover,
fieldset[disabled] .btn-color:hover,
.btn-color.disabled:focus,
.btn-color[disabled]:focus,
fieldset[disabled] .btn-color:focus,
.btn-color.disabled:active,
.btn-color[disabled]:active,
fieldset[disabled] .btn-color:active,
.btn-color.disabled.active,
.btn-color[disabled].active,
fieldset[disabled] .btn-color.active {
  background-color: #e8e9ea;
  border-color: #e8e9ea;
}

.btn-caption {
  color: #ffffff;
  background-color: black;
  border-color: #fff;
  font-style:italic;
  font-family:serif;
  padding:0px 9px;
  font-size:17px;
}
.btn-caption:hover,
.btn-caption:focus,
.btn-caption:active,
.btn-caption.active,
.open .dropdown-toggle.btn-caption {
  color: #ffffff;
  background-color: black;
  background-color: rgba(0,0,0,.75);
  border-color: #fff;
}
.btn-caption:active,
.btn-caption.active,
.open .dropdown-toggle.btn-caption {
  background-image: none;
}

blockquote {
  padding: 10px 20px;
  margin: 20px 0 25px;
  font-size: 14px;
  border-left: 4px solid #eee;
  line-height: 2;
}

hr {
  border-top: 1px solid #aaa; 
  margin-top: 15px;
  margin-bottom: 15px;
}
hr.top {
  margin-top: 0px;
}
/* header */
.header {
  border-bottom: 2px solid #ccc;
  padding:16px 45px 12px;
  text-align: center;
  margin-bottom: 30px;
}
.header a, .header h1, .header h2, .header h3, .header h4, .header p{
  color: #000; 
  font-family: "museo-sans",sans-serif;
  font-style: normal;
  font-weight: 700;
}
.header .btn-back{
  color: #fff; 
}
.home .header h2{
  font-size: 17px;
}
.home .header h1{
  font-size: 40px; 
  line-height:1.1;
  margin-bottom: 0px;
}
.home .header h3{
  font-size: 10px;
  text-transform: uppercase;
  margin-top: 8px;
}
.home .header h3 span {
  display:block;
}
.home .header h3 span.no-mobile {
  display:none;
}
/* navbar */
.fixed-top {
  position: fixed;
  width: 100%;
  z-index: 1000;
}
.navbar {
  border: 0px;
  min-height: 40px;
  border-radius: 0;
  border-bottom: #ccc 4px solid;
  background: black;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.navbar .btn-link {
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.navbar .btn-link:hover, .navbar .btn-link:focus {
  color: #fff;
  background-color: #9b9b9b;
}
.navbar a {
  color:white;
}
.nav .open>a, .nav .open>a:focus  {
  color: #5f5f5f;
}
.nav>li>a:hover, .nav>li.active>a:hover, .nav>li>a:focus, .nav .open>a:hover {
  background-color: #eee;
  color: #5f5f5f;
}
.nav>li.active>a {
  background-color: #9b9b9b;
}

.navbar .dropdown-menu {
  background-color: #e8e9ea;
  color: #5f5f5f;
  border-radius: 0px;
  border: 0px;
  padding: 0;
  border-top: 4px solid #ccc;
}
.navbar .dropdown-menu>li>a {
  padding-top:10px;
  padding-bottom:10px;
  color: #ffffff;
}

.dropdown-menu>.active>a, .navbar .dropdown-menu>li>a:hover {
  background-color: #9b9b9b;
  color: #ffffff;
}
.navbar form {
  text-align: center;
}
.navbar .form-control {
  background-color: black;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  color:white;
  border: 1px solid #ccc;
  height: 25px;
  font-family: Helvetica, sans-serif;
}
/* footer */
.footer {
  line-height:1.5;
  padding-top: 30px;
  color:#333;
}
.footer .links {
  font-family: 'Fjalla One', sans-serif;
}
.footer .map p {
  padding-bottom: 25px;
}
.footer .vcard li {
  padding-bottom: 10px;
}
.footer .vcard .fn {
  /*font-family: 'Fjalla One', sans-serif;*/
  font-weight: bold;
}
/* home slider */
.slider{
  padding-bottom: 5px; 
}
.slider img {
  /*
  border-top: 4px solid #cccccc;
  border-bottom: 4px solid #cccccc;
  */
}

.slider .flex-control-paging li a {
  border-radius: 0px;
  background: #ccc;
}
.slider .flex-control-paging li a:hover {
  background: #aaaaaa;
}
.slider .flex-control-paging li a.flex-active {
  background: #000;
}
.slider .flex-control-nav {
  text-align: center;
}

.slider  .flex-control-nav li {
  text-align: center;
}
.slider .flex-direction-nav a {
  width: 20px;
  height: 20px;
  margin: -10px 0 0;
  color: #ccc;
  text-shadow: none;
}
.slider  .flex-direction-nav a.flex-next:before {
  content: "\e080";
}
.slider .flex-direction-nav a:before {
  font-family: 'Glyphicons Halflings';
  font-size: 20px;
  display: inline-block;
  content: "\e079";
}
.slider .flex-caption {
  position: absolute;
  top: 20px;
  right: 15px;
}
.slider .tooltip {
  right:0px;
  left:auto !important;
}
.slider .tooltip-inner {
  max-width: 300px;
  min-width: 200px;
  border-radius: 0;
  background-color: rgba(0,0,0,.75);

}
.slider .tooltip-arrow {
  display:none;
}
.slider .tooltip-inner {
  text-align:left;
}
/* home tweaks */
.home .body-text {
  line-height:1.8;
}

/* sidebar */
.mobile-left .rss {
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.subnav {
  font-family: 'Fjalla One', sans-serif;
  text-transform:uppercase;
  display:none;
}
.subnav.active-subnav {
  display:block;
}
.mobile-left {
  margin-bottom:15px;
}

/* courses */
h2.course-meta {
  margin-top: 10px;
}
.divided-list li {
  border-bottom: 1px solid #aaa;
  padding-bottom: 1px;
  margin-bottom: 16px;
}
.divided-list .first-item {
  border-top: 1px solid #aaa;
  padding-top: 6px;
}
.divided-list h3 {
  margin-top:2px;
  font-size:20px;
  margin-bottom:10px;
}
.divided-list h4 {
  margin-top:2px;
  font-size:16px;
  margin-bottom:3px;
}
.divided-list h5 {
  margin-top:2px;
  margin-bottom:0;
}
p.professor {
  margin-bottom: 0;
}
p.units {
  margin-top: -10px;
}
/* faculty */
.faculty-item {
  padding-bottom: 30px;
}
.faculty-item h4 {
  font-family:Helvetica, sans-serif;  
  color:#aaa;
  font-size: 15px;
}
.book-list img {
  margin-bottom: 15px;
}

.book-item p {
  line-height: 1.4;
}

ul.tabs {
  font-family: 'Fjalla One', sans-serif;
}

.event-list h4 {
  margin: 20px 0;
  font-size: 16px;
}

.news-list .thumb {
  padding-top:0px;
}

/* forms */
.form-control {
  border-radius:0px;
  border: 1px solid #aaa;
}
label {
  letter-spacing: .5px;
  font-weight: normal;
}
fieldset {
  padding-bottom: 15px;
}
fieldset fieldset, fieldset[disabled] {
  padding-bottom: 0px;
}
legend {
  font-family: 'Fjalla One', sans-serif;
  border: 0;
  border-top: 1px solid #aaa;
  padding-top: 4px;
}
form hr {
  border-top: 1px solid #eee;
}

.resource-list li {
  padding: 3px 0;
}
.resource-list .btn-square {
  top: -2px;
  position:relative;
}
.resource-list .thumb {
  max-width:50%;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 0;
  padding-left: 15px;
}

.book-item {
  padding-bottom: 30px;
}
.student-item .info-list li {
  padding-top: 8px;
}
.student-item .info-list li:first-child {
  padding-top: 0px;
}
.addthis_toolbox {
  padding-bottom:5px;
  padding-top:5px;
  min-height: 26px;
}
/* sidenav */
.sidenav{
  text-align: center; 
  border-right: 1px solid #dadada;
  font-family: 'Fjalla One', sans-serif;
  font-size:16px;
}
.sidenav .sidenav-heading, .sidenav li.parent-link>a {
  text-transform: uppercase;
  padding: 5px 10px;
  color:#aaa;
  line-height: 1.3;
  display: block;
  font-size:19px;
}
.sidenav li.parent-link.active>a {
  color:black;
}
.sidenav li.parent-link>a:hover {
  color:black;
}
.sidenav li.sidenav-link:after{
  content: " ";
  display: block; 
  height: 0; 
  clear: both;
}
li.sidenav-link {
  padding: 2px 0;
}
.sidenav li.sidenav-link > a{
  color: #000;
  display: block;
  line-height:1.3;
  padding: 6px 10px 4px; 
  float: right;
  clear: both;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  font-size:17px;
}
/*
.sidenav li.sidenav-link > a, .sidenav .sidenav-heading{
font-weight: bold; 
}
.sidenav li.sidenav-link a.active{
font-weight: bold !important; 
}
*/
.sidenav li.sidenav-link > a:hover,.sidenav li.sidenav-link > a:focus,.sidenav li.sidenav-link > a:active, .sidenav li.sidenav-link a.active{
  color: #fff !important;
  background: #000; 
  /*font-weight: bold !important;*/
}
/*sidenav with children
.sidenav li.parent-link > ul.subnav > li.sidenav-link > a{
text-transform:none;
font-weight: normal; 
color: #aaa;
font-size:16px;
}
*/
/*end sidenav with children*/
/*end sidenav*/

.clear {
  clear:both;
}
/*search form*/
#search{
  position: relative; 
  margin: 8px 0 0 0;
}
#search input{
  padding-right: 25px; 
}
#search button{
  position: absolute;
  background: none;
  border: none;
  top: 0;
  right: 0;
}
#search button:focus, #search button:active{
  outline: 0; 
}
#search button .glyphicon{
  color: #fff;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
#search button .glyphicon:hover{
  color: #777; 
}
#search_form{
  margin: 0 !important; 
}
html.touch #search input{
  padding: 5px;
}
html.touch #search button{
  position: relative;
  color: #fff;
  text-transform: uppercase;
}
/*end search form*/
/** column clearing **/
.clean-columns-2-1:nth-child(odd) {
  clear:left;
}
.clean-columns-3-2-1:nth-child(odd) {
  clear:left;
}
.clean-columns-6-4-4-3-2:nth-child(3n+1) {
  clear:left;
}
.btn-back, .btn-top {
  position:relative;
  z-index:10;
}
/** tabs **/
ul.tabs {
  border-bottom: 1px solid #ccc; 
  display: inline-block;
  padding: 10px 20px;
  background: #ededed;
}
ul.tabs li {
  float: left;
}
ul.tabs li a, ul.tabs .tab-label{
  padding: 2px 11px;
}
ul.tabs .tab-label{
  padding-left: 0; 
}
ul.tabs li a {
  position: relative; 
  display: block; 
  border-bottom: 2px solid #000;
  color: #000;
}
ul.tabs li a.active { 
  background: #000; 
  color: #fff;
}
ul.tabs li a:hover, ul.tabs li a:focus, ul.tabs li a:active{
  background: #000; 
  color: #fff !important;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.bold{
  font-weight: 600 !important; 
}
/** navbar  **/
.navbar-toggle {
  margin:0;
}

.navbar-toggle .toggle-text {
  color: white;
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  padding-right: 5px;
  line-height: 1;
  position: relative;
  top: -2px;
}
.navbar-toggle .toggle-bars {
  display:inline-block;
}
.navbar-toggle .icon-bar {
  background: #ffffff;
  height:3px;
}

/** misc **/
#logout, #edit-profile {
  display: none;
}
.social.list-inline>li {
  padding-left: 0px;
  padding-right: 0px;
}
.col-fluid{
  padding-left: 0; padding-right: 0; 
}
.pull-img.pull-left{
  padding: 8px 8px 8px 0;
}
.pull-img.pull-right{
  padding: 8px 0 8px 8px; 
}
ul.indent-inner p, ol.indent-inner p{
  margin: 0 !important;
}
/********** BOOTSTRAP HELPERS **************/

.help-block {
  font-style:italic;
  font-size:.9em;
  line-height:1.3;
  padding-top:5px;
}
.help-tight {
  margin-top:-15px;
}
.navbar-collapse {
  max-height: none;
}
.flexslider li {
  line-height: 1;
}
iframe, object, embed{
  max-width: 100%;          /* makes iframes, objects, and embeds responsive */
}

/********** FORM STYLES **************/

.area-wrap iframe { /*fck_editor toolbar modification*/
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}
.sysmsg {
  color: #f00;              /* system error message styling */
  margin-bottom:25px;
}
form ol {
  list-style-type:none;     /* generated forms are in an ol tag, remove the list numbering */
  margin-left: 0px;         /* remove bootstrap ol indentation for generated forms */
}
#email2 {                   /* be sure to include this rule if you are using our forms */
  display: none;            /* it keeps normal users from seeing the spambot honeypot  */
}

label.error {
  color: red;               /* jquery validator form error styling */
  padding-top: 3px;
}

/*
* jQuery FlexSlider v2.2.0
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the GPLv2 license.
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Contributing author: Tyler Smith (@mbmufffin)
*/


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
  font-family: 'flexslider-icon';
  src:url('fonts/flexslider-icon.eot');
  src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
    url('fonts/flexslider-icon.woff') format('woff'),
    url('fonts/flexslider-icon.ttf') format('truetype'),
    url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0 0 10px; position: relative; zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { text-decoration:none; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: -50px; }
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}


.btn.btn-color.btn-back {
  display:none;
}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}


@media (max-width: 400px) {
  .col-xxs-12 {
    width:100%;
  }
  .hidden-xxs {
    display:none !important;
  }
  .col-xxs-6 {
    width:50%;
  }
  .col-xxs-push-0, .col-xxs-pull-0 {
    left: 0;
    right: 0;
  }
  .clean-columns-6-4-4-3-2:nth-child(3n+1) {
    clear:none;
  }
  .clean-columns-6-4-4-3-2:nth-child(odd) {
    clear:left;
  }
}
@media (min-width: 768px) {
  .home .body-text {
    margin-bottom:40px;
  }
  .caret {
    display: none;
  }
  .navbar .dropdown:hover >.dropdown-menu {
    display: block;           /* allows for main menu dropdowns to display on hover as well as on click (Bootstrap's Default is click only) */
  }
  .thumb {
    float: right;
    padding: 10px 0 10px 25px;
  }
  .thumb.right-thumb {
    float: right;
    padding: 10px 0 10px 25px;
  }
  .clean-columns-6-4-4-3-2:nth-child(3n+1) {
    clear:none;
  }
  .clean-columns-6-4-4-3-2:nth-child(4n+1) {
    clear:left;
  }
  ul.person_list .person-detail{
    margin-left: 30px;
    margin-bottom:10px;
  }
}

@media (min-width: 992px){
  .clean-columns-3-2-1:nth-child(odd) {
    clear:none;
  }
  .clean-columns-3-2-1:nth-child(3n+1) {
    clear:left;
  }
  .clean-columns-6-4-4-3-2:nth-child(3n+1) {
    clear:none;
  }
  .clean-columns-6-4-4-3-2:nth-child(4n+1) {
    clear:left;
  }
}
@media (min-width: 1200px){
  .clean-columns-6-4-4-3-2:nth-child(4n+1) {
    clear:none;
  }
  .clean-columns-6-4-4-3-2:nth-child(6n+1) {
    clear:left;
  }
}
@media (max-width: 400px) {
  .header {
    padding: 5px 10px 10px 15px;
    margin-top: 0px;
  }
  .header span {
    display:block;
  }

  .home .header {
    padding: 10px 5px 10px 10px;
    margin-top: 0;
  }
  .body-box {
    /*border-bottom: 1px solid #999;*/
    margin-bottom: 25px;
    padding-bottom: 15px;
  }
  .slider .flex-caption {
    position: absolute;
    top: 10px;
    right: 6px;
  }

  .header h1 span.bigger, .header h2 span.bigger {
    bottom: 0;
    padding-right: 0px;
    padding-left: 0px;
  }
  .slider .tooltip h4 {
    margin:0;
  }
  .resource-list .thumb {
    padding-left: 0px;
    max-width:100%;
  }
  /*sidenav responsive*/
  .sidenav li.sidenav-link{
    width: 100% !important;
  }
  /*end sidenav responsive*/
} @media (max-width: 600px) {
  .header h2.text-left {
    line-height: 1;
  }
  .header h2 .bigger {
    display:block;
    padding-left:0 !important;
    margin-left:-3px;
  }
}
@media (max-width: 767px) {
  .header{
    margin-bottom: 0;
    padding: 10px 14px 10px;
  }
  .header h2 {
    font-size:15px;
    margin:0;
  }
  .header h2 .bigger{
    font-size:35px;
    padding-left: 4px;
  }
  .nav a{
    padding: 6px 10px !important;; 
  }
  .navbar{
    max-height: 400px;
    overflow-y: scroll;
  }
  .navbar .dropdown-menu {
    background-color: #555;
    padding:2px 20px 2px 10px;
  }
  #search{
    margin: 0;
  }
  #search input{
    padding: 5px;
  }
  #search button{
    position: relative;
    color: #fff;
    margin-top: 5px;
    text-transform: uppercase;
  }
  .body-boxes .body-box{
    margin: 10px 0;
  }
  .vcard, .login-links, .social.list-inline, .fb-like{
    text-align: center;
  }
  .fb-like iframe{
    margin-left: 85px;
  }
  .tabs{
    margin-top: 20px;
    width:100%;
  }
  /*sidenav responsive*/
  .sidenav{
    width: 100%;
  }
  .sidenav .sidenav-heading{
    display: none;
  }
  .sidenav li.sidenav-link{
    float: left;
    width: 50%;
    text-align: center;
    margin-bottom: 10px;
  }
  .sidenav li.sidenav-link a{
    background: #e8e9eb;
    width: 100%;
  }
  /*sidenav responsive with children*/
  .sidenav li.parent-link > ul.subnav > li.sidenav-link{
    margin-bottom: 0;
    width: 100%;
    float: none;
  }
  .sidenav li.parent-link > ul.subnav > li.sidenav-link > a{
    color: #000;
  }
  /*end sidenav responsive with children*/
  /*end sidenav responsive*/
  .pull-img{
    float: none !important;
    padding: 0;
    margin: 0px auto;
  }
  #vcard_footer {
    margin-top: 30px;
  }
} @media (min-width: 600px) {
  .home .header h2{
    font-size: 20px;
  }
  .home .header h1{
    font-size: 74px; 
    line-height:1.1;
  }
  .home .header h3{
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 8px;
  }
  .home .header h3 span, .home .header h3 span.no-mobile {
    display:inline;
  }
  .body-boxes {
    margin: 0px 20px;
    padding: 20px 20px 0 20px;
  }
}
@media (min-width: 768px) {
  .header h1, .header h2 {
    font-size:20px;
    margin:0;

  }
  .header h1 span.bigger, .header h2 span.bigger {
    font-size:36px;
    position:relative;
    bottom:-5px;
    padding-right:1px;
    padding-left:5px;
  }
  .home .header {
    padding-top: 20px;
    border-bottom: 0px solid #ccc;
    margin-bottom:0;
  }
  .navbar-collapse {
    padding-right: 0px;
    padding-left: 0px;
  }
  .navbar-nav>li>a {
    padding-top: 13px;
    padding-bottom: 11px;
  }
  .navbar-form {
    margin-top: 0;
    margin-bottom: 0;
  }

  .navbar .dropdown-menu>li>a {
    color: #5f5f5f;
  }
  .navbar .dropdown-menu>li.active>a {
    color: #fff;
  }
  .flexslider { 
    margin-bottom: 45px;
  }
  ul.slides {
    height: 271px;
  }
  .body-head {
    min-height: 80px;
    position:relative;
  }
  .body-head .addthis_toolbox {
    position:absolute;
    bottom:0;
    min-width:200px;
  }
  .sidebar-left,   .sidebar-right {
    padding-top: 90px;
  }
  .sidebar-right-sm {
    clear:both;
    padding-top:50px;
  }
  .btn-back {
    float: right;
  }
  .footer{
    padding-top: 50px;  
  }
  .social.list-inline{
    margin-top: 20px; 
  }
  .footer .copyright p{
    display: inline-block;
    padding: 0 10px;
  }
  .subnav {
    text-transform:none;
  }

  /*
  .tag-cloud {
  margin-top: 150px;
}
  */
  .detail .addthis_toolbox {
  }
  /*body boxes*/
  .body-boxes{
    background: #ededed;
  }
  .body-boxes .box-wrap:first-child{
    border-right: 1px solid #dadada;
  }
  .body-boxes .box-wrap:last-child{
    border-left: 1px solid #dadada;
  }
  .body-boxes >.row:first-child .body-box > section{
    padding-bottom:12px;
    margin-bottom:30px;
    border-bottom: 2px solid #dadada;
  }
  /*end body boxes*/
  .sidenav{
    text-align: right; 
    margin-bottom: 25px;
  }

}
@media (min-width: 768px) and (max-width: 991px) {
  .navbar, .navbar .btn, .navbar .dropdown-menu {
    font-size:12px;
  }
  .navbar-nav>li>a{
    line-height:22px;
  }
  .nav>li>a {
    padding: 10px;
  }
  .navbar .dropdown-menu>li>a {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar .form-control {
    width: 90px;
  }
  .navbar .btn-link {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px;
  }
  .body-area {
    padding-right: 20px;
  }
  .home .body-text {
    padding-right: 10%;
    padding-left: 10%;
  }
  #search_form {
    max-width:20%;
  }
  #search_text {
    max-width: 80px;
}
  .nav.navbar-nav {
    max-width:80%;
  }
}

@media (min-width: 992px) {
  .home .header {
    padding-top: 35px;
    margin-bottom:0;
  }
  .body-box {
    padding-right: 8%;
    padding-left: 8%;
  }
  .navbar .btn-link {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  ul.slides {
    height: 348px;
  }

  .student-item.no-image .bio {
    padding-left: 24px;
  }
  .body-boxes {
    margin: 0px 37px;
    padding: 55px 20px 35px;
  }
  .sidenav li.sidenav-link > a{
    width: 80%;
  }
}
@media (min-width: 1200px) {
  .navbar {
    padding-right: 25px;
    padding-left: 25px;
  }
  .navbar-nav>li>a {
    padding-right: 18px;
    padding-left: 18px;
  }
  ul.slides {
    height: 418px;
  }

}
/*specific device targeting*/
/*iPhone 6+ landscape*/
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) {
  .navbar{
    max-height: 100vh !important; 
  }
}
/*iPhone 6 landscape*/
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
  .navbar{
    max-height: 100vh !important; 
  }
}
/*iPhone 5/5s landscape*/
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
  .navbar{
    max-height: 100vh !important; 
  }
}
/*iPhone 2g-4s landscape*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) { 
  .navbar{
    max-height: 100vh !important; 
  }
}
/*end specific device targeting*/


/********** PRINT STYLES **************/

@media print {
  *{line-height: 1.6;}
  a[href]:after { content: none; }  /* keeps the urls of links from displaying when printing a page */
  .sidenav, .login-links, .link-back, .link-top, .footer .map, #wv-toolbar-container, .rss, .addthis_toolbox, .fb-like, #social_footer {display:none !important;}
  .main-container{padding-top: 0 !important; padding-bottom:30px !important; border-bottom: 1px solid black;}
  .berkeley-logo img {max-width: 200px !important;}
  .footer{page-break-inside: avoid;}
  .footer .berkeley-logo, footer #vcard_footer, .body-area .col-sm-6, .body-boxes .box-wrap{
    display: inline-block;
    width: 50%;
  }
  #vcard_footer {
    margin-top: 0px;
  }
  .body-area .col-md-4{
    width: 33%;
  }
  .body-area .col-sm-6, .body-area .col-md-4{
    float: left;
  }
  .body-area .faculty-item{
    float: none !important;;
    display: inline-block;
    width: 32%;
    vertical-align: top;
  }

  .home .body-text {
    margin-top: 20px;
  }
  .body-box h3 {
    line-height: 1;
  }
  .body-boxes .body-box h2:first-child {
    padding-right: 0px;
    padding-left: 0px;
  }
}
.subnav .subnav li a {
  font-size:15px;
}


.sidebar-left .subnav .subnav {
  display:none;
}
.sidebar-left .subnav li:hover .subnav, .sidebar-left .subnav li a.active + .subnav {
  display:block;
}