_front_page.scss 6.99 KB
.home-header{
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 37.5rem;
    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: 2rem;
        line-height:2.25rem ;
        margin-bottom: 2.5rem;
        width: 100%;
        max-width: 1068px;
        font-weight: bold;
        @media only screen and (max-width: 48.875rem) {
            font-size: 1.125rem;
            line-height:1.375rem ;
        }
    }
   
    .content-container{
        position: absolute;
        bottom: 0rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 90%;
        max-height: 37.5rem;
        justify-content: center;
        .fx-style{
            display: flex;
            flex-direction: column;
            height: 100%;
        }

    }
    .search-box{
        background-color: #fff;
        border-radius: 1.25rem ;
        max-width: 45rem;
        margin: auto;
        padding:  2.625rem 3.125rem ;
        @media only screen and (max-width: 48.875rem) {
            padding:  1.75rem 3rem ;
        }

        h4{
            font-size: 2.8125rem !important; 
            line-height: 3.3125rem;
            text-align: center;
            font-weight: lighter;
            font-family: "PT Sans",sans-serif;
            @media only screen and (max-width: 48.875rem) {
                font-size: 2.1875rem !important; 
                line-height: 2.5rem;  
            }
        }
        .searchandfilter{
            width: calc(100% - 3.125rem);
            @media only screen and (max-width: 48.875rem) {
                width: calc(100% - 2.1875rem);
            }
            display: inline-block;
        }
        
        .searchandfilter ul{
          padding-left: 0rem;
        }
        .searchandfilter h4{
            font-size: 2.8125rem !important; 
            line-height: 3.3125rem;
            text-align: center;
            font-weight: lighter;
            font-family: "PT Sans",sans-serif;
        }
        .sf-field-search{
                display: inline-block;
                width: calc(100% - 3.75rem);
                @media screen and (max-width: 56.25rem) {
                    width: calc(100% - 3.5rem);
                }
                label{
                    width: 90%;
                    position: relative;
                    display: inline-block !important;
                    margin: auto;
                    margin-left: 10%;
                    @media screen and (max-width: 56.25rem) {
                        width: 100%;
                        margin-left: 5%;
                    }
                    &: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 !important;
                        @media screen and (max-width: 59.375rem) {
                            width: 26px;
                            height: 26px;
                            left: -1.8625rem;
                            top: 0.5rem !important;
                        }
                    }
                   
                }
                input[name="_sf_search[]"]{
                    width: 100%;
                    border: 0;
                    border-bottom: 0.0625rem 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;    
                    @media screen and (max-width: 56.25rem) {
                        padding: 0;
                        font-size: 1.5rem !important;
                    }   
                    }
          }

            .sf-field-submit{
                display: inline-block !important;
                    @media screen and (max-width: 56.25rem) {
                    margin-left:0rem;
                    }
                    input[name="_sf_submit"]{
                        border-radius: 50%;
                        padding: 0;
                        height: 2.5rem;
                        width:2.5rem;
                        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;
                        @media screen and (max-width: 56.25rem) {
                            height: 2.5rem;
                            width:2.5rem;
                           
                        }
                        &:hover {
                            background:#669999;
                        }
                    }
            }
    }

}

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


.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,0.7);
    @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;
    }
}