/* photo */
.section-photo {
  margin: 4rem 0;
}
.section-photo .row {
  margin: 0 -4rem;
}
.section-photo .row .col {
  padding: 0 4rem;
}
.section-photo .block-photo {
  margin-bottom: 2em;
}
.section-photo .block-photo .block-image {
  width: 100%;
  height: 18.75rem;
  overflow: hidden;
}
.section-photo .block-photo .block-image .material-placeholder {
  width: 100%;
  height: 100%;
}
.section-photo .block-photo .block-image .materialboxed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-photo .block-button {
  text-align: center;
  padding: 1em;
}
.section-photo .block-photo.block-video .block-image .materialboxed {
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}
.section-photo .block-photo.block-video:hover .block-image .materialboxed,
.section-photo .block-photo.block-video:focus .block-image .materialboxed {
  transform: scale(1.2);
  transition: all .5s;
}
.section-photo .block-photo.block-video .block-image .icon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 3.125em;
  width: 3.125em;
  z-index: 3;
}

/* Modal */
.modal-video {
  /* width: 60%; */
  top: 50% !important;
  transform: translateY(-50%) !important;
  background-color: transparent;
  max-height: fit-content;
}
.modal-overlay {
  opacity: 0.8 !important;
}

/* download button */
/* .downloadbtn{
    margin-top:1.5625rem;
    margin-left: 7.5rem;
}
.downloadicon{
    width: 0.9375rem;
    height: 0.9375rem;
    margin-right: 0.3125rem;
} */

/* video */
  .block-thumnail{
    position: relative;
  }
  .blackbackground{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    background-color: black;
    z-index: 2;
}
.playicon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 3.125rem;
    width: 3.125rem;
    z-index: 3;
}
/*science museum underline*/
.underline-box{
  width: 3.125rem;
  height: 0rem;
  border: #135EA8 0.1875rem solid;
  margin-top: -0.9375rem;
}
/*science museum*/

.introduction-content-head{
  color: #1267B4;
}
.introduction-content-word{
  /* margin-top: 2.5rem;
  margin-bottom: 2.5rem; */
  margin: 1.875rem 0;
}
.introduction-content-photo img{
  width: 100%;
}

.grid-content-photo img{
  width: 100%;
  float: left;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  
  html, body {
    font-size: 12px;
  }
  .share-point-bims-page .topic-underline{
    font-size: 1.833rem;
    margin-bottom: 1rem;
  }
  .share-point-bims-page .section-report .report-item .report-title{
    font-size: 1.125rem;
  }
  .share-point-bims-page .section-photo .block-photo .block-image{
    height: 8.75rem;
  }
  .share-point-bims-page .section-photo .block-photo.block-video .block-image .icon-play{
    height: 1.6em;
    width: 1.6em;
  }
  .share-point-bims-page .section-photo .row{
    margin: 3rem -1rem;
  }
  .share-point-bims-page .section-photo .row .col{
    padding: 0rem 1rem;
  }
  .page-slider .slides{
    height: 100% !important;
  }
  .page-slider{
    height: 300px !important;
  }
  .page-slider ul.slides .page-title{
    font-size: 2rem;
  }
  .page-slider ul.slides .page-subtitle{
    font-size: 1rem;
    line-height: normal;
  }
  .page-slider ul.slides .page-subtitle br{
    display: none;
  }
  .page-slider .slides li .caption{
    top: 14%;
    left: 6%;
  }
  .carousel-them.carousel.carousel-slider, 
  .carousel-them.carousel.carousel-slider .carousel-item{
    min-height: unset;
  }
  .royal-card h2{
    font-size: 1.5rem;
  }
  .royal-card p{
    font-size: 1rem;
  }
  .royal-container .royal-card .text{
    margin: 0 auto;
  }
  .faq-announce{
    margin-top: 8.33rem;
    font-size: 1rem;
  }
  .contact-us-page .contact-us-container .content h2{
    font-size: 1.5rem;
  }
  .contact-us-page .contact-us-container .content p{
    font-size: 1.16rem;
  }
  .contact-us-page .contact-us-container .topic-underline{
    font-size: 1.5rem;
    margin: 3.5rem 0 3rem;
  }
  .contact-us-page .contact-us-container .text-box{
    padding: 1rem;
  }
  .contact-us-page .contact-us-container .bg-img{
    padding: 1.5rem;
  }
  .green-office-page .topic-underline{
    font-size: 1.833rem;
    margin-bottom: 1rem;
  }
  .green-office-page .section-photo .block-photo .block-image{
    height: 8.75rem;
  }
  .green-office-page .section-photo .row{
    margin: 3rem -1rem;
  }
  .green-office-page .section-photo .row .col{
    padding: 0rem 1rem;
  }
  .knowledge-management-page .topic-underline{
    font-size: 1.833rem;
    margin-bottom: 1rem;
  }
  .bims-photo-page .topic-underline{
    font-size: 1.833rem;
    margin-bottom: 1rem;
  }
  .bims-photo-page .section-report .report-item .report-title{
    font-size: 1.125rem;
  }
  .bims-photo-page .section-photo .block-photo .block-image{
    height: 8.75rem;
  }
  .bims-photo-page .section-photo .block-photo.block-video .block-image .icon-play{
    height: 1.6em;
    width: 1.6em;
  }
  .bims-photo-page .section-photo .row{
    margin: 3rem -1rem;
  }
  .bims-photo-page .section-photo .row .col{
    padding: 0rem 1rem;
  }
  .page-them .page-content .card-content{
    padding: 2rem;
  }
}

/* medium devices (ipad, 601px to 992px) */
@media only screen and (min-width: 601px) and (max-width: 992px) {
  .philosophy-vision-mission-page .page-slider ul.slides .page-title{
    font-size: 2.375rem;
  }
  .philosophy-vision-mission-page .page-slider ul.slides .page-subtitle{
    font-size: 1.25rem;
    line-height: 2.125rem;
  }
  .page-them .page-content .page-title{
    font-size: 3.375rem !important;
  }
  .history-page .card-content .them-text{
    font-size: 1.15rem !important;
  }
  .royal-words-page .display-flex{
    flex-direction: column;
  }
  .royal-words-page .royal-card .text-container{
    margin-top: 45px;
  }
  .royal-words-page .royal-card .text-container h3{
    font-size: 1.25rem;
  }
  .royal-words-page .royal-card .text-container p{
    font-size: 1.15rem !important;
    margin-bottom: 1rem !important;
  }
  .strategic-plan-page .truncate-1{
    -webkit-line-clamp: 2;
    font-size: 0.68em;
  }
  .frequently-asked-questions-page .display-flex {
    flex-direction: row;
  }
  .frequently-asked-questions-page .collapsible-header h4, .faq-announce{
    font-size: 1.25rem;
  }
  .faq-container .collapsible-body p{
    margin-bottom: 15px;
    font-size: 1.15rem;
  }
  .special-event-page .row .col.m6{
    margin-bottom: 20px;
  }
  .card-specail .card-content .card-title{
    font-size: 1.25rem !important;
    height: 3.5rem !important;
  }
  .card-specail .card-content .card-brief{
    margin: 0.8rem 0 !important;
    font-size: 1rem !important;
    height: 6.7rem !important;
  }
  .special-event-page .card-specail-word, .special-event-page .card-specail-word h3{
    font-size: 1.25rem !important;
  }
  .booklet-page .truncate-1{
    font-size: 0.68em;
  }
  .tourist-attractions-standard-page .card-content p{
    font-size: 1.15rem !important;
  }
  .search-page .card-search .card-content h3{
    font-size: 1.25rem;
  }
  .search-page .card-search .card-content .card-brief{
    font-size: 1rem;
  }
  .center-align-search{
    font-size: 1.5rem !important;
  }
  .page-them .page-content .card-content{
    padding: 2rem;
  }
}