
body {
  background-color: #F7F7F7;
}

.logo img {
  max-width: 180px;
}

.navbar-text {
  font-size: 3.5rem;
  font-style: italic;
  color: black !important;
  text-align: center;
}
.region-navigation {
  display: flex;
  align-items: center;
}

/*  Flexslider config */
.flex-caption {
  width: 100%;
  padding: 2%;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  font-size: 14px;
  line-height: 18px;
}
.bas-flex-image-p {
  margin: 0px;
}
.flex-direction-nav a {
  height: 50px !important;
}
.adaptive-bas-slideshow-0 .flex-caption{
  font-size: 0.8em;
  line-height: normal;
}

/* Headers */
/* h3 {#block-customfooter {
  text-align: center;
  font-size: small;
} */

/* #block-customfooter a {
  color: white;
}
  background-color: #66677E;
  color: white;
  padding: 0.3em;
  border-radius: 5px;
  clear: both;
} */

/* h2.node__title { */


/* Teasers */
.field--name-field-teaser-media-image img {
  border-radius: 5px;
  float: left;
  margin: 0 10px 10px 0;
}
.teaser {
  border-radius: 10px;
  background-color: white;
  padding: 1em;
  margin-bottom: 1em;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.1);
}
.teaser h2 {
  background-color: #66677E;
  padding: 0.3em;
  font-size: 2.0rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-top: 0;
}
.teaser h2 a:link {
  color: white;
}
.teaser h2 a:visited {
  color: white;
}
.teaser h2 a:hover {
  color: white;
}
.teaser h2 a:active {
  color: white;
}
.teaser .field--name-field-doc-date {
  margin-bottom: 0.5em;
}


/* SRS link */
#block-bas-bootstrap3-linktothesrswebsite,
#block-bas-bootstrap3-membershipsecretaryblock-2,
#block-bas-bootstrap3-accountadmin,
.masquerade-block-form {
  margin-top: 1em;
  margin-bottom: 0 !important;
}

/* 'Add to any' social media list buttons */
.addtoany_list {
  line-height: 64px !important;
}

/* Inline images set all of them to 300px wide*/
figure {
  width: 300px;
  margin: 1em;
}
figure figcaption {
  max-width: 300px;
  font-size: 0.8em;
}
figure img {
  width: 300px;
}
/* Images in articles that are not in figure tags */
/* and other exceptions */
article:not(.teaser) img:not(figure .field--name-field-media-image img, .admin-help-page img, .preserve-size) {
  width: 300px;
  margin: 0.5em !important;
} 

/* For tables with class with-borders - add manually on page */
table.with-borders {
  border-collapse: separate !important;
  border-spacing: 5px !important;
}

/* Remove bullets and padding from view lists */
.view ul {
  padding: 0;
}
.view li {
  list-style-type: none
}

/* Ensure block filter form controls resize properly */
@media (min-width: 768px) {
  .form-inline .form-control {
    width: 100% !important
  }
}
/* Ensure that on view filters, apply button is separated from list above it if wrapped */
.view-filters .js-form-submit, .views-exposed-form .js-form-submit {
  margin-bottom: 0.5em;
}
.view-filters .form-type-select, .views-exposed-form .form-type-select  {
  margin-bottom: 0.5em;
}

/* Twitter */
#block-bas-bootstrap3-twitterfeed iframe {
  width: 100% !important;
}

/* PayPal */
.paypal-table form{
  margin: 0;
}
.paypal-table tr,  .paypal-table td{
  border-width: 0;
  text-align: left;
  padding: 0.5em;
}
/* reset width of PayPal spacer image because it is not required */
form[target="paypal"] img {
  width: 1px !important;
}

/* Event stuff */
.event-record {
  background-color: white;
  padding: 0 0 0.3rem 0;
  margin: 0.5rem 0 1.5rem 0;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}
.event-record div.views-field {
  padding: 0 1.0rem;
}
.event-record h2 {
  background-color: #E80000;
  color: white;
  padding: 3.4rem 1.0em 0.3em 0.7em;
  font-size: 2rem;
  background-image: url(/sites/default/files/images/spiral.png);
  background-repeat: repeat-x; 
  background-size: 19px 30px;
}
.event-record h2 a:link{
  color: white;
}
.event-record h2 a:visited{
  color: white;
}
.event-record h2 a:hover{
  color: white;
}
.event-record h2 a:active{
  color: white;
}
.event-image {
  width: 150px;
}
.node--type-event h3 {
  background-color: white;
  color: black;
}
.node--type-event h1 {
  font-size: 1.8rem;
}
.event-image, .field-node-field-event-image .field-type-image {
  float: right;
  margin: 0 0 10px 10px;
}

/* Library */
.library-record {
  background-color: white;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}

/* Video stuff */
/*Enables nice responsive sizing for embedded youtube iframe */
/* .videoWrapper {
	position: relative;
	padding-bottom: 56.25%; 
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
} */
/*Remove videos from teaser body text*/
.node--view-mode-teaser .field-node--body .videoWrapper{
  display: none;
}

/* Various */
h2.node__title  a:link,  h2.node__title  a:hover, h2.node__title  a:active, h2.node__title  a:visited{
  color: white;
}

.search-result__title  a:link,  .search-result__title  a:hover, .search-result__title  a:active, .search-result__title  a:visited{
  color: white;
}

.node--type-library h3 {
   background-color: white;
   color: black;
}

.node--type-library h1 {
  font-size: 1.8rem;
}

.three-col-image-view .node__title {
  font-size: 1rem;
  font-weight: bold;
}

.views-field-field-lib-pdf-file img {
  width: 20px;
  margin: 0 5px;
}

.views-field-field-lib-web-url img {
  width: 20px;
  margin: 0 5px;
}

.node--type-link h3 {
  background-color: white;
  color: black;
}

.link-record {
  background-color: white;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}

.link-view-icon {
  float: right;
  margin: 5px 5px 0 0;
}

.field-node--field-link-telephone .field__item, .field-node--field-link-email .field__item  {
  margin-right: 1em;
}


.video-view .node__title { 
  font-size: 16px
}

.video-view .node-readmore {
  display: none
}

/* Pad teaswr items in views grid view */
.views-view-grid .views-col {
  padding: 0.5em;
}
.views-view-grid .node-readmore {
 display: none;
}

.views-view-grid article:not(.video) h2 {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}


#block-bas-bootstrap3-newwebsitenotice {
  background-color: #FF990044;
  /* color: white; */
  padding: 0.6rem;
  line-height: 1.4em;
  /* font-size: 1.2em; */
  border-radius: 0.5em;
}

#block-newwebsitenotice {
  background-color: rgb(255,218,185);
  padding: 0.5rem;
  border-radius: 0.5em;
  -webkit-box-shadow: 0 3px 4px 0 rgba(255,218,185,0.4);
  box-shadow: 0 3px 4px 0 rgba(255,218,185,0.4);
}
#block-newwebsitenotice .field {
  margin-bottom: 0px;
}

.bas-register-block {
  background-color: white;
  padding: 0.5rem;
  margin: 0.5rem 0;
  -webkit-box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}

.bas-register-block form {
  margin-bottom: 0.3em;
}

.node--view-mode-teaser figure {
  display: none;
}

.node--type-council-member img {
  float: left;
  max-width: 150px;
  margin-right: 1em;
  margin-bottom: 1em;
}

.field-node--field-council-position {
  font-weight: bold;
}

.views-field-field-council-member-photo {
  width: 180px;
}

.node--type-not-in-roberts .field-name-title {
  display: none;
}
