/*
 Theme Name:   My Listing Child Merged
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  MyListing Child Theme
 Author:       27collective
 Author URI:   https://27collective.net/
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/

#submit-job-form .field-head {
    justify-content: start !important;
    align-items: flex-end;
}

.card {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-body {
    padding: 20px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-content {
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    color: #333;
}

.card-text {
    font-size: 14px;
    color: #666;
}

.announcement-status {
    font-size: 14px;
    color: #888;
}
.c27-blank-slide{
    background: none !important;
}


/* Styles for the row containing the search section and the add listing button */
.row {
    margin-bottom: 20px; /* Adjust spacing as needed */
}

/* Custom Search Card Styles */
.custom-search-card {
    background-color: #33475b; /* Dark blue */
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow */
    height: 200px; /* Adjust height as necessary */
}

.custom-search-card h2 {
    margin-bottom: 10px;
    font-size: 3.75rem; /* Adjusted font size */
    text-align: center; /* Center heading */
    color: white;
}

.custom-search-card h2 span {
    color: #0da88c; /* Light blue color for "Already Listed?" */
}

.custom-search-card p {
    margin-bottom: 20px;
    font-size: 2.2rem; /* Adjusted font size */
    text-align: center; /* Center subheading */
    color: white;
}

.search-box {
    display: flex; /* Use flexbox for positioning */
    align-items: center; /* Align items vertically */
    background-color: #33475b; /* Same as input background for seamless integration */
    padding: 5px 35px; /* Padding inside the search box */
    border-radius: 5px; /* Border radius for the search box */
    position: relative; /* Set relative positioning for the parent */
}

.search-box input[type="search"] {
    flex-grow: 1; /* Input will fill the space */
    padding: 10px 5px; /* Padding inside the input */
    border-bottom: 1px solid #a2a9b0; /* No border for the input */
/*    border-radius: 5px; */
    background-color: transparent; /* Transparent background */
    color: #a2a9b0;
}

/* Adjust the search button style */
.search-box button {
    margin-left: 10px; /* Space between input and button */
    padding: 0; /* Reset padding */
    background-color: transparent;
    border: none;
    color: #49a6e9; /* Light blue icon */
    cursor: pointer;
}

.search-box input::placeholder {
    color: #a2a9b0; /* Lighter placeholder text */
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px; /* Adjusted to align with the input field */
    padding: 10px;
    background-color: transparent;
    border: none;
    color: #49a6e9; /* Light blue icon */
    cursor: pointer;
    font-size: 1.5rem; /* Larger icon */
}

/* Additional changes for search icon to align with input text */
.mi-search {
    font-size: 1.5rem; /* Adjust the font size of the search icon */
    vertical-align: middle; /* Align vertically with the text */
}

/* Add Listing Button Styles */
.custom-add-listing-card {
    background-color: #27ae60; /* Bright green */
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow */
    position: relative; /* For icon positioning */
    height: 200px; /* Adjust as necessary */
}

.add-listing-btn {
    color: #33475b; /* Black color for the text */
    text-decoration: none;
    font-weight: bold;
    display: flex;
    flex-direction: column; /* Stack the words */
    align-items: flex-start; /* Align to the left */
}
.add-listing-btn:hover {
    color: #33475b;
}

.add-listing-btn .add {
    color: #fff; /* White color for "ADD" */
}

/* Icon styles */
.custom-add-listing-card .material-icons {
    position: absolute;
    right: 50px; /* Adjust the spacing to the right as needed */
    top: 90px;
    color: #33475b; /* Black color for the icon */
    font-size: 5.5rem; /* Adjust the size as needed */
}

/* Adjust the size of the words */
.add-listing-btn span {
    font-size: 3.5rem; /* Adjust the font size as needed */
    line-height: 1.2; /* Adjust the line height as needed */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-search-card, .custom-add-listing-card {
        height: auto; /* Responsive height */
        padding: 15px;
    }

    .custom-search-card h2,
    .custom-search-card p,
    .add-listing-btn span {
        font-size: 1rem; /* Smaller font size on mobile */
    }

    .search-box input[type="search"], .search-box button {
        font-size: 0.8rem;
    }

    .custom-add-listing-card .material-icons {
        font-size: 1.5rem; /* Smaller icon on mobile */
    }
}

#search-results {
    position: absolute;
    z-index: 1000; /* Make sure it appears above other content */
    width: 100%; /* Match the width of the search box */
    max-height: 300px; /* Limit the height of the dropdown */
    overflow-y: auto; /* Add scroll for overflow */
    background: white;
    border: 1px solid #ccc; /* A light border for the dropdown */
    border-top: none; /* Remove the top border */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Slight shadow for depth */
    border-radius: 0 0 4px 4px; /* Rounded corners at the bottom */
    top: 100%; /* Position directly below the search box */
}

/* Style for individual search result items */
.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee; /* A subtle border for each item */
    cursor: pointer; /* Suggest to the user these are clickable */
    background: #FFF; /* Background color for result items */
}

.search-result-item:hover {
    background: #f9f9f9; /* Slightly darker background on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #search-results {
        max-height: 200px; /* Slightly smaller dropdown on mobile */
    }
}


.explore-filter .instant-results {
    z-index: 9999 !important;
}

.fs-tabs .tab-content {
    overflow: unset !important;
}



@keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.pulsate-effect {
    animation: pulsate 1s ease infinite;
}



@keyframes flashing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.my-listings-buttons .card.listing-action-card {
    cursor: pointer;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.my-listings-buttons .card.listing-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.my-listings-buttons .card-header {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    border: none;
}

.my-listings-buttons .card-body {
    background-color: #fff;
    color: #666;
    padding: 1.25rem;
    animation: flashing 2s infinite;
}

.my-listings-buttons #upgrade-plan-section .card-header {
    background: linear-gradient(to right, #0062E6, #33AEFF);
}

.my-listings-buttons #upgrade-plan-section .card-body {
    background-color: #e8f0fe; /* Light blue background */
}

.my-listings-buttons #bump-listing-section .card-header {
    background: linear-gradient(to right, #218838, #40C057);
}

.my-listings-buttons #bump-listing-section .card-body {
    background-color: #eafaf1; /* Light green background */
}


.instant-results-list.ajax-results {
    max-height: 300px;
    overflow: scroll;
}

/* styling for the checkbox field. */
.promote-options {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.promote-options h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.promote-options p {
    margin-bottom: 20px;
    font-size: 1em;
    color: #666;
}

.promote-option {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

.promote-option .details {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-direction: column;
}

.option-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
/*    margin-left: 15px;*/
}

.price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-grow: 1;
    margin-right: 15px;
}

.option-type {
    background-color: #007bff;
    color: #fff;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 0.9em;
    margin: 10px 0px;
}

.option-duration,
.option-price {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.option-details .option-description {
    margin-top: 10px;
    font-size: 0.9em;
/*    color: #333;*/
    margin-left: 30px;
    padding: 0px 10px;
}

.view-example {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9em;
    margin-left: auto;
}

/* Latest Styles */

.promote-options {
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f9fc; /* Softer background */
}

.promote-options h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.promote-options p {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
}

.promote-option {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom right, #ffffff, #f1f3f5); /* Subtle gradient */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promote-option:hover {
    transform: scale(1.03); /* Subtle hover effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.promote-option .details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.option-type {
    background: #007bff; /* Primary color for badges */
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}

.option-details label {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.option-details .option-description {
    margin-top: 8px;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.option-duration {
    font-size: 1em;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 5px;
}

.option-price {
    font-size: 1.5em;
    color: #28a745;
    font-weight: bold;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #007bff; /* Custom checkbox color */
}

.checkbox-container label {
    margin-left: 10px;
    font-size: 1.2em;
    color: #333;
    cursor: pointer;
}

/* Highlight selected option */
.promote-option.selected {
    border-color: #007bff;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2);
    background: linear-gradient(to bottom right, #e6f0ff, #cce0ff); /* Light blue background for selected state */
    background: linear-gradient(to bottom right, #e6f0ff, #a8c6f5); /* Light blue background for selected state */
    transform: scale(1.05); /* Slightly larger on selection */
    transition: all 0.3s ease;
}

.promote-option {
    cursor: pointer; /* Pointer cursor for the entire card */
}

.promote-option input[type="checkbox"] {
    cursor: pointer; /* Pointer cursor for the checkbox */
}


.custom-link-repeater .item-head {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the image and input */
}

.custom-link-repeater .repeater-image {
    width: 80px;
    height: 40px;
    object-fit: cover; /* Ensures image fits within dimensions */
    border-radius: 5px; /* Optional rounded corners */
}

.term-loader {
    position: absolute;
/*    top: 50%;*/
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.term-loader .spinner {
    width: 30px;
    height: 30px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.custom-menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: self-start;
    gap: 15px;
}

.custom-menu-item a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

.custom-menu-item a:hover{
    background-color: #0073aa;
    color: #fff;
}

.login-container {
    justify-content: space-evenly;
    width: 80% !important;

}

.sign-in-wrapper {
    background-color: #fff;
}

.skip-sign-in-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #6c5ce7; /* Elegant Purple */
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #6c5ce7;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.skip-sign-in-btn:hover {
    background-color: #6c5ce7;
    color: #fff;
    text-decoration: none;
}

form.mylisting-register .choose-role-text, form.mylisting-register .role-tabs{
    display: none;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}
#signin-modal .loader-bg {
    position: absolute !important;
}

.hlcuk-archive-custom-main .top-description {
    display: none;
}

.hlcuk-archive-custom-main .top-description.active {
    display: block;
}

.hlcuk-archive-html-bottom {
    display: none;
}

.hlcuk-archive-html-bottom.active {
    display: block;
}

