/**
 * Custom styles for UMass Drupal Package: UDP Theme
 *
 * Use this file to provide overrides to the main styles. This file always loads last
 * so you can override anything in the other style-sheets.
 */

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
	color: #555;
 	-webkit-font-smoothing: subpixel-antialiased; /* fixes "font too thin" problem for safari */
 	background: #eee;
	font-family: "Open Sans",Helvetica,Arial,sans-serif;
	font-size: 100%;
} 

#page { background: white; }

/* Site Search */

.search-google-appliance-search-form input[type="text"] { 
  padding: 5px 8px; 
  border: 1px solid #881c1c;
}

#search-block-form input { border: none; }

#block-google-appliance-ga-related-searches { float: none; }

/* Typography */

h1,h2,h3,h4,h5,h6 { 
  font-weight: normal; 
	margin: .4em 0 0;
	line-height: 1.2;
}

h1{font-size:2em;}
h2{font-size:1.6em;}
h3{font-size:1.4em;}
h4{font-size:1.2em;}
h5{font-size:1em;}
h6{font-size:1em;}

h3, h5 { font-weight: bold; }

ul, ol { 
  margin-top: 1em; 
  margin-bottom: 1em;
}

ul ul,
ol ol { margin: 0; }

.article li { line-height: 1.6; }

img[style*="left"]  {margin-right:1em;} /* gives default margins to inline images */
img[style*="right"] {margin-left:1em;}

/* Header */

#header-wrapper .container { padding: 0; }

/* Branding */

#branding a { border: none; }

/* Logo */

#logo {	padding-top: 1em; }

/* Site Name */

#site-name { 
  font-size: 3em;
	line-height: inherit;
	padding: 0.7em 0 0.3em;
	letter-spacing: -0.01em;
	line-height: 1;
	-webkit-font-smoothing: subpixel-antialiased; /* fixes "font too thin" problem */
}

#site-name a {
  font-weight: bold;
}

#site-name a:hover { 
  text-decoration: none; 
  color: black;

}

/* Page Title */

#page-title { 
	margin: 0; 
	padding: 0; 
}

/* Print Link */

.print-link { padding-bottom: 0; }


/* Sidebar content */

.region-sidebar-second { font-size: .9em; }

.sidebar img { /* make these fill the sidebar if large enough */
	height: auto !important;
	max-width: 100% !important;
}

/* Social Media block */

.region-tertiary-content,
#tertiary-content-wrapper .block,
#tertiary-content-wrapper .block-content-inner { padding: 0; }

.on-the-web  { 
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
	font-size: 1.6em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	margin-right: .3em;
	position: relative;
	top: .5em;
	left: .5em;
}
.on-the-web a { 
	text-indent: -9999px; 
	display: block;
	position: relative;
	top: -1em;
}

.on-the-web a:hover { border: none; }

.otw-twitter:before {
  content: "\f099";
  color: #00A0D1;
}
.otw-facebook:before {
  content: "\f082";
  color: #3B5998;
}
.otw-linkedin:before {
  content: "\f0e1";
  color: #4875B4;
}
.otw-pinterest:before {
  content: "\f0d2";
  color: #910101;
}
.otw-youtube:before {
  content: "\f16a";
  color: #C4302B;
}
.otw-instagram:before {
  content: "\f16d";
  color: #4B85B7;
}

/* Footer */

footer p { text-align: left; }

#umass-footer p { 
	text-align: center; 
	font-size: .9em; 
  color: white;
}

/* Links */

a:hover,
a.active:hover,
a:focus,
a.active:focus {
}

.nav a:hover,
.nav a.active:hover,
.nav a:focus,
.nav a.active:focus {
	border-bottom: none;
}

.print_html a,
.print_mail a { font-size: .9em; }

/* Feature panel */

.region-featured-content { padding-top: 15px; }


/* Menu Blocks */

.block-menu-block .block-content-inner { padding: 0; }


.menu-block-wrapper ul { 
	margin: 0; 
}

.menu-block-wrapper ul li { 
	list-style: none;
	list-style-image: none;
} 

.menu-block-wrapper ul li.last { border: none; }

.block .menu-block-wrapper ul li a { 
	display: block;
	padding: .5em 10px;
	color: black;
	letter-spacing: .02em;
	border: none;
	border-radius: 4px;
	line-height: 1.2;
}

.menu-block-wrapper ul li a:hover {
	text-shadow: 0 1px 1px white;
	background: gainsboro;
	color: #881c1c;
}


.menu-block-wrapper ul li a.active { 
	color: #881c1c;
}
	
/* Responsive Menus */

.responsive-menus-simple #rm-removed,
.responsive-menus.responsified span.toggler { box-shadow: 0 1px 2px #666 !important; }

.responsive-menus.responsified span.toggler {
	background-color: #881c1c;
	box-shadow: none;
	border: 1px solid #722;
}

#menu-bar .responsified, #menu-bar .responsified li { margin: 0;
}

.responsive-menus.responsified .responsive-menus-simple li a {
	padding: .2em 5%;
	border: inherit;
	text-align: inherit;
	text-transform: none;
	color: black;
	border-radius: 0 !important;
}

.responsive-menus.responsified .responsive-menus-simple li a:hover { color: #881c1c; }


/* Forms */

.form-submit {
	color: #444444;
	font-weight: bold;
	padding: 1px 10px 2px;
	text-shadow: 0 1px 1px #FFFFFF;
}

/* Form Element Resets */

input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border: 1px solid silver;
  box-shadow: 0px 0px 0.1em #7F7F7F inset;
  border-radius: 0;
  margin: 0px;
  padding: 0.25em;
  min-height: 1em;
  max-width: 100%;
  line-height: normal;
}

input.form-submit, input.form-text { border-radius: 0; }

input[type="submit"],
input[type="reset"] {
  max-width: 100%;
  font-size: 1em;
  border: 0;
  margin: 0;
  padding: 0.25em 1em;
  display: inline-block;
  min-height: 1em;
  background: linear-gradient(to bottom, #EEE 0%, #CCC 100%) repeat scroll 0% 0% transparent;
  }

input[type="submit"]:hover,
input[type="reset"]:hover {
  box-shadow: 0px 0px 1em #999 inset;
  background: linear-gradient(to bottom, #EEE 0%, #CCC 100%) repeat scroll 0% 0% transparent;
}

input[type="radio"],
input[type="checkbox"] { box-shadow:none; }

select.date-clear {
background-color:#fff;
}

/* Unpublished nodes */

.node-unpublished { background: url(images/unpublished.png) no-repeat left bottom ; height: 200px; }


/* flexslider overrides */

.flexslider { 
	margin-bottom: 30px; 
	float: left;
}

.flex-caption { 
	background-color: rgba(136, 28, 28, 0.5);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	padding: 1%;
	position: absolute;
	bottom: 0;
	width: 100%;
	color: white;
/* 	font-size: .9em; */
  text-align: right;
}

.flex-caption h2 { 
	font-size: 1.4em; 
	text-decoration: none;
}

.flex-caption p { margin: 0; }

.flex-caption a {	color: white; }

.flex-caption a:hover {}

.flex-control-nav li:hover a, 
.flex-control-nav li a.active {
	background-color: #881c1c;
}

.flexslider .flex-caption.Left { text-align: left; }

.flexslider .flex-caption h2 {
	color: white; 
	margin-bottom: 0; 
}

.flexslider .flex-caption a:link,
.flexslider .flex-caption a:visited { 
	font-weight: bold; 
	color: white;
	border-bottom: 1px solid;
}

/* colorbox */

.article .field-type-image {
	float: inherit;
	margin: 0;
}

figure.field-item { 
	float: left; 
	margin-right: 10px; }

figure.field-item .colorbox img { border: 1px solid silver; }

/* profiles */

.view-profiles .views-row, 
.view-profiles-taxonomy .views-row { 
	border-bottom: 1px solid silver;
	margin-bottom: 1em;
	padding-bottom: 1em;
}

.view-profiles .views-row-last,
.view-profiles-taxonomy .views-row-last { 
	border: none;
}

.views-field-field-profile-image { 
	float: left; 
	margin-right: 1em; 
}

/* full calendar */

.fullcalendar.fc { font-size: .8em; }

.fc-header-title h2 {
	margin: 0;
	font-size: 1.4em;
}

.fc-event-default, 
.fc-event-default .fc-event-inner, 
.fc-event-skin, 
.fc-event-default .fc-event-time, 
.fc-event-default a { 
	background: whitesmoke;
	color: black; 
	border: none !important; 
}

.fc-content a:link, .fc-content a:visited { color: black; }

.fc-content .fc-event { 
	padding: 3px;
	border-radius: 6px;
	box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.05);
	border: 1px solid #dcc;
}

.fc-event-vert .fc-event-bg { opacity: 0.2; }

.fc-event-time { 
	display: block;
	color: #881c1c !important;
	font-size: 1.1em !important;
}

.section-calendar #cboxOverlay { opacity: .2 !important; }

.section-calendar #colorbox {
	border: 1px solid #CCCCCC;
	border-radius: 3px;
	box-shadow: 0 5px 5px 0 #C0C0C0;
}

.section-calendar #colorbox h1#page-title { 
	font-size: 1.6em; 
	color: #881c1c;
}

.section-calendar h2 { font-size: 1.3em; }

.fullcalendar .ui-state-highlight { 
 	background: whitesmoke; 
	border: 1px dotted #881c1c;
}

.fullcalendar .ui-state-highlight .fc-day-number {
	color: #881c1c;
	font-weight: bold;
	font-size: 1.6em;
}

.fc-agenda-slots td { background: url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") repeat-x scroll 50% top #EEEEEE; /* fixes display error */ }

.view-calendar .views-exposed-form {
	float: right;
	font-size: 0.7em;
	margin-top: -50px;
	width: 50%;
}

.view-calendar .views-exposed-widget {
  float: right;
  padding: .5em 0 0 1em;
}

/* mini calendar block */

.mini-calendar .view-calendar .view-filters,
.mini-calendar .view-calendar .fc-header-right { display: none; }

.mini-calendar .fc-event-time, .mini-calendar .fc-event-title { font-size: smaller; }

.mini-calendar .fc-view-month a.fc-event { 
	background: #881c1c; 
	border: none;
	box-shadow: none;
	padding: 5px;
}

.mini-calendar .fc-view-month a.fc-event span { display: none; }

.mini-calendar .fc-header-center { font-size: .8em; }

.mini-calendar .fc-agenda-axis {
    width: 20px !important;
    font-size: .7em;
}

.mini-calendar .fc-button-content {
    padding: 0;
}


/* event list */

.view-event-calendar p { font-size: .9em; }

.view-event-calendar .views-row-last { margin-bottom: 1.5em; }

.upcoming-plain { 
	padding: .5em 1em;
	border-left: 4px solid silver;
	border-radius: 4px;
	margin-bottom: 1em;
	background-color: whitesmoke;
}

.upcoming-plain:hover { 
	border-color: #881c1c;
}

.ui-widget-content a { color: #881c1c; }
.ui-widget-content a:hover { border-bottom: 1px solid; }


/* admin menu overrides */

#admin-menu { box-shadow: none; }

/* jquery.ui.theme.css overrides */

.ui-widget { transition: all 0.5s ease; }
.ui-widget a { border: none; }
.ui-accordion .ui-accordion-header { padding: 0; }
.ui-accordion .ui-accordion-content { 
	padding: 1em; 
	font-size: .9em;
}


/**
* Image replacement
* Kellum Method: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement
* Additional helpers from http://html5boilerplate.com/docs/css/
*/
.ir {
  /* Kellum Method */
  display: block !important;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  /* Additional helpers */
  border: 0; /* Remove the default border from elements like button */
  font: 0/0 a; /* Crush the text down to take up no space */
  text-shadow: none; /* Remove any text shadows */
  color: transparent; /* Hide any residual text in Safari 4 and any mobile devices that may need it */
  background-color: transparent; /* Hide the default background color on elements like button */
}

/* Sweaver */

#tab-sweaver_plugin_editor { display: none; } /* hides blank "styles" tab in sweaver interface */ 

/**
 * Background Colors for UDP theme
 */

#page { background-color: #edeeee; }

#umass-banner { 
	background-color: #881c1c;
/* 	border-color: gray;  */
}

#header-wrapper {
  background-color: #dcdddd;
}
#nav-wrapper {
  background-color: #dcdddd;
}
#breadcrumb-wrapper {
  background-color: #edeeee;
}
#messages-help-wrapper {
  background-color: #edeeee;
}
#featured-content-wrapper {
  background-color: #ddd; /* fallback for browsers that don't support CSS gradients */
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dddddd), to(#aaaaaa));
  background-image: -moz-linear-gradient(-90deg, #dddddd, #aaaaaa);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#dddddd', endColorstr='#aaaaaa')";
  filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr=#dddddd,endColorstr=#aaaaaa,GradientType=0);
}

#featured-content-wrapper, #featured-content-wrapper .image-overlay,
#secondary-content-wrapper, #secondary-content-wrapper .image-overlay { min-height: 0; }

#featured-content-wrapper div.container,
#secondary-content-wrapper div.container { 
	background: none rgba(255, 255, 255, 0.33);
	padding: 0; 
}

#content-wrapper {
  background-color: #feffff;
}

#secondary-content-wrapper,
#tertiary-content-wrapper {
  background-color: #f3f3f3;
  border-top: 1px solid #ededed;
}
#quadpanel-wrapper {
  background-color: #edeeee;
}

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

/* HTML elements */
blockquote {
  background: #fdfdff;
  border-left: 5px solid #ededed;
}

hr {
  border-bottom-color: #ededed;
  border-left: 0;
  border-right: 0;
}

/* Links */
a:link,
a:visited,
a:active,
a.active {
  color: #881c1c;
}
a:hover,
a:focus {
  color: #000000;
}

/* Tables */
tr.even {
  background: #ffffff;
}

/* Header */
#site-name a { color: #881c1c; }

#site-slogan { color: #777; }

.nav li a:link,
.nav li a:visited {
  color: #333;
  background: #ddd;
}

.nav li a:hover,
.nav li a:focus,
.nav li a:active,
.nav li a.active,
.nav li a:visited:hover,
.nav li.active-trail a {
  color: #881c1c;
  background: #eee;
  text-decoration: none;
}

/* Footer */
#footer,
#footer a {
  color: #ffffff;
}
#footer #block-node-recent {
  color: #444;
}
#footer #block-node-recent a {
  color: #2888c1;
}

/* Sidebar */
.sidebar {
  background: #feffff;
}

/* Blocks */
.block .block-inner {
  background: transparent;
}
.block-title {
  background: #fefefe;
  color: #5d5d5d;
  border: 1px solid #ededed;
  border-bottom: 0 none;
}
#block-node-syndicate .block-title {
  border-bottom: 1px solid #ededed;
}
.block-content {
  background: #fdfdff;
  border: 1px solid #ededed;
}
.block-quicktabs > .block-inner  {
  background: #fdfdff;
  border: 1px solid #ededed;
}
#main-content .block-content {
  border: 0;
  background: #feffff;
}
.block .article,
.block .article-sticky {
}
#footer-wrapper .block-title,
#footer-wrapper a {
  color: #ffffff;
}

/* Region blocks */
.block-menu a,
.block .item-list a {
  color: #000000;
}

/* Local task tabs */
ul.primary li a {
  background: #ffffff;
  border: solid 1px #ededed;
  font-weight: 700;
}
ul.primary li a:hover {
  background: #ffffff;
  border: solid 1px #ededed;
}
ul.primary li a.active,
ul.primary li.active a {
  border: solid 1px #ededed;
  background: #ededed;
  color: #000000;
}
ul.primary li a.active:hover,
ul.primary li a.active:focus {
  border: solid 1px #eb5ac3;
  background: #ededed;
  color: #000000;
}
ul.secondary li {
  border-right: 0;
  line-height: 2em;
  margin: 0 0 0.5em;
  padding: 0 1em 0 0;
}