/*
 Theme Name:   Apaman Child
 Description:  Child Theme for Apaman Website
 Author:       E-stage
 Template:     gensen_tcd050
*/

:root {
  --primary-color: #29a9e0;
}

body {
  overflow-x: hidden !important;
}

#side_col {
  width: 198px;
}

#global_menu > ul > li > a {
  font-size: 14px !important;
}

/*Top page slide rent by and sales Add by AM ESTH 220526
.cb_content-carousel .image{
  border: 0px solid;
  border-radius: 5px;
}
.rent_buy_block > .rent-price{
  font-size: 18px;
  font-weight: 500;
  background-color: #d9effc;
}*/

@media only screen and (min-width: 1025px) {
  #global_menu {
    display: none !important;
  }

  #global_menu ul ul {
    top: 68px !important;
    left: 30px !important;
  }

  #global_menu ul ul ul {
    left: 230px !important;
    top: 0 !important;
  }

  #global_menu > ul > li:hover > ul {
    top: 0 !important;
    left: 0 !important;
  }

  #global_menu > ul > li li:hover > ul {
    left: 200px !important;
  }
}

.header_fix {
  padding-top: 68px !important;
}

@media only screen and (min-width: 1025px) {
  .fix_top.header_fix.admin-bar {
    padding-top: 100px !important;
  }
}

#header_slider .caption .headline {
  margin: 0 !important;
}

#header_slider .caption .catchphrase {
  margin: 5px 0 0 0 !important;
}

#header_slider .caption .button {
  margin: 16px 0 0 0 !important;
  min-width: 240px !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 14px !important;
  border: 1px solid #fff !important;
  border-radius: 25px !important;
}

#header_slider.slider_video .caption > :nth-child(1) {
  -webkit-animation: sliderCaptionAnimation 1s ease forwards 6s !important;
}

#header_slider.slider_video .caption > :nth-child(2) {
  -webkit-animation: sliderCaptionAnimation 1s ease forwards 8s !important;
}

#header_slider.slider_video .caption > :nth-child(3) {
  -webkit-animation: sliderCaptionAnimation 1s ease forwards 10s !important;
}

#index_news ol li {
  font-size: 14px !important;
}

#index_news .entry-date {
  font-size: 12px !important;
}

.cb_content .cb_headline {
  margin: -0.1em 0 10px 0 !important;
}

/* カルーセルスライダー */
.cb_content-carousel {
  padding: 40px 0 !important;
}

.cb_content-blog_list .archive_link a {
  min-width: 114px;
  line-height: 50px;
}

#header_image {
  display: flex !important;
  background-size: unset;
  align-items: flex-end !important;
  height: 25rem !important;
}

#header_image .caption_bar {
  font-size: 42px;
}

/* ----------------------------------------------------------------------
 アーカイブページ
---------------------------------------------------------------------- */
#archive_desc {
  margin: 12px 0 0 0 !important;
}

/* ページング */
.page_navi {
  margin: 0 0 50px 0 !important;
}

ul.page-numbers li {
  float: left;
}

.page_navi p.back a {
  min-width: 200px !important;
  height: 50px !important;
  line-height: 50px !important;
  text-align: center !important;
  padding: 0 20px !important;
  background: #bbb !important;
}

/* 日付 */
#post_date {
  font-size: 12px !important;
}

/* アイキャッチ画像 */
#post_image {
  margin: -1px 0 44px 0;
}

/* 記事本文 */
.post_content {
  font-size: 14px !important;
  margin-top: 0;
}

/* ----------------------------------------------------------------------
 紹介
---------------------------------------------------------------------- */

/* 紹介ヘッダー */
#introduce_header .headline {
  font-size: 18px !important;
}

/* ----------------------------------------------------------------------
 お知らせ
---------------------------------------------------------------------- */

/* お知らせ一覧 */
#recent_news ol {
  border: 1px solid #ddd;
}

#recent_news li a {
  padding: 18px 24px 17px 24px !important;
}

#recent_news .show_date li a {
  padding-right: 108px;
}

#recent_news .show_date li .date {
  margin: -0.5em 0 0 0 !important;
  font-size: 12px;
  position: absolute;
  top: 50%;
  right: 18px;
}

.post-type-archive-news ul.page-numbers {
  text-align: left;
}

/* お知らせ詳細 */
.single-news #article #post_date {
  margin: -20px 0 28px 0 !important;
}

.single-news #recent_news .archive_link {
  margin: 28px 0 0 0;
}

/* ----------------------------------------------------------------------
 サイドコンテンツ
---------------------------------------------------------------------- */

/* 基本設定 */
.side_widget li ul {
  margin: 10px 0 0 10px !important;
}

/* カレンダー */
#wp-calendar {
  font-size: 11px !important;
}

/* デザインされた記事一覧１ */
.styled_post_list1_tabs li label {
  display: block !important;
  border-bottom: 1px solid #ddd !important;
}

/* アーカイブ、カテゴリードロップダウンメニュー */
.widget_archive select,
.widget_categories select,
.tcdw_archive_list_widget select {
  padding: 12px 10px !important;
}

/* アイコンメニュー */
.tcdw_icon_menu_list_widget li {
  height: 48px !important;
  line-height: 48px !important;
}

/* ----------------------------------------------------------------------
 フッター
---------------------------------------------------------------------- */

#footer_contents a {
  color: #2a2a2a !important;
}

#footer_bottom_menu li {
  font-size: 12px !important;
}

#footer_bottom_menu li:after {
  padding: 0 0.5em !important;
}

#footer_social_link li a {
  color: #ff0040;
}

#copyright {
  color: #000000;
  font-size: 12px;
}

/* ----------------------------------------------------------------------
 WordPress プリセットスタイル
---------------------------------------------------------------------- */

/* alignment */

.post_content .alignright {
  float: right;
}

.post_content .alignleft {
  float: left;
}

.post_content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 7px;
}

.post_content blockquote.alignleft,
.post_content img.alignleft {
  margin: 7px 24px 7px 0;
}

.post_content .wp-caption.alignleft {
  margin: 7px 14px 7px 0;
}

.post_content blockquote.alignright,
.post_content img.alignright {
  margin: 7px 0 7px 24px;
}

.post_content .wp-caption.alignright {
  margin: 7px 0 7px 14px;
}

.post_content blockquote.aligncenter,
.post_content img.aligncenter,
.post_content .wp-caption.aligncenter {
  margin-top: 7px;
  margin-bottom: 7px;
}

/* text and headline bg color for service page 
p.service-bg>.has-black-color{
    width: 18vw;
    max-width: 18vw;
    margin-left: -14px;
}*/

/* text and headline */

.post_content p {
  line-height: 2.4;
  margin: 0 0 2.4em 0;
}

.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
  clear: both;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 10px 0;
  padding: 10px 0 0 0;
}

.post_content h1 {
  font-size: 150%;
}

.post_content h2 {
  font-size: 140%;
}

.post_content h3 {
  font-size: 130%;
  padding-top: 20px;
}

.post_content h4 {
  font-size: 120%;
}

.post_content h5 {
  font-size: 110%;
}

.post_content h6 {
  font-size: 100%;
}

/* image */

.post_content img[class*="align"],
.post_content img[class*="wp-image-"],
.post_content img[class*="attachment-"],
.post_content img.size-full,
.post_content img.size-large,
.post_content .wp-post-image,
.post_content img {
  height: auto;
  max-width: 100%;
}

/* list */

.post_content li,
.post_content dt,
.post_content dd {
  line-height: 2.2;
}

.post_content ul,
.post_content ol,
.post_content dl {
  margin-bottom: 24px;
}

.post_content ol {
  list-style: decimal outside none;
  margin-left: 1.5em;
}

.post_content ul {
  list-style: circle outside none;
  margin-left: 1.3em;
}

.post_content li > ul,
.post_content li > ol {
  margin-bottom: 0;
}

.post_content dt {
  font-weight: bold;
}

.post_content dd {
  margin-bottom: 1em;
}

/* table */

.post_content table {
  margin: 0 0 24px 0;
  /*width:100% !important;*/
}

.post_content td,
.post_content th {
  border: 1px solid #bbb;
  padding: 10px 15px;
  line-height: 2.2;
}

.post_content th {
  background: #ddd;
  font-weight: normal;
}

/* table style */

.post_content table.table_no_border th,
.post_content table.table_no_border td {
  border: none;
  padding-left: 0;
}

.post_content table.table_border_horizontal th,
.post_content table.table_border_horizontal td {
  border-left: none;
  border-right: none;
  padding-left: 0;
}

/* block quote */

.post_content blockquote {
  margin: 0 0 25px 0;
  padding: 27px 30px 0;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 0px 0px #f2f2f2;
  position: relative;
}

.post_content blockquote:before {
  content: '"';
  font-style: italic;
  font-size: 30px;
  font-weight: normal;
  line-height: 40px;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  left: 10px;
  color: #5cbcd7;
}

.post_content blockquote:after {
  content: '"';
  font-style: italic;
  font-size: 30px;
  font-weight: normal;
  text-align: left;
  line-height: 60px;
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 7px;
  right: -2px;
  color: #5cbcd7;
}

.post_content blockquote cite {
  border-top: 1px dotted #aaa;
  display: block;
  padding: 20px 0 0 0;
  font-style: italic;
  text-align: right;
  font-size: 90%;
}

/* captions */

.post_content .wp-caption {
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  max-width: 100%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.post_content .wp-caption-text {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  margin: 9px auto;
}

.post_content .wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}

/* gallery */

.gallery {
  margin-bottom: 20px;
}

.gallery a img {
  border: 0 !important;
}

.gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  position: relative;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 48%;
  max-width: -webkit-calc(50% - 4px);
  max-width: calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
  max-width: 32%;
  max-width: -webkit-calc(33.3% - 4px);
  max-width: calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
  max-width: -webkit-calc(25% - 4px);
  max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
  max-width: 19%;
  max-width: -webkit-calc(20% - 4px);
  max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
  max-width: 15%;
  max-width: -webkit-calc(16.7% - 4px);
  max-width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
  max-width: 13%;
  max-width: -webkit-calc(14.28% - 4px);
  max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
  max-width: 11%;
  max-width: -webkit-calc(12.5% - 4px);
  max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
  max-width: 9%;
  max-width: -webkit-calc(11.1% - 4px);
  max-width: calc(11.1% - 4px);
}

.gallery-columns-10 .gallery-item {
  max-width: 7%;
  max-width: -webkit-calc(9.4% - 0px);
  max-width: calc(9.4% - 0px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n),
.gallery-columns-10 .gallery-item:nth-of-type(10n) {
  margin-right: 0;
}

.gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 100%;
}

.gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption,
.gallery-columns-10 .gallery-caption {
  display: none;
}

/* etc */

.post_content .wp-smiley {
  border: 0;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.post_content address {
  margin: 0 0 24px 0;
  line-height: 2.2;
}

.post_content pre {
  border-left: 5px solid #7fc120;
  font-size: 12px;
  margin: 0 0 27px 0;
  line-height: 25px;
  background: url(img/common/pre.gif) repeat left top;
  padding: 0 17px;
  overflow: auto;
}

.post_content .sticky {
}

.post_content .mejs-container {
  margin: 12px 0 25px;
}

/*----------sidebar property------------*/

.sidebar-property {
  width: 195px;
}

#side_col.sidebar-property {
  background: #fafafa;
  padding: 0.9vw;
  border: rgb(187, 187, 187) solid 1px;
  border-radius: 8px;
}

.sidebar-property .searchandfilter h4 {
  background: #29a9e0;
  color: #fff;
  padding-left: 1.5vw;
}

/*------------Apaman Home content-----------*/

.top-button {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.top-button1 {
  background-color: #29a9e0;
  color: #fff;
  border: 2px solid #29a9e0;
}

.top-button1:hover {
  background-color: #f0f0f0;
  color: #29a9e0;
}

.top-button2 {
  background-color: #f0f0f0;
  color: #29a9e0;
  border: 2px solid #29a9e0;
}

.top-button2:hover {
  background-color: #29a9e0;
  color: white;
}

.top-button3 {
  background-color: #29a9e0;
  color: #fff;
  border: 2px solid #29a9e0;
}

.top-button3:hover {
  background-color: #f0f0f0;
  color: #29a9e0;
}

/* Main Menu */

#header .custom-header-inner {
  display: flex;
  align-items: center;
}

.header-right-blocks {
  display: flex;
  width: 100%;
  font-weight: 600;
  align-items: center;
  justify-content: flex-end;
}

.menu-phone-link {
  display: block;
}

.menu-phone-image {
  width: 0.7rem;
}

.language-group-blocks {
  display: block;
  float: right;
}

.menu-phone-inner,
.language-group-inner {
  display: flex;
  align-items: center;
}

.language-group-inner {
  box-shadow: 1px 1px 3px rgba(89, 89, 89, 0.6);
}

.language-jp-link,
.language-th-link {
  transition: all 0.3s linear;
}

.language-jp-link:hover,
.language-th-link:hover {
  opacity: 0.6;
}

.menu-phone-link,
.language-jp-link,
.language-th-link {
  display: block;
  padding: 0.5rem;
}

.custom-global-menu {
  padding: 0.5rem 0;
}

.custom-global-menu .inner-custom-global-menu {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.custom-global-menu .inner-custom-global-menu .menu {
  display: flex;
}

.custom-global-menu .inner-custom-global-menu .menu > li {
  cursor: pointer;
}

.custom-global-menu .inner-custom-global-menu .menu .menu-item {
  /* display: flex; */
  flex-grow: 1;
  flex-basis: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  position: relative;
  /* text-align: center;
    border-left: 1px solid lightgray;
    flex: 1;
    padding: 15px 10px;
    font-size: 1.2em;
    position: relative;
    cursor: pointer; */
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  > .menu-item:not(.menu-item:last-child)
  > a {
  display: block;
  /* previous */
  width: 100%;
  color: rgb(51, 51, 51);
  border-left: 1px solid rgb(204, 204, 204);
  transition: all 0.15s linear;
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  > .menu-item:not(.menu-item:last-child)
  > a:hover {
  color: rgb(41, 170, 225);
}

.custom-global-menu .inner-custom-global-menu .menu > .menu-item:last-child a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  color: rgb(255, 255, 255);
  border: 2px solid rgb(255, 255, 255);
  background-color: rgb(41, 170, 225);
  box-shadow: 2px 2px 5px rgba(89, 89, 89, 0.2);
  transition: all 0.15s linear;
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  > .menu-item:last-child
  a:hover {
  color: rgb(41, 170, 225);
  border: 2px solid rgb(41, 170, 225);
  background-color: transparent;
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  .menu-item:last-child
  a
  table {
  font-weight: 600;
  color: rgb(255, 255, 255);
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  .menu-item:last-child
  a
  table
  tr
  td {
  vertical-align: middle;
  font-size: 1rem;
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  .menu-item:last-child
  a
  table:hover {
  color: rgb(41, 170, 225);
}

.custom-global-menu .inner-custom-global-menu .menu .menu-item:last-child a img,
#global_menu .menu-item:last-child a img {
  width: 1.3rem;
  margin-right: 0.5rem;
}

.custom-global-menu .inner-custom-global-menu .menu .menu-item a div {
  font-size: 1rem;
}

.custom-global-menu
  .inner-custom-global-menu
  .menu
  .menu-item
  a
  div:nth-child(1) {
  margin-bottom: 0.5rem;
}

.custom-global-menu .inner-custom-global-menu .menu li:last-child {
  border: none;
  justify-content: flex-end;
}

.custom-global-menu .menu li:hover .sub-menu {
  opacity: 1;
  pointer-events: visible;
}

.custom-global-menu .sub-menu {
  position: absolute;
  width: 100%;
  margin-top: 15px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  background-color: #fff;
  transition: 0.25s all ease;
}

.custom-global-menu .sub-menu a {
  display: block;
  padding: 15px 10px;
  border-left: none;
}

.custom-global-menu .sub-menu a:hover {
  color: rgb(255, 255, 255);
}

.custom-global-menu .sub-menu li:hover {
  background-color: rgb(41, 170, 225);
}

.header-right-blocks .menu_button {
  display: block;
  position: relative;
  width: 1rem;
  height: 1rem;
  padding: 0.5rem;
}

.header-right-blocks a.menu_button::before {
  content: "";
  width: auto;
  height: auto;
}

.header-right-blocks .menu_button {
  line-height: 0;
}

.header-right-blocks .menu_button .global-menu-icon {
  position: relative;
  width: 1rem;
}

@media screen and (min-width: 1025px) {
  .menu-contact-desktop {
    display: block;
  }
  .menu-contact-mobile {
    display: none;
  }
  .header-right-blocks .menu_button {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  #global_menu_desktop {
    display: none;
  }
  .menu-contact-desktop {
    display: none;
  }
  .menu-contact-mobile {
    display: block;
  }
}

/* Contact form JP page */

.contact-paragraph-1,
.contact-paragraph-2 {
  font-weight: 600;
}

.contact-button-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.contact-button-group a {
  width: 13rem;
  padding: 0.1rem 0.5rem;
  text-align: center;
  font-weight: 600;
  color: rgb(41, 170, 255) !important;
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(41, 170, 255);
  border-radius: 8px;
  transition: all 0.15s linear;
}

.contact-button-group a:hover {
  text-decoration: underline;
  background-color: rgb(41, 170, 255);
  border: 2px solid rgb(255, 255, 225);
  color: rgb(255, 255, 255) !important;
}

.contact-button-group .contact-button-email-image,
.contact-button-group .contact-button-map-image {
  display: flex;
  width: 100%;
  justify-content: center;
}

.contact-button-group img {
  display: block;
  width: 2rem;
  height: intrinsic;
  padding-top: 0.3rem;
}

.email-link-block {
  margin-right: 0.5em;
}

.email-link-block,
.map-link-block {
  margin-bottom: 0.5em;
}

.wpcf7 {
  border: unset !important;
  background: rgb(255, 255, 255) !important;
}

.wpcf7 form {
  margin: unset !important;
}

.wpcf7 #move-in {
  height: 35px !important;
}

.wpcf7 #other-request {
  height: 150px !important;
}

.wpcf7 input:not(input[type="checkbox"]):not(input[type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
  border-radius: 5px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border: 1.5px solid rgb(41, 170, 225) !important;
  box-shadow: none !important;
}

.row-name {
  display: flex;
  flex-wrap: wrap;
}

.row-name label {
  flex-basis: 100%;
}

.row-name > span {
  display: block;
}

/* .row-name .your-name {
    margin-right: 1rem;
    flex-grow: 1;
    flex-basis: 100px;
} */

.row-name .your-surname {
  flex-grow: 2;
  flex-basis: 100px;
}

.wpcf7 div[class^="form-group row"] > label {
  font-weight: 600;
}

.title-property {
  margin: 2rem 0;
}

.title-property-inner {
  margin: unset !important;
  padding: 1rem !important;
  font-weight: 600 !important;
  background-color: rgb(41, 170, 225);
  color: rgb(255, 255, 255);
}

.form-group-1,
.form-group-2 {
  padding: 2rem;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 5px;
}

.form-submit {
  display: flex;
  margin: 2rem auto;
  align-items: center;
  justify-content: center;
}

.wpcf7 input.wpcf7-submit {
  width: 10rem;
  margin: unset !important;
  background-color: rgb(41, 170, 225) !important;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: rgb(255, 255, 255) !important;
  border: 2px solid rgb(41, 170, 225) !important;
  color: rgb(41, 170, 225);
}

.wpcf7 .ajax-loader {
  position: absolute !important;
  overflow: hidden;
  /*right: 50rem;*/ /*-100%*/
}
/*For show the sending email add 020921 By AM*/
.wpcf7 .ajax-loader {
  display: none;
}

@media screen and (max-width: 1024px) {
  .email-link-block {
    margin-right: 0;
  }
}

/* @media screen and (max-width: 399px) {
    .row-name .your-name {
        margin-right: 0;
        margin-bottom: 1rem;
        flex-basis: 100%;
    }
} */

/* Renew Contract */

.renew-contract .tcd-pb-widget > p {
  margin: 0;
}

.renew-contract .tcd-pb-widget .renew-title {
  line-height: 1;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Uppercase text header Edit by korn on 2021/06/15 */

.post-content h2 {
  text-transform: uppercase;
}

/* font-trouble room page Edit by korn on 2021/06/17 */

.font-trouble-room-header {
  font-size: 18px;
}

.font-trouble-room {
  font-size: 16px;
  margin-top: -25px !important;
}

.font-trouble-room-top {
  font-size: 14px;
}

.font-main-header {
  font-size: 30px;
  margin-bottom: -30px !important;
}

/* Added content on mobiel to center position */
@media (max-width: 1024px) {
  .content-title-left h2 {
    text-align: center;
  }
  .top-button-contact.top-button-mail {
    padding: 15px 45px !important;
  }
  .top-button-contact.top-button-phone {
    padding: 15px 30px !important;
  }
}
/*  */

@media (min-width: 768px) and (max-width: 768px) {
  .post_content .image-hosapital-1 {
    height: 363px !important;
  }

  .post_content .image-hosapital-2 {
    height: 277px !important;
  }

  .post_content .image-hosapital-3 {
    height: 313px !important;
  }

  .post_content .image-hosapital-4 {
    height: 326px !important;
  }

  .post_content .image-hosapital-5 {
    height: 380px !important;
  }

  .post_content .image-hosapital-6 {
    height: 377px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1024px) {
  .post_content .image-hosapital-1 {
    height: 363px !important;
  }

  .post_content .image-hosapital-2 {
    height: 277px !important;
  }

  .post_content .image-hosapital-3 {
    height: 313px !important;
  }

  .post_content .image-hosapital-4 {
    height: 326px !important;
  }

  .post_content .image-hosapital-5 {
    height: 380px !important;
  }

  .post_content .image-hosapital-6 {
    height: 377px !important;
  }
}

/* Change line on Step page -- Start -- 2021/09/17 -- IE Site */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  hr {
    height: 2px !important;
  }
}
/* Change line on Step page -- End -- 2021/09/17 -- IE Site */

/* Add css for transportation page 2021/10/27 By AM ESTH*/
.TB_transportation {
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 3rem;
  display: flex;
}
.TB_transportation-col1 {
  width: 85%;
}
.TB_transportation-col1 img {
  padding-left: 0px;
  padding-right: 15px;
}
.TB_transportation-col2 {
  width: 90%;
}
.TB_transportation-col2 p {
  padding-left: 40px;
  padding-right: 0px;
}
.table_transportation {
  border: none;
}
.table_transportation .tr_transportation1 {
  color: #fff;
  background-color: #29a9e0;
}
.tr_transportation1 td {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.tr_transportation2 td {
  padding: 30px;
}

@media only screen and (max-width: 767px) {
  .TB_transportation {
    display: block;
  }

  .TB_transportation-col1 {
    width: 100%;
    float: none;
    margin-bottom: 30px;
  }
  .TB_transportation-col1 img {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_transportation-col2 {
    width: 100%;
    float: none;
  }
  .TB_transportation-col2 p {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble {
    display: block;
  }
  .TB_roomtrouble-col1 {
    width: 100%;
  }
  .TB_roomtrouble-col1 p {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble-col1 img {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble-col2 {
    width: 100%;
  }
  .TB_roomtrouble-col2 img {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble-col2 p {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* Add css for roomtrouble page 2021/10/27 By AM ESTH*/
.TB_roomtrouble {
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 3rem;
  display: flex;
}
.TB_roomtrouble-col1 {
  width: 80%;
}
.TB_roomtrouble-col1 p {
  padding-left: 0px;
  padding-right: 20px;
}
.TB_roomtrouble-col1 img {
  padding-left: 0px;
  padding-right: 20px;
}
.TB_roomtrouble-col2 {
  width: 80%;
}
.TB_roomtrouble-col2 img {
  padding-left: 20px;
  padding-right: 0px;
}
.TB_roomtrouble-col2 p {
  padding-left: 15px;
  padding-right: 0px;
}
.table_roomtrouble {
  border: none;
}
.table_roomtrouble .tr_troomtrouble1 {
  color: #fff;
  background-color: #fff;
}
.tr_roomtrouble1 td {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.tr_roomtrouble2 td {
  padding: 30px;
}

@media only screen and (max-width: 767px) {
  .TB_roomtrouble {
    display: block;
  }
  .TB_roomtrouble-col1 {
    width: 100%;
  }
  .TB_roomtrouble-col1 p {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble-col1 img {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble-col2 {
    width: 100%;
  }
  .TB_roomtrouble-col2 img {
    padding-left: 0px;
    padding-right: 0px;
  }
  .TB_roomtrouble-col2 p {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* ==================================================== */
/*  Setting for slick slider height                     */
/* ==================================================== */
/* Step 1: ทำให้ track เป็น flex */
#cb_0 .slick-track {
  display: flex !important;
}

/* Step 2: ทำให้ slide สูงเท่า track */
#cb_0 .slick-slide {
  height: inherit !important;
}

/* Step 3: ทำให้ทุกชั้นใน slide สูง 100% */
#cb_0 .slick-slide > div,
#cb_0 .slick-slide a,
#cb_0 .slick-slide .property-rent-tag {
  height: 100% !important;
}

/* Step 4: card หลักเป็น flex column */
#cb_0 .article.item {
  display: flex !important;
  flex-direction: column;
}

#cb_0 .article.item a {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}

/* Step 5: ให้ rent_buy_block ขยายเต็มที่เหลือ */
#cb_0 .article.item .rent_buy_block {
  flex: 1;
}

/* Step 6: image คงขนาดเดิม ไม่ยืด */
#cb_0 .article.item .image {
  flex-shrink: 0;
}

#cb_0 .article.item .image img {
  width: 100%;
  height: 216px;
  object-fit: cover;
}
