@import "/assets/fonts/fontawesome/index.css";
@import "/assets/fonts/icomoon/index.css";

/*
 *  theme colors
 *  gold: #c2970a
 *  blue: #004684
*/

/* ==========================================================================
   Generic Styles
   ========================================================================== */

*:before, *:after, * {
    -webkit-transition: .3s ease;
    transition: .3s ease;
    -webkit-transition-property: border-color, background-color, opacity, transform, -webkit-transform;
    transition-property: border-color, background-color, opacity, transform;
}

* {
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition-property: color, border-color, background-color, opacity, transform, -webkit-transform;
    transition-property: color, border-color, background-color, opacity, transform;
}

html,
body {
    height: 100%;
}

html {
    -webkit-font-smoothing: antialiased;
    /*text-rendering: optimizeLegibility;*/
    font: 400 17px "Lato", sans-serif;
}

body {
    background: #fff;
    font-size: 0;
    cursor: default;
    min-width: 320px;
}

/* img alt text */
img {
    font-size: .5rem;
    color: red;
}

a {
    text-decoration: none;
    color: #c2970a;
    outline: none;
}

/*a:hover { color: #222; }*/

input,
textarea,
button, a.btn-prime, a.btn-second {
    font: inherit;
    font-size: 1rem;
    border: 1px solid #ddd;
    padding: 6px 28px;
    display: block;
    width: 100%;
    margin: 5px 0;
    outline: none;
    resize: none;
    background: #fff;
}

a.btn-prime, a.btn-second { width: 48%; display: inline-block; text-align: center; }

input:hover,
textarea:hover {
    border-color: #eee;
}

textarea {
    height: 200px;
}

button, a.btn-prime, a.btn-second {
    background: #c2970a;
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}
a.btn-second { background: #004684; }

button:hover, a.btn-prime:hover { background-color: #cea10d; }
a.btn-second:hover { background-color: #095394; }

button:active, a.btn-prime:active { background-color: #ad8503; }
a.btn-second:active { background-color: #013952; }

input:focus,
textarea:focus,
button:focus,
a.btn-prime:focus, a.btn-second:focus {
    border-color: #aaa;
}

p {
    margin: 20px 0;
}

h2,
h3,
h4,
h5 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
}

h2 {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    color: #000;
}

h3 {
    color: #000;
    font-weight: 500;
    font-size: 1.5rem;
}

section {
    position: relative;
    overflow: hidden;
}

@-webkit-keyframes fade-in {
    from { opacity: 0; }
}

@keyframes fade-in {
    from { opacity: 0; }
}

/* ==========================================================================
   Classes
   ========================================================================== */
.left.inline,
.right.inline {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
}

.left { text-align: left; }

.center { text-align: center; }

.justify { text-align: justify; }

.right { text-align: right; }

.background,
.parallax-background {
    position: absolute;
    z-index: 0;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent no-repeat center;
    background-size: cover;
}

.parallax-background {
    bottom: -150px;
    -webkit-transition-property: none;
    transition-property: none;
}

.section--dark {
    background-color: #f7f7f7;
    color: #000;
}

.section--dark h2 {
    color: #c2970a;
}

.section--light {
    background-color: #fff;
    color: #111;
}

.section--light h2 {
    color: #004684;
}

.inner {
    width: 80%;
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.content {
    font-size: 1rem;
    line-height: 2;
    font-weight: 400;
    color: #333;
}

.inner.content {
    padding: 80px 0;
}

.inner.content--top { padding-bottom: 0 !important; }

.inner.content--bottom { padding-top: 0 !important; }

/* ==========================================================================
   Header
   ========================================================================== */

#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    margin: auto;
    border-bottom: 1px solid transparent;
    z-index: 100;
    -webkit-transition-property: background-color, border-color, box-shadow;
    transition-property: background-color, border-color, box-shadow;
    -webkit-transition-duration: .6s;
    transition-duration: .6s;
}

#header.header-animate {
    -webkit-transition-property: all;
    transition-property: all;
}

#header.nav-open,
#header.white-theme {
    border-bottom-color: #f6f6f6;
    background-color: #fff;
}

#header-left,
#header-right {
    display: inline-block;
    vertical-align: middle;
    padding: 30px 0;
    position: relative;
}

#header-left { text-align: left; width: 20%; }

#header-right { text-align: right; width: 80%; }

#hamburger {
    cursor: pointer;
    font-size: 20px;
    height: 26px;
    width: 20px;
    position: absolute;
    right: 0; top: 50%; margin-top: -13px;
    text-align: center;
    color: #fff;
    display: none;
}

#hamburger > span {
    display: block;
    margin: 5px 0;
    height: 2px;
    background: #222;
}

#hamburger > span:nth-child(1) {
    transform-origin: 0 0;
}

#hamburger > span:nth-child(3) {
    transform-origin: 0 100%;
}

#header.nav-open #hamburger > span { background-color: #000; }

#header.nav-open #hamburger > span:nth-child(1) {
    transform: translateX(4px) rotateZ(45deg);
}

#header.nav-open #hamburger > span:nth-child(2) {
    transform: translateX(-4px) scale(1.1);
    opacity: 0;
}

#header.nav-open #hamburger > span:nth-child(3) {
    transform: translateX(4px) rotateZ(-45deg);
}

#nav > a {
    display: inline-block;
    vertical-align: middle;
    font-size: .95rem;
    text-decoration: none;
    color: #222;
    margin-left: 5%;
    text-transform: uppercase;
}

#nav > a:hover {
    color: #004684;
}

#logo {
    width: 50px;
    height: 50px;
}

/* ==========================================================================
   section:hero
   ========================================================================== */

@-webkit-keyframes hero-content_entry {
    from { opacity: 0; -webkit-transform: translateY(30px); }
}

@keyframes hero-content_entry {
    from { opacity: 0; transform: translateY(30px); }
}

@-webkit-keyframes hero-content_tagline_pseudo_entry {
    from { opacity: 0; -webkit-transform: scaleX(0); }
}

@keyframes hero-content_tagline_pseudo_entry {
    from { opacity: 0; transform: scaleX(0); }
}

#hero {
    height: 100%;
    max-height: 1600px;
    min-height: 600px;
    position: relative;
    background: #f8f8f8;
    overflow: hidden;
    text-align: center;
}

#hero-background {
    background-image: url("/assets/img/background_hero.jpg");
    -webkit-animation: fade-in 2s ease;
    animation: fade-in 2s ease;
}

#hero-content {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
    -webkit-animation: hero-content_entry .8s ease;
    animation: hero-content_entry .8s ease;
}

#hero-content_title {
    color: #c2970a;
    letter-spacing: 1px;
    font-size: 4.8rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 45px;
}

#hero-content_tagline {
    font-family: "Roboto Slab", serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #333;
    font-weight: 400;
    margin-top: 10px;
    position: relative;
}

#hero-content_tagline:before,
#hero-content_tagline:after {
    content: "";
    position: absolute;
    top: 50%; width: 162px;
    margin: 0 15px;
    height: 1px;
    background: #333;
    -webkit-animation: hero-content_tagline_pseudo_entry 1s ease;
    animation: hero-content_tagline_pseudo_entry 1s ease;
}

#hero-content_tagline:before {
    right: 100%;
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
}

#hero-content_tagline:after {
    left: 100%;
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
}

#hero-content_btn {
    font-size: 1.2rem;
    font-weight: 400;
    display: block;
    margin-top: 40px;
    padding: 15px 50px;
    text-decoration: none;
    color: #333;
    border: 2px solid #444;
    text-transform: uppercase;
}

#hero-content_btn:hover {
    color: #fff;
    background: #0e2f4e;
    border-color: #0e2f4e;
}

#hero-content_btn:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}

/* ==========================================================================
   section:about
   ========================================================================== */

#about { }

#about a.btn-second {
    text-align: center;
    padding-top: 40px;
    width: 300px;
    margin-top: 45px;
    margin-right: 20px;
}

#about a.btn-second h3 {
    color: #fff;
    padding: 10px;
    display: inline-block;
}

#about a.btn-second > .fa-newspaper-o {
    font-size: 44px;
    color: #004684;
    background-color: #fff;
    border-radius: 100%;
    width: 85px;
    height: 85px;
    padding-top: 17px;
    display: block;
    position: absolute;
    margin: -72px 0px 0 94px;
    border: 4px solid;
}
#about a.btn-second > .fa-external-link {
    display: block;
    text-align: right;
    margin-top: 7px;
}

#about a.btn-second:hover > .fa-newspaper-o {
    border-color: #095394;
    color: #095394;
}

/* ==========================================================================
   section:testimonials
   ========================================================================== */

#testimonials {
    position: relative;
    text-align: center;
}

#testimonials-carousel {
    max-width: 1010px;
}

.testimonial {
    font-size: .89rem;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    padding: 30px 62px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    margin: 10px 20px;
    color: #111;
    text-align: justify;
    max-width: 460px;
    vertical-align: middle;
    display: inline-block;
}

.testimonial:before,
.testimonial:after {
    font-family: 'icomoon';
    font-size: 18px;
    color: #c2970a;
    display: inline-block;
    text-align: center;
    width: 50px; line-height: 50px;
    position: absolute;
    top: 50%; margin-top: -25px;
}

.testimonial:before {
    content: "\e977";
    left: 10px;
}

.testimonial:after {
    content: "\e978";
    right: 10px;
}

.testimonial > strong:before { content: "- "; }

.testimonial > strong {
    display: block;
    color: #444;
    margin-top: 12px;
    font-size: .8rem;
    text-align: right;
    font-style: italic;
}

/* ==========================================================================
   section:services
   ========================================================================== */

#services { }

.ramsey::after {
  content: '';
  display: inline-block;
  width: 200px;
  height: 35px;
  padding: 3px 0;
  background: url(../img/elp_lockup.png) no-repeat 10px -6px;
  background-size: 186px;
}

/* ==========================================================================
   section:staff
   ========================================================================== */

#staff {
    text-align: center;
}

#staff-members-carousel {
    padding: 0 20px;
}

#staff-members-carousel .slick-slide {
    vertical-align: top;
}

.staff-member {
    display: inline-block;
    text-align: center;
    padding: 15px;
    width: 33.3333%;
    -webkit-transition-duration: .7s;
    transition-duration: .7s;
}

/* previous slides */
.staff-member.slick-slide {
    -webkit-transform: perspective(1000px) rotateY(10deg) scale(.9);
    transform: perspective(1000px) rotateY(10deg) scale(.9);
    opacity: 0.1;
}

/* next slides */
.staff-member.slick-current ~ .staff-member {
    -webkit-transform: perspective(1000px) rotateY(-10deg) scale(.9);
    transform: perspective(1000px) rotateY(-10deg) scale(.9);
}

/* current slides */
.staff-member.slick-current {
    -webkit-transform: perspective(1000px);
    transform: perspective(1000px);
    opacity: 1;
}

.staff-member_avatar {
    width: 130px;
    height: 130px;
    display: inline-block;
    position: relative;
}

.staff-member_avatar:after {
    content: "";
    position: absolute;
    bottom: 0px; right: 0px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #fff url("/assets/img/logo.png") no-repeat center;
    background-size: 50%;
}

.staff-member_avatar > img {
    width: inherit; height: inherit;
    background: #222;
    border-radius: 50%;
}

.staff-member_name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    margin-top: 25px;
}

.staff-member_bio {
    font-size: .85rem;
    font-weight: 400;
    text-align: justify;
    margin-top: 10px;
    color: #000;
    line-height: 1.7;
}

.staff-member_bio_expand { }

.staff-member_bio_hidden {
    display: none;
}

/* ==========================================================================
   section:investments
   ========================================================================== */

#investments { }

#investments { font-size: 0; }

#investments-carousel {
    padding: 0 30px;
}

.investment {
    display: inline-block;
    height: 110px;
    margin: 30px 50px;
    background: #fff no-repeat center;
    background-size: contain;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition-property: -webkit-filter;
    transition-property: -webkit-filter, filter;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
}

.investment:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

/* ==========================================================================
   section:social
   ========================================================================== */
#social {
    text-align: center;
}

#social-btns {
    font-size: 0;
}

.social-btn {
    display: inline-block;
    color: #000;
    background: #0b2c4a;
    text-decoration: none;
    width: 23%;
    margin: 1%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-btn > * {
    display: block;
}

.social-btn > i {
    padding: 60px 50px;
    font-size: 50px;
    text-align: center;
    color: #fff;
}

.social-btn:hover > i {
    -webkit-transform: translateY(-12px);
    transform: translateY(-12px);
}

.social-btn > span {
    color: #fff;
    line-height: 40px;
    font-size: .8rem;
    letter-spacing: .4px;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    opacity: 0;
    background: rgba(20, 20, 20, 0.5);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
}

.social-btn:hover > span {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

#social-linkedin:hover {
    background-color: #0077b5;
}

#social-facebook:hover {
    background-color: #3b5998;
}

#social-twitter:hover {
    background-color: #1da1f2;
}

#social-instagram:hover {
    background-color: #e1306c;
}

/* ==========================================================================
   section:contact
   ========================================================================== */

#contact { }

#contact-form {
    position: relative;
}

#contact-form.is-sending {
    -webkit-pointer-events: none;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes contact-form-overlay_component_entrance {
    0% { opacity: 0; transform: translateY(20px); }
}

#contact-form-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
}

#contact-form-overlay > i {
    font-size: 65px;
    line-height: 70px;
    color: #004684;
    display: block;
}

#contact-form-overlay > span {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    display: block;
    margin-top: 20px;
}

#contact-form.is-submitted #contact-form-overlay {
    visibility: visible;
    opacity: 1;
}

#contact-form.is-submitted #contact-form-overlay > * {
    animation: contact-form-overlay_component_entrance .4s ease;
}

#contact-form.is-submitted #contact-form-overlay > span {
    animation: contact-form-overlay_component_entrance .5s ease;
}

/* ==========================================================================
   section:info
   ========================================================================== */
#info {
    text-align: center;
    padding: 80px 0;
    background: #fff;
}

#info > .background {
    background-image: url("/assets/img/background_info.jpg");
/*    opacity: 1;*/
}

.info-item_wrapper { }

.info-item {
    color: #fff;
    margin: 15px 0;
    display: inline-block;
}

.info-item:hover {
    color: #c2970a;
}

.info-item_icon,
.info-item_text {
    display: inline-block;
    vertical-align: middle;
    /* prevent double color animation
        when color is inherited from parent */
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
}

.info-item_icon {
    font-size: 20px;
    width: 60px;
    text-align: center;
}

.info-item_text {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: .5px;
    width: 100%;
    margin-left: -60px;
    padding-left: 60px;
    text-align: left;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
    background: #000;
    position: relative;
    padding: 30px 0;
    text-align: center;
    text-transform: uppercase;
    font-size: .8rem;
    color: #fff;

    /* pixel fix on mobile */
    margin-top: -1px;
}

@media screen and (min-width: 1025px) {
    #nav { display: block !important; }
}

@media screen and (max-width: 1024px) {
    html { font-size: 16px; }

    h2 {
        line-height: normal;
        margin-bottom: 40px;
    }

    .inner { width: 84%; }

    .inner.content { padding: 60px 0; }

    .content { line-height: 1.7; }

    .left.inline,
    .right.inline {
        text-align: left;
        display: block;
        width: 100%;
    }

    #header { padding: 30px 0; }

    #header-left,
    #header-right {
        display: block;
        width: 100%;
        padding: 0;
    }

    #logo {
        width: 40px;
        height: 40px;
    }

    #nav { display: none; }

    #nav > a {
        padding: 8px 0;
        margin: 0;
        display: block;
        text-align: center;
    }

    #hamburger { display: inline-block; }

    #hero-background {
        -webkit-transform: none !important;
        transform: none !important;
    }

    #hero-content_title { font-size: 4rem; }

    #hero-content_tagline:before, #hero-content_tagline:after { width: 94px; }

    #hero-content_tagline { font-size: 1.2rem; }

    #hero-content_btn {
        border-width: 2px;
        font-size: 1rem;
    }

    .staff-member { padding: 10px 30px; }

    #staff-members-carousel,
    #testimonials-carousel {
        width: 100%;
        max-width: 100%;
    }

    .social-btn {
        width: 46%;
        margin: 1%;
    }
}

@media screen and (max-width: 776px) {
    #hero-content_title { margin-top: 10px; }

    #hero-content_tagline:before,
    #hero-content_tagline:after { display: none; }
}

@media screen and (max-width: 500px) {
    h2 { font-size: 1.8rem; }

    h3 { font-size: 1.2rem; }

    #hero-content_title { font-size: 3.4rem; }

    #hero-content_tagline { font-size: .93rem; }

    #hero-content_btn { padding: 12px 45px; }

    .investment { margin: 10px 30px; }

    .social-btn {
        margin: 4px 0;
        width: 100%;
    }

    .info-item > span { font-size: 1rem; }
}

@media screen and (max-width: 400px) {
    h2 { font-size: 1.6rem; }

    #hero-content_title { font-size: 2.9rem; }

    #hero-content_tagline { font-size: .81rem; }

    #hero-content_btn { padding: 10px 30px; }
}
