/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template/modern-business)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */
body {
  padding-top: 56px;
  min-height: 100vh;
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}

.transparent{
  opacity: 0;
}

.card-exp {
  transition: transform 0.2s ease;
  box-shadow: 0 4px 6px 0 rgba(22, 22, 26, 0.18);
  border-radius: 0;
  border: 0;
  margin-bottom: 1.5em;
}

.card-exp:hover {
  transform: scale(1.05);
}

.bg-udel {
  background-color: #00539f;
}

.color-udel {
  color: #00539f;
}

#color-udel {
  color: #00539f;
  background: rgba(255,255,255,0.5);
  border-radius: 10%;
}

.icon-udel{
  height: 35px;
}

.btn-udel {
  color: #fff;
  background-color: #00539f;
  border-color: #00539f;
}

.btn-udel:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-udel:focus, .btn-udel.focus {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-udel.disabled, .btn-udel:disabled {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-udel:not(:disabled):not(.disabled):active, .btn-udel:not(:disabled):not(.disabled).active,
.show > .btn-udel.dropdown-toggle {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
}

.btn-udel:not(:disabled):not(.disabled):active:focus, .btn-udel:not(:disabled):not(.disabled).active:focus,
.show > .btn-udel.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.icon-udel-footer{
  height: 48px;
}

.mobile{
  display: none;
}

.desktop{
  display: block;
}

.title {
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px
}

.content {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.content .content-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s
}

.content:hover{
  transform: scale(1.05);
}
.content:hover .content-overlay {
  opacity: 1
}

.content-image {
  width: 100%
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s
}

.content:hover .content-details {
  top: 50%;
  left: 50%;
  opacity: 1
}

.content-details h3 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase
}

.content-details h5 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
}
.fadeIn-bottom {
  top: 80%
}

.caption{
  font-size: 0.8rem;
}

.gallery-box {
  padding-top: 30px;
}

.gallery-box img {
  cursor: pointer;
}

#myModal .modal-dialog {
  max-width: 90%;
  margin: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  margin: auto;
  border-radius: 0;
}

#myModal img,
#myModal video{
  margin: auto;
  max-width: 90%;
  max-height: 95%;
  object-fit: contain;
  display: block;
}

.modal-header .close{
  color: white;
}

#myModal figcaption{
  color: white;
}

#myModal{
  background-color: rgba(0, 0, 0, 0.5)
}

#myModal .modal-content{
  background-color: black;
}

#myModal .modal-body{
  height: 90%;
}

#myModal .modal-header, 
#myModal .modal-footer{
  border: 0;
}

#myModal ol.carousel-indicators {
  position: absolute;
  bottom: -50px;
  margin: 0;
  left: 0;
  right: 0;
  width: 60%;
  margin: auto;
}

#myModal .carousel-control-next,
#myModal .carousel-control-prev{
  height: 50%;
  margin: auto;
}

.carousel-gallery .carousel-inner {
  padding-bottom: 50px;
}

.carousel-gallery .carousel-indicators li{
  background-color: #5a6268;
}

.navbar {
  border-bottom: 2px solid #FFD339;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.95);
}


@media only screen and (max-width: 768px) and (orientation: portrait) {

  .mobile{
    display: block;
  }

  .desktop{
    display: none;
  }

  #carouselExampleControls .carousel-control-prev{
    top: 40%;
    left: 30px;
  }
  
  #carouselExampleControls .carousel-control-next{
    top: 40%;
    right: 30px;
  }

  #myModal ol.carousel-indicators {
    position: absolute;
    bottom: 80px;
    width: 50%;
    margin: auto;
  }

  #myModal img,
  #myModal video{
    margin-top: 35px;
    max-width: 90%;
    max-height: 250px;
  }

  #myModal .modal-content {
    height: 75%;
    min-height: 300px;
    top: 0;
  }

  #myModal .modal-footer button{
    position: absolute;
    bottom: 10px;
  }
}

@media only screen and (max-width: 768px) and (orientation: landscape) {

  .mobile{
    display: block;
  }

  .desktop{
    display: none;
  }

  .carousel-gallery .carousel-inner {
    padding-bottom: 0px;
  }

  #myModal, #myModal .modal-dialog,
  #myModal .modal-content,
  #myModal #myCarousel {
    max-height: 100vh;
  }

  #myModal ol.carousel-indicators {
    position: absolute;
    bottom: 80px;
    width: 50%;
    margin: auto;
  }

  #myModal figcaption{
    font-size: 0.5rem;
  }

  #myModal img,
  #myModal video{
    max-width: 90%;
    max-height: 175px;
  }

  #myModal .modal-content {
    height: 80%;
    min-height: 300px;
    top: 0;
  }

  #myModal .modal-footer button{
    position: absolute;
    bottom: 10px;
  }

  #myModal .carousel-control-next,
  #myModal .carousel-control-prev{
    height: 15%;
    margin-top: 10%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 950px){
  .mobile{
    display: none;
  }

  .desktop{
    display: block;
  }
}

@media only screen and (min-width: 950px) and (max-width: 1200px){
  .mobile{
    display: block;
  }

  .desktop{
    display: none;
  }
}