@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html, body {
    margin: 0;
    /* height: 100%; */
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    color: #4e4e4e;
}
.text-blue{
    color: #214997;
    font-weight: bold;

}
.text-theme-1 {
  color: #9EA1D4;
}

.text-theme-2 {
  color: #FD8A8A;
}

.bg-theme-1 {
  background-color: #9EA1D4;
}

.bg-theme-2 {
  background-color: #FD8A8A;
}
.bg-theme-3 {
    background-color: #f5f5f5;
  }

.border-theme-1 {
  border-color: #9EA1D4;
}

.border-theme-2 {
  border-color: #FD8A8A;
}
.bg-theme-3:hover{
    background-color: #ff8f44;
    color: #fff;
}
.bg-theme-3 a.active{
    background-color: #ff8f44;
    color: #fff;
}
.bg-theme-3:not(.collapsed) {
	color: #fff;
	background-color: #ff8f44;
	box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 #ff8f44;
}
.nav-pills .nav-link {
    background: 0 0;
    border: 0;
    border-radius: var(--bs-nav-pills-border-radius);
    color: #000;
    background-color: #f5f5f5;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: var(--bs-nav-pills-link-active-color);
	background-color: #ff8f44;
}
/* menu */
.arrow-down {
	width: 0;
	height: 0;
	border-left: 1.5625rem solid transparent;
	border-right: 1.5625rem solid transparent;
	border-top: 1.25rem solid rgba(0, 0, 0, 0.5);
}

.btn-orange {
  background-color: #FF7519;
  color: #fff;
  font-size: 14px;
}

.overlay {
  position: fixed; /* Sit on top of the page content */
  display: block; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.123); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

/*------------------------------*/
.item-1{
    *width :100%;
    overflow: hidden;
    background: #000;
}
 
      
.img-team{
    opacity: 0.6;
    width: 100%;
    height: 70%;
    transform: scale(1.15);
    transition: transform 0.5s, opacity 0.5s;
}
  
  
.img-team:hover{
    opacity: 1;
    transform: scale(1.03);

}
/*------------------------------*/
.text-thai{
    font-family: 'Sarabun', sans-serif;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 2s ease;
}
.gmap-area {
    background-image: url(../images/map.jpg);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 70px 0;
}
.p-contact {
    color: #f47f1f;
    text-decoration: none !important;
}
.certificate {
    position: relative;
    /*width: 50%;*/
  }
  
  .image-certificate {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .overlay-cert {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*background-color: #f47f1f;*/
    background-color: #262626f5;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
  }
  
  .certificate:hover .overlay-cert {
    bottom: 0;
    height: 100%;
  }
  
  .text-certificate {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .card-1 {
    transition: transform 0.2s ease;
    box-shadow: 0 4px 6px 0 rgba(22, 22, 26, 0.18);
    border-radius: 0;
    border: 0;
    margin-bottom: 1.5em;
  }
  /*.card-1:hover {
    transform: scale(1.1);
  }*/
  .portfolio-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /*text-align: center;*/
    width: 100%;
    height: 100%;
}

.portfolio-card:hover .portfolio-image {
    opacity: 0.3;
}

.portfolio-card:hover .middle {
    opacity: 1;
}

.portfolio-text {
    background-color: #f47f1f;
    color: white;
    
    height: 100%;
    width: 100%;
}
.text-orange {
  color: #f47f1f;
}
