@import url(https://fonts.googleapis.com/css?family=PT+Sans);

a {
    outline: 0 !important;
    text-decoration: none;
}

p a:hover,
h5 a:hover {
    border-bottom: 1px dotted;
}

/* TRY TO RESET ALL UMN CSE ELEMENTS
need specificity >= 110 to override (at least 1 ID + 1 class in selector)
*/

#umncsehf-h .umncsehf {
	background: none;
	border: none;
	bottom: auto;
	clear: none;
	/*cursor: auto;*/
	float: none;
	font: normal normal normal 11px/22px arial, verdana, sans-serif;
	height: auto;
	left: auto;
	letter-spacing: normal;
	line-height: 22px;
	margin: 0;
	max-height: none;
	max-width: none;
	min-height: 0;
	min-width: 0;
	overflow: visible;
	padding: 0;
	position: static;
	right: auto;
	text-align: left;
	text-decoration: none;
	text-indent: 0;
	text-transform: none;
	top: auto;
	visibility: visible;
	white-space: normal;
	width: auto;
	z-index: auto;
}

#content input[type="text"],
#content input[type="password"],
#content input[type="submit"],
#content input[type="url"],
#content input[type="email"],
#content input[type="number"],
#content input.text,
#content input.title,
#content textarea,
#content select {
    margin-left: 0;
}

input[type="submit"] {
    height: 2.5em;
}

/* Date field */
.date-date {
    width: 200px;
}


/*
-------------------------------------------
Bootstrap classes
-------------------------------------------
*/
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
  font-weight: normal;
  line-height: 1;
  color: #777;
}

h2,
.h2,
h3,
.h3 {
  color: #000;
  margin-top: 30px;
  margin-bottom: 0;
}

h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
  font-size: 65%;
}

h1,
.h1 {
  font-size: 36px;
  margin-top: 0.36872em;
  margin-bottom: 10px;
  border-bottom: 1px dotted #cccccc;
  color: #900021;
}
h2,
.h2 {
  font-size: 30px;
}
h3,
.h3 {
  font-size: 24px;
}

/* Labels */
.label {
    display: inline;
    padding: .2em .6em .3em;
    /* font-size: 75%; */
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-default {
    background-color: #777;
}

.label-primary {
    background-color: #337ab7;
}

.label-success {
    background-color: #8cc739;
}

.label-info {
    background-color: #5bc0de;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-danger {
    background-color: #d9534f;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/*
-------------------------------------------
Custom re-usable classes
-------------------------------------------
*/
.floatright, p.floatright {
    float: right;
    margin-left: 10px;
}

.floatleft, p.floatleft {
    float: left;
    margin-right: 10px;
}

.clearboth {
    clear: both;
}

.centered {
    text-align: center;
}

.vtop {
    vertical-align: top;
}

.vbottom {
    vertical-align: bottom;
}

.width-70 {
    width: 70px;
}

.width-120 {
    width: 120px;
}

.shadow {
    box-shadow: 3px 4px 5px #080808;
}

/* Margins */
.margin-10 {
    margin-top: 10px;
}

.margin-20 {
    margin-top: 20px;
}

.margin-30 {
    margin-top: 30px;
}

.margin-50 {
    margin-top: 50px;
}

.padding-10 {
    padding-top: 10px;
}

.padding-20 {
    padding-top: 20px;
}

.padding-30 {
    padding-top: 30px;
}

.padding-50 {
    padding-top: 50px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-bottom-50 {
    padding-bottom: 50px;
}

.lowmargintop {
    margin-top: 0.5em;
}

.nomargintop {
    margin-top: 0;
}

.nomarginbottom {
    margin-bottom: 0;
}

/* Text */

.maroon {
    color: #900021;
}

.sleek-black,
.sleek-black a {
    font-family: 'PT Sans', sans-serif;
    color: #575757;
}

a.sleek-black:hover,
.sleek-black a:hover {
    color: #000;
    border-bottom: 1px dotted;
}

/* Headers */

h2.nomargin, h5.nomargin {
    margin-top: 0;
    margin-bottom: 0.3em;
}

h2.nomargin {
    margin-bottom: 0;
}

h4,
h5,
h6 {
    margin-bottom: 0;
}

/* Remove margin-top for the first header on the page body */
h2:first-child,
h3:first-child,
h4:first-child {
    margin-top: 0;
}


/* Headers following headers */
h1+h2,
h2+h3,
h1+h3,
h3+h4,
h2+h4,
h1+h4 {
    margin-top: 20px;
}

/* Removing top margin for first h2 header in the body */
div.field-name-field-body * div.field-item + h2,
div.toc-filter + h2,
div.toc-filter-back-to-top.first + h2 {
    margin-top: 0;
}

h5 a {
    color: #000;
}

/* Tables */
th {
    text-align: left;
    padding-left: 8px;
}

table tr:first-child {
    font-weight: normal;
    border-bottom: none;
}

.noborder,
.noborder tr,
.noborder td {
    border: none;
}

.width-25 {
    width: 25%;
}

.width-33 {
    width: 33%;
}

.width-50 {
    width: 50%;
}

/*
-------------------------------------------
UMN Header
-------------------------------------------
*/

#umnhf-h-ql {
    right: 40px;
}

/*
-------------------------------------------
College of Science and Engineering Branding
-------------------------------------------
*/

#umncsehf-h {
	display: block !important;
	height: 35px;
	background: url(../img/cse_bg.png);
	border-bottom: 1px solid #cb9901;
	clear: both;
	overflow: hidden;
	box-shadow: 0px 5px 15px #888888;
}

#umncsehf-container {
    margin: auto;
    max-width: 1200px;
}

#umncsehf-h p.umncsehf,
#umncsehf-h ol.umncsehf,
#umncsehf-h ul.umncsehf {
	font-size:97%;
	margin:0 0 .5em 0;
}


#umncsehf-h a.umncsehf {color:#7a0019;}
#umncsehf-h a.umncsehf:link {color:#7a0019;}
#umncsehf-h a.umncsehf:visited {color:#7a0019;}
#umncsehf-h a.umncsehf:hover {color:#666699;}
#umncsehf-h a.umncsehf:active {color:#7a0019;}

#umncsehf-h ul.umncsehf {
	float:left;
	margin:0;
	padding:0;
	height: 35px;
}

#umncsehf-h li.umncsehf {
	list-style:none;
}

#umncsehf-lg.umncsehf {
	margin: 0 0 0 10px;
	height: 35px;
	line-height: 35px;
	width: 300px;
	float:left;
	display:inline;
	text-indent:-5000px;
	background: url(../img/cse_logo.png) no-repeat left;
}

#umncsehf-lnk.umncsehf {
	display:block;
	float:right;
	padding: 0 10px 0 0;
	font-size: 10px;
	font-weight: normal;

}

#umncsehf-lnk ul.umncsehf li.umncsehf {
	list-style:none;
	display:inline;
	margin: 0 5px 0 0;
	padding: 0 5px 0 0;
	line-height: 35px;
	border-right: 2px solid #d7a602;
	white-space: nowrap;
}

#umncsehf-lnk.umncsehf ul.umncsehf li.umncsehf.last {
	list-style:none;
	display:inline;
	margin:0;
	padding: 0;
	line-height: 35px;
	border:none;
}

/*
-------------------------------------------
Customizing Default UMN elements
-------------------------------------------
*/

/* Extra space for headers preceeded by paragraphs */
p + h2 {
    margin-top: 1em;
}

#sub-header-site-name, #header-wrapper-full-width {
    background: transparent;
}

#sub-header-site-name {
    background: #F5F3DF;
    font-size: 190%;
    border-right: 1px solid #fc3;
    border-left: 1px solid #fc3;
    max-width: 1200px;
    margin: auto;
}

#umnhf-h {
    max-width: 1200px;
}

.content-generic h2,
.content-generic h3,
.content-generic h4,
.content-generic h5,
.content-generic h6 {
    border: none;
}

select.date-year {
    width: 100px;
}

/*
-------------------------------------------
Menu
-------------------------------------------
*/

#sub-header {
	list-style: none;
	background: #7a0019; /* Old browsers */
	background: -moz-linear-gradient(top,  #7a0019 0%, #500014 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7a0019), color-stop(100%,#500014)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7a0019 0%,#500014 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7a0019 0%,#500014 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7a0019 0%,#500014 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7a0019 0%,#500014 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7a0019', endColorstr='#500014',GradientType=0 ); /* IE6-9 */
}

.sf-menu {
    margin-left: -2px;
    min-height: 28px;
}

ul#superfish-1 {
	list-style: none;
}

#superfish-1 li.sf-depth-1 {
	float: left;
	position: relative;
	min-width: 145px;
}

#superfish-1 li a,
#superfish-1 li span.menu_nolink {
    padding: 15px 10px;
    color: #fff;
	text-decoration: none;
}

li.sf-depth-1 > a,
li.sf-depth-1 > span.menu_nolink {
	display: block;
	font-size: 1em;
	padding: 6px;
	font-weight: 700;
}

span.menu_nolink {
    cursor: default;
}

/* Spacing between second level menu items */
li.sf-depth-2 > a,
li.sf-depth-2 * a {
    min-height: 46px;
    padding: 0.6em 9px !important;
    font-size: 0.95em;
}

/* highlighting active menu item */
li.sf-depth-2 > a.active,
li.sf-depth-2 * a.active {
    color: #fc3 !important;
    font-weight: bold;
}

li.sf-depth-2 > a:hover,
li.sf-depth-2 * a:hover {
    background: #803343;
}

/* highlighting active trail */
#superfish-1 li.active-trail a.sf-depth-1,
#superfish-1 li.active-trail ul li.active-trail a.sf-depth-2,
#superfish-1 li.active-trail span.menu_nolink {
	text-shadow: none;
	color: #fc3 !important;
}


#superfish-1 li.sf-depth-1 ul {
    margin-top: -1px;
    padding-top: 14px;
    width: 105%;
	background: #5A0016;
	/*box-shadow: 2px 1px 3px rgba(0,0,0,0.4);*/
}

#superfish-1 li.sf-depth-1 ul:hover,
#superfish-1 li.sf-depth-1 ul.hovered {
    border-top: 1px solid #B76767;
    margin-top: -2px;
    background: #70192B !important;
}

#superfish-1 li.sf-depth-1.first ul {
    border-bottom-left-radius: 12px;
}

#superfish-1 li.sf-depth-1.last ul {
    border-bottom-right-radius: 12px;
}


#superfish-1 li.sf-depth-1.menuparent ul:hover,
ul.sf-megamenu-selected {
    background: #70192B !important;
}

div.pane-menu-block-umn-customizations-level-two {
    background: #f3f3f3;
    border-radius: 15px;
    padding: 1px 0px;
}

div.pane-menu-block-umn-customizations-level-two * a.menu__link {
    text-decoration: none;
}

div.pane-menu-block-umn-customizations-level-two * a.menu__link:hover {
    border-bottom: 1px dashed #aaa;
}

/* Breadcrumbs */
nav.breadcrumb {
    background: transparent;
    margin-top: 10px;
}


/* Left Navigation */
div.menu-level-2 ul.menu {
    padding: 0 5px 0 25px;
}

/*
-------------------------------------------
Customizing Panopoly layouts
-------------------------------------------
*/

.brenham-sidebar,
.brenham .radix-layouts-sidebar {
    width: 24.043%;
}

.brenham-content,
.brenham .radix-layouts-content {
    width: 75.957%;
}

div[class*='-sidebar'].panel-panel-inner {
  margin: 0;
}

.bryant-sidebar,
.bryant .radix-layouts-sidebar {
    margin-top: 20px;
    padding-right: 10px;
}

div.bryant-sidebar * div.menu-block-wrapper,
.bryant div.radix-layouts-sidebar * div.menu-block-wrapper {
    margin-top: -8px;
    margin-bottom: -8px;
}

/* Mobile [portrait + landscape] */
@media only screen and (max-width: 992px) {
  .bryant-sidebar,
  .bryant-content,
  .bryant .radix-layouts-sidebar,
  .bryant .radix-layouts-content {
    width: 100%;
    float: none;
  }

  .bryant-sidebar-inner,
  .bryant .radix-layouts-sidebar .panel-panel-inner {
    margin-right: 0;
  }
}

@media only screen and (max-width: 480px) {
    table {
        margin-left: 0;
        margin-right: 0;
    }
}

/* mostly for homepage */
.bartlett-flipped-container,
.bartlett-flipped .container-fluid > .row > .panel-panel {
    margin-top: 10px;
}

.bartlett-flipped-container,
.bartlett-flipped .container-fluid > .row > .panel-panel,
.bartlett-flipped-content-header,
.bartlett-flipped .radix-layouts-contentheader {
    margin-bottom: 0;
}

/*
-------------------------------------------
Views
-------------------------------------------
*/

.views-row {
    margin-bottom: 15px;
}

.views-row > td {
    padding-bottom: 15px;
}

/* Removing border from grid in views */
table.views-view-grid td {
    border: none;
}

.header-nomargin div.view-header {
    margin-bottom: -20px;
}

div[class$="-block"] div.field-content p:first-child {
    margin: 0;
}

/* News */
div.view-news-block * div.field-content p {
    margin-bottom: 0;
}

div.view-news-block * img.media-thumbnail {
    margin-top: 8px;
}

/* Spacing between news */
.view-news-block .views-row {
    margin-bottom: 30px;
}

/* Read more link */
a.views-more-link {
    display: block;
    margin: 1em;
    margin: 0 1em 1em 1em;
    float: right;
}

/* News image */
.node-story .field-type-image,
.node-news .field-type-image {
    float: left;
    margin-right: 10px;
}

.webb-flipped-column-content-region {
    margin-bottom: -20px;
}

.activity-timeline * table {
    margin-top: 0;
}

.activity-timeline * table * span.date-display-single {
    float: left;
}

.activity-timeline * span.date-display-single {
    font-size: 18px;
    padding-left: 7px;
    font-weight: bold;
}

/* People */
img.faculty-profile {
    box-shadow: 3px 4px 5px #080808;
}

/*
-------------------------------------------
Blocks
-------------------------------------------
*/
.highlighted-block-gold {
    padding: 5px 10px 1px 10px;
    background: #f1da36;
    background: -moz-linear-gradient(top, #f1da36 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1da36), color-stop(100%,#ffffff));
    background: -webkit-linear-gradient(top, #f1da36 0%,#ffffff 100%);
    background: -o-linear-gradient(top, #f1da36 0%,#ffffff 100%);
    background: -ms-linear-gradient(top, #f1da36 0%,#ffffff 100%);
    background: linear-gradient(to bottom, #f1da36 0%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1da36', endColorstr='#ffffff',GradientType=0 );
}

/*
-------------------------------------------
Table of Contents
-------------------------------------------
*/
div.toc-filter {
    float: right;
    margin-left: 10px;
    margin-bottom: 5px;
    max-width: 380px;
}

div.toc-filter-content {
    background-color: #F3F3F3;
    border: none;
    padding-left: 0.1em;
    padding-right: 0.1em;
    margin-top: -10px;
}

div.toc-filter * h3 {
    text-align: center;
    font-size: 18px;
}

a.toc-filter-top,
div.toc-filter-back-to-top {
    display: none;
}

/*
-------------------------------------------
Flex Slider
-------------------------------------------
*/
/* Arrow cut-off fix */
.flex-direction-nav a  {
    line-height: 40px;
    color: #fff;
}

/* Disable navigation */
ol.flex-control-paging {
    display: none;
}

.flexslider {
    margin-bottom: 28px !important;
}

/*
-------------------------------------------
Footer bar
-------------------------------------------
*/
#footer-blocks {
    width: 100%;
    max-width: 1200px;
    top: -4px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border-left: 1px solid #fc3;
    border-right: 1px solid #fc3;
    position: relative;
}

#footer-blocks > div {
    margin: 0;
}

#footer-blocks * img {
    vertical-align: top;
}

#footer-bar {
    width: 100%;
    padding: 0 15px;
}

#footer-bar div {
    display: inline-block;
}
