/*  -------------------------------------------------------------------
    Elements using font icons
    ------------------------------------------------------------------- */

.apply-closed:before {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
/*  -------------------------------------------------------------------
    University Intro
    - big banner with paragraphs and buttons stacked underneath
    - all background-image definitions should be inside media queries
        - see: http://timkadlec.com/2012/04/media-query-asset-downloading-results/
    - buttons become absolute positioned and display over banner at big enough sizes
    - paragraphs float left and right when large enough
    ------------------------------------------------------------------- */

#uintro {
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    position: relative;
    color: #fff;
    background-color: #4d4e53;
    background-position: top center;
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
}

.uintro-head-inner {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    max-width: 980px;
    height: 264px;
    margin: 0 auto;
    padding: 90px 20px 0 20px;
    background-position: center top;
    background-repeat: no-repeat;
    font-family: 'Zilla', serif;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
}

#uintro p {
    margin-bottom: 30px;
    font-size: 18px;
    text-align: left;
}

    #uintro p:first-child {
        color: #a2a2a9;
        font-family: 'Open Sans Light', sans-serif;
        font-size: 26px;
        line-height: 1.25;
    }

@media (max-width: 320px) {
    #uintro {
        background-image: url("/static/img/university-banner-320.c545519c4a87.jpg");
    }
}

@media (min-width: 321px) and (max-width: 680px) {
    #uintro {
        background-image: url("/static/img/university-banner-680.9ca23b7278b8.jpg");
    }
}

@media (min-width: 681px) {
    #uintro {
        padding-bottom: 10px;
        background-image: url("/static/img/university-banner-920.a43a6ec21359.jpg");
    }

    .uintro-head-inner {
        height: 376px;
        padding-top: 120px;
        font-size: 50px;
        line-height: 1;
    }

    #uintro p {
        float:right;
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        width: 50%;
        margin-top: 40px;
        padding:0 0 0 10px;
        font-size: 14px;
    }
        #uintro p:first-child {
            float: left;
            padding:0 10px 0 0;
            font-size: 20px;
        }

    #uintro .cta {
        position: absolute;
        top: 268px;
        left: 20px;
    }

     #uintro .cta + .cta {
         left: 255px;
     }
}

@media (min-width: 921px) {
    #uintro {
        padding-bottom: 25px;
        background-image: url("/static/img/university-banner-1280.68d043fb427d.jpg");
    }

    .uintro-head-inner {
        height: 500px;
        padding-top: 170px;
        font-size: 60px;
    }

     #uintro p {
        font-size: 18px;
    }
        #uintro p:first-child {
            font-size: 26px;
        }

    #uintro .cta {
        top: 350px;
    }
}

@media (min-width: 980px) {
    #uintro .cta {
        left: calc(50% - 469px);
    }

     #uintro .cta + .cta {
         left: calc(50% - 234px);
     }
 }

@media (min-width: 1281px) {
    #uintro {
        background-image: url("/static/img/university-banner-1680.1093af2e27a3.jpg");
    }
}

@media (min-width: 1681px) {
    #uintro {
        background-image: url("/static/img/university-banner-2560.2c32a10f335b.jpg");
    }
}

/*  -------------------------------------------------------------------
    It's Different
    - small screen sizes have title above and list below
    - desktop has title to left list to right
    - mobile does not have cup and phone
    - without javascript the lists stack vertically
    ------------------------------------------------------------------- */

#different {
    position: relative;
    padding-top: 25px;
    padding-bottom: 15px;
    background-color: #f7f6f2;
}

#different > .contain {
    max-width: 500px;
}

#different-list-head-spacer {
    display: none;
}

.different-head {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 18px;
    line-height: 1.2;
    font-family: 'Zilla', serif;
    font-weight: normal;
}

    .different-head:after {
        content: '';
        position: relative;
        top: 20px;
        left: 50%;
        display: block;
        width: 940px;
        margin-left: -460px;
        border-bottom: 1px solid #deddd9;

    }

#different-lists {
    position: relative;
    margin: 0 auto;
    max-width: 300px;
}

.different-list {
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    width: 100%;
}

    .different-list > ul {
        padding-left: 30px;
        font-size: 15px;
        color: #4d4e53;
        -webkit-transition: opacity 0.5s;
                transition: opacity 0.5s;
    }

    .different-list > ul > li {
        margin: 15px 0;
    }

    .different-list h3 {
        position:relative;
        z-index: 1;
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        border: 1px solid transparent;
        margin-top: 0;
        padding: 6px 9px;
        background-color: #d6d4ce;
        color: inherit;
        font-family: 'Zilla', serif;
        font-size: 18px;
        text-align: center;
        text-shadow: none;
    }

        .different-list h3:focus {
            outline: 0;
            border: 1px solid #0095dd;
        }

@media (max-width: 920px) {
    .js-enabled .different-list#different-not {
        position: absolute;
        top: 0;
        left: 0;
    }

    .js-enabled .different-list > ul {
           opacity: 0;
        }

        .js-enabled .different-list-current > ul{
            opacity: 1;
        }

    .js-enabled .different-list h3 {
        width: 49.5%;
    }

        .js-enabled .different-list#different-not h3 {
            margin-left: 50.5%;
        }

    .different-list-current h3 {
        background-color: #0095dd;
        color: #fff;
        text-shadow: 0 1px 0 #757d82;
    }

        .js-disabled .different-list-current h3 {
            position: relative;
            z-index: 1;
            -moz-box-sizing: border-box;
                 box-sizing: border-box;
            border: 1px solid transparent;
            margin-top: 0;
            padding: 6px 9px;
            background-color: #d6d4ce;
            color: inherit;
            font-size: 18px;
            text-align: center;
            text-shadow: none;
        }

        .different-list-current h3:after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            display: block;
            margin-left: -10px;
            border-top: 10px solid #0095dd;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 0;
        }

            .js-disabled .different-list-current h3:after{
                content: none;
            }

}
@media (min-width: 681px) {

    #different {
        padding-top: 40px;
        padding-bottom: 25px;
    }

        #different:before,
        #different:after,
        .different-object {
            content: '';
            position: absolute;
            z-index: 3;
            display: block;
            height: 260px;
            width: 270px;
            background: url("/static/img/different-sprites-tablet.0f1f5c38bf94.png");
            -webkit-transition: margin 1s ease-out;
                    transition: margin 1s ease-out;
        }

        #different:before,
        .different-object-cup {
            top: 150px;
            right: 50%;
            margin-right: 200px;
        }

        #different:after,
        .different-object-phone {
            left: 50%;
            bottom: -60px;
            height: 410px;
            width: 320px;
            margin-left: 190px;
            background-position: -275px -15px;
        }

        .different-object {
            display: none;
        }

    #different > .contain {
        max-width: 800px;
    }

     .different-head {
        max-width: 620px;
        font-size: 28px;
     }

     .different-subhead {
        padding-right: 20px;
        font-size: 26px;
     }

     .different-list > ul {
        font-size: 14px;
     }
}


@media (min-width: 921px) {
    #different {
        padding-top: 0;
        padding-bottom: 45px;
    }

        #different:before,
        #different:after,
        .different-object {
            z-index: 5;
            height: 320px;
            width: 350px;
            margin-right: 320px;
            background: url("/static/img/different-sprites-desktop.4d4cc8501823.png");
        }

        #different:before,
        .different-object-cup {
            top: 160px;

        }

        #different:after,
        .different-object-phone {
            bottom: -90px;
            height: 550px;
            width: 400px;
            margin-right: 0;
            margin-left: 300px;
            background-position: -355px -15px;
        }

        /* parallax - uses elements added by javascript */
        #different.different-objects:before,
        #different.different-objects:after {
            content: none;
        }

        .different-object {
            display: block;
        }

        .different-object-cup {
            margin-right: 1300px;
        }
            .different-cup-show .different-object-cup {
                margin-right: 320px;
            }

        .different-object-phone {
            margin-left: 1290px;
        }
            .different-phone-show .different-object-phone {
                margin-left: 300px;
            }

        #different.pin  .different-object-cup {
            position: fixed;
            top: 260px;
        }

        #different.pin.pin-past .different-object-cup {
            position: absolute;
            top: auto;
            bottom: 167px;
        }

    #different > .contain {
        max-width: 940px;
    }

    .different-head {
        font-size: 26px;
        margin: 0;
        padding: 50px 170px 25px 0;
    }

        .different-head:after {
            top: 25px;
            left: 0;
            margin-left: 0;
        }

    #different-lists {
        max-width: 660px;
    }

    .different-list {
        position: relative;
        padding-top: 30px;
    }

    .different-list > h3 {
        position: absolute;
        top: 30px;
        width: 320px;
        margin: 0;
        padding: 0 20px;
        background-color: transparent;
        color: #d0cfcf;
        text-shadow: 1px 0 0 #d0cfcf, -1px 0 0 #d0cfcf, 0 1px 0 #d0cfcf, 0 -1px 0 #d0cfcf;
        font-size: 100px;
        font-weight: bold;
        line-height: 1;
        letter-spacing: -4px;
        text-align: left;
        text-transform: uppercase;
    }

        .different-list h3:focus {
            border: 0;
        }

    .different-list > ul {
        float: right;
        width: 310px;
        margin-top: 0;
        margin-bottom: 60px;
        font-size: 18px;
     }

         .moz-no-touch .different-list > ul { /* parallax only */
             padding-top:100px;
         }

     .different-list > ul > li:first-child {
         margin-top: 12px;
     }

}


/*  -------------------------------------------------------------------
    Things You'll Want to Know
    ------------------------------------------------------------------- */

#know {
    position: relative;
    padding: 30px 0;
    background: #1d1b19;
    background-repeat: no-repeat;
    background-position: bottom center;
    color: #fff;
    font-size: 15px;
    text-align: center
}

#know .caroufredsel_wrapper {
    margin: 0 auto !important; /* overridding inline properties of js injected code */
}

.know-head {
    max-width: 200px;
    margin: 0 auto;
    font-family: 'Zilla', serif;
    font-size: 38px;
}

.know-box {
    width: 100%;
    margin-bottom: 30px;
}

.know-box > h3 {
    position: relative;
    min-height: 80px;
    padding-bottom: 20px;
    line-height: 1.5;
}

    .know-box > h3:after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 50%;
        width: 28px;
        margin-left: -14px;
        border-top: 1px solid #c13832;
    }

    .know-box > h3 > strong {
        display: block;
        color: #c13832;
        font-family: 'Zilla', serif;
        font-size: 42px;
        font-weight: normal;
        line-height: 1;
        text-transform: uppercase;
    }

.know-box > p {
    padding-left: 10px;
    padding-right: 10px;
}

.know-box a:link,
.know-box a:visited {
    color: #fff;
    text-decoration: underline;
}

.know-box a:hover,
.know-box a:focus {
    color: #ccc;
}

.js-enabled .know-box > h3 {
    padding: 0 40px 20px 40px;
}

.js-enabled .know-box {
    display: block;
    float: left;
    text-align: center;
}

@media (min-width:681px) {
     #know {
         padding: 40px 0;
         font-size: 14px;
     }

     .know-head {
         max-width: none;
         margin-bottom: 30px;
         font-size: 28px;
         text-align: center;
     }

    #know-boxes {
       margin: 0 -20px 0 0;
    }

    .caroufredsel #know-boxes {
        margin: 0;
    }

        #know-boxes:after {
            content: "";
            display: table;
            clear: both;
        }

    .know-box {
        float: left;
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        width: 25%;
        padding-right: 20px;
        font-size: 11px;
        text-align: left;
    }

        .caroufredsel .know-box {
            padding: 0;
            font-size: 14px;
        }

    .know-box > h3 {
        width: 80%;
        height: 70px;
        margin: 0 auto;
        font-size: 14px;
        text-align: center;
    }

        .js-enabled .know-box > h3 {
            padding: 0; /* override carousel heading padding */
        }

        .know-box > h3 > strong {
            font-size: 32px;
        }
}

@media (min-width:921px) {
    #know {
        z-index: 2; /* to cover different section until it is unpinned */
        padding: 60px 0;
        font-size: 18px;
    }

    .know-head {
        margin-bottom: 50px;
        font-size: 38px;
    }

    #know-boxes {
        margin-bottom: 10px;
    }

    .know-box {
        font-size: 15px;
    }

        .moz-no-touch .know-box {
            opacity: 0.2;
             -webkit-transition: opacity 0.5s ease-in;
                     transition: opacity 0.5s ease-in;
        }

            .caroufredsel .know-box,
            .moz-no-touch .know-box.past {
                opacity: 1;
            }

    .know-box > h3 {
        min-height: 100px;
        font-size: 18px;
    }

    .know-box > h3 > strong {
        font-size: 42px;
    }
}

/* background declarations */

@media (max-width: 320px) {
    #know {
        background-image: url("/static/img/know-bg-320.d60beccb7aa1.jpg");
    }
}

@media (min-width: 321px) and (max-width: 768px) {
    #know {
        background-image: url("/static/img/know-bg-768.c2626892aa07.jpg");
    }
}

@media (min-width: 761px) {
    #know {
        background-image: url("/static/img/know-bg-1100.784a58beef95.jpg");
    }
}

/*  -------------------------------------------------------------------
    Testimonials
    - with JS off testimonials look like the blocks that display individually in mobile
        - in mobile they stack
        - on larger screens they each fill 33.3% of space and float left
    - with JS on the mobile ones become a swipable slide show
    - with JS on the desktop ones become clickable and the quotes cross fade into the same space
    ------------------------------------------------------------------- */

#testimonials {
    border-bottom: 40px solid #4d4e53;
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    position: relative;
}

.testimonials {
    margin: 0 auto;
    max-width: 320px;
}

.testimonial {
    position: relative;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    width: 320px;
    margin: 20px 0;
    background-color: #4d4e53;
    color: #d7d3c8;
    padding: 25px 20px 233px 20px;
    font-family: 'Open Sans Light',sans-serif;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

    .testimonial:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50px;
        z-index: 1;
        display: block;
        margin-bottom: 61%;
        border-top: 19px solid #4d4e53;
        border-right: 19px solid transparent;
        border-left: 19px solid transparent;
    }

.testimonial > img {
    position: absolute;
    bottom: 0;
    left: 0;
}

    .testimonial > img:focus {
         outline: 1px solid #4d4e53; /* incase they've resized window down and tabindex is still set */
     }

.testimonial > blockquote {
    margin: 0 0 15px 0;
    font-size: 21px;
    line-height: 1.2;
}

.testimonial > figcaption {
    font-weight: normal;
}

.testimonial > figcaption > strong {
    font-family: 'Open Sans',sans-serif;
}

@media (max-width:680px) {
    .caroufredsel_wrapper  .testimonials {
        max-width: none;
    }

    .js-enabled .testimonial {
        float: left;
        height: 450px;
        margin: 0;
    }

    #testimonials .caroufredsel_wrapper {
        margin: 0 auto !important; /* JS plug in needs reminding to center itself */
    }

    .js-enabled #testimonials:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 237px;
        width: 100%;
        margin-left: -100%;
        padding: 0 100%;
        background-color: #4d4e53;
    }
}

@media (min-width:681px) {
    .testimonials {
        width: 100%;
        max-width: 940px;
    }

    .testimonial > img {
        max-width: 100%;
        height: auto;
    }

    .testimonial {
        float: left;
        width: 33.3%;
        margin: 0;
        padding-bottom: 26%;
    }

    .js-disabled .testimonial {
       min-height: 35em;
    }


    .js-enabled .testimonials {
        position: relative;
        height: 147px;
        padding-bottom: 160px;
    }

    .js-enabled .testimonials:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 147px;
        width: 100%;
        margin-left: -100%;
        padding: 0 100%;
        background-color: #4d4e53;
    }

    .js-enabled .testimonials-pointer {
        content: '';
        position: absolute;
        top: 147px;
        left: 50%;
        z-index: 1;
        display: block;
        margin-left: 0;
        border-top: 19px solid #4d4e53;
        border-right: 19px solid transparent;
        border-left: 19px solid transparent;
        -webkit-transition: margin 1s;
                transition: margin 1s;
    }

    .js-enabled .testimonial {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        padding-top: 35px;
        padding-bottom: 0;
        background-color: transparent;
    }

        .js-enabled .testimonial:before {
            content: none;
        }

    .js-enabled .testimonial > blockquote {
        opacity: 0;
        font-size: 20px;
        -webkit-transition: opacity 1s ease-out;
                transition: opacity 1s ease-out;
    }

    .js-enabled .testimonial-current > blockquote {
        opacity: 1;
    }

    .js-enabled .testimonial > img {
        bottom: auto;
        top: 100%;
        left: 33.3%;
        width: 33.3%;
    }

    .js-enabled .testimonial > img:focus {
        z-index: 1;
    }

    .js-enabled .testimonial:first-child  > img {
        left: 0;
    }

    .js-enabled .testimonial:last-child  > img {
        left: 66.6%;
    }

    .js-enabled .testimonial > figcaption {
        opacity: 0;
        font-size: 11px;
        -webkit-transition: opacity 1s;
                transition: opacity 1s;
    }

    .js-enabled .testimonial-current > figcaption {
        opacity: 1;
    }
}


@media (min-width:921px) {
     .js-enabled .testimonials {
        height: 191px;
        padding-bottom: 212px;
     }

    .js-enabled .testimonials:before {
        height: 195px;
    }

    .js-enabled .testimonials-pointer {
        top: 195px;
    }

    .js-enabled .testimonial {
        height: 195px;
    }

    .js-enabled .testimonial > blockquote {
        min-height: 99px;
        font-size: 28px;
    }

    .js-enabled .testimonial > figcaption {
        font-size: 15px;
    }
}

/*  -------------------------------------------------------------------
    Videos
    - mobile gets 3 videos stacked
    - tablet gets 1 wide video controlled by 3 thumbnails beneath it
    - desktop gets 1 wide video controlled by 3 thumbmails to its right
    ------------------------------------------------------------------- */

.js-enabled .video-js { padding-top: 56.25% } /* reset to make videos fluid */
.js-enabled .vjs-fullscreen { padding-top: 0px } /* remove reset when video is in fullscreen */

#videos {
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    position: relative;
    padding: 20px 0;
}

#videos .contain {
    max-width: 700px;
}

.videos-head {
    margin: 0 0 30px 0;
    font-family: 'Zilla', serif;
    font-size: 26px;
}

.videos-players .video-js {
    margin: 0 0 10px 0;
}

.video {
    margin-bottom: 20px;
}

    .video > figcaption {
        font-size: 15px;
        font-weight: bold;
        line-height: 1.2;
    }

    .video-js.vjs-sandstone-skin .vjs-big-play-button {
        box-shadow: none;
        border: 5px solid #ccc;
        border: 5px solid rgba(255, 255, 255, 0.6);
        background-color: transparent;
    }

        .video-js.vjs-sandstone-skin:hover .vjs-big-play-button {
            border: 5px solid #fff;
            border: 5px solid rgba(255, 255, 255, 1);
        }

        .video-js.vjs-sandstone-skin .vjs-big-play-button span {
            height: 0;
            width: 0;
            margin: -23px 0 0 -14px;
            background: transparent;
            border-top: 24px solid transparent;
            border-right: 0px;
            border-bottom: 24px solid transparent;
            border-left: 40px solid #ccc;
            border-left: 40px solid rgba(255, 255, 255, 0.6);
        }
            .video-js.vjs-sandstone-skin:hover .vjs-big-play-button span {
                border-left: 40px solid #fff;
                border-left: 40px solid rgba(255, 255, 255, 1);
            }

.vjs-poster {
    /* needs a bit of help in IE because parent is responsive */
    position: absolute;
    top: 0;
    left: 0;
}

.videos-thumbs {
    display: none;
}

@media (min-width:681px) {
     #videos {
         padding: 60px 0;
     }

     .videos-head {
         max-width: 420px;
         margin: 0 0 40px 0;
         font-size: 28px;
     }

     .videos-players {
        position:relative;
    }

        .js-enabled .videos-players{
            overflow: hidden;
            height: 0;
            padding-top: 57%;
        }

    .video {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

        .js-enabled .video{
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            -webkit-transition: opacity 0.5s;
                    transition: opacity 0.5s;
        }

        .js-enabled .video-current {
            z-index: 90;
            opacity: 1;
        }

    .videos-thumbs {
        display: block;
    }

    .video-thumb {
        position: relative;
        float: left;
        width: 30.3%;
        margin: 15px 1.5% 15px 1.5%;
        border-radius: 3px;
        border: 5px solid transparent;
        padding: 0;
        background-color: transparent;
        font-size: 11px;
        font-weight: bold;
        text-align: left;
        -webkit-transition: background-color 0.5s;
                transition: background-color 0.5s;
    }

        .video-thumb > span {
            display: block;
            padding: 10px 5px 5px 5px;
        }

        .js-enabled .video-thumb-current,
        .js-enabled .video-thumb:hover {
            background-color: #fff;
            cursor: pointer;
        }

        .video-thumb:before {
            content: '';
            display: block;
            height: 0;
            width: 100%;
            padding: 55.8% 0 0 0;
            background: url("/static/img/video-thumbs/thumbs.c900c97e94d6.jpg");
            background-size: 100%;
        }

            .video-thumb-harry:before {
                background-position: 0 50%;
            }

            .video-thumb-samantha:before {
                background-position: 0 100%;
            }

}

@media (min-width:921px) {
    #videos {
        padding: 80px 0;
    }

        #videos:before {
            left: auto;
            right: 55%;
            bottom: 50px;
            margin-right: 280px;
        }

        #videos:after {
            top: auto;
            bottom: 100px;
            left: 55%;
            margin-bottom: 0;
            margin-left: 350px;
        }

        #videos .contain {
            max-width: 940px;
        }

        #videos .contain:before {
            right: 50%;
            margin-right: -390px;
        }

    .videos-head {
        max-width: 560px;
        margin: 0 0 60px 0;
        font-size: 38px;
    }

     .videos-players {
        float: left;
        width: 75%;
    }

    .js-enabled .videos-players{
        padding-top: 43%;
    }

    .videos-thumbs {
        float: right;
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        width: 25%;
        padding-left: 40px;
    }

    .video-thumb {
        width: 100%;
        margin: 0 0 15px 0;
    }
}


/*  -------------------------------------------------------------------
    Gallery
    - gallery-wrapper filled with boxes
    - boxes inherit background image from wrapper
    - js initializes carousel on mobile
        - hides wrapper's background using background-size
        - when sizing up, switches to flexable image in .gallery.band
    - on tablet and desktop flexable background image is created in gallery-wrapper
        - when resizing down to mobile these stay visible
    ------------------------------------------------------------------- */

#gallery {
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    position: relative;
}

.gallery-wrapper {
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    float: left;
    width: 100%;
    background-image: url("/static/img/gallery-1100.6439dd19c943.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;

}
    .gallery-wrapper.gallery-carousel {
        float: none;
        background-size: 0%;
    }

#gallery .caroufredsel_wrapper {
    /* override inline styles added by plugin */
    overflow: visible !important;
    margin: 0 auto !important;
}

.gallery-frame {
    position: relative;
    float: left;
    width: 20%;
    height: 0;
    padding-top: 19.9%;
    -webkit-transition: opacity 1s;
            transition: opacity 1s;
}

    .gallery-carousel .gallery-frame {
        height: 220px;
        width: 220px;
        margin: 0 5px;
        padding-top: 0;
        background-image: inherit;
    }

    .gallery-frame-2 { background-position: -220px 0; }
    .gallery-frame-3 { background-position: -440px 0; }
    .gallery-frame-4 { background-position: -660px 0; }
    .gallery-frame-5 { background-position: -880px 0; }
    .gallery-frame-6 { background-position: 0 -220px; }
    .gallery-frame-7 { background-position: -220px -220px; }
    .gallery-frame-8 { background-position: -440px -220px; }
    .gallery-frame-9 { background-position: -660px -220px; }
    .gallery-frame-10 { background-position: -880px -220px; }


#gallery-next,
#gallery-prev {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 220px;
    width: 45px;
    border: 0;
    padding: 0;
    background: transparent;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
            transition: opacity 0.5s;
}

#gallery-next {
    left: auto;
    right: 0;
}

    #gallery-next:focus,
    #gallery-next:hover,
    #gallery-prev:focus,
    #gallery-prev:hover {
        background: rgba(0, 0, 0, 0.3);
        opacity: 1;
        outline: none;
    }



/* mobile always has single band */

@media (max-width: 680px) {
}

/* tablet gets flexible double band */
@media (min-width: 681px) {

    #gallery .caroufredsel_wrapper {
        display: none !important; /* over riding inline  styles added by plugin */
    }

    #gallery-next,
    #gallery-prev {
        display:none !important; /* over riding inline  styles added by plugin */
    }

    #gallery-band {
        height: 0;
        padding-top: 20%;
        background-size: 100%;
    }

    .gallery-frame {
        margin: 0;
    }


}

/* desktop gets fixed double band */
@media (min-width: 1101px) {
    #gallery {
        height:440px;
        padding-top: 0;
    }

    #gallery-band {
        height: 0;
        padding-top: 220px;
        background-size: auto;
        background-position: top center;
    }

    .gallery-wrapper {
        max-width: 100%;
        background-size: auto;
        background-repeat: repeat;
    }

    .gallery-frame {
        visibility: hidden;
    }
}
/* add modernizer test for background size - NO, only IE8 falls into this catagory */


/*  -------------------------------------------------------------------
    Apply
    ------------------------------------------------------------------- */

#apply {
    position: relative;
    padding: 40px 0;
    background-color: #4d4e53;
    color: #a2a2a9;
    font-size: 15px;
    text-align:center;
}

#apply h3 {
    position: relative;
    margin-top: 0;
    color: #fff;
    font-family: 'Zilla', serif;
    font-size: 23px;
    -webkit-font-smoothing: antialiased;
}

    .apply-closed {
        position: relative;
        padding-top: 60px;
    }

     .apply-closed:before {
        content: '\e00b';
        position: absolute;
        top: -7px;
        right: 50%;
        display: block;
        height: 46px;
        width: 51px;
        margin-right: -25px;
        font-size: 46px;
        line-height: 46px;
        text-align: center;
    }

#apply p {
    margin-bottom: 0;
    text-align: left;
}

#apply p a:hover,
#apply p a:focus,
#apply p a:active {
    color: #4bbde6;
}

@media (min-width: 681px) {
    #apply .contain {
        width: 66.6%;
    }

    .apply-open h3 {
        display: inline;
        padding-right: 20px;
    }

    .apply-closed {
        padding-top: 0;
    }

        .apply-closed:before {
            right: 100%;
            margin-right: 0;
        }

    #apply h3,
    #apply p {
        text-align: left;
    }
}

@media (min-width: 921px) {
    #apply {
        padding: 60px 0;
    }
}
