html {
    overflow-y: scroll;
    position: relative;
    min-height: 100%;
}

p {
    line-height: 1.6;
}

.jumbotron {
    text-shadow: 0.1rem 0.1rem 0.2rem #000000;
}

.jumbotron-image {
    filter: drop-shadow(0.1rem 0.1rem 0.2rem #000000);
}

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

/* fix modal display with overflow-y: scroll on html */
.modal, .modal-open {
    padding-right: 0 !important;
}

.navbar-toggle {
    margin-left: 0.9rem;
    float: left;
    margin-right: 0;
}

/* fix title tooltips when using .stretched-link */
.above-stretched-link {
    z-index: 1;
    position: relative;
}

/* for square images */
.embed-responsive .card-img-top {
    object-fit: cover;
}

/* for responsive card-decks */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row.equal-height > [class*='col-'] .card {
    flex: 1;
}

/* definition lists */
dl.inline dd {
    display: inline;
    margin: 0;
}

dl.inline dd:after {
    display: block;
    content: '';
}

dl.inline dt {
    display: inline-block;
}

dl.inline dt:after {
    content: ":";
}

/* Fix display of error messages on forms. See: https://github.com/twbs/bootstrap/issues/23454 */
.invalid-feedback {
    display: block;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: inherit;
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-item.active {
    color: var(--light);
}

.breadcrumb-item > a {
    color: var(--secondary);
}

/* Fix display of select2 dropdowns when used in collapsible bootstrap elements */
.select2-container,
.select2-container li:only-child,
.select2-container input:placeholder-shown {
  width: 100% !important;
}

.console {
    background-color: var(--gray-dark);
    color: var(--light);
}

ul.socialaccount_providers {
    list-style-type: none;
    padding: 0;
}

ul.socialaccount_providers > li {
    min-width: 19rem;
}

.nav-pills > li > .nav-link {
    color: #000;
}
.nav-pills > li > .nav-link:hover {
    border-radius: 1.2rem;
    color: #000;
    background-color: #ecf0f1;
}
.nav-pills > li > .nav-link.active {
    border-radius: 1.2rem;
}

.nav-tabs > .nav-item > .nav-link {
    color: #000;
    border-top: 0 transparent;
    border-right: 0 transparent;
    border-left: 0 transparent;
    border-bottom: 0.25rem solid transparent;
}

.nav-tabs > .nav-item > .nav-link:hover {
    border: inherit;
    border-bottom: 0.25rem solid #f0f0f0;
}

.nav-tabs > .nav-item > .nav-link.active {
    border: inherit;
    font-weight: bold;
    border-bottom: 0.25rem solid #2c3e50;
}

.challengeDropdown {
    padding: 0;
}

.challengeDropdown > .nav-link {
    color: #000;
}

.challengeDropdown:hover {
    background-color: #f0f0f0;
}

.phaseButton {
    color: #000;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.phaseButton:focus, .phaseButton:hover {
    box-shadow:none !important;
}

.gc-card {
    border-radius: 0.9rem;
}

.gc-card:hover {
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
}

.gc-card .card-img-top{
    border-top-left-radius: 0.9rem;
    border-top-right-radius: 0.9rem;
}

.carousel-control-next, .carousel-control-prev {
    width: 3rem;
}

.documentation-sidebar {
    top:5rem;
    z-index: 1;
}

.text-truncate-container p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media only screen and (max-width: 768px) {
  .text-truncate-container {
      height: 12rem;
  }
  .text-truncate-container p{
      -webkit-line-clamp: 3;
  }
  .carousel-img-container {
      height: 15rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .carousel-img-container {
        height: 10rem;
    }
    .text-truncate-container {
      height: 10rem;
    }
    .text-truncate-container p {
        -webkit-line-clamp: 3;
    }
}

@media only screen and (min-width: 1200px) {
    .carousel-img-container {
        height: 12rem;
    }
}

.carousel-img {
    object-fit: cover;
}

.thumbnail {
    max-height:90px;
    max-width:90px;
}

.box-shadow {
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .1);
}
