html{

    margin: 0;
    height: auto;
    /*overflow:  hidden;*/
}

body{
    
    background: #008C80;
    margin-left: 0;
    margin-right: 0;
    margin-top: 80px;
    margin-bottom: 120px;
    height: 100%;
    padding-bottom: 0;
    
}

.container{
    /*display:table;*/
    /*border-spacing: 90px;*/
    width: 100%;
    height: 100%;
}


.forsale{
    /*display: table-cell;*/


    /*overflow: hidden;*/
    display: flex;
    align-items: center;
   
    float: left;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: 7.5%;
    margin-right: 2.5%;
    width: 45%;
    min-height: 599px;
    background-color: #F3F3F3;
    vertical-align: middle;
    top: 50%;
    bottom: 50%;

    border-radius: 25px;
}

.forsale-container{
    width:100%;
}

.forsale-text span{
    display: flex;
    font-size: 30px;
    font-family: 'Roboto', sans-serif;
}

.forsale-text h1{
    font-size: 60px;
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
}



.contact-us{
    display: flex;
    float: left;
    box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
    margin-left: 2.5%;
    width: 33.5%;
    text-align: center;
    min-height: 599px;
    background-color: #F3F3F3;
    border-radius: 25px;
    padding-top: 0px;
    padding-bottom: 0px;

    
}
.form{
    height: 100%;
}

.contact-us p{
    margin:0;
}

.contact-us input[type=text]{
    
    width: 90%;
    height: 40px;
    padding-left: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    border-radius: 5px;

}

.default-input{
    border: 2px solid;
    border-left-color:#9A9A9A;
    border-top-color:#9A9A9A;
    border-bottom-color: #F2F2F2;
    border-right-color:#F2F2F2;
}


.contact-us textarea{
    
    width: 90%;
    height: 150px;
    padding-left: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding-top: 10px;
    border-radius: 5px;
}

.contact-us button{
    -webkit-appearance: none;
    width: 40%;
    font-family: 'Roboto', sans-serif;
    background-color: #00AB9C;
    color:#F3F3F3;
    font-weight: bold;
    font-size: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    border: 0;
}
.contact-us button:hover{
    background-color: #00C4B3;
}



.img-cont{
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: center;
}

.img-cont-block{
    width: 33%;
}

.img-cont-block img{
    width: 100px; 
    height: 100px;
    margin-bottom: 20px;

}

.img-cont-block p{
    margin-top: 0;
    margin-bottom: 0.2em;
}

.img-cont-block span{
    font-family: 'Roboto', sans-serif;
    color: #008C80;
    font-weight: bold;
}

.contact-us h1{
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
}

.form{
    display: flex;
    height: 100%;
}

.contact-us a{
    color:#008C80 ;
}

.contact-us a:hover{
    color:#00C4B3 ;
}

.error{
    margin:0;
    height: 20px;
    width: 100%;
    text-align: left;
    color: red;
    padding-left: 10px;
    font-size: 13px;
}

.sucValMess{
    margin-left:auto;
    margin-right:auto;
    height: 40px;
    width: 70%;
    text-align: center;
    color: #008C80;
    padding-left: 10px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
}


.recapcha-container{
    width:305px;
    margin-left: auto;
    margin-right: auto;
}

.error-input{
    border-color: red;
}

@media screen and (max-height: 608px){
    html{
        height: 100%;
    }
}



@media screen and (min-width: 320px) and (max-width: 500px) and (orientation: portrait) {
    html{
       overflow: visible;
    }

    body{
        margin-top: 70px;
    }
    .container{
        
    }


    .forsale{
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        padding-top: 10px;
        padding-bottom:20px;
        height: auto;
        border-radius: 0;
        margin-bottom: 70px;
        
    }

    .forsale p{
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
    .forsale-text span{
        font-size: 23px;
    }

    .forsale-text h1{
        font-size: 47px;
    }

    .contact-us{
        float: none;
        width: 100%;
        height: auto;
    }

    .img-cont{
        display: block;
    }

    .img-cont-block{
        display: block;
        float: none;
        width: 100%;
        margin-top: 40px;
    }

    .contact-us{
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        padding-top: 10px;
        padding-bottom:20px;
        height: auto;
        border-radius: 0;
        margin-bottom: 70px;
    }



  }

  @media screen and (min-width: 600px) and (max-width: 1204px)
  {
      html{
        overflow: visible;
        overflow-x: hidden;   
      }

    body{
        margin:0;
    }
      
    .container{
        padding-top: 5%;
    }

      .forsale{
        display: block;
        float: none;
        width: 90%;
        min-height: 0;
        height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
      }

      .contact-us{
        display: block;
        float: none;
        text-align: center;
        width: 472px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        margin-bottom: 40px;
      }

      
  }

  @media screen and (max-width: 360px){
    .g-recaptcha {
        transform:scale(0.77);
        transform-origin:0 0;
    }
    .recapcha-container{
        width: 235px;
        height:61px;
    }
  }