/*!
Theme Name: AvantDG
Theme URI: https://avantdg.vn/
Author: AvantDG
Author URI: https://avantdg.vn/
Description: Start theme by  AvantDG
Version: 1.0.0
Text Domain: avantdg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/* Alignments
--------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

.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;
}

.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;
}

.wordpress-no_post_found {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
.search-info { padding: 80px 0px; }
@media (max-width: 575px) {
  .search-info { padding: 40px 0px; }
}
.search-list {margin: 40px 0;}

.search-item { display: block; }
.search-item + .search-item { padding-top: 24px; margin-top: 24px; border-top: 0.5px solid rgb(128, 128, 128); }
.search-item p, .search-item h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis; font-weight: 300; line-height: 150%; }
.search-item h3 {font-size: 30px;color: var(--primary-color);}
.search-item:hover h3{color: var(--second-color);}

@media (max-width: 575px) {
  .search-item p{
    font-size:14px
  }
  .search-item h3 { font-size: 18px; }
  .search-list { margin-top: 30px; }
}