/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
html {
  font-size: 100%;
}

body {
  padding-bottom: 40px;
  color: #5a5a5a;
  font-size: 100%;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

.navbar-brand {
  font-weight:bold;
  text-shadow: 1px 1px 4px #000;
  font-size: x-large;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

div.gallery {
	width: 100% !important;
	display: inline-block;
	position: relative;
	margin: auto;
	background-color: #CCC;
}

div.gallery-contents > .row a.thumbnail {
	background-color: #FFF;
	margin: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

div.gallery-contents > .row a.thumbnail > img {
	height: 100%;
}

div.gallery-contents > .row > .thumbnail-container {
  padding-top: 66.67%;
  position: relative;
  width: 100%;
}

div.gallery:after {
	padding-top: 50%;
	display: block;
	content: '';	
}

div.gallery > div {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;	
}

div.gallery div.gallery-contents {
	overflow: auto;
	padding-right: 0px;
	padding-left: 0px;
  height: 100%;
}

div.gallery div.gallery-contents .row {
	margin: 0 auto;
}

div.gallery div.gallery-body {
	padding-left: 3px;
	padding-right: 3px;
  height: 100%;
}

/* Carousel base class */
div.gallery div.gallery-body > div.carousel {
  margin-bottom: 0px;
  height: 100%;
  position: relative;
}

div.gallery div.gallery-body > div.carousel .carousel-inner
{
  height: 100%;
  overflow: none;
}

.carousel .carousel-control {
	background: transparent;
	background-image: none;
}

div.gallery div.gallery-body > div.carousel .carousel-control .glyphicon {
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

div.gallery div.gallery-body > div.carousel .carousel-control.left .glyphicon.glyphicon-chevron-left {
  left: 20px;
  content: url('../images/prevArrow.svg');
}

div.gallery div.gallery-body > div.carousel .carousel-control.right .glyphicon.glyphicon-chevron-right {
  right: 20px;
  content: url('../images/prevArrow.svg');
  transform: scale(-1,1);
}

div.gallery div.gallery-body > div.carousel .carousel-inner .item {
  	background-color: transparent;
	max-height: 100%;
	max-width: 100%;
	overflow: hidden;
	height: 100%;
}

div.gallery div.gallery-body > div.carousel .carousel-caption h1 {
	text-align: left;
	text-shadow: 3px 2px 1px  #000;
}

div.gallery div.gallery-body > div.carousel .carousel-caption p {
	text-align: left;
	text-shadow: 2px 2px 1px  #000;
}

div.gallery div.gallery-body > div.carousel .carousel-inner .item .container {
	max-height: 100%;
	max-width: 100%;
	height: 100%;
}

div.gallery div.gallery-body > div.carousel .carousel-inner .item img {
	position: absolute;
	max-height: 100%;
	max-width: 100%;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 0;
	right: 0;
	background-color: #FFF;
	padding: 4px;
}

div.gallery div.gallery-body > div.carousel .fullscreenSymbol {
  position: absolute;
  top: 5px;
  right: 5px;
  color: white;
  font-size: 2em;
  opacity: 0.6;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
  -webkit-text-stroke: 1px black;
}

div.gallery div.gallery-body > div.carousel .fullscreenSymbol:hover {
  opacity: 1.0;
  text-decoration: none;
}

/* ---------- Header Gallery ------------- */

#headerCarousel {
	margin: 0 auto;
	width: 80%;
	height: 250px;
	margin-bottom: 10px;
}

.glow {
	-webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, .75);
	-moz-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, .75);
	box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, .75);
}

.glow-small {
	-webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, .75);
	-moz-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, .75);
	box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, .75);
}

/* Since positioning the image, we need to help out the caption */
#headerCarousel .carousel-caption {
	margin: 0 auto;
	left: auto;
	right: auto;
	bottom: 0px;
	text-align: left;
	text-shadow: 2px 2px 8px  #000;
	z-index: 10;
 	overflow: hidden;
	padding-left: 20px;
}

#headerCarousel .carousel-caption h1 {
  font-size: 72px;
  font-weight:bold;
   /*white-space: auto;*/
}

#headerCarousel .carousel-caption p {
  font-size: 26px;
  letter-spacing: 4px;
}

/* Declare heights because of positioning of img element */
#headerCarousel > .carousel-inner .item {
  height: 250px;
  background-color: transparent;
}

#headerCarousel > .carousel-inner > .item > .container > img {
  position: absolute;
  bottom: 0;
  right: 0;
}

#fullContainer {
	margin: 0 auto;
	width: 80% !important;
}

.navbar-content-width {
	width: 80%;
}

@media (max-width: 1199px) {
	#fullContainer {
		width: 100% !important;
	}
	
	.navbar-content-width {
		width: 100%;
	}
	
	#headerCarousel {
		width: 100%;
	}
}

#fullContainer hr {
	color: #000;
	border-color: #FFA663;
	width: 100%;
	border-width: 2px;
}

@media (min-width: 768px) {
	ul.dropdown-menu {
		max-height: 500px;
		overflow: auto;	
	}
}

@media (min-width: 768px) {
	ul.dropdown-menu {
		max-height: 500px;
		overflow: auto;	
	}
}

.jumbotron {
	background-color: transparent;
	color: #000;
	padding-bottom: 5px;
	padding-top: 5px;
	margin-bottom: 5px;
}

.jumbotron p {
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.jumbotron .row .col-lg-3 h2 {
	margin-top: 0px;	
}

a.thumbnail {
	margin-bottom: 2px !important;	
}

.arrow {
	 display: block;
    margin-left: auto;
    margin-right: auto;	
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 767px) {
	#headerCarousel .carousel-caption p {
		font-size: 20px;
		letter-spacing: 4px;
	}
  
  #headerCarousel .carousel-caption h1 {
    font-size: 50px;
  }	
	
	div.gallery div.gallery-body > div.carousel .carousel-caption {
		display: none;
	}
}

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 0px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
  .featurette-heading {
    margin-top: 120px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

@media (min-width: 1200px) {
   .collapse {
       display: none !important;
   }
}

/* remove border of top navbar */
.navbar-fixed-top {
  border: none;
  border-radius: 0;
}

/* cookie message */
.cookieMessage {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 15px;
  background-color: #666666;
  z-index: 2000;
  color: white;
}

.cookieMessage > div {
  display: inline-block;
}

.cookieMessage > .btn {
  display: inline-block;
  margin-left: 15px;
}

/* fading bottom */
.fading-bottom {
  height: 30px;
  z-index: 0;
  position: absolute;
  width: 100%;
  background-image: linear-gradient(to top, #eeeeee 0%, rgba(0,0,0,0.0));
  bottom: 0;
}

.event-element {
  height: 450px;
  margin-bottom: 15px;
}

.event-element h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.event-element .row .caption {
  padding: 8px;
}

.event-element > .thumbnail {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-element > .thumbnail > .caption.text { 
  position: relative;
  flex-grow: 1;
  overflow: hidden; 
}

a.bottom-right-more {
  font-weight: bold;
}

.thumbnail > .row {
  margin-right: 5px;
  margin-left: 5px;
}