_front_page.scss 4.67 KB
.header{
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 30rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    @media only screen and (max-width: 48.875rem) {
        min-height: 16.25rem;
    }

    img{
        width: 100%;
        height: auto;
    }
    h1{
        color: #fff;
        margin: auto;
        display: flex;
        font-size: 3.125rem;
        line-height:3.4375rem ;
        margin-bottom: 1.25rem;
        width: 100%;
        max-width: 34.375rem;
        font-weight: bold;
        text-align: left;
        margin-left: 0rem;
        margin-top: 0rem;
        @media only screen and (max-width: 48.875rem) {
            font-size: 1.125rem;
            line-height:1.375rem ;
        }
    }
    h1:lang(fr-FR){
        max-width: 36.25rem;
    }
   
}

.content-container{
    position: absolute;
    bottom: 0rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 90%;
    max-height: 37.5rem;
    justify-content: center;
    background: transparent linear-gradient(180deg, #1A181800 0%, #000000 100%) 0% 0% no-repeat padding-box;
    @media only screen and (max-width: 48.875rem) {
        background:transparent;
    }
    .container{
        @media screen and (max-width: 66.6875rem) {
        margin: 0rem 1.875rem 0 1.875rem;  
        }
        @media screen and (max-width:48.875rem) {
            margin: 0rem;  
        }
    }
    p{
        color: #fff;
        font-size: 1.375rem;
        line-height: 1.75rem;
        text-align: left;
        max-width: 34.375rem;
        margin-bottom: 2.75rem;
    }
    p:lang(fr-FR){
        max-width: 36.25rem;
    }

    .fx-style{
        max-width: 66.6875rem!important;
        margin: auto;
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: flex-end;

    }

}
.header.page{
    h1{
        font-size: 2.5rem;
        line-height: 2.8125rem;

    }
    p{
        color: #fff;
        font-size: 1.125rem;
        line-height: 1.5rem;


    }

    .breadcrumb{
        border-radius: 0.25rem;
        font-size: .75rem;
        margin-bottom: 1.25rem;
        background-color: #000;
        color: #fff;
        width: fit-content;
        display: block;
        position: relative;
        padding: 0rem 0.625rem;
        margin-bottom: 0.9375rem;
        a{
            text-decoration: none;
            text-transform: none;
            color: #fff;

        }
        span{
            margin: 0rem 0.625rem;
        }
        strong{
            font-weight: normal;
        }

    }
    .image-side-caption{
        background: rgba(0,0,0,1);

    }
}


.side-caption {
    &:hover, &:focus-within {
        bottom:0 !important;
        @media screen and (max-width: 48rem) {

        }
    }
}


.side-caption {
    position: absolute;
    bottom: -100%;
    z-index: 97;
    &.hide {
        display: none;
    }
    &.ready {
        opacity: 1;
        transition: bottom 0.3s;
    }
}

.side-caption {
    max-width: 30%;
    @media screen and (max-width: 48rem) {
        max-width: 100%;
      
    }
}

.copy-link {
    background:url("./../img/caption.svg");
    background-repeat: no-repeat;
    display: block;
    height:2.188rem;
    width:2.188rem;
    z-index: 9;
    position: relative;
}

.image-side-caption {
    background: rgba(0,0,0,1);
    @media screen and (max-width: 48rem) {
        background: rgba(0,0,0,1);
    }
    display: block;
    color:white;
    padding: 1rem 2rem;
    font-size:0.875rem;
    // max-width: 30%; // need to get rid of this for job profiles
    margin-top:0;
    .cap, .copyright {
        display: block;
    }
    .copyright {
        padding-top: 0.75rem;
    }
    span {
        color:white;
    }
}
.full-black{
    background-color: #000;
    margin-left: -50%;
    margin-right: -50%;
    padding-left: calc(50% - 0.3125rem);
    padding-right:calc(50% - 0.3125rem);
    padding-top: 1.9375rem;
    padding-bottom: 1.25rem;
    @media only screen and (max-width: 48.875rem) {
        margin-left: -3.125rem;
        margin-right: -3.125rem;
        padding-left:3.125rem ;
        padding-right:3.125rem;
        width: calc(100vw + 3.125rem);
    }
    .wp-block-columns{
        gap: 1.5625rem;
    }
    h2{
        color:#fff;
        font-size: 1.375rem;
        line-height: 1.75rem;
        margin-bottom: 1.5rem;

    }
    a{
        color: #EE0000;
        font-size: 1.125rem;
        line-height: 1.375rem;
    }
    a:hover{
        color:#669999;
        text-decoration: none !important;
       
    }
    p{
        color: #fff;
        font-size: 1rem;
        line-height: 1.3125rem;
    }
    p:has(a){
        margin-bottom: 0.75rem;
    }
}