/*
Theme Name: Interpetfest
Theme URI: https://123website.com.vn
Author: 123Website
Author URI: https://123website.com.vn/
GitHub Theme URI: https://github.com/understrap/understrap
Description: The renowned WordPress starter theme framework that combined Underscores and Bootstrap. Trusted by more than 100,000 developers for building handcrafted, custom WordPress sites.
Version: 1.2.4
Requires at least: 5.0
Tested up to: 6.1
Requires PHP: 5.2
Text Domain: understrap
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, block-styles, wide-blocks, editor-style, threaded-comments, accessibility-ready

Understrap WordPress Theme, (C) 2021 Howard Development & Consulting, LLC
Understrap is distributed under the terms of the GNU GPL.

Resource Licenses:
Understrap is based on Underscores https://underscores.me/, (C) Automattic, Inc.
Font Awesome: https://fontawesome.com/v4.7/license/ (Font: SIL OFL 1.1, (S)CSS: MIT)
Bootstrap: https://getbootstrap.com | https://github.com/twbs/bootstrap/blob/master/LICENSE (MIT)
WP Bootstrap Navwalker by Edward McIntyre & William Patton: https://github.com/twittem/wp-bootstrap-navwalker (GNU GPLv3)
*/

/*
Do not modify the parent Understrap theme. Instead, download a copy of the Understrap Child starter theme and do all your development within the child theme.
Full developer documentation: https://docs.understrap.com
*/

@font-face {
    font-family: "Averta";
    src: url("fonts/Averta-Semibold.woff2") format("woff2"),
        url("fonts/Averta-Semibold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Averta";
    src: url("fonts/Averta-Black.woff2") format("woff2"),
        url("fonts/Averta-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Averta";
    src: url("fonts/Averta-Regular.woff2") format("woff2"),
        url("fonts/Averta-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
:root {
    --primary: #299481;
    --second: #d1d2d3;
    --highlight: #ce202e;
    --light: #fff;
    --bg-gray: #d1d2d3;
    --bg-light-green: #d2e9d6;
    --text: #000;
    --averta: "Averta";
}

body {
    font-family: var(--averta);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--averta);
}
a {
    color: #333;
}

header#wrapper-navbar {
    padding-bottom: 43px;
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0px;
}

.info-header img {
    width: 25px;
    height: 25px;
}

.left-top {
    flex-basis: 170px;
}

.right-top {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}
.info-header img {
    width: 25px;
    height: 25px;
}
ul#menu-menu-main {
    display: flex;
    padding: 0;
    margin: 0;
    align-items: flex-end;
}

ul#menu-menu-main li {
    list-style: none;
}

ul#menu-menu-main li a {
    text-decoration: none;
    margin-left: 5px;
    display: block;
    font-size: 14px;
    font-family: "Averta";
    font-weight: 500;
    padding: 9px 10px;
    color: var(--text);
    border-radius: 3px 3px 0px 0px;
    background: var(--bg-light-green);
    transition: 0.5s;
}

ul#menu-menu-main li.bigmenu a {
    padding: 12px 20px;
    background: var(--bg-light-green);
    color: #000;
}
ul#menu-menu-main li.current_page_item a,
ul#menu-menu-main li.current_page_ancestor a {
    background: var(--primary);
    color: var(--light);
}

.header-bottom {
    display: flex;
    align-items: center;
}
.header-bottom img {
    width: 20px;
    height: auto;
    object-fit: contain;
}
.header-bottom ul {
    display: flex;
    padding: 0;
    margin: 0;
}
.menu-menu-second-container {
    width: 100%;
}

.header-bottom ul li {
    list-style: none;
}

.header-bottom ul li a {
    text-decoration: none;
    display: block;
    font-size: 15px;
    color: var(--light);
    text-transform: uppercase;
    padding: 12px 20px;
    font-family: var(--averta);
    border-right: 1px solid #fff;
}

.header-bottom-sc {
    background: var(--primary);
    display: none;
}

.header-bottom-bg {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 44px;
    width: 100%;
    background: var(--primary);
    z-index: 7;
    /*  border-top: 1px solid #fff;*/
    border-bottom: 1px solid #fff;
}

ul#menu-menu-main li > ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(6, 1fr);
    padding: 0;
    display:none;
    height: 42px;
}
ul#menu-menu-main li.current_page_item > ul.sub-menu,
ul#menu-menu-main li.current_page_ancestor > ul.sub-menu {
    display: grid;
}

ul#menu-menu-main li > ul.sub-menu > li > a {
    background: var(--primary);
    color: #fff;
    /*  border-width: 1px 0px 1px 1px;
      border-style: solid;
      border-color: #fff;*/
    border-radius: 0;
    padding: 0 10px;
    margin: 0;
    display: block;
    text-align: center;
}

/*ul#menu-menu-main li > ul.sub-menu > li:last-child{
  border-right: 1px solid #fff;
}*/

ul#menu-menu-main > li > ul.sub-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

ul#menu-menu-main li > ul.sub-menu > li i{
    color:#fff;
}
ul#menu-menu-main li > ul.sub-menu li > ul.sub-menu {
    display: none;
}
ul#menu-menu-main li > ul.sub-menu > li:hover ul {
    display: block;
}
.social-top {
    display: flex;
    gap: 10px;
}
.language ul {
    list-style: none;
    padding: 0px;
    margin: 5px 0px;
}
ul#menu-language > li {
    border: 1px solid var(--primary);
    border-radius: 3px;
}
.language ul li a {
    display: inline-block;
    padding: 2px 5px 2px 5px;
    width: 140px;
}

.language ul li > ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 99;
    margin: 5px 0px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 3px;
}

.language ul li:hover ul {
    opacity: 1;
    visibility: visible;
}
.home-ic-sc {
    position: absolute;
    top: calc(100% + 6px);
    left: -115px;
    width: 100%;
    z-index: 9;
}

a.home-ic {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--light);
    border-radius: 50%;
    color: currentColor;
}
a.home-ic:hover {
    color: currentColor;
}

ul.social-footer {
    margin: 0;
    padding: 0;
    display: flex;
}
ul.social-footer img {
    height: 35px;
    width: 35px;
    object-fit: contain;
}
ul.social-footer li {
    list-style: none;
}

ul.social-footer li a {
    margin-right: 15px;
    font-size: 30px;
    justify-content: center;
    text-decoration: none;
    color: var(--light);
}

/*Footer*/
div#wrapper-footer {
    background: var(--bg-light-green);
    padding: 50px 0px;
}

.name-info {
    font-size: 18px;
    color: var(--primary);
    margin: 10px 0px;
}
.footer-nav ul {
    margin: 0;
    padding: 0;
}
.footer-nav ul li {
    list-style: none;
    margin-bottom: 5px;
}
.footer-nav ul li ul {
    padding-left: 20px;
}
.footer-nav ul li ul li {
    list-style: circle;
}
.footer-nav ul li ul li::marker {
    color: var(--light);
}

.footer-nav ul li a {
    font-family: var(--averta);
    color: var(--light);
    text-decoration: none;
    font-weight: bold;
}
.footer-nav ul li ul li a {
    font-weight: normal;
}

.info-footer {
    font-family: "Averta";
    color: var(--primary);
}
.info-footer p {
    margin-bottom: 0;
}

.info-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-footer ul li {
    margin-bottom: 5px;
}
.info-footer ul li a {
    color: var(--primary);
}
.right-ft {
    display: flex;
    margin-left: -15px;
}
.right-ft > div {
    width: calc(50% - 15px);
    margin-left: 15px;
}

span.title-info-ft {
    margin-bottom: 10px;
    display: inline-block;
    color: var(--highlight);
    font-weight: bold;
}

.group-ft {
    margin-bottom: 10px;
}
/*End Footer*/
/*Page Title*/
.page-title-sc {
    background: #f5f5f5;
    padding: 20px 0px;
}

.page-title-sc p#breadcrumbs {
    margin: 0 0px 5px 0px;
    font-size: 15px;
}

.page-title-sc h1.page-title {
    font-size: 30px;
    font-weight: bold;
}

.page-title-sc p#breadcrumbs a {
    text-decoration: none;
}
/*End Page Title*/

/*Single Post*/
.thumbnail-post img {
    height: 100%;
    object-fit: contain;
    width: auto;
}

.thumbnail-post {
    height: 300px;
    margin-bottom: 15px;
}
.addtoany_shortcode {
    margin-bottom: 10px;
}
h1.entry-title,
.widget_latest_posts_by_category_widget h3.widget-title,
h3.related-heading {
    border-bottom: 3px solid var(--primary);
    padding-bottom: 5px;
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
}

nav.container.navigation.post-navigation {
    padding: 0;
    margin: 15px 0px;
}

form#commentform input#submit {
    background: var(--primary);
    border-color: currentColor;
    width: 100%;
    border-radius: 0px;
    padding: 10px 0px;
}

form#commentform textarea#comment {
    border-radius: 0px;
}

nav.container.navigation.post-navigation a {
    text-decoration: none;
    color: var(--primary);
}
.latest-post-by-category {
    margin-bottom: 20px;
}
.latest-post-by-category a {
    text-decoration: none;
}
.latest-post-by-category a:hover {
    color: currentColor;
}
.thumbnail-post-wg {
    height: 150px;
    margin-bottom: 5px;
}
.thumbnail-post-wg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h5.post-title-wg {
    font-size: 16px;
}
.single-post div#comments input {
    border-radius: 0;
}
.single-post div#comments label {
    display: block;
    margin: 9px 0px;
}
.related-post ul.post-categories {
    padding: 0;
    margin: 0;
    list-style: none;
}
.related-post a {
    text-decoration: none;
}
.related-post a:hover {
    color: currentColor;
    opacity: 0.8;
}

/*End Single Post*/

/*Dogathon*/
.menu-neo .e-n-menu-item-title {
    border: 1px solid #fff !important;
    margin: 5px;
}
/*End Dogathon*/

/*Groming*/
.judges-item {
    margin-top: 70px;
}
.judges-item figure.elementor-image-box-img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 3px solid #000;
    width: 100px !important;
    height: 100px;
}
.judges-item .elementor-image-box-content {
    margin-top: 50px;
}
/* End Groming*/

/*Header Mobile*/
.mobile-header {
    background: #fff;
    overflow: hidden;
}

.menu-trigger .hamburger {
    display: block;
    width: 40px;
    height: 15px;
}
.mobile-header-ins {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-main ul > li.menu-item-has-children > a:after,
.mobile-header .menu-trigger .hamburger span,
.mobile-header-menu-container .main-menu > li .sub-menu-trigger:after {
    background-color: var(--primary);
}
.menu-trigger .hamburger span:first-child {
    margin-bottom: 4px;
}
.menu-trigger .hamburger span {
    height: 3px;
    width: 30px;
    display: block;
    opacity: 1;
    -webkit-transition: 0.3s;
    transition: all 0.3s ease;
}
.menu-trigger .hamburger span:last-child {
    margin-top: 4px;
}

.menu-main ul > li ul.sub-menu li > ul {
    top: 0;
    left: 200px;
    right: 0;
}

ul#menu-menu-main li > ul.sub-menu ul.sub-menu li a {
    background: #fff;
    color: var(--primary);
    border-bottom: 1px solid;
    border-right: 1px solid;
    border-left: 1px solid;
    font-size: 13px;
    padding: 8px;
}
ul#menu-menu-main li > ul.sub-menu ul.sub-menu li:hover a {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.header-icons-container {
    width: 100%;
}
.mobile-header-menu-container {
    width: 320px;
    height: 100%;
    position: fixed;
    right: -320px;
    left: auto;
    opacity: 0;
    -webkit-transition: 0.3s;
    transition: all 0.3s;
    z-index: 999999;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    padding: 0 0 50px;
    background: var(--primary);
    border: 1px solid #fff;
}
.mobile-header-menu-container.active {
    right: 0;
    left: auto;
    opacity: 1;
}
.mobile-header-menu-container nav.nav-mobile ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.mobile-header-menu-container nav.nav-mobile ul li > ul li > ul.sub-menu {
    display: none;
}
.mobile-header-menu-container nav.nav-mobile ul > li {
    border-bottom: 1px solid #fff;
    position: relative;
    padding: 0;
}
.mobile-header-menu-container nav.nav-mobile ul > li > a {
    display: block;
    font-size: 14px;
    padding: 23px 58px 23px 20px;
    text-decoration: none;
    color: #fff;
}
.mobile-header-menu-container nav.nav-mobile ul > li:first-child > a {
    border-top: 1px solid #fff;
}
/*.mobile-header-menu-container nav.nav-mobile ul ul.sub-menu {
    display: none;
}*/
.mobile-header-menu-container nav.nav-mobile ul ul.sub-menu > li > a {
    padding-left: 35px;
    font-size: 14px;
}

.mobile-r {
    display: flex;
    height: 100%;
    align-items: center;
}
.mobile-header-menu-container nav.nav-mobile ul > li i {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    width: 60px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.mobile-header-menu-container nav.nav-mobile ul ul.sub-menu.active {
    display: block;
}
.group-ft a {
    color: currentColor;
}
.inline-radio {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.inline-radio .ff-el-input--label.asterisk-right {
    padding: 0;
    width: auto;
}
.inline-radio .ff-el-input--content {
    margin-left: 15px !important;
}
.inline-radio .ff-el-form-check.ff-el-form-check- {
    margin: 0px 0px 0px 15px !important;
}
form#fluentform_8, form#fluentform_8 a {
    color: #299481;
}
form#fluentform_8 select {
    padding: 5px 5px 6px 15px;
    border-radius: 0px;
    height: auto;
}
form#fluentform_8 select {
    padding: 5px 5px 6px 15px;
    border-radius: 0px;
    height: auto;
    color: var(--primary);
    border-color: var(--primary);
}
form#fluentform_8 span.ff_upload_btn.ff-btn {
    color: var(--primary);
    padding: 8px 40px 8px 20px;
}
form#fluentform_8 span.ff_upload_btn.ff-btn:before {
    content: '';
    width: 20px;
    height: 15px;
    background: url("https://interpetfest.com/wp-content/uploads/2024/07/attach.svg");
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}
form#fluentform_2 .ff_submit_btn_wrapper_custom button {
    margin-bottom: 0px;
}
.term-mr {
    margin-right: 8px !important;
}
form#fluentform_8 a {
    text-decoration: underline;
}
@media screen and (max-width: 1023px) {


    .language {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .language ul li a {
        width: 35px;
        font-size: 0;
    }

    header#wrapper-navbar {
        padding-bottom: 0;
    }
    .logo {
        height: 100px;
    }
    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px 0px;
    }
    ul.social-footer img {
        height: 25px;
        width: 25px;
        object-fit: contain;
    }
}
@media screen and (max-width: 767px) {
    ul.social-footer{
        margin-bottom: 35px;
    }
    .logo {
        height: 80px;
    }
    .logo img {
        padding: 10px 0px;
    }
    .header-icon.menu-close {
        height: 80px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 0px 12px;
    }

    .body-overlay {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        pointer-events: none;
        opacity: 0;
        cursor: pointer;
        z-index: 9;
        -webkit-transition: opacity 0.3s;
        transition: opacity 0.3s;
    }
    .body-overlay.active {
        opacity: 0.5;
        pointer-events: auto;
    }

    .gg-close {
        box-sizing: border-box;
        position: relative;
        display: block;
        transform: scale(var(--ggs, 1));
        width: 22px;
        height: 22px;
        border: 2px solid transparent;
        border-radius: 40px;
    }

    .gg-close::after,
    .gg-close::before {
        content: "";
        display: block;
        box-sizing: border-box;
        position: absolute;
        width: 25px;
        height: 2px;
        background: #fff;
        transform: rotate(45deg);
        border-radius: 5px;
        top: 8px;
        left: -10px;
    }

    .gg-close::after {
        transform: rotate(-45deg);
    }
    .right-ft {
        flex-wrap: wrap;
    }
    .right-ft > div {
        width: calc(100% - 15px);
    }
    .right-ft .info-footer:first-child {
        border-right: none;
        padding-right: 0;
        text-align: left !important;
    }

}


#affwp-register-form p:nth-of-type(4),
#affwp-register-form p:nth-of-type(5),
#affwp-register-form p:nth-of-type(6) {
    display: none;
}
form#affwp-register-form, form#affwp-login-form {
    border: 1px solid #ccc;
    padding: 20px;
}

/* CSS chung cho cả hai form */
.page-id-7032 .entry-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Khoảng cách giữa các form */
}

.page-id-7032 .entry-content form {
    flex: 1 1 45%; /* Đảm bảo cả hai form có cùng kích thước và nằm ngang trên màn hình lớn */
    min-width: 300px; /* Đảm bảo form không quá nhỏ */
}
form#fluentform_16 span.ff_upload_btn.ff-btn {
    background: #fff !important;
    border-radius: 5px;
}


form#fluentform_20 input, form#fluentform_20 select {
    background: #FFEDE3;
    border: none;
    border-radius: 0px;
}

form#fluentform_20 input::placeholder {
    color: #000;
}
.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}

/* CSS cho mobile - dưới 768px */
@media (max-width: 768px) {
    .custom-select {
        width: 100%;
    }
    .page-id-7032 .entry-content {
        flex-direction: column; /* Đặt form theo chiều dọc */
        align-items: center;
    }

    .page-id-7032 .entry-content form {
        width: 100%; /* Form chiếm toàn bộ chiều rộng màn hình */
        max-width: 100%; /* Không cho phép form quá rộng */
    }
}

/* Phone Verification Icon Styles */
.phone-verify-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.phone-verify-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
}

.phone-verify-icon:hover {
    background: #007cba;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.phone-verify-icon.verified {
    background: #28a745;
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.phone-verify-icon.verifying {
    background: #ffc107;
    color: #333;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateY(-50%) scale(1.1); }
    100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-verify-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
        right: 8px;
    }
}

/* Notification styles */
.phone-verify-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.phone-verify-notification.show {
    transform: translateX(0);
}

.phone-verify-notification.success {
    background: #28a745;
}

.phone-verify-notification.warning {
    background: #ffc107;
    color: #333;
}

.phone-verify-notification.error {
    background: #dc3545;
}

/* Responsive notification */
@media (max-width: 768px) {
    .phone-verify-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .phone-verify-notification.show {
        transform: translateY(0);
    }
}
