@media only screen and (max-width : 1700px) {
div.moduletable_menu ul li a {
    padding: 6px 18px;
}
}

@media only screen and (max-width : 1600px) {
.moduletable_menu {
    margin-left: 0;
}
}

@media only screen and (max-width : 1500px) {
#header div#slogan {
    font-size: 48px;
}

div.moduletable_menu ul li a {
    font-size: 18px;
}

body#index div#quicksearch {
    top: 150px;
}

.fw-list-property ul.nav.nav-pills {
    top: 0;
    position: relative;
}
}

@media only screen and (max-width : 1400px) {
div#quicksearch a {
    margin-bottom: 0;
}

body#index .moduletable.quicksearch .row-resp-form {
    margin-top: 0;
}

.moduletable.quicksearch button.mod-fwrealestate-search-button.btn.btn-primary {
    margin: 0;
}
}

@media only screen and (max-width : 1350px) {
#header div#text img {
    display: none;
}

div.moduletable_menu ul,
div.moduletable_menu ul li,
div.moduletable_menu ul li ul,
div.moduletable_menu ul li ul li {
	text-align: center;
}

div#language {
    top: 100px;
}

.moduletable.quicksearch .in-row-resp {
    font-size: 18px;
}

.moduletable.quicksearch input#fwre-arrive, .moduletable.quicksearch input#fwre-depart {
    width: 165px;
}
/* Vacation rental */
.am_name {
    width: 150px;
}

.leftdesc {
    min-width: 150px !important;
}

.houselist.property .block {
    width: 10%;
}

.houselist.property .block.title,
.houselist.property .block.region {
    width: 20%;
}

.houselist.property .block.virtualtour {
    width: 8%;
}




}

@media only screen and (max-width : 1300px) {
body#index div#quicksearch {
    margin: 0;
    width: 98%;
    height: 100px;
    top: auto;
    bottom: 0;
    left: 0;
    padding: 1%;
}
body#index .moduletable.quicksearch .row-resp-form {
    width: 24%;
}

select#houselist {
    margin-top: 32px;
}

body#index .moduletable.quicksearch .row-resp-form-right {
    float: right;
    margin-top: 32px;
}
}

@media only screen and (max-width : 1200px) {
#header div#slogan {
    font-size: 32px;
}

div.moduletable_menu ul li a {
    padding: 6px 10px;
    font-size: 16px;
}

div#content {
    padding-bottom: 80px;
}

.fw-list-property {
    width: 46%;
}

.fw-list-property ul.nav.nav-pills {
    margin: 0 0 0 10px !important;
}

.fw-list-property .nav-tabs > li > a, .nav-pills > li > a {
    padding-right: 6px;
    padding-left: 6px;
    margin-right: 2px;
    line-height: 6px;
    font-size: 16px;
}

.fw-list-property .row-fluid {
    margin-top: 5px !important;
}

.overview_info {
    margin-bottom: 20px;
}
}

@media only screen and (max-width : 1050px) {
#header #text {
    font-size: 16px;
}

/* Vacation rental */
div#fwrealestate {
    padding: 200px 0 0;
}

.houselist.property {
    width: 98%;
    padding: 1%;
}

.row-fluid .span6,
.row-fluid .span5,
.span6a, .span6b, .span6c {
    width: 100%;
}

.row-fluid [class*="span"] {
	margin-left: 0;
}
}

/* Switch to mobile Navigation */
@media (max-width: 980px) {
#header {
    position: relative;
    background: rgb(31, 81, 170);
    z-index: 999;
    height: 80px;
}

div#logo img {
    width: 220px;
}

#header #text {
    margin-left: 230px;
    max-width: 200px;
    padding-top: 10px;
}

#header div#slogan {
    font-size: 35px;
}

div#language {
    top: 80px;
}

div#fwrealestate {
    padding: 100px 1% 0;
}

.houselist.property .block {
    width: 10%;
    font-size: 16px;
}
/* Navigation */
.f-nav {
    position: relative !important;
}
div#menu {
    display: none;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

div#MenBt {
    display: block;
    text-align: center;
    position: relative;
    padding: 10px 0;
}

div#MenBt a {
	display: block;
    font-size: 24px;
    color: #fff;
}

div#MenBt a:hover {
	text-decoration: none;
}

div#menu,
#menu .moduletable_menu {
	height: auto !important;
	right: 0;
	top: 0;
	z-index: 99;
}

div#menu ul.nav.menu {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #6382b3;
    opacity: 0.85;
	float: none;
	display: block;
	margin-top: -5px;
}

div.moduletable_menu ul li {
	display: block;
	float: none;
	border-bottom: 1px dotted #eee;
	text-align: left;
}

div.moduletable_menu ul li:hover {
    background-color: transparent;
}

div.moduletable_menu ul li a {
	font-size: 22px;
}

ul li.active a {
    padding-left: 16px !important;
}

div.moduletable_menu ul li ul {
	display: block;
    position: relative;
    left: 0 !important;
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}

div.moduletable_menu ul li ul li,
div.moduletable_menu ul li:hover ul li {
    background-color: #C1C1C1;
    opacity: 1;
}

div.moduletable_menu ul li ul li a,
div.moduletable_menu ul li ul li a:hover,
div.moduletable_menu ul li ul li a,
div.moduletable_menu ul li.active ul li a,
div.moduletable_menu ul li ul li ul li a,
div.moduletable_menu ul li.active ul li.active ul li a,
div.moduletable_menu ul li ul li ul li ul li a,
div.moduletable_menu ul li.active ul li.active ul li.active ul li a {
	width: 90%;
	background: transparent;
	border: 0;
	padding: 0;
	padding-left: 10%;
    color: #fff;
}

div.moduletable_menu ul li ul li a:hover,
div.moduletable_menu ul li.active ul li.active a,
div.moduletable_menu ul li ul li ul li a:hover,
div.moduletable_menu ul li ul li ul li ul li a:hover,
div.moduletable_menu ul li.active ul li.active ul li.active a,
div.moduletable_menu ul li.active ul li.active ul li.active ul li.active a {
	background: transparent;
}

.box,
.simplelists-item {
    width: 100%;
    float: none;
    padding: 0;
    min-height: auto;
    margin-bottom: 100px;
}

.simplelists-item img {
    width: 100%;
}

img.left.boat {
    max-width: 99%;
}

.bfFieldset-l,
div#bfQuickModeSection31868 {
    float: none;
    width: 100%;
}

div#ff_formdiv9 button#bfSubmitButton {
    margin: 20px 50px 0 0;
}

/* Quicksearch */
body#index div#quicksearch {
    width: 100%;
    height: 120px;
    top: auto;
    bottom: 0;
    left: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    position: relative;
    background: rgb(30, 75, 127);
}

body#index .moduletable.quicksearch .row-resp-form {
    width: auto;
}

select#houselist {
    display: none;
}

.moduletable.quicksearch .search-block-button {
    width: 200px;
}

/* Vacation Rental */
.fw-list-property {
    width: 96%;
}

.row-fluid .span6,
.row-fluid .span5 {
    width: 100% !important;
    float: none;
    clear: both;
}

.row-fluid .span5 {
    margin-bottom: 20px;
}

.camera_thumbs {
    margin-top: -280px;
}
}

@media only screen and (max-width: 840px) {
#header div#slogan {
    font-size: 28px;
}

div.left,
div.right {
    width: 96%;
    float: none;
    margin: 0 auto 30px;
    clear: both;
}

img.left {
    max-width: 40%;
}

/* Vacation Rental */
.fw-list-property {
    width: 94%;
}

div#fwrealestate h1 {
    clear: both;
}

div#fwrealestate .tab-pane {
    width: 100%;
    float: none;
}

.fw-item ul.nav.nav-tabs.nav-pills {
    width: auto;
    float: none;
}

ul.nav.nav-pills.nav-share {
    display: none;
}

.span6a .factsheet-left,
.span6a .factsheet-right {
    float: none;
    width: 100%;
    padding: 0;
    margin-top: 20px;
}

.request-info-contact.span4,
.request-info-text.span8 {
    width: 100%;
    float: none;
    margin: 0;
}

.request-info-text.span8 textarea.inputbox {
	width: 90% !important;
}

.fs-button.ss-icon {
    display: none;
}

.camera_thumbs {
    margin-top: -400px;
}

.houselist.property {
    background: none;
}
}

@media only screen and (max-width: 750px) {
div#logo img {
    width: 180px;
}

#header #text {
    margin-left: 190px;
}

#header div#slogan {
    font-size: 24px;
}

body#index .moduletable.quicksearch .row-resp-form {
    height: auto;
}

.moduletable.quicksearch .search-block-button {
    width: 120px;
}

div#content {
    padding-bottom: 120px;
}

/* Vacation Rental */
ul.nav.nav-tabs.nav-pills,
ul.nav.nav-tabs.nav-pills li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.span6 {
	margin: 20px auto;
}
}

@media only screen and (max-width: 670px) {
#header div#logo {
    display: none;
}

#header #text {
    margin-left: 10px;
}

.item-pageindex {
    padding: 20px 2%;
}

div#content p {
    margin: 0;
    padding: 0;
}

#footer .footer-menu {
    width: 100%;
}

/* Vacation Rental */
.moduletable.quicksearch .row-resp-form {
    width: 30% !important;
}

.moduletable.quicksearch input#fwre-arrive,
.moduletable.quicksearch input#fwre-depart {
    width: 100px;
}

.moduletable.quicksearch .search-block-button {
    text-align: right;
}

.camera_thumbs {
    margin-top: -520px;
}

.houselist.property .block {
    font-size: 14px;
    height: 30px;
    display: list-item;
    vertical-align: -webkit-baseline-middle;
    list-style: none;
}
}

@media only screen and (max-width: 550px) {
#header {
    height: 80px;
}

#header #text {
    padding-left: 2%;
    display: block;
    float: none;
    margin: 0;
    max-width: 98%;
    text-align: center;
}

#header div#slogan {
    width: 98%;
    text-align: center;
    float: none;
    margin: 0;
    padding: 0 0 0 2%;
}

div#language {
    top: 5px;
    z-index: 999;
    position: relative;
    height: 20px;
    background: #c3c3c3;
    padding: 5px 5px 10px;
    right: auto;
    top: auto;
    text-align: center;
}

div#MenBt {
    padding: 20px 0;
}

div#MenBt a {
    font-size: 32px;
    font-weight: bold;
}

/* Vacation Rental */
body#index div#quicksearch {
    height: auto;
}

.moduletable.quicksearch .row-resp-form {
    width: 50% !important;
}

.moduletable.quicksearch .in-row-resp {
    font-size: 18px;
    text-align: center;
}

.moduletable.quicksearch .search-block-button {
    text-align: center;
    margin: 0 0 10px;
    width: 100%;
}

div#fw-property-id- .block {
    font-size: 10px;
}

tr.seasonprice td:first-child {
    width: 100px;
}

.factsheet-left .leftdesc,
.factsheet-right .leftdesc {
    min-width: 45% !important;
}

.factsheet-left .rightdesc,
.factsheet-right .rightdesc {
    min-width: 50%;
}
}

@media only screen and (max-width: 450px) {
.moduletable.quicksearch .row-resp-form {
    width: 100% !important;
}

.moduletable.quicksearch input#fwre-arrive,
.moduletable.quicksearch input#fwre-depart {
    width: 200px;
}

body#index .moduletable.quicksearch .row-resp-form-right {
    margin-top: 5px;
}
}

/* For stupid Apple */
/* IPad */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
.fs-button.ss-icon {
    display: none;
}
}

/* IPad mini */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1)  {
.fs-button.ss-icon {
    display: none;
}
}

/* IPhone 6 */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
.fs-button.ss-icon {
    display: none;
}
}

/* IPhone 6 plus */
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) {
.fs-button.ss-icon {
    display: none;
}
}

/* IPhone 5 + 5s */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
.fs-button.ss-icon {
    display: none;
}
}

/* iPhone 5 & 5S in portrait */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) {
.fs-button.ss-icon {
    display: none;
}
}

/* IPhone 2 - 4 */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
.fs-button.ss-icon {
    display: none;
}
}