/**
 * Custom styles for umpress
 *
 * 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.
 */

/* Body */

body { background: #e3dcd5; }

#page-wrapper {
    max-width: 1280px;
    box-shadow: 6px 0px 10px -7px #888, -6px 0px 10px -7px #888;
    margin: 0px auto;
    background: #FFF none repeat scroll 0% 0%;
}

/* Typography -- see http://csswizardry.com/2012/02/pragmatic-practical-font-sizing-in-css/ */

h1,h2,h3,h4,h5,h6,
ul,ol,dl,
fieldset,
p,
table,
pre,
hr{
    margin: 0;
    margin-bottom:12px;
    margin-bottom:.75rem;
    font-weight: normal;
}

h1,h2 { font-weight: bold; }

h1 { color: #881c1c; }

h1,.alpha{
    font-size:30px;
    font-size:1.875rem; /* 30px */
    line-height:1.2;    /* 36px */
}
h2,.beta{
    font-size:24px;
    font-size:1.5rem;   /* 24px */
    line-height:1;      /* 24px */
}
h3,.gamma{
    font-size:20px;
    font-size:1.25rem;  /* 20px */
    line-height:1.2;    /* 24px */
}
h4,.delta{
    font-size:18px;
    font-size:1.125rem; /* 18px */
    line-height:1.333;  /* 24px */
}
h5,.epsilon{
    font-size:16px;
    font-size:1rem;     /* 16px */
    line-height:1.5;    /* 24px */
}
h6,.zeta{
    font-size:16px;
    font-size:1rem;     /* 16px */
    line-height:1.5;    /* 24px */
}

small,.milli {
    font-size:12px;
    font-size:0.75rem;  /* 12px */
    line-height:2;      /* 24px */
}

p { margin: auto auto 1.5em; }

strong { font-weight: bold; }
em { font-style: italic; }

a { text-decoration: none; }

a:link,
a:visited { color: #881c1c; }

a:hover,
a:focus {
  text-decoration: underline;
  color: black;
  border: none;
}

/* Layout */

.ds-2col-fluid > .group-left {
    float: left;
    width: 75%;
}

.ds-2col-fluid > .group-right {
    float: right;
    width: 25%;
}

#columns { padding-top: 1.5em; }

/* Front Page */

.view-featured-titles .views-row {
  float: left;
  margin-right: 1em;
  min-height: 20em;
}

/* Menu Block Overrides */

.menu-block-wrapper ul.menu li a.active-trail, /* ADD THIS RULE TO /MASTER */
.menu-block-wrapper ul.menu li a.active { font-weight: bold; }

.menu-block-wrapper ul.menu li.menu-depth-2 a { padding: 0; }

/* Site Search */

#search-block-form input[type="search"] { 
  max-width: 9.5em; 
  width: 66%;
}

/* Book Nodes */

.node-content > div { margin-bottom: .5em; }

.node-content .field-name-field-subtitle {
  font-size: 1.4em;
  font-variant: small-caps;
  padding-top: .5em;
  border-top: 1px solid gainsboro;
  margin-bottom: 0;
}


.node-content .field-name-field-tagline {  
  font-size: 1.1em;
  font-style: italic;
  padding-bottom: .5em;
  border-bottom: 1px solid gainsboro; 
}

.node-content .field-name-field-byline-main { 
  font-size: .9em;
  text-transform: uppercase; 
}

.node-content .horizontal-tabs { margin: 2em 0; }

.node-content .horizontal-tabs .horizontal-tabs-pane { padding: 1em; }

.node-content .horizontal-tabs ul.horizontal-tabs-list li a { border-bottom: 1px solid transparent; }

.region-highlighted .block { margin: 0; }
.section-title .single-column { display: none; }

section.field ul { padding: 0; }

section.field li { 
  display: inline-block;
  list-style: none;
  background: none;
  margin-right: 1em;
}

.sharethis-buttons { 
  box-sizing: content-box; 
  margin-top: 1em;
}

#__GBS_Button0 img { border: none; }

.section-title .region-sidebar-first { font-size: .9em; }

.section-title .region-sidebar-first span:not(.date-display-single) { font-weight: bold; }
 
.section-title .region-sidebar-first .field-content { display: inline; }

.button {
	position: relative;
  margin-top: 1em;
}

.button a {
	display: block;
	background: #888;
	color: #fff;
	padding: .4em .8em .4em 2.2em;
	border-radius: 1em;
}

.plus:after,
.search:after {
  content: '+';
  font-size: 1em;
  position: absolute;
  width: 1.5em;
  height: 1.5em;
  background: #333;
  border-radius: 1em;
  left: 5px;
  top: 5px;
  color:#fff;
  text-align: center;
  line-height: 1.3;
}

.search:after { content: '\00BB' }

/* News Nodes */

.views-field-field-image,
.node-story.article figure { 
  float: left; 
  margin-right: 1em;
}

/* News View */

.view-News-Events-Feed-View .views-row {
  margin: 1em 0;
  padding: 1em 0;
  border-top: 1px solid gainsboro;
}

.view-News-Events-Feed-View .views-row-first { border: none; }

/* Newsletter signup */

#mc_embed_signup {
  background: #eee;
  padding: 1em;
  text-align: center;
}
#mc_embed_signup input[type="email"] {
  text-align: center; 
  margin: .5em 0 0;
}

#mc_embed_signup input[type="submit"] { width: 100%; }

/* Social Media */

.socialmedia img { max-width: 2.2em; }

.socialmedia ul {
  padding-top: 1em; 
}
 
.socialmedia ul li {
 list-style-type: none;
 float: left;
 padding-right: 1em;
}
 
.socialmedia ul li a i {
  color: white; 
  border-radius: 5px; 
 width: 36px;
 height: 36px;
 font-size: 25px;
 text-align: center;
 padding-top: 15%;
}


.fa-facebook { background: #3b5998; } 

.fa-twitter { background:#00aced; }



/* Footer */

#footer { font-size: 90%; }

#footer .four-4x25 > .panel-row > .region.region-four-fourth, /* Move block temporarily right */
#footer .four-4x25 > .panel-row.row-2 { float: right; }

#footer .row-1,
#footer .row-1 p { text-align: right; }

#footer .block-title { 
  font-size: 1.3em;
  font-weight: 400;
  color: white;
}

#footer ul { 
  text-align: left; 
  padding: 0;
  margin: 0;
}

#footer li {
  list-style: none;
  background: none;
  line-height: inherit;
}

/* Browse Books */

.attachment { font-size: .9em; }

/* Flexslider overrides */

.flexslider { 
  border: 1px solid #C0C0C0;
  padding: 0.5em;
  border-radius: 0;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
}

.flexslider .flex-caption.red     { background: url(images/red-bg.jpg); } 
.flexslider .flex-caption.purple  { background: url(images/purple-bg.jpg); }
.flexslider .flex-caption.gray    { background: url(images/gray-bg.jpg); }
.flexslider .flex-caption.blue    { background: url(images/blue-bg.jpg); }
.flexslider .flex-caption.green   { background: url(images/green-bg.jpg); }
.flexslider .flex-caption.beige   { background: url(images/beige-bg.jpg); }


.flexslider .views-field-field-featured-image {
  display: block;
  max-width: 50%;
}

.flexslider .flex-caption {
  width: 50%;
  height: 100%;
  padding: 1.5em 3em;
  right: 0;
  bottom: 0%;

}

.flexslider .flex-caption h2 { 
  margin-top: 0;
  font-size: 2.3em; 
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
}

.flexslider .flex-caption h2 a:link { border: none; color: #dbd3ba !important; }

.flexslider .flex-caption h3 { 
  color: #ece9d4; 
  font-weight: normal;
  line-height: 1.3;
  margin-top: .5em;
}

.flexslider .flex-caption p { margin-bottom: .75em; }

.flexslider .flex-caption p a { 
  color: white !important;   
  font-weight: normal !important;
  border: none !important;
  text-decoration: underline;
}

.flexslider .flex-caption a.views-more-link { 
  text-decoration: none; 
  border: none;
}

.flexslider .flex-caption a.views-more-link:hover { text-decoration: underline; }

.flexslider .flex-control-nav { 
  padding: 0; 
  bottom: 5%;
  right: 5%;
  width: 10%;
  z-index: 20;
}

.flex-control-paging li a { background: white; opacity: .5; }

.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active { background: white; opacity: 1; }


a.imagelink:hover { border: none; }


/* Catalog page */

.not-front .view-catalogs .views-row {
  width: 44%;
  margin-right: 6%;
  float: left;
  min-height: 20em;
}

/* Custom CSS */

.responsive-menus.responsified .responsive-menus-simple li a { text-transform: capitalize; }

.flex-direction-nav a { height: 50px; }

li.menu-depth-3 a { background: inherit; }

article a { text-decoration: underline; }
article a:hover { text-decoration: none; }

table img { max-width: inherit; padding: 0 !important; }


