
/* logo size and alignment */
#mainNav .navbar-brand img {
  height: 28px;
  position: relative;
  bottom: +6px;
}

@media (min-width: 992px) {
  #mainNav .navbar-brand img {
    height: 32px;
  }
  .element { padding: 20px !important; }/* Override the plugin's rule */
}

/* portfolio grid size to 4 columns instead of 3 columns */
/*
@media (min-width: 768px) {
  .portfolio-grid .mix {
    width: 23%;
    margin: 1%;
  }
}
*/

/* portfolio carousel text centered instead of left */
@media (min-width: 768px) {
  .portfolio-carousel .item {
    text-align: center;
  }
}

/* fonts */
body {
  font-weight: 300;
  font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
li,
p {
  font-size: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lucida Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  text-transform: none;
}

/* don't use default red color for contact email address */
#contact a:not(:hover) {
  color: #212529;
}
/* styles for dialog window */
.portfolio-dialog {
  background: white;
  padding: 20px 30px;
  text-align: left;
  max-width: 1600px;
  margin: 40px auto;
  position: relative;
}

/* carousel left/right buttons */
.owl-carousel.owl-theme .owl-controls .owl-prev {
  left: -40px;
}
.owl-carousel.owl-theme .owl-controls .owl-next {
  right: -40px;
}

/* modal carousel caption with translucent background */
@media (min-aspect-ratio: 1/1) {
  .carousel-caption-bg {
    position: static;
    bottom: 0;
    left: 0;
  }
}
@media (max-width: 320px) {
  .carousel-caption-bg {
    padding: 0px 5px !important;
  }
  .carousel-caption-bg span.caption-centered {
    font-size: 14px !important;
  }
}

.carousel-caption-bg {
  width: 100%;
  height: 100px;
  line-height: 100px;
  padding: 0px 20px;
  background: rgba(0,0,0,.8);
}
.carousel-caption-bg span.caption-centered {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  font-size: 18px;
}

.shadow5 {
  text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black;
}

