.itopplus-background {

}
body {
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

.videoCoverContainer {
  display: block !important;
}

.staggered-card-grid .post {
  display: none;
}

.navbar-default .navbar-nav > li > a {
  color: #000000;
  font-size: 16px;
}

.dropdown-menu > li > a {
  color: #000;
}

.no-js .dropdown-menu > li > a:focus,
.no-js .dropdown-menu > li > a:hover {
  color: #000;
  background: #e8e8e8;
}

@media screen and (max-width: 992px) {
  #controlBanner img {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 120px !important;
    z-index: 10000;
  }

  #nav-menu,
  #ItopplusMainSidebar > div {
    background: #fff !important;
  }

  #itpMenuSideBar span {
    background-color: #000 !important;
  }

  #controlMenu * {
    color: #000 !important;
  }

  #controlMenu li {
    border: unset !important;
  }

  .area25-menu {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  #background670783b0606650001a20e4d7 > div > div.none-middle > div.none-middle-mid {
    display: flex;
    gap: 20px;
  }

  #Contentmanager .carousel-control.left {
    left: -10%;
  }

  #Contentmanager .carousel-control.right {
    right: -10% !important;
  }

  .itp-layout {
    position: relative;
    display: grid;
    grid-template-columns: 15% 85%;
    gap: 20px;
    padding: 0 2vw;
  }

  /*
    .itp-layout #controlBanner img {
    content: url(https://itp1.itopfile.com/ImageServer/z_itp_190820242tox/0/0/area25z-z1697905327480.webp);
  }
    */

  .no-js .itopplus-banner.theme2 {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    height: 105px;
  }

  section.itp-left {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1000;
  }

  section.itp-right {
    overflow: hidden;
  }

  .itp-layout #itopplus-nav-bar li > a:focus,
  .itp-layout #itopplus-nav-bar li > a:hover,
  .itp-layout #itopplus-nav-bar li > a:active,
  .itp-layout #itopplus-nav-bar .open > a,
  .itp-layout #itopplus-nav-bar .open > a:focus,
  .itp-layout #itopplus-nav-bar .open > a:hover {
    color: #000 !important;
    box-shadow: none;
    border-radius: none;
    background: transparent;
    background-color: transparent;
  }

  .itp-layout #nav-menu {
    display: grid;
    background: transparent;
    min-height: auto;
  }

  .itp-layout #controlBanner {
    margin: 2vw 0;
  }

  .itopplus-banner.theme2 .container {
    display: grid;
    grid-template-columns: 20% auto;
    align-items: center;
    padding: 1% 0;
  }

  .itopplus-banner.theme2 #nav-menu {
    display: grid;
    justify-content: end;
    background: transparent;
    min-height: auto;
  }

  .itopplus-banner.theme2.itopplus-sticky {
    background: #fff;
  }

  /*menu*/
  .itp-layout #itopplus-nav-bar * {
    transition: 0.3s;
  }

  .itp-layout #itopplus-nav-bar li.hidden {
    display: none !important;
  }

  /*9/7/2025*/
  .area25-menu,
  .itp-layout #itopplus-nav-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .area25-menu-link,
  .itp-layout #itopplus-nav-bar li {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    line-height: 0.9;
  }
  .area25-menu-link a,
  .itp-layout #itopplus-nav-bar li > a {
    position: relative;
    font-size: 1.1vw;
    transition: 0.3s;
    height: fit-content;
    font-weight: 900;
    color: #000;
    padding: 0;
    margin: 0;
  }
  .area25-menu-link:hover > a,
  .itp-layout #itopplus-nav-bar > li:hover > a {
    line-height: 0.8;
    font-size: 3.6vw !important;
    white-space: nowrap;
  }
}

/*เฉพาะรูปแบบมีขอบ*/

.thumbnail img.imageGallery:hover {
  -webkit-transform: scale(1.1);
  transform: scale(0.98);
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.thumbnail .imageWidth.imageGallery {
  transform: scale(1);
  transition: 0.32s;
}
.thumbnail .imageWidth.imageGallery:hover {
  transform: scale(1.05);
  transition: 0.32s;
}
/**ห้ามเกินกรอบ**/
.thumbnail .imgLightbox {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
}
/*
 #background67245517ed1b000013090b15 .thumbnail {
    border: solid 0px #d1d1d1;
    background: transparent;
    transition: 0.5s;
    color: #282828;
    padding: 0% !important;
    box-shadow: rgb(0 0 0 / 0%) 0px 3px 8px;
    border-radius: 0px;
}
#background67245517ed1b000013090b15 .thumbnail:hover {
    border: solid 0px #d1d1d1;
    background: transparent;
    box-shadow: rgb(0 0 0 / 0%) 0px 3px 8px;
    color: #e8bd70;
}
*/

/* logo Home */

.logo-logo {
  width: 100%;
}

/* HOME */

.home-space-image0 {
  width: 70%;
}

.home-space-block {
  width: 30%;
}

.home-space1 {
  width: 100%;
  transition: 0.5s;
  margin-bottom: 5%;
}

.home-space1:hover {
  width: 250%;
  margin-left: -150%;
  position: relative;
}

.home-space1-text {
  font-size: 16px;
  font-weight: 600;
  color: #3f3f3f;
}

.home-space-image1 {
  width: 110%;
  margin-left: -7%;
  margin-top: -2%;
}

.home-space-pd {
  display: flex;
  width: 100%;
  gap: 0px;
}

.home-space1-img {
  margin-bottom: 2%;
}

.home-coming {
  width: 100%;
}

/* PROJECTS */
.projects-space {
  text-align: left;
  padding: 5% 0%;
  text-transform: uppercase;
}

.projects-space h2 {
  color: #3f3f3f;
  font-weight: 600;
  line-height: 1;
  font-size: 3em;
}

.projects-space h1 {
  color: #868686;
  font-weight: 600;
}

.projects-space p {
  white-space: break-spaces;
  margin: 3% 0%;
  font-size: 14px;
}

.projects-space h3 {
  font-size: 14px;
  font-style: italic;
}

/* Contentmanager PROJECTS */

#background670783cdbab3c8001afd91ea .row.flex {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  float: right;
  transition: 0.5s;
}

#background670783cdbab3c8001afd91ea * {
  transition: 0.5s;
}

#background670783cdbab3c8001afd91ea .row.flex .title {
  margin-bottom: 0%;
  text-align: right;
}

#background670783cdbab3c8001afd91ea .row.flex .caption {
  padding: 0;
  margin: 10px 0 20px;
}

#background670783cdbab3c8001afd91ea article {
  width: 100%;
  margin: 0;
}

#background670783cdbab3c8001afd91ea .image.img-zoom {
  overflow: unset;
}

#background670783cdbab3c8001afd91ea img {
  transform: scale(1) !important;
}

#background670783cdbab3c8001afd91ea .row.flex:hover > article:last-child {
  padding-bottom: 150px;
}

#background670783cdbab3c8001afd91ea .row.flex:hover article {
  width: 90%;
}

#background670783cdbab3c8001afd91ea article:hover .image {
  width: 200%;
  margin-left: -100%;
}

/* PROJECTS inline */
.homepage-project {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.homepage-project a {
  color: #000;
}

.homepage-project * {
  transition: 0.5s;
}

.homepage-project-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.homepage-project-img,
.homepage-project-content img {
  width: 100%;
}

.homepage-project-tag {
  display: flex;
  column-gap: 5px;
  width: 100%;
  font-size: 10px;
  letter-spacing: 5px;
  line-height: 1;
  text-transform: uppercase;
  justify-content: flex-end;
  color: #000;
  height: 20px;
  align-items: center;
}

.homepage-project-tag span {
}

.homepage-project:hover .homepage-project-content {
  width: 90%;
}

.homepage-project-content:hover {
  width: 200% !important;
}

.homepage-project a.homepage-project-content:last-child {
  padding-bottom: 100px;
}

.homepage-project a.homepage-project-content:last-child:hover {
}

/* OUR AREA */
.ourarea-space-block {
  display: flex;
  height: 500px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  align-items: flex-end;
}

.ourarea-space-img {
  flex: 1;
  height: 20%;
  transition: flex 0.5s, height 0.5s;
  overflow: hidden;
  position: relative;
  display: grid;
  align-items: end;
}

.ourarea-space-img:hover {
  height: 100%;
  flex: 7;
}

/*
        .ourarea-space-block :hover .ourarea-space-img:not(:hover) {
            flex: 0.5;
        }
*/
.ourarea-space-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: object-fit 0.5s, transform 0.5s;
}

.ourarea-space-img:hover img {
  object-fit: contain;
  transform: scale(1);
}

@keyframes linear-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.ourarea-space {
  text-align: center;
  text-transform: uppercase;
  padding: 5% 17%;
}

.ourarea-space p {
  white-space: break-spaces;
}

.ourarea-space h2 {
  color: #3f3f3f;
  font-weight: 600;
  margin-bottom: 2%;
}

/* RESPONSIBILITY */
.responsibility-space p {
  text-indent: 30px;
  margin-top: 3%;
  margin-bottom: 5%;
  text-transform: uppercase;
  text-align: justify;
}

.responsibility-space h2 {
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  color: #3f3f3f;
}

.responsibility-space-img1 {
  margin-bottom: 5%;
  margin-top: 5%;
}

.responsibility-space1 {
  text-transform: lowercase;
  font-weight: 600;
  text-align: center;
}

.responsibility-space-text {
  position: sticky;
  top: 110px;
  z-index: 1;
  padding: 0%;
}

.responsibility-space {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 0;
  align-content: space-between;
  min-height: 1500px;
}

.responsibility-space-img {
}

.none-grid {
  display: unset;
  min-height: unset;
}

/* CONTACT */
.contact-space a {
  color: #444;
}

.contact-space {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-transform: uppercase;
  padding: 5% 0%;
}

.contact-space0 p {
  white-space: break-spaces;
  text-align: center;
}

.contact-space0 h2 {
  font-weight: 600;
  text-transform: uppercase;
  color: #3f3f3f;
  text-align: center;
}

.contact-space-img {
  align-self: center;
}

.contact-space-img1 {
  width: 110%;
  margin-left: -5%;
}

.contact-space-text {
  align-self: center;
  padding: 0% 14%;
}

.contact-space1 {
  display: flex;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 10px;
  margin-bottom: 5%;
  margin-top: 5%;
}
.contact-space1-text01 {
  width: 40%;
}
.contact-space1-text02 {
  width: 60%;
}
.contact-space1 p {
  text-align: left;
  white-space: break-spaces;
}

span.contact-space2-close {
  color: transparent;
}

.contact-space2 {
  display: flex;
  width: 100%;
  gap: 10px;
}

.contact-space2-text1 {
  width: 13%;
}

.contact-space2-text2 {
  width: 87%;
}

.contact-space3 p {
  font-weight: 600;
  border-bottom: solid 1px;
  width: fit-content;
  margin: 0 auto;
  font-size: 14px;
}

.contact-space4 {
  text-align: justify;
  margin-top: 8%;
  margin-bottom: 8%;
}

.contact-space4 h3 {
  font-size: 14px;
  font-weight: 600;
  border-bottom: solid 1px;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.contact-space4 p {
  white-space: break-spaces;
  margin-top: 5%;
  margin-bottom: 5%;
}

.contact-space4 h4 {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.contact-space5 p {
  font-weight: 600;
  border-bottom: solid 1px;
  width: fit-content;
  margin: 0 auto;
}

.contact-space5 {
  margin-top: 5%;
}

/* social */
.social-space {
  text-align: center;
  text-transform: uppercase;
  padding: 0% 0% 3%;
}

.social-space h2 {
  color: #3f3f3f;
  font-weight: 600;
}

.social-space {
  text-align: center;
  text-transform: uppercase;
  padding: 0% 0% 3%;
}

.social-space p {
  white-space: break-spaces;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: inherit;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 2.5em;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 26px;
}

p {
  font-size: 14px;
}

/* ส่วนเสริม */
.empty-space {
  padding: 2%;
}

.comingsoonn {
  width: 75%;
  margin: 0 auto;
  margin-bottom: 7%;
  margin-top: 3%;
}

.eapps-widget-toolbar {
  display: none;
}

#ContentmanagerLoading67074e0d235cb9001aaa405b {
  animation-duration: 0s !important;
  opacity: unset !important;
  background: transparent !important;
}

/* รูปรวม */
.row.contenemanager-gallery {
  column-count: 5;
  --webkit-column-count: 5;
  --moz-column-count: 5;
  gap: 0px;
}

/*อัลบั้มในเนื้อหาระบบ jazz*/
.contenemanager-gallery .col-xs-12.col-md-3 {
  padding-left: 0px;
  padding-right: 0px;
  height: auto;
  width: 100%;
}

.Contenemanager-gallery .thumbnail {
  padding: 0px;
  border: 0px solid #fff;
  border-radius: 0px;
  transition: 0.3s;
}

.Contenemanager-gallery .thumbnail:hover {
  transform: scale(1.1);
  transition: 0.3s;
  position: relative !important;
  overflow: hidden !important;
}

.Contenemanager-gallery .thumbnail,
.img-thumbnail {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.075);
  border-radius: 0px;
  transform: scale(1) !important;
}

#Contentmanager img.img-responsive {
  border-radius: 0px;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  transition: 0.5s;
  /*height: 230px;*/
}
/*
#Contentmanager img.img-responsive:hover {
    transform: scale(1.1);
    transition: 0.3s;
    position: relative !important;
    overflow: hidden !important;
}*/

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: transparent;
}

#Contentmanager .thumbnail:hover {
  border-radius: 0px;
}
#Contentmanager .thumbnail {
  background-color: transparent;
  position: relative !important;
  overflow: hidden !important;
  border: 0px solid #ebd2c2;
  padding: 0px;
  border-radius: 0px;
  margin-bottom: 0px;
}

.contenemanager-gallery .thumbnail:hover {
  filter: grayscale(0);
}
.contenemanager-gallery .thumbnail {
  filter: grayscale(1);
}

.img-thumbnail,
.thumbnail {
  box-shadow: 0 0px 0px rgb(0 0 0 / 8%);
}

/* contenemanager */
.social-share {
  display: none;
}

.social-icon {
  border-radius: 5px;
}

.managerHeader {
  font-size: 2.5em;
  padding: 2% 0% 2%;
  text-transform: uppercase;
  text-align: left;
  color: #3f3f3f;
  font-weight: 500;
  display: none;
}

#Contentmanager .post-time {
  font-size: 14px;
  font-weight: 300;
  color: #1e2a27;
  display: none;
}

.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
  color: #282828;
}

.Contentmanager .site .col-section .item.-micro a .caption .title {
  font-size: 16px;
  color: #3f3f3f;
  padding: 0% 0% 0%;
  font-weight: 600;
  line-height: normal;
  height: inherit;
  margin-bottom: 5%;
  text-align: center;
}

/*
.Contentmanager .site .col-section .item.-micro a:hover .caption .time {
  background-color: #7f141a;
   color: #fff;
}*/
.Contentmanager .site .col-section .item.-micro a:hover .caption .time .article-b {
  background-color: #ff4d02;
  color: #fff;
  box-shadow: rgb(0 0 0 / 26%) 0px 5px 15px;
}

.Contentmanager .site .col-section .item.-micro a .caption .time {
  font-size: 14px;
  display: none;
}

article.col-md-6.item.-micro {
  width: 31%;
}

.Contentmanager .site .col-section .item.-micro {
  padding: 0px 0px 0px 0px;
}

.Contentmanager .site .col-section .item.-micro a .image {
  width: 100%;
  margin-bottom: 0px;
  border-radius: 0px;
}

.Contentmanager .site .col-section .item.-micro a .caption {
  width: 100%;
  background: transparent;
  padding: 5% 0% 0%;
}

.Contentmanager .site .col-section .item.-micro:nth-child(odd) {
  border-right: none;
  border-bottom: none;
  margin: 1%;
  background: transparent;
  border: solid 0px #cdcdcd;
  border-radius: 0px;
  padding: 0%;
  transition: 0.5s;
}

.Contentmanager .site .col-section .item.-micro:nth-child(even) {
  border-right: none;
  border-bottom: none;
  margin: 1%;
  background: transparent;
  border: solid 0px #cdcdcd;
  border-radius: 0px;
  padding: 0%;
  transition: 0.5s;
}

.Contentmanager .site .col-section .item.-micro a .post {
  display: none;
}

.fbcomments,
.fbcomments {
  display: none;
}

.nav-template7 li a {
  color: #1c1c1c;
  display: inline-block;
  font-size: 18px !important;
}

.nav-template7 li:hover {
  background-color: #fff7ef;
  text-decoration: none;
}

#contenttype71 {
  font-size: 16px;
  text-align: left;
}

.col-md-12.text-justify {
  padding-right: 5px;
  padding-left: 5px;
}

.Textmanager.font-inherit {
  display: flow-root;
}

.page-header {
  border-bottom: 0px solid #eee;
  margin: 0px !important;
}

#Contentmanager .img-thumbnail {
  border: 0px solid #ddd;
  background: transparent;
}

#Contentmanager .col-md-offset-2 {
  margin-left: 0%;
  padding-right: 0px;
  padding-left: 0px;
  width: 100%;
}

/* 
#Contentmanager .col-md-8 {
    width: 100%;
}*/

/* contenemanager */

/* contenemanager เรื่องที่น่าสนใจ */
.landingpagemanager {
  display: none;
}

.landingpagemanager #relateContentTitle {
  font-size: 26px !important;
  font-weight: 500;
  color: #000;
}

.landingpagemanager .fa-comments:before {
  display: none;
}

.landingpagemanager {
  padding: 0px;
  margin-left: -1%;
  margin-right: -1%;
  margin-top: 30px;
  border-radius: 0px;
  border: solid 0px #eee;
}

.landingpagemanager .nav-template {
  margin-top: 1%;
}

.landingpagemanager li.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5:hover .article-button {
  background-color: #f6a600;
}

.landingpagemanager li.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 {
  width: 25%;
  background: transparent;
  border: 0px solid #e6c806 !important;
  margin: 0px;
  border-radius: 0px;
  display: inline-table;
}

.landingpagemanager .col-md-4.col-sm-4.col-xs-4.padding {
  width: 100%;
  padding: 0% 0 !important;
}

.landingpagemanager .col-md-8.col-sm-8.col-xs-12 {
  width: 100%;
  text-align: center;
  padding: 0% 0% 10%;
}

.landingpagemanager .col-md-8.col-sm-8.col-xs-12 strong {
  font-size: 16px;
  height: 30px;
  display: block;
  margin-top: 5%;
  font-weight: 400;
  text-align: center;
  color: #000;
  margin-bottom: 10%;
}

/*
.landingpagemanager .btn-sm p {
    font-size: 14px ! IMPORTANT;
}
.landingpagemanager .btn-group-sm&amp;amp;amp;amp;amp;amp;gt;.btn, .landingpagemanager .btn-sm {
    font-size: 16px;
}
.landingpagemanager .col-md-8.col-sm-8.col-xs-12 p {
    background: #e6c806;
    color: #000;
    border: none;
    font-size: 0.9em;
    padding: 6px 20px;
    font-weight: 600;
    border-radius: 50px;
    display: block;
    margin: 5% auto 0;
    transition: 0.5s;
    width: max-content;
}
.landingpagemanager .col-md-8.col-sm-8.col-xs-12:hover p  {
    background: #708c37;
    color: #fff;
}
*/
.landingpagemanager .img-container {
  padding-bottom: 75%;
  display: block;
  overflow: hidden;
  border-radius: 0px;
}

.landingpagemanager .img-container .img {
  transition: 0.35s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.landingpagemanager .img-container .img:hover {
  -webkit-transform: scale3d(1.05, 1.05, 1);
  transform: scale3d(1.05, 1.05, 1);
  transition: 0.35s;
}

.landingpagemanager .article-t {
  font-size: 14px;
  text-align: left;
}

.landingpagemanager .article-b {
  font-size: 14px;
}

.landingpagemanager .btn-sm p {
  display: none;
}

/*
.PitCustomClass2 {
    width: 70%;
}
.PitCustomClass4 {
    width: 30%;
    height: -webkit-fill-available;
}
.PitCustomClass1 {
    display: flex;
    gap: 30px;
}
*/

/* contenemanager เรื่องที่น่าสนใจ */

/* tab */

#Contentmanager .nav-pills > li.active > a,
#Contentmanager .nav-pills > li.active > a:focus,
#Contentmanager .nav-pills > li.active > a:hover {
  color: #3f3f3f;
  background: transparent;
  border-bottom: solid 1px #444;
  border-radius: 0px;
}

#Contentmanager .nav > li > a:focus,
#Contentmanager .nav > li > a:hover {
  color: #868686;
  background-color: transparent;
  border-bottom: solid 1px #868686;
  border-radius: 0px;
}

#Contentmanager .nav-justified {
  text-align: center;
  color: #3f3f3f;
  background-color: transparent;
  border: solid 0px transparent;
  font-weight: 400;
  font-size: 16px;
}

#Contentmanager .nav-justified > li > a {
  color: #3f3f3f;
}

#Contentmanager .nav-justified > li > a span {
  font-size: 16px !important;
}

#Contentmanager .nav-justified > li {
  display: inline-table !important;
}

/*
#Contentmanager .nav-justified {
    width: 95%;
    margin: 0 auto;
}
*/

/* teb */

#car .nav-pills > li.active > a,
#car .nav-pills > li.active > a:focus,
#car .nav-pills > li.active > a:hover {
  color: #3f3f3f;
  background: transparent;
  border-bottom: solid 0px #868686;
  border-radius: 0px;
}

#car .nav > li > a:focus,
#car .nav > li > a:hover {
  color: #868686;
  background-color: transparent;
  border-bottom: solid 0px #868686;
  border-radius: 0px;
}

#car .nav-justified {
  text-align: center;
  color: #3f3f3f;
  background-color: transparent;
  border: solid 0px transparent;
  font-weight: 400;
  font-size: 16px;
  border-radius: 0px;
  display: flex;
  justify-content: end;
  width: 85%;
}

#car .nav-justified > li > a {
  color: #3f3f3f;
}

#car .nav-justified > li > a span {
  font-size: 16px !important;
}

#car .nav-justified > li {
  display: inline-table !important;
}

/* teb 1 */

#car1 .nav-pills > li.active > a,
#car1 .nav-pills > li.active > a:focus,
#car1 .nav-pills > li.active > a:hover {
  color: #3f3f3f;
  background: transparent;
  border-bottom: solid 0px #868686;
  border-radius: 0px;
}

#car1 .nav > li > a:focus,
#car1 .nav > li > a:hover {
  color: #868686;
  background-color: transparent;
  border-bottom: solid 0px #868686;
  border-radius: 0px;
}

#car1 .nav-justified {
  text-align: center;
  color: #3f3f3f;
  background-color: transparent;
  border: solid 0px transparent;
  font-weight: 400;
  font-size: 16px;
  border-radius: 0px;
  display: flex;
  justify-content: end;
  width: 85%;
}

#car1 .nav-justified > li > a {
  color: #3f3f3f;
}

#car1 .nav-justified > li > a span {
  font-size: 16px !important;
}

#car1 .nav-justified > li {
  display: inline-table !important;
}

/* arrow */

span.glyphicon.glyphicon-chevron-left {
  font-size: 16px;
}

span.glyphicon.glyphicon-chevron-right {
  font-size: 16px;
}

/* Contentmanager article */

.articles-detail {
  margin-top: 4%;
  margin-bottom: 4%;
}

#background67078bbc606650001a20e758 article.col-md-6.item.-micro {
  width: 70%;
}

#background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro a .image {
  width: 30%;
}

#background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro a .caption {
  width: 70%;
  padding: 0% 5% 0% 3%;
  text-transform: uppercase;
}

#background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro a .caption .time {
  display: block;
}

#background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro a .caption .title {
  display: none;
}

#background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro:nth-child(odd) {
  padding: 0% 0% 2% 0%;
  border-bottom: solid 1px #e8e6e8;
}

#background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro:nth-child(even) {
  padding: 0% 0% 2% 0%;
  border-bottom: solid 1px #e8e6e8;
}

/* PROJECTS */
#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(4) {
  margin-top: -9.5% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(5) {
  margin-top: -17% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(6) {
  margin-top: -1% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(7) {
  margin-top: -13% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(8) {
  margin-top: -30.5% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(9) {
  margin-top: -1% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(10) {
  margin-top: -11.5% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(11) {
  margin-top: -33% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(12) {
  margin-top: -1% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(13) {
  margin-top: -3% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(14) {
  margin-top: -4.5% !important;
}

#background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(15) {
  margin-top: -1% !important;
}

/**************************************************************/

/*
.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.img-responsive,
.thumbnail a>img,
.thumbnail>img {
    display: block;
    max-width: 100%;
    height: 550px !important;
  
} 
*/

.carousel-inner > .item .thumbnail img {
  height: 700px;
}

/* รูปขยายใหญ่ */
.fancybox-opened .fancybox-skin {
  -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
}
.fancybox-skin {
  background: transparent;
}
.fancybox-close {
  position: fixed;
  top: 0.5%;
  right: 1%;
}
.fancybox-nav {
  position: fixed;
  visibility: visible;
}
.fancybox-nav span {
  position: fixed;
  right: 1.2% !important;
  visibility: visible;
}

/* Contentmanager ใหม่ */

#Contentmanager h3.title {
  text-align: center;
  color: #000;
}

/* ส่วนเสริมเพิ่ม */

.eapps-widget-toolbar {
  display: none;
}

marquee img {
  width: 200px !important;
}

.tab-content ul.nav-pills {
}

.tab-content ul.nav-pills::before,
.tab-content ul.nav-pills::after {
  display: none;
}

#car .tab-content ul.nav-pills > li {
  display: -webkit-inline-box !important;
  width: fit-content;
}

.tab-content ul.nav-pills > li:not(:last-of-type):after {
  content: "/";
  display: grid;
  place-content: center;
  font-size: 16px;
  color: #3f3f3f;
}

@media screen and (min-width: 1900px) {
  .home-space-image1 {
    width: 112%;
    margin-left: -10%;
    margin-top: -4%;
  }

  .articles-detail {
    margin-top: 6%;
    margin-bottom: 6%;
  }

  .homepage-project-tag {
    font-size: 14px;
  }

  /*
.Contentmanager .site .col-section .item.-micro a .caption .title {
    font-size: 18px;
}  
.articles-time {
    font-size: 16px;
}
.articles-more {
    font-size: 16px;
}
.articles-detail {
    font-size: 16px;
} 
.contact-space3 p {
    font-size: 16px;
}
.contact-space4 h3 {
    font-size: 16px;
}
    
  
h2 {
    font-size: 3.5em;
} 
p {
    font-size: 16px;
}
*/
}

@media screen and (max-width: 1191px) {
  .contact-space-text {
    padding: 0% 7%;
  }
}

@media screen and (max-width: 900px) {
  .home-space-image1 {
    width: 100%;
    margin-left: 0%;
  }

  .ourarea-space {
    padding: 5% 0%;
  }

  .responsibility-space {
    grid-template-columns: repeat(1, 1fr);
  }

  .responsibility-space-img {
    display: flex;
    gap: 10px;
  }

  .contact-space-text {
    padding: 0% 0%;
  }

  .contact-space1 p {
    font-size: 13px;
  }

  .contact-space2-text1 {
    width: 17%;
  }

  .contact-space1 {
    gap: 0px;
  }

  .homepage-project:hover .homepage-project-content {
    width: 100%;
  }

  .homepage-project-content:hover {
    width: 100% !important;
  }
}

@media screen and (max-width: 480px) {
  .grid-slide {
    display: grid;
    grid-template-columns: 25% auto 25% !important;
  }

  .responsibility-space {
    align-self: start;
  }

  .homepage-project-content {
    display: flex;
    gap: 5px;
  }

  #background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro a .image {
    width: 100%;
  }

  #background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro a .caption {
    width: 100%;
    padding: 5% 5% 0% 3%;
  }

  #background67078bbc606650001a20e758 article.col-md-6.item.-micro {
    width: 47%;
  }

  #background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro:nth-child(odd) {
    margin: 1%;
  }

  #background67078bbc606650001a20e758 .Contentmanager .site .col-section .item.-micro:nth-child(even) {
    margin: 1%;
  }

  .articles-detail {
    font-size: 10px;
  }

  .articles-time {
    font-size: 12px;
  }

  .articles-more {
    font-size: 12px;
  }

  .Contentmanager .site .col-section .item.-micro:nth-child(odd) {
    margin: 5%;
  }

  .Contentmanager .site .col-section .item.-micro:nth-child(even) {
    margin: 5%;
  }

  .contact-space {
    grid-template-columns: repeat(1, 1fr);
  }

  .contact-space-img1 {
    width: 100%;
    margin-left: 0%;
  }

  .contact-space1 p {
    font-size: 14px;
  }

  .contact-space2-text1 {
    width: 19%;
  }

  .nav-justified {
    display: -webkit-inline-box !important;
    overflow: scroll;
  }

  article.col-md-6.item.-micro {
    width: 100%;
  }

  #Contentmanager .nav-justified > li {
    display: block !important;
  }

  .ourarea-space-blockk {
    height: 200px;
  }

  #car .nav-justified {
    width: 100%;
  }

  #car1 .nav-justified {
    width: 100%;
  }

  #car .nav-justified > li {
    display: block !important;
  }

  .responsibility-space {
    min-height: unset;
  }

  #background67074e0d235cb9001aaa405b article.col-md-6.item.-micro:nth-child(n + 4) {
    margin-top: 0% !important;
  }
  .home-coming {
    width: 100%;
  }
  .ourarea-space-block {
    height: 160px;
  }
  .staggered-grid {
    padding: 0px;
  }

  /*
.carousel-inner>.item .thumbnail img {
    height: 150px;
}*/
  .carousel-inner > .item .thumbnail img {
    height: 210px;
  }

  /*
.contenemanager-gallery .col-xs-12.col-md-3 {
    width: 50%;
}
#Contentmanager img.img-responsive {
    height: 180px;
}  
  
 */

  .row.contenemanager-gallery {
    column-count: 2;
    --webkit-column-count: 2;
    --moz-column-count: 2;
    gap: 0px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -40px;
  }
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -40px;
  }

  .itopplus-sidebar-main {
    width: 60% !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h1 {
    font-size: 16px !important;
  }

  p {
    font-size: 12px !important;
  }

  h3 {
    font-size: 12px !important;
  }

  #Component670f4b24d66cf600132431c1 {
    position: relative;
    z-index: -1;
  }

  #eapps-instagram-feed-1 {
    width: 100%;
    background: #000;
    overflow: hidden;
    height: 420px;
  }
}

.fancybox-prev span,
.fancybox-next span,
.fancybox-close {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 50px;
  width: 30px;
  filter: invert(1);
}

.fancybox-prev span {
  background-image: url(https://itp1.itopfile.com/ImageServer/z_itp_190820242tox/0/0/prevz-z210187394797.webp);
}

.fancybox-next span {
  background-image: url(https://itp1.itopfile.com/ImageServer/z_itp_190820242tox/0/0/nextz-z816794684805.webp);
}

.fancybox-close {
  background-image: url(https://itp1.itopfile.com/ImageServer/z_itp_190820242tox/0/0/closez-z1547067152649.webp);
  height: 20px !important;
  width: 20px !important;
  top: 1vw;
  right: 2vw;
}
.aside-backdrop.am-fade,
.modal-backdrop.am-fade {
  background: rgb(255 255 255 / 50%) !important ;
}
.txtdate {
  font-size: 12px;
  color: #878787;
  text-transform: uppercase;
  padding-top: 2%;
}
.txthead {
  font-size: 20px;
  color: #000;
  text-transform: uppercase;
  font-weight: 800;
}
.txtdetail1 {
  font-size: 15px;
  color: #757373;
  text-align: justify;
  font-weight: 500;
  text-transform: uppercase;
}
.txtdetail2 {
  font-size: 15px;
  color: #000;
  text-align: justify;
  text-transform: uppercase;
}

#background670783b0606650001a20e4d7 .none-middle-mid .clearfix {
  display: none;
}

.staggered-card-grid > .caption {
  display: grid;
  place-items: center;
  min-height: 30px;
  margin: 15px 0;
}

.staggered-sub-grid {
  padding-bottom: 0;
}

.pagination li a {
  color: #000;
  border-color: transparent;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  color: #000;
  background-color: transparent;
  border-color: transparent;
  font-weight: 900;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  color: #000;
  background-color: transparent;
  border-color: transparent;
  font-weight: 900;
}

.pagination li:nth-child(1),
.pagination li:nth-child(2),
.pagination li:nth-last-child(1),
.pagination li:nth-last-child(2) {
  visibility: hidden;
}


