* {
  font-family: 'Quicksand';
}

body {
  min-height: 100vh;
  margin-bottom: 26px;
  background-image: url(../img/bg_4.jpg);
  /*background-repeat: no-repeat;*/
  background-size: 300px;
}

.col {
  justify-content: center;
}

.container-fluid {
  padding: 0;
}

.navbar-toggler,
a {
  color: #fefefe;
}

a:visited {
  text-decoration: none !important;
}

a:hover,
a:active {
  color: rgb(51, 0, 51);
}

/* h5 {
  margin-left: .5rem;
  margin-right: .5rem;
} */

button:focus {
  outline: none;
}

.fa-linkedin-square {
  color: #fff;
  font-size: 3rem;
}

#icon {
  text-align: center;
}

#content {
  padding-right: 0;
  padding-left: 0;
}

.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}

#centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

.img-fluid,
.img-ctr,
.img-smaller,
.img-slide {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

#portrait {
  border-radius: 50%;
  border: solid 1px darkgray;
  max-width: 300px;
  height: auto;
  display: block;
  margin: auto;
}

.card-block,
#top,
#middle {
  background-color: transparent;
  border-radius: 0;
  border: 0;
}

#left,
#right {
  margin-right: 3%;
  margin-left: 3%;
}

.card {
  background-color: rgba(255, 255, 255, 0.6);
}

.profile {
  padding: 2rem;
  max-width: 680px;
  margin: auto;
}

/*! Navigation customization*/

.nav-sidebar li {
  width: 100%;
  display: block;
  text-align: center;
  line-height: 1;
}

.nav-link {
  display: block;
  color: #666;
  text-decoration: none;
  padding: 1em 0 1em 0;
  border-bottom: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.8)
}

.text-muted{
  color: #9cd2bf !important;
}

.nav-link.active {
  background: linear-gradient(#f3f3f3, #e6e6e6);
  /*color: #79988d;*/
  border-bottom: 2px solid #9cd2bf;
  color: #67ba9d
}

.nav-link:hover,
.nav-link:focus {
  border-bottom: 2px solid #9cd2bf;
  background-color: #d6ece4;
  color: #666
}

.nav-sidebar li:hover,
.nav-sidebar li:focus {
  /*background: #00cc99;*/
}

li.active {
/*background: #009999;*/
}

.nav-link.active {
 /*color: #009999;*/
}

/*! Carousel Element customization*/
.carousel-inner {
  overflow-y: visible;
  justify-content: center;
}

.carousel-item {
  background-color: rgba(255, 255, 255, 0.3);
}

.text,
.carousel-caption {
  font-size: .8rem;
  background-color: rgba(255, 255, 255, 0.5);
  padding-top: .5rem;
  padding-bottom: 1rem;
  padding-left: 2.2rem;
  padding-right: 1rem;
}

.text {
  height: 100%;
}

.carousel-caption {
  position: relative;
  color: black;
  text-align: left;
  text-shadow: none;
  right: 0;
  left: 0;
  bottom: 0;
}

.sidebar-header,
.carousel-header {
  color: white;
  width: 100%;
  background: linear-gradient(#222, rgb(51, 0, 51));
  background: -webkit-linear-gradient(#222, rgb(51, 0, 51));
}

.carousel-header {
  display: -webkit-flex;
  display: flex;
  align-items: center;
    /* height: 7vh; */
  justify-content: space-between;
  padding: 5px 0
}

.sidebar-header {
  display: block;
  margin: auto;
  padding: 1rem .5rem;
  text-align: center;
  color: white;
  text-transform: uppercase;
}

.icon-prev,
.icon-next {
  font-size: 1.5rem;
  padding: 2%;
  opacity: .5;
  color: #fff;
}
 .icon-prev {
   margin-right: 5px
 }

 .icon-next {
   margin-left: 5px
 }

.icon-prev:hover, .icon-prev:focus,
.icon-next:hover, .icon-next:focus {
  opacity: 1;
  color: #fff;
  text-decoration: none;
}

.carousel-indicators {
      /*position: absolute;*/
      margin-bottom: -26px;
      bottom: 0;
}

.carousel-indicators li {
  text-indent: 0;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 0;
  line-height: 1.5rem;
  color: #555;
  transition: all 0.25s ease;
}

.carousel-indicators .active {
  margin: 0;
  width: 1.5em;
  height: 1.5em;
  color: #fff;
  background-color: #111;
  box-shadow: none;
}

.carousel-img-wrapper {
  background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
  h5 {
    margin-top: 0.5rem !important;
  }
}


@media (min-width: 992px) {

  body {
    margin-bottom: 0;
  }

/*  .row.no-gutters {
    height: 100vh;
  }
*/
  .img-smaller {
    max-width: 300px;
    max-height: 100%;
    display: inline-block;
    vertical-align: middle;
  }

  .img-ctr,
  .img-slide {
    max-height: 100%;
    width: auto;
    vertical-align: middle;
  }

  .img-ctr {
    display: block;
    margin: auto;
  }


  .img-slide {
  display: inline-block;
  max-height: 100%;
  width: auto;
  }


  .carousel-img-wrapper-too,
  .carousel-img-wrapper {
    vertical-align: middle;
    margin: auto;
    height: 93vh;
    object-fit: contain;
  }

  .carousel-img-wrapper {
    width: 100%;
  }

  .carousel-img-wrapper-smaller {
    width: 80% !important;
  }

  .carousel-indicators {
  top: 12vh;
  margin-left: 0;
  left: 0;
  margin-bottom: 0 !important;
  }

  .carousel-indicators li {
  display: block;
  }

  .carousel-caption-long,
  .carousel-caption {
    position: absolute !important;
    top: 7vh !important;
    left: 80% !important;
    right: 0 !important;
    padding: 1rem !important;
    overflow: ellipsis;
  }

  .carousel-caption {
    height: 93vh !important;
  }

  .carousel-caption-long {
    height: auto !important;
  }

  #right::before,
  #left::after {
    width: 0;
    height: 0;
    content: '';
    border-style: solid;
    position: absolute;

  }

  #left::after {
    border-width: 1rem 2rem 2rem 0;
    border-color: transparent transparent rgba(255, 255, 255, 0.6) transparent;
    position: absolute;
    left: 100%;
    top: 30%;
  }

  #right::before {
    border-color: transparent rgba(255, 255, 255, 0.6) transparent transparent;
    border-width: 0 2rem 2rem 1rem;
    bottom: 30%;
    left: -3rem;
  }
}

@media (min-width: 1200px) {
  .img-smaller {
    max-width: 100%,
  }

/* Product page header customization */
#product.carousel-header {
    justify-content: center
}

#product.carousel-header a {
    display: none;
}
