@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700,900');
@import url('https://fonts.googleapis.com/css?family=Poppins:500,600,700,800');
html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #243D7F;
    background: linear-gradient(to bottom, #FFFFFF 20%, #DDDDDD 100%) fixed;
}

input, select, textarea, label, .transcript {
    font-family: 'Roboto', sans-serif;
}

.header-title {
    font-weight: 800;
    /* margin: 0em -1em!important; */
    /* padding: 0.5em 0; */
    margin: 1rem 0 2rem;
    font-size: 3.4em;
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1em;
}

.header-title em {
    color: #243D7F;
    font-style: normal;
}

h1 {
    text-transform: uppercase;
}

h2 {
    font-size: 1.5em;
    font-weight: 800;
    letter-spacing: -1px;
    padding: .7em 0 .3em;
}

h4 {
    font-size: 1.3em;
    letter-spacing: -1px;
}

h5 {
    font-size: 1.1em;
}

main h3 {
    margin-top: 1.5em
}

p {
    text-align: justify;
    line-height: 1.7em;
}

header {
    position: relative;
    padding: 1em 0;
    background: #243D7F;
    color: #FFF;
    font-size: 0.8em;
}

header img {
    width: 300px;
    height: auto;
    margin-bottom: 5px;
}

.header-call-us a {
    color: #fdc91d;
    text-decoration: none;
}

header h4 {
    font-size: 1.5rem;
}

.hero-image {
    /* width: calc(100% + 30px); */
    padding-left: 0;
    padding-right: 0;
}

.hero-image img {
    object-fit: cover!important;
}

.yt-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    /* margin-bottom: 30px */
}

.yt-video-embed video {
    position: absolute;
    width: 100%!important;
    height: 100%!important
}

.yt-video-embed video {
    cursor: pointer;
}

.yt-video-embed video:focus {
    outline: none;
}

main>.container {
    background: #FFF;
}

.intro {
    background: #243d7f;
    background: linear-gradient(90deg, #243d7fe9 0%, #243d7fe9 100%) , url('img/img-clc.jpg') no-repeat center center;
    color: #FFF;
    padding: 1em 0;
}

.intro a {
    color: #EEE;
}

.intro-text {
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.03em;
    font-size: 2.8em;
    padding: 0.5em 0 0 1em;
}

main {
    background: #F0F0F0;
    padding: 3em 1.5em 6em;
    overflow: hidden;
}

main>.container {
    border-radius: 0.5em;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1rem;
}

footer {
    padding: 1.3em 0 5px;
    background: #243D7F;
    border-top: 3px solid #fdc91d;
    color: #FFF;
    font-size: 0.8em;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: block;
    width: 100%;
}

.home-footer {
    position: relative;
    bottom: auto;
    left: auto;
}

footer img {
    width: 300px;
    height: auto;
    margin-bottom: 5px;
}

footer a {
    color: #fdc91d;
}

footer a:hover {
    color: #FFF;
    text-decoration: none;
}

.btn {
    border-radius: 50px!important;
    text-transform: uppercase;
}

.btn-primary {
    background: #F17400;
    color: #243D7F;
    font-weight: 800;
    padding-left: 1em;
    padding-right: 1em;
    white-space: normal;
    line-height: 1em;
    transition: all 0.3s;
    border: 1px solid #F17400;
}

.btn-primary:hover {
    transition: all 0.3s;
    background: linear-gradient(to top, #243D7F 20%, #0F64A6 100%);
    border: 1px solid #0F64A6;
}

.btn-secondary {
    padding: 0.5em 2em;
    border: 2px solid #243D7F;
    color: #FFF;
    background: #243D7F;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #FFF;
    color: #243D7F;
    border-color: #243D7F;
}

hr {
    border: 2px solid #eee;
}

.btn-cta {
    font-size: 1.4em!important;
    padding: 0.7em 2em;
    border-radius: 50px;
    background: #F17400;
    border: 2px solid #F17400;
    color: #FFF;
    text-transform: uppercase;
}

.btn-cta:hover {
    border: 2px solid #243D7F;
    color: #FFF;
    background: #243D7F;
}

.gdpr {
    font-size: 0.8em;
}

small {
    font-size: 70%;
}

.cfc {
    padding: 2em;
    margin: 0 -30px;
    font-size: 1.07em;
    background: #F9F9F9;
}

.cfc h4 {
    font-size: 1.1em;
    text-align: center;
    padding-bottom: 1em;
}

.cfc h4 strong {
    font-size: 1.3em;
}

.cfc a {
    /* color: #fdc91d; */
    color: #243D7F;
    text-decoration: underline;
}

.overlay {
    z-index: 9998;
    background: rgba(17, 29, 62, .7);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    opacity: 0;
    transition: opacity .5s
}

.overlay.on {
    display: block;
    opacity: 1;
    transition: opacity .5s
}

.loading {
    position: fixed;
    top: calc(50% - 120px);
    left: calc(50% - 250px);
    border-radius: 150px;
    z-index: 9999;
    color: #FFF;
    text-align: center;
    font-size: 3em;
}

.please-wait {
    left: calc(50% - 140px);
}

h1 span {
    font-size: 0.84em;
    display: block;
}
.more-referrals .referral-fields {
    animation: fadein 0.5s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.transcript {
    padding: 2em;
    margin: 2em;
    border: 1px solid #CCC;
    text-align: center;
}

.transcript ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transcript ul li {
    margin-bottom: 1em;
}

.transcript ul li u {
    display: block;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 1em;
}

/* Media Queries */

@media(max-width: 767px) {
    body {
        font-size: 1rem;
    }
    footer {
        position: relative;
    }
    h1, h2, h3, h4, h5 {
        text-align: center;
    }
    h1.intro-text {
        font-size: 1.35em;
        line-height: 1em;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 1.43em;
        line-height: 1em;
        margin-bottom: 0.5em;
    }
    h3 {
        font-size: 1.25em;
        line-height: 1.1em;
        margin-bottom: 1em;
    }
    .header-title {
        font-size: 2em;
        margin: 0rem 0 1rem;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        height: 6em;
        z-index: 1000;
        border-bottom: 1px solid #fdc91d;
    }
    h3.header-call-us {
        padding: 0.5em 0 0;
        margin: 0;
        font-size: 1.5em;
    }
    header h4 {
        font-size: 1rem;
    }
    .btn-cta {
        padding: 0.6em 1em;
    }
    .cfc h4 {
        padding: 0 0 1em;
    }
    .btn-primary {
        font-size: 1.2em;
    }
    main {
        padding: 4.5em 0 0;
    }
    main>.container {
        border-radius: 0;
    }
    p {
        line-height: 1.4em;
    }
    .intro {
        font-size: 1.1em;
        padding: 1em;
    }
    .btn-cta {
        font-size: 1.3em!important;
        margin-top: 1em;
    }
    .more-referrals .referral-fields {
        border-top: 1px solid #DDD;
        padding-top: 1em;
        margin-top: 0.5em;
    }
}