/*
Theme Name: Quadrini Template
Theme URI: https://auchstudio.pl
Author: AUCH studio TEAM
Author URI: https://auchstudio.pl
Description: Simpler is better...
Text Domain: quadrini
*/

*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "Lato";
    outline: 0 !important;
}
::-webkit-input-placeholder { color: #757575;opacity: 1; }
::-moz-placeholder { color: #757575;opacity: 1;} /* firefox 19+ */
:-ms-input-placeholder { color: #757575;opacity: 1; } /* ie */
input:-moz-placeholder { color: #757575;opacity: 1; }
.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  top: 50%;
  margin-top: -5em;
  animation: load8 1.1s infinite linear;
}
.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
img {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
body{
    margin:0;
    background: #eaeaea;
}
h2{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 900;
    float: left;
    width: 100%;
    margin-bottom: 40px;
    margin-top: 70px;
    color: #7D4083;
}


#preloader{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(0,0,0,0.9);
}
#preloader img{
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -32px 0 0 -32px;
    opacity: 0.9;
}

/** MENU **/
#menu{
    position: fixed;
    z-index: 99;
    left: -240px;
    width: 304px;
    transition: right .6s, left .6s;

}
#menu.active{
    left: 0;
}
.menu-toggle{
    width: 64px;
    height: 64px;
    background: #000;
    float: right;
    cursor: pointer;
}
.menu-toggle div{
    width: 28px;
    height: 4px;
    background: #fff;
    margin: 7px auto;
    position: relative;
    top:0;
}
.menu-toggle div:first-child{
    margin-top: 19px;
}
#menu.active .menu-toggle div:first-child{
    animation-name: moveFirst;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    -webkit-animation-name: moveFirst;
    -webkit-animation-duration: .5s;
    -webkit-animation-fill-mode: forwards;
}
#menu.active .menu-toggle div:nth-child(2){
    animation-name: moveSecond;
    animation-duration: .1s;
    animation-delay: .2s;
    animation-fill-mode: forwards;
    -webkit-animation-name: moveSecond;
    -webkit-animation-duration: .1s;
    -webkit-animation-delay: .2s;
    -webkit-animation-fill-mode: forwards;
}
#menu.active .menu-toggle div:last-child{
    animation-name: moveLast;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    -webkit-animation-name: moveLast;
    -webkit-animation-duration: .5s;
    -webkit-animation-fill-mode: forwards;
}
@keyframes moveFirst {
  0% { top: 0; transform: rotate(0);}
  50% { top: 10px;transform: rotate(0); }
  100% { transform: rotate(-45deg); top: 11px }
}
@keyframes moveSecond {
  0% { opacity: 1;}
  100% { opacity: 0; }
}
@keyframes moveLast {
  0% { top: 0; transform: rotate(0);}
  50% { top: -10px;transform: rotate(0); }
  100% { transform: rotate(45deg); top: -11px }
}
#menu .menu-toggle div:first-child{
    animation-name: moveFirstBack;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    -webkit-animation-name: moveFirstBack;
    -webkit-animation-duration: .5s;
    -webkit-animation-fill-mode: forwards;
}
#menu .menu-toggle div:nth-child(2){
    animation-name: moveSecondBack;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    -webkit-animation-name: moveSecondBack;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
}
#menu .menu-toggle div:last-child{
    animation-name: moveLastBack;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    -webkit-animation-name: moveLastBack;
    -webkit-animation-duration: .5s;
    -webkit-animation-fill-mode: forwards;
}
@keyframes moveFirstBack {
  0% { top: 11px; transform: rotate(-45deg);}
  50% { top: 10px;transform: rotate(0); }
  100% { transform: rotate(0deg); top: 0px }
}
@keyframes moveSecondBack {
  0% { opacity: 0;}
  100% { opacity: 1; }
}
@keyframes moveLastBack {
  0% { top: -11px; transform: rotate(45deg);}
  50% { top: -10px;transform: rotate(0); }
  100% { transform: rotate(0deg); top: 0px }
}
@-webkit-keyframes moveFirstBack {
  0% { top: 11px; -webkit-transform: rotate(-45deg);}
  50% { top: 10px;-webkit-transform: rotate(0); }
  100% { -webkit-transform: rotate(0deg); top: 0px }
}
@-webkit-keyframes moveSecondBack {
  0% { opacity: 0;}
  100% { opacity: 1; }
}
@-webkit-keyframes moveLastBack {
  0% { top: -11px; -webkit-transform: rotate(45deg);}
  50% { top: -10px;-webkit-transform: rotate(0); }
  100% { -webkit-transform: rotate(0deg); top: 0px }
}
.menu-list{
    width: 240px;
    height: 310px;
    background: #000;
    float: left;
    padding-top: 15px;
}
.menu-list a{
    text-decoration: none;
    color: #fff;
    opacity: 0.4;
    font-size: 14px;
    transition: opacity .4s;
    margin-top: 15px;
    display: block;
}
.menu-list a.active,
.menu-list a:hover{
    opacity: 1;
}
/** LOGO **/
.logo{
    max-width: 390px;
    width: 390px;
    height: 390px;
    float: left;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
    margin-left: -32px;
}
.logo img{
    margin-top: 110px;
}
.logo-small{
    display: block;
    text-align: center;
    border-bottom: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    height: 64px;
    position: fixed;
    margin:0 auto;
    width: 389px;
    top: 0;
    padding-top: 11px;
    z-index: 9910;
    background: #fff;
    display: none;
}
.social-icon{
    float: right;
    margin-top: 23px;
    border-left: 1px solid #e4e4e4;
    border-top: 1px solid #e4e4e4;
    
}

/** RIGHT&LEFT CONTAINERS **/
.wrapper{
    width: 100%;
    float: left;
    padding-bottom: 30px;
    margin:0 auto;
    text-align: justify;
    font-size: 14px;
}
#right-container{
    float: left;
    background: #fff;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 9;
    transition: height .4s;
}
#right-container-wrapper{
    min-width: 320px;
    max-width: 390px;
    margin: 0 auto;
    border-right: 1px solid #e4e4e4;
    border-left: 1px solid #E4E4E4;
    position: relative;
    top: 0;
    overflow: hidden;
    transition: top 1.4s;
}
#left-container{
    float: left;
    background-size: cover;
}
#right-container p{
    width: 100%;
    margin:0 auto;
    text-align: justify;
    font-size: 12px;
    padding-bottom: 30px;
}

#page-container{
    width: 100%;
    float: left;
    overflow: hidden;
}

#page-wrapper{
    overflow: auto;

    background: #fff;
}

/** SLIDES SECTION **/
.slide{
    width: 100%;
    position: absolute;
    transition: top 0.8s linear;
    top: -100%;
    display: none;

}
.section1{
    background-size: cover;
    top: 0;
}
.section2{
    background-size: cover;
}

.right-section{
    padding: 0 30px;
    float: left;
    width: 100%;
    transition: height 1s;
    overflow: hidden;
}
.spacer{
    float: left;
    width: 100%;
    height: 200px;
    display: none;
}
.img-full-width img{
    width: 100%;
    height: auto;
    margin-bottom: 20px;

}

/** MAP **/
#rwd-map{
    height: 400px;
    margin-bottom: 30px;
}
.map-icon{
    width: 95px;
    height: 95px;
    float: left;
    color: #fff;
    text-align: center;
    display: none;
    font-size: 12px;
    cursor: pointer;
}
.map-icon:nth-child(2){
    margin-left: 22px;
}
.map-icon:nth-child(3){
    margin-left: 21px;
}
.map-icon:nth-child(5){
    margin-left: 22px;
    margin-top: 20px;
}
.map-icon:nth-child(4){
    margin-top: 20px;
}
.front{
    background: #fff;
    border: 1px solid #666;
}
.back{
    background: #7D4083;
    border: 0px solid #666;
    padding-top: 40px;
}
.map-icon:nth-child(2) .back{
    padding-top: 30px;
}
.education{
    background: url("img/edu_icon.jpg") center no-repeat;
}
.transport{
    background: url("img/bus_icon.jpg") center no-repeat;
}
.sport{
    background: url("img/hum_icon.jpg") center no-repeat;
}
.shop{
    background: url("img/sho_icon.jpg") center no-repeat;
}
.pharmacy{
    background: url("img/pha_icon.jpg") center no-repeat;
}
.hided .front{
    z-index: 0 !important;
    transform: rotateY(180deg) !important;
}
.hided .back{
    z-index: 1 !important;
    transform: rotateY(0deg) !important;
}
.hided .back-education{
    background: #421d75;
}
.hided .back-transport{
    background: #2b8ce7;
}
.hided .back-sport{
    background: #1eca47;
}
.hided .back-shop{
    background: #ffb400;
}
.hided .back-pharmacy{
    background: #d10e0e;
}
.more{
    font-weight: bold;
    cursor: pointer;
    font-style: italic;
}
.text-hided{
    display: none;
}

/** GALLERY **/
.gallery-title{
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    float: left;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 50px !important;
}
.gallery-container[data-galleryid="1"] .gallery-title{
    margin-top: 10px !important;
}
.photo{
    width: 80px;
    height: 80px;
    float: left;
    margin: 1px;
    position: relative;
    cursor: pointer;
}
.photo.hided{
    display: none;
}
.photo-cover{
    position: absolute;
    width: 100%;
    height: 100%;

    background: rgba(125,64,131,0.7) url('img/zoom.png') center no-repeat;
    opacity: 0;
    pointer-events: none;
    -webkit-pointer-events: none;
    transition: opacity .4s;

}
.photo:hover .photo-cover{
    opacity: 1;
}
.photo-more{
    width: 80px;
    height: 80px;
    float: left;
    margin: 1px;
    position: relative;
    cursor: pointer;
    background: #fff url('img/more_arrow.jpg') center no-repeat;
    border: 1px solid #e4e4e4;
}
.gallery-popup-container{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 100;
    display: none;
}
.gallery-popup-wrapper{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.gallery-popup-wrapper img{
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.gallery-description {
	position: absolute;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.arrow-next{
    width: 30px;
    height: 30px;
    background: url('img/arrow.png') no-repeat;
    background-size: cover;
    position: absolute;
    right:20px;
    top: 50%;
    margin-top: -15px;
    cursor: pointer;
}
.arrow-prev{
    width: 30px;
    height: 30px;
    background: url('img/arrow.png') no-repeat;
    background-size: cover;
    position: absolute;
    left: 20px;
    top: 50%;
    margin-top: -15px;
    cursor: pointer;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}
.close{
    width: 25px;
    height: 25px;
    background: url('img/close.png') no-repeat;
    background-size: cover;
    position: absolute;
    right: 26px;
    top: 5%;
    cursor: pointer;
}
.arrow-next,
.arrow-prev,
.close{
    opacity: 0.8;
    transition: opacity .4s;
    z-index: 992312;
}
.arrow-next:hover,
.arrow-prev:hover,
.close:hover{
    opacity: 1;
}
.gallery-numbers{
    position: absolute;
    top: 5%;
    left: 20px;
    color: #fff;
    font-weight: 900;
}
.gallery-container{
    float: left;
    width: 100%;
}
.gallery-preloader{
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -32px 0 0 -32px;
}

/** HOUSE CHOOSER **/
.house-chooser{
    width: 390px;
    margin-left: -30px;
    background: #e4e4e4;
    float: left;
}
#svg-parter{
    height: 210px;
    width: 100%;
    margin-top: 10px;
    display: none;

}
#svg-pietro{
    height: 210px;
    width: 100%;
    margin-top: 10px;
}

#svg-pietro g text {
	*fill: #000000;
}

#WHITE g{
    display: none;
}
#MASK polygon,
#MASK_1_ g polygon{
    fill: #e4e4e4 !important;
    cursor: pointer;
    transition: all .4s;
}
#MASK polygon:hover,
#MASK_1_ g polygon:hover{
    fill: #b4b4b4 !important;
}
#MASK polygon.active,
#MASK_1_ g polygon.active{
    fill: #000 !important;
}
text{
    pointer-events: none;
    -webkit-pointer-events: none;
}
.floor-switcher{
    height: 55px;
    width: 100%;
    float: left;
    border-bottom: 1px solid #e4e4e4;
    position: relative;
    z-index: 2;
}
.floor{
    float: left;
    width: 50%;
    height: 100%;
    cursor: pointer;
    background: #fff;
    transition: all .3s;
    text-align: center;
    line-height: 55px;
    font-weight: 900;
}
.floor:before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 7px 7px;
    border-color: transparent transparent #7D4083;
    position: relative;
    top: -43px;
    left: 30px;
    opacity: 0;
    transition: all .3s;
}
.floor:hover,
.floor.active{
    background: #7D4083;
    color: #fff;
}
.floor:hover:before,
.floor.active:before{
    opacity: 1;
}

.apartment{
    width: 100%;
    height: 180px;
    border: 1px solid #e4e4e4;
    margin-top:30px;
}
.apartment-name{
    text-indent: 10px;
    font-size: 18px !important;
    font-weight: 900;
    line-height: 40px;
    border-bottom: 1px solid #e4e4e4;
    padding: 0 !important;
}
.apartment-name span{
    float: right;
    width: 125px;
    height: 40px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px !important;
}
span.wolne{
    background: #5dbd1d;
}
span.sprzedane{
    background: #ff3c00;
}
span.zarezerwowane{
    background: #3ba3d9;
    font-size: 12px !important;
}
.apartment-text{
    width: 100%;
    padding: 10px;
    position: relative;
}
.apartment-text p{
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 24px;
}
.apartment-text p span.price{
    float: right;
    font-weight: normal;
}
.apartment-text p span{
    font-weight: 900;
}
.apartment-text .rzut{
    position: absolute;
    width: 120px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    background: #7D4083;
    color: #fff;
    text-align: center;
    display: block;
    right: 10px;
    bottom: 10px;
    font-weight: 900;
}
.apartment[data-pietro="parter"]{
    display: none;
}

/** CONTACT **/
.contact-text{
    float: left;
    width: 50%;
    font-size: 14px !important;
}
.contact-form{
    float: left;
    padding-bottom: 120px;
    margin-bottom: 90px;
}
.contact-form input:not(.send-btn),
.topic{
    width: 100%;
    height: 45px;
    border: 1px solid #e4e4e4;
    margin-bottom: 7px;
    padding: 0;
    float: left;
    text-indent: 10px;
}
.topic{
    line-height: 45px;
    cursor: pointer;
    font-size: 13px;
	color: rgba(114,114,114,1);
}
.topic-arrow{
    float: right;
    background: url('img/contact_arrow.jpg') no-repeat center;
    width: 45px;
    height: 45px;
    border-left: 1px solid #e4e4e4;

}
.topic.active{
	color: #000;
	font-size: 14px;
}
.topic-list{
    position: relative;
    bottom: 1px;
    left: -1px;
    width: calc( 100% + 2px );
    height: 125px;
    background: #fff;
    list-style: none;
    padding: 0;
    display: none;
    margin: 0;
}
.topic-list li{
    text-indent: 40px;
    border: 1px solid #e4e4e4;
    border-width: 0 1px 1px 1px;
    height: 30px;
    line-height: 30px;
}
.topic-list li:hover{
    background: #000;
    color: #fff;
}
.contact-form textarea{
    height: 115px;
    width: 100%;
    float: left;
    resize: none;
    border: 1px solid #e4e4e4;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}
.contact-form .send-btn{
    width: 100px;
    height: 45px;
    background: #7D4083;
    color: #fff;
    font-weight: 900;
    text-align: center;
    line-height: 45px;
    border: none;
    display: block;
    cursor: pointer;
    margin: 0 auto;
    transition: background .4s;
}
.contact-form .send-btn:hover{
    background: #000;
}
.rules{
    float: left;
    width: 100%;
    margin-bottom: 20px;
}
.rules a{
    font-weight: 900;
    color: #000;
}
.square-checkbox{
    width: 22px;
    height: 22px;
    border: 1px solid #e4e4e4;
    float: left;
    cursor: pointer;
    margin-right: 20px;
}
.square-checkbox.active{
    background: url('img/tick.png') no-repeat center;
}
.g-recaptcha{
    float: left;
    transform: scale(1.08);
    width: 100%;
    position: relative;
    left: 14px;
    margin-bottom: 20px;
}
.error{
    width: 100%;
    float: left;
    margin: 5px 0px !important;
    color: #bd2432;
    display: none;
    padding: 0 !important;
}
.send-msg{
    width: 100%;
    float: left;
    margin: 5px 0px !important;
    padding: 0 !important;
    display: none;
    color: #2f8c13;
    font-size: 16px !important;
}


.footer{
    background: #000;
    height: 120px;
    float: left;
    color: #fff;
    position: absolute;
    padding: 35px 25px 25px 25px;
    text-align: right;
    font-size: 12px;
    width: 390px;
    margin-left: -30px;
    bottom: 0;
    right: 0;
}
.footer span{
    color: rgba(255,255,255,0.7);
    position: absolute;
    right: 25px;
    bottom: 25px;
}
.footer a{
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.klauzula {
    position: absolute;
    bottom: 135px;
    width: 390px;
    left: 0;
    padding: 0 30px;
    text-align: right;
}
.klauzula a {
	text-decoration: none;
    color: #000;
    font-size: 12px;
    line-height: 1;
}

/**PAGER **/
.pager{
    width: 17px;
    position: fixed;
    right: 15px;
    top: 50%;
    z-index: 92;
    margin-top: -80px;
    display: none;
}
.pager-box{
    width: 17px;
    height: 17px;
    border: 1px solid #000;
    float: left;
    cursor: pointer;
    margin-bottom: 10px;
}
.pager-box-dot{
    width: 5px;
    height: 5px;
    background: #7D4083;
    margin: 5px auto;
    opacity: 0;
    transition: all .2s;
}
.pager-box.active .pager-box-dot,
.pager-box:hover .pager-box-dot{
    opacity: 1;
}

body .popup {
	position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999999999;
}

body .popup .content {
	position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -250px;
    width: 500px;
    height: 500px;
}

body .popup .content .x {
	position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

body .popup .content .step2 {
	display: none;
}

body .popup .content .image {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

body .popup .content .image.xs {
	display: none;
}

@media (min-width: 769px){
	
    h2{
        font-size: 14px;
        margin-top: 10px;
    }

    .wrapper{
        font-size: 12px;
    }
    .slide{
        display: block;
    }
    #page-wrapper{
        width: calc( 100% + 20px );
    }
    #menu{
        right: -240px;
        left: auto;
        z-index: 1;
    }
    #menu.active{
        right: 0px;
        left: auto;
    }
    .menu-toggle{
        float: left;
    }
    #rwd-map{
        height: 0;
        display: none;
    }
    .map-icon{
        display: block;
    }
    .spacer{
        display: block;
    }
    #right-container{
        width: 390px;
        float: left;
        margin-left: calc( 100% - 390px );
        border-left: 0px solid #E4E4E4;
    }
    #right-container-wrapper{
        border-left: 0;
    }
    #left-container{
        width: calc( 100% - 390px );
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }
    #menu{
        display: block;
        position: absolute;
    }
    .logo-small{
        display: none;
    }
    section:not(#home) h2{
        padding-top: 40px;
    }
    h2{
        margin-top: 70px;
    }
    .contact-form{
        margin-bottom: 0px;
    }
}

@media (min-width: 1200px){
    #right-container{
        width: 33.3333%;
        float: left;
        margin-left: 66.6666%;
    }
    #right-container-wrapper{
        float: left;
        width: 390px;
    }
    #left-container{
        width: 66.6666%;
    }
}

@media (max-width: 390px){
    .logo,.logo-small,
    .house-chooser{
        width: calc(100% + 64px);
    }
    .wrapper{
        width: 100%;
    }
    .footer{
        width: 100%;
        margin-left: 0;
    }
    .map-icon:nth-child(2){
        margin-left: 0;
    }
    .map-icon:nth-child(2n){
        margin-left: 22px;
    }
    .map-icon:nth-child(3){
        margin-left: 0;
        margin-top: 20px;
    }
    .map-icon:nth-child(5){
        margin-left: 0;
    }
    .contact-form{
        width: 100%;
    }
    .g-recaptcha {
        float: left;
        transform: scale(0.87);
        width: 100%;
        position: relative;
        left: -20px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1300px){
    .pager{
        display: block;
    }
}

@media (max-width: 768px){
	body .popup .content {
		position: absolute;
	    top: 50%;
	    left: 50%;
	    margin-left: -160px;
	    margin-top: -160px;
	    width: 320px;
	    height: 320px;
	}
	
	body .popup .content .image {
		display: none;
	}
	
	body .popup .content .image.xs {
		display: block;
	}
}