/* Typography */
h1, h2, h3, h4 {
    font-weight: 900;
    font-family: 'Raleway', sans-serif;
}
h1 {
    font-size: 60px;
    line-height: 66px;
}
p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0;
}
/* Buttons */
.btn-primary {
    background: #EBA645;
    border: 1px solid #EBA645;
    padding: 12px 22px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}
.form-button {
    z-index: 100;
}
.btn-primary:active,
.btn-primary:hover {
    background-color: #ffb246;
    border-color: #ffb246;
}
.btn-previous,
.btn-next {
    background-color: transparent;
    border: none;
}
.button-disabled {
    opacity: 0.4;
}
/* Elements */
.card {
    background: #fff;
    padding: 40px;
    max-width: 100%;
}
.card__wrapper {
    padding: 12px;
}
.card .content {
    margin-left: 28px;
}
.card__row {
    display: flex;
    align-items: flex-start;
}
.card-title {
    font-size: 18px;
    line-height: 20px;
}


.form {
    background: #fff;
    padding: 30px 40px 50px;
    max-width: 100%;
}
.form__thank-you {
    min-width: 456px;
    height: 365px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.thanks-header {
    margin-bottom: 0;
}
.thanks-check {
    width: 28px;
    margin-left: 4px;
}
.form__thanks-row {
    display: flex;
    align-items: center;
}
.form-header {
    font-size: 26px;
    margin-bottom: 4px;
}
.form p {
    margin-bottom: 20px;
}
.form .form-item {
    margin-bottom: 12px;
}
.form .label {
    margin-bottom: 6px;
    font-size: 14px;
}
.form input[type="text"] {
    border: 1px solid #BABABA;
    padding: 12px 16px;
    width: 100%;
}
input[type="checkbox"] {
    margin-top: 6px;
    margin-right: 6px;
}
.form .error {
    font-size: 14px;
}
.input-error {
    border: 1px solid red !important;
}
.checkbox-row {
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
}


.error,
.error-message {
    color: #BE0101; 
    font-weight: bold;
}
.error-message {
    margin-top: 12px;
}
/* Navigation */
.main__navigation {
    box-shadow: 0px 12px 16px rgb(60, 60, 60, 0.11);
    padding: 20px 0;
}
footer {
    background: #001B2F;
    padding: 80px 0 60px;
    color: #fff;
}
footer a {
    text-decoration: none;
    color: #fff;
}
footer .name {
    font-weight: bold;
    margin-bottom: 8px;
}
footer .router-link-active {
    color: #fff;
}
.footer-logo {
    margin-bottom: 20px;
}
footer h4 {
    font-size: 20px;
}
footer .disclaimer {
    font-size: 14px;
    margin-top: 30px;
}
/* Home */
.home__hero {
    padding-bottom: 30%;
    height: auto;
    /* height: calc(100vh - 81.19px); */
    /* background: url('../assets/images/hero-bg.svg') no-repeat; */
    /* background-size: cover; */
    position: relative;
    text-align: center;
}
.home__hero-vector {
    background: url('../assets/images/hero-bg.svg') no-repeat;
    /* background-size: 100% 360.74px; */
    background-position: bottom center;
    background-size: contain;
    /* height: 360px; */
    height: 0;
    padding-top: 21%;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.home__vector-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.team-photo {
    display: block;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

.team-video {
    background: url('../assets/images/iphone-mockup-blk.png') no-repeat;
    background-position: bottom center;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    z-index: 100;
    bottom: 0;
}

.team-video iframe {
    margin-top: 60px;
}
.home__arrow {
    position: absolute;
    right: 320px;
    top: 100px;
}
.home__hero h1 {
    padding-top: 24px;
    line-height: 58px;
}
.home__hero .btn-primary {
    margin-top: 30px;
}
.home__button-wrapper {
    display: flex;
    justify-content: center;
}
.home__videos,
.home__leadgen,
.home__culture {
    padding: 60px 0 100px;
}

.video-paragraph {
    max-width: 870px;
    margin: 0 auto 30px;
}

.home__culture h3 {
    margin: 30px 0 0;
}

/* Videos */
.videos__gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.prev-button,
.next-button {
    padding: 26px;
}
.next-button,
.next-sm {
    transform: rotate(180deg);
}
.thumbnail-wrapper {
    width: calc(25% - 30px);
    height: 622px;
    margin: 12px;
}
.thumbnail-wrapper img {
    border-radius: 6px;
    width: 100%;
}
.active-thumbnail img {
    border: 3px solid #EBA645;
}
.videos__thumbs-section {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
.videos__thumbs {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}
.active-video {
    width: 542px;
    max-width: 100%;
    margin: 0 auto;
}
.videos__pagination-mobile {
    display: none;
}
.videos__button-group button {
    border: none;
    background-color: #fff;
    margin: 0;
    padding: 0;
}
/* Sections */
.section__basic {
    position: relative;
}
.vector-right,
.vector-left {
    position: absolute;
}
.vector-right {
    right: 46px;
    top: 46px;
}
.vector-left {
    left: 46px;
    bottom: 46px;
}
.get-started .content {
    margin-right: 100px;
}
.get-started .section__row {
    padding: 95px 0 0;
}
.get-started .section__row,
.marketing .section__row {
    display: flex;
    align-items: center;
    
}
.marketing .section__row {
    padding: 135px 0;
}
.get-started h1 {
    max-width: 352px;
}
.placeholder {
    background: #969292;
    width: 100%;
    /* width: 483px;
    max-width: 100%; */
    height: 323px;
}
.home__reasons,
.home__success,
.home__videos,
.home__culture {
    background: #E3E3E3;
}
.home__reasons {
    padding: 60px 0 100px;
}
.reasons__row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}
.home__reasons h1 {
    text-align: center;
    /* margin-bottom: 30px; */
}
.technology .section__row,
.marketing .section__row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-top: 135px;
}
.technology .content {
    margin-left: 100px;
}
.marketing .content {
    margin-left: 50px;
}
.home__success {
    padding-top: 92px;
}
.home__success .text-content {
    margin-right: 155px;
}
.home__success-checklist {
    background: #fff;
    border: 2px solid #D1CFCF;
    border-radius: 10px 10px 0 0;
    width: 100%;
}
.home__success-checklist .header {
    background: #007FDD;
    border-radius: 8px 8px 0 0;
    padding: 24px 28px;
    color: #fff;
}
.home__success-checklist .header h3 {
    font-size: 24px;
    margin-bottom: 0;
}
.home__success-row {
    display: flex;
    align-items: center;
}
.home__success-checklist .checklist {
    padding: 24px 28px 36px;
}
.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.checklist-item p {
    font-family: 'Raleway', sans-serif;

}
.checklist-item  .check {
    margin-right: 6px;
}
.home__form {
    background: #0075C0;
    background-image: url('../assets/images/form-vector-bg.svg');
    background-repeat: no-repeat;
    background-position: bottom right;
    position: relative;
}
.home__form .content {
    color: #fff;
}
.form-vector {
    position: absolute;
    top: 0;
    left: 0;
}
.home__form-row {
    display: flex;
    align-items: center;
    padding: 96px 0;
}
.home__form-reasons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.home__form-reason {
    max-width: 170px;
}
.home__form-reason h3 {
    font-size: 18px;
}
.home__form-reason img {
    margin-bottom: 12px;
}
.home__form-reason:last-child img {
    height: 56px;
}
.form-arrow {
    position: absolute;
    bottom: 40px;
    left: calc(50%);
    /* right: 500px; */
}
.form .btn-primary {
    margin-top: 30px;
    width: 100%;
}
.section__main-image {
    z-index: 100;
}

.leadgen .section__row {
    display: flex;
    align-items: center;
    padding: 120px 0 120px;
}

.leadgen .content {
    margin-right: 20px;
}

.home__culture .content {
    max-width: 740px;
    margin: 0 auto;
}

.video-main {
    max-width: 560px;
    width: 100%;
    height: 315px;
    margin: 0 auto;
}

.home__redirect {
    background: #F8F5F5;
    border: 1px solid #CECDCD;
    border-radius: 6px;
    padding: 24px 40px 36px;
    max-width: 368px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    margin-top: 50px;
}

.home__redirect-title {
    font-size: 18px;
    color: #004568;
}

.leadgen .section__main-image {
    width: 100%;
    max-width: 500px;
    /* margin: 30px 10px 0; */
}


@media (max-width: 899px) {
    h1 {
        font-size: 40px;
        line-height: 46px;
    }
    .home__hero h1 {
        line-height: 46px;
    }
    footer {
        padding: 40px 20px 80px;
    }
    .form-arrow {
        left: calc(36%);
    }
    
    .videos__pagination-mobile {
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .videos__gallery .prev-button,
    .videos__gallery .next-button {
        display: none;
    }
    .videos__thumbs {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .videos__gallery {
        flex-direction: column-reverse;
        margin: 80px 18px 0;
    }
    .videos__thumbs-section {
        padding-top: 0;
    }
    
    .videos__gallery .thumbnail-wrapper img {
        margin: 0;
        width: 110px;
        height: 68px;
    }
    .videos__gallery .thumbnail-wrapper {
        margin-bottom: 16px;
    }
    .thumbnail-wrapper {
        width: calc(45% - 10px);
        margin: 4px;
    }
    .prev-sm, 
    .next-sm {
        height: 11px;
        margin-top: -2px;
    }
    .prev-sm {
        margin-right: 6px;
    }
    .next-sm {
        margin-left: 4px;
    }
    .videos__gallery .previous {
        margin-right: 30px;
    }
    .videos__button-group {
        display: flex;
    }
    .videos__pagination {
        color: #7C7C7C;
    }
    .card {
        padding: 16px 12px 24px;
    }
    .card img{
        width: 60px;
    }
    .technology .content,
    .marketing .content {
        margin-left: 40px;
    }
    .section__main-image {
        width: 260px;
    }
    .home__success .text-content {
        margin-right: 30px;
    }
    .home__arrow {
        right: 80px;
        top: 310px;
    }
    .home__success-checklist {
        min-width:300px;
    }
    .home__hero {
        padding-bottom: 88%;
    }
    .home__hero-vector {
        padding-top: 28%;
    }
}


@media (max-width: 499px) {
    .home__hero {
        padding-bottom: 88%;
    }
    .team-video iframe {
        height: 300px;
        width: 250px;
        margin-left: 2px;
    }
    h1 {
        font-size: 30px;
        line-height: 36px;
    }
    .home__hero .btn-primary {
        width: 100%;
    }
    .home__hero .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .main__navigation {
        padding: 16px 0;
    }
    .main__nav-logo {
        width: 108px;
    }
    .home__hero-vector {
        background: url('../assets/images/hero-bg-mobile.svg') no-repeat;
    }
    .home__hero h1 {
        padding-top: 30px;
        font-size: 25px;
        line-height: 30px;
    }
    .home__arrow {
        right: 20px;
        top: 160px;
        height: 100px;
    }

    .thumbnail-wrapper {
        width: 100%;
        margin: 16px;
    }
   
    .marketing .section__row {
        padding: 106px 20px;
    }
    .get-started .section__row {
        padding: 106px 20px 0;
    }
    .get-started .vector-right {
        display: none;
    }
    .vector-left {
        left: 20px;
        bottom: 20px;
    }
    .vector-right {
        right: 20px;
        top: 20px;
    }
    .get-started .content,
    .home__success .text-content {
        margin-right: 0;
    }
    .technology .content,
    .marketing .content {
        margin-left: 0;
    }

    .card img {
        width: 56px;
    }
    .card .content {
        margin-left: 12px;
    }
    .technology .section__row, 
    .marketing .section__row,
    .get-started .section__row,
    .home__success-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .get-started .content p,
    .technology .content p,
    .marketing .content p {
        margin-bottom: 40px;
    }
    .home__success-checklist {
        margin-top: 40px;
    }
    .home__form-row {
        flex-wrap: wrap;
        padding: 53px 0 130px;
    }
    .home__form .content {
        z-index: 100;
        padding: 0 20px;
    }
    .home__form-reason {
        margin-right: 16px;
    }
    .home__form-reason h3 {
        font-size: 12px;
        line-height: 16px;
    }
    .home__form-reasons {
        margin-bottom: 30px;
        margin-top:10px;
    }
    .home__form {
        background-size: 100% 217px;
    }
    .home__hero .vector-right {
        display: none;
    }
    .form-arrow {
        bottom: 0;
        top: 230px;
        left: calc(72%);
        transform: scaleX(-1) rotate(150deg);
        width: 100px;
    }

    footer h4 {
        margin-top: 20px;
    }
    
    .active-video {
        width: 95vw;
    }
    .videos__gallery {
        margin: 50px 18px 0;
    }

    .leadgen .section__row {
        flex-wrap: wrap;
    }

    .leadgen .content {
      margin: 0 10px;
    }

    .leadgen .section__main-image {
        padding: 30px 20px;
    }

    
}