_front_page.scss 5.67 KB
.home-header{
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    img{
        width: 100%;
        height: auto;
    }
    h1{
        color: #fff;
        margin: auto;
        text-align: center;
        display: flex;
        font-size: 32px;
        line-height:36px ;
        margin-bottom: 40px;
        width: 100%;
        max-width: 720px;
        @media only screen and (max-width: 782px) {
            font-size: 18px;
            line-height:22px ;
        }
    }
   
    .content-container{
        position: absolute;
        bottom: 0px;
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 90%;
        max-height: 600px;
        justify-content: center;
        .fx-style{
            display: flex;
            flex-direction: column;
            height: 100%;
        }

    }
    .search-box{
        background-color: #fff;
        border-radius: 1.25rem ;
        max-width: 720px;
        margin: auto;
        padding:  42px 50px ;
        @media only screen and (max-width: 782px) {
            padding:  28px 48px ;
        }

        h4{
            font-size: 45px !important; 
            line-height: 53px;
            text-align: center;
            font-weight: lighter;
            font-family: "PT Sans",sans-serif;
            @media only screen and (max-width: 782px) {
                font-size: 35px !important; 
                line-height: 40px;  
            }
        }
        .searchandfilter{
            width: calc(100% - 50px);
            @media only screen and (max-width: 782px) {
                width: calc(100% - 40px);
            }
            display: inline-block;
        }
        
        .searchandfilter ul{
          padding-left: 0px;
        }
        .searchandfilter h4{
            font-size: 45px !important; 
            line-height: 53px;
            text-align: center;
            font-weight: lighter;
            font-family: "PT Sans",sans-serif;
        }
        .sf-field-search{
                display: inline-block;
                width: calc(100% - 80px);
                label{
                    width: 90%;
                    position: relative;
                    display: inline-block !important;
                    margin: auto;
                    margin-left: 10%;
                    &:after {
                        content: "";
                        position: absolute;
                        left: -3rem;
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34.157' height='34.157' viewBox='0 0 34.157 34.157'%3E%3Cg id='Group_1039' data-name='Group 1039' transform='translate(-919.807 -2612.691)'%3E%3Cline id='Line_1' data-name='Line 1' x2='14.277' y2='14.277' transform='translate(938.626 2631.511)' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cg id='Ellipse_1' data-name='Ellipse 1' transform='translate(919.807 2612.691)' fill='%23fff' stroke='%23000' stroke-width='3'%3E%3Ccircle cx='13.235' cy='13.235' r='13.235' stroke='none'/%3E%3Ccircle cx='13.235' cy='13.235' r='11.735' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
                        background-size: contain;
                        width: 2.063rem;
                        height: 2.063rem;
                        top: 1.2rem;
                    }
                   
                }
                input[name="_sf_search[]"]{
                    width: 100%;
                    border: 0;
                    border-bottom: 1px solid #707070;
                    border-radius: 0;
                    font-size: 1.75rem;
                    font-weight: 400;
                    line-height: 1.5;
                    color: #212529;
                    padding: 0.375rem 0.75rem;
                    margin: auto;       
                    }
          }

            .sf-field-submit{
                display: inline-block !important;
                    input[name="_sf_submit"]{
                        border-radius: 50%;
                        padding: 0;
                        height: 3.438rem;
                        width: 3.438rem;
                        margin-top: -0.6rem;
                        margin-left: 1rem;
                        font-size: 1.125rem;
                        font-family: "PT Sans",sans-serif;
                        font-weight: 700;
                        background: #e00;
                        color: #fff;
                        border: 0;
                        text-transform: uppercase;
                        transition: none;
                        display: inline-block !important;
                        &:hover {
                            background:#669999;
                        }
                    }
            }
    }

}

.side-caption {
    &:hover, &:focus-within {
        bottom:0 !important;
    }
}


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

.side-caption {
    max-width: 30%;
}

.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,0.7);
    display: block;
    color:white;
    padding: 1rem 2rem;
    font-size:14px;
    // 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;
    }
}