@font-face {
    font-family: 'champagne__limousinesBdIt';
    src: url('../fonts/cl/champagne__limousines_bold_italic-webfont.woff2') format('woff2'),
         url('../fonts/cl/champagne__limousines_bold_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'champagne__limousinesbold';
    src: url('../fonts/cl/champagne__limousines_bold-webfont.woff2') format('woff2'),
         url('../fonts/cl/champagne__limousines_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'champagne__limousinesitalic';
    src: url('../fonts/cl/champagne__limousines_italic-webfont.woff2') format('woff2'),
         url('../fonts/cl/champagne__limousines_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'champagne__limousinesregular';
    src: url('../fonts/cl/champagne__limousines-webfont.woff2') format('woff2'),
         url('../fonts/cl/champagne__limousines-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'CenturyGothic';
  src: url('../fonts/cg/CenturyGothic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/cg/CenturyGothic.woff') format('woff'), url('CenturyGothic.ttf')  format('truetype'),
  url('../fonts/cg/CenturyGothic.svg#CenturyGothic') format('svg');
  font-weight: normal;
  font-style: normal;
}

body{
    margin: 0px;
    min-height: 600px;
    height: 100%;
    background: #fff;
}

h1{
    font-family: 'champagne__limousinesbold', Helvetica, Open Sans, Arial, Tahoma, sans-serif;
    color: #2489CE;
}

h2{
    font-family: 'champagne__limousinesbold', Helvetica, Open Sans, Arial, Tahoma, sans-serif;
    font-weight: 500;
    color: #2489CE;
    -webkit-margin-before: 0.3em;
    -webkit-margin-after: 0.3em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

h3{
    font-family: 'champagne__limousinesbold', Helvetica, Open Sans, Arial, Tahoma, sans-serif;
    font-weight: 250;
    color: #2489CE;
}

*{
    font-family: 'CenturyGothic', 'Helvetica', Open Sans, Arial, Tahoma, sans-serif;
}

h1{
width: 100%;
text-align: center;
color: #2489CE;
font-size: 1.2em;
margin-top: 5px;
}
img#web_landing_logo{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 120px;
  z-index: 200;
}

div#searchbox{
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  top: 5px
}
.searchbox{
  font-size: 1em;
  line-height: 1.9em;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  width: 580px;
  color: #333;
  border-left: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #2489CE;
}

.searchbox:focus{
  outline: none;
}

.searchres{
  display: block;
  z-index: 10;
  width: 580px;
  height: 0px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

p#span-subtitle{
font-size: 1.5vw;
color: #FFFFFF;
text-shadow: 2px 2px #000000;
margin-top: 5px;
}

@media only screen and (max-height: 768px) {
table#index-nav-links{
  width: 720px;
  position: absolute;
  display: block;
  margin-top: 10px;
  left: calc(50vw - 365px);
  font-size: 12px;
  color: #565656;
}
}

@media only screen and (min-height: 769px) {
table#index-nav-links{
  width: 720px;
  position: absolute;
  display: block;
  margin-top: 10px;
  left: calc(50vw - 365px);
  font-size: 12px;
  color: #565656;
}
}

table#index-nav-links td{
  width: 130px;
}
table#index-nav-links .icons{
  height: 50px;
}

table#index-nav-links td div{
  display: inline-block;
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 7px;
  margin-bottom: 7px;
  border: 2px;
  border-radius: 4px;
  text-align: center;
}
table#index-nav-links td div:hover{
  display: inline-block;
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 5px;
  margin-bottom: 5px;
  /*border: 2px solid #FFFFFF;*/
  border-radius: 4px;
  text-align: center;
}

table#index-nav-links td span{
  color: #565656;
  font-size: 1.2em;
}

div.floating{
  display: inline-block;
  background-color: RGBA(0,0,0,0);
  height: 70px;
  border-radius: 0px;
  color: #FFFFFF;
  position: fixed;
  top: 2vh;
  right: 2vw;
  z-index: 10000;
  padding: 5px 15px 5px 15px;;
}

@media only screen and (max-height: 769px) {
div#bottom-block{
  height: 120px;
  width: 100%;
  position: absolute;
  top: 100%;
  background-color: white;
  -webkit-box-shadow: 0px 0px 0px 0px rgba(233,233,233,0);
  -moz-box-shadow: 0px 0px 0px 0px rgba(233,233,233,0);
  box-shadow: 0px 0px 0px 0px rgba(233,233,233,0);
  border-bottom: 2px solid #2489CE;
}
}

@media only screen and (min-height: 770px) {
div#bottom-block{
  height: 120px;
  width: 100%;
  position: absolute;
  top: 100%;
  background-color: white;
  -webkit-box-shadow: 0px 0px 0px 0px rgba(233,233,233,0);
  -moz-box-shadow: 0px 0px 0px 0px rgba(233,233,233,0);
  box-shadow: 0px 0px 0px 0px rgba(233,233,233,0);
  border-bottom: 2px solid #2489CE;
}
}

@media only screen and (max-height: 769px) {
div#top-block{
  height: 70%;
  width: 100%;
  position: absolute;
  bottom: -4%;
}
}

@media only screen and (min-height: 770px) {
div#top-block{
  height: 70%;
  width: 100%;
  position: absolute;
  bottom: -5%;
}
}

@media only screen and (max-height: 768px) {
div.footer{
    background-color: white;
    color: #2489CE;
    height: 30px;
    line-height: 30px;
    margin: 0px;
    padding: 0px 1% 0px 1%;
    width: 98%;
    position: absolute;
    bottom: -30px;
    z-index: 1000;
    font-size: 0.8em;
}
}

.footer a{
    color: #2489CE;
}
.footer a:hover{
    color: #565656;
    font-weight: bold;
}

div#footer{
    background-color: white;
    color: #2489CE;
    height: 100px;
    line-height: 30px;
    margin-top: 60px;
    padding: 0px 1% 0px 1%;
    width: 98%;
    bottom: 0px;
    z-index: 1000;
    font-size: 0.8em;
}
#footer a{
    color: #2489CE;
}
#footer a:hover{
    color: #565656;
    font-weight: bold;
}

div.background-image{
    position: absolute;
    display: inline;
    top: 0px;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 960px;
    height: 70%;
    /*background:url(../img/landingpage.jpg) no-repeat;*/
    background:url("https://www.drea.com.sg/web/sg-property/img/stock-room-minimal.jpg") no-repeat center/cover;
    background-size: cover;
    /*background-position: 0% 65%;*/
    z-index: 1;
    /*-webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);*/
}
.s-icon {    height: 42px;    width: 42px;    margin: 4px;    border-radius: 100%;    font-size: 1.5em !important;    text-align: center;    line-height: 42px !important;    color: #fff;    display: inline-block !important;    background: #212121;}.s-icon:hover {    background: #2498ce;}
div#fb1{
    background:url(../icon/bottombar/fb.png);
    width: 50px;
    height: 50px;
    display: inline-block;
}


div#fb1:hover {
    background:url(../icon/bottombar/fb-hover.png);
}


div#in1{
    background:url(../icon/bottombar/instagram.png);
    width: 50px;
    height: 50px;
    display: inline-block;
}

div#in1:hover{
    background:url(../icon/bottombar/instagram-hover.png);
}

div#tw1{
    background:url(../icon/bottombar/twitter.png);
    width: 50px;
    height: 50px;
    display: inline-block;
}

div#tw1:hover{
    background:url(../icon/bottombar/twitter-hover.png);
}

div.floating{
  color: #565656;
}

div.floating a{
  color: #2498CE;
}

div.floating a:hover{
  color: #565656;
}

#icon1{
  background: url(../icon/sidebar/find-units.png) top center no-repeat;
}

#icon2{
  background: url(../icon/sidebar/browse-condos.png) top center no-repeat;
}

#icon3{
  background: url(../icon/sidebar/compare-condos.png) top center no-repeat;
}

#icon4{
  background: url(../icon/sidebar/condo-reports.png) top center no-repeat;
}

#icon5{
  background: url(../icon/sidebar/analysis.png) top center no-repeat;
}

#icon6{
  background: url(../icon/sidebar/tweet.png) top center no-repeat;
}

#icon7{
  background: url(../icon/sidebar/mortgage.png) top center no-repeat;
}

#icon1:hover {
  background: url(../icon/sidebar/find-units-hover.png) top center no-repeat;
}

#icon2:hover {
  background: url(../icon/sidebar/browse-condos-hover.png) top center no-repeat;
}

#icon3:hover {
  background: url(../icon/sidebar/compare-condos-hover.png) top center no-repeat;
}

#icon4:hover {
  background: url(../icon/sidebar/condo-reports-hover.png) top center no-repeat;
}

#icon5:hover {
  background: url(../icon/sidebar/analysis-hover.png) top center no-repeat;
}

#icon6:hover {
  background: url(../icon/sidebar/tweet-hover.png) top center no-repeat;
}

#icon7:hover {
  background: url(../icon/sidebar/mortgage-hover.png) top center no-repeat;
}

@media only screen and (max-height: 769px) {
#middlesect {
  width: 800px;
  height: 400px;
  top: calc(70% + 150px);
  left: 50%;
  margin-left: -400px;
  position: absolute;
  z-index: 5000;
}
}

@media only screen and (min-height: 770px) {
#middlesect {
  width: 800px;
  height: 400px;
  top: calc(70% + 150px);
  left: 50%;
  margin-left: -400px;
  position: absolute;
  z-index: 5000;
}
}

#sect1{
  display: inline-block;
  width: 245px;
  margin-right: 10px;
  height: 400px;
}


#sect2{
  display: inline-block;
  width: 245px;
  margin-left: 10px;
  margin-right: 10px;
  height: 400px;
}

#sect3{
  display: inline-block;
  width: 245px;
  margin-left: 10px;
  height: 400px;
}

div#on_mobile{
    position: absolute;
    top: 100px;
    right: 40px;
    width: 200px;
    z-index: 998;
    font-size: 1em;
    text-align: center;
    display: inline-block;
    color: #FFFFFF;
    text-shadow: 2px 2px #000000;
}

div#on_mobile2{
    position: absolute;
    bottom: -9px;
    right: 3vh;
    width: 200px;
    z-index: 998;
    font-size: 1em;
    text-align: center;
    display: inline-block;
    color: #FFFFFF;
    text-shadow: 2px 2px #000000;
}

div#on_mobile2 img{
    width: 12vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

div#on_mobile img{
    width: 12vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
div#on_mobile_hover{
    position: absolute;
    bottom: 0px;
    right: 6.2vw;
    z-index: 999;
    width: 10.5vw;
    height: 18.5vw;
    display: inline;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}
div#on_mobile_hover:hover{
    position: absolute;
    right: 6.2vw;
    bottom: 0px;
    z-index: 999;
    width: 10.5vw;
    height: 18.5vw;
    color: #000000;
    background-color: RGBA(256,256,256,0.8);
    opacity: 1;
    display: inline;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 20%;
}

@media only screen and (max-width: 1280px) {
.mobiletext {
color: #2489CE;
text-shadow: 0px 0px #e9e9e9;
font-size: 10pt;
line-height: 50%;
}
}

@media only screen and (min-width: 1281px) {
.mobiletext {
color: #2498CE;
font-family: 'CenturyGothic', Helvetica, Open Sans, Arial, Tahoma, sans-serif;
text-shadow: 0px 0px #e9e9e9;
font-size: 10pt;
}
}
