/* Fonts */
:root {
    --font-body: "Open Sans", serif;
    --font-headline: "Merriweather Sans", serif;
}

/* Colors */

:root {
    --black: #000000;
    --dark-gray: #404040;
    --gray: #0B0B0B;
    --medium-gray: #8994A5;
    --light-gray: #C0C9D6;
    --off-white: #F7F8FA;
    --blue-gray: #3D5467;
    --blue: #182957;
    --red: #C22032;
    --white: #ffffff;
}


.bg-off-white {
    background-color: var(--off-white);
}

.bg-blue-gray {
    background-color: var(--blue);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-red {
    background-color: var(--red);
}

.text-blue {
    color: var(--blue);
}

.font-body-color {
    color: var(--dark-gray) !important;
}

/* Header Margin */

.header-margin {
    margin-top: 79px;
}

/* General Body */

body, html {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark-gray);
    font-size: 16px;
    line-height: 1.7;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/*Was causing page issues*/
/* @media(min-width: 1200px) {
    body, html {
        font-size: 18px;
    }
} 

@media(min-width: 1800px) {
    body, html {
        font-size: 20px;
    }
}
    */

/* Headings */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--font-headline);
    font-weight: 400;
    color: var(--blue);
    margin-top: 0;
}

h1, .h1, .headline-xl {
    font-size: 3em;
    line-height: 1.2;
    margin-bottom: .5em;
}

h2, .h2, .headline-large {
    font-size: 2.25em;
    line-height: 1.45;
    margin-bottom: .625em;
}

h3, .h3, .headline {
    font-size: 2em;
    margin-bottom: 1em;
    text-transform: none;
    line-height: 1.45;
}

h4, .h4, .headline-small {
    font-size: 1.5em;
    margin-bottom: 1em;
    line-height: 1.3;
}

h5, .h5, .headline-xs {
    font-size: 1.25em;
    line-height: 1.3;
}

/* Content */

.font-body {
    font-family: var(--font-body);
    font-weight: 400;
}

.font-headline {
    font-family: var(--font-headline);
    font-weight: 400;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

.p {
    font-size: inherit;
    text-transform: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}

.large {
    font-size: 1.125em;
}

.base {
    font-size: 1em;
}

.small {
    font-size: .8em;
}

.bold, strong {
    font-weight: 700;
}

.fw-regular {
    font-weight: 400;
}

.text-underline {
    text-decoration: underline;
}

h3 .text-underline {
    text-decoration-color: var(--red);
}

ul.list-none {
    list-style: none;
    padding-left: 0;
}

ul {
    padding-left: 1.25rem;
}

ul li {
    margin-bottom: .65em; /* Set to desired margin */
}

.navbar ul li {
    margin-bottom: 0; /* Remove on nav list */
}

/* Links */

a {
    color: var(--blue); /* Set to desired color */
    transition: all .15s !important;
    outline: 0;
}

    a:hover, a:focus {
        color: inherit;
    }

    a.blank {
        color: inherit;
    }

        a.blank:hover, a.blank:focus {
            text-decoration: none;
        }

        a.blank.hover-orange:hover {
            color: #ef4f35;
        }

/* Buttons */

.btn {
    background-color: var(--red);
    border: none;
    border-radius: 0;
    color: #fff;
    display: inline-block;
    font-weight: 500;
    padding: 1em 2em;
    position: relative;
    font-size: .9em;
    white-space: normal;

    &:hover, &:active, &:focus {
        background-color: #a61727 !important;
        color: var(--white);
    }

&.btn-blue {
    background-color: var(--blue);
    color: var(--white);
    &:hover, &:focus, &:active {
            background-color: #0d1d4a !important;
        }
    }

&.btn-white {
    background-color: var(--white);
    color: #222;
    &:hover, &:focus, &:active {
            background-color: var(--off-white) !important;
        }
    }
}

button {
    transition: all .15s;
    cursor: pointer;
}

/* Global Background */

.background-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Global Images */

img {
    max-width: 100%;
}

/* Form */

input, select, textarea, .file-input {
    padding: 1em;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    width: 100%;
    border: 1px solid var(--gray);
    color: inherit;
    margin-bottom: 1.5em;
}

.text-white {
    & input, & select, & text-area, .file-input {
        color: #fff;
        border: 1px solid var(--white);
    }
}

label {
    display: block;
    margin-bottom: 0.75em;
    width: 100%;
    position: relative;
}

/* Customize the label (the container) */
.checkmark-wrap {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 1.5em;
    cursor: pointer;
    font-size: 0.9em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
    .checkmark-wrap input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border: 1px solid var(--white);
}

/* On mouse-over, add a grey background color */
.checkmark-wrap:hover input ~ .checkmark {
    background-color: rgba(0,0,0,0.2);
}

/* When the checkbox is checked, add a blue background */
.checkmark-wrap input:checked ~ .checkmark {
    background-color: rgba(0,0,0,0.2);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkmark-wrap input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkmark-wrap .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Jump Nav */

.JumpNav {
    position: absolute;
    top: -200px;
    z-index: 500;
    color: #ffffff;
    background: #666666;
    padding: 5px;
}

    .JumpNav:focus {
        top: 0;
        left: 0;
        color: #ffffff;
    }

/* Row Padding */

@media(min-width: 1200px) {
    .row.wide-padding {
        margin-left: -30px !important;
        margin-right: -30px !important;
    }

        .row.wide-padding > [class *= col] {
            padding-left: 30px !important;
            padding-right: 30px !important;
        }
}

@media(min-width: 1600px) {
    .row.wide-padding {
        margin-left: -60px !important;
        margin-right: -60px !important;
    }

        .row.wide-padding > [class *= col] {
            padding-left: 60px !important;
            padding-right: 60px !important;
        }
}

@media(min-width: 1800px) {
    .row.wide-padding {
        margin-left: -80px !important;
        margin-right: -80px !important;
    }

        .row.wide-padding > [class *= col] {
            padding-left: 80px !important;
            padding-right: 80px !important;
        }
}

.row.no-padding {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .row.no-padding > [class *= col] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

.row.small-padding {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

    .row.small-padding > [class *= col] {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

.row.xs-padding {
    margin-left: -2px !important;
    margin-right: -2px !important;
}

    .row.xs-padding > [class *= col] {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-bottom: 4px;
    }


/* Custom Containers */

.container-small {
    padding-left: 15px;
    padding-right: 15px;
}

    .container-small:before, .container-small:after {
        content: " ";
        display: table;
        clear: both;
    }

@media(min-width: 1200px) {
    .container-small {
        width: 860px;
        margin-left: auto;
        margin-right: auto;
    }
}

.container-large {
    padding-left: 15px;
    padding-right: 15px;
}

    .container-large:before, .container-large:after {
        content: " ";
        display: table;
        clear: both;
    }

@media(min-width: 1600px) {
    .container-large {
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(min-width: 1800px) {
    .container-large {
        max-width: 1700px;
    }
}

/* Animations */

@media(min-width: 767px) {
    .animate.yellow-line {
        transform: scaleX(0);
        transform-origin: 0 0;
        opacity: 0;
        -moz-transition: all 1.4s;
        -o-transition: all 1.4s;
        -webkit-transition: all 1.4s;
        transition: all 1.4s;
    }

    .animate.active.yellow-line {
        opacity: 1;
        transform: scaleX(1);
    }

    .popUp {
        -webkit-transform: translate3d(0,25px,0);
        -moz-transform: translate3d(0,25px,0);
        -ms-transform: translate3d(0,25px,0);
        -o-transform: translate3d(0,25px,0);
        transform: translate3d(0,25px,0);
        -moz-transition: all .4s;
        -o-transition: all .4s;
        -webkit-transition: all .4s;
        transition: all .4s;
    }

        .popUp.active {
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            -ms-transform: translate3d(0,0,0);
            -o-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
        }

    .dropDown {
        -webkit-transform: translate3d(0, -100%, 0);
        -moz-transform: translate3d(0, -100%, 0);
        -ms-transform: translate3d(0, -100%, 0);
        -o-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
        -moz-transition: all .4s cubic-bezier(.3,.02,.3,1.01);
        -o-transition: all .4s cubic-bezier(.3,.02,.3,1.01);
        -webkit-transition: all .4s cubic-bezier(.3,.02,.3,1.01);
        transition: all .4s cubic-bezier(.3,.02,.3,1.01);
    }

        .dropDown.active {
            -webkit-transform: translate3d(0, 0, 0);
            -moz-transform: translate3d(0, 0, 0);
            -ms-transform: translate3d(0, 0, 0);
            -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

    .textUp {
        -webkit-transform: translate3d(0,40px,0);
        -moz-transform: translate3d(0,40px,0);
        -ms-transform: translate3d(0,40px,0);
        -o-transform: translate3d(0,40px,0);
        transform: translate3d(0,40px,0);
        -moz-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        -o-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        -webkit-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        opacity: 0;
    }

    .textUpLong {
        -webkit-transform: translate3d(0,120px,0);
        -moz-transform: translate3d(0,120px,0);
        -ms-transform: translate3d(0,120px,0);
        -o-transform: translate3d(0,120px,0);
        transform: translate3d(0,120px,0);
        -moz-transition: all 2s cubic-bezier(.075,.82,.165,1);
        -o-transition: all 2s cubic-bezier(.075,.82,.165,1);
        -webkit-transition: all 2s cubic-bezier(.075,.82,.165,1);
        transition: all 2s cubic-bezier(.075,.82,.165,1);
        opacity: 0;
    }

        .textUp.active,
        .textUpLong.active {
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            -ms-transform: translate3d(0,0,0);
            -o-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
            opacity: 1;
        }

    .fadeIn {
        -moz-transition: all .68s;
        -o-transition: all .68s;
        -webkit-transition: all .68s;
        transition: all .68s;
        opacity: 0;
    }

        .fadeIn.active, .animate.active .fadeIn {
            opacity: 1;
        }

    .fadeInLeft {
        -moz-transition: all .52s;
        -o-transition: all .52s;
        -webkit-transition: all .52s;
        transition: all .52s;
        transform: translate3d(-20px, 0, 0);
        opacity: 0;
    }

        .fadeInLeft.active {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

    .fadeInLeftLong {
        -moz-transition: all .52s;
        -o-transition: all .52s;
        -webkit-transition: all .52s;
        transition: all .52s;
        transform: translate3d(-35px, 0, 0);
        opacity: 0;
    }

        .fadeInLeftLong.active {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

    .fadeDown {
        -moz-transition: all .52s;
        -o-transition: all .52s;
        -webkit-transition: all .52s;
        transition: all .52s;
        transform: translate3d(0, -20px, 0);
        opacity: 0;
    }

        .fadeDown.active {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

    .date.textUp:after {
        -webkit-transform: translate3d(0,30px,0);
        -moz-transform: translate3d(0,30px,0);
        -ms-transform: translate3d(0,30px,0);
        -o-transform: translate3d(0,30px,0);
        transform: translate3d(0,30px,0);
        opacity: 0;
        -moz-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        -o-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        -webkit-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        transition: all 1.6s cubic-bezier(.075,.82,.165,1);
    }

    .date.textUp.active:after {
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        -o-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        transition-delay: .2s;
        opacity: 1;
    }

    .textUpLong .slow {
        -webkit-transform: translate3d(0,40px,0);
        -moz-transform: translate3d(0,40px,0);
        -ms-transform: translate3d(0,40px,0);
        -o-transform: translate3d(0,40px,0);
        transform: translate3d(0,40px,0);
        opacity: 0;
        -moz-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        -o-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        -webkit-transition: all 1.6s cubic-bezier(.075,.82,.165,1);
        transition: all 1.6s cubic-bezier(.075,.82,.165,1);
    }

    .textUpLong.active .slow {
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        -o-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        opacity: 1;
    }

    .slideDown {
        -webkit-transform: translate3d(0,-16px,0);
        -moz-transform: translate3d(0,-16px,0);
        -ms-transform: translate3d(0,-16px,0);
        -o-transform: translate3d(0,-16px,0);
        transform: translate3d(0,-16px,0);
        -moz-transition: all .6s cubic-bezier(.8,-0.93,.79,.94);
        -o-transition: all .6s cubic-bezier(.8,-0.93,.79,.94);
        -webkit-transition: all .6s cubic-bezier(.8,-0.93,.79,.94);
        transition: all .6s cubic-bezier(.8,-0.93,.79,.94);
    }


        .slideDown.active {
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            -ms-transform: translate3d(0,0,0);
            -o-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
        }

    .slideInLeft {
        -webkit-transform: translate3d(-200%,0,0);
        -moz-transform: translate3d(-200%,0,0);
        -ms-transform: translate3d(-200%,0,0);
        -o-transform: translate3d(-200%,0,0);
        transform: translate3d(-200%,0,0);
        -moz-transition: all 1s;
        -o-transition: all 1s;
        -webkit-transition: all 1s;
        transition: all 1s;
    }

        .slideInLeft.active {
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            -ms-transform: translate3d(0,0,0);
            -o-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
            -moz-transition: all 1s cubic-bezier(.075,.82,.165,1);
            -o-transition: all 1s cubic-bezier(.075,.82,.165,1);
            -webkit-transition: all 1s cubic-bezier(.075,.82,.165,1);
            transition: all 1s cubic-bezier(.075,.82,.165,1);
        }

    .slideInRight {
        -webkit-transform: translate3d(100vw,0,0);
        -moz-transform: translate3d(100vw,0,0);
        -ms-transform: translate3d(100vw,0,0);
        -o-transform: translate3d(100vw,0,0);
        transform: translate3d(100vw,0,0);
        -moz-transition: all 1s;
        -o-transition: all 1s;
        -webkit-transition: all 1s;
        transition: all 1s;
    }

        .slideInRight.active {
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            -ms-transform: translate3d(0,0,0);
            -o-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
        }

    .animate.swing {
        transition: .5s ease-in-out;
        -webkit-transform: rotatex(-90deg) translateZ(0);
        -ms-transform: rotatex(-90deg) translateZ(0);
        transform: rotatex(-90deg) translateZ(0);
        -webkit-transform-origin: 0 0 0;
        -ms-transform-origin: 0 0 0;
        transform-origin: 0 0 0;
        opacity: 0;
    }

    .animate.active.swing {
        -webkit-transform: rotatex(0) translateZ(0);
        -ms-transform: rotatex(0) translateZ(0);
        transform: rotatex(0) translateZ(0);
        opacity: 1;
    }

    .animate.expand {
        transition: .45s;
        -webkit-transform: scale(.75) translateZ(0);
        -ms-transform: scale(.75) translateZ(0);
        transform: scale(.75) translateZ(0);
        opacity: .25;
    }

        .animate.expand.active {
            -webkit-transform: scale(1) translateZ(0);
            -ms-transform: scale(1) translateZ(0);
            transform: scale(1) translateZ(0);
            opacity: 1;
        }

    .delay1 {
        transition-delay: .15s;
    }
}
