html {
    // font-size: 62.5%; /* Now 10px = 1rem! */
    font-size: 57.5%;
}

html,
body {
    height: 100%;
}

.navbar {
    padding: 1rem 0 0 0;
    z-index: 3;
    &.scroll {
        background-color: rgba(0, 0, 0, 0.9);
        transition: background 1s;
    }
    @media(max-width: $screen-lg) {
        background-color: rgba(0, 0, 0, 0.9);
    }
    &.back-white {
        .nav-link {
            color: #000!important;
        }
        @media(min-width: $screen-lg) {
            .navbar-brand {
                background-image: url(/images/capita-logo-black.svg);
            }
        }
    }
    &.scroll {
        .navbar-brand {
            background-image: url(/images/capita-logo.svg)!important;
        }
        .nav-link {
            color: #fff!important;
        }
        .mask-black {
            background-color: #fff!important;
        }
    }
}

#language {
    color: #fccd20!important;
    border: 2px solid $yellow-efe;
    border-radius: .5rem;
    font-weight: 700;
    padding: .5rem 1.3rem;
    line-height: 2.5rem;
    text-transform: uppercase;
    &:hover {
        background-color: $yellow-efe;
        color: #000!important;
    }
}

// .navbar-brand {
//     background-image: url(/images/capita-logo.svg);
//     background-size: contain;
//     background-repeat: no-repeat;
//     width: 230px;
//     height: 85px;
//     background-position: left center;
//     @media(max-width: $screen-md) {
//         height: 70px;
//     }
// }

.home {
    max-height: 100%;
    height: 100%;
    width: 100%;
    background-color: #000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 8rem;
    @media(max-width: $screen-md) {
        padding-top: 6rem;
        min-height: 800px;
    }
    @media(max-width: $screen-sm) {
        background-size: auto calc(100% - 9rem)!important;
        background-position: 80% center!important;
    }
}

.quotecalculator {
    max-height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 10rem;
    padding-bottom: 3rem;
    @media(max-width: $screen-md) {
        padding-top: 6rem;
        height: auto!important;
    }
    @media(max-width: $screen-sm) {
        background-size: auto calc(100% - 9rem)!important;
        background-position: 80% center!important;
    }
    @media(min-width: $screen-md) {
        max-height: auto;
    }
}

#page-content {
    flex: 1 0 auto;
    p {
        font-size: 2rem;
    }
}

body {
    background-color: #fff !important;
    font-family: $font-family-sans-serif;
    font-size: 2.4rem;
    line-height: initial;
    font-weight: 400;
    background-color: #fff!important;
    -webkit-touch-callout: text;
    /* iOS Safari */
    -webkit-user-select: text;
    /* Safari */
    -khtml-user-select: text;
    /* Konqueror HTML */
    -moz-user-select: text;
    /* Old versions of Firefox */
    -ms-user-select: text;
    /* Internet Explorer/Edge */
    user-select: text;
}

* {
    font-size: 1.4rem;
    line-height: initial;
}

a {
    cursor: pointer!important;
}

p {
    font-family: "Assistant", sans-serif;
    margin-bottom: 2rem;
    line-height: 2.3rem;
}

.font-weight-medium {
    font-weight: 500;
}

.form-control {
    font-family: Tahoma, sans-serif!important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: "Assistant", sans-serif;
}

h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #4E4E4E;
    line-height: 4rem;
    margin-bottom: 3rem;
    @media(max-width: $screen-md) {
        margin-bottom: 1.5rem;
        font-size: 3rem;
    }
}

p.subtitle {
    font-size: 2rem!important;
    line-height: 4rem!important;
}

.strip-whitesmoke {
    background-color: $whitesmoke;
    p {
        color: #4D4D4D;
    }
    &.dashed {
        background-image: url(/images/dashed-orange.svg);
        background-repeat: repeat-x;
        background-position: center;
        background-size: 90rem;
    }
}

.strip-whitesmoke {
    background-color: $whitesmoke;
}

.btn {
    cursor: pointer!important;
    font-family: "Assistant", sans-serif;
    font-weight: 600;
    width: auto;
    padding: 0.8rem 2.5rem;
    font-size: 1.7rem;
    text-transform: uppercase;
    border-radius: 2.5rem;
    outline: none;
    &.btn-white {
        background-color: #fff !important;
        color: #000 !important;
        &:hover {
            background-color: $yellow-efe !important;
        }
    }
    &.btn-yellow {
        background-color: $yellow-efe !important;
        color: #000 !important;
        &:hover {
            background-color: $yellow !important;
        }
    }
    &.btn-dark-yellow {
        background-color: $yellow !important;
        color: #000 !important;
        &:hover {
            background-color: #d69b00 !important;
        }
    }
    &.btn-orange {
        background-color: $orange !important;
        color: #fff !important;
        &:hover {
            background-color: #b04a15 !important;
            color: #fff !important;
        }
    }
    &.btn-black {
        background-color: #000 !important;
        color: #fff;
        &:hover {
            color: $yellow-efe !important;
        }
    }
    &.btn-medium {
        padding: 0.5rem 2rem;
        font-size: 1.6rem;
    }
    &.btn-disabled {
        background-color: #999999 !important;
        color: #000 !important;
        &:hover {
            background-color: #999999 !important;
            color: #000 !important;
        }
    }
    &.btn-green {
        background-color: #0EC62A !important;
        color: #fff !important;
        &:hover {
            background-color: #0b9620 !important;
        }
    }
    &.btn-yellow-cta {
        font-size: 2rem;
        padding-right: 5rem;
        display: inline-block;
        vertical-align: middle;
        background-color: #FCCD20;
        -webkit-transform: perspective(1px) translateZ(0);
        transform: perspective(1px) translateZ(0);
        position: relative;
        -webkit-transition-property: color;
        transition-property: color;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        border: transparent;
        border-radius: 25px;
        background-image: url(/images/icons/play-cta.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right center;
        transition: background 0.5s;
        transition-timing-function: ease;
        &:hover {
            background-color: #fff;
        }
        &.btn-white {
            background-color: #fff;
            background-image: url(/images/icons/play-cta-inv.svg);
            &:hover {
                background-color: #E2B821;
            }
        }
    }
}

$base-font-inc: 0.5rem;
@for $i from 1 through 6 {
    .display-#{$i} {
        font-size: (((7 - $i) * $base-font-inc) + $base-font-inc) !important;
        line-height: (((7 - $i) * $base-font-inc) + $base-font-inc) + 0.8rem !important;
    }
}

.email-address,
.phone-number {
    & a:before {
        vertical-align: bottom;
        font-weight: 900;
        color: $yellow-efe;
        font-size: 1.5rem;
        width: 2rem;
        height: 2rem;
        content: " ";
        display: inline-block;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin-right: 1rem;
    }
    &.phone-number a:before {
        background-image: url(/images/icons/phone.svg);
    }
    &.email-address a:before {
        background-image: url(/images/icons/mailing.svg);
    }
}

footer {
    font-family: "Assistant", sans-serif;
    font-weight: 400;
    background-color: #212121;
    a {
        color: #fefefe;
        font-size: 1.8rem;
        &:hover {
            color: #fff;
        }
    }
    h5 {
        font-weight: 600 !important;
        color: #fff;
        font-size: 2.3rem;
        &:after {
            content: "";
            width: 6rem;
            height: 0.1rem;
            background-color: #545b62;
            display: block;
            margin-top: 0.8rem;
            margin-bottom: 2rem;
        }
    }
    ul#address {
        padding: 0;
        list-style: none;
        color: #fefefe;
        font-size: 1.7rem;
        p {
            font-size: 1.7rem;
        }
        li {
            &:before {
                vertical-align: bottom;
                font-weight: 900;
                color: $yellow-efe;
                font-size: 1.5rem;
                width: 2rem;
                height: 2rem;
                content: " ";
                display: inline-block;
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
            }
            &.location:before {
                vertical-align: top;
                background-image: url(/images/icons/location.svg);
                margin-top: 0.5rem;
                height: 2.4rem;
            }
            &.call:before {
                background-image: url(/images/icons/phone.svg);
            }
            &.email:before {
                background-image: url(/images/icons/mailing.svg);
            }
            &.hours:before {
                background-image: url(/images/icons/clock.svg);
            }
            &:not(:last-child) {
                margin-bottom: 0.5rem;
            }
        }
    }
    ul#quick-links {
        margin: 0;
        padding: 0;
        list-style: none;
        li:not(:last-child) {
            margin-bottom: 1rem;
        }
    }
    #small-letters {
        * {
            color: white;
            line-height: 1.7rem;
            font-size: 1rem;
        }
        a {
            font-family: "Montserrat", sans-serif;
            font-weight: 400;
            color: $yellow-efe;
            font-size: 1.1rem;
            i {
                color: $yellow-efe;
            }
        }
        .align-self-center {
            margin-left: auto;
            margin-right: auto;
        }
        .googlereview {
            img {
                max-width: 10rem;
            }
        }
    }
}

.border-grey-top {
    border-top: 1px solid #545b62;
}

.text-inherit {
    font-size: inherit;
}

.bottom-line-break {
    &.centered {
        &:after {
            content: " ";
            width: 30%;
            display: block;
            height: 15px;
            border-radius: 1rem;
            background-size: contain;
            background-position: center;
            background-color: transparent;
            background-image: url(/images/icons/line-break.svg);
            background-repeat: no-repeat;
            margin: 0 auto;
            margin-top: 2rem;
        }
    }
}

.cursor-pointer {
    cursor: pointer!important;
}

.play-video {
    position: relative;
    cursor: pointer!important;
    display: block;
    &:after {
        content: " ";
        background-image: url(/images/icons/play-button.svg);
        width: 75px;
        height: 75px;
        display: block;
        position: absolute;
        background-position: center;
        background-size: cover;
        left: calc(50% - 38px);
        top: calc(50% - 38px);
    }
}

.social {
    margin: 0;
    padding: 0;
    li {
        display: inline-block;
        &:not(:last-child) {
            margin-right: 1.3rem;
        }
    }
    .facebook,
    .twitter,
    .linkedin,
    .email,
    .whatsapp {
        width: 2.2rem;
        height: 2.2rem;
        display: block;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-color: #fccd20;
        mask-position: center;
        -webkit-position: center;
        -webkit-mask-repeat: no-repeat;
        -webkit-size: contain;
        mask-repeat: no-repeat;
        mask-size: contain;
        &.facebook {
            -webkit-mask-image: url('/images/icons/fb.svg');
            mask-image: url('/images/icons/fb.svg');
        }
        &.twitter {
            -webkit-mask-image: url('/images/icons/twitter.svg');
            mask-image: url('/images/icons/twitter.svg');
        }
        &.linkedin {
            -webkit-mask-image: url('/images/icons/linkedin.svg');
            mask-image: url('/images/icons/linkedin.svg');
        }
        &.whatsapp {
            -webkit-mask-image: url('/images/icons/whatsapp.svg');
            mask-image: url('/images/icons/whatsapp.svg');
        }
        &.email {
            -webkit-mask-image: url('/images/icons/mailing.svg');
            mask-image: url('/images/icons/mailing.svg');
        }
        &:hover {
            background-color: #fff;
        }
        &.mask-black {
            background-color: #000;
            &:hover {
                background-color: $yellow-efe;
            }
        }
    }
}

.arrow {
    h4 {
        display: inline-block;
        width: calc(100% - 3rem);
        vertical-align: top;
    }
    &:before {
        content: " ";
        background-image: url(/images/icons/arrow.svg);
        background-repeat: no-repeat;
        background-position: -1rem 0;
        display: inline-block;
        width: 2rem;
        height: 2rem;
        @media(min-width: $screen-sm) {
            margin-left: -2rem;
        }
    }
}

.linkedin-link img {
    width: 2.7rem;
    margin: 0 auto;
}

.btn-gray {
    background-color: #80808038;
}

.btn-linkedin img {
    height: 2.5rem;
    vertical-align: top;
}

.testimonial-text {
    min-height: 11rem;
}

.strip-gray {
    background-color: #212121;
    border-color: #3b3b3b!important;
    color: #cec8c8;
    p {
        font-family: "Montserrat"!important;
        font-size: 1.4rem!important;
    }
    a {
        color: $yellow-efe;
        font-size: inherit;
        font-family: inherit;
    }
}

.navbar-toggler {
    background-color: transparent;
    height: 3rem;
    width: 3rem;
    background-image: url('/images/icons/open-menu.svg');
    line-height: 3;
}

.nav-item {
    .nav-link {
        color: #ffffff!important;
        font-size: 2rem;
    }
    &:not(:last-child) {
        margin-right: 1.5rem;
    }
}

.text-yellow {
    color: $yellow;
}

.bg-super-dark {
    background-color: #000;
}

.text-underlinded {
    text-decoration: underline;
}

#contacto {
    background-color: #61A0D5;
    input,
    textarea {
        background-color: transparent;
    }
    .alert {
        font-size: 1.6rem;
        line-height: 2.1rem;
        border: 0;
        border-radius: 0;
        background-color: #9fcdff;
        display: none;
        &.alert-danger {
            color: #e42b2b;
        }
        &.alert-success {
            color: green;
        }
    }
    .iti--separate-dial-code .iti__selected-dial-code,
    .iti__country {
        color: #fff!important;
    }
}

#nprogress .bar {
    background-color: $yellow!important;
}

#selfModal {
    .modal-body {
        padding: 0;
    }
}

#become-expert {
    h3 {
        font-weight: 500;
        font-size: 2.8rem;
        color: #2E2E2E;
    }
    p {
        font-weight: 500;
    }
    background-color: $yellow-efe;
}

#most-frequent {
    h3 {
        font-weight: 500;
        font-size: 2.8rem;
        color: #2E2E2E;
    }
    p {
        font-weight: 500;
    }
    background-color: $whitesmoke;
    ul {
        @media(min-width: $screen-md) {
            margin: 2rem 0 0 0;
            padding: 0;
            -webkit-columns: 2;
            -moz-columns: 2;
            columns: 2;
        }
        padding-left: 0;
        list-style:none;
        li {
            list-style-position: inside;
            -webkit-column-break-inside: avoid;
            page-break-inside: avoid;
            break-inside: avoid;
            background-color: #fff;
            padding: 2rem;
            margin-bottom: 1rem;
            border-radius: 0.3rem;
            height: 8rem;
            @media(max-width: $screen-md) {
                padding: 1rem;
                height: auto;
            }
            img {
                display: inline-block;
                width: 4rem;
                margin-right: 1rem;
                @media(max-width: $screen-md) {
                    width: 3rem;
                }
            }
            p {
                width: calc(100% - 7rem);
                vertical-align: middle;
            }
        }
    }
}

.highlight-shadow {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(163, 160, 163, 0.23);
    -moz-box-shadow: 0px 0px 5px 0px rgba(163, 160, 163, 0.23);
    box-shadow: 0px 0px 5px 0px rgba(163, 160, 163, 0.23);
}

.close {
    position: absolute;
    z-index: 1;
    top: 1rem;
    right: 1rem;
    outline: none;
    span {
        width: 2.5rem;
        height: 2.5rem;
        z-index: 1;
        display: block;
        background-repeat: no-repeat;
        background-size: contain;
    }
}

.title-description-highlight {
    font-size: 5rem!important;
    line-height: 5.5rem!important;
    @media(max-width: $screen-sm) {
        font-size: 3rem!important;
        line-height: 3.5rem!important;
        font-size: 2rem!important;
        line-height: 2.5rem!important;
    }
}

.title-description {
    font-size: 3.5rem!important;
    line-height: 4rem!important;
    @media(max-width: $screen-sm) {
        font-size: 2.8rem!important;
        line-height: 3.3rem!important;
    }
}

.title-paragraph,
.footer-description {
    font-size: 2.7rem!important;
    line-height: 3rem!important;
    @media(max-width: $screen-sm) {
        font-size: 2.5rem!important;
        line-height: 3rem!important;
    }
}

.offer {
    @media(min-width: $screen-md) {
        padding: 0 4rem;
    }
    .offer-icon {
        margin: 0 auto;
        display: block;
        text-align: center;
        margin-bottom: 1.5rem;
        img {
            max-height: 70px;
            width: auto;
        }
    }
    h3 {
        padding: 0 3.5rem;
        @media(max-width: $screen-md) {
            padding: 0;
        }
    }
}

h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.strip-growing {
    background-image: url(/images/backgrounds/growth-bg.jpg);
    background-color: #62ADEB;
    padding: 2rem 0;
    background-size: cover;
    background-position: center center;
    padding: 8rem 0;
}

.strip-back {
    background-color: #242424;
    background-color: #242424;
    background-image: url(/images/icons/dashed-line.svg);
    background-repeat: no-repeat;
    background-position: -15% 90%;
    background-size: 88rem;
    @media(max-width: $screen-lg) {
        background-size: 44rem;
    }
}

.carousel-testimonial {
    .item {
        padding-top: 2rem;
        &:hover:before {
            background-color: #000;
        }
        &:before {
            content: " ";
            height: 3rem;
            width: 4rem;
            display: block;
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            top: 0rem;
            left: 2rem;
            background-color: $yellow-efe;
            -webkit-mask-size: container;
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-image: url('/images/icons/quote-sign.svg');
            mask-image: url('/images/icons/quote-sign.svg');
        }
    }
}

.testimonial-box {
    border: 1px solid #7070703d;
    border-radius: 1.7rem;
    padding: 2rem 4rem;
    text-align: center;
    &:hover {
        background-color: $yellow-efe;
    }
    .testimonial-author {
        .name {
            font-size: 1.6rem!important;
        }
        .testimonial-company {
            font-size: 1.7rem!important;
        }
    }
}

.ceo-thumbnail {
    max-width: 15rem;
}


/*.owl-nav{
  position: absolute;
  top: 25%;
  width: 100%;
}
.owl-prev,
.owl-next{
    position: absolute;
    outline: none!important;
    span{
      font-size: 6rem;
    }

    &.owl-prev{
      float: left;
      left: -2.5rem;
    }

    &.owl-prev{
      float: right;
      right: -2.5rem;
    }
}*/

.owl-carousel.owl-issues.owl-loaded,
.owl-carousel.owl-eos-books.owl-loaded {
    margin: 0;
}

.owl-nav {
    position: absolute;
    top: 0;
    width: 100%;
    bottom: 0;
    z-index: 1!important;
}

.owl-nav span {
    font-size: 8rem!important;
    color: #818182a6;
}

.owl-prev,
.owl-next {
    outline: none!important;
    position: absolute;
    font-size: 8rem;
    color: #818182a6;
}

.owl-prev {
    top: 3.5rem;
    left: -2.5rem;
}

.owl-next {
    top: 3.5rem;
    right: -2.5rem;
}

button.owl-dot {
    span {
        background-color: #ccc;
        display: inline-block;
        width: 15px;
        height: 15px;
        margin-right: 5px;
        border-radius: 100%;
    }
    &.active {
        span {
            background-color: rgba(115, 115, 115, 0.85)!important;
        }
    }
}

.floating-label-field {
    font-size: 1.8rem;
    width: 100%;
    border-width: 0;
    color: rgba(#2c3e50, .8);
    &:focus {
        outline: 0;
        box-shadow: 0;
    }
    &::placeholder {
        color: transparent;
    }
}

.floating-label-field {
    border-bottom: 2px solid rgba(white, .9);
    background-color: transparent;
    color: rgba(white, 1);
}

.floating-label-field {
    &+.floating-label {
        transition: transform .25s, opacity .25s ease-in-out;
        transform-origin: 0 0;
        opacity: 1;
        position: relative;
        left: 0;
        top: -3rem;
        color: white;
        font-size: 1.8rem;
    }
}

.floating-label-field {
    &:focus,
    &:not(:placeholder-shown) {
        border-color: rgba(white, .1);
        margin-bottom: 0.5rem;
        &+.floating-label {
            transform: translate(1%, -30%) scale(.8);
            opacity: 0.9;
            top: -4.5rem;
            font-size: 1.6rem;
        }
    }
}

.capita-map {
    background-size: cover;
    background-color: #08133E;
    h2 {
        color: #fff;
    }
}

.bg-green {
    * {
        color: white;
    }
    background-color: #2FB716!important;
    background-size: cover;
    @media(max-width: $screen-md) {
        img {
            max-width: 5rem;
            text-align: center;
            margin: 0 auto 1.5rem 0;
        }
    }
}

.bg-blue {
    * {
        color: white;
    }
    background-size: cover;
    background-color: #61A0D5!important;
    @media(max-width: $screen-md) {
        img {
            max-width: 5rem;
            text-align: center;
            margin: 0 auto 1.5rem 0;
        }
    }
}

@media(max-width: $screen-sm) {
    #facebook-bubble {
        background-image: url(/images/icons/facebook-bubble.svg);
        height: 60px;
        width: 60px;
        display: block;
        z-index: 2;
        background-color: #000;
        position: fixed;
        bottom: 0;
        background-size: 63%;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 100%;
        right: 2.8rem;
        bottom: 10rem;
        -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
        -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
        box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.16);
        @media(max-width: $screen-md) {
            bottom: 2rem;
        }
    }
}

.modal-body {
    .checkmark {
        background-color: #dedede;
    }
}