/**
 * Tweaks to improve the theme
 */
 
body {
  font-family: Open Sans, Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.logo {
  max-width: 350px;
}

footer {
  background-color: #242424;
  padding: 20px 0px 20px 0px;
  color: #e5e5e5;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: Open Sans, Arial, Helvetica, sans-serif;
}

article h1, 
article h2, 
article h3, 
article h4 {
  color: #03865E;
}

.navbar-header h4 {
  color: #ddd;
}

/* headings in article node view top titles only*/
article#content-area > h1 {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

.front article#content-area > h1 {
  border-bottom: none;
  margin: 0;
  padding: 0;
}

h3.title {
  font-size: 18px;
}

.block h2.title {
  margin-top: 0px;
  font-size: 20px;
  text-decoration: underline;
  text-decoration-color: #006e94;
  font-weight: 800;
}

aside .block {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 20px;
}

#user-login-form ul {
  list-style-type: none;
  margin-top: 10px;
  padding-left: 0px;
}

/**
 * Links
 */ 

a, a:link, a:visited {
    color: #006e94;
}

footer a,
footer a:link, 
footer a:visited {
    color: #e5e5e5;
}

a:hover, a:focus, a:active {
    color: #4faece;
}

.glyphicon {
  color: #006e94;
}

.terms {
  padding-bottom: 30px;
}

/**
 * Helpers
 */ 
img {
	max-width: 100%;
	height: auto;
}


.align-r {
  text-align: right;
}


/**
 * Clearfixes
 */
.clear-all {
  clear: both;
}


/* Small devices (phones) */
@media (max-width: 767px) {
  .cf-xs { clear: both; }
  .breadcrumb > li {
    display: inline;
  }

  h2.title {
    font-size: 26px;
  }
}

/* Small devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  .cf-sm { clear: both; }
}
/* Small devices and below (tablets) */
@media (max-width: 991px) {
  .cf-sm-b { clear: both; }
}


/* Medium devices (desktops) */
@media (min-width: 992px) and (max-width: 1199) {
  .cf-md { clear: both; }
}
/* Medium devices and below (desktops) */
@media (max-width: 1199) {
  .cf-md-b { clear: both; }
}


/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cf-lg { clear: both; }
}


/* Footer list inline */
footer .list-inline li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}


.product-sticky {
  background: white;
  height: 50px;
  width: 100%;
  position: sticky;
  top: 0;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
}

@media (max-width: 991px) {
  aside h2 {
    font-size: 20px;
  }
}


/**
 * Block admin links
 */ 
ul, ol {
  padding-left: 20px;
}


/**
 * Block admin links
 */ 
.block {
  position: relative;
}
  .block .admin-links {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
  }
    .block:hover .admin-links {
      display: inline-block;
    }
    
    
/*
 * Tables
 */
table.tablelines {
	border-width: 1px;
	border-spacing: 1px;
	border-style: none;
	border-color: #dddddd;
	border-collapse: collapse;
	background-color: white;
}
table.tablelines th {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: #dddddd;
	background-color: white;
	-moz-border-radius: ;
}
table.tablelines td {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: #dddddd;
	background-color: white;
	-moz-border-radius: ;
}

 
/**
 * Tab tweaks
 */
.nav-tabs,
.nav-pills {
  margin-bottom: 20px;
}
  .nav-tabs.secondary>li>a {
    padding: 5px 10px;
  }
  
  
/**
 * Tables
 */
table th.checkbox,
table td.checkbox {
  margin: 0;
}


/*
 * Google maps
 */
.mapcanvas label { width: auto; display:inline; }
.mapcanvas img { max-width: none; }

 

/**
 * Header
 */
header {
	padding: 10px 0;
}

header .contact-details {
  clear: right
}


/**
 * Nav bar
 */

.navbar {
  z-index: 999;
}

.navbar-default {
  background-color: #03865E;
}

.navbar-default .navbar-nav>li>a {
    color: #e5e5e5;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
  background-color: #047251;
  color: #fff;
}

/* primary links dropdown hover color */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #03865E;
}

.dropdown-menu>.active>a,
.dropdown-menu>li>a.active,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
  color: #fff;
  background-color: #047251;
}

/* primary links dropdown active page hover color */
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: #047251;
}

/* Bootstrap override collapsed menu */
@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #FFF;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    /* color: #333333; */
    color: #FFF;
    background-color: transparent;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555555;
    background-color: #e7e7e7;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
  }

}


/**
 * Primary navigation
 */
#primary-links {
  margin-bottom: 20px;
  border: 0px;
  border-radius: 0px;
}

#primary-links .navbar .navbar-collapse {
  padding: 0px;
 }

#primary-links .navbar .navbar-collapse .navbar-right {
  padding: 0px;
}

#primary-links .navbar .navbar-collapse .navbar-nav {
  margin: 0px;
}

#primary-links .navbar-brand {
  padding-top: 5px;
  padding-bottom: 5px;
 }

#primary-links .navbar-brand img {
  width: auto;
  height: auto;
  max-height: 40px;
  max-width: 240px;
}
    
.navbar-utilities {
  margin-top: 5px;
}

/* nav bar caret colors */
.navbar-default .navbar-nav>.dropdown>a .caret,
.navbar-default .navbar-nav>.dropdown>a:hover .caret {
  border-top-color: #FFF;
  border-bottom-color: #FFF;
}

/**
 * Contact details
 */	      

.contact-details.visible-xs {
  margin-top: -20px;
  margin-bottom: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #f8f8f8;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}
  .contact-details.visible-xs .btn:first-child {
    margin-right: 5px;
  }


/**
 * Mobile nav helper
 */
#m-nav-helper {
  margin-top: -20px;
  padding: 0;
  margin-bottom: 10px;
}
  #m-nav-helper button {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
  }
  #m-nav-helper .breadcrumb {
    margin-bottom: 0;
  }


/**
 * Main content wrapper
 */			
#main {
	margin-bottom: 20px;
}
	
  
/**
 * Jumbotron
 */
.jumbotron {
	margin-top: -20px;
  margin-bottom: 20px;
}


/**
 * Content area
 */
#content-area {
	margin-bottom: 20px;
}


/**
 * Staff directory
 */
#staff-directory {
  margin: 0 -15px;
}
  #staff-directory:after {
    content: "";
    display: table;
    clear: both;
  }
  #staff-directory .profile {
    margin-bottom: 20px;
  }

/**
/* Ubercart - product nodes
*/

#field-group {
}

#price-group {
}

/* Product images */
.product-image a img {
}

.product-image {
  float: left;
  padding:0px 10px 10px 0px;
}

.product-body {
  clear: both;
}

.product-image a:hover img,
.product-image a:focus img {
}

/* Display price on full product nodes */
.full-node .product-group .uc-price-display {
}

.full-node .uc-price-display {
float: left;
text-align: left;
}

.add-to-cart {
float: right;
}

#product-additional-info h1,
#product-additional-info h2 {
  margin-top: 0px;
}

/* Checkout Form Page */

#uc-cart-checkout-form fieldset {
  margin: 20px 0px 20px 0px;
}

fieldset .description {
  padding: 10px 0px 10px 0px;
}

span.form-required {
  color: red;
}

td.views-field-field-image-cache-fid {
  padding: 5px 5px;
}

.view-uc-products table {
  width: 100%;
}

/**
 * Calculators
 */
.tabs.calculator-tabs {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.tabs.calculator-tabs:before,
.tabs.calculator-tabs:after {
  display: table;
  content: " ";
}

.tabs.calculator-tabs:after {
  clear: both;
}

.tabs.calculator-tabs:before,
.tabs.calculator-tabs:after {
  display: table;
  content: " ";
}

.tabs.calculator-tabs:after {
  clear: both;
}

.tabs.calculator-tabs > li {
  position: relative;
  display: block;
}

.tabs.calculator-tabs > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}

.tabs.calculator-tabs > li > a:hover,
.tabs.calculator-tabs > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.tabs.calculator-tabs > li.disabled > a {
  color: #999999;
}

.tabs.calculator-tabs > li.disabled > a:hover,
.tabs.calculator-tabs > li.disabled > a:focus {
  color: #999999;
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}

.tabs.calculator-tabs .open > a,
.tabs.calculator-tabs .open > a:hover,
.tabs.calculator-tabs .open > a:focus {
  background-color: #eeeeee;
  border-color: #428bca;
}
.tabs.calculator-tabs > li {
  float: left;
}

.tabs.calculator-tabs > li > a {
  border-radius: 5px;
}

.tabs.calculator-tabs > li + li {
  margin-left: 2px;
}

.tabs.calculator-tabs > li > a.active,
.tabs.calculator-tabs > li > a.active:hover,
.tabs.calculator-tabs > li > a.active:focus {
  color: #ffffff;
  background-color: #428bca;
}

/**
 * No JS tweaks
 */
html.no-js .no-js {
  display: none;
}
html.no-js .collapse {
  display: block;
}
html.no-js .navbar-toggle {
  display: none;
}

/**
 * Vendome Specific Customizations
 */

.meta {
  padding-bottom: 20px;
}

.river {
  border-top: 1px solid #e5e5e5;
  clear: both;
  margin: 10px 0;
  padding: 10px 0;
}

.river.first {
  border-top: none;
}

.river .btn {
  white-space: normal;
}

.small-river {
  clear: both;
  padding: 5px 0px 5px 0px;
}

.small-river h1,
.small-river h2,
.small-river h3 {
  margin: 0px;
}


.river-label {
  color: #fec012;
  font-size: 18px;
  text-transform: capitalize;
  padding-right: 5px;
  font-weight: 700;
}

.river-img {
  float: left;
  padding-right: 20px;
  padding-top: 10px;
}

.river-teaser {
  padding: 10 0;
}

.river-meta {
  color: #888;
  font-weight: 600;
  font-size: 14px;
}

.submitted {
  padding-bottom: 10px;
  color: #888;
  font-weight: 600;
  font-size: 14px;
}

.block-headshot {
    float: left;
    margin-right: 10px;
}

.current-issue {
  float: left;
  padding-right: 10px;
}

.current-issue-content {
  min-height: 220px;
}

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

.issue-articles ul {
  list-style-type: none;
  padding-left: 0px;
}

.issue-articles h2.title {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 20px;
}

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

/* Magazine issue node.tpl formatting */
.magazine-issues {
    width: 150px;
    height: 245px;
    float: left;
    border: 1px solid #cccccc;
    margin: 11px 11px 11px 0;
    padding: 20px 10px 10px 20px;
}

.more-link a,
a.more-link {
  color: #333;
  font-weight: bold;
}

/* Quiz accordion panel bootstrap overrides and additions */
.panel-group {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* match padding to well-sm class */
.panel-group .panel-heading {
  padding: 10px 9px;
}

.panel-heading h3 {
  margin-top: 10px;
}

.panel-heading a, 
.panel-heading a:link, 
.panel-heading a:visited {
  color: #03865E;
}

.btn-primary {
  color: #fff;
  background-color: #006e94;
  border-color: #045470;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #045470;
  border-color: #045470;
}

/* Premium Content and Model Tool message wrapper, original code from Bootstrap .well */
.premium-message,
.field-field-related-article, 
.field-field-related-model-tool {
  min-height: 20px;
  padding: 9px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.field-field-related-article .field-label,
.field-field-related-model-tool .field-label {
  font-size: 24px;
  color: #C40D3F;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Pagination */
pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
  z-index: 2;
  color: #fff;
  background-color: #006e94;
  border-color: #045470;
  cursor: default;
}

article div.item-list {
  clear: both;
}

/* Search page formatting */
.search-result {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

p.search-snippet strong {
  background-color: #F8F8A2;
}

.search-results p.search-info {
  color: #969696;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

p.search-info {
  color: #808080;
  font-size: 14px;
  margin-bottom: 0px;
}

.block-apachesolr_search .item-list ul {
  list-style: none;
  padding-left: 0px;
}

a.apachesolr-facet {
  margin-left: 5px;
}

a.apachesolr-mlt-admin-link {
  display: none;
}

/* Fontawesome color additions */
.fa-lg { color: #5f6062; }
.fb-blue { color: #4B6DAA; }
.tw-blue { color: #3BBADC; }
.youtube-red { color: #dc2a28; }
.google-red { color: #D6492F; }
.linkedin-blue { color: #006e94; }
.rss-orange { color: #FF7200; }
.pinterest-red { color: #cb2026; }

.calendar-calendar ul {
  padding-left: 0;
  list-style: none;
}

.calendar-calendar ul li {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.contact-us-frame {
  width: 100%;
  border: none;
  height: 540px;
}

@media (max-width: 710px) {
  .contact-us-frame {
    height: 580px;
  }
}

@media (max-width: 510px) {
  .contact-us-frame {
    height: 730px;
  }
}

@media (max-width: 410px) {
  .contact-us-frame {
    height: 800px;
  }
}

@media (max-width: 320px) {
  .contact-us-frame {
    height: 840px;
  }
}

/* Omeda integration */

.teaser {
  display: none;
  position: relative;
}

.teaser:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, hsla(0,0%,100%,0) 0,#fff);
}

.omeda-flashline {
  margin: 0 auto 30px;
  padding: 20px 0 0;
  color: #222;
  font-family: "Retina",Arial,Helvetica,sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.omeda-action-btns {
  display: flex;
  justify-content: center;
  margin: -10px auto 70px;
}

.omeda-btn {
  display: block;
  font-family: "Retina",Arial,Helvetica,sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  line-height: 45px;
  height: 45px;
  border-radius: 2px;
  box-sizing: border-box;
}

.omeda-action-btns .omeda-btn {
  display: block;
  width: 50%;
}

.omeda-btn.omeda-subscribe-btn {
  margin-right: 20px;
  color: #fff;
  background-color: #0274b6;
}

.omeda-btn.omeda-sign-in-btn {
  color: #333;
  background-color: #fff;
  border: 1px solid #0274b6;
}