/*!
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%;
}
.title-box .widget-title{
	margin-bottom: 0;
}
.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;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  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;
}
.section__news .big-news-item .news-title {
    color: #fff
    font-size: 1.7rem;
    bottom: 0;
    left: 0;
    width: 100%;
    position: absolute;
    padding: 4rem 1rem 1.5rem 1rem;
    background: linear-gradient(360deg, #1c9cea 32.27%, rgba(46, 177, 229, 0) 100%);
}

/*-----------------HOME-NEWS-------------------*/
.heading-title {
  text-align: center;
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.section__news {
  background: var(--bg-color);
}

.section__news .section__news-wrapper {
  padding: 4rem 1rem;
  background: var(--bg-color);
}

.section__news .big-news-item {
  position: relative;
}

.section__news .big-news-item .c-img {
  padding-top: 71.5%;
}

.section__news .c-img img,
.news__feature .c-img img {
  object-fit: cover;
}

.section__news .big-news-item .news-title {
  color: #fff;
  font-size: 1.7rem;
  bottom: 0;
  left: 0;
  width: 100%;
  position: absolute;
  padding: 4rem 1rem 1.5rem 1rem;
  background: linear-gradient(360deg, #1c9cea 32.27%, rgba(46, 177, 229, 0) 100%);
}
.section__news .big-news-item .news-title a {
  color: #fff;
}

.news-list .news-item {
  margin-bottom: 1.8rem;
  display: flex;
}
@media (min-width: 768px) {
  .news-list .news-item {
    padding: 0.5rem;
    background: #fff;
  }
}
.news-list .news-item .news-img {
  flex-basis: 26%;
  width: 26%;
}

@media (max-width: 767px) {
  .news-list .news-item .news-img {
    flex-basis: 40%;
    width: 40%;
  }
}

.news-list .news-item .news-img .c-img {
  padding-top: 60%;
}

.news-list .news-item .news-desc {
  padding: 0 1.5rem;
  flex-basis: 74%;
  width: 74%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-list .news-item .news-desc .news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 1500px) {
  .news-list .news-item {
    margin-bottom: 1.6rem;
  }
}

.news-list .news-item .news-desc .news-title:hover {
  color: var(--primary-color);
}

.news-list .news-item .news-desc .desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.news__feature {
  background: var(--bg-color);
}

.news__feature .news__feature-wrapper {
  padding: 0 1rem 4rem 1rem;
  background: var(--bg-color);
}

.news__feature .news__feature-wrapper .news-item {
  display: flex;
  margin-bottom: 1.8rem;
  background: #fff;
  padding: 1rem;
}

.news__feature .news__feature-wrapper .news-item .news-img {
  flex: 1.3;
}

@media (max-width: 991px) {
  .news__feature .news__feature-wrapper .news-item .news-img {
    flex-basis: 26%;
    width: 26%;
  }
}

@media (max-width: 767px) {
  .news__feature .news__feature-wrapper .news-item .news-img {
    flex-basis: 40%;
    width: 40%;
  }
}

.news__feature .news__feature-wrapper .news-item .news-img .c-img {
  padding-top: 57%;
}

@media (max-width: 991px) {
  .news__feature .news__feature-wrapper .news-item .news-img .c-img {
    padding-top: 75%;
  }
}

.news__feature .news__feature-wrapper .news-item .news-desc {
  flex: 3;
  padding: 0 2rem;
}

@media (max-width: 991px) {
  .news__feature .news__feature-wrapper .news-item .news-desc {
    flex-basis: 75%;
    width: 75%;
    padding: 0 1.5rem;
  }
}

.news__feature .news__feature-wrapper .news-item .news-desc .news-title {
  font-size: 1.6rem;
  font-weight: 700;
}
.news-title a {
  color:#333;
}
.news__feature .news__feature-wrapper .news-item .news-desc .news-title:hover {
  color: var(--primary-color);
}

.news__feature .news__feature-wrapper .news-item .news-desc .desc {
  margin-top: 2rem;
  font-weight: 400;
  font-size: 1.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .news__feature .news__feature-wrapper .news-item .news-desc .desc {
    -webkit-line-clamp: 2;
    margin-top: 0.5rem;
  }
}
.c-img img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.news-list .news-item .news-img .c-img {
    padding-top: 75%;
}

.scale-hover {
    display: block;
    overflow: hidden;
    width: 100%;
}
.c-img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding-top: 70%;
}
.gini_archive_template .hazo_cate {
  margin-top: 10px;
}
#breadcrumbs  {
  margin-bottom: 0;
}
.staff-list .staff-item .staff-img {
    flex: 1;
    padding-top: 30%;
}

.related-post .news-item {
  display: flex;
  align-items: center;
  gap:20px;
  margin-bottom: 30px;
}
.related-post .news-item .news-img {
  min-width: 30%;
}
.related-post .news-item h3 {
  font-size: 18px;
}
.related-post .news-item .hazo_cate {
  margin: 10px 0;
}
.related-post .list-blogs {
  margin-top: 30px;
}

@media(max-width: 767px) {
  .related-post .news-item {
    display: block;
  }
   .related-post .news-item  .news-desc {
    margin-top: 20px;
  }
}