* {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #3E3E3E;
}

/*================
OLD CONTACT CSS (still in use in some pages)
 =================*/

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
}

.contact > div {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1040px;
    margin: 100px 0 140px 0;
    align-items: center;
}

.contact > div .left {
    flex: 0 0  50%;
}

.contact .left h2 {
    position: relative;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    margin: 0 0 60px 0;
    box-sizing: border-box;
    padding: 0;
    color: #3E3E3E;
}

.contact h2 b,
.contact p b {
    font-weight: 700;
}

.contact h2 b {
    display: block;
}

.contact .left h2:after {
    content: ' ';
    position: absolute;
    width: 48px;
    height: 5px;
    left: 0;
    bottom: -20px;
    background: #169FF2;
    border-radius: 3px;
}

.contact .cover {
    width: 100%;
    background: linear-gradient(134.71deg, rgba(224, 245, 255, 0.5) -0.5%, rgba(246, 238, 255, 0.5) 76.8%, rgba(232, 213, 255, 0.5) 98.45%);
    border-radius: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
    padding: 24px 12px 12px 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contact .cover img {
    max-height: 284px;
    width: 100%;
    object-fit: scale-down;
}

.contact p {
    padding: 0 32px 24px 0;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    box-sizing: border-box;
    color:#3E3E3E;
}

.contact p.download {
    padding: 24px 32px 12px 0;
}

.contact h3 {
    max-width: 360px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 19px;
    line-height: 26px;
    color: #3E3E3E;
}

.contact .card {
    background: linear-gradient(134.71deg, rgba(0, 176, 255, 0.977355) -0.5%, #861FFC 76.33%, #861FFC 98.45%);
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    margin: 0 0 0 40px;
    box-sizing: border-box;
    padding: 44px 60px;
    position: relative;
    /* flex: 0 0 50%; */
    flex: 1 1  50%;
    overflow: hidden;
}

.contact .card.download {
    margin-top: 108px;
    align-self: flex-start;
}

.contact .card .sent {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,1);
    display:none;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 44px;
    border-radius: 8px;
}

.contact .card .sent.show {
    display:flex;
}

.contact .card .sent .button {
    max-width: 320px;
    width: 100%;
}

.contact .card .sent h2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
}

.contact .card .sent h2:first-child {
    margin-top: 56px;
}

.contact .card .sent p {
    padding: 0;
    text-align: center;
    max-width: 320px;
}

.contact .card .button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-decoration: none;
    height: 48px;
    background: linear-gradient(134.71deg, rgba(0, 176, 255, 0.977355) -0.5%, #861FFC 76.33%, #861FFC 98.45%);
    border-radius: 8px;
    border: none;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
    margin-top: 40px;
}

.contact .card form {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.contact .card form .element {
    position: relative;
    align-self: stretch;
    height: 44px;
    border-radius: 4px;
    margin-bottom: 32px;
}

.contact .card form input[type="text"],
.contact .card form textarea {
    font-family: 'Open Sans';
    font-size: 17px;
    position: absolute;
    content: '';
    background-color: #fff;
    left:1px;
    right:1px;
    top:1px;
    bottom:1px;
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
    padding: 0 12px;
    outline: none;
}

.contact .card form h2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 19px;
    line-height: 26px;
    color: #FFFFFF;
    margin: 0 0 44px 0;
}

.contact .card form .element.text {
    height: 96px;
}

.contact .card form textarea {
    resize: none;
    padding: 8px 12px;
}

.contact .card form input[type="text"]::placeholder,
.contact .card form textarea::placeholder {
    color: rgba(107, 107, 107, 0.45);
    font-family: 'Open sans';
}

.contact .card form .terms {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact .card form .terms .checkbox {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 4px 0 0 0;
}

.contact .card form .terms .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 16px;
    width: 16px;
    left: -3px;
    top: -2px;
    z-index: 1;
}

.contact .card form .terms .checkbox input ~ .checkmark {
    border-radius: 4px;
}

.contact .card form .terms .checkbox input:checked ~ .checkmark {
    background-color: #fff;
    border: 1px solid #fff;
 }

.contact .card form .terms .checkbox input:checked ~ .checkmark::after {
   content: "";
}

.checkbox .checkmark::after {
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #169FF2;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    overflow: hidden;
}

.contact .card form .terms .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    border: 1px solid transparent;
    transition: background-color .25s ease;
    border: 1px solid #fff;
}

.contact .card form .terms .checkmark::before {
    position: absolute;
    content:  ' ';
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    border-radius: 4px;
}

.contact .card form .terms p {
    font-family: 'Open Sans';
    font-style: normal;
    color: #3E3E3E;
    font-weight: 400;
    font-size: 8.5px;
    line-height: 12px;
    padding: 0 0 0 6px;
    margin: 0;
    color: #FFFFFF;
}

.contact .card form .terms p > a {
    font-family: 'Open Sans';
    font-style: normal;
    font-size: 8.5px;
    line-height: 12px;
    text-decoration-line: none;
    color: #fff;
    font-weight: 700;;
}

.contact .card form input[type="submit"] {
    align-self: stretch;
    height: 48px;
    background: #FFFFFF;
    border-radius: 8px;
    border: none;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #169FF2;
    cursor: pointer;
}

.contact ul {
    margin: 40px 0 24px 0;
    padding: 0 0 0 52px;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.contact .left ul.download {
    margin-top: 28px;
}

.contact ul > li {
    margin: 0 0 20px 0;
    padding: 0;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #3E3E3E;
    width: auto;
    position: relative;
}

.contact ul > li:before {
    position: absolute;
    display: flex;
    content: " ";
    background: url(/assets/images/list-bullet-check.svg) no-repeat;
    width: 18px;
    height: 18px;
    left: -52px;
    top: 2px;
}

.contact .hr {
    margin: 0 0 48px 0;
    position: relative;
    width: 100%;
    height: 1px;
}

.contact .hr hr {
    border-top: 0.5px solid #B1A8A8;
    position: absolute;
    left: -48px;
    right: 24px;
}

/*===============
NEW CONTACT STYLE (used for the contact us page)
 ================*/

.contact > div:has(.contactForm) {
    display: block;
    max-width: 1312px;
    margin: 100px 0;
}

/* Contact card */
.contact .contactForm .card {
    background: #DEF2FE;
    box-shadow: none;
    margin: 50px 0 0 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 25px 60px 60px 60px;
    flex: none;
    width: 100%;
    max-width: 689px;
    border-radius: 15px;

}

.contact .contactForm .card form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 40px;
}

.contact .contactForm .card form > div.element {
    display: block;
}

.contact .contactForm .card form label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #666666;
}

.contact .contactForm .card form textarea {
    margin-top: 10px;
    position: relative;
    box-sizing: border-box;
    padding: 16px;
    gap: 10px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}

.contact .contactForm .card form input[type="text"] {
    position: relative;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}

.contact .contactForm .card form .terms {
    margin: 0;
}

.contact .contactForm .card form .terms p {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #3E3E3E;
}

.contact .contactForm .card form .terms a {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
    text-decoration-line: underline;
    color: #169FF2;
}

/* Style for the checkmark*/
.contact .contactForm .card form .terms .checkbox {
    padding: 0 !important;
}

.contact .contactForm .card form .terms .checkmark, .contact .contactForm .card form .terms .checkbox input:checked ~ .checkmark {
    position: relative;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border: 1.5px solid #169FF2;
    border-radius: 4px;
    margin: 0;
    display: block;
}

.contact .contactForm .card form .terms .checkmark::after {
    position: absolute;
    left: 6px;
    top: 2px;
}

.contact .contactForm .card form input[type="submit"] {
    height: 56px;
    background: #169FF2;
    border-radius: 8px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    transition: all ease 0.2s;
}

.contact .contactForm .card form input[type="submit"]:hover {
    transform: scale(1.05);
}

/* ========================================
   NEWS SECTION
   ======================================== */

.homepageNews {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.homepageNews .news-swiper-container {
    background: none;
}

.homepageNews .cards {
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: row;
    z-index: 1;
    width: 100%;
    padding-bottom: 24px;
    margin-top: 50px;
}

.homepageNews .cards .swiper-slide {
    flex: 0 0 33%;
    align-self: stretch;
}

.homepageNews .cards .card {
    display: flex;
    position: relative;
    background: #FFFFFF;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 20px;
    padding: 0 0 28px 0;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 10px;
    box-shadow: none;
}

.homepageNews .card {
    transition: .2s;
    text-decoration: none;
    text-align: left;
}

.homepageNews .card:hover {
    transform: scale(1.05);
    transition: .2s;
}

.homepageNews .cards .card img {
    width: 100%;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.homepageNews .cards .card > div {
    height: 224px;
    padding: 0 28px;
}

.homepageNews .cards .card > div h4 {
    font-family: 'Open Sans';
    font-style: normal;
    color: #979797;
    font-weight: 600;
    font-size: 11px;
    line-height: 15px;
    margin: 16px 0 0 0;
    align-items: center;
    display: flex;
    gap: 5px;
}

.homepageNews .cards .card > div h3 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #3E3E3E;
    margin: 24px 0;
}

.homepageNews .cards .card > div p {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #3E3E3E;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* News Card Links */
.homepageNews .cards .card .link {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    align-self: flex-start;
    text-decoration: none;
    padding: 0 24px;
}

.homepageNews .cards .card > .link.blog {
    color: #9116F2;
}

.homepageNews .cards .card > .link.case {
    color: #169FF2;
}

.homepageNews .cards .card > .link.tutorial {
    color: #FB9403;
}

.homepageNews .cards .card > .link.whitepaper {
    color: #FF0088;
}

.homepageNews .cards .card > .link svg {
    margin-left: 4px;
}

.homepageNews .bullets {
    display: none;
}

.homepageNews .button {
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid rgba(62, 62, 62, 0.08);
    box-shadow: 0px 1px 5px rgba(62, 62, 62, 0.1);
    border-radius: 7px;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #3E3E3E;
    transition: all ease 200ms;
    width: fit-content;
    padding: 0 30px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.homepageNews .button:hover {
    transform: translateX(-50%) scale(1.05);
}

#formConfirmation {
    display: none;
}

#formConfirmation > .socials {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

#formConfirmation > .socials a {
    box-sizing: border-box;
    height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 26px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    color: #3E3E3E;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    padding-right: 15px;
}

#formConfirmation > .socials a svg {
    width: 57px;
}


@media only screen and (max-width: 1120px) {

    .contact {
        box-sizing: border-box;
        padding: 0 36px;
    }

    .news-swiper-container {
        overflow: hidden;
    }

    .homepageNews .cards {
        padding-bottom: 30px;
        justify-content: flex-start;
    }

    .homepageNews .cards > div:last-child {
        display: block;
    }

    .homepageNews .swiper-container.scroll-show {
        transform: translateY(0);
        opacity: 1;
    }

    .homepageNews .cards .swiper-slide {
        flex: 0 0 100%;
        box-sizing: border-box;
        padding: 0 28px;
    }

    .homepageNews .cards .card {
        position: relative;
        background: #FFFFFF;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.25);
        border-radius: 5px;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
        margin:0;
        height: 100%;
    }

    .homepageNews .cards .card img {
        width: 100%;
        position: relative;
        border-radius: 8px 8px 0 0;
    }

    .homepageNews .cards .card > div {
        height: 286px;
        margin-left: 20px;
        width: calc(100% - 40px);
        padding: 0;
    }

    .homepageNews .cards .card > div h4 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 11px;
        line-height: 15px;
        margin: 16px 0 0 0;
    }

    .homepageNews .cards .card > div h3 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        color: #3E3E3E;
        margin: 24px 0;
        width: 100%;
        max-width: 100%;
    }

    .homepageNews .cards .card > div p {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
    }

    .homepageNews .cards .card > div > a {
        display: flex;
        flex-direction: row;
        align-items: center;
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 15px;
        line-height: 20px;
        color: #9116F2;
        text-decoration: none;
    }

    .homepageNews .cards .card > div > a svg {
        margin-left: 4px;
    }

    .homepageNews .bullets {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        list-style: none;
        transform: translateY(0);
        opacity: 1;
    }

    .homepageNews .swiper-pagination-ba {
        bottom: 0;
        justify-content: center;
        display: flex;
        gap: 8px;
    }

    .homepageNews .swiper-pagination-bullet {
        height: 10px;
        width: 10px;
        border-radius: 6px;
        border: 1px solid  #9116F2;
        background-color: transparent;
        opacity: 1;
        margin: 2px;
    }

    .homepageNews .swiper-pagination-bullet-active {
        background-color: #9116F2;
    }

    .homepageNews .button.scroll-show {
        transform: translateY(0);
        opacity: 1;
    }
}

@media only screen and (max-width: 667px) {

    .contact {
        padding: 0;
    }


    .contact .contactForm {
        padding: 0 15px;
    }

    .contact > div {
        margin: 48px 0 40px 0;
        flex-direction: column;
    }

    .contact > div .left {
        flex: 0 0 auto;
        box-sizing: border-box;
        padding:  0 28px 0 28px;
    }

    .contact .left .grid {
        row-gap: 30px;
        column-gap: 30px;
        place-content: center;
    }

    .contact > div .left hr {
        position: relative;
        left: inherit;
        right: inherit;
        margin: 0 0 0 0;
    }

    .contact .left h2 {
        position: relative;
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 25px;
        line-height: 34px;
        margin: 0 0 40px 0;
        box-sizing: border-box;
        padding: 0 0 16px 0;
        opacity: 1;
    }

    .contact .left h2:after {
        left: 0px;
        bottom: 0;
        width: 24px;
    }

    .contact .left h3 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 17px;
        line-height: 23px;
        color: #3E3E3E;
        margin: 20px 0 32px 0;
    }

    .contact .left img {
        width: 100%;
    }


    .contact p {
        padding: 0 0 24px 0;
    }

    .contact .left ul {
        margin-bottom: 36px;
    }

    .contact .left ul.download {
        margin-bottom: 0;
    }


    .contact .card {
        margin: 40px 28px 0 28px;
        padding: 36px 24px;
        opacity: 1;
        flex: 0 0 auto;
    }

    .contact .card .sent {
        padding: 32px;
    }

    .contact .card .sent h2:first-child {
        margin-top: 24px;
    }

    .contact .card .sent .button {
        flex: 0 0 auto;
        width: 200px;
        margin-top:32px;
    }

}