@import url("icons/style.css");
/* general */

body {
    margin: 0px;
    padding: 0px;
    background-color: #dbdbdb;
}

body, table {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    color: #404040;
    line-height: 19px;
}

img {
    display: block;
    border: 0px none;
}

h1, h2, h3, .h1, .h2, .h3, label {
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 10px;
}

h1, h2, h3, legend, .h1, .h2, .h3 {
    color: #c9252c;
}

h1, .h1 {
    font-size: 28px;
    line-height: 1;
}

h2, .h2, legend {
    font-size: 18px;
    line-height: 1;
}

h3, .h3 {
    font-size: 14px;
    line-height: 1;
}

legend {
    padding-left: 0px;
}

p {
    margin-top: 0px;
}

label {
    display: block;
}

.partner-img-villa {
    display: inline;
}

select, input[type=text], input[type=password], input[type=email], input[type=tel], textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #bc232c;
    padding-left: 15px;
    padding-right: 15px;
    height: 28px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../img/arrow/dg.png) right center no-repeat #ffffff;
    padding-right: 30px;
}

form .error {
    display: block;
    color: #bc232c;
    font-weight: bold;
    padding-left: 135px;
}

.btn, input[type=reset], input[type=submit] {
    display: block;
    height: 32px;
    background-color: #bc232c;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
    font-family: Roboto, sans-serif;
    border: 0px none;
    margin-bottom: 5px;
    padding-left: 6px;
    padding-right: 6px;
}

a.btn {
    line-height: 32px;
    text-transform: uppercase;
}

.btn.small {
    display: inline-block;
}

.btn.arrow-r:after {
    margin-left: 10px;
    content: url(../img/arrow/rw-nopad.png);
}

.btn.arrow-l:before {
    margin-right: 10px;
    content: url(../img/arrow/lw-nopad.png);
}

a {
    color: #c9252c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* main classes */

.clear {
    clear: both;
}

.hidden {
    display: none;
}

/* language select */

#language-switcher {
    position: absolute;
    bottom: -35px;
    right: 0px;
    z-index: 1000;
    width: 237px;
}

#language-switcher>span {
    margin-right: 8px;
}

.polyglot-language-switcher {
    display: inline;
    position: initial;
}

.polyglot-language-switcher img {
    display: inline;
}

.polyglot-language-switcher>.pls-language-container-scrollable {
    overflow-x: initial;
    width: auto;
    left: auto;
    right: 0px;
}

.polyglot-language-switcher>.pls-selected-locale img {
    display: none;
}

.polyglot-language-switcher>.pls-selected-locale {
    font-size: 11px;
    color: #bc232c !important;
}

.polyglot-language-switcher>.pls-selected-locale:after {
    content: url(../img/arrow/rr-nopad.png);
    border: 0px none;
    top: initial;
    margin-top: 1px;
}

/* wrappers & backgrounds */

.center {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.center.pad {
    max-width: 1120px;
    padding: 20px 75px 40px 60px;
    text-align: center;
    font-size: 14px;
}

.center.pad:empty {
    display: none;
}

.bg-white {
    background-color: #ffffff;
}

.bg-grey {
    background-color: #dbdbdb;
}

.bg-light-grey {
    background-color: #efeeef;
}

.bg-yellow {
    background-color: #face16;
}

.grey {
    color: #575756;
}

.red {
    color: #c9252c;
}

.border-top {
    border-top: 1px solid #dbdbdb;
    padding-top: 15px;
    margin-top: 30px;
}

/* header */

#header {
    padding-top: 8px;
    padding-bottom: 20px;
    line-height: 1.75;
}

.logo {
    display: block;
    width: 315px;
    height: 73px;
    background: url(../img/slg-logo.png) no-repeat center center;
    background-size: cover;
    float: left;
    margin-top: 5px;
    margin-left: 25px;
}

#address-block {
    float: right;
    margin-right: 50px;
    padding-top: 5px;
}

#contact {
    float: right;
    margin-right: 15px;
    font-size: 14px;
}

#contact #phone {
    color: #000000;
}

#contact #link {
    font-weight: bold;
    text-transform: lowercase;
}

.zegel-en,
.zegel-nl {
    background-image: url('../img/best-deals.png');
    background-size: cover;
    height: 113px;
    width: 124px;
    position: absolute;
    z-index: 999;
    right: 477px;
    top: 3px;
}

@media (max-width: 940px) {
    .zegel-en,
    .zegel-nl {
        display: none;
    }
}

.zegel_vhg-nl {
    background-image: url('../img/zegel.png');
    background-size: cover;
    height: 110px;
    width: 110px;
    position: absolute;
    z-index: 999;
    right: 226px;
    bottom: 32px;
}

.zegel_vhg-en {
    display: none;
}

/* social */

.social {
    position: absolute;
    top: 55px;
    right: 65px;
    list-style: none;
    font-size: 22px;
    padding: 0px;
    margin: 0px;
    z-index: 2;
}

.social li {
    float: left;
    margin-left: 9px;
}

.social li a {
    color: #dbdbdb;
    text-decoration: none;
}

/* subheader */

#subheader {
    height: 450px;
    background-size: cover;
    background-position: top center;
    font-size: 15px;
}

#subheader-mask {
    position: absolute;
    bottom: 0;
    right: 9%;
    width: auto;
    height: 83%;
}

@media (max-width: 1160px) {
    #subheader-mask {
        right: 0;
        width: 60%;
        height: auto;
    }
}

@media (max-width: 870px) {
    #subheader-mask {
        display: none;
    }
}

.magicknop {
    display: inline-block;
    background-color: white;
    padding: 5px 8px;
    width: auto;
    font-family: RijksText, Arial;
    font-weight: bold;
    margin: 20px 10px 0px 10px;
    font-size: 14px;
    letter-spacing: 1px;
    color: #ed1b35 !important;
}

/* menu */

#nav {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
}

#nav>span {
    color: #c9252c;
    line-height: 45px;
    padding-left: 25px;
    font-weight: 500;
}

#nav ul {
    min-height: 19px;
    border-top: 1px solid rgba(239, 238, 239, .5);
    border-bottom: 1px solid rgba(239, 238, 239, .5);
    list-style: none;
    padding: 12px 145px 12px 25px;
    margin: 0px;
}

#nav ul li {
    position: relative;
    display: inline-block;
    height: 20px;
    background: url(../img/menu-split.png) no-repeat right center;
    padding-right: 14px;
    margin-right: 6px;
}

#nav ul li:last-child {
    background-image: none;
}

#nav ul li a {
    display: block;
    height: 14px;
    color: #ffffff;
    /*text-shadow: 1px 1px 1px #565656;*/
    line-height: 20px;
    letter-spacing: .75px;
}

#nav ul li a.selected {
    color: #face16;
}

#nav ul li a:hover {
    text-decoration: underline;
}

#footer-menu #menu-btn, #nav #menu-btn {
    display: none;
}

#nav>.cms-general-toolbar {
    position: absolute;
    top: 27px;
    left: 25px;
}

#nav .cms-item-toolbar {
    position: absolute;
    top: -14px;
    width: 100px;
}

#nav .cms-general-toolbar, #nav .cms-item-toolbar {
    font-size: 10px;
}

#nav .cms-item-toolbar a {
    display: inline;
    text-shadow: 1px 1px 1px #565656;
}

/* search form */

#quick-search-form {
    width: 255px;
    padding: 190px 45px 0px 45px;
}

#advanced-search-form {
    width: 535px;
    padding: 130px 110px 0px 45px;
}

.search-form {
    position: absolute;
    background: url(../img/bg/search-form.png);
    top: 0px;
    bottom: 0px;
    z-index: 0;
}

.search-form div {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 14px);
    padding-right: 14px;
}

.search-form div.pad {
    /* padding-top: 38px; */
    padding-right: 0px;
}

.search-form h2 {
    color: #1d1d1b;
}

.search-form a, .search-form label {
    color: #000000;
    font-size: 12px;
    margin-bottom: 0px;
}

.search-form select, .search-form input[type=text], .search-form input[type=submit] {
    width: 100%;
    margin-bottom: 10px;
}

.search-form select.w50 {
    width: calc(50% - 7px);
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 20px;
}

.search-form select {
    color: #878787;
}

.search-form select.select-black, .search-form select option {
    color: #000000;
}

.search-form select option[value="0"] {
    /*display:none;*/
    color: #878787;
}

.search-form input[type=submit] {
    margin-top: 13px;
}

.search-form a {
    display: block;
    text-align: center;
}

#advanced-search-form a, #advanced-search-form input[type=submit] {
    width: calc(50% - 14px);
}

/* subheader-caption */

#subheader-caption {
    background: url(../img/bg/title.png) repeat-x center center;
    text-align: center;
    padding-top: 4px;
}

#subheader-caption h1, #subheader-caption .h1, #subheader-caption h2, #subheader-caption .h2 {
    display: inline;
    line-height: 56px;
    background-color: #dbdbdb;
    color: #404040;
    padding-left: 120px;
    padding-right: 120px;
    font-size: 14px;
    font-weight: 500;
}

/* pagination */

.cms-nav-static {
    display: none;
}

.cms-navigation {
    width: 97%;
    display: inline-flex;
}

.cms-navigation ul {
    display: inline-flex;
    list-style-type: none;
    margin: auto;
}

.cms-nav-pager a {
    display: block;
    padding: 19px;
}

.cms-nav-pager {
    margin: 1px;
    background-color: white;
    font-size: 17px;
    font-weight: 400;
    /* border-radius: 0px; */
}

li.cms-nav-pager.cms-nav-selected {
    background-color: #bc2b36;
    /* color: white; */
}

li.cms-nav-pager.cms-nav-selected a {
    color: white;
}

.cms-nav-pager:hover {
    opacity: 0.4;
    /* cursor: pointer; */
}

li.cms-nav-pager.cms-nav-selected:hover {
    opacity: 1;
}

/* content */

#content {
    width: 98%;
    padding: 18px 1% 18px 1%;
    max-width: calc(1220px - 2%);
}

/* property filters */

#sort-filters {
    text-align: right;
    padding-bottom: 14px;
    margin-right: 35px;
}

#sort-filters a {
    color: #000000;
    padding-left: 10px;
}

#sort-filters a.selected {
    color: #c9252c;
}

#sort-filters a:after {
    padding-left: 3px;
}

#sort-filters .sort-filter-asc:after {
    content: url(../img/arrow/filter-asc.png);
}

#sort-filters .sort-filter-desc:after {
    content: url(../img/arrow/filter-desc.png);
}

#sort-filters .selected.sort-filter-asc:after {
    content: url(../img/arrow/filter-selected-asc.png);
}

#sort-filters .selected.sort-filter-desc:after {
    content: url(../img/arrow/filter-selected-desc.png);
}

/* property */

.property {
    position: relative;
    display: block;
    float: left;
    width: 24%;
    /* 257px */
    margin-left: 0.5%;
    margin-right: 0.5%;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #ffffff;
    text-decoration: none !important;
    color: #404848;
}

.property a {
    text-decoration: none !important;
    color: #404848;
}

.property .image {
    height: 148px;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.property img {
    width: 100%;
    position: relative;
}

@media (min-width: 641px) {
    .property img {
        top: 50%;
        transform: translateY(-50%);
    }
}

.property h2 {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 5px;
    font-weight: 500;
    height: 18px;
    overflow: hidden;
}

.property>a>p, .property>a>div {
    margin-left: 15px;
    margin-right: 15px;
    line-height: 17px;
}

.property .desc {
    height: 48px;
    overflow: hidden;
}

.property .price {
    font-weight: bold;
    color: #bc232c;
    margin-top: 25px;
    margin-bottom: 0px;
}

.property .more {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 42px;
    background: url(../img/arrow/rg.png) right center no-repeat #face16;
    padding: 5px 0px 5px 8px;
}

/* footer */

#footer {
    margin-top: 83px;
    margin-bottom: 83px;
    color: #666666;
}

#footer .white {
    background-color: white;
}

#footer>div {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding-left: 12px;
}

#footer .top {
    height: 80px;
}

#footer .bottom {
    margin-top: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: 5fr 4fr 6fr 5fr;
}

#footer #menu-btn {
    display: none;
}

#footer ul {
    list-style: none;
    padding: 0;
}

#footer .logo {
    display: inline-block;
    width: 230px;
    height: 53px;
    margin-top: 14px;
    margin-left: 2px;
    margin-right: 17px;
    float: none;
}

#footer .newsletter-button {
    position: absolute;
    display: inline-block;
    top: 19px;
    left: calc(50% - 138px);
    width: 276px;
    height: 36px;
    cursor: pointer;
    text-align: center;
    line-height: 36px;
    letter-spacing: 1px;
    background-color: #c9252c;
    color: white;
    text-transform: uppercase;
}

#footer .social {
    top: 30px;
    right: 47px;
}

#footer .social li a {
    color: #b3b4b4;
}

#footer .address {
    margin-top: 12px;
}

#footer .zegel {
    top: 35px;
    right: 45px;
    bottom: auto;
    width: 110px;
    height: 110px;
}

#footer .landingspages {
    display: flex;
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 12px;
}

#footer .landingspages li {
    width: calc(33% - 7px);
}

#footer .landingspages li>a {
    color: #404040;
}

#footer p.bottom-text {
    margin-top: 25px;
    text-align: center;
}

/* footer menu */

#footer-menu {
    height: 60px;
    border-bottom: 1px solid #878787;
    margin-bottom: 100px;
}

#footer-menu ul {
    margin: 0px;
    padding: 0px;
    padding-top: 22px;
    padding-left: 2px;
    list-style: none;
}

#footer-menu ul li {
    float: left;
    padding-right: 10px;
    margin-right: 10px;
    background: url(../img/menu-split-white.png) no-repeat right center;
}

#footer-menu ul li:last-child {
    background: none;
}

#footer-menu ul li a {
    color: #666666;
}

/* cms */

body>.cms-general-toolbar {
    background-color: #ffffff;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#scrollToTopID {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #bc242c;
    position: fixed;
    bottom: 50px;
    right: 50px;
    -webkit-box-shadow: 0px 9px 21px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 9px 21px -8px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 9px 21px -8px rgba(0, 0, 0, 0.75);
    padding: 30px 30px;
    display: none;
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    outline: none;
    /* Remove outline */
    background: url('/../img/arrowup.png');
    background-size: contain;
    background-position: center;
}

/* SOLD sticker */
.property.status-14 div.image::before {
	display: block;
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 23%;
	left: 0;
    z-index: 10;

	width: 152px;
	height: 78px;	

	content: '';
	background-image: url("/upload/images/sold.png");
}

/* 920 */

@media only screen and (max-width: 920px) {
    .property {
        width: 31.83%;
        /* 257px */
        margin-left: 0.75%;
        margin-right: 0.75%;
    }
}

/* 800 */

@media only screen and (max-width: 800px) {
    #header .logo {
        width: 100%;
        height: 67px;
        background-size: contain;
        margin-left: 0px;
    }
    #address-block {
        float: left;
        margin-left: 15px;
        margin-right: 0px;
    }
    #contact {
        text-align: right;
    }
    #footer .logo, #footer .newsletter-button, #footer .social {
        position: relative;
        display: block;
        left: 0;
    }
    #footer .newsletter-button {
        margin: 7px 0;
    }
    #footer .top {
        height: 192px;
        padding-top: 10px;
    }
    #footer .bottom {
        display: block;
    }
}

/* 700 */

@media only screen and (max-width: 700px) {
    .property {
        width: 48%;
        /* 257px */
        margin-left: 1%;
        margin-right: 1%;
    }
}

/* 640 */

@media only screen and (max-width: 640px) {
    #language-switcher {
        position: relative;
        background-color: #dbdbdb;
        left: 0px;
        top: -10px;
        width: 100%;
    }
    #language-switcher>span {
        position: absolute;
        top: 10px;
        left: 25px;
    }
    .polyglot-language-switcher>a {
        text-align: right;
        display: block;
        height: 42px;
        font-size: 15px;
        line-height: 42px;
        width: calc(100% - 30px);
    }
    .polyglot-language-switcher .pls-language-container-scrollable {
        left: 0px;
        right: 0px;
    }
    .polyglot-language-switcher .pls-language-container-scrollable table {
        margin-top: 0px;
        width: 100%;
    }
    #nav>span {
        display: none;
    }
    #nav ul {
        padding: 0px;
    }
    #nav ul li {
        display: none;
        background-image: none;
        background-color: #bc232c;
        color: #ffffff;
        line-height: 40px;
        height: 40px;
        padding-left: 20px;
        margin-right: 0px;
        border-bottom: 1px dashed white;
        text-align: center;
    }
    #nav ul li a {
        line-height: 40px;
        color: #ffffff;
    }
    #nav ul li:last-child {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        border-bottom: 0px;
    }
    #nav #menu-btn {
        display: block;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#bc232c+0,811e19+100 */
        background: #bc232c;
        /* Old browsers */
        background: -moz-linear-gradient(top, #bc232c 0%, #811e19 100%);
        /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bc232c), color-stop(100%, #811e19));
        /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #bc232c 0%, #811e19 100%);
        /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #bc232c 0%, #811e19 100%);
        /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #bc232c 0%, #811e19 100%);
        /* IE10+ */
        background: linear-gradient(to bottom, #bc232c 0%, #811e19 100%);
        /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc232c', endColorstr='#811e19', GradientType=0);
        /* IE6-9 */
        text-align: left;
        border-bottom: 0px;
    }
    #menu-btn i {
        float: right;
        font-size: 32px;
        line-height: 40px;
    }
    .search-form {
        position: relative !important;
        width: 90% !important;
        padding: 55px 5% 10px 5% !important;
    }
    #advanced-search-form a, #advanced-search-form input[type=submit] {
        width: 100%;
    }
    .search-form input[type=submit] {
        margin-top: 0px;
    }
    .search-form div {
        display: block;
        width: 100%;
    }
    .search-form div.pad {
        padding-top: 0px;
    }
    .search-form a {
        display: block;
        height: 32px;
        line-height: 32px;
        background-color: #bc232c;
        color: #ffffff;
        cursor: pointer;
        text-align: center;
        font-family: Roboto, sans-serif;
        border: 0px none;
        margin-bottom: 5px;
    }
    #subheader {
        height: auto;
    }
    #subheader .social {
        display: none;
    }
    #subheader-caption h1, #subheader-caption .h1, #subheader-caption h2, #subheader-caption .h2 {
        padding-left: 25px;
        padding-right: 15px;
    }
    #content {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    .property {
        width: 100%;
        /* 257px */
        margin-left: 0px;
        margin-right: 0px;
    }
    .property .image {
        height: auto;
    }
    #footer {
        height: auto;
        margin-top: 25px;
    }
    .cms-general-toolbar, .cms-item-toolbar {
        display: none;
    }
}

/* 440 */

@media only screen and (max-width: 440px) {
    #header {
        padding-bottom: 10px;
    }
    #contact {
        float: none;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;
        padding-top: 10px;
    }
    #contact #email, #contact #phone, #address-block {
        display: none;
    }
    #contact #link {
        font-size: 16px;
    }
    .lang-ru #quick-search-form h2 {
        font-size: 17px;
    }
    #footer .landingspages {
        display: block;
    }
    #footer .landingspages li {
        width: 100%;
    }
}

@media only screen and (max-width: 440px) {
    #footer .zegel {
        display: none;
    }
}
