/*!
Theme Name: Ngoc Beach - Base Theme News
Theme URI: https://wordpress.org/
Author: Ngoc Beach
Author URI: https://wordpress.org/
Description: Start theme by Ngoc Beach - Base Theme
Version: 1.5.5
Text Domain: ngocbeach
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;
    text-align: center;
}

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

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

.pum-theme-403 .pum-title, .pum-theme-default-theme .pum-title {
    color: #fff !important;
    text-align: center !important;
    background: #1e72bd;
    text-shadow: 0px 0px 0px rgba(2, 2, 2, 0.23);
    font-family: inherit;
    font-weight: 400;
    font-size: 32px;
    font-style: normal;
    line-height: 50px !important;
}

#gform_submit_button_1 {
    background-color: #dd3333;
        border: none;
        color: #fff;
}
.gfield_required.gfield_required_text {
    display: none !important;
}
label.gfield_label {
    width: 125px !important;
    color: #000 !important;
    background-color: #fff !important;
    margin: 0 !important;
    padding: 8px !important;
}
.ginput_container input {
    border: none !important;
}
.gform_wrapper .gfield {
    gap: 0px !important;
}
.gform_wrapper.gravity-theme .gfield_label {
    line-height: 30px !important;
}
.gform_wrapper .ginput_container {
    line-height: 30px !important;
}
#gform_submit_button_1 {
    background-color: #f7a300;
    border: none;
    height: 40px !important;
    color: #fff;
    font-style: bold !important;
    margin: auto !important;
    padding: 0 70px !important;
    width: 80% !important;
}
/* Làm cho label và input trên cùng một dòng */
body .gform_wrapper .gfield {
    display: flex;
    align-items: center;
    gap: 10px; /* Khoảng cách giữa label và input */
}
.text-bl {
    color: #000 !important;
}

/* Đảm bảo label không chiếm chiều rộng cố định */
body .gform_wrapper .gfield_label {
    width: auto;
    margin-right: 10px;
}

/* Điều chỉnh input để phù hợp */
body .gform_wrapper .ginput_container {
    flex: 1; /* Để input mở rộng nếu cần */
}
