.affix {
    position: fixed;
    top: 0;
    width: 100%
}

.affix + div {
    padding-top: 70px; /* Vertical offset for content when navbar becomes affixed */
}

h1 {
    font-weight: 400;
}

h3 {
    text-transform: inherit;
    font-weight: 400;
}

body, p {
    font-size: 18px;
}

blockquote {
    border: none;
}

#logo-container img {
    width: 100%;
    height: auto;
}

ul.navbar-nav.nav-justified > li {
    float: none;
}

#credentials h4 {
    text-align: center;
}

#credentials div.thumbnail {
    padding: 19px;
}

#credentials div.thumbnail img {
    box-shadow: 0 0 13px 0 rgba(50, 50, 50, 0.40);
    width: 300px;
    height: 200px;
}

#credentials div.thumbnail div.caption h4 {
    margin-bottom: 0;
}

button.close {
    position: absolute;
    top: -9px;
    right: -4px;
    z-index: 10;
    width: 24px;
    height: 25px;
    opacity: 1;
    background: url("../images/btn-close-modal.png");
}

button.close:hover, button.close:focus {
    opacity: 1;
    outline-width: 0;
}

div.bio {
    background-color: #f6f6f6;
    margin-top: 30px;
    padding: 15px;
}

.bio h1 {
    margin-top: 0;
}

.bio h3.bio-title {
    margin-top: 4px;
    margin-bottom: 15px;
}

.bio img.portrait {
    margin-right: 22px;
    margin-top: 8px;
    margin-bottom: 8px;
}

div.testimonial {
    margin-bottom: 28px;
}

/* Responsive sizing for testimonials */
@media (max-width: 479px) {
    .testimonial h3 {
        font-size: 20px;
    }

    .testimonial > img {
        max-width: 80px;

    }
}

.testimonial p.credentials {
    line-height: normal;
    font-style: italic;
    font-weight: 300;
}

.testimonial > img {
    float: left;
    margin-right: 14px;
}

.speech-indicator {
    clear: both;
    display: block;
    margin-top: 10px;
    margin-left: 36px;
}

blockquote.light-gray {
    clear: both;
    overflow: auto;
    background-color: #f6f6f6;
    border-left: 5px solid #ddd;
}

.testimonial blockquote p.testimonial-quote {
    font-size: 24px;
    line-height: 29px;
    color: #00566a;
}

.testimonial blockquote a {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
    text-transform: uppercase;
}

iframe {
    border: none;
    margin-left: auto;
    margin-right: auto;
    min-width: 100%;
   /* min-height: 100%;*/
    frameborder: 0
}

.nccs-video iframe {
    min-width: inherit;
}

/* Responsive sizing for iframe video player */
@media (min-width: 320px) {
    .modal-dialog.modal-lg {
        width: 320px;
        margin-left: auto;
        margin-left: 180px;
        margin-right: auto;
        margin-top: 120px;
    }

    .modal-body {
        min-height: 146px;
    }

    iframe#homepage-video {
        width: 260px;
        height: 146px;
    }
}


@media (min-width: 584px) {
    .modal-dialog.modal-lg {
        width: 320px;
        margin-left: 180px;
        margin-right: auto;
        margin-top: 120px;
    }

    .modal-body {
        min-height: 146px;
    }

    iframe#homepage-video {
        width: 260px;
        height: 146px;
    }
}



@media (min-width: 480px) {
    .modal-dialog.modal-lg {
        width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 180px;
    }

    .modal-body {
        min-height: 225px;
    }

    iframe#homepage-video {
        width: 400px;
        height: 225px;
    }
}

@media (min-width: 768px) {
    .modal-dialog.modal-lg {
        width: 768px;
        margin-top: 220px;
    }

    .modal-body {
        min-height: 432px;
    }

    iframe#homepage-video {
        width: 726px;
        height: 408px;
    }


}

@media (min-width: 992px) {
    .modal-dialog.modal-lg {
        width: 900px;
        margin-top: 300px;
    }

    .modal-body {
        min-height: 480px;
    }

    iframe#homepage-video {
        width: 854px;
        height: 480px;
    }

@media (min-width: 1480px) {
    .modal-dialog.modal-lg {
        margin-top: 400px;
    }
}


footer {
    width: 100%;
    background-color: #002b36;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 60px;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;

}

footer a:link {
    text-decoration: underline;

}

footer p {
    padding-top: 14px;
    font-size: 14px;
}