/* Bottom absolute navbar, then fixed-top HOMEPAGE */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 25;
}

.home .navbar {
  position: absolute;
  bottom: 0;
  top: auto;
  width: 100%;
  z-index: 25;
  opacity: 0.98;
}

.home .navbar.fixed-top {
  position: fixed;
  top: 0;
  bottom: auto;
  z-index: 25;
}

.navbar-brand>img {
  height: 50px;
}

/* VIDEO BACKGROUND ON HOMEPAGE */
.home header {
  position: relative;
  height: 99vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.home header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.home header .container {
  position: relative;
  opacity: .61;
  z-index: 2;
}

.home header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

.home header .home-logo {
  width: 128px;
}

.home .go-down-indic {
    display: inline-block;
    z-index: 35;
    position: absolute;
    bottom: 66px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
}

/* Gallery */
.gallery-block{
  padding-bottom: 60px;
  padding-top: 60px;
}

.gallery-block .heading{
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.cards-gallery h6 {
  font-size: 17px;
  font-weight: bold; 
}

.gallery-block.cards-gallery .card{
  transition: 0.4s ease; 
}

.gallery-block.cards-gallery .card img {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15); 
}

.gallery-block.cards-gallery .card-body {
  text-align: center; 
}

.gallery-block.cards-gallery .card-body p {
  font-size: 15px; 
}

.gallery-block.cards-gallery a {
  color: #212529; 
}

.gallery-block.cards-gallery a:hover {
  text-decoration: none; 
}

.gallery-block.cards-gallery .card {
  margin-bottom: 30px; 
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}
a img:hover{
  -webkit-transition: transform .3s; /* Safari */
  transition: transform .3s;
  -ms-transform: rotate(3deg); /* IE 9 */
  -webkit-transform: rotate(3deg); /* Chrome, Safari, Opera */
  transform: rotate(3deg);
}
/* Homepage buttons */
.jump-right {
  margin-left: 50%;
}

.btn {
  margin-top: 3px;
}

.theme-showcase {
  margin-top: 66px;
}

.theme-showcase ul {
  padding: 0;
  margin: 0 0 40px;
}

.theme-showcase ul li {
  list-style: none;
  margin-bottom: 10px;
}

.theme-showcase .text {
  color: #666;
  font-size: 11px;
  margin-bottom: 10px;
  padding: 12px;
  background: #f1f1f1;
}

.actions {
  position: absolute;
  top: 0;
  right: 18px;
}

body {
  background: url('images/bg-texture.jpg') top left repeat;
  background-size: 230px;
}

.bg-danger,.bg-success {
  padding: 15px;
}
.fourn img {
  width: 100%;
  height: auto;
}

.fourn {
  margin-top: 5px;
}

.well, li {
  color: #313131;
}

.carousel {
  height: 23.9583vw;
  margin: 0;
  z-index: 5;
  margin-top: 66px;
}

.carousel-caption {
  z-index: 10;
}

.carousel-item {
  height: 23.9583vw;
  background-color: #777;
}

.carousel-inner>.carousel-item>img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 23.9583vw;
}

.carousel-indicators {
  opacity: .15;
}
h2.featurette-heading {
  margin-top: 0px;
}
footer.page-footer {
    bottom: 0;
    color: #fff;
  background-color: slategray;
}

footer p {
  color: antiquewhite;
}

footer.page-footer a {
    color: #eadfbe;
}
footer.page-footer a:hover {
    color: #fff;
}
a:hover {
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-decoration: none;
}
footer.page-footer .footer-copyright {
    overflow: hidden;
    background-color: rgba(0,0,0,.2);
    color: rgba(255,255,255,.6);
}
.font-small {
    font-size: .9rem;
}
.btn-floating i {
    font-size: 1.25rem;
    line-height: 47px;
}
.btn-floating i {
    display: inline-block;
    width: inherit;
    text-align: center;
    color: #fff;
}
.btn-fb {
    background-color: #3b5998!important;
    color: #fff!important;
}
.btn-tw {
    background-color: #55acee!important;
    color: #fff!important;
}
.btn-gplus {
    background-color: #dd4b39!important;
    color: #fff!important;
}
.btn-dribbble {
    background-color: #ec4a89!important;
    color: #fff!important;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* HEADER VIDEO REMOVED ON PHONES */
@media screen and (orientation: portrait) {
  header {
    background: url('images/bg.jpg') no-repeat center center scroll;
  background-size: cover;
  }
  header video {
    display: none;
  }
  .home header .home-logo {
    width: 180px;
  }
}

/* Navbar space between links */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 1.0rem;
      padding-left: 1.0rem;
  }
  
  .navbar {
    height: 55px;
  }

  .home .navbar {
    height: 66px;
  }
}

/* Responsive things */
@media (min-width:768px) {
  .theme-showcase {
    margin-top: 115px;
  }
  .carousel {
    margin-top: 0;
  }

  .carousel-indicators {
    opacity: 1;
  }
  .gallery-block .transform-on-hover:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important; 
  }
}