/*
Theme Name: Listingeasy - Child
Author: GT3themes
Author URI: http://gt3themes.com
Description: -
Version: 1.1
Template: listingeasy
*/
@import url("../listingeasy/style.css");

body .job_summary_shortcode {
    width: 100% !important;
    margin: 0 !important;
    float: none;
    padding: 0;
    border: none;
    box-shadow: none !important;
    border-radius: 0;
    text-align: left;
}
body .job_summary_shortcode .card:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
}
body .job_summary_shortcode .card__link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/* Video Slider */
.gt3_single_video_thmb {
    position: relative;
}
.gt3_single_video_thmb.gt3_single_thmb.current_sthmb {
    opacity: 0.7;
}
.gt3_single_video_thmb:after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    color: #000;
    font-size: 20px;
    line-height: 1.5;
    content:"\f04b";
    font-family:'FontAwesome';
}
.gt3_single_slide iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
    min-height: 100%;
}

/* Featured jobs widget */
.widget_featured_jobs .job_listings {
    padding-bottom: 24px !important;
}
.widget_featured_jobs .widget-title {
    letter-spacing: -0.3px;
}
.widget_featured_jobs ul.job_listings {
    padding: 0;
    margin: 0;
}
.gt3_widget.job_manager.widget_featured_jobs ul.job_listings li.job_listing {
    padding: 33px 0 0 0;
    margin: 22px 0 0 0;
    list-style: none;
    border-top: 1px solid #eeeeee;
}
.gt3_widget.job_manager.widget_featured_jobs ul.job_listings li.job_listing:first-child {
    margin: 0;
    padding: 0;
    border: none;
}
.widget_featured_jobs ul.job_listings li.job_listing:before {
    display: none;
}
.widget_featured_jobs .listing_featured_posts_image {
    position:relative;
    margin-bottom: 12px;
    display: block;
}
.widget_featured_jobs ul.job_listings li.job_listing a.listing_featured_posts_image img.company_logo {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    left: auto;
    float: none;
    margin: 0;
}
.widget_featured_jobs .listing_meta {
    margin-bottom: 0;
	display: block !important;
}
.widget_featured_jobs .listing_meta,
.widget_featured_jobs .listing_meta span {
    color: #8995a2;
    font-size: 14px;
    line-height: 20px;
}
.widget_featured_jobs h4 {
    margin-bottom: 2px;
}
.widget_featured_jobs .listing_meta i {
    margin-right: 6px;
    font-size: 13px;
}
.widget_featured_jobs .listing_widget_wrapper {
    padding-bottom: 24px;
}
.widget_featured_jobs .featured_posts_content {
    width: 100%;
}
.widget_featured_jobs .listing_meta i {
    color: #28b8dc;
}
.widget_featured_jobs ul.job_listings li.job_listing a {
    display: inline-block;
    vertical-align: top;
}

/* Hello! i de-activated tags plugin and this code below. Also new code in functions.php.
 * As i wrote in e-mail there is something wrong. Searching is not working. After a search using category or region and you scroll down on cellphone page reload and do new search that include all
 * regions and categories
 * Good luck Thanks:)
 */


.gt3_custom_tags_filter {
    text-align: center;
}

.gt3_custom_tags_filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gt3_custom_tags_filter li {
    display: inline-block;
    margin: 0 10px;
}

.gt3_custom_tags_filter label {
    font-weight: normal;
    margin: 0;
}

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

.main_wrapper .gt3_custom_tags_filter ul li:before {
    display: none;
}


@media only screen and (max-width: 899px) {
    .gt3_custom_tags_filter {
        display: none;
        margin-bottom: 20px;
    }
    .show-filters .gt3_custom_tags_filter {
        display: block;
    }
}

/* GT3 Custom Contact Listing */
.gt3_custom_contact_check {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 20;
    background: #28b8dc;
    color: #fff ;
 /*   text-transform: uppercase; */
    padding: 1px 10px;
    font-weight: normal;
    font-size: 14px;
	border: 1px #28b8dc solid;
	border-radius: 20px;
}
.gt3_custom_contact_check input[type="checkbox"] {
    margin: 3px 3px 0 0;
    width: 18px;
    height: 18px;
    vertical-align: top;
}
.gt3_custom_contact_check input[type="checkbox"]:before {
    font-size: 18px;
    line-height: 16px;
}
.gt3_custom_contact_check label {
    margin: 0;
    font-weight: normal;
}
a.popup .gt3_custom_contact_check {
    padding: 3px 10px 4px 10px;
}
a.popup .gt3_custom_contact_check input[type="checkbox"] {
    margin-top: 1px;
}
.gt3_custom_contact_button {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 999999;
    display: none;
    visibility: hidden;

}
.footer_enable .gt3_custom_contact_button {
    position: absolute;
}
.gt3_custom_listings_enable .gt3_custom_contact_button {
    display: inline-block;
    visibility: visible;
}
.page_with_listing_map .gt3_custom_contact_button {
    left: 415px;
}
@media only screen and (max-width: 1200px) {
    .page_with_listing_map .gt3_custom_contact_button {
        left: 280px;
    }
}
@media only screen and (max-width: 899px) {
    .page_with_listing_map .gt3_custom_contact_button {
        left: 50%;
    }
}
.gt3_custom_contact_button a,
.gt3_custom_mobile_contact_direct a {
    display: block;
    width: 100%;
    background: #28b8dc;
    border: 1px #28b8dc solid;
    color: #fff;
    text-transform: uppercase;
    padding: 12px 25px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 23px;
    font-weight: 600;
    box-sizing: border-box;
    text-align: center;

}
.gt3_custom_contact_button a:after {
    content:"\f105";
    font-family:'FontAwesome';
    margin-left: 10px;
}
.gt3_custom_contact_button a:hover,
.gt3_custom_mobile_contact_direct a:hover {
    background: #fff;
    border-color: #c4cad0;
    color: #28b8dc;
}
.single-job_listing .gt3_custom_contact_button,
.single-job_listing.footer_enable .gt3_custom_contact_button {
    margin-bottom: 30px;
    display: block;
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    right: auto;
    transform: none;
    z-index: 1;
    visibility: visible;
}
.single-job_listing .gt3_custom_contact_button a,
.gt3_custom_mobile_contact_direct a {
    border-radius: 5px;
}

.single-job_listing .gt3_custom_contact_button + .gt3_custom_mobile_contact_direct {
    margin-top: -20px;
    margin-bottom: 30px;
}

.single-job_listing .content-container .gt3_custom_contact_button,
.single-job_listing .content-container .gt3_custom_mobile_contact_direct {
    display: none;
}

@media only screen and (max-width: 768px) {
    .single-job_listing .content-container .gt3_custom_contact_button,
    .single-job_listing .content-container .gt3_custom_mobile_contact_direct {
        display: block;
    }
    .single-job_listing .sidebar .gt3_custom_contact_button {
        display: none;
    }
}



.gt3_custom_listings_form .row .span3,
.gt3_custom_listings_form .row [class*="span"] {
    float: none;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
}

.gt3_custom_listings_enable.footer_enable .job_listings .load_more_jobs {
    margin-bottom: 90px;
}

body .wpforms-container input[type=checkbox] {
    -webkit-appearance: none !important;
    appearance: none !important;
}
body .wpforms-container input[type=radio]:checked:before,
body .wpforms-container input[type=radio]:before,
body .wpforms-container input[type=checkbox]:checked:before,
body .wpforms-container input[type=checkbox]:before {
    display: inline-block !important;
}

.admin-bar #contacts-popup {
    top: 122px;
}

#contacts-popup {
    background: #f9f9f9;
    border: 5px #28b8dc solid;
    position: fixed;
    right: 0;
    top: 90px;

    width: 340px;
    height: auto;
    max-height: calc(100vh - 90px);
    overflow: auto;

    box-sizing: border-box;
    padding: 15px;

    text-align: center;

    transform: translateY(calc(-1*100% - 200px));
    transition: transform .4s;
}

#contacts-popup.show {
    transform: translateY(0);
}

#contacts-popup[data-step="0"] .footer {
    display: none;
}

#contacts-popup[data-step="1"] #contacts-body {
/*    display: none;*/
}

.admin-bar .show-listings-wrapper {
    top: 151px;
}

.show-listings-wrapper {
    position: fixed;
    right: 30px;
    top: 125px;
}

.show-listings-wrapper i {
    margin-right: 8px;
}

.show-listings-wrapper button {
    white-space: nowrap;
}

.lists {
    width: 100%;
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}
.contact_item {
    display: flex;
}
.contact_item > * {
    flex: 0 1 auto;
}
.contact_item > div {
    flex: 1 1 auto;
    text-align: left;
}
.contact_item > span {
    margin: 0 5px;
}
.contact_item + button {
    margin-top: 20px;
}
.contact_item + button i {
    margin-left: 10px;
}
#contacts-popup h2 {
    font-size: 18px;
    line-height: 1.5;
    text-transform: uppercase;
}

#contacts-popup .header {
    margin-bottom: 15px;
}

button.closed_button {
    padding: 5px 15px;
    color: #28b8dc;
    background: #fff;
    border-color: #c4cad0;
    font-size: 12px;
}

button.closed_button:hover {
    color: #fff;
    background: #28b8dc;
    border-color: #28b8dc;
}

.footer .wpforms-field-container {
    text-align: left;
}

.footer .wpforms-field-container input.wpforms-field-medium[type="text"],
.footer .wpforms-field-container input.wpforms-field-medium[type="email"] {
    max-width: 100%;
}

.footer .wpforms-submit-container button[type="submit"],
.gt3_widget .wpforms-submit-container button[type="submit"] {
    color: #fff !important;
    background: #28b8dc !important;
    border-color: #28b8dc !important;
    border-radius: 24px;
    font-family: 'Work Sans';
    text-transform: uppercase;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 13px 30px !important;
}
.footer .wpforms-submit-container button[type="submit"]:hover,
.gt3_widget .wpforms-submit-container button[type="submit"]:hover {
    color: #28b8dc !important;
    background: #fff !important;
    border-color: #c4cad0 !important;
}

.single .gt3_custom_contact_button a:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fd4851;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #c4cad0;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
}

.single .gt3_custom_contact_button a[data-checked='yes']:before {
    content: '\2713';
}

.gt3_custom_mobile_contact_direct a {
    position: relative;
}

.gt3_custom_mobile_contact_direct a:before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: inherit;
    content: '\f003';
    font-family:'FontAwesome';
    font-weight: normal;
    font-size: 16px;
}

@media only screen and (max-width: 767px) {
    .show-listings-wrapper {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 30px !important;
    }
    #contacts-popup {
        width: 100%;
        top: 0 !important;
        max-height: 100vh !important;
        z-index: 9999;
    }
    aside.sidebar {
        flex-direction: column;
        display: flex;
    }

    /* Betalat, Premium */
    aside.sidebar.sidebar_sidebar-betalat > div,
    aside.sidebar.sidebar_sidebar-premium > div {
        order: 1;
    }
    aside.sidebar.sidebar_sidebar-betalat > div.gt3_wpforms_widget,
    aside.sidebar.sidebar_sidebar-premium > div.gt3_wpforms_widget {
        order: 15;
    }

    /* Gratis */
    aside.sidebar.sidebar_sidebar-gratis > div.widget_gt3_contact_widget {
        order: 1;
    }
    aside.sidebar.sidebar_sidebar-gratis > div.gt3_wpforms_widget {
        order: 2;
    }
    aside.sidebar.sidebar_sidebar-gratis > div {
        order: 3;
    }

    .page_with_listing_map.show-map .job_filters {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
        padding: 5px 15px 10px 15px;
        margin-bottom: 0;
    }

    .page_with_listing_map.show-map .job_filters .gt3_mobile_buttons {
        margin-top: 0;
    }

    .page_with_listing_map.show-map .show-listings-wrapper {
        top: 90px !important;
    }

}


body[data-show-contact-button="show"] .show-listings-wrapper {
    display: block;
}

body[data-show-contact-button="hide"] .show-listings-wrapper {
    display: none;
}

.wpforms-field.save_as_template input[type="checkbox"]{
    position: relative;
}

/* Custom 07.11.22 */
.gt3_single_slider_thumbs_wrapper {
    padding-top: 40px;
    margin-top: -40px;
    z-index: 10;
}
.gt3_single_slider_thumbs_wrapper:after {
    position: absolute;
    right: 20px;
    top: 0;
    content: attr(data-count-info);
    color: #fff;
}
.gt3_custom_sidebar_advertise {
    position: relative;
    margin: 30px 0;
    text-align: center;
	background: #ffffff;
    border: #eeeeee 1px solid;
    border-radius: 5px;
    padding: 29px;
}
.gt3_custom_sidebar_advertise .gt3_widget {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}
.gt3_custom_sidebar_advertise .widget_media_image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0px;
}
.gt3_custom_sidebar_advertise .widget_media_image figure {

}
.gt3_custom_sidebar_advertise .widget_media_image figure.wp-block-image {
    position: relative;
    margin: 0;
}
.gt3_custom_sidebar_advertise .widget_media_image figure.wp-block-image a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 0;
    line-height: 0;
}
.gt3_custom_sidebar_advertise .widget_media_image figure figcaption {
    margin: 0;
}

/* Tags alignment */
.gt3_custom_tags_filter ul {
    display: flex;
    flex-flow: wrap;
}
.gt3_custom_tags_filter ul > li:first-child {
    display: none;
}
.gt3_custom_tags_filter li {
    width: calc(50% - 25px);
    padding-left: 0 !important;
    margin-left: 0;
}
@media only screen and (max-width: 900px) {
    .gt3_custom_tags_filter li {
        width: 100%;
    }
    .gt3_custom_tags_filter {
        padding: 0 15%;
        display: block;
    }
    .main_wrapper .gt3_listing_with_map .search_jobs,
    .gt3_listing_with_map .active-tags {
        visibility: visible;
        height: auto;
    }
	body:not(.show-map) .gt3_listing_with_map .active-tags,
    body:not(.show-map) .main_wrapper .gt3_listing_with_map .search_jobs {
        visibility: visible !important;
        height: auto !important;
    }
    body.show-map .main_wrapper .gt3_listing_with_map .search_jobs,
    body.show-map .main_wrapper .gt3_listing_with_map .gt3_custom_tags_filter,
    body.show-map .gt3_listing_with_map .active-tags {
        visibility: hidden;
        height: 0;
        display: none;
    }
    .gt3_mobile_buttons button {
        margin-left: 0;
        margin-right: 0;
    }
    .gt3_mobile_buttons button.btn_filter {
        display: none;
    }
	.gt3_mobile_tags_wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
}
.gt3-guests {
    position: relative;
    padding-left: 20px;
	font-size: 13px;
}
.gt3-guests:before {
    width: 20px;
    height: 22px;
    background-image: url("./chair.webp");
    background-repeat: no-repeat;
    background-size: cover;
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -11px;
}

@media only screen and (min-width: 901px) {
    .gt3_custom_tags_filter {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* New custom */
.gt3_listing_grid .card__content,
.gt3_listing_part .card__content,
.job_listings  .card__content{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.gt3_listing_grid .card__content > *,
.gt3_listing_part .card__content > *,
.job_listings  .card__content > * {
    width: 100%;
}
.gt3_listing_grid .card__content .card_footer__container,
.gt3_listing_part .card__content .card_footer__container,
.job_listings  .card__content .card_footer__container {
    display: flex;
    align-items: flex-end;
}
.gt3_listing_grid .card__content div:empty,
.gt3_listing_part .card__content div:empty,
.job_listings  .card__content div:empty {
    display: none !important;
}
.gt3-yellow_text {
	background: #fbaf2d;
	color: #fff;
	text-align: center;
}
aside.card__image .gt3-yellow_text {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 30;
}
.gt3_custom_sidebar_advertise img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0;
}
.gt3_custom_sidebar_advertise > a {
    display: block;
}
.gt3_listing_grid_without_filter .search_region .select2-selection__rendered {
    padding: 10px 20px !important;
    width: 100% !important;
    margin: 0 !important;
    border: 1px #c4cad0 solid !important;
    min-height: 50px;
    line-height: 22px;
    font-size: 16px;
    font-weight: normal;
    box-sizing: border-box;
    border-radius: 23px;
    background: none;
    color: rgba(68, 68, 68, 1);
    position: relative;
}
.gt3_listing_grid_without_filter .search_region li:not(.select2-selection__choice) {
    display: none !important;
}
.gt3_listing_grid_without_filter .search_region li.select2-selection__choice {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    line-height: 21px;
    padding: 3px 0;
    border: none;
    margin: 0 10px 0 0 !important;
    color: currentColor !important;
    background: transparent !important;
    text-transform: none;
}
.gt3_listing_grid_without_filter .select2-selection__choice__remove {
    color: rgba(137, 149, 162, 1) !important;
}
.gt3_listing_grid_without_filter .select2-selection__choice:hover .select2-selection__choice__remove {
    color: currentColor !important;
}

.widget_featured_jobs ul.job_listings li.job_listing a {
    padding: 0;
    background: none !important;
}
.widget_featured_jobs ul.job_listings li {
    padding: 33px 0 0 0;
    margin: 22px 0 0 0;
    list-style: none;
    border: none;
    border-top: 1px solid #eeeeee;
}
.widget_featured_jobs ul.job_listings li:first-child {
    margin: 0;
    padding: 0;
    border: none;
}
body:not(.gt3_single_listing_pro) .contact_widget_website,
body:not(.gt3_single_listing_pro) .contact_widget_socials {
    display: none!important;
}

.gt3-listing-breadcrumbs-holder {
    height: 71px;
}





.search-guests-title {
    display: flex;
    justify-content: start;
    align-items: center;
}

.job-manager-filter.search-guests-input {
    width: 100%;
}

body .gt3_single_slider_large_image a {
    width: 30px;
    height: 30px;
    margin-top: -15px;
}
body .gt3_single_slider_controls a i {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
}
body .gt3_single_slider_prev_btn,
body .gt3_single_slider_large_image:hover .gt3_single_slider_prev_btn {
    left:10px;
}
body .gt3_single_slider_next_btn,
body .gt3_single_slider_large_image:hover .gt3_single_slider_next_btn {
    right:10px;
}

@media only screen and (min-width: 901px) {
    body .gt3_custom_tags_filter,
    .search_guests {
        margin-left: auto;
        margin-right: auto;
        max-width: 430px;
    }
    .gt3_custom_tags_filter ul {
        margin-right: -40px;
    }
    body.page_with_listing_map .search_guests {
       margin-left: 0;
       max-width: 370px;
    }
    body:not(.page_with_listing_map) .gt3_custom_tags_filter ul {
        margin-right: -193px;
    }
}
body .search-guests-title h3 {
    margin-top: 0;
}
.search-guests-title .guests-limit {
    margin-left: 15px;
}
.btn_hide_map,
.show-map .btn_show_map {
    display: none;
}
.show-map .btn_hide_map {
    display: block;
}
@media only screen and (max-width: 600px) {
    body .gt3_header_builder_button_component {
        display: inline-block;
    }
}
body .pac-container {
    margin: 5px 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    box-shadow: 20px 20px 50px rgba(58, 87, 135, 0.1);
    font-family: "Work Sans", sans-serif;
    overflow: hidden;
}
body .pac-container.pac-logo:after {
    display: none;
}
body .pac-container .pac-item {
    display: flex;
    align-items: center;
    padding: 6px 20px;
    border-top: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #8995a2;
    cursor: pointer;
}
body .pac-container .pac-item + .pac-item {
    border-top: 1px solid #f0f2f4;
}
body .pac-container .pac-item-query {
    padding-right: 6px;
    font-size: 16px;
    color: #1c2b3a;
}
body .pac-container .pac-matched {
    font-weight: 600;
}
body .pac-container .pac-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0 12px 0 0;
    background-image: none;
    background-color: #28b8dc;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}
body .pac-container .pac-item:hover,
body .pac-container .pac-item-selected,
body .pac-container .pac-item-selected:hover {
    background-color: #28b8dc;
    color: #fff;
}
body .pac-container .pac-item:hover .pac-item-query,
body .pac-container .pac-item-selected .pac-item-query {
    color: #fff;
}
body .pac-container .pac-item:hover .pac-icon,
body .pac-container .pac-item-selected .pac-icon {
    background-color: #fff;
}
.gps_range .gt3-radius-title {
    display: flex;
    justify-content: start;
    align-items: center;
}
.gps_range .gt3-radius-title h3 {
    margin-top: 0;
    font-size: 15px;
}
.gps_range .gt3-radius-value {
    margin-left: 15px;
    font-size: 15px;
}
/* Guests title 15px (overrides inline 19px !important) */
body form.job_filters .search_guests .search-guests-title h3,
body form.job_filters .search_guests .search-guests-title .guests-limit,
body form.job_filters .search_guests .search-guests-title .guests-min {
    font-size: 15px !important;
}
.gps_range .gt3-radius-input {
    width: 100%;
}
/* Plugin rangeslider (when Location field is on): look like the native range */
#gps_range .rangeslider {
    height: 6px;
    margin: 7px 2px;
    border: 1px solid #b2b2b2;
    border-radius: 3px;
    background: #efefef;
    box-shadow: none;
    cursor: pointer;
}
#gps_range .rangeslider__fill {
    height: 100%;
    border-radius: 3px;
    background: #0075ff;
    box-shadow: none;
}
#gps_range .rangeslider__handle {
    top: -6px;
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background: #0075ff;
    background-image: none;
    box-shadow: none;
}
#gps_range .rangeslider__handle:after {
    display: none;
}
.gps_range.gt3-radius-inactive > * {
    opacity: 0.45;
    pointer-events: none;
}
@media (min-width: 768px) {
    form.job_filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        align-items: center;
    }
    form.job_filters > * {
        grid-column: 1 / -1;
    }
    form.job_filters .search_jobs {
        display: contents;
    }
    form.job_filters .search_keywords {
        grid-column: 1;
        grid-row: 2;
    }
    form.job_filters .search_keywords input {
        width: 100%;
    }
    form.job_filters .gps_range {
        grid-column: 2;
        grid-row: 2;
        display: block;
        margin: 0;
    }
    form.job_filters .search_region {
        grid-column: 1;
        grid-row: 3;
    }
    form.job_filters .select-categories {
        grid-column: 2;
        grid-row: 3;
    }
    .main_wrapper form.job_filters .search_jobs > .search_region,
    .main_wrapper form.job_filters .search_jobs > .select-categories {
        margin-top: 30px;
    }
    form.job_filters .search_region .select2-container,
    form.job_filters .select-categories .select2-container {
        width: 100% !important;
    }
    form.job_filters .select2-container .select2-selection {
        width: 100%;
    }
    form.job_filters .active-tags {
        display: none;
    }
    form.job_filters .gt3_custom_tags_filter {
        grid-row: 4;
        justify-self: start;
        width: 100%;
        margin-top: 25px;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        text-align: left;
    }
    form.job_filters .gt3_custom_tags_filter ul {
        justify-content: flex-start;
        margin-left: 0;
        padding-left: 0;
    }
    form.job_filters .gt3_custom_tags_filter li,
    form.job_filters .gt3_custom_tags_filter label {
        text-align: left;
    }
    form.job_filters .search_guests {
        grid-column: 1;
        grid-row: 5;
        width: 100%;
        max-width: none;
        margin-top: 20px;
        text-align: left;
    }
    form.job_filters .search_guests .search-guests-input {
        width: 100%;
    }
    form.job_filters .showing_jobs {
        grid-row: 6;
    }
}
form.job_filters .gt3-keywords-clearable {
    position: relative;
}
form.job_filters .gt3-keywords-clearable input {
    padding-right: 45px;
    box-sizing: border-box;
}
.gt3-keywords-clear {
    display: none;
    position: absolute;
    top: 50%;
    right: 15px;
    padding: 5px;
    transform: translateY(-50%);
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #444;
    cursor: pointer;
}
.gt3-keywords-clear.is-visible {
    display: block;
}

.gt3_listing_grid_without_filter .gps_range {
    display: none !important;
}
.gt3-show-on-map-wrap {
    margin-top: 25px;
    text-align: left;
}
.gt3-show-on-map {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background-color: #28b8dc;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
}
form.job_filters .showing_jobs > span + a.reset {
    margin-left: 5px;
    padding-left: 10px;
}
.gt3-show-on-map:hover,
.gt3-show-on-map:focus {
    background-color: #1fa3c4;
    color: #fff;
}
/* Mobile: full-width button, same as the map filters popup */
@media (max-width: 767px) {
    .gt3-show-on-map {
        display: block;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 600;
        line-height: 22px;
        text-align: center;
        text-transform: uppercase;
    }
}
@media (min-width: 768px) {
    .gt3_listing_grid form.job_filters .gt3-show-on-map-wrap {
        grid-column: 1;
        grid-row: 6;
        justify-self: start;
    }
    .gt3_listing_grid form.job_filters .showing_jobs {
        grid-row: 7;
    }
}
/* Mobile map view: keep only the "Visa Filter" button in the bottom panel */
.show-map form.job_filters .search_guests,
.show-map form.job_filters .gps_range {
    display: none !important;
}
/* Mobile map page: search on top, results sheet, full-screen filters (js/map-sheet.js) */
.gt3-sheet-filter-btn,
.gt3-sheet-reset,
.gt3-filters-close,
.gt3-filters-apply-wrap {
    display: none;
}
@media (max-width: 899px) {
    body.gt3-sheet-mode {
        overflow: hidden;
    }
    .gt3-sheet-mode #footer,
    .gt3-sheet-mode form.job_filters .gt3_mobile_buttons {
        display: none !important;
    }
    .gt3-sheet-mode .gt3_listing_with_map .gt3_map_part {
        display: block !important;
        position: fixed;
        top: var(--gt3-sheet-map-top, 0px);
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        z-index: 30;
    }
    .gt3-sheet-mode .gt3_listing_with_map .gt3_map_part,
    .gt3-sheet-mode .gt3_map_part .gt3_map_wrapper_container,
    .gt3-sheet-mode .gt3_map_part #map {
        visibility: visible !important;
    }
    .gt3-sheet-mode .gt3_map_part .gt3_map_wrapper_container,
    .gt3-sheet-mode .gt3_map_part #map {
        height: 100% !important;
    }
    .gt3-sheet-mode .leaflet-top.leaflet-left {
        bottom: calc(var(--gt3-sheet-collapsed, 200px) + 10px);
    }

    /* Results sheet */
    .gt3-sheet-mode .gt3_listing_with_map .gt3_listing_part {
        position: fixed;
        top: calc(100% - 260px);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0;
        padding: 0 15px 30px;
        overflow: hidden;
        background-color: #f9f9f9;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        transition: top 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .gt3-sheet-mode.gt3-sheet-expanded .gt3_listing_with_map .gt3_listing_part {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gt3-sheet-mode .gt3_listing_part.is-dragging {
        transition: none;
    }
    .gt3-sheet__handle {
        position: sticky;
        top: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        margin: 0 -15px;
        background-color: #f9f9f9;
        cursor: grab;
        touch-action: none;
    }
    .gt3-sheet__handle span {
        width: 40px;
        height: 4px;
        border-radius: 2px;
        background-color: #c4ccd4;
    }
    .gt3-sheet__up,
    .gt3-sheet__down,
    .gt3-sheet__up:hover,
    .gt3-sheet__down:hover,
    .gt3-sheet__up:focus,
    .gt3-sheet__down:focus,
    .gt3-sheet__up:active,
    .gt3-sheet__down:active {
        position: absolute;
        top: 0;
        width: 36px;
        height: 30px;
        margin: 0;
        padding: 0;
        border: 0;
        outline: none;
        background: transparent !important;
        box-shadow: none !important;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .gt3-sheet__up {
        left: 6px;
    }
    .gt3-sheet__down {
        left: 42px;
    }
    .gt3-sheet__up:before,
    .gt3-sheet__down:before {
        content: "";
        position: absolute;
        left: 14px;
        width: 8px;
        height: 8px;
        border-top: 2px solid #334e6f;
        border-left: 2px solid #334e6f;
    }
    .gt3-sheet__up:before {
        top: 14px;
        transform: rotate(45deg);
    }
    .gt3-sheet__down:before {
        top: 8px;
        transform: rotate(225deg);
    }
    .gt3-sheet-mode.gt3-sheet-min:not(.gt3-filters-open) form.job_filters .gps_range,
    .gt3-sheet-mode.gt3-sheet-min:not(.gt3-filters-open) form.job_filters .gt3-sheet-reset {
        display: none !important;
    }

    /* Sheet head: results + Filter, proximity, reset */
    .gt3-sheet-mode form.job_filters {
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters > *:not(.search_jobs):not(.showing_jobs):not(.gps_range):not(.gt3-sheet-filter-btn):not(.gt3-sheet-reset),
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .search_jobs > *:not(.search_keywords) {
        display: none !important;
    }
    .gt3-sheet-mode form.job_filters .showing_jobs {
        order: -3;
        display: flow-root !important;
        margin: 0 0 10px;
        touch-action: none;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .showing_jobs {
        min-height: 44px;
        padding-right: 110px;
        line-height: 44px;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .showing_jobs > span,
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .showing_jobs > a {
        display: none !important;
    }
    .gt3-sheet-mode form.job_filters .gps_range {
        order: -2;
        display: block !important;
        margin: 0 0 10px;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gt3-sheet-filter-btn {
        position: absolute;
        top: 0;
        right: 0;
        display: inline-block;
        height: 36px;
        margin-top: 4px;
        padding: 0 18px;
        border: 1px solid #334e6f;
        border-radius: 30px;
        background: #fff;
        font-size: 13px;
        line-height: 34px;
        color: #334e6f;
        cursor: pointer;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters.has-reset .gt3-sheet-reset {
        order: -1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin: 0 0 5px;
        font-size: 13px;
    }
    .gt3-sheet-mode form.job_filters .gt3-sheet-location {
        overflow: hidden;
        min-width: 0;
        margin-right: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #8995a2;
    }
    .gt3-sheet-mode form.job_filters .gt3-sheet-reset-link {
        flex-shrink: 0;
        color: #28b8dc;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters {
        margin-bottom: 8px !important;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .showing_jobs {
        min-height: 36px;
        margin-bottom: 0;
        line-height: 36px;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gt3-sheet-filter-btn {
        margin-top: 0;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gps_range {
        margin-bottom: 0;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gps_range .gt3-radius-title h3,
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gps_range .gt3-radius-value {
        margin: 0;
        line-height: 1.3;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gps_range .gt3-radius-value {
        margin-left: 10px;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gps_range .gt3-radius-input {
        margin: 4px 0 0;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters.has-reset .gt3-sheet-reset {
        margin: 2px 0 4px;
        line-height: 1.2;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .showing_jobs .results {
        font-size: 15px;
    }
    .gt3-sheet-mode form.job_filters .gps_range .gt3-radius-title h3,
    .gt3-sheet-mode form.job_filters .gps_range .gt3-radius-value {
        font-size: 15px !important;
        line-height: 1.6;
    }

    /* Keyword search fixed under the header */
    .gt3-sheet-mode form.job_filters .search_keywords input {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .gt3-keywords-clear {
        right: 30px;
    }
    .gt3-sheet-mode:not(.gt3-filters-open) form.job_filters .search_keywords {
        box-sizing: border-box;
        position: fixed;
        top: var(--gt3-sheet-header, 0px);
        right: 0;
        left: 0;
        z-index: 45;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 10px 15px !important;
        background-color: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    /* Filters open: the whole sheet goes full screen, cards stay below */
    .gt3-filters-open.gt3-sheet-mode .gt3_listing_with_map .gt3_listing_part {
        overflow-y: auto;
        border-radius: 0;
        -webkit-overflow-scrolling: touch;
    }
    .gt3-filters-open.gt3-sheet-mode .gt3-sheet__handle {
        display: none;
    }
    /* Fields start below the close button */
    .gt3-filters-open.gt3-sheet-mode form.job_filters {
        padding-top: 65px;
    }
    .gt3-filters-open.gt3-sheet-mode form.job_filters .showing_jobs {
        order: 0;
        margin: 15px 0 0;
    }
    .gt3-filters-open.gt3-sheet-mode form.job_filters .search_jobs > *,
    .gt3-filters-open.gt3-sheet-mode form.job_filters .select2-container {
        width: 100% !important;
        max-width: none !important;
    }
    .gt3-filters-open.gt3-sheet-mode form.job_filters .gt3-filters-close {
        position: absolute;
        top: 12px;
        right: 0;
        z-index: 2;
        display: block;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #e3f4f9;
        font-size: 24px;
        font-weight: 300;
        line-height: 40px;
        color: #334e6f;
        cursor: pointer;
    }
    /* Proximity under guests, as in the grid */
    .gt3-filters-open.gt3-sheet-mode form.job_filters .gps_range {
        order: 0;
        margin: 10px 0 0;
    }
    .gt3-sheet-mode form.job_filters .search-guests-title h3,
    .gt3-sheet-mode form.job_filters .search-guests-title .guests-limit {
        font-size: 15px !important;
        line-height: 1.6;
    }
    .gt3-filters-open.gt3-sheet-mode form.job_filters .gt3-filters-apply-wrap {
        display: block;
        margin: 20px 0 10px;
    }
    .gt3-filters-apply {
        width: 100%;
        padding: 14px 20px;
        border: 0;
        border-radius: 30px;
        background-color: #28b8dc;
        font-size: 16px;
        color: #fff;
        cursor: pointer;
    }

    /* Saved venues button (React): top right under the header, counter + arrow */
    .show-listings-wrapper {
        top: var(--gt3-saved-top, 12px) !important;
        right: 15px !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        z-index: 999;
        transform: none !important;
    }
    .gt3-sheet-mode .show-listings-wrapper {
        top: calc(var(--gt3-sheet-map-top, 0px) + 12px) !important;
        right: 15px !important;
        bottom: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        z-index: 46;
        transform: none !important;
    }
    /* Filters open: top left under the header, next to the close button (right) */
    .gt3-sheet-mode.gt3-filters-open .show-listings-wrapper {
        top: calc(var(--gt3-sheet-header, 0px) + 14px) !important;
        right: auto !important;
        left: 15px !important;
    }
    .show-listings-wrapper button {
        display: flex !important;
        align-items: center;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 7px 14px 7px 7px !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    .show-listings-wrapper button .fa {
        display: none;
    }
    .show-listings-wrapper button:before {
        content: attr(data-count);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        margin-right: 8px;
        padding: 0 6px;
        border-radius: 11px;
        background-color: #fff;
        font-size: 12px;
        color: #28b8dc;
        box-sizing: border-box;
    }
    .show-listings-wrapper button:after {
        content: "";
        flex-shrink: 0;
        width: 12px;
        height: 12px;
        margin-left: 10px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M2 10L10 2M4 2h6v6'/%3E%3C/svg%3E") no-repeat center / contain;
    }
    .gt3-sheet-mode .gt3_map_search_on_move {
        top: auto !important;
        bottom: calc(var(--gt3-sheet-collapsed, 200px) + 10px);
        left: 15px;
        z-index: 1000001;
        margin: 0;
    }
}

/* Map popup photo: hidden while loading, then fades in (js/map-popup.js) */
.leaflet-popup .popup__image.is-loading {
    opacity: 0;
}
.leaflet-popup .popup__image.is-loading.is-loaded {
    opacity: 1;
    transition: opacity 0.35s ease;
}
