﻿#findYourHomeWrapper {
    position: fixed;
    width: 330px;
    bottom: 20px;
    right: -280px;
    border: 1px solid #cfcfcf;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
	    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
    transition: all 0.5s;
    z-index: 8000;
}

#findYourHomeWrapper.active {
    right: 0;
}
#findYourHomeWrapper .find-your-home-form {
    display: block;
    padding: 20px;
    width: 280px;
    float: right;
}
#findYourHomeWrapper .find-your-home-form .form-control {
    text-transform: uppercase;   
}
#findYourHomeWrapper .find-your-home-header a.header-toggler {
    display: block;
    border-right: 1px solid #4b4b4b;
    position: absolute;
    padding: 30px 0;
    padding-top: 60px;
    height: 100%;
    width: 50px;
    font-family: 'LFTEtica', sans-serif;
    font-weight: bold;
    color: #004a6d;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 18px;
}
#findYourHomeWrapper .find-your-home-header a.header-toggler span {
    display: block;
    position: absolute;
    bottom: -20px;
    height: 50px;
    line-height: 50px;
    transform: rotate(-90deg);
    transform-origin: top left;
    width: 100%;
    white-space: nowrap;
    overflow-x: visible;
}

#findYourHomeWrapper .find-your-home-header a.header-toggler::after {
    content: '+';
    font-family: sans-serif;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #f76305;
    text-align: center;
    line-height: 50px;
    font-size: 40px;
    color: #fff;
}
#findYourHomeWrapper.active .find-your-home-header a.header-toggler::after {
    content: '-';
}

    @media (min-width: 0) {
        #findYourHomeWrapper {
            bottom: -300px;
            right: 20px;
            height: 350px;
        }

        #findYourHomeWrapper.active {
            bottom: 0;
            right: 20px;
        }
        #findYourHomeWrapper .find-your-home-form {
            height: 300px;
            padding: 30px;
            float: none;
            width: auto;
        }
        #findYourHomeWrapper .find-your-home-header a.header-toggler {
            display: block;
            border-bottom: 1px solid #4b4b4b;
            border-right: none;
            position: relative;
            padding: 0 30px;
            padding-right: 60px;
            height: 50px;
            width: 100%;
        }
        #findYourHomeWrapper .find-your-home-header a.header-toggler span {
            display: block;
            position: static;
            bottom: auto;
            transform: none;
            width: 100%;
        }
        #findYourHomeWrapper .find-your-home-header a.header-toggler::after {
            right: 0;
            top: 0;
            left: auto;
        }
    }

    @media (max-width: 420px) {
        #findYourHomeWrapper {
            width: 280px;
            right: 15px;
            bottom: -310px;
        }
        #findYourHomeWrapper .find-your-home-header a.header-toggler {
            height: 40px;
            font-size: 16px;
            padding-left: 15px;
        }
            #findYourHomeWrapper .find-your-home-header a.header-toggler span {
                line-height: 40px;
            }
            #findYourHomeWrapper .find-your-home-header a.header-toggler::after {
                width: 40px;
                height: 40px;
                line-height: 40px;
            }
        #findYourHomeWrapper .btn {
            white-space: normal;
        }

        #findYourHomeWrapper .find-your-home-form {
            padding: 15px;
        }
    }