/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: bcat WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.1.2
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
:root{--theme-color1:#F79942;--theme-color2:#EFEFEF ;--theme-color3:#F8F6F1;--theme-color4: #e7e7e7;}



.floating-gtranslate:hover {
    cursor: pointer;  /* Optional: changes the cursor on hover */
}

/* .pciwgas-img-wrapper img {
    border-radius: 100% !important;
	border: 1px solid #ccc;
    height: 150px;
    width: 150px;
    object-fit: cover;
} */
/*filter function css date*/
.date-range-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.date-range-filter label {
    padding: 10px;
}

.date-range-filter input[type="date"] {
    flex-grow: 1;
    height: 36px;
}

@media (max-width: 768px) {
    .date-range-filter {
        flex-direction: column;
        margin-top: 10px;
    }

    .date-range-filter input[type="date"] {
        width: 100%;
        max-width: 400px;
        margin-bottom: 10px;
    }

    

    .date-range-filter input[type="date"] {
        appearance: textfield;
    }
}

/* css for change password from */
.change-password-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.change-password-form h3 {
    text-align: center;
    color: #333;
}
.change-password-form .form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.change-password-form label {
    flex-basis: 40%;
    margin-right: 10px;
}
.change-password-form input[type="password"] {
    flex-basis: 60%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.change-password-form .error {
    color: #d63638;
    margin-bottom: 15px;
}
.change-password-form .description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}
.change-password-form .change-password-submit {
    text-align: center;
}
.change-password-form input[type="submit"] {
    background-color: #f76a0c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}
.change-password-form input[type="submit"]:hover {
    background-color: #005177;
}
/*icon css ashish*/
.tender-icons {
    display: flex;
}
.tender-alerticons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    padding-left: 10px;
}

.tender-alerticons img {
    display: block;
    margin-right: 15px;
}

.tender-alerticons img:last-child {
    margin-right: 0;
}

.register-form-container input#gform_submit_button_25 {
    width: 100%;
    padding: 14px;
    background-color: var(--global-palette1, #f3570d);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(243, 87, 13, 0.2);
    line-height: 1.6;
}

.sign-up-information {
    margin-top: 50px;
}

.header_flags img {
  	margin-right: 10px;
  	border-radius: 50%;         
  	transition: transform 0.3s ease, box-shadow 0.3s ease; 
  	cursor: pointer;
}

.header_flags img:hover {
  	transform: scale(1.2);
  	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow on hover */
}

.widget-area .flex-boxes a {
	color: #f79942 !important;
}


/* Default (Mobile and small screens) */
.pciwgas-cat-wrap.grid-cols.grid-sm-col-2.grid-lg-col-4.wine-design.countries.pciwgas-design-1 {
    column-gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns for small screens */
}

/* Medium screens (e.g., Tablets) */
@media (min-width: 768px) {
    .pciwgas-cat-wrap.grid-cols.grid-sm-col-2.grid-lg-col-4.wine-design.countries.pciwgas-design-1 {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns for medium screens */
    }
}

/* Large screens (Desktop and above) */
@media (min-width: 1024px) {
    .pciwgas-cat-wrap.grid-cols.grid-sm-col-2.grid-lg-col-4.wine-design.countries.pciwgas-design-1 {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 columns for large screens */
    }
}

@media (max-width: 600px) {
    .pciwgas-cat-wrap.countries .pciwgas-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.form-siderbar-content{
    margin-top: 150px;
}

.login-subscribe-apply-tender {
    display: flex
;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.cw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cw-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    position: fixed;
    top: 50%;
    left: 50%;
  }
  
  .cw-modal h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--global-palette3);
  }
  
  .cw-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .cw-btn:hover {
    transform: translateY(-2px);
  }
  
  .cw-btn-yes {
    background-color: var(--global-palette1);
    color: white;
  }
  
  .cw-btn-yes:hover {
    background-color: var(--global-palette2);
  }
  
  .cw-btn-no {
    background-color: #f0f0f0;
    color: var(--global-palette4);
  }
  
  .cw-btn-no:hover {
    background-color: #e0e0e0;
  }

.sticky-footer-bar {
    position: fixed; /* Default state: sticky */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between; /* Key change for left/right alignment */
    align-items: center;
    z-index: 1030; 
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    gap: 15px; 
}

.sticky-footer-left,
.sticky-footer-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between items within left/right groups */
}

.sticky-footer-bar .button,
.sticky-footer-bar a.button { /* Target <a> tags styled as buttons */
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Yeseva One';
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent; /* Base border for all buttons */
}

/* Default button appearance (e.g., "Submit Interest", "Apply for Tender" when logged in) */
.sticky-footer-bar .button {
    background-color: #f79942; 
    color: white;
    border-color: #f79942;
}
.sticky-footer-bar .button:hover:not(.disabled) {
    background-color: #f79942; /* Darker blue on hover */
    border-color: #f79942;
}

/* Login buttons styling (e.g., "Login to Subscribe", "Apply for Tender" when logged out) */
.sticky-footer-bar .button.login-btn {
    background-color: #f79942; /* Green */
    border-color: #f79942;
    color: white;
}
.sticky-footer-bar .button.login-btn:hover:not(.disabled) {
    background-color: #f79942; /* Darker green on hover */
    border-color: #f79942;
}

/* Disabled button state */
.sticky-footer-bar .button.disabled {
    background-color: #e9ecef; /* Light grey */
    color: #6c757d; /* Muted text color */
    border-color: #ced4da; /* Grey border */
    cursor: not-allowed;
    /* pointer-events: none; is applied inline via PHP for <a role="button"> */
}
/* No hover effect for disabled buttons */
.sticky-footer-bar .button.disabled:hover {
    background-color: #e9ecef;
    color: #6c757d;
    border-color: #ced4da;
}

/* Hide elements on mobile devices */
@media (max-width: 768px) {
    .sticky-footer-left {
        display: none !important;
    }

    /* Adjust the main sticky bar to center the right content when left is hidden */
    .sticky-footer-bar {
        justify-content: center;
    }
    .sticky-footer-right {
        flex-grow: 1; 
        justify-content: end;
    }
}