/* 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: 50%;
    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;
        max-width: 900px;
   }
}
.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: 30px 20px 140px;
    min-height: 600px;
}
@media (min-width: 568px) {
    .pop-up .content .container {
        padding: 30px 20px 80px;
   }
}
@media (min-width: 768px) {
    .pop-up .content .container {
        padding: 30px 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: -19px;
    left: -18px;
    width: 120px;
    height: 115px;
    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: 250px;
   }
}
.pop-up .content .subscribe h1 {
    font-size: 1.2rem;
    color: #3e4146;
    line-height: 130%;
    letter-spacing: 0.07rem;
    margin-bottom: 30px;
    color:white;
}
.pop-up .content .subscribe h1 span {
    color: #fff;
    font-weight: bolder;
}
.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: 1rem;
    letter-spacing: 0.05rem;
    outline: 0;
}
.pop-up .content .subscribe form input[type=text] {
    margin-bottom: 15px;
    border: 3px solid #fff;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    border-radius: 5px;
}
@media (min-width: 768px) {
    .pop-up .content .subscribe form input[type=text] {
        margin-bottom: 0px;
        width: 61%;
        border-right-width: 0px;
   }
}
.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: 3px solid #fff;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    border-radius: 5px;
    margin-left: 0px;
    text-align-last: center;
}

.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 right, #042854, #072349); */
    /* background-image: url(bg.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat; */
}
.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: 1rem;
    letter-spacing: 0.05rem;
    color: white;
}

.pop-up .content .title h5 {
    background-color: white;
    color: #eb6653;
    padding: 3px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.pop-up .content .title h5 span{
    font-size: 0.7rem;
}

.pop-up .content .container .title{
    text-align-last: center;
    left: 0vw;
    position: relative;
    z-index: 9;
}
.subscriptioncontent form{
    max-width: 100vw;
}
.subscriptioncontent{
    text-align: -webkit-center;
    position: relative;
    z-index: 9;
}
.pop-up .content .subscribe form input {
    text-align: center;
}
.logoimg {
    position: absolute;
    left: 18px;
    width: 91px !important;
    top: 24px;
}
.pop-up .content img {
    margin: 10px 0 10px 0;
}
.houseimg{
    position: absolute;
    right: 10%;
    min-width: 80%;
    bottom: -55px;
    height: 35%;
}
form#addressform{
    box-shadow: -7px 12px 11px -2px transparent;
}

/* Tablet CSS */
@media (min-width: 568px) {
    .houseimg{
        right: 15%;
        min-width: 75%;
        height: 55%;
        bottom: -60px;
    }
    .dots .dot:nth-of-type(1) {
        width: 130px;
        height: 120px;
    }
    .pop-up .content img {
        margin: 8px 0px 1px 4px;
    }
    .pop-up .content .subscribe form input {
        text-align: left;
    }
    .pop-up .content .container .title{
        position: relative;
    }    
    .subscriptioncontent form{
        max-width: 90%;
    }
    
    .pop-up .content .title h1 {
        text-align: left;
        text-transform: uppercase;
        font-weight: 900;
        font-size: 1rem;
        letter-spacing: 0.05rem;
        color: white;
    }
    .pop-up .content .title h5 {
        background-color: transparent;
    }
    .pop-up .content .title h5 span{
        background-color: white;
        padding: 5px;
        border-radius: 5px;
    }
    .pop-up .content .subscribe form input[type=submit] {
        width: 40%;
        margin-left: -8px;
   }
    form#addressform{
        box-shadow: -7px 12px 11px -2px black;
    }
}
/* PC/Laptop CSS */
@media (min-width: 769px) {
    .pop-up .content .title h1 {
        text-align: left;
        text-transform: uppercase;
        font-weight: 900;
        font-size: 1.1rem;
        letter-spacing: 0.05rem;
    }
    .houseimg{
        right: 15%;
        min-width: 60%;
        height: 50%;
        bottom: -60px;
    }
    .dots .dot:nth-of-type(1) {
        top: -21px;
        left: -20px;
        width: 130px;
        height: 120px;
        background-color: #fff;
    }
    .pop-up .content img {
        margin: 8px 0px 1px 4px;
    }

    
    .pop-up .content .title h5 {
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.05rem;
        margin-bottom: 10px;
    }
    .pop-up .content .title h5 span {
        background-color: white;
        color: #eb6653;
        padding: 3px;
        border-radius: 5px;
    }
    .pop-up .content .subscribe form input[type=submit] {
        width: 40%;
        margin-left: -8px;
   }
   form#addressform{
        box-shadow: -7px 12px 11px -2px black;
   }
    
}



/* PC  */

@media (min-width: 768px){
    .pop-up .content .container {
        padding: 50px 0px 5px;
        max-width: 70%;
        margin: 0 auto;
    }
    .pricealertpic{
        padding: 0 !important;
        margin: 0 !important;
        min-width: 350px !important;
    }
}
/* Tablet */
@media (min-width: 568px){
    .pop-up .content .container {
        padding: 50px 0px 5px;
        max-width: 95%;
        margin: 0 auto;
    }
    .pricealertpic{
        padding: 0 !important;
        margin: 0 !important;
        min-width: 350px !important;
    }
}
/* Mobile */
.pop-up .content .container {
    padding: 110px 0px 5px;
    max-width: 90%;
    margin: 0 auto;
}
.parashotimg{
    margin: -15px !important;
    padding: 0 !important;
}
.pricealertpic{
    padding: 0 !important;
    margin: 0 !important;
    min-width: 350px !important;
}
.fixed-left-bottom{
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: white;
    padding: 5px;
    border-right: 10px solid #eb6653;
}
#addressform .d-none{
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.notshow{
    position: absolute;
    width: 0 !important;
    height: 0;
    left: 0;
    opacity: 0;
}

.locationicon {
    padding-left: 0.5em !important;
    float: left !important;
    border-radius: 4px 0 0 4px !important;
    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;
}