/**
 * NRD: Styling for Drupal Views.
 */

/* Default styling for views pages */
.views-row h2 a { color: black; }

.views-view-page-template .views-row .views-field {
}
.views-view-page-template .views-row .views-field .views-label {
  display: inline-block;
  min-width: 13%;
  font-weight: bold;
  font-family: 'MuseoSlab-500';
}
.views-view-page-template .views-row h2.views-field-title {
  font-family: 'MuseoSlab-300';
  margin-top: 0;
  margin-bottom: 0;
}
.views-view-page-template .views-row h3.views-field-title {
  font-family: 'MuseoSlab-300';
  margin-top: 0;
  margin-bottom: 0;
}
.views-view-page-template .views-row h4.views-field-title {
  font-family: 'MuseoSlab-300';
  margin-top: 0;
  margin-bottom: 0;
}

/* Utility classes for promoted content in views listings (footer usually) */
.region-content .view .view-footer {
}

.region-content .views-row .field .field-label {
  font-family: 'MuseoSlab-500';
  
  min-width: 13%;
  display: inline-block;  
}

.region-content .views-row .field .promoted-listing,
.region-content .views-row .field .spotlight-listing,
.region-content .views-row .field .crc-listing {
  font-size: 0.33em;

  background: #faff8c; /* @critical_color_yellow */
  color: #383a00; /* #darken(@critical_color_yellow,66%) */

  border: none;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border-radius: 4px;
  padding: 4px;
}

.region-content .views-row section.promoted-listing,
.region-content .views-row section.spotlight-listing {
  background-color: #faf9f8; /* light_gray */
  border: 1px solid #e5e3e4; /* darkened_light_gray */
}
.region-content .views-row section.crc-listing {
  background-color: #faf9f8; /* light_gray */
  border: 1px solid #e5e3e4; /* darkened_light_gray */
}
/* Listpage Community Events */
.view-listpage-community-events .sticky-listing {
  background-color: #faf9f8; /* light_gray */
  border: 1px solid #e5e3e4; /* darkened_light_gray */
}

.view-listpage-community-events .field-lead-photo {
  margin-left: 1em;
  border: 1px solid #e5e3e4; /* darkened_light_gray */
}

/* img fields in view rows. */
.region-content .views-row .field-content .img-thumbnail {
  border: 1px solid #e5e3e4; /* darkened_light_gray */
  padding: 4px;
}

.views-row .field-intro .field-content {
  font-size: 1.1em;
  padding: 0.5em 0;
}

/**
 * Topic Section content.
 */

/* Zebra striping for subsections */
.region-content .view-field-collection-view-subsection .views-row-odd {
}
/* Make subsections stand out a little as "children" */
.region-content .views-field-field-subsection-title {
  border-bottom: 1px solid #e7e6e5;
}
.region-content .views-field-field-subsection-body {
  margin-top: 1em;
  margin-left: 2%;
  margin-right: 2%
}


/**
 * Views admin / editing
 */
body.not-logged-in .views-field-edit-link,
body.not-logged-in .views-field-delete-link {
  display: none !important;
}


/**
 * Carousel (almost always implemented via Views Bootstrap module on this site).
 */
.carousel {
	/* margin: 0 auto 60px; */
	/* padding: 0 80px; */
	/* padding: 0 100px; */
	/* width: 1160px; */
  margin: 0 auto 1em;
  width: 100%;
}
.carousel-inner {
  box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.5);
}

.carousel .item {
  text-align: center;
  overflow: hidden;
}
.carousel .item h4 {
	font-family: 'Varela Round', sans-serif;
}
.carousel .item img {
	/* max-width: 100%; */
	width: 100%;

	display: inline-block;
}
.carousel .item .btn {
	border-radius: 0;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	border: none;
	background: #8c3232;
	padding: 6px 15px;
	margin-top: 5px;
}
.carousel .item .btn:hover {
	background: #8c5bff;
}
.carousel .item .btn i {
	font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}
.carousel .thumb-wrapper {
	margin: 5px;
	text-align: center;
  background: #fff;
  /* box-shadow: 0px 2px 6px rgba(0,0,0,0.1); */
  box-shadow: 0px 2px 6px rgba(0,0,0,0.5);
  opacity: 0.9;
}
.carousel .thumb-content {
	padding: 0 15px 15px 15px;
	font-size: 13px;
	line-height: 175%;
}
.carousel .carousel-control {
	height: 50px;
	width: 50px;
	background: rgba(0,0,0,0.33);
    margin: auto 0;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.8);
 
  left: none;
  right: 16px;
}
.carousel .carousel-control.left {
  left: 16px;
  right: none;
}

.carousel .carousel-control i {
    font-size: 36px;
    position: absolute;
    top: 50%;
    display: inline-block;
    margin: -18px 0 0 0;
    z-index: 5;
    left: 0;
    right: 0;
    color: rgba(0, 0, 0, 0.8);
	text-shadow: none;
    font-weight: bold;
}
.carousel .carousel-control.left i {
	margin-left: -3px;
}
.carousel .carousel-control.right i {
	margin-right: -3px;
}
.carousel .carousel-indicators {
	bottom: -50px;
}
.carousel-indicators li, .carousel-indicators li.active {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: 4px;
	border-color: transparent;
}
.carousel-indicators li {	
	background: #ababab;
}
.carousel-indicators li.active {	
	background: #555;
}

.views-bootstrap-carousel-plugin-style .item .carousel-global-custom-text {
  position: absolute;
  bottom: 0%;
  width: 100%;
  
  padding: 5px 20px 20px 20px;
  background-color: rgba(0,0,0,0.33);
}
.views-bootstrap-carousel-plugin-style .item .carousel-global-custom-text .field-title {
  text-shadow: 1px 1px 3px #000,1px 1px 12px #000;
  font-size: 48px;
  font-weight: 300;
  color: #fff;
}
.views-bootstrap-carousel-plugin-style .item .carousel-global-custom-text .field-body {
  text-shadow: 1px 1px 3px #000,1px 1px 12px #000;
  font-size: 24px;
  font-weight: 100;
  color: #fff;
}

@media(max-width: 769px) {

  .views-bootstrap-carousel-plugin-style .item .carousel-global-custom-text {
    position: initial;
    bottom: unset;
    overflow: hidden;
    height: 200px;
    background-color: rgba(0,0,0,0.5);
  }
  .views-bootstrap-carousel-plugin-style .item .carousel-global-custom-text .field-title {
    font-size: 24px;
  }
  .views-bootstrap-carousel-plugin-style .item .carousel-global-custom-text .field-body {
    font-size: 14px;
    line-height: 135%;
  }

}

