@media only screen and (max-width : 1800px) {
ul.mod-menu.mod-list.nav li.nav-item a {
    padding: 0 15px;
}
}

@media only screen and (max-width : 1700px) {
div#headermenu ul.mod-menu.mod-list.nav {
    margin: -20px 0 0 0;
    width: 65%;
    text-align: center;
    float: right;
    line-height: 38px;
}
}

@media only screen and (max-width : 1600px) {
body.site.index div#content {
    padding: 30px 5% 300px;
}

div#content {
    padding: 150px 5% 300px;
}

div#footer .gridwrapper {
    width: 98%;
}
}

@media only screen and (max-width : 1300px) {
div#search #fwre.fwre-search {
    padding: 1vh 2%;
}

div#mod-custom126 h1,
div#mod-custom127 h1 {
    font-size: 3em;
    line-height: 1.5em;
}

body.site.index div#content {
    padding: 30px 2% 300px;
}

div#content {
    padding: 150px 2% 300px;
}
}

/* Switch to mobile Navigation */
@media only screen and (max-width : 1000px) {
header div#logo {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

header div#logo {
    top: 40px;
}

body.site.index header div#logo {
	top: 75px !important;
}

body.site.index.sm-container.scrolled header div#logo {
	top: 40px !important;
}

header div#language,
body.site.index.sm-container.scrolled header div#language {
    left: 50px;
}

body.site.index header div#language {
    top: 50px;
    left: 50px;
}

body.site.index.sm-container > .sm-btn-135,
body.site.index.sm-container .sm-content-inner > .sm-btn-135,
body.site.index.sm-container .off-menu_162 .sm-btn-135,
body.site.index.sm-container > .sm-btn-138,
body.site.index.sm-container .sm-content-inner > .sm-btn-138,
body.site.index.sm-container .off-menu_162 .sm-btn-138 {
    top: 0;
}

body.site.index.sm-container.scrolled > .sm-btn-135,
body.site.index.sm-container.scrolled .sm-content-inner > .sm-btn-135,
body.site.index.sm-container.scrolled .off-menu_162 .sm-btn-135,
body.site.index.sm-container.scrolled > .sm-btn-138,
body.site.index.sm-container.scrolled .sm-content-inner > .sm-btn-138,
body.site.index.sm-container.scrolled .off-menu_162 .sm-btn-138 {
    top: -40px;
}

div#menu {
    display: none;
}

.cntwrp {
    margin: 0;
}

.cntwrp.lt .cnt,
.cntwrp.rt .cnt {
    width: 96%;
    min-height: 0;
    float: none;
    padding: 2%;
    border: 0;
    background-color: var(--template-bkgrcolor);
}

.cntwrp.lt .imgwrp,
.cntwrp.rt .imgwrp {
    position: relative;
    top: 0;
    width: 98%;
}

.cntwrp .imgwrp {
    box-shadow: none;
}

div#youtubevid iframe {
    border: 0;
}

h1 {
    font-size: 2em;
}
}

@media only screen and (max-width : 850px) {
div#content {
	padding: 150px 2% 400px;
}
    
div#hphl {
    top: -90vh;
}

div#mod-custom126 h1,
div#mod-custom127 h1 {
	font-size: 2.2em;
}

div#footer p.pawlik {
    display: none;
}

/* Quick Search */
div#search {
    top: -280px;
    height: 280px;
    background-color: rgb(35 46 85 / 70%);
}

.fwk-width-1-3 {
    width: calc(100% / 1) !important;
}

.fwk-width-1-2 {
    width: 100% !important;
}	
}

@media only screen and (max-width : 750px) {
body.site.index div#content {
	padding: 30px 2% 350px;
}

div#content {
    padding: 100px 2% 350px;
}

img.realestate {
    max-width: 80%;
}

.pagination {
    display: inherit;
}	
}

@media only screen and (max-width : 650px) {
.fwk-grid-small.fwk-flex-between.fwk-grid.fwk-grid-stack {
    padding: 0 0 20px;
}
}

@media only screen and (max-width : 600px) {
header div#language,
body.site.index.sm-container.scrolled header div#language {
	top: 0;
    left: 10px;
}

body.site.index header div#language {
	top: 30px;
    left: 10px;
}

header div#language img,
body.site.index.sm-container.scrolled header div#language img {
    width: 32px;
}

body.site.index header div#language img {
    width: 40px;
}  

header div.mod-languages ul.lang-inline li,
body.site.index.sm-container.scrolled header div.mod-languages ul.lang-inline li {
    display: block;
    margin: 5px 0;
}

body.site.index header div.mod-languages ul.lang-inline li {
    display: block;
    margin: 15px 0;
}

body.site.index div#content {
	padding: 30px 2% 550px;
}

div#content {
    padding: 100px 2% 550px;
}

div#footer .gridwrapper .grid {
    flex: 100%;
    max-width: 100%;
    text-align: center;
}

img.right.boat {
    float: none;
    width: 100%;
}
}

