.link-html {
    min-height: 100%;
}

.link-body {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 100%;
}

.overlay-mobile {
  display: none;
}

@media (min-width: 992px) {
  .link-body-mobile {
  	max-width: 500px;
    margin: 0 auto;
  }

  .link-container-mobile {
  	min-height: calc(100vh - 50px);
    margin: 25px 0;
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,.2);
    overflow: hidden;
    position: relative;
  }

  .overlay-mobile {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.1);
    display: block;
  }
}

.link-video-background {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.link-content {
    padding: 25px 25px 60px;
}

.link-image {
    width: 125px;
    height: 125px;
    object-fit: contain;
}

.link-verified {
    border: 2px solid #608aff;
    border-radius: 50rem;
    padding: .25rem .4rem;
    background: white;
    color: #608aff;
    font-weight: bold;
}

.link-btn {
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    padding: 1rem 4.5rem;
    font-size: 1rem;
    box-shadow: none !important;
    transition: opacity 0.3s, background 0.3s;
    border-radius: 0;
    text-transform: none;
    font-family: 'Red Hat Display';
    letter-spacing: 0;
    line-height: 1.4;
}

.link-btn:hover {
    animation: none;
}

.link-btn-straight {
    border-radius: 0;
}

.link-btn-round {
    border-radius: 50px;
}

.link-btn-rounded {
    border-radius: .3rem;
}

.link-avatar-straight {
    border-radius: 0;
}

.link-avatar-round {
    border-radius: 50rem;
}

.link-avatar-rounded {
    border-radius: .3rem;
}

.link-hover-animation {
    transition: transform 0.3s;
}

.link-hover-animation:hover {
    transform: scale(1.025);
}

.link-btn-image-wrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-width: 45px;
    max-height: 45px;
    position: absolute;
    top: 50%;
    margin-top: -22.5px;
    margin-left: -4.1rem;
}

.link-grid-image-wrapper {
    position: relative;
    height: 10rem;
    width: 100%;
    background: var(--primary-100);
    border-radius: .25rem;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

@media (min-width: 992px) {
    .link-grid-image-wrapper {
        height: 20rem;
    }
}

.link-grid-image-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    background: rgba(0, 0, 0, .25);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .25rem 1rem;
}

.link-grid-image-overlay-text {
    color: white;
    font-size: 1.1rem;
}

.link-btn-image {
    width: 100%;
    height: auto;
}

.link-external-item-image {
    width: 100%;
    height: auto;
    max-height: 10rem;
    object-fit: cover;
}

.link-iframe-round {
    border-radius: .3rem;
    overflow:hidden;
    position:relative;
}

.link-round {
    border-radius: .3rem;
}

#links > .row > div:target {
    transform: scale(1.05);
}

/* Review */
.link-review-image {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50rem;
    object-fit: cover;
}

/* Image slider */
.link-image-slider-image {
    object-fit: cover;
}

/* Faq block */
.link-faq button {
    font-size: 1.1rem;
}

/* Footer */
.link-footer {
  margin: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0px;
  border-top: 1px solid rgba(0,0,0,.35);
  padding: 15px 20px;
  background: #fff;
  text-align: center;
}

.link-footer.mobile-foo {
  max-width: 500px;
  position: absolute !important;
}

@media (max-width: 520px) {
  .link-footer.mobile-foo {
    max-width: 520px;
    position: fixed !important;
  }
}

.link-footer-branding {
    color: #8a949d;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
}

/* Modals */
.modal-header {
    padding: 1rem;
    border-bottom: 0;
}

.modal-subheader {
    padding: 0 1rem;
    border-bottom: 0;
    margin: 0;
}

.modal-content {
    padding: 1rem;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

/* Other default overrides */
form .btn-primary {
    transition: all .3s ease-in-out;
}

form .btn-primary, form .btn-primary:hover, form .btn-primary:focus, form .btn-primary:active {
    background: black !important;
    border-color: black !important;
    box-shadow: none !important;
}

form .btn-primary:hover, form .btn-primary:focus {
    opacity: .85;
}

form .btn-primary:active {
    opacity: .75;
}
