/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* roboto-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* roboto-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v47-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* roboto-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v47-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  



:root{
    --textColor: #282828;
    --medBlueGrey: #54617d;
    --white: #fff;
    --mainBlue: #006ab3;
    --mainViolet: #532c7d;
    --lightBlueGrey: #dee5ea;
    --lightVioletGrey: #e8deea;
    --lightOrangeGrey: #eae4de;
}
html{
    font-size: 16px;
}
body{
    font-size: 1.125rem;
    font-family: "Roboto", sans-serif;
    line-height: 1.5;
    color: var(--textColor);
    padding: 0;
    margin: 0;
}


.page--wrapper{
    width: 100dvw;
    overflow-x:hidden;
}

.row{
    padding: 5rem 0;
}

.container{
    display: flex;
    flex-wrap: wrap;

    & > .col{
        width: 100%;
    }
}

.has--img-right, .has--img-left{
    /* first col is img, last col is text */

    .col + .col{
        margin-top: -45%;
    }
}

.has--text{
    padding: 0 1.5rem;
    position: relative;
}

.image{
    display: block;
    padding: 0;
    margin: 0;

    img{
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
    }
}


h2{
    font-size: 3.25rem;
    -webkit-text-fill-color: var(--mainBlue);
    -webkit-text-stroke: 4px;
    paint-order: stroke fill;
    color: #fff;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
}
#sm h2{
    -webkit-text-fill-color: var(--mainViolet);
}

/* this is just a sleek subline! */
h3{
    color: var(--medBlueGrey);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin: 1rem 0 1rem;
}
ul + h3{
    margin-top: 4rem;
}

ul.has--bullets{
    margin: 0 0 1rem 0;
    padding: 0;

    li{
        position: relative;
        margin-bottom: 0.3rem;
        padding-left: 1rem;
        list-style-type: none;
    }

    li::before{
        width: 8px;
        height: 8px;
        position: absolute;
        top: 10px;
        left: 0;
        display: block;
        background: var(--mainBlue);
        content: "";
        transform: rotate(45deg);
    }

    li .is--short, li.is--short{
        display: block;
        max-width: 240px;
        box-sizing: border-box;
    }
}

@media screen and (max-width:390px){
    ul.has--bullets li .is--short{
        max-width: 220px;
    }

    ul.has--bullets li.is--short{
        width: 200px;
    }
}

ul.has--bullets.bullets--violet li::before{
    background: var(--mainViolet);
}


.button--rotated.button--large{
    width: 150px;
    height: 150px;
    display: block;
    color: var(--textColor);
    transform: rotate(45deg);
    box-sizing: border-box;
    position: absolute;
    text-decoration: none;
}
.button--rotated{
    background: var(--lightBlueGrey);

    .button--text{
        font-size: 1rem;
        line-height: 1.3;
        display: block;
        transform-origin: center;
        transform: rotate(-45deg);
        margin-top: 72px;
        text-align: right;
        margin-right: 41px;
    }

    .button--text::before{
        position: absolute;
        top: 130%;
        right: 5px;
        width: 40px;
        height: 2px;
        background: #333;
        content: "";
        display: block;
        transform: translate3d(-5px,0,0);
        opacity: 0;
        transition: 0.33s ease-in-out 0.5s;
    }

    .button--text::after{
        width: 0;
        height: 0;
        border: 4px solid transparent;
        border-left: 8px solid #333;
        content: "";
        position: absolute;
        top: calc(130% - 3px);
        right: -3px;
        transform: translate3d(-5px,0,0);
        opacity: 0;
        transition: 0.33s ease-in-out 0.5s;
    }
}
#srd .button--large{
    background: var(--lightOrangeGrey);
}
#sm .button--large{
    background: var(--lightVioletGrey);
}



/* position optimisation */
@media screen and (max-width: 393px){
    #btnAboutSrd{ top: 77%!important; }
    #SmBiometrics{ top: 44% !important}
}
@media screen and (max-width: 377px){
    #btnAboutSrd{ top: 61%!important }
    #srdEarlyphase{ top: 37%!important; }
    #SmBiometrics{ top: 49%!important }

}

@media screen and (max-width: 365px){
    #btnAboutSrd{ top: 60%!important }
    #srdCpu1{ top: 31%!important; right: -40px!important;}
    #srdPhase34{ right: -40px!important;}
    #smEdcEcrf{ top: 33% !important; }
    #smCdm{ top: 74% !important }
    #smPv{ top: 51% !important }
}

@media screen and (min-width: 400px){
    #smPv{top: 61%!important; right: -22px!important; }
}
@media screen and (min-width: 412px){
    .preventBreakOnLarge{
        display: none;
    }
    #smPv{top: 58%!important; }
}

.is--in-viewport{
    .button--rotated .button--text::before,
    .button--rotated .button--text::after{
        opacity: 1;
        transform: translate3d(0,0,0);
    }
}

.button--rotated.button--medium{
    width: 110px;
    height: 110px;
    display: block;
    background: var(--lightBlueGrey);
    color: var(--textColor);
    transform: rotate(45deg);
    box-sizing: border-box;
    position: absolute;
    text-decoration: none;

    .button--text{
        font-size: 1rem;
        line-height: 1.3;
        display: block;
        transform-origin: center;
        transform: rotate(-45deg);
        margin-top: 42px;
        text-align: right;
        margin-right: 21px;
    }

    .button--text::before{
        position: absolute;
        top: 130%;
        right: 5px;
        width: 40px;
        height: 2px;
        background: #333;
        content: "";
        display: block;
    }

    .button--text::after{
        width: 0;
        height: 0;
        border: 4px solid transparent;
        border-left: 8px solid #333;
        content: "";
        position: absolute;
        top: calc(130% - 3px);
        right: -3px;
    }
}



.has--img-left .has--text{
    padding-left: 4rem;
}


.website--footer{
    padding: 4rem 2rem 8rem 2rem;
    background: var(--textColor);
    color: #ccc;
    font-size: 0.875rem;
    text-align: center;
}
.footer--claim{
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.footer--links{
    display: flex;
    justify-content: space-between;

    a{
        width: 48%;
    }
}

.website--footer a{
    color: #fff;
}
.footer--logo{
    max-width: 200px;
    display: block;
    margin: 0 auto 2rem auto;

    img{
        width: 100%;
        height: auto;
        display: block;
    }
}
.footer--legal{

    a{
        padding: 0.5rem;
    }
}






/**
    The Contact Layer Styles

*/
#contactOverlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    visibility: hidden;
    transition: 0.33s ease-in-out;
}


.contact-layer-expanded #contactOverlay{
    opacity: 1;
    visibility: visible;
}

#contactLayer{
    width: 100dvw;
    height: 120px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;

    .contactItem{
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        visibility:hidden;
        height: 100%;
        position: absolute;
        width: 100%;
        transition: 0.3s ease-in-out;
    }
    .contactItem.current{
        opacity: 1;
        visibility:visible;
    }

    .contactItem img{
        width: 120px;
        height: auto;
        position: absolute;
        top: 0;
        left: 1rem;
        z-index: 1100;
    }

    .contactButton{
        display: block;
        position: absolute;
        top: 30px;
        height: 60px;
        width: calc(100% - 80px - 1rem);
        left: 80px;
        box-shadow: 0 0 3px rgba(0,0,0,0.7);
        background: var(--white);
        padding-left: 82px;
        font-size: 0.875rem;
        line-height: 1.2;
        text-decoration: none;
        color: var(--textColor);
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        box-sizing: border-box;

        strong, span{
            width: 100%;
        }
    }

    .contactExpansion{
        display:none;
    }


    .contactExpansion a{
        display: block;
        margin: 0 0 0.5rem 5rem;
        font-size: 1rem;
        text-decoration: none;
        color: var(--textColor);
        padding: 0.5rem 0 0.5rem 2.5rem;
        background: url('../assets/icon-linkedin.svg') no-repeat center left;
        background-size: 30px auto;
    }
    .contactExpansion a.contact--mail{
        background-image: url('../assets/icon-email.svg');
    }
    .contactExpansion a.contact--vcf{
        background-image: url('../assets/icon-vcf.svg');
    }
}
#contactLayer.expanded{
    height: 320px;


    .current{

        .contactButton{
            box-shadow: none;
        }

        .contactExpansion{
            display: block;
            height: 280px;
            box-sizing: border-box;
            padding-top: 120px;
            background-color: var(--white);
            box-shadow: 0 0 3px rgba(0,0,0,0.7);
            width: calc(100% - 80px - 1rem);
            margin-left: 80px;
        }
    }
    
}





#banner{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    z-index: 2000;
    display: block;
    background: #fff;
    box-shadow: -1px 0 5px rgba(0,0,0,0.7);
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0,2rem,0);
    transform: translate3d(0,2rem,0);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

/* prevent body from scrolling, if the banner is visible */
.banner--in{
    overflow: hidden;
}

.banner--in #banner{
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.banner--inner{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.banner--content{
    width: 100%;
    height: 160px;
    font-size: 0.875rem;
}
.banner--content-heading{
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}



.banner--actions{
    width: 100%;
    height: 70px;
    padding-bottom: 1rem;


    form{
        display: flex;
        height: 100%;
        justify-content: space-between;
        width: 100%;
    }
    .banner--action{
        width: 45%;
        border: 0;
        border-radius: 0;
        background: var(--lightBlueGrey);
        font-family: "Roboto", sans-serif;
    }

    .banner--action-deny{
        background: var(--lightVioletGrey);
    }
}




.legal--header{
    padding: 1rem;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);

    a{
        text-decoration: none;
        color: var(--mainBlue);
    }
}
.legal{

    .col{
        padding: 1rem;
    }

    h4{
        font-size: 1.25rem;
        font-weight: 500;
        margin-bottom: 2rem;
    }

    p{
        i, strong{display: block;}
    }
}