/*!
Theme Name: Webseo247
Theme URI: https://webseo247.com/
Author: Webseo247
Author URI: https://webseo247.com/
Description: Start theme by TiLu - Webseo247
Version: 1.0.0
Text Domain: Webseo247
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
img {
  max-width: 100%;
  height: auto;
}
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

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

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.gallery {
  margin-bottom: 1.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.gallery .gallery-item {
  text-align: center;
  vertical-align: top;
  position: relative;
  margin: 0;
  padding: 0 15px 30px;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.66%;
  flex: 0 0 16.66%;
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 14.28%;
  flex: 0 0 14.28%;
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 12.5%;
  flex: 0 0 12.5%;
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 11.11%;
  flex: 0 0 11.11%;
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}


/* 404 */
.error-404.not-found {
  width: 100%;
  margin: 50px 0;
  text-align: center;
}
.error-404.not-found .page-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 0;
}
.error-404.not-found img {
  margin-bottom: 30px;
}
.error-404.not-found .ws-button {
  width: 200px;
  display: block;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 15px 20px;
  font-size: 15px;
  text-transform: uppercase;
  margin: auto;
  cursor: pointer;
  text-decoration: none;
}
.error-404.not-found .ws-button:hover {
  background: #fff;
  color: #000;
}
.ws-none h2 {
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

#footer .main-ft .the_content p {
  line-height: 26px !important;
}

#footer .main-ft .navi-ft ul li {
  line-height: 28px !important;
}

.the_content h1 {
  font-size: 2em;
}

.the_content table tr td {
  line-height: 23px;
}

.list-cate-content ul .menu-item-has-children {
  position: relative;
}

.list-cate-content ul .menu-item-has-children:hover .sub-menu {
  display: block;
  animation: fade 0.3s forwards;
}

@keyframes fade {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

.list-cate-content ul .menu-item-has-children .sub-menu {
  position: absolute;
  z-index: 999;
	right: -302px;
	top: -10px;
	width: 300px;
  transition: 0.2s ease-out;
  display: none;
  webkit-box-shadow: 0px 0px 14px 3px rgba(238, 238, 238, 0.69);
  box-shadow: 0px 0px 14px 3px rgba(238, 238, 238, 0.69);
}


.list-cate-content ul .menu-item-has-children .sub-menu .menu-item-has-children .sub-menu {
  position: absolute;
  z-index: 999;
	right: -302px;
	top: -10px;
	width: 300px;
  transition: 0.2s ease-out;
  display: none;
  webkit-box-shadow: 0px 0px 14px 3px rgba(238, 238, 238, 0.69);
  box-shadow: 0px 0px 14px 3px rgba(238, 238, 238, 0.69);
}

.list-cate-content ul .menu-item-has-children .sub-menu .menu-item-has-children:hover .sub-menu{
	display: block;
}


.current-menu-item a {
  color: #1b8bd3 !important;
}

.home.page-template-home {
  background-image: url("/wp-content/uploads/2020/08/bn2-1.png");
  background-repeat: no-repeat;
  background-position: left 0px top 0px;
}

.the_content table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  background-color: #fff;
}

.the_content table th,
td {
  padding: 5px 7px;
  vertical-align: top;
}

.the_content table thead th {
  vertical-align: bottom;
}

@media only screen and (max-width: 1024px) {
  .the_content table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .the_content table > .table-bordered {
    border: 0;
  }
}

.why-choose-us .see {
  padding-bottom: 25px !important;
}

.project-item h2 {
  font-size: 20px;
    letter-spacing: 0;
    font-weight: 600;
    opacity: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 10px;
    color: #333
}
.project-item img {
  width: 100%;
  height: 250px;
  margin: 0;
  padding: 0;
}
.project-item .box-text {
  background-color: #fff;
  padding: 20px;
  border-bottom: 4px solid #0f456e;
}
.box-info svg {
  width: 20px;
  height: 20px;
}
.project-item .box-info > div {
  display: flex;
  align-items: center;
  gap:10px;
  margin-bottom: 8px;
  color: #444;
}
.portfolio-single_detail {
    margin-bottom: 3rem;
    width: 100%;
    border-color: #ececec;
    border-spacing: 0;
}
.portfolio-single_detail td {
    width: 50%;
    margin-right: 10px;
    border: 0;
    box-shadow: 0px 0px 1px rgb(0 0 0 / 30%);
    padding: 1rem 1.5rem !important;
}
.portfolio-single_detail h5 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 5px;
}
.portfolio-single_detail p {
    margin: 0;
}
.related-post .project-item .box-text {
  background-color: #eee;
  margin-top: -5px;
}
.grecaptcha-badge {
	opacity:0;
	visibility:hidden;
}


/*--------------------STAFF---------------------*/
.staff__main {
  padding-bottom: 4rem;
}
.staff__main-content {
  padding: 40px 20px;
  background: #fff;
}
.staff__main-content .staff-block:last-child {
  margin-bottom: 0;
}
.staff-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin-bottom: 25px;
  border-bottom: 1px solid #c4c4c4;
}

.staff__big-block {
  margin-bottom: 4rem;
}

.staff__big-block .staff-content .staff__img-link {
  flex-basis: 25%;
  width: 25%;
}

@media (max-width: 991px) {
  .staff__big-block .staff-content .staff__img-link {
    flex-basis: 100%;
    width: 100%;
  }
}

@media (max-width: 991px) {
  .staff__big-block .staff-content .staff__img-link .staff-img img {
    margin: auto;
  }
}

.staff__big-block .staff-content .staff-text {
  flex-basis: 50%;
  width: 50%;
  padding-left: 3rem;
}

.staff__big-block .staff-content .staff-text p {
  line-height: 1.8;
  font-weight: 400;
}

.text-has-disc {
  font-weight: 700;
  position: relative;
  padding-left: 2rem;
  line-height: 1.7;
  display: block;
}

.text-has-disc::before {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #000;
  content: "";
  top: 8px;
  left: 6px;
  border-radius: 50%;
}

.staff-name {
  text-transform: uppercase;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.staff-social {
  margin: 1rem 0;
}

.staff-social ul {
  display: flex;
  align-items: center;
}
.duan{
  display: block !important;
  background-color: #fff;
  margin-bottom: 15px;
}
.duan .bg-title a{
  font-size: 20px !important;
  letter-spacing: 0;
  font-weight: 600;
  opacity: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 10px;
  color: #333;
}
.duan .box-text{
  background-color: #fff;
  padding: 20px;
  border-bottom: 4px solid #0f456e;
}
.duan .box-info div{
  white-space: nowrap;  
  overflow: hidden !important;         
  text-overflow: ellipsis !important; 
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #444;
}
.duan .box-info div svg{
  flex-shrink: 0;
  margin-right: 8px; 
}
@media (max-width: 991px) {
  .staff-social ul {
    justify-content: center;
  }
}

.staff-social ul li {
  margin-right: 1.5rem;
}
@media (max-width: 767px) {
  .staff-social ul li {
    margin: 0 5px;
  }
}
.staff-link .link a {
  font-weight: 400;
  line-height: 1.4;
  color: #1c9cea;
  word-break: break-all;
}

.staff-list .staff-item {
  margin-bottom: 3.5rem;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .staff-list .staff-item {
    display: block;
  }
}

.staff-list .staff-item .staff-img {
  flex: 1;
}
.staff-list .staff-item .staff-img img {
  object-fit: cover;
}


@media (max-width: 767px) {
  .staff-list .staff-item .staff-img {
    padding-top: 100%;
  }
}

.staff-list .staff-item .staff-desc {
  flex: 2;
  padding: 0 2rem;
}

@media (max-width: 767px) {
  .staff-list .staff-item .staff-desc {
    padding: 0;
  }
}

@media (max-width: 991px) {
  .staff-list .staff-item .staff-desc .staff-name,
  .staff-list .staff-item .staff-desc .text-has-disc {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .staff-list .staff-item .staff-desc .staff-name {
    font-size: 12px;
    margin: 0.5rem 0;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .staff-list .staff-item .staff-desc .text-has-disc::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .staff-list .staff-item .staff-desc .text-has-disc {
    padding-left: 0;
    font-weight: 400;
    margin-top: 1rem;
  }
}

@media (min-width: 992px) {
  .staff-list .staff-item .staff-social {
    margin-left: 2rem;
  }
}

@media (max-width: 767px) {
  .staff-list .staff-item .staff-link a {
    font-size: 12px;
  }
}

.staff-block {
  margin-bottom: 4rem;
}








