/*!
Theme Name: Hazo Media
Theme URI: https://hazoweb.vn
Author: Hazo Media
Author URI: https://hazoweb.vn
Description: Start theme by TiLu - Hazo Media
Version: 1.0.0
Text Domain: hazo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/* Alignments
--------------------------------------------- */
.project-archive{
	background: #f5f5f5 !important;
}
.theme-archive-des {
    padding-bottom: 30px;
}
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%;
  padding: 5px;
}

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

.hazo-no_post_found {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

.form-popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: all 0.5s;
}

.form-popup.active {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.form-popup-content {
    max-width: 751px;
    margin: auto;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}

.btn-close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: #00000088;
    opacity: 0.7;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_close__icon {
    stroke: white;
}

.form-popup-img {
    width: 50%;
}

.form-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-popup-main {
    width: 50%;
    padding: 40px;
}

.form-popup-main h2 {
    font-size: 33px;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.form-popup-main p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-popup-main form input:not([type="submit"]) {
    width: 100%;
    border: none;
    box-shadow: 0;
    background-color: transparent;
    font-weight: normal !important;
    padding: 13px 15px 10px;
    border: 1px solid #000;
    border-radius: 4px;
    height: 44px;
    margin-top: -11px;
    margin-bottom: 20px;
}

.form-popup-main form input:not([type="submit"])::placeholder {
    color: #CDCDCD;
    font-weight: normal !important;
}

.form-popup-main label {

    background-color: #fff;
    display: inline-block;
    z-index: 2;
    position: relative;
    left: 10px;
    padding: 0 7px;
    background-color: #fff;
}

.form-popup-main form input[type="submit"] {
    border-radius: 12px;
    padding: 10px 30px;
    line-height: 1;
    color: rgb(255, 255, 255);
    -webkit-text-fill-color: rgb(255, 255, 255);
    font-weight: 500;
    font-size: 16px;
    background: rgb(51, 51, 51);
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.form-popup-main .wpcf7-spinner {
    position: absolute;
}

@media (max-width: 767px) {
    .form-popup-content {
        flex-direction: column;
    }

    .form-popup-img {
        display: none;
    }

    .form-popup-main {
        width: 100%;
    }

}