/* COLORS ========================================== */
/* MIXINS ========================================== */
/* KEYFRAMES ========================================== */
@-webkit-keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
   }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
}
@-moz-keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
   }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
}
@-o-keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
   }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
}
@keyframes float {
    0% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
    50% {
        transform: translatey(-30px);
        transform: translatex(20px);
   }
    100% {
        transform: translatey(0px);
        transform: translatex(0px);
   }
}
/* RESET ========================================== */
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto Condensed', sans-serif;
    height: 100vh;
    background-image: url(bg.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}
/* BUTTON ========================================== */
.button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.button button {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: inherit;
    background-color: #fff;
    border: 0;
    padding: 15px 25px;
    color: #000;
    text-transform: uppercase;
    font-size: 21px;
    letter-spacing: 1px;
    width: 200px;
    overflow: hidden;
    outline: 0;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    visibility: visible;
    opacity: 1;
    font-weight: bold;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.6);
}
.button button:hover {
    cursor: pointer;
    background-color: #8e6ac1;
    color: #fff;
}
.button button span {
    opacity: 1;
}
.button.clicked button {
    visibility: hidden;
    oacity: 0;
}
/* POP-UP ========================================== */
.pop-up {
    position: absolute;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0.9);
    -moz-transform: translate(-50%, -50%) scale(0.9);
    -ms-transform: translate(-50%, -50%) scale(0.9);
    -o-transform: translate(-50%, -50%) scale(0.9);
    transform: translate(-50%, -50%) scale(0.9);
    overflow-y: auto;
    /* box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4); */
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 10;
    /* background-color: #fff; */
    width: 100%;
    height: 100%;
}
@media (min-width: 768px) {
    .pop-up {
        width: calc(100% - 40px);
        height: auto;
   }
}
.pop-up .content {
    width: 100%;
    /* max-width: 900px; */
    overflow: hidden;
    text-align: left;
    position: relative;
    min-height: 100vh;
}
@media (min-width: 768px) {
    .pop-up .content {
        min-height: inherit;
   }
}
.pop-up .content .container {
    padding: 155px 16px 30px;
    min-height: 600px;
}
@media (min-width: 568px) {
    .pop-up .content .container {
        padding: 80px 20px 80px;
   }
}
@media (min-width: 768px) {
    .pop-up .content .container {
        padding: 170px 0px 0px;
        max-width: 100%;
        margin: 0 auto;
   }
}
.pop-up .content .close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    color: #3e4146;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
.pop-up .content .close:hover {
    cursor: pointer;
    color: #e22415;
}
.dots .dot {
    position: absolute;
    border-radius: 100%;
    z-index: 11;
}
.dots .dot:nth-of-type(1) {
    top: -16px;
    left: -12px;
    width: 103px;
    height: 96px;
    background-color: #fff;
}

.dots .dot:nth-of-type(2) {
    bottom: -120px;
    left: -120px;
    width: 240px;
    height: 240px;
    background-color: #e22415;
    -webkit-animation: float 8s ease-in-out infinite;
    -moz-animation: float 8s ease-in-out infinite;
    -o-animation: float 8s ease-in-out infinite;
    animation: float 8s ease-in-out infinite;
}
.dots .dot:nth-of-type(3) {
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: #ffd84c;
    -webkit-animation: float 4s ease-in-out infinite;
    -moz-animation: float 4s ease-in-out infinite;
    -o-animation: float 4s ease-in-out infinite;
    animation: float 4s ease-in-out infinite;
}

.pop-up .content img {
    width: 100%;
    max-width: 220px;
    display: inline-block;
    margin: 30px 0 40px 0;
    opacity: 0;
    -webkit-transform: translateX(60px);
    -moz-transform: translateX(60px);
    -ms-transform: translateX(60px);
    -o-transform: translateX(60px);
    transform: translateX(60px);
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-backface-visibility: hidden;
}
@media (min-width: 768px) {
    .pop-up .content img {
        max-width: 300px;
   }
}
.pop-up .content .subscribe h1 {
    font-size: 1.1rem;
    color: white;
    line-height: 130%;
    letter-spacing: 0.07rem;
    margin-bottom: 30px;
}
.pop-up .content .subscribe h1 span {
    color: #e22415;
}
.pop-up .content .subscribe form {
    overflow: hidden;
}
.pop-up .content .subscribe form input {
    width: 100%;
    float: left;
    padding: 15px 10px;
    text-align: left;
    font-family: inherit;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    outline: 0;
}
.pop-up .content .subscribe form input[type=text] {
    margin-bottom: 15px;
    border: 0px solid #bec1c5;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    border-radius: 15px;
    padding-left:10px;
    font-size: 12px;
    text-align-last: center;
}
@media (min-width: 768px) {
    .pop-up .content .subscribe form input[type=text] {
        margin-bottom: 0px;
        width: 62%;
        border-right-width: 0px;
        font-size: unset;
        text-align-last: left;
   }
}
.pop-up .content .subscribe form input[type=text]:focus {
    border-color: #3e4146;
}
.pop-up .content .subscribe form input[type=submit] {
    background-color: #eb6653;
    color: #fff;
    border: 1px solid #eb6653;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    border-radius: 15px;
}
@media (min-width: 768px) {
    .pop-up .content .subscribe form input[type=submit] {
        width: 38%;
        float: right !important;
        font-size: 15px;
        font-weight: 600;
   }
}
.pop-up .content .subscribe form input[type=submit]:hover {
    cursor: pointer;
    background-color: #eb6653;
    border-color: #eb6653;
}
.pop-up.open {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    /* background: linear-gradient(to bottom, #f2d8c2 0%, #f4e7da 100%);
    background: linear-gradient(to right, #d7bb96, #d9f4e5); */
}
.pop-up.open::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M2.5 0l2.5 5-2.5 5H0l2.5-5L0 0h2.5zM7.5 0H10l-2.5 5 2.5 5H7.5L5 5l2.5-5z" fill="%23f4e1c8" /></svg>'); */
    background-size: 10px 10px;
    opacity: 1.5;
} 
.pop-up.open img {
    opacity: 1;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
}

/* body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(to bottom, #f2d8c2 0%, #f4e7da 100%);
    background-size: cover;
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M2.5 0l2.5 5-2.5 5H0l2.5-5L0 0h2.5zM7.5 0H10l-2.5 5 2.5 5H7.5L5 5l2.5-5z" fill="%23f4e1c8" /></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
} */

/* Mobile CSS */
.pop-up .content .title h1 {
    text-align: left;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.05rem;
    margin-bottom: 10px;
}
.pop-up .content .title h1 span{
    background: #e22415;
    color: white;
    padding-left: 10px;
    border-radius: 15px;
    padding-right: 10px;
}
.pop-up .content .container .title{
    left: 0vw;
    position: relative;
    z-index: 9;
}
.subscriptioncontent form{
    max-width: 100vw;
}
.subscriptioncontent{
    position: absolute;
    left: 5vw;
    max-width: 85%;
    z-index: 9;
}
.pop-up .content .subscribe form input {
    text-align: center;
}
.logoimg{
    position: absolute;
    left: 14px;
    width: 79px !important;
    top: 22px;
}
.pop-up .content img {
    margin: 65px 0 40px 0;
}
.parashotimg{
    position: absolute;
    position: absolute;
    z-index: 2;
    right: -30vw;
    min-width: 110vw;
    top: 17vh;
}
.houseimg {
    position: fixed;
    right: 0;
    bottom: 0;
    height: 300px;
    max-width: 300px;
    min-width: 340px;
    width: 350px;
}
form{
    background-color: transparent;
}
/* Tablet CSS */
@media (min-width: 568px) {
    form{
        background-color: white;
    }
    .houseimg {
        position: fixed;
        right: 0;
        bottom: 0;
        height: 300px;
        max-width: 300px;
        min-width: 340px;
        width: 350px;
    }
    .parashotimg{
        right: -10%;
        min-width: 65%;
        top: 5vh;
    }
    .dots .dot:nth-of-type(1) {
        width: 120px;
        height: 118px;
        top: -24px;
        left: -17px;
    }
    .logoimg {
        position: absolute;
        left: 16px;
        width: 91px !important;
        top: 30px;
    }
    .pop-up .content img {
        margin: 76px 0 40px 0;
    }
    .pop-up .content .subscribe form input {
        text-align: left;
    }
    .pop-up .content .container .title{
        left: 5vw;
        position: relative;
    }    
    .subscriptioncontent{
        max-width: 100%;
    }
    /*.subscriptioncontent form{*/
    /*    max-width: 90%;*/
    /*}*/
    .pop-up .content .title h1 span{
        font-size: 2rem;
    }
    .pop-up .content .title h1 {
        text-align: left;
        color: #e22415;
        text-transform: uppercase;
        font-weight: 900;
        font-size: 2.8rem;
        letter-spacing: 0.05rem;
    }
    .pop-up .content .subscribe h1 {
        font-size: 1.3rem;
    }
}
/* PC/Laptop CSS */
@media (min-width: 769px) {
    form{
        background-color: white;
    }
    .houseimg {
        position: fixed;
        right: 0;
        bottom: 0;
        height: 450px;
        max-width: 450px;
        min-width: 450px;
        width: 450px;
    }
    .parashotimg{
        right: -5%;
        min-width: 48%;
        top: 0vh;
    }
    .dots .dot:nth-of-type(1) {
        width: 125px;
        height: 111px;
    }
    .pop-up .content img {
        margin: 30px 0 40px 0;
    }
    .pop-up .content .title h1 {
        font-size: 1.8rem;
    }
    .pop-up .content .subscribe h1 {
        font-size: 1.2rem;
    }
    .logoimg {
        top: 22px;
        left: 14px;
        width: 98px !important;
    }
}
.d-none{
    display:none;
}

.locationicon{
    padding-left: 0.5em;
    float: left;
    border-radius: 4px 0 0 4px;
    background-image: url(https://www.allhomeslistings.ca/modules/free_home_valuation/images/location-marker-new.png);
    background-position: 0.8em center;
    background-size: auto 40%;
    background-repeat: no-repeat;
    image-rendering: auto;
    text-align-last: left;
}

.notshow{
    position: absolute;
    width: 0 !important;
    height: 0;
    left: 0;
    opacity: 0;
}
