@media screen and (min-width: 320px) {
  .search-control2 {
    display: block;
  }
  .detail-work h5 {
    /*padding-left: 10px;*/
    font-size: 18px;
  }
  .detail-work p {
    padding-left: 10px;
    font-size: 13px;
  }
  /*	.block-work{
            height: auto;
        }
        .block-work img{
            height: 170px !important;
        }*/
  .explore-content-m {
    padding: 0;
  }
  .explore-content-m img {
    height: auto;
  }
  .explore-content p {
    font-size: 12px;
  }
  .explore-content h5 {
    font-size: 16px;
    line-height: 18px;
  }
  .about-img {
    width: 100%;
  }
  .people-img {
    width: 100%;
  }
  /*.explore-menu{
		display: none;
	}*/
  .ban {
    width: 320px;
    height: 100%;
  }
  .box-ban {
    width: 320px;
    height: 100%;
  }
  .logo-ban {
    top: 45%;
    left: 25%;
    width: 50%;
    transform: translate(0%, 0%);
  }
  .image {
    width: 100%;
    height: 100%;
  }
  .explore-content {
    /* padding: 0 20px 0 20px; */
  }
}
@media screen and (max-width: 360px) {
  /* .block-work{
		height: 160px !important;
	} */
  /* .block-content-w{
		padding: 0 !important;
	} */
  .block-body-w {
    padding: 0;
  }
}
@media screen and (min-width: 360px) {
  .ban {
    width: 360px;
    height: 100%;
  }
  .box-ban {
    width: 360px;
    height: 100%;
  }
  .logo-ban {
    top: 50%;
    left: 30%;
    width: 35%;
    transform: translate(0%, 0%);
  }
  .image {
    height: 100%;
  }

  .explore-content-m {
    padding: 0;
  }
  /*.explore-menu{
		display: none;
	}*/
  .explore-content-m img {
    width: 100%;
    height: auto;
  }
  .select-menu {
    display: block;
  }
  /*page work demo*/
  /*	.block-work{
            width: 320px;
        }
        .block-work:hover{
            width: 320px;
        }
        .block-work img{
            width: 100%;
        }*/
  .detail-work h5 {
    /*padding-left: 15px;*/
    font-size: 20px;
  }
  .detail-work p {
    padding-left: 15px;
    font-size: 16px;
  }
  .search-control2 {
    display: block;
  }
  /*.explore-menu{
		display: none;
	}
	.explore-menu .active{
		display: none;
	}*/
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-width: 450px) {
  /* .block-work{
		height: 220px !important;
	} */
  /* .block-content-w{
		padding: 0 !important;
	} */
  .block-body-w {
    padding: 0;
  }
}
@media screen and (min-width: 450px) {
  .ban {
    width: 450px;
    height: 100%;
  }
  .box-ban {
    width: 450px;
    height: 100%;
  }
  .logo-ban {
    top: 50%;
    left: 30%;
    width: 35%;
    transform: translate(0%, 0%);
  }
  .image {
    height: 100%;
  }

  /*    .overlay a {
            font-size: 45px;
            line-height: 35px;
        }*/
  .sub-menu a {
    font-size: 25px;
    line-height: 18px;
  }
  /*	.block-work img{
            width: 100%;
            height: 350px;
            margin-bottom: -5px;
            padding: 0 20px 0 20px;
        }
        .block-work img:hover{
            width: 100%;
            height: 350px;
        }*/
  .detail-work h5 {
    padding-left: 5px;
    font-size: 18px;
    margin-top: -10px;
  }
  .detail-work p {
    padding-left: 5px;
    font-size: 13px;
    margin-bottom: 15px;
    margin-top: -30px;
  }

  .explore-content-m img {
    width: 100%;
    height: auto;
  }
  .explore-content-m {
    padding: 0;
  }
  .explore-content h5 {
    font-size: 18px;
  }
  .explore-content p {
    font-size: 13px;
    margin-bottom: -5px;
  }
  .search-control2 {
    display: block;
  }
  .activities-view-text h5 {
    text-align: left;
    /*padding: 0;*/
    margin-left: 0;
    padding-top: 50px;
  }
  /*.explore-menu{
		display: none;
	}*/
  /*.overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }*/
}

/*@media screen and (max-height: 450px) {*/

/*.overlay a {
    font-size: 20px;
}*/
/*.overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
}*/
/*}*/
.headText h5 {
  padding: 50px 0 0 0;
  font-size: 30px;
  line-height: 25px;
  margin-top: 5%;
  margin-bottom: 0;
}
.padding-right-0 {
  padding-right: 0;
}
.padding-left-0 {
  padding-left: 0;
}
th {
  text-align: left;
  font-weight: bold;
}
.tb-head {
  background-color: #eeede8;
  font-weight: bold;
}
.img-w-thumb {
  width: 100%;
}
.w-thumb {
  margin: 0;
}

.w-thumb [class*="col-"] {
  padding: 0px;
}
@media all and (min-width: 480px) {
  .container {
    padding: 0px 24px 0px 24px;
  }
  .footer {
    padding: 24px 0 24px 0;
  }
  .logo-index {
    width: 14%;
    height: auto;
  }
  .pad-for-desktop {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media only screen and (max-width: 720px) {
  /* .block-work{
		height: 290px !important;
	} */
  /* .block-content-w{
		padding: 0 10px 0 10px !important;
	} */
  .block-body-w {
    padding: 0;
  }
  .text1 {
    margin-bottom: 0px;
    margin-left: 0px;
    float: left;
    margin-top: -10px;
  }
}
@media screen and (min-width: 720px) {
  .ban {
    width: 720px;
    height: 100%;
  }
  .box-ban {
    width: 720px;
    height: 100%;
  }
  .logo-ban {
    top: 45%;
    left: 35%;
    width: 30%;
    transform: translate(0%, 0%);
  }
  .container {
    padding: 0px 20px 0px 20px;
  }
  .footer {
    padding: 30px 0 30px 0;
  }
  .search-control2 {
    display: block;
  }
  /*  .explore-menu{
		display: none;
	}*/
  .explore-content-m {
    padding: 0 160px 0 0;
  }
  .explore-content-m img {
    width: 100%;
    height: 356px;
  }
  /* .block-content-w{
		padding: 0 ;
	} */
  .block-body-w {
    padding: 0;
  }

  /* 	.overlay a {
    font-size: 72px;
    line-height: 54px;
    } */
}

@media only screen and (max-width: 768px) {
  /*.text1{
		margin-bottom:0px; margin-left: -400%; float: left; margin-top: -100px;
	}*/
  .search-control2 {
    display: block !important;
  }
  .explore-menu {
    display: none !important;
  }
  /* .block-work{
		height: 220px !important;
	} */
  .block-content-w {
    padding: 0 !important;
  }
  .block-body-w {
    padding: 0;
  }
}

@media screen and (min-width: 1024px) {
  .ban {
    width: 1024px;
    height: 100%;
  }
  .box-ban {
    width: 1024px;
    height: 100%;
  }
  .logo-ban {
    top: 45%;
    left: 45%;
    width: 15%;
    transform: translate(0%, 0%);
  }
}
@media screen and (min-width: 991px) {
  .explore-content-m img {
    width: 100%;
    height: auto;
  }
}
@media all and (max-width: 991px) {
  input.form-control.search {
    display: inline-block;
    width: 100%;
    font-size: 12px;
    margin: 5px 0;
    padding-right: 15px;
  }
  .padding-right-0 {
    padding-right: 15px;
  }
}
.contact-address {
  max-width: 350px;
  text-align: center;
  margin: 0 auto;
}
#map {
  width: 100%;
  height: 300px;
  background-color: #ccc;
  margin-bottom: 50px;
}
.career-text {
  margin: 0 40px;
}
.activities-row-1 {
  margin: 30px 0 0 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #999;
}
.activities-row-1 div[class*="col-"] {
  padding: 0px 0px;
  /*position:relative;*/
}
.box-a-img {
  margin: 5px 5px;
  position: relative;
  /*width: 100%;*/
  padding-top: 100%;
}
.box-a2-img {
  margin: 5px 5px;
  position: relative;
  width: 100%;
  padding-top: 100%;
}
.activities-row-2 {
  margin: 0;
  padding: 15px 0 0 0;
}

.activities-row-2 div[class*="col-"] {
  padding: 0px 0px;
}
.activities-view-text {
  max-width: 800px;
  margin: 0;
  text-align: center;
  /*margin-top: 50px;*/
}
.activities-view-text h5 {
  text-align: left;
  /*padding: 0;*/
  /*margin-left: -4%;*/
  padding-top: 50px;
}
.activities-view-text p {
  text-align: left;
  /*padding: 0;*/
  /*margin-left: -5%;*/
  margin-top: -30px;
}
.about-text {
  max-width: 800px;
  margin: 0 auto;
}
.about-img {
  max-width: 1200px;
  /*width: 100%;*/
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 50px;
}
.philo-img1 {
  display: none;
}
/* .block-work{
	height: 414px ;
} */
/* .block-content-w{
	padding: 0;
} */
.block-body-w {
  padding: 0;
}

/*.explore-content img{
		width: 520px;
		height: auto;
	}*/
@media all and (max-width: 991px) {
  .philo-img1 {
    display: block;
  }
  .philo-img2 {
    display: none;
  }
}
.people-text {
  max-width: 800px;
  margin: 0 auto;
}

.hoverImage {
  overflow: hidden;
}
.hoverImage:hover {
  cursor: pointer;
}
.hoverImage:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* -----------Work hover */
.img-w-thumb {
  opacity: 1;
  display: block;
  width: 100%;
  transition: 0.5s ease;
  backface-visibility: visible;
}
.img-w-text {
  transition: 0.5s ease;
  height: 100%;
  width: 100%;
  background-color: #aba683;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
}
.img-w-name {
  color: #fff;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/* -----------Activities hover */
.a-hoverImage {
  overflow: hidden;
}
.a-hoverImage:hover {
  cursor: pointer;
}
.img-a-thumb {
  opacity: 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.img-a2-thumb {
  opacity: 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  /*width: 100%;*/
}
.img-a-text {
  transition: 0.5s ease;
  height: 50%;
  width: 100%;
  background-color: #989898;
  position: absolute;
  top: 50%;
  left: 0px;
  opacity: 0.9;
  overflow: hidden;
}
.img-a2-text {
  transition: 0.5s ease;
  height: 50%;
  width: 100%;
  background-color: #989898;
  position: absolute;
  top: 50%;
  left: 0px;
  opacity: 0.9;
  overflow: hidden;
}
.img-a-name p {
  margin: 0;
}
.img-a2-name p {
  margin: 0;
}
.img-a-name {
  width: 90%;
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.img-a2-name {
  width: 90%;
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.workPage {
  max-width: 1500px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
.div-map-work {
  font-size: 12px;
  line-height: 12px;
}
.dot-map {
  width: 8px;
  cursor: pointer;
  position: relative;
  z-index: 9;
}
.div-text {
  cursor: context-menu;
  position: relative;
  background-color: #fff;
}
.w-map-textBox {
  font-size: 12px;
  z-index: 999;
  padding: 20px;
  position: absolute;
  top: 220px;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  /*max-height:700px;*/
  /*background: rgb(171, 166, 131); */ /* Fallback for older browsers without RGBA-support */
  /* background: rgba(171, 166, 131, 0.7); */
  background: var(--second-color);
  background: rgba(243, 240, 230, 0.7);
}
.people-name {
  font-weight: 500;
  margin: 0;
  padding-top: 10px;
}
.people-position {
  font-size: 12px;
}
.contact-input {
  color: #000000;
  width: 100%;
  height: auto;
  padding: 0.7rem 1rem;
  border: none;
  background: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: none;
  font-size: 0.875rem;
  -webkit-transition: all 0.2s ease-in 0s;
  transition: all 0.2s ease-in 0s;
}
select.search-control {
  -webkit-appearance: none; /* Safari and Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none'><path d='M4 10.127L12 18.127L20 10.127H4Z' fill='grey'/></svg>")
    no-repeat;
  background-size: 12px;
  background-position: calc(100% - 20px) center;
  background-repeat: no-repeat;
}
.search-control {
  /*margin: 5px 0;*/
  display: block;
  width: 100%;
  height: 45px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 0px solid #ccc;
  /* border-radius: 4px; */
  /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); */
  /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); */
  /* -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; */
  /*-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
  /*transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
}
.search-control2 {
  /*margin: 5px 0;*/
  display: none;
  width: 100%;
  height: 45px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 0px solid #ccc;
  /* border-radius: 4px; */
  /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); */
  /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); */
  /* -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; */
  /*-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
  /*transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
}
input.search-control.search {
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  display: inline;
  font-size: 14px;
  height: 45px;
  padding: 5px 0;
  /*width: 140px;*/
}
.searchBox {
  width: 100%;
  padding: 0px 0;
  /*height: 45px;*/
  /* border-bottom: 1px solid #ccc; */
  /* border-top: 1px solid #ccc; */
}
.form-control.inline {
  /*font-size: 12px;*/
  margin: 5px 0;
}
input.form-control.search {
  display: inline;
  font-size: 12px;
  margin: 5px 0;
  max-width: 140px;
}
.m-viewWork {
  float: right;
  padding-top: 10px;
  font-size: 12px;
  margin: 9px 2px 9px 0;
}
.m-viewWork a span {
  font-size: 17px;
  color: #ccc;
  margin: 0 5px;
}
.m-viewWork a span.active {
  color: #000;
}
.search-border-right {
  border-right: 1px solid #ccc;
}
@media all and (max-width: 991px) {
  .search-border-right {
    border-right: none;
  }
  .w-map-textBox {
    top: 450px;
    width: 320px;
    margin-left: -160px;
    /*max-height:700px;*/
  }
}
@media all and (max-width: 991px) {
  .portfolio-nav-prev {
    left: 1%;
  }
  .portfolio-nav-next {
    right: 1%;
  }
  .portfolio-nav-container .project-title {
    width: 130px;
  }
  .pj-name {
    width: 110px;
  }
  .pj-i-button {
    width: 20px;
  }
}
@media only screen and (min-width: 768px) {
  .block-content-w:nth-child(1) {
    padding-right: 5px !important;
  }
  .block-content-w:nth-child(2) {
    padding: 0 5px !important;
  }
  .block-content-w:nth-child(3) {
    padding-left: 5px !important;
  }
}
.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-table {
    display: table !important;
  }
  .d-sm-table-row {
    display: table-row !important;
  }
  .d-sm-table-cell {
    display: table-cell !important;
  }
  .d-sm-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-table {
    display: table !important;
  }
  .d-md-table-row {
    display: table-row !important;
  }
  .d-md-table-cell {
    display: table-cell !important;
  }
  .d-md-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-md-inline-flex {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-table {
    display: table !important;
  }
  .d-lg-table-row {
    display: table-row !important;
  }
  .d-lg-table-cell {
    display: table-cell !important;
  }
  .d-lg-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-table {
    display: table !important;
  }
  .d-xl-table-row {
    display: table-row !important;
  }
  .d-xl-table-cell {
    display: table-cell !important;
  }
  .d-xl-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}
