﻿img {
    max-width: 100%;
    height: auto;
}

/* 
  This is the starting grid for each video with thumbnails 4 across for the largest screen size.
  It's important to use percentages or there may be gaps on the right side of the page. 
  */

.video {
    background: #fff;
    padding-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    width: 100%; /* Thumbnails 4 across */
    margin: 1%;
    float: left;
}

    /* 
   These keep the height of each video thumbnail consistent between YouTube and Vimeo.
   Each can have thumbnail sizes that vary by 1px and are likely break your layout. 
   */

    .video figure {
        height: 0;
        padding-bottom: 56.25%;
        overflow: hidden;
        .video figure a

{
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 0;
}

}

/* Media Queries - This is the responsive grid. */

/*@media (max-width: 1024px) {
    .video {
        width: 31.333%;*/ /* Thumbnails 3 across */
    /*}
}

@media (max-width: 600px) {
    .video {
        width: 48%;*/ /* Thumbnails 2 across */
    /*}
}

@media (max-width: 360px) {
    .video {
        display: block;
        width: 96%;*/ /* Single column view. */
        /*margin: 2%;*/ /* The smaller the screen, the smaller the percentage actually is. */
        /*float: none;
    }
}*/

/* These are my preferred rollover styles. */

.video img {
    width: 100%;
    opacity: 1;
}

    .video img:hover, .video img:active, .video img:focus {
        opacity: 0.75;
    }



.footer-dark {
    padding: 50px 0;
    color: #f0f9ff;
    background-color: #282d32;
}

.footer-dark h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 16px;
}

.footer-dark ul {
    padding: 0;
    list-style: none;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 0;
}

    .footer-dark ul a {
        color: inherit;
        text-decoration: none;
        opacity: 0.6;
    }

        .footer-dark ul a:hover {
            opacity: 0.8;
        }

@media (max-width:767px) {
    .footer-dark .item:not(.social) {
        text-align: center;
        padding-bottom: 20px;
    }
}

.footer-dark .item.text {
    margin-bottom: 36px;
}

@media (max-width:767px) {
    .footer-dark .item.text {
        margin-bottom: 0;
    }
}

.footer-dark .item.text p {
    opacity: 0.6;
    margin-bottom: 0;
}

.footer-dark .item.social {
    text-align: center;
}

@media (max-width:991px) {
    .footer-dark .item.social {
        text-align: center;
        margin-top: 20px;
    }
}

.footer-dark .item.social > a {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
    margin: 0 8px;
    color: #fff;
    opacity: 0.75;
}

    .footer-dark .item.social > a:hover {
        opacity: 0.9;
    }

.footer-dark .copyright {
    text-align: center;
    padding-top: 24px;
    opacity: 0.3;
    font-size: 13px;
    margin-bottom: 0;
}

