/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jul 18, 2017, 3:56:30 PM
    Author     : PANUWAT
*/
body { padding-right: 0 !important }
.modal-open{overflow:auto;padding-right:0 !important;}

.btn-default.active {
  background-color: limegreen;
}

.thbanks {
    display: inline-block;
    border-radius: 3px;
}

.thbanks:before {
    color: white;
    padding: 10px;
    font-size: 2em;
}

.logo2 {  
    background: #FFFFFF;
    border: 3px solid #8e5c90;
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 30px;
    height: 30px; }
.logo2:before {
    font: 13px/1.8em 'Glyphicons Halflings';
    content: "\e021";
    color: #8e5c90;
    position: absolute;
    left: 5px;
    top: 0; }
.logo2:after {
    display: block;
    content: "";
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #8e5c90 transparent transparent transparent;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    bottom: -8px;
    width: 0;
    height: 0; }
.logo2:hover {
    -webkit-animation: bounce-s 1s ease;
    -o-animation: bounce-s 1s ease;
    animation: bounce-s 1s ease; }
.logo2.apartment, .logo2.office, .logo2.house, .logo2.villa, .logo2.condo {
    width: 35px;
    height: 35px;
    border-color: #8e5c90; }
.logo2.apartment:before, .logo2.office:before, .logo2.house:before, .logo2.villa:before, .logo2.condo:before {
    color: #454545;
    font: 22px/1.3em "HomeSquare";
    left: 3px; }
.logo2.apartment:after, .logo2.office:after, .logo2.house:after, .logo2.villa:after, .logo2.condo:after {
    border-color: #8e5c90 transparent transparent transparent !important; }


@font-face {
    font-family: "HomeSquare";
    src: url("../fonts/hsq/hsq-font.eot");
    src: url("../fonts/hsq/hsq-font.eot#iefix") format("embedded-opentype"), url("../fonts/hsq/hsq-font.woff") format("woff"), url("../fonts/hsq/hsq-font.ttf") format("truetype"), url("../fonts/hsq/hsq-font.svg") format("svg");
    font-weight: normal;
    font-style: normal; }
[class^="hsq-font-"]:before, [class^="hsq-font-"]:after, [class*=" hsq-font-"]:before, [class*=" hsq-font-"]:after {
    font-family: "HomeSquare";
    font-size: 20px;
    font-style: normal;
    margin-left: 20px; }

.hsq-font-condo:before, .logo2.condo:before {
    content: "\e000"; }

.hsq-font-apartment:before, .logo2.apartment:before {
    content: "\e001"; }

.hsq-font-office:before, .logo2.office:before {
    content: "\e002"; }

.hsq-font-house:before, .logo2.house:before {
    content: "\e003"; }

.hsq-font-villa:before, .logo2.villa:before {
    content: "\e004"; }

.hsq-font-house-percent:before {
    content: "\e005"; }

.hsq-font-house-dollar:before {
    content: "\e006"; }

.hsq-font-house-market:before {
    content: "\e007"; }

.hsq-font-house-search:before {
    content: "\e008"; }

.hsq-font-house-deal:before {
    content: "\e009"; }

.hsq-font-assignment:before {
    content: "\e00a"; }

.hsq-font-rural-house:before {
    content: "\e00b"; }

.hsq-font-house-agreement:before {
    content: "\e00c"; }


.propertybox-featured {
  margin-bottom: 30px;
  display: table; }
  .propertybox-featured:nth-child(2n) {
    padding-left: 0; }
  .propertybox-featured:nth-child(3n) {
    padding-right: 0; }
  .propertybox-featured .inner-container {
    background: #fafafa;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease; }
  .propertybox-featured .img-container {
    padding: 0;
    position: relative;
    float: none;
    display: table-cell;
    vertical-align: top;
    overflow: hidden;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease; }
    .propertybox-featured .img-container:before, .propertybox-featured .img-container:after {
      display: block;
      position: absolute;
      z-index: 1;
      opacity: 0;
      filter: alpha(opacity=0);
      -webkit-transition: all 0.7s ease;
      -o-transition: all 0.7s ease;
      transition: all 0.7s ease; }
    .propertybox-featured .img-container:before {
      content: "";
      left: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      -webkit-transform: scale(0.6);
      -ms-transform: scale(0.6);
      -o-transform: scale(0.6);
      transform: scale(0.6);
      background: rgba(255, 255, 255, 0.6); }
    .propertybox-featured .img-container:after {
      font-family: "FontAwesome";
      left: 50%;
      top: 50%;
      -moz-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
      -webkit-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      color: #8e5c90;
      font-size: 2.7em; }
    .propertybox-featured .img-container img {
      position: absolute;
      left: 50%;
      top: 50%;
      -moz-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
      -webkit-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      height: 100%;
      max-width: none; }
    .propertybox-featured .img-container .price-box {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.3);
      color: #FFFFFF;
      text-align: center;
      font-size: 1.3em;
      line-height: 2em;
      z-index: 1;
      -webkit-transition: all 0.7s ease;
      -o-transition: all 0.7s ease;
      transition: all 0.7s ease; }
  .propertybox-featured .main-info {
    padding: 20px 30px;
    float: none;
    display: table-cell; }
    .propertybox-featured .main-info .title {
      color: #333333;
      font-size: 1.7em;
      line-height: 1.5em;
      font-family: "Scada", Arial, Helvetica, sans-serif;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
      .propertybox-featured .main-info .title:hover {
        color: #8e5c90; }
    .propertybox-featured .main-info .location {
      font-family: "Scada", Arial, Helvetica, sans-serif;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .propertybox-featured .main-info .desc {
      color: #aeaeae;
      line-height: 20px;
      margin: 15px 0;
      height: 80px;
      overflow: hidden;
      font-family: "Open Sans", Arial, Helvetica, sans-serif; }
    .propertybox-featured .main-info .bottom-sec .extra-info {
      font-family: "Scada", Arial, Helvetica, sans-serif;
      color: #aeaeae;
      float: left; }
      .propertybox-featured .main-info .bottom-sec .extra-info .value {
        color: #8e5c90;
        font-size: 2em;
        display: inline-block;
        margin-right: 5px; }
    .propertybox-featured .main-info .bottom-sec .more-link {
      margin-top: 15px;
      float: right; }
  .propertybox-featured:hover .inner-container {
     }
  .propertybox-featured:hover .img-container {
    border-color: #8e5c90; }
    .propertybox-featured:hover .img-container:before, .propertybox-featured:hover .img-container:after {
      opacity: 1;
      filter: alpha(opacity=100); }
    .propertybox-featured:hover .img-container:before {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      -o-transform: scale(1);
      transform: scale(1); }
  .propertybox-featured:hover .price-box {
    bottom: -50px; }
  .propertybox-featured:hover .more-link {
    background: #8e5c90; }
    .propertybox-featured:hover .more-link:after {
      background: #8e5c90; }
  @media (max-width: 450px) {
    .propertybox-featured .img-container, .propertybox-featured .main-info {
      display: block;
      width: 100%;
      float: none; }
    .propertybox-featured .img-container img {
      position: initial;
      left: 0;
      top: 0;
      -moz-transform: translateX(0) translateY(0);
      -ms-transform: translateX(0) translateY(0);
      -webkit-transform: translateX(0) translateY(0);
      transform: translateX(0) translateY(0);
      width: 100%; } }

.infobox-main-container > img {
  right: 5px;
  top: 5px;
  position: absolute !important;
  z-index: 1;
  border: 1px solid #8e5c90; }
.infobox-main-container #infobox-container {
  width: 300px; }
  .infobox-main-container #infobox-container .propertybox-featured {
    position: relative;
    -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.4); }
    .infobox-main-container #infobox-container .propertybox-featured .inner-container {
      border-bottom: 3px solid #8e5c90; }
    .infobox-main-container #infobox-container .propertybox-featured .img-container {
      border-bottom: 0; }
	  
	  @media (max-width: 450px) {
		  .infobox-main-container #infobox-container {
			width: 300px; }
		.infobox-main-container #infobox-container .propertybox-featured .img-container {
		  display:none; 
		}
  }
	  
	  
    .infobox-main-container #infobox-container .propertybox-featured .main-info .desc {
      color:#fafafa;  
      height: 60px;
      margin: 5px 0; }

    
    #overlayermap .cluster {
  width: 0;
  height: 0;
  position: absolute; }
  #overlayermap .cluster > img {
    display: none; }
  #overlayermap .cluster > div {
    background: #fafafa;
    color: #000 !important;
    line-height: 30px !important;
    width: 100% !important;
    height: 100% !important;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 15px rgba(32,100,139, 0.6);
    box-shadow: 0 0 0 15px rgba(32,100,139, 0.6);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; }
    #overlayermap .cluster > div:hover {
      -webkit-box-shadow: 0 0 0 15px #1c6db2;
      box-shadow: 0 0 0 15px #1c6db2; }

    .push-back {
        z-index: 100;
    }

    .disabled-select {
      background-color:#d5d5d5;
      opacity:0.5;
      border-radius:3px;
      cursor:not-allowed;
      position:absolute;
      top:0;
      bottom:0;
      right:0;
      left:0;
   }

   .overlay-button{
      position: absolute;
      top: 10%;
      left: 85%;
      font-size: 12px;
      z-index: 2;
      transform: translate(-50%,-50%);
   }

   .gm-style-iw + div {display: none;}
   .gm-style-iw {text-align:center;}

   .assignee-panel {
      margin: 3px;
      border-radius: 5px;
   }

   .select2-container .select2-choice {
    display: block!important;
    height: 30px!important;
    white-space: nowrap!important;
    line-height: 24px!important;
   }

   .form-column-label {
    background-color:#eeeeee;
    padding: 1px;
    border-style: solid;
    border-width: 1px;
    border-color:lightgray;
    border-radius: 5px;
    text-align: center;
    height: 33.9px;
    
   }

   .form-column-data {
    background-color:#fff;
    padding: 1px;
    border-style: solid;
    border-width: 1px;
    border-color:lightgray;
    border-radius: 5px;
    height: 33.9px;
   }

   .center {
      margin: 0;
      position: absolute;
      top: 50%;
      left: 50%;
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
    }

/* Gmap Trumbmail marker */
   .imgA1 { position:absolute;width:80px;height:80px top: 0px; left: 0px; } 
   .imgB1 { position:absolute;width:32px;height:32px; top: 17px; left: 24px;border-radius:50% } 

   .tooltip {
    position: relative;
    display: inline-block;
   }

   .tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
  
    /* Position the tooltip */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
   }
   .tooltip:hover .tooltiptext {
    visibility: visible;
   }

   .labelValue {
     font-size: medium  ;
     font-weight: 700;
   }

   .btn-close {background-color: #5BB85B; color: #fff;}
   .btn-pending {background-color: #FFCC66; color: #fff;}
   .btn-reject {background-color: #FF6666; color: #fff;}
   .btn-renew {background-color: #FF6666; color: #fff;}
   .btn-excel {background-color: #337AB7; color: #fff;}

   .btn-dt-cident {font-size: 6px;}

   .select2-container .select2-selection--multiple .select2-selection__choice {
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }