@media all and (min-width: 900px){

/*@media all and (min-width:751px)*/
#cHome {
    margin: 0 auto;
    width: 1079px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 1rem 0px rgba(0,0,0,1);
    border-left: .05rem solid rgba(255,255,255,1);
    border-right: .05rem solid rgba(255,255,255,1);
    background-image: url("/theme/mcgregorrealty.com/.a/bk.png");
}
#cHome #c_desk {
    padding: 38rem .85rem 1rem .85rem;
    float: right;
    width: 800px;
    min-height: 350px;
    background-color: rgba(0, 0, 0, 1);
    background-image: url("/theme/mcgregorrealty.com/.a/home-bk.jpg");
    background-repeat: no-repeat;
    background-position: top right;
}
#cHome h1 {
    font-size: 2rem;
    background: transparent url(/theme/mcgregorrealty.com/.a/title-bk.png) no-repeat;
    margin: 10px auto;
    width: 648px;
    height: 50px;
    font-size: 1.5rem;
    padding: 3.5rem 0px 0px 1rem;
}

}

@media all and (max-width: 1079px){
#cHome {
    width: 979px;
}
#cHome #c_desk {
    width: 700px;
}
#search_form {
    left:12rem;
}
#footer {
    width: 962px;
}
.slideshow_card_label0 {
    margin: 0 -20rem 0 17rem !Important;
}
#fpPhone {
    width: 900px;
}

}
@media all and (max-width: 980px){
    #cHome {
        width: 929px;
    }
    #cHome #c_desk {
        width: 650px;
    }
    #search_form {
        left:10rem;
    }
    #footer {
        width: 912px;
    }
    .slideshow_card_label0 {
        margin: 0 -17.5rem 0 17rem !Important;
    }
    #fpPhone {
        width: 850px;
    }
}
/* Mobile Styles */
@media screen and (max-width: 899px){
#cHome {
    padding: 1rem;
    width: 100vw;
    position: absolute;
    background-color: rgba(255, 255, 255, 1);
    top: 0px;
}
#cHome #c_desk,#cHome #c_mobi {
    width: calc(-2rem + 100vw);
    padding-bottom: 2rem;
}
#cHome h1 {
    margin-top: 2rem;
    font-size: 1.5rem;
}
#footer {
    width: calc(-1.8rem + 100vw);
}
    
.container-SearchTools {
    background-color: rgba(236, 28, 35, 1);
    padding: .5rem;
    position: absolute;
    top: 0px;
    left: 0px;
    width: calc(-1rem + 100vw);
    height: 2.5rem;
    z-index: 50;
}
#mls_search_filter {
    padding: .5rem;
    font-size: 1rem;
    width: calc(-2.5rem + 100%);
    position: absolute;
}
.mls_search_form_button {
    padding: .5rem;
    font-size: 1rem;
    position: absolute;
    right: 0.5rem;
}

    #contact_form {
        display: none;
        position: absolute;
        left: 0px;
        top: 10.5rem;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 1rem;
        z-index: 50;
        margin: 1rem;
    }
    #contact_form h4 {
        margin-top: -.5rem;
        color: rgba(255, 255, 255, 1);
    }
    
    #contact_topic {
        padding: .5rem;
        font-size: 1rem;
        width: 12.4rem;
        margin: .1rem;
    }
    #contact_name,#contact_email,#contact_phone {
        padding: .5rem;
        font-size: 1rem;
        width: 11.15rem;
        margin: .1rem;
    }
    #contact_detail {
        padding: .5rem;
        font-size: 1rem;
        width: 11.3rem;
        margin: .1rem;
    }
    #btn_contact_send_request {
        padding: .5rem;
        font-size: 1rem;
        margin: .1rem;
    }
    #OpenEmail {
        display: none;
    }
    #OpenEmail:checked + .OpenEmail {
        background-image: url("/.a/envelope-openW.png");
    }
    .OpenEmail {
        position: absolute;
        width: 2rem;
        height: 2rem;
        background-image: url("/.a/envelopeW.png");
        background-size: cover;
        display: block;
        top: 0px;
        right: 12rem;
        cursor: pointer;
    }
    #mls_search_form_simple {
        width: 25rem;
    }
    #badges {
        position: absolute;
        z-index: 50;
        top: 3.5rem;
        right: 0px;
        width: 6rem;
        padding: .5rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 1);
    }
    #badges img {
        width: 5rem;
    }

    
    /* Direct Links */
#direct_links {
    position: absolute;
    display: block;
    top: 3.5rem;
    left: 0px;
    right: 7rem;
    bottom: 6rem;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    font-size: 1rem;
    overflow-y: scroll;
    min-height: calc(-15rem + 100%);
}


    #direct_links h3 {
        margin: 0;
        color: rgba(255, 255, 255, 1);
    }
    #direct_links a {
        padding: .2rem;
        text-decoration: none;
        color: rgba(230, 230, 230, 1);
    }
    #direct_links a:hover {
        color: rgba(150, 200, 255, 1);
    }
    /* Menu */
#menu {
    width: 650px;
    font-size: 1.2rem;
    padding: .65rem .25rem;
}

}
