/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/cssplay-responsive-click-droplist-menu-v2.html
Copyright (c) stu nicholls - CSS PLAY. All rights reserved.
This stylesheet and the associated html code may be modified in any 
way to fit your requirements.
=================================================================== */

#demo,
#MenuRespDropList2 {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.cssplay_ipHide {
    position: absolute;
    left: -9999px;
    display: none;
}

#cssplay_resetlabel {
    display: none;
}

#cssplay_menutoggle {
    display: none;
}

@media (min-width: 1025px) {
	#Search_location.Search_droplist {
        max-width: 400px !important;
        width: unset !important;
    }
    #cssplay_menu {
        display: flex;
    }
    .thumbnails #HomeMainContent {
        padding-top: 48px !important;
    }
    .list #HomeMainContent {
        padding-top: 25px !important;
    }
    .mapplus #PageNavigationTop {
        top: 98px !important;
    }
    .thumbails #SearchResults {
        padding-top: 0 !important;
    }
}

@media only screen and (min-device-width: 769px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    #cssplay_menu .icon-search {
        float: none !important;
    }
}

@media only screen and (min-device-width: 769px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    #HomeMainContent {
        padding-top: 49px !important;
    }
    #cssplay_menu {
        display: flex;
    }
}

#cssplay_menuwrap {
    /*width: 100%;*/
    /*max-width: 1100px;*/
    position: relative;
    /*margin: 0 auto 0 auto;*/
    /*height: 35px;*/
    /* background: #EEE;*/
    margin-left: 8px;
    margin-right: 8px;
    color: #222;
    font-size: 11pt;
    font-weight: bold;
    text-transform: none;
}

#cssplay_menu {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    font: normal 14px/40px 'latomedium', arial, sans-serif;
    /*text-align: center;*/
}

#cssplay_menu li.menu_list_item {
    display: block;
    display: inline-block;
    text-align: left;
    cursor: pointer;
}

#cssplay_menu li.menu_list_item>a {
    display: block;
    font: normal 14px/40px 'latomedium', arial, sans-serif;
    color: #f6f6f6;
    text-decoration: none;
    padding: 0 30px 0 30px;
    border-radius: 5px 5px 0 0;
}

#cssplay_menu li.menu_list_item>span {
    display: block;
    font: normal 14px/40px 'latomedium', arial, sans-serif;
    padding: 0 10px 0 30px;
    /*border-radius: 5px 5px 0 0;*/
    position: relative;
    cursor: pointer;
}

.menu_list_item>.nice-select {
    padding-right: 10px;
}

#cssplay_menu li.menu_list_item>span label {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#cssplay_menu li.menu_list_item>span:before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border: 2px solid #aaa;
    border-color: transparent #aaa #aaa transparent;
    border-width: 0 2px 2px 0;
    position: absolute;
    left: 10px;
    top: 13px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: 0.5s;
    -webkit-transition: 0.5s;
}


/*
#cssplay_menu li.menu_list_item > span label {display:block; position:absolute; left:0; top:0; width:100%; height:100%; cursor:pointer;}
#cssplay_menu li.menu_list_item > span label.cssplay_opensub {}
#cssplay_menu li.menu_list_item > span label.cssplay_closesub {display:none;}
*/

#cssplay_menu li.menu_list_item>span label:hover {
    color: rgba(200, 200, 200, 1);
}

#cssplay_menu li.menu_list_item>a:hover,
#cssplay_menu li.menu_list_item div.menu_main_div {
    /* width: 100%;*/
    max-height: 0;
    overflow: hidden;
    position: absolute;
    /*left: 0;*/
    /*top: 40px;*/
    background: rgba(238, 238, 238, 1);
    text-align: center;
    z-index: 101;
    /*border-radius: 5px;*/
}

.search-button {
    font: normal 14px/30px 'latomedium', arial, sans-serif;
    background-color: #28A7AD;
    color: #ffffff;
    padding: 0 10px 0 10px;
}

.public-search-button {
    font: normal 14px/24px 'latomedium', arial, sans-serif;
    background-color: #ffffff;
    color: #555;
    padding: 0 10px 0 10px;
}

.public-search-button a {
    background-color: #ffffff;
    color: #555;
    text-decoration: none;
}

#cssplay_menuwrap select {
    display: none;
}

#filter-order-by select {
    display: none;
}

.search-button a {
    background-color: #28A7AD;
    color: #ffffff;
    text-decoration: none;
}

#cssplay_menu li.menu_list_item div.menu_main_div dl {
    /*padding: 0 0 20px 0;*/
    margin: 10px 10px 10px 10px;
    width: 20%;
    min-width: 370px;
    margin: 0.5%;
    /*display: inline-block;*/
    vertical-align: top;
    text-align: left;
}

#SearchBarPublic #cssplay_menu input {
    max-height: 38px!important;
    line-height: 38px!important;
}

#SearchBarPublic #cssplay_menu li.menu_list_item div.menu_main_div dl dt label {
    display: block;
    background: none!important;
    color: #000000!important;
    /*font: normal 14px/35px arial;*/
    /*background: #2a3f55;*/
    /*color: #eee;*/
    /*padding: 0 10px;*/
    /*border-radius: 5px 5px 0 0;*/
    /*text-transform: uppercase;*/
}

#cssplay_menu li.menu_list_item div.menu_main_div dl dt label a {
    float: right;
}

.more_sr_item {
    display: inline-block;
}

.more_order_by_item div {
    display: inline-block;
}

.more_item {
    position: relative;
}

#MoreFiltersWrapper {
    right: 0;
}

.more_pt_item {
    display: inline-block;
}

.filter-select {
    position: fixed;
    top: 100px;
}

#filter-order-by {
    background-color: #ffffff;
    /*position: fixed;*/
    /*top: 98px;*/
    display: inline-flex;
    right: 46px;
    text-transform: none;
    font: normal 14px/40px 'latomedium', arial, sans-serif;
}

#filter-order-by div {
    display: inline-block;
}

#menu_view_type_item {
    float: right;
    padding-right: 49px;
}

.filter_close,
.popup_close {
    background-color: #28A7AD;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    line-height: 24px;
}

#filter-order-by .list {
    margin: 0;
}

#filter-order-by .fa {
    color: #28A7AD;
    padding-top: 13px;
    padding-right: 4px;
}

#filter-order-by div {
    padding-right: 13px;
}

.fa-th-large,
.fa-map-o,
.fa-th-list {
    padding-right: 5px;
}

#cssplay_menu li.menu_list_item div.menu_main_div dl dd {
    padding: 0;
    margin: 0;
}

#cssplay_menu li.menu_list_item div.menu_main_div dl dd a.droplist-link {
    display: block;
    font: normal 14px/35px arial;
    color: #2a3f55;
    text-decoration: none;
    padding: 0 10px;
    border-bottom: 0px solid rgb(52, 52, 52);
}

#cssplay_menu li.menu_list_item div.menu_main_div dl dd a.droplist-link:hover {
    color: #579ED1;
}


/* For submenus, not used right now */


/*#cssplay_menu li div dl dd a:hover {background:rgb(84,84,84); color:#fff;}*/

#cssplay_menu input[id*="cssplay_div"]:checked+span {
    background: rgba(238, 238, 238, 1);
}

#cssplay_menu input[id*="cssplay_div"]:checked+span:before {
    top: 17px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

#cssplay_menu input[id*="cssplay_div"]:checked+span label.cssplay_closesub {
    display: block;
}

#cssplay_menu input[id*="cssplay_div"]:checked~div {
    max-height: 500000px;
    padding: 10px 10px 10px 10px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

#filter-button {
    display: none;
    position: initial;
    font: normal 14px/30px 'latomedium', arial, sans-serif!important;
    background-color: #28A7AD;
    color: #ffffff;
    padding: 0 10px 0 10px;
    border-radius: 0;
    border: none;
    cursor: pointer;
}

#cssplay_menu .icon-search {
    font-size: 14pt;
    border-radius: 0;
    padding: 10px;
    border: none;
    background-color: #28A7AD;
    color: #ffffff;
    font-family: 'Quicksand', Verdana, sans-serif;
    cursor: pointer;
}

#cssplay_menu input {
    padding: 10px;
    border: 1px solid #aaaaaa;
    font-size: 1em;
    font-family: arial, verdana, sans-serif;
    border-radius: 0;
}

#MoreFiltersWrapper input {
    width: 94px;
}

.more_pt_item .checkboxFive {
    width: 100%;
    margin: 0 0 0 0;
    font: normal 14px/25px 'latomedium', arial, sans-serif;
}

.checkboxFive input {
    width: 25px!important;
}

#cssplay_menu .icon-search {
    float: none !important;
}
@media screen and (min-width: 991px) {
    
}
div.menu_main_div dd {
    margin: 0;
}

#view_type_switcher a {
    text-decoration: none;
}

dd>a>.fa,
div>a>.fa {
    padding-right: 5px;
    color: #28A7AD;
    display: initial;
}

#MoreFiltersWrapper {
    width: 370px;
}

#MoreFiltersWrapper dt,
#MoreFiltersWrapper dd {
    display: inline-block;
}

#MoreFiltersWrapper dt {
    width: 100px;
}

#MoreFiltersWrapper dd {
    width: 210px;
}

#MoreFiltersWrapper dl {
    float: left;
    width: auto!important;
}

#cssplay_menuwrap .fa {
    color: #28A7AD;
}

#LocationBox .fa {
    color: #ffffff;
}

#Search_location {
    padding-right: 40px;
}

#PageNavigationTop {
    position: fixed;
    height: 32px;
    top: 98px;
    width: 100%;
    z-index: 10;
    background-color: #ffffff;
}

#PagedListingsForm {
    height: 42px;
}

.PageNavigation img {
    margin-bottom: -0.4em;
}

#SearchResults {
    padding-top: 32px;
}

.more_beds_item {
    width: 175px;
}

.more_sr_item,
.more_baths_item {
    width: 115px;
}

@media only screen and (max-width: 100px) {
    /* Was 768 */
    #demo,
    #MenuRespDropList2 {
        position: static;
    }
    #cssplay_menuwrap {
        width: 280px;
        position: fixed;
        left: -280px;
        top: 0;
        margin: 0;
        height: 100%;
        background: #111;
        overflow: hidden;
        z-index: 500020;
        -webkit-transform: translate3d(0, 0, 0);
        transition: 0.5s 0.5s;
        -webkit-transition: 0.5s 0.5s;
    }
    #cssplay_menu {
        padding: 0;
        margin: 0;
        list-style: none;
        width: 280px;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #cssplay_menu li.menu_list_item {
        width: 250px;
    }
    #cssplay_menu li.menu_list_item div {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        position: static;
        border-radius: 0;
        transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #cssplay_menu li.menu_list_item div.menu_main_div dl {
        padding: 0 0 15px 0;
        margin: 0;
        width: 100%;
        margin: 0;
    }
    #cssplay_menu li.menu_list_item div.menu_main_div dl dt label {
        width: 260px;
        margin-left: 20px;
        border-radius: 0px;
        cursor: pointer;
        position: relative;
        text-indent: 20px;
    }
    #cssplay_menu li.menu_list_item div.menu_main_div dl dt label:before {
        content: "";
        display: block;
        width: 6px;
        height: 6px;
        border: 2px solid #555;
        border-color: transparent #555 #555 transparent;
        border-width: 0 2px 2px 0;
        position: absolute;
        left: 10px;
        top: 11px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #cssplay_menu li.menu_list_item div.menu_main_div dl dd {
        max-height: 0px;
        overflow: hidden;
        width: 260px;
        padding-left: 20px;
        transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #cssplay_menu li.menu_list_item div.menu_main_div dl dd a.droplist-link {
        padding-left: 30px;
    }
    #cssplay_menutoggle {
        display: block;
        position: fixed;
        right: 20px;
        top: 35px;
        z-index: 500000;
    }
    #cssplay_menutoggle label {
        display: block;
        width: 30px;
        height: 10px;
        border: 4px solid #333;
        border-width: 4px 0;
        position: relative;
        cursor: pointer;
    }
    #cssplay_menutoggle label:before {
        content: "";
        display: block;
        width: 30px;
        height: 4px;
        background: #333;
        position: absolute;
        left: 0;
        top: 3px;
    }
    #cssplay_menuToggle:checked~#cssplay_menuwrap {
        left: 0;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #cssplay_menuToggle:checked~#cssplay_resetlabel {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        z-index: 500010;
        cursor: pointer;
    }
    #cssplay_menu input[id*="cssplay_div"]:checked+span label.cssplay_closesub {
        display: none;
    }
    #cssplay_menu input[id*="cssplay_div"]:checked+label+div {
        max-height: 500000px;
        padding: 0;
        transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #cssplay_menu input[id*="cssplay_div"]:checked+span:before {
        top: 13px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }
    #cssplay_menu input[id*="cssplay_sub"]:checked~dd {
        max-height: 300px;
        transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #cssplay_menu input[id*="cssplay_sub"]:checked~dt label:before {
        top: 15px;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
    }
}

@media (max-height: 1300px) {
	#MoreFiltersWrapper {
		height: 600px !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
	}
}

@media (max-height: 600px) {
	#MoreFiltersWrapper {
		height: 400px !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
	}
}