/*
 Theme Name:   Twenty Twenty-One Child
 Theme URI:    https://example.com/twenty-twenty-one-child/
 Description:  Child theme for the Twenty Twenty-One theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     twentytwentyone
 Version:      1.0.0
 Text Domain:  twentytwentyone-child
*/


*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: #fff !important;
    margin: 0;
    padding: 0;
}

.site-title {
    padding-top: 0px;
    margin: 0;
}

.content-area {
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 24px;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.content-area h1 {
    font-size: 36px;
    line-height: 45px;
    margin-top: 0;
    font-weight: bold;
}

.content-area h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
}

.content-area h3 {
    font-size: 25px;
    font-weight: bold;
    line-height: 35px;
}

.content-area h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.content-area h5 {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}

.content-area h6 {
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 15px 0px 10px;
    text-transform: inherit;
}

.content-area ol li {
    list-style: decimal;
}

.content-area ul li {
    list-style: disc;
}

.content-area ol,
.content-area ul {
    box-sizing: border-box;
    padding-left: 30px;
}


.content-area table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-area td {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 16px;
}

.content-area dl {
    margin: 20px;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.content-area dt {
    font-weight: bold;
    margin: 10px 0 5px;
    padding: 10px;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
}

.content-area dd {
    margin: 0 0 10px 20px;
    padding: 10px;
    border-left: 2px solid #ddd;
    background-color: #fff;
}

.content-area p {
    margin-bottom: 15px;
}

.content-area li {
    line-height: 35px;
}

.main-header {
    max-width: 100%;
    padding: 15px 0;
    background: #ffffff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}

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

.logo-wrap {
    width: 220px;
    max-width: 220px;
}

.site-title a {
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
}

.site-title a:focus {
    text-decoration: none !important;
}

/* Add FontAwesome arrow only to top-level menu items with children */
.menu-item-has-children>a::after {
    content: "\f078";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #000;
    position: absolute;
    top: 0px;
    right: -18px;
    font-size: 10px;
}

.alignnone {
    margin: auto;
    display: block;
}

/* Hide arrow for nested submenu items */
.sub-menu .menu-item-has-children>a::after {
    display: none;
}

.navigationcl {
    position: relative;
    left: auto;
    padding-top: 0;
    display: inline-block;
    width: 100%;
    z-index: 999;
}

.navigationcl a {
    display: block;
    position: relative;
    margin: 0;
    height: auto;
    font-size: 17px;
    line-height: 28px;
    color: #000;
    overflow: visible;
    text-decoration: none;
}

.navigationcl a:focus {
    outline: 0 !important;
    border: 0;
    text-decoration: none !important;
}

.sub-menu li a {
    line-height: 24px;
    margin: 5px 0;
    color: #000;
}

.navigationcl li {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.nav-select {
    display: inline-block;
    visibility: visible;
    width: 100%;
    text-align: right;
}

.navigationcl a:hover,
.navigationcl a:focus {
    color: #000;
}

.navbar-togglecl {
    display: none;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    background: #fff;
    width: 180px;
    text-align: left;
    padding: 10px 0;
    box-shadow: 0 0 6px #ddd;
    top: 100%;
    z-index: 999;
}

.sub-menu li {
    width: 100%;
}

.sub-menu li a {
    white-space: normal;
    word-break: break-word;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu .sub-menu {
    left: auto;
    right: 100%;
    top: -10px;
}

.nav-select .sub-menu>li>.sub-menu {
    display: none;
    position: absolute;
}

.nav-select .menu__list>li:hover>.sub-menu,
.nav-select .sub-menu>li:hover>.sub-menu {
    display: block;
}

p.copyright {
    text-align: center;
}



.campaign-list-item_key-features ul {
    padding-left: 0;
}

.campaign-list-item_key-features ul li {
    list-style: none;
}

.main-title {
    text-align: left;
}

.custom_top_author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author_imag img {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.name_author_out {
    display: flex;
    align-items: center;
}

.name_author_out span.lbl {
    margin-right: 5px;
}

.name_author_out h4,
.name_author_out p {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.name_author_out a p {
    font-size: 16px;
}

.name_author_out a:hover p {
    color: #ea0101;
}

.modifyDetails {
    background: #F2F2F2;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
}

.author_imag img {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.author_imag {
    line-height: 0;
}

.name_author_out {
    display: flex;
}

.name_author_out span.lbl {
    margin-right: 5px;
}

.name_author_out a {
    color: inherit;
}

/* footer */
.site-footer {
    background: #333;
    padding: 15px 0;
    max-width: 100%;
    width: 100%;
}


.footer_section .nav-select {
    margin-bottom: 10px;
}

.footer_section .footer-wp-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.footer_section ul.footer-wp-menu li {
    margin: 0;
    line-height: 1.5;
}

.footer_section ul.footer-wp-menu li a {
    line-height: 1.5;
    font-size: 16px;
    display: inline-block;
    color: white;
    text-decoration: none;
}

.footer_section ul.footer-wp-menu li a:hover {
    color: #b1b1b1;
}

.copyright {
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
    font-weight: 500;
}

.copyright a {
    text-decoration: none;
    color: currentColor;
}

.profile-tab-content {
    padding: 30px 0;
}

/*Author Page css*/
.header-profile-details h2 {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}

.profile-header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-avatar-container img {
    padding: 0;
    border: 0;
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.header-profile-details {
    width: calc(100% - 30px - 75px);
}

.header-profile-details h2 {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}

.profile-fields-group.profile-fields-group-1 {
    border: 1px solid #eee;
    margin: 1.5rem 0 0;
    padding: 15px 20px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.profile-fields-group.profile-fields-group-1 h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.author-f-name .label,
.author-description-name .label {
    font-weight: 600;
}

.author-f-name {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.author-description-name {
    margin-top: 20px;
    font-size: 20px;
}

/*AUTHOR SECTION And Page END*/

/* General form styling */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

/* Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

/* Text fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.site-content .wpcf7 {
    margin-bottom: 30px;
    margin-top: 30px;
}

.site-content .wpcf7-form .wpcf7-form-control-wrap {
    position: relative;
    margin-top: 8px;
    display: block;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    background-color: #000000 !important;
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 120px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #005d8d !important;
}

/* Spinner alignment */
.wpcf7-spinner {
    margin-left: 10px;
    vertical-align: middle;
}

/* Response output styling */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #d1f0d1;
    color: #155724;
}

.wpcf7-response-output.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
}

/*—-------------------------------------------------------*/
@media (min-width: 992px) {

    .main-header .navigationcl li:last-child .sub-menu {
        right: 0;
        left: auto;
    }

    .main-header .navigationcl li .sub-menu li:hover {
        background-color: #333;
    }

    .main-header .navigationcl li>.sub-menu li:hover>a {
        color: #fff;
    }

    .main-header .navigationcl li .sub-menu .sub-menu {
        left: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .header-inner {
        position: static;
    }

    .main-header {
        position: relative;
    }

    .menu-item-has-children>a::after {
        display: none;
    }

    .table-auto {
        overflow-x: scroll;
        width: 100%;
    }

    .navigationcl {
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
        cursor: pointer;
        text-align: left;
        background: #fff;
        left: 0;
        box-shadow: 0 0 4px #ddd;
        display: none;
        padding: 10px;
        z-index: 999;
    }

    .navbar-togglecl {
        display: block !important;
    }

    .navbar-togglecl {
        background-color: #050104;
        width: 35px;
        height: 35px;
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        cursor: pointer;
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: transparent;
    }

    .navbar-togglecl span {
        width: 20px;
        height: 2px;
        background-color: #fff;
        display: inline-block;
        position: relative;
        top: -5px;
        right: 0;
    }

    .navbar-togglecl span::before,
    .navbar-togglecl span::after {
        content: "";
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: 2px;
        left: 0;
        top: -7px;
    }

    .navbar-togglecl span::after {
        top: 7px;
    }

    .navigationcl li {
        position: relative;
        display: inline-block;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }


    .navigationcl a {
        font-size: 15px;
        color: #000;
        height: auto;
        padding: 5px 10px;
        margin: 0;
        line-height: 36px;
        text-align: center;
    }

    .navigationcl ul.wp-menu {
        visibility: visible;
        position: relative;
        display: block;
        left: 0;
        top: 0;
        margin: 0 !important;
        width: 100%;
        padding: 0 !important;
    }

    .navigationcl ul a {
        height: auto;
        width: 100%;
        overflow: visible;
        line-height: 26px;
        background-image: none;
        border-width: 0;
        text-align: left;
    }

    .navigationcl ul>li.menu-item-has-children>a {
        padding-right: 20px;
    }

    .navigationcl li:hover>ul {
        visibility: visible;
        top: auto;
    }

    .toggle-menu {
        position: absolute;
        right: 0;
        width: 25px;
        height: 25px;
        font-size: 16px;
        text-align: center;
        top: 7px;
        cursor: pointer;
        z-index: 999;
        display: block;
    }

    .toggle-menu i {
        transition: transform 0.3s ease;
    }

    .menu-item-has-children>.toggle-menu.on i {
        transform: rotate(180deg);
    }

    .nav-select {
        display: inline-block;
        visibility: visible;
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .sub-menu {
        display: block;
        position: relative;
        left: 0;
        background: #333;
        width: 100%;
        text-align: left;
        padding: 0 !important;
        box-shadow: none;
        top: auto;
    }

    .sub-menu li a {
        color: #fff;
    }

    .sub-menu .sub-menu {
        left: 0;
        right: 0;
        top: 0;
    }

    .nav-select .sub-menu>li>.sub-menu {
        display: none;
        position: relative;
    }

    .table-auto {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-area table {
        width: 100%;
        overflow-x: auto;
        display: block;
        -webkit-overflow-scrolling: touch;
    }

    /* common container for all pages */
    .content-area h1.entry-title,
    .content-area h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .content-area h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .content-area h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .content-area h4 {
        font-size: 20px;
        line-height: 28px;
    }

    .content-area h5 {
        font-size: 18px;
        line-height: 26px;
    }

    .content-area h6 {
        font-size: 16px;
        line-height: 22px;
    }

    /* common typography */
    .modifyDetails {
        border-radius: 10px;
    }

    .profile-header-container {
        gap: 10px;
    }

    .header-avatar-container img {
        width: 50px;
        height: 50px;
    }

    .header-profile-details {
        width: calc(100% - 10px - 50px);
    }
}

@media (max-width:767px) {
    .wpcf7-form {
        padding: 1.25rem;
    }

    .footer_section .footer-wp-menu {
        flex-flow: column;
        gap: 8px;
    }
}