/* **************************** */
/*         Global Style         */
/* **************************** */

html.hash-active #page.loading {
  opacity: 0;
}

.btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  height: 45px;

  color: white;
  font-size: 16px;
  border-radius: 23px;
  background: #00A94F;
}

.btn:focus,
.btn:hover {
  color: white;
}

.link,
.link:focus,
.link:hover {
  color: #00A94F;
  white-space: nowrap;
  text-decoration: underline;
}

.link.link-more:after {
  content: '\e909';
  font-size: 0.8em;
  font-family: 'icokbank';

  display: inline-block;
}

/* Global Table */
table {
  width: 100%;
  /* overflow: hidden; */
  border-spacing: 0;
  border-radius: 10px;
  border: solid 1px #E8E8E8;
}

table thead tr th {
  color: white;
  padding: 15px 0;
  text-align: center;
  background: #00A94F;
}

table thead tr th:not(:last-child) {
  border-right: solid 1px #E8E8E8;
}

table tbody tr td {
  padding: 10px 0;
  color: #666666;
  text-align: center;
  background: white;
}

table tbody tr td:not(:last-child) {
  border-right: solid 1px #E8E8E8;
}

table tbody tr:not(:last-child) td {
  border-bottom: solid 1px #E8E8E8;
}

table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
/* Global Table */

/* Scroll Overflow Y */
.scroll-y-wrapper.ps {
  position: relative;
  padding-bottom: 0;
}

.scroll-y-wrapper.ps.ps--active-x {
  padding-bottom: 20px;
}

.scroll-y-wrapper.ps .ps__rail-x {
  opacity: 1;
  height: 10px;
  background: #E7F7EE;
}

.scroll-y-wrapper.ps .ps__rail-x .ps__thumb-x {
  bottom: 0;
  height: 10px;
  background: #00A94F;
}
/* Scroll Overflow Y */

/* **************************** */
/*         Global Style         */
/* **************************** */

/* ******************************** */
/*         Global Accordion         */
/* ******************************** */

.accordion-group .accordion {
  border-bottom: solid 1px #D9D9D9;
}

.accordion-group .accordion:first-child {
  border-top: solid 1px #D9D9D9;
}

.accordion-group .accordion .accordion-title {
  padding: 15px 0;
  cursor: pointer;
  color: #333333;
  position: relative;

}

.accordion-group .accordion .accordion-title:after {
  content: '\e90d';
  font-family: 'icokbank';

  top: 50%;
  right: 0;
  position: absolute;
  
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);

  -webkit-transition: transform 400ms ease;
  -moz-transition: transform 400ms ease;
  -o-transition: transform 400ms ease;
  transition: transform 400ms ease;
}

.accordion-group .accordion.active .accordion-title:after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}

.accordion-group .accordion .accordion-content-wrapper {
  padding-bottom: 15px;
}

/* ******************************** */
/*         Global Accordion         */
/* ******************************** */

/* ************************************* */
/*         Global Condition List         */
/* ************************************* */

ul.condition {
  padding: 0;
  margin: 0 0 0 15px;

  list-style: disc;
}

ul.condition li {
  font-family: Helvetica, Arial, sans-serif !important;
  line-height: 24px;
  color: #666666;
  font-weight: 400;
  font-size: 14px;
}

/* ************************************* */
/*         Global Condition List         */
/* ************************************* */

/* ********************************* */
/*         Section Highlight         */
/* ********************************* */

.sc-highlight {
  width: 100%;
  height: calc( 100vw * 450 / 750 );

  background: #AFAFAF;
}

@media screen and (min-width: 750px) {
  .sc-highlight {
    height: calc( 100vw * 1000 / 3000 );
  }
}

/* ********************************* */
/*         Section Highlight         */
/* ********************************* */

/* ********************************* */
/*         Section Property         */
/* ********************************* */

.sc-property {
  padding: 30px 0;
  position: relative;
}

.sc-property:before {
  content: '';

  position: absolute;
  z-index: -1;

  left: 0;
  width: 100%;
  bottom: -335px;
  height: calc(100% - 48px - (((100vw - 30px) * 183 / 345) / 2));

  background: url(../img/bg-mb.png), #00654F;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
}

@media screen and (min-width: 768px) {
  .sc-property:before {
    bottom: -235px;
    height: calc(100% - 56px - ((((720px / 2) - 20px) * 183 / 345) / 2));
  }
}

@media screen and (min-width: 992px) {
  .sc-property:before {
    bottom: -245px;
    height: calc(100% - 86px - ((((940px / 3) - 20px) * 183 / 345) / 2));

    background: url(../img/bg-pc.png), #00654F;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center bottom;
  }
}

@media screen and (min-width: 1200px) {
  .sc-property:before {
    bottom: -245px;
    height: calc(100% - 86px - ((((970px / 3) - 20px) * 183 / 345) / 2));
  }
}

.sc-property .sc-header {
  text-align: center;
  color: #ED2226;
}

.sc-property .sc-description {
  text-align: center;
  color: #333333;

  margin-top: 10px;
  margin-bottom: 35px;
}

.sc-property .sc-description small {
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .sc-property .sc-description small {
    font-size: 20px;
  }
}

.sc-property .properties {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.sc-property .properties.loading .property *:not(.property-loader) {
  opacity: 0;
}

.sc-property .property {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  
  display: flex;
  flex-direction: column;
  
  position: relative;
  background: white;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.15); 
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.15);
}

.sc-property .properties .property .property-loader {
  display: none;
}

.sc-property .properties.loading .property .property-loader {
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 50%;
  position: absolute;
  border: 8px solid #F3F3F3;
  border-top: 8px solid #AFAFAF;
  animation: spin 1.5s linear infinite;
  -webkit-animation: spin 2s linear infinite;

  top: calc(50% - 30px);
  left: calc(50% - 30px);
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sc-property .property .property-thumbnail {
  width: 100%;

  /* Triangular law                                                */
  /* widthView / heightView = widthOrigin / heightOrigin           */

  /* so heightView = widthView * heightOrigin / widthOrigin        */
  /* widthView = (100vw - 30px)                                    */
  /* heightOrigin (thumbnail's height) = 183                       */
  /* widthOrigin (thumbnail's width) = 345                         */
  
  height: calc( (100vw - 30px) * 183 / 345 );

  background: #AFAFAF;
}

@media screen and (orientation: landscape) {
  .sc-property .property {
    margin: 10px;
    width: calc(((100vw - 30px) / 2) - 20px);
  }

  .sc-property .property .property-thumbnail {
    height: calc((((100vw - 30px) / 2) - 20px) * 183 / 345 );
  }
}

@media screen and (min-width: 768px) {
  .sc-property .property {
    margin: 10px;

    /* (720px / 2) - 20px is...                                 */
    /* containerInnerWidth = 720px                              */
    /* marginLeft = 10px                                        */
    /* marginRight = 10px                                       */
    /* n = 2                                                    */
    /* (containerInnerWidth / n) - (marginLeft + marginRight)   */

    width: calc((720px / 2) - 20px);
  }

  .sc-property .property .property-thumbnail {
    height: calc(((720px / 2) - 20px) * 183 / 345 );
  }
}

@media screen and (min-width: 992px) {
  .sc-property .property {
    width: calc((940px / 3) - 20px);
  }

  .sc-property .property .property-thumbnail {
    height: calc(((940px / 3) - 20px) * 183 / 345 );
  }
}

@media screen and (min-width: 1200px) {
  .sc-property .property {
    width: calc((970px / 3) - 20px);
  }

  .sc-property .property .property-thumbnail {
    height: calc(((970px / 3) - 20px) * 183 / 345 );
  }
}

.sc-property .property .property-content {
  padding: 15px 20px 10px;
  background: white;
}

.sc-property .property .property-tag {
  height: 20px;
  margin-bottom: 10px;

  display: flex;
  flex-direction: row;
  align-items: center;
}

.sc-property .property .property-tag span {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;

  color: white;
  padding: 0 15px;
  font-size: 10px;
  border-radius: 10px;
  background: #AFAFAF;

  -webkit-box-shadow: 0px 1px 2px 0px #AFAFAF; 
  box-shadow: 0px 1px 2px 0px #AFAFAF;
}

.sc-property .property .property-tag span:not(:last-child) {
  margin-right: 5px;
}

.sc-property .property .property-tag span[data-color='yellow'] {
  background: #FDC300;
  -webkit-box-shadow: 0px 1px 2px 0px #FDC300; 
  box-shadow: 0px 1px 2px 0px #FDC300;
}

.sc-property .property .property-tag span[data-color='red'] {
  background: #EE0F00;
  -webkit-box-shadow: 0px 1px 2px 0px #EE0F00; 
  box-shadow: 0px 1px 2px 0px #EE0F00;
}

.sc-property .property .property-tag span[data-color='orange'] {
  background: #FF6700;
  -webkit-box-shadow: 0px 1px 2px 0px #FF6700; 
  box-shadow: 0px 1px 2px 0px #FF6700;
}

.sc-property .property .property-address {
  width: 100%;
  height: 24px;

  font-size: 16px;
  color: #555555;
}

.sc-property .property .property-title {
  width: 100%;
  height: 60px;
  margin-top: 5px;
  overflow: hidden;

  font-size: 20px;
  color: #00A94F;
}

.sc-property .property .property-detail {
  font-size: 16px;
  color: #555555;
}

.sc-property .property .property-detail > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.sc-property .property .property-detail > div:not(:last-child) {
  margin-top: 5px;
}

.sc-property .property .property-detail > div > span {
  display: inline-block;
  vertical-align: middle;
  height: 24px;
}

.sc-property .property .property-detail > div > span > span:not(:last-child) {
  margin-right: 10px;
}

.sc-property .property .property-detail i {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 5px;
}

.sc-property .property .property-price {
  margin-top: 10px;
}

.sc-property .property .property-price .property-price-tag {
  height: 22px;
  position: relative;
  display: inline-block;

  font-size: 12px;
  line-height: 22px;
}

.sc-property .property .property-price .property-price-tag[data-style='normal'] {
  color: #EE0418;
}

.sc-property .property .property-price .property-price-tag[data-style='special'] {
  margin-left: 11px;
  padding-left: 10px;
  padding-right: 15px;
  
  color: white;
  background: #EE0418;
  border-radius: 0 5px 5px 0;
}

.sc-property .property .property-price .property-price-tag[data-style='special']:before {
  content: '';
  top: 0;
  width: 0;
  height: 0;
  left: -11px;
  position: absolute;
  border-style: solid;
  border-width: 11px 11px 11px 0;
  border-color: transparent #EE0418 transparent transparent;
}

.sc-property .property .property-price .property-price-tag[data-style='special']:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;

  left: -3px;
  top: calc(50% - 3px);
}

.sc-property .property .property-price .property-price-money {
  display: block;
  font-size: 28px;
}

.sc-property .property .property-price .property-price-money small {
  font-size: 20px;
}

.sc-property .property .property-price .property-price-money[data-style="special"] {
  color: #EE0418;
}

.sc-property .property .property-price .property-price-money[data-style="normal"] {
  color: #333333;
}

.sc-property .property .property-price .property-price-old {
  position: relative;

  font-size: 16px;
  color: #999999;
}

.sc-property .property .property-price .property-price-old:before {
  content: '';
  position: absolute;
  left: 0;
  top: 55%;
  width: 100%;
  height: 1px;
  background: #999999;
}

.sc-property .property .property-action-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: #EEEEEE;

  margin: 10px 0;
}

.sc-property .property-tab {
  margin-bottom: 20px;
}

.sc-property .property-tab ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 24px;

  display: inline-flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
}

.sc-property .property-tab ul li {
  padding: 2px;

  border-width: 2px 0;
  border-style: solid;
  border-color: #00A94F;
}

.sc-property .property-tab ul li:first-child {
  border-width: 2px 0 2px 2px;
  border-radius: 27px 0 0 27px;
}

.sc-property .property-tab ul li:last-child {
  border-width: 2px 2px 2px 0;
  border-radius: 0 27px 27px 0;
}

.sc-property .property-tab.loading ul li {
  border-width: 2px;
  border-radius: 27px;
}

.sc-property .property-tab a {
  display: flex;
  align-items: center;

  height: 46px;
  padding-left: 30px;
  padding-right: 30px;
  white-space: nowrap;
  border-radius: 23px;
  
  color: #333333;
  line-height: 18px;
  text-align: center;
  background: transparent;
}

.sc-property .property-tab .active a {
  color: white;
  background: #00A94F;
}

@media screen and (min-width: 992px) {
  .sc-property .property-tab ul {
    display: flex;
  }

  .sc-property .property-tab li {
    width: 100%;
  }

  .sc-property .property-tab li a {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
}

.sc-property .property-more {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;

  margin: 10px 0;
  padding: 15px 20px 30px;
  border-radius: 10px;
  background-color: #00A94F;

  background-image: url(/sitecollectiondocuments/propertyforsale/img/house-viewmore.png);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 160px;
}

@media screen and (min-width: 768px) {
  .sc-property .property-more {
    display: none;
  }
}

.sc-property .property-more p {
  color: white;
  font-size: 20px;
  text-align: center;
  white-space: nowrap;
}

.sc-property .property-more p span {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 5px auto 0;

  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:rgba(255, 255, 255, 0.5);
}

.sc-property .property-more p span i {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  color: #00A94F;

  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
}

/* ********************************* */
/*         Section Property          */
/* ********************************* */

/* *************************************** */
/*         Section Other Property          */
/* *************************************** */

.sc-other-property {
  padding: 30px 0;
}

.sc-other-property .card-block {
  display: flex;
  flex-direction: column;

  overflow: hidden;
  border-radius: 10px;
}

.sc-other-property .card-block .card-title {
  width: 100%;
  padding: 20px 0;
  color: #333333;
  text-align: center;
  background: white;
}

.sc-other-property .card-block .card-list {
  background: url(../img/bg-other-property-desktop.png), #F4F4F4;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 185px;

  padding: 10px 10px 15px 15px;
}

@media screen and (min-width: 768px) {
  .sc-other-property .card-block .card-list {
    padding: 20px 40px 19px 45px;
  }
}

.sc-other-property .card-block .card-list .card {
  padding: 10px 10px 5px 5px;
}

.sc-other-property .card-block .card-list .card a {
  width: 100%;
  height: 90px;
  padding: 10px;
  background: white;
  border-radius: 10px;
  display: inline-block;

  overflow: hidden;
  position: relative;

  font-size: 16px;
  color: #333333;
  -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 169, 79, 0.1); 
  box-shadow: 0px 3px 6px 0px rgba(0, 169, 79, 0.1);
}

.sc-other-property .card-block .card-list .card a img {
  right: 0;
  bottom: 0;
  width: 90px;
  position: absolute;
}

@media screen and (min-width: 768px) {
  .sc-other-property .card-block .card-list .card a {
    height: 100px;
    border: solid 2px transparent;
  }

  .sc-other-property .card-block .card-list .card a:hover {
    border-color: #00A94F;
  }

  .sc-other-property .card-block .card-list .card a img {
    width: 110px;
  }
}

/* *************************************** */
/*         Section Other Property          */
/* *************************************** */

/* ********************************** */
/*         Section Condition          */
/* ********************************** */

.sc-condition {
  padding-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .sc-condition {
    padding-bottom: 50px;
  }
}

@media screen and (min-width: 768px) {
  .sc-condition table#tableDecorDiscount,
  .sc-condition table#tableTileDiscount {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ********************************** */
/*         Section Condition          */
/* ********************************** */

/* ***************************************** */
/*         Section Special Interest          */
/* ***************************************** */

.sc-special-interest {
  padding: 40px 0;
  background: #F4F4F4;
}

.sc-special-interest .sc-header {
  margin-bottom: 20px;
}

.sc-special-interest .sc-header h2 {
  margin: 0;
  color: #333333;
  text-align: center;
}

.sc-special-interest .swipe-guide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.sc-special-interest .swipe-guide img {
  margin-right: 10px;
}

@media screen and (min-width: 992px) {
  .sc-special-interest .swipe-guide {
    display: none;
  }
}

.sc-special-interest .scroll-y-wrapper {
  margin-bottom: 20px;
}

.sc-special-interest table#tableSpecialInterest {
  width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.sc-special-interest table#tableSpecialInterest thead tr:last-child th {
  border-right: solid 1px #E8E8E8;
  border-top: solid 1px #E8E8E8;
}

/* ***************************************** */
/*         Section Special Interest          */
/* ***************************************** */

/* ***************************** */
/*         Section Back          */
/* ***************************** */

.sc-back {
  padding: 30px 0;
}

.sc-back .btn {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .sc-back {
    padding: 50px 0;
  }
  
  .sc-back .btn {
    max-width: 280px;
  }
}

/* ***************************** */
/*         Section Back          */
/* ***************************** */