/*
 *
 */
html {
    height: 100%;
}
body {
    padding-top: 66px;
    height: 100%; /* footer test */
    display: flex;
    flex-direction: column;
}

.body-content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

div.hero-image {
    position: relative;
    top: 0px;
    width: 100%;
    height: 320px;
    background-size: cover;
    overflow: hidden;
}

div.hero-image img.site-logo {
    position: relative;
    top: 16px;
    left: 24px;
    overflow: hidden;
    z-index: 2000;
}

.pbv-navbar {
    opacity: 100%;
}

.pbv-navbar .nav-link {
    color: cornflowerblue !important;
}

.pbv-navbar .navbar-brand img.site-logo {
    height: 40px;
    width: 52px;
    display: inline-block !important;
    margin-right: 8px;
}


div.footer {
    border-top: 1px solid white;
    background: midnightblue;
    min-height: 72px;
    width: 100%;
}

div.footer .copyright {
    color: cornflowerblue;
    font-size: 10pt;
    text-align: center;
}

div.footer a {
    color: cornflowerblue;
}

ul.link-list {
    list-style: none;
}

div.footer ul.link-list {
    padding-top: 12px;
}

div.footer ul.link-list li {
    padding: 0.5rem 0;
    list-style: none;
}

div.footer .social {
    padding: 8px;
    text-align: center;
}

div.footer .social a {
    padding: 0 12px;
    color: cornflowerblue;
    text-align: center;
    font-size: 2em;
}

div.footer .social a:hover {
    color: royalblue;
}

.card {
    padding: 0 !important;
}

.card .card-title {
    padding: 16px 16px 0 16px;
}

.card .card-text {
    padding: 8px 16px 16px 16px;
    background-color: white;
    flex-grow: 1;
}


.bg-pbv-rides {
    background-color: rgb(255, 190, 113);
    border-color: rgb(255, 190, 113);
}

.bg-pbv-rides-muted {
    background-color: rgba(255, 190, 113, 0.50);
    margin-bottom: 56px;
}

.bg-pbv-rides-muted .btn-light {
    background-color: rgb(255, 190, 113);
    border-color: rgb(255, 190, 113);
}

.bg-ragbrai {
    background-color: rgb(252, 118, 46);
    border-color: rgb(252, 118, 46);
}

.bg-ragbrai-muted {
    background-color: rgba(252, 118, 46, 0.50);
    margin-bottom: 56px;
}

.bg-ragbrai-muted .btn-light {
    background-color: rgb(252, 118, 46);
    border-color: rgb(252, 118, 46);
}

.bg-other-rides {
    background-color: rgb(120, 203, 164);
    border-color: rgb(120, 203, 164); /*(0, 123, 66);*/
}

.bg-other-rides-muted {
    background-color: rgba(120, 203, 164, 0.5);
    border-color: rgba(120, 203, 164, 0.5);
    margin-bottom: 56px;
}

.bg-other-rides-muted .btn-light {
    background-color: rgb(120, 203, 164);
    border-color: rgb(120, 203, 164);
}

.bg-custom {
    background-color: rgb(255, 111, 121);
    border-color: rgb(255, 111, 121);
}

.bg-custom-muted {
    background-color: rgba(255, 111, 121, 0.5);
    border-color: rgba(255, 111, 121, 0.5);
    margin-bottom: 56px;
}

.bg-custom-muted .btn-light {
    background-color: rgb(255, 111, 121);
    border-color: rgb(255, 111, 121);
}

.bg-about {
    background-color: #6495ed;
    border-color: #6495ed;
}

.bg-about-muted {
    background-color: #6495ed80;
    border-color: #6495ed80;
    margin-bottom: 56px;
}

.bg-about-muted .btn-light {
    background-color: #6495ed;
    border-color: #6495ed;
}

a.card {
    color: black;
    margin: 4px;
}

a.card:hover {
    text-decoration: none;
}

.homepage-section {
    padding-top: 66px;
    padding-bottom: 56px;
    margin-bottom: 56px;
}

.navbar-brand a {
    color: black;
}

a {
    color: black;
}

a:hover {
    text-decoration: none;
}

.emailUpdate-container {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    pading: 0;
}


/**
 * Styles for background images (hero-images) and background video
 */
.video-container {
    overflow: hidden;
    position: relative;
}

.video-container .overlay {
    min-width: 100%;
    min-height: 100%;
    background-image: linear-gradient(transparent, 90%, white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Make the iframe keep an aspect ratio, and
position it in the middle of its parent wrapper*/

.iframe-wrapper iframe,
.video-container video {
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.iframe-wrapper iframe,
.video-container video {
    width: 100%;
    min-height: 100%;
    min-width: 100%;
}

@media (min-width: 992px) {

    div.hero-image {
        top: -66px;
        height: 540px;
    }

    .pbv-navbar {
        opacity: 75%;
    }
}

.ride-teaser {
    padding-bottom: 2rem
}

.ride-teaser .ride-title {
    font-weight: bold;
    font-size: 120%;
}

.ride-teaser .ride-description {

}

td.data-rideSponsor {
    text-align: center;
    padding:0;
}

.numeric {
    text-align: right;
}

/* ------------------ *
 * Registration Form  *
 * ------------------ */

.registration-select-services-header {

}

.registration-service-group-heading {
    margin-top: 1em;
}

.registration-service-price-detail {
    text-align: right;
    font-size: 14pt;
}

.page-event-services {}
.page-event-services h2 {
    padding: 0.25em;
    margin-top: 66px;
}

.rich-content-block {

}

.rich-content-block img {
    max-width: 100%;
    height: auto;
}


.ui-widget {
    background-color: #ffffff;
}

.ui-widget-content {
    background: #ffffff;
}

.ui-dialog-buttonpane {
    background: #ddd;
}

.ui-dialog-nooverflow .ui-dialog-content {
    overflow: hidden;
}
.ui-dialog-titlebar-close {
    position: absolute;
    right: 3px;
    height: 24px;
    width: 20px;
}
.ui-dialog-titlebar-close:after {
    content: 'X' !important;
    position: absolute;
    top: -2px;
    right: 3px;
}
