/* Parallax */

/* General */

.large {
    font-size: 1.5em;
}

.article .section h1 {
    margin-top: 0;
    text-align: left;
    display: inline-block;
    max-width: 100%;
}

.section p {
    margin-top: .5em;
}

.wrapper {
    min-height: 100%;
    margin: 0 auto -10em;
}

.footer-wrapper {
    position: absolute;
    bottom: 0;
}

/* Content */

.overlay {
    margin: 2em auto;
    padding: 1em;
}

.overlay.thin {
    width: 50%;
}

.overlay.thin.left {
    margin-left: 2em;
}

.overlay.thin.right {
    margin-right: 2em;
}

@media (max-width: 768px) {
    .overlay.thin {
        width: auto;
        margin: 2em;
    }
}

.full-overlay {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.floating-content {
    display: inline-block;
    padding: .75em;
    position: absolute;
    margin-left: 15%;
    width: 70%;
}

.floating-content > p {
    font-size: .75em;
}

.floating-content.top, .floating-content.bottom {
    top: 4em;
}

@media (max-width: 768px) {
    .floating-content {
        width: 100%!important;
        margin: 0!important;
    }

    .floating-content.top {
        bottom: auto!important;
        top: 4em!important;
    }

    .floating-content.bottom {
        bottom: 0!important;
        top: auto!important;
    }
}

.floating-content.background, .overlay {
    background: rgba(0, 0, 0, .6);
}

.ie8 .floating-content.background, .ie8 .overlay {
    background: transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#64000000,endColorstr=#64000000);
}

/* Header */

.transition-button {
    position: absolute;
    bottom: 0;
    width: 6em;
    height: 2em;
    left: 50%;
    margin-left: -3em;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #555;
    cursor: pointer;
    text-align: center;
}

.fa-angle-down {
    font-size: 2em;
}
    
/* Sections */

.section.full {
    height: 100vh;
    width: 100vw;
    height: -webkit-calc(100vh - 3.5em);
    height: -moz-calc(100vh - 3.5em);
    height: calc(100vh - 3.5em);
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.section.foreground {
    background-color: #555;
    padding: 4em 0;
}

.section.background:before, .section.full.end:before {
    content: " ";
    height: 2em;
    display: block;
    background: rgba(0, 0, 0, .7);
}

.section.end {
    position: relative;
}

.ie8 .section.background:before {
    background: transparent;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000);
}

.section.background {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-clip: border-box;
}

.section.background.fixed {
    height: 15em;
}

.section.background.fixed.tall {
    height: 35em;
}

@media (max-width: 768px) {
    .section.background.fixed , .section.background.fixed.tall {
        height: 100%;
    }

    .section.background {
        height: auto;
        min-height: 20em;
    }

    .small-none {
        display: none;
    }
}

/* Backgrounds */

/* Protective */

.protective-mission {
    background-image: url('/images/protection/PRO-01.jpg');
}

.protect-who {
    background-image: url('/images/protection/PRO-02.jpg');
}

.protect-how {
    background-image: url('/images/protection/PRO-03.jpg');
}

.sa_ud {
    background-image: url('/images/protection/PRO-04.jpg');
}

.nsse {
    background-image: url('/images/protection/PRO-05.jpg');
}

/* Investigation */

.investigative-mission {
    background-image: url('/images/investigative/INV-001.jpg');
}

.investigative-mission-2 {
    background-image: url('/images/investigative/INV-002.jpg');
}

.counterfeit {
    background-image: url('/images/investigative/INV-003.jpg');
}

.cyber {
    background-image: url('/images/investigative/INV-004.jpg');
}

.forensic {
    background-image: url('/images/investigative/INV-005.jpg');
}

/* Agents */

.agents {
    background-image: url('/images/join/careers/agents/SA-01.jpg');
}

.agents-benefits {
    background-image: url('/images/join/careers/agents/Benefits.jpg');
}

.agents-badge {
    background-image: url('/images/join/careers/agents/Leather.jpg');
}

.agents-career {
    background-image: url('/images/join/careers/agents/Career.jpg');
}

.agents-qualifications {
    background-image: url('/images/join/careers/agents/Qualifications.jpg');
}

/* Uniformed */

.uniformed {
    background-image: url('/images/join/careers/uniformed/UD-001.jpg');
}

.uniformed-motorcycle {
    background-image: url('/images/join/careers/uniformed/UD-002.jpg');
}

.uniformed-gate {
    background-image: url('/images/join/careers/uniformed/UD-003.jpg');
}

.uniformed-canopy {
    background-image: url('/images/join/careers/uniformed/UD-004.jpg');
}

.uniformed-white-house {
    background-image: url('/images/join/careers/uniformed/UD-005.jpg');
}

.uniformed-training {
    background-image: url('/images/join/careers/uniformed/UD-006.jpg');
}

.uniformed-stats {
    background-image: url('/images/join/careers/uniformed/UD-Info-01.jpg');
}

/* APT */

.apt {
    background-image: url('/images/join/careers/apt/APT-08.jpg');
}

.apt-benefits {
    background-image: url('/images/join/careers/apt/APT-02.jpg');
}

.apt-quote {
    background-image: url('/images/join/careers/apt/APT-07.jpg');
}

.apt-title {
    background-image: url('/images/join/careers/apt/APT-03.jpg');
}

.apt-quote2 {
    background-image: url('/images/join/careers/apt/APT-06.jpg');
}

.apt-title2 {
    background-image: url('/images/join/careers/apt/APT-04.jpg');
}

/* Special Officers */

.so {
    background-image: url('/images/join/careers/so/SO-01.jpg');
}

.so-career {
    background-image: url('/images/join/careers/so/SO-05.jpg');
}

.so-training {
    background-image: url('/images/join/careers/so/SO-03.jpg');
}

.so-benefits {
    background-image: url('/images/join/careers/so/SO-04.jpg');
}

.so-age {
    background-image: url('/images/join/careers/so/SO-02.jpg');
}

/* Intro Transition */

.content > header {
    position: relative;
    overflow-y: hidden;
    margin: 0 auto;
    transition-property: all;
    transition-duration: 1.5s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.content.push > header {
    height: 0;
    opacity: .25;
}

/* Content Transitions */

.transition-wrapper {
    height: 10em;
    position: relative;
    margin-top: 0;
}

.transition-wrapper.tall {
    height: 30em;
}

.transition-wrapper.very-tall {
    height: 35em;
}

.transition {
    position: absolute;
    transition: top 1s ease, bottom 1s ease, left 1s ease, right 1s ease, opacity 1s ease;
    margin: auto;
}

.transition.right {
    right: 17.5px;
}

.transition.left {
    left: 17.5px;
}

.transition.center {
    width: 100%;
    width: -webkit-calc(100% - 2em);
    width: -moz-calc(100% - 2em);
    width: calc(100% - 2em);
}

.transition.up {
    top: 300px;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

.transition.up.in {
    height: 20em;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.transition.down {
    bottom: 4em;
    transform: translateY(0);
}

.transition.down.in {
    bottom: 50%;
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
}

.tall .transition.down, .very-tall .transition.down {
    bottom: 20em;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

.tall .transition.down.in, .very-tall .transition.down.in {
    bottom: 50%;
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
}

.transition.from-right {
    right: -20em;
    left: 20em;
}

.transition.from-left {
    right: 20em;
    left: -20em;
}

.transition.from-right.in, .transition.from-left.in {
    right: 17.5px;
    left: 17.5px;
}

.transition.fade {
    opacity: 0;
}

.transition.fade.in {
    opacity: 1;
}

/* Quote */

.quote {
    max-width: 60em;
    width: 100%;
    width: -webkit-calc(100% - 8em);
    width: -moz-calc(100% - 8em);
    width: calc(100% - 8em);
}

.quote > p {
    font-family: LinBiolinum;
    font-size: 2.5em;
}

.quote .usss {
    position: absolute;
}

.quote .usss-quote-left {
    left: -2em;
    top: .4em;
}

.quote .usss-quote-right {
    right: -2em;
    top: .4em;
}

.block-quote:before, .block-quote:after {
    content: '"';
    font-size: 1.5em;
    line-height: .1em;
    vertical-align: -.1em;
}

.block-quote:before {
    margin-right: -.1em;
}

.block-quote:after {
    margin-left: -.2em;
}

.transition.in.quote-title {
    transform: none;
    -webkit-transform: none;
}

.transition.in.quote-content {
    transform: none;
    -webkit-transform: none;
}

.transition.in.quote-title.top {
    top: 1em;
}

.transition.in.quote-content.top {
    top: 7em;
}

.transition.in.quote-title.bottom {
    bottom: 0;
}

.transition.in.quote-content.bottom {
    bottom: 1.5em;
}

.tall .transition.in.quote-title.bottom, .very-tall .transition.in.quote-title.bottom {
    bottom: 6em;
}

.tall .transition.in.quote-content.bottom, .very-tall .transition.in.quote-content.bottom {
    bottom: 7em;
}

@media (max-width: 768px) {
    .section.background {
        padding-bottom: 3em;
    }

    .quote .usss-quote-left {
        left: -1em;
        top: .75em;
    }
    
    .quote .usss-quote-right {
        right: -1em;
        bottom: 2em;
    }

    .transition-wrapper, .transition-wrapper.tall, .transition-wrapper, .transition-wrapper.very-tall {
        height: auto;
    }

    .transition, .transition.in {
        position: static;
    }

    .transition.up.in, .transition.down.in {
        transform: none!important;
        -webkit-transform: none!important;
        transition: none!important;
        height: 100%;
    }

    .transition.fade {
        opacity: 1;
    }

    .quote {
        margin-top: 1em;
    }
}

/* IE */

.ie8 .section.background, .ie9 .section.background {
    padding-bottom: 3em;
}

.ie8 .transition-wrapper, .ie9 .transition-wrapper {
    height: auto;
}

.ie8 .transition, .ie9 .transition {
    position: static;
}

.ie8 .transition.in, .ie9 .transition.in {
    transform: none;
    -webkit-transform: none;
    transition: none;
}

.ie8 .transition.fade, .ie9 .transition.fade {
    opacity: 1;
}