body{
  color: #202020;
  hyphens: auto;
}

main {
  padding-bottom: 55px;
}

.small-header {  
  padding-top: 3rem;
}

.lead {
  text-align: justify;
}

/* ============== Links ============== */
.text-link {
  text-decoration: none;
  color: black;
  font-weight: bolder;
}

.text-link:hover
{
	color:#BB510F;
  text-decoration: none;
}

/* ============== Carousel ============== */

.carousel-background-darkened {  
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.carousel-caption {
  bottom: 3rem;
  text-align: left;
  padding: 10px 50px;
  z-index: 10;
  background-color: rgba(20, 20, 20, 0.5);
}

header.masthead {
  height: 100vh;
  min-height: 40rem;
}

.carousel-item > img,
.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
	text-transform: uppercase;
}

.btn-primary {
    color: #fff;
    background-color: #D35B11;
    border-color: #D35B11;
}

.btn-primary:hover {
    color: #fff;
    background-color: #BB510F;
    border-color: #BB510F;
}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
}


.info-carousel {
  height: 350px;
}


/* ============== Header ============== */

.sidehead {
  position: relative;
}

.header-image {
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 400px;
  border-bottom: 2px solid #D35B11;
}

@media (min-height: 650px) {
  .header-image {
    height: 600px;
  }
}

.header-image-overlay {
  width: 100%;
  height: 100%;  
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.header-caption {
  font-size: 3.5rem;
}

 .nav-link {
   text-transform: uppercase;
 }

.navbar-nav .nav-item .nav-link {
  font-weight: 700;
  color: #ddd;
  font-size: 0.95rem;
  letter-spacing: 0.0625em;
}

.navbar-nav .nav-item .nav-link.active, .navbar-nav .nav-item .nav-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#mainNav {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border: none;
  background-color: transparent;
  transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
}
#mainNav .navbar-brand {
  font-size: 1.5em;
  transition: font-size 0.3s ease-in-out;
}
#mainNav .navbar-brand img {
  height: 4rem;
  transition: height 0.3s ease-in-out;
}
#mainNav.navbar-shrink,
#mainNav.navbar-simple {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  background-color: #202020;
  border-bottom: 2px solid #D35B11;
}
#mainNav.navbar-shrink .navbar-brand,
#mainNav.navbar-simple .navbar-brand {
  font-size: 1.25em;
}

#mainNav.navbar-shrink .navbar-brand svg,
#mainNav.navbar-shrink .navbar-brand img,
#mainNav.navbar-simple .navbar-brand svg,
#mainNav.navbar-simple .navbar-brand img {
  height: 2.3rem;
}
#mainNav .navbar-nav .nav-item {
  margin-right: 1rem;
}
#mainNav .navbar-nav .nav-item:last-child {
  margin-right: 0;
}

@media screen and ( min-width: 1000px ) and ( min-height: 800px ) {
  .sticky-footer {
    position: fixed;
    bottom: 0px; 
  }
}

footer {
  color: #ddd;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  background-color: #202020;
  border-top: 2px solid #D35B11;
  z-index: 100;
}

#footerNav {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

footer > .nav-item {
  flex-direction: row;
  border: red;
}


.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
  border-radius: .75rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
}
.icon-link > .bi {
  margin-top: .125rem;
  margin-left: .125rem;
  transition: transform .25s ease-in-out;
  fill: currentColor;
}
.icon-link:hover > .bi {
  transform: translate(.25rem);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: .75rem;
}

.rounded-4 { border-radius: .5rem; }
.rounded-5 { border-radius: 1rem; }

.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
.text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
.text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}



/* ============== Flip Box ============== */

.flip-box-inner {
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateX(180deg);
}

.flip-box-front, .flip-box-back {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.flip-box-back {
  transform: rotateX(180deg);
}


/* ============== Info Box Images Labels ============== */
.info-text-label {
  display: inline-block;
}

.small-info-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 7px 0px 7px 20px ;
}

.medium-info-text {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 15px 0px 15px 30px ;
}

.big-info-text {
  font-size: 2.0rem;
  font-weight: 400;
  margin: 15px 0px 15px 30px ;
}

.info-text-label-highlight {
  color: #D35B11;
  display: inline-block;
}

.news-date-label {
  text-align: right;
  margin: 5px;
  font-weight: 600;
}

/* ============ Zooming for images ==============  */
.zoomable {
  transition: transform .2s; /* Animation */
}

.zoomable:hover {
  transform: scale(1.7); 
}

.click-zoomable input[type=checkbox] {
  display: none;
}

.click-zoomable img {
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.click-zoomable input[type=checkbox]:checked~img {
  cursor: zoom-out;
  transform: scale(2.0);
}