.woocommerce-account main .woocommerce {
    display: grid;
    grid-template-columns: 300px 1.5fr;
    grid-gap: clamp(15px, 3vw, 60px);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}

.woocommerce-account .woocommerce::after, .woocommerce-account .woocommerce::before {
    display: none;
}

.main_container.full-width main .woocommerce {
    display: block;
}

.profile-block {
    background: #014F99;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 60px;
}

.profile-picture {
    width: 115px;
    height: 115px;
    border-radius: 115px;
    overflow: hidden;
    margin: auto;
}

.profile-picture div {
    width: 100%;
    height: 100%;
    background: no-repeat center / cover;
}


.profile-block p {
    color: #fff;
}

.profile-block p.profile-name {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #FFDA00;
    margin-bottom: 0;
}

.profile-block p.profile-name + p {
    margin-top: 10px;
    margin-bottom: 0;
}

.profile-block p.profile-name + p + p {
    margin-top: 5px;
}

.profile-date strong {
    display: block;
}

.profile-block .button {
    padding: 8px 5px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.profile-block .button + .button {
    margin-top: 15px;
    padding: 8px 40px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul ul {
    border-radius: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    color: #333;
    padding: 13px;
    font-weight: 500;
    border-radius: 5px;
}


.woocommerce-MyAccount-navigation ul ul a {
    padding: 13px 40px;
    font-weight: 300;
}

.woocommerce-MyAccount-navigation ul ul a:hover,
.woocommerce-MyAccount-navigation ul ul li.current-menu-item a,
.woocommerce-MyAccount-navigation > ul > li > a:hover,
.woocommerce-MyAccount-navigation > ul > li.current-menu-item > a {
    text-decoration: none;
    color: #014F99;
    background: #f2f5fa;
}


.account-top {
    margin-bottom: 60px;
}

.account-top .wp_content {
    border-bottom: 1px solid #C4C4C4;
    padding-bottom: 35px;
    margin-bottom: 35px;
}

.border-radius-block {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    background: #fff;
    padding: 50px;
}


.account-options {
    display: flex;
    justify-content: space-between;
}

.account-options > div:nth-child(2) {
    margin-left: 20px;
    flex-basis: 200px;
}

.account-options > div:nth-child(2) .button {
    width: 100%;
    box-sizing: border-box;
    margin-right: 0;
    padding: 8px;
    text-align: center;
}

.account-options > div:nth-child(2) .button:last-child {
    margin-bottom: 0;
}

.account-options > div:nth-child(1) p:last-child {
    margin-bottom: 0;
}

.account-top.middle-block .wp_content {
    margin-bottom: 0;
    border-bottom: none;
}

.account-statics {
    display: flex;
    justify-content: space-between;
    flex: 1 1 auto;
    margin-right: 60px;
}

.account-statics div {
    margin-right: 10px;
}

.account-statics div:last-child {
    margin-right: 0;
}

.account-statics p {
    color: #7C7C76;
}

.account-statics p span {
    font-weight: 900;
    font-size: 72px;
    line-height: 84px;
    color: #80A7CC;
    display: block;
}

.menu-toggle {
    display: none;
}

.account_blocks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: clamp(15px, 2vw, 30px);
}

.account_blocks.count_2 {
    grid-template-columns: 1fr 1fr;
}

.account_blocks > div {
    border-radius: 10px;
    padding: clamp(20px, 3vw, 30px);
    flex-basis: calc(50% - 25px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.account_blocks > div .title_large {
    margin-bottom: 0;
}

.account_blocks > div *:last-child {
    margin-top: auto;
}

.account_blocks > div:nth-child(1) {
    background: #FFDA00;
}

.account_blocks > div:nth-child(1) p {
    color: #014F99;
}

.account_blocks > div:nth-child(2) {
    background: #014F99;
}

.account_blocks > div:nth-child(3) {
    background: #015EB6;
}

.account_blocks > div:nth-child(3) p,
.account_blocks > div:nth-child(2) p {
    color: #fff;
}

#swf_favourites_display, .my-account-inner .new_saved_search_container, .saved_search_container {
    background: #fff;
    padding: 60px 60px 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.my-account-inner + #pagination {
    padding-top: 20px;
}

.add_advert .my-account-inner {
    display: none;
}

.add_advert .my-account-inner.active {

    display: block;
}

div.mce-statusbar {
    display: none;
}

.form-footer {
    display: flex;
    justify-content: space-between;
}

.form-footer.align-right {
    justify-content: flex-end;
}

.woocommerce-page.columns-3 ul.products li.product:nth-child(n), .woocommerce.columns-3 ul.products li.product:nth-child(n) {
    flex-basis: calc(33.3% - 8px);
    margin: 0 10px 10px 0;
    position: relative;
    height: auto !important;
}

.woocommerce-page.columns-3 ul.products li.product:nth-child(3n), .woocommerce.columns-3 ul.products li.product:nth-child(3n) {
    margin-right: 0;
}

.woocommerce-page.columns-3 ul.products li.product button, .woocommerce.columns-3 ul.products li.product button {
    position: absolute;
    text-indent: -999999px;
    overflow: hidden;
    width: 29px;
    height: 29px;
    border: none;
    cursor: pointer;
    transition: .3s;
    background: no-repeat center / 29px url("data:image/svg+xml,%3Csvg width='29' height='29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14.5' cy='14.5' r='14.5' fill='%2380A7CC' fill-opacity='.7'/%3E%3Cpath d='M20.7102 10.132c-.6651-.64955-1.5841-.97416-2.7573-.97416-.3247 0-.656.05629-.9937.16882-.3379.11262-.6522.26456-.9426.4557-.2907.19108-.5406.37054-.7503.53804-.2094.1676-.4084.3457-.5969.5342-.1886-.1885-.3876-.3666-.597-.5342-.2096-.1675-.4596-.34685-.7503-.53804-.2906-.19123-.6049-.34305-.9427-.4557-.3377-.1125-.669-.16882-.9937-.16882-1.1731 0-2.09212.32469-2.7572.97416-.66508.6493-.99764 1.55-.99764 2.7022 0 .3509.06163.7123.18465 1.084.12301.3718.2632.6887.42028.9505.15705.2618.33515.5171.53416.7659.19901.2488.34445.4201.43599.5145.09163.0941.16366.1623.21602.2041l4.90174 4.7291c.0943.0943.2095.1415.3457.1415.1361 0 .2514-.0472.3456-.1413l4.894-4.7134c1.1993-1.1992 1.7989-2.3775 1.7989-3.5349 0-1.1522-.3326-2.0529-.9977-2.7022z' fill='%23014F99'/%3E%3C/svg%3E");
    right: 10px;
    top: 10px;
}

.woocommerce-page.columns-3 ul.products li.product button:hover, .woocommerce.columns-3 ul.products li.product button:hover {
    transform: scale(1.1);
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    height: 50px;
    padding-left: 10px;
    border: 1px solid #ccc;
}

.woocommerce form .form-row input[type=file] {
    padding-left: 0;
}

.form-input-publish.hide,
.form-input-featured.hide {
    display: none;
}

body {
    counter-reset: my-sec-counter;
}

.increment::after {
    /* Increment "my-sec-counter" by 1 */
    counter-increment: my-sec-counter;
    content: "" counter(my-sec-counter);
}

.add_advert label {
    display: block;
    padding-bottom: 10px;
    font-size: 16px;
    color: #333333;
    font-weight: 500;
}

.add_advert label small {
    display: block;
    font-size: 0.9em;
    padding: 6px 0;
    opacity: 0.8;
}

.add_advert label span.bold_span {
    display: block;
    font-weight: bold;
    font-size: 14px;
}

.add_advert input, .add_advert textarea, .add_advert select {
    border: none;
    width: 100%;
    padding-left: 10px;
    box-sizing: border-box;
}

.form-footer {
    padding-top: 20px;
}

.select2-selection__rendered,
.add_advert textarea,
.add_advert input[type=text],
.add_advert input[type=email],
.add_advert input[type=number],
.add_advert select,
.add_advert input[type=tel] {
    height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.add_advert textarea {
    height: 300px;
    resize: none;
}

.select2-selection__rendered {
    height: auto;
}

.add_advert .button {
    width: auto;
    padding-left: 22px;
    margin: 0;
}

.add-advert {
    padding-bottom: 20px;
}


.form_row.address_row p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.select2-container {
    max-width: 100%;
    width: 100% !important;
}

.form_row {
    position: relative;
    margin-bottom: 25px;
}

.form_row.two_col,
.form_row.no-margin {
    margin-bottom: 0;
}

.form_row_inner {
    margin-bottom: 25px;
}

.form_row.no-margin {
    margin-bottom: 0;
}

.form_row:last-child {
    margin-bottom: 0;
}


.upload_info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 3;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.upload_info + label {
    padding-bottom: 20px;
}

.upload_info.hide {
    display: none;
}

.upload_info p {
    text-transform: uppercase;
    font-size: 20px;
    margin: 0;
}

.upload_info span {
    margin-top: 10px;
    width: 100%;
    min-height: 20px;
    display: block;
    background: #399a1d;
    border-radius: 20px;
}

.add_advert input[type=file] {
    padding-left: 0;
}

.upload_info span::after {
    content: '';
    background-image: linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent
    );
    background-size: 50px 50px;
    animation: move 2s linear infinite;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    width: 100%;
    min-height: 100%;
    display: block;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1A61A3;
    opacity: 0.5;
    justify-content: center;
    align-items: center;
    z-index: 3;
    display: none;
}

.loader-wrapper.open {
    display: flex;
}

.loader {
    margin: 100px auto;
    font-size: 25px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load5 {
    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
    }
    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
    }
    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
    }
}

@keyframes load5 {
    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
    }
    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
    }
    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
    }
    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
    }
}

.add_advert .select2-container--default.select2-container--focus .select2-selection--multiple, .add_advert .select2-container--default .select2-selection--multiple {
    border: none;
}

.attribute_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.attribute_row:last-child {
    margin-bottom: 0;
}

.attribute_row input, .attribute_row select {
    flex-basis: calc(42% - 10px);
    box-sizing: border-box;
}

.add_controls {
    flex-basis: calc(15% - 10px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 50px;
}

.add_controls > div {
    width: 23px;
    height: 23px;
    border-radius: 23px;
    background-color: #C4C4C4;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    margin-left: 10px;
    transition: .3s;
}

.add_controls > div:hover {
    opacity: 0.7;
}

.add_attribute_row {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.599 3.437H8.77V5.73H5.6v3.586H3.182V5.73H0V3.437h3.182V0h2.417v3.437z' fill='%23fff'/%3E%3C/svg%3E");
}

.delete_attribute_row {

    background-image: url("data:image/svg+xml,%3Csvg width='8' height='3' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3H0V0h8v3z' fill='%23fff'/%3E%3C/svg%3E");
}

.split_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.custom_make {
    margin-top: 10px;
    display: none;
}

.custom_make.show {
    display: block;
}

.split_row > div {
    flex-basis: calc(50% - 10px);
    margin-top: 10px;
}

.split_row > div:nth-child(1),
.split_row > div:nth-child(2) {
    margin-top: 0;
}

.hide-minus .delete_attribute_row {
    display: none;
}


.radio-row.flex-50-50 > div {
    width: 15%;
}

.radio-row.flex-50-50 {
    justify-content: flex-start;
}

.radio-row > div {
    display: flex;
    margin-right: 10px;
    margin-bottom: 10px;
}

.radio-row > div:last-child {
    margin-right: 0;
}

.add_advert input[type=radio],
.add_advert input[type=checkbox] {
    width: auto;
    margin-right: 10px;
}

.add_advert input[type=checkbox] {
    margin-right: 5px;
}

.add_advert input[type=number] {
    height: 40px;
}

.price_row {
    position: relative;
}

.price_row::before {
    content: '£';
    position: absolute;
    top: 38px;
    left: 9px;
}

.price_row input {
    padding-left: 24px;
}

.checkbox-block > div {
    display: flex;
    margin-bottom: 10px;
}

#file_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;

}

#file_list li {
    width: calc(25% - 10px);
    margin: 0 10px 10px 0;
    height: 30vw;
    max-height: 100px;
    min-height: 50px;
    background: no-repeat center / cover;
    cursor: grab;
    position: relative;
}

#file_list li:nth-child(4n) {
    margin-right: 0;
}

.upload_feedback {
    padding: 10px;
    margin-top: 10px;
    border: 2px solid #399a1d;
    color: #399a1d;
    display: none;
}

.upload_feedback.error-feedback {
    border-color: #d80000;
    color: #d80000;
}

.remove_image {
    position: absolute;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    content: '';
    width: 20px;
    height: 20px;
    top: -3px;
    right: -3px;
    cursor: pointer;
    background: #d80000 no-repeat center / 20px url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cg data-name='1'%3E%3Cpath fill='%23fff' d='M257 461.46c-114 0-206.73-92.74-206.73-206.73S143 48 257 48s206.73 92.74 206.73 206.73S371 461.46 257 461.46zM257 78c-97.45 0-176.73 79.28-176.73 176.73S159.55 431.46 257 431.46s176.73-79.28 176.73-176.73S354.45 78 257 78z'/%3E%3Cpath fill='%23fff' d='M342.92 358a15 15 0 01-10.61-4.39L160.47 181.76a15 15 0 1121.21-21.21L353.53 332.4a15 15 0 01-10.61 25.6z'/%3E%3Cpath fill='%23fff' d='M171.07 358a15 15 0 01-10.6-25.6l171.84-171.85a15 15 0 0121.22 21.21L181.68 353.61a15 15 0 01-10.61 4.39z'/%3E%3C/g%3E%3C/svg%3E");
}

.add_advert .error-wrapper .form_heading,
.add_advert .error-wrapper label {
    padding: 10px;
    border: 1px solid #d80000;
    color: #d80000;
    margin-bottom: 10px;
}

.add_advert {
    position: relative;
}


.add_advert .error-postcode label::after {
    content: ' Please Enter Valid Postcode';
    margin-left: 5px;
}


.price_row.hide {
    display: none;
}

.woocommerce-checkout .col2-set .col-2 {
    display: none;
}

.woocommerce-checkout .col2-set .col-1 {
    width: 100%;
    margin-bottom: 20px;
}

.red-text {
    color: #d80000;
    font-size: 16px;
}

.add_advert input[type='submit'] {
    width: auto;
    padding: 10px 22px;
    border-width: 2px;
    border-style: solid;
}

.form-buttons .button.yellow:hover {
    background-color: #014F99;
    border-color: #014F99;
    color: #fff;
}

.form-buttons .button.hide {
    display: none;
}


.featured_checkboxes > label {
    position: relative;
    padding: 40px;
    box-sizing: border-box;
    gap: 15px;
    align-items: flex-start;
    border-radius: 10px;
    border: 1px solid #ccc;

}

.featured_checkboxes > label.active {
    border-color: #1A61A3;
    background: #f5fafe;;
}

.featured_checkboxes h3 {
    color: #333;
}

.featured_checkboxes strong {
    color: #1A61A3;
}

.featured_checkboxes > label input {
    margin-right: 20px;
}


.standard_wrapper {
    flex-basis: calc(30% - 10px);
}

.standard_wrapper p {
    margin: 0;
}

.advert-date {
    padding-top: 20px;
}


.radio-top {
    padding-bottom: 20px;
}

.featured_checkboxe h3 {
    margin-bottom: 0.5em;
}

.featured_wrapper {
    flex: 1 0 calc(70% - 10px);
}

.featured_wrapper > div {
    flex-grow: 1;
}

.featured_wrapper p {
    margin: 0;
}

.featured_wrapper p.title_small strong {
    font-size: 1.4em;
    display: block;
    line-height: 1.4em;
}

.featured_wrapper span {
    background: #FFDA00;
    color: #014F99;
    position: absolute;
    top: -12px;
    left: 40px;
    font-size: 14px;
    font-weight: bold;;
    padding: 5px 10px;
    border-radius: 10px;
}

.minus-margin {
    margin-bottom: 10px;
}

.consent_block label {
    display: inline-block;
}

.consent_block {
    padding: 0;
    background: transparent;
}

.listing_block {
    display: flex;
    border-bottom: 1px solid #C4C4C4;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    align-items: center;
    gap: 20px;
}

.my-listing-left {
    margin-right: 10px;
    display: flex;
    flex-grow: 1;
}

.product_tags {
    display: flex;
    padding-bottom: 20px;
}

.product_tags > div {
    letter-spacing: 0.1em;
    padding: 3px 6px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 10px;
}

.product_tags > div:last-child {
    margin-right: 0;
}

.code-draft {
    background: #D7E8F6;
    color: #014F99;
}

.code-Live {
    background: #DCF3D3;
    color: #0E981C;
}

.is_featured {
    background: #FFDA00;
    color: #014F99;
}

.is_sold {
    background: #FFCCCC;
    color: #B30000;
}

.code-expired {
    color: #7C7C76;
    background: #D2D1D1;
}

.listing_block h4 {
    color: #333333;
}

.ad_meta p {
    margin: 0;
    color: #7C7C76;
}

.listing_thumb {
    width: 30vw;
    height: 30vw;
    max-width: 165px;
    max-height: 120px;
    background: no-repeat center / cover;
    margin-right: 10px;
}

.option-toggle {
    color: #7C7C76;
    padding: 10px 15px 10px 30px;
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.05em;
    border: 2px solid #7C7C76;
    text-transform: uppercase;
    cursor: pointer;
    background: no-repeat 10px center / 13px url("data:image/svg+xml,%3Csvg width='13' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%237C7C76' d='M0 0h13v2H0zM0 8h13v2H0zM0 4h13v2H0z'/%3E%3C/svg%3E");
}

.ad_options {
    position: relative;
}

.option-toggle.open + .available-options {
    display: block;
}

.option-toggle.open {
    background: #AED0EE no-repeat 10px center / 18px url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.668 6.394l2.913-2.913 2.325 2.324-2.913 2.913 3.144 3.145-2.69 2.69-3.145-3.144L5.38 14.33l-2.324-2.324 2.922-2.922L2.92 6.028l2.691-2.69 3.056 3.056z' fill='%23014F99'/%3E%3C/svg%3E");;
    color: #014F99;
    border-color: #AED0EE;
}

.available-options {
    position: absolute;
    width: 250px;
    right: 0;
    display: none;
    z-index: 5;
    padding-top: 7px;
    background: #014F99;
}

.available-options a {
    display: block;
    color: #FFFFFF;
    padding: 7px 20px;
    font-weight: 300;
}

.available-options a:hover {
    text-decoration: none;
    color: #FFDA00;
}

.available-options a.upgrade::before {
    background: #2369AB;
    content: '';
    height: 2px;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.available-options a.upgrade {
    position: relative;
    font-weight: bold;
    padding-bottom: 10px;
}


.available-options a.delete_advert {
    background: #d80000;
    padding: 10px 20px;
    font-weight: bold;
}

.woocommerce-notices-wrapper.validation-error + .custom-error {
    display: none;
}

.create-account-form_wrapper {
    background: #F3F3F3;
    padding: 40px;

}

.create-account-form_wrapper ul {
    margin: 0;
}

.style-radio .gfield_radio {
    display: flex;
}

.style-radio .gfield_radio li {
    margin-right: 10px;
    position: relative;
}

.style-radio .gfield_radio li input {
    position: absolute;
    visibility: hidden;
}

.style-radio .gfield_radio li label {
    display: inline-block;
    background-color: #ddd;
    padding: 10px 20px;
    font-family: sans-serif, Arial;
    font-size: 16px;
    border: 2px solid #444;
    border-radius: 4px;
    cursor: pointer;
}

.style-radio .gfield_radio li input[type="radio"]:checked + label {
    background-color: #014F99;
    border-color: #5AA1E5;
    color: #fff;
}

.g-recaptcha.brochure__form__captcha {
    margin-bottom: 20px;
}

.featured_duration {
    margin-top: 20px;
}

.featured_duration.hide {
    display: none;
}

.flex-check {
    display: flex;
    align-items: center;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.option-extras-checks .form_row {
    display: grid;
    grid-gap: 20px;
}

.option-extras-checks label {
    display: flex;
    align-items: center;
    gap: 20px;
}

.option-extras-checks label:after {
    min-width: 200px;
    height: 48px;
    background: no-repeat center / contain;
    content: '';
}

.option-extras-checks label[for="magazine_feature"]:after {
    background-image: url("data:image/svg+xml,%3Csvg width='99' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.97 18.19v2.56c0 .43-.13.76-.4 1.01s-.63.37-1.09.37c-.45 0-.8-.12-1.07-.36a1.3 1.3 0 01-.41-1V18.2h.8v2.56c0 .26.06.45.18.56.12.12.29.18.5.18.45 0 .68-.24.69-.71v-2.6h.8zM4.84 20.52l-.42.45v1.1h-.8V18.2h.8v1.76l.35-.48.99-1.28h.98l-1.38 1.73 1.42 2.16h-.95l-1-1.56zM7.25 19.38l-.36-.21c.15-.24.23-.49.24-.75v-.45h.6v.42a1.43 1.43 0 01-.49 1zM9.22 21.28c0-.1-.05-.17-.14-.22-.1-.06-.24-.1-.45-.15-.68-.14-1.02-.44-1.02-.88 0-.25.1-.47.31-.64.22-.17.5-.26.84-.26.36 0 .65.09.87.26.22.17.33.4.33.68h-.77c0-.12-.03-.2-.1-.28-.08-.07-.19-.1-.34-.1a.46.46 0 00-.3.08.28.28 0 00-.1.23c0 .08.04.15.12.2.08.06.21.1.4.14.2.04.36.08.49.13.4.15.6.4.6.78 0 .26-.1.47-.33.64-.22.16-.52.24-.87.24-.24 0-.46-.04-.65-.13a1.1 1.1 0 01-.43-.35.84.84 0 01-.16-.5h.72c.01.15.06.25.16.32.09.08.22.11.37.11s.26-.02.34-.08a.26.26 0 00.11-.22zM12.67 21.43h1.7v.65h-2.5v-3.9h.8v3.25zM16.1 22.13c-.42 0-.77-.13-1.03-.39a1.4 1.4 0 01-.4-1.04v-.07c0-.3.06-.55.17-.78.11-.23.27-.4.47-.53.2-.13.44-.19.7-.19.4 0 .7.13.93.38.23.25.34.6.34 1.06v.31h-1.83c.02.2.1.34.22.46.13.11.29.17.48.17.3 0 .53-.1.7-.32l.37.42c-.11.16-.27.3-.47.39-.2.09-.41.13-.65.13zM16 19.76a.48.48 0 00-.37.15.8.8 0 00-.18.45h1.07v-.06c0-.18-.05-.3-.14-.4-.09-.1-.22-.14-.38-.14zM19.39 22.08a.86.86 0 01-.08-.26.93.93 0 01-.72.31c-.29 0-.52-.08-.7-.24a.8.8 0 01-.28-.62c0-.31.1-.55.33-.71.23-.16.56-.25.99-.25h.35v-.16a.47.47 0 00-.1-.33c-.07-.08-.18-.12-.33-.12a.46.46 0 00-.3.1.32.32 0 00-.11.25h-.77c0-.16.05-.32.15-.46.1-.14.25-.25.44-.33.19-.09.4-.13.63-.13.36 0 .64.1.85.27.2.18.31.43.31.76v1.25c0 .27.04.48.11.62v.05h-.77zm-.64-.54c.12 0 .22-.02.32-.07a.5.5 0 00.2-.21v-.5H19c-.38 0-.59.14-.61.4v.05c0 .1.03.17.1.24.06.06.16.1.27.1zM20.52 20.61c0-.45.1-.8.3-1.08.2-.26.48-.4.83-.4.28 0 .51.1.7.32v-1.48h.76v4.1h-.69l-.04-.3a.9.9 0 01-.74.36.98.98 0 01-.81-.4c-.2-.27-.3-.64-.3-1.12zm.77.06c0 .27.05.48.14.62.1.14.23.22.41.22.24 0 .4-.1.5-.3v-1.15c-.1-.2-.26-.3-.5-.3-.36 0-.55.3-.55.9zM24.52 22.08h-.77v-2.9h.77v2.9zm-.82-3.64c0-.12.04-.21.12-.29a.44.44 0 01.32-.11c.13 0 .23.04.3.11.09.08.13.17.13.29 0 .11-.04.21-.12.29a.43.43 0 01-.31.1.44.44 0 01-.32-.1.38.38 0 01-.12-.3zM25.86 19.19l.03.33a1 1 0 01.83-.39c.3 0 .53.1.68.27.15.18.22.45.23.81v1.87h-.77v-1.85c0-.17-.04-.28-.11-.36-.07-.07-.19-.1-.35-.1-.22 0-.38.08-.49.27v2.04h-.77v-2.9h.72zM28.1 20.61c0-.44.1-.8.31-1.07s.5-.4.85-.4c.32 0 .56.1.74.32l.03-.27h.7v2.8c0 .25-.06.46-.17.65a1.1 1.1 0 01-.49.43 1.69 1.69 0 01-1.34.02c-.2-.09-.35-.2-.46-.33l.34-.47c.2.22.43.33.7.33.2 0 .36-.06.48-.17.11-.1.17-.26.17-.47v-.15c-.18.2-.41.3-.7.3-.35 0-.63-.13-.84-.4a1.71 1.71 0 01-.32-1.09v-.03zm.77.06c0 .26.05.46.15.61.1.15.25.23.43.23.24 0 .4-.1.5-.27v-1.21c-.1-.18-.26-.27-.49-.27a.5.5 0 00-.44.23c-.1.15-.15.38-.15.68zM33.77 18.19l1 2.82.99-2.82h1.04v3.89H36V21l.08-1.83-1.04 2.9h-.55l-1.04-2.9.08 1.83v1.07h-.8v-3.9h1.04zM37.33 20.6c0-.28.05-.54.16-.76.11-.23.27-.4.48-.52.2-.13.45-.19.72-.19.39 0 .7.12.95.36.24.24.38.56.41.97v.2c0 .45-.12.8-.36 1.07-.25.27-.58.4-1 .4a1.3 1.3 0 01-.99-.4 1.55 1.55 0 01-.37-1.09v-.03zm.77.06c0 .28.05.49.15.63.1.15.25.22.44.22s.34-.07.44-.22c.1-.14.16-.37.16-.68 0-.27-.06-.48-.16-.63a.51.51 0 00-.44-.22.5.5 0 00-.44.22c-.1.15-.15.37-.15.68zM41.24 19.19l.02.33a1 1 0 01.83-.39c.3 0 .53.1.68.27.15.18.22.45.23.81v1.87h-.77v-1.85c0-.17-.04-.28-.1-.36-.08-.07-.2-.1-.36-.1-.22 0-.38.08-.49.27v2.04h-.77v-2.9h.73zM44.5 18.47v.72h.5v.56h-.5v1.45c0 .1.02.18.06.23.04.04.12.07.24.07l.22-.02v.58c-.15.05-.3.07-.46.07-.54 0-.82-.27-.83-.82v-1.56h-.42v-.56h.42v-.72h.77zM46.17 19.5c.2-.24.46-.37.77-.37.63 0 .94.37.95 1.1v1.85h-.77v-1.83c0-.17-.03-.3-.1-.37-.08-.08-.2-.12-.36-.12-.22 0-.39.09-.49.26v2.06h-.77v-4.1h.77v1.52zM49.28 22.08h-.77v-4.1h.77v4.1zM51 20.98l.52-1.8h.83l-1.16 3.35-.06.15c-.17.38-.46.57-.85.57a1.2 1.2 0 01-.34-.05v-.59h.11c.15 0 .26-.02.33-.06a.44.44 0 00.17-.23l.09-.23-1.01-2.9h.83l.53 1.8zM56.39 20.49h-1.53v1.59h-.8v-3.9h2.52v.66h-1.72v1h1.53v.65zM58.57 22.08a.86.86 0 01-.08-.26.93.93 0 01-.72.31c-.29 0-.52-.08-.7-.24a.8.8 0 01-.28-.62c0-.31.11-.55.34-.71.22-.16.55-.25.98-.25h.35v-.16a.47.47 0 00-.1-.33c-.07-.08-.18-.12-.33-.12a.46.46 0 00-.3.1.32.32 0 00-.11.25h-.77c0-.16.05-.32.16-.46.1-.14.24-.25.43-.33.19-.09.4-.13.63-.13.36 0 .64.1.85.27.2.18.31.43.31.76v1.25c0 .27.04.48.12.62v.05h-.78zm-.64-.54c.12 0 .22-.02.32-.07a.5.5 0 00.21-.21v-.5h-.29c-.38 0-.59.14-.61.4v.05c0 .1.03.17.1.24.06.06.16.1.27.1zM61.44 19.91l-.28-.02c-.29 0-.48.1-.57.3v1.89h-.77v-2.9h.73l.02.35c.15-.26.37-.4.64-.4a.8.8 0 01.24.04l-.01.74zM62.53 19.19l.03.32a1 1 0 01.82-.38c.37 0 .63.15.77.44.2-.3.49-.44.86-.44.31 0 .55.1.7.28.15.18.23.45.23.82v1.85h-.78v-1.85c0-.16-.03-.28-.1-.35-.05-.08-.17-.12-.33-.12-.23 0-.39.11-.48.33v1.99h-.76v-1.84c0-.17-.04-.3-.1-.37-.07-.07-.18-.1-.34-.1a.5.5 0 00-.47.26v2.05h-.77v-2.9h.72zM67.34 22.08h-.77v-2.9h.77v2.9zm-.82-3.64c0-.12.04-.21.12-.29a.44.44 0 01.31-.11c.14 0 .24.04.32.11.08.08.12.17.12.29 0 .11-.04.21-.12.29a.43.43 0 01-.32.1.44.44 0 01-.3-.1.38.38 0 01-.13-.3zM68.68 19.19l.03.33a1 1 0 01.82-.39c.3 0 .54.1.69.27.14.18.22.45.22.81v1.87h-.76v-1.85c0-.17-.04-.28-.11-.36-.07-.07-.19-.1-.35-.1-.22 0-.38.08-.5.27v2.04h-.76v-2.9h.72zM70.92 20.61c0-.44.1-.8.31-1.07s.5-.4.85-.4c.32 0 .56.1.74.32l.03-.27h.7v2.8c0 .25-.06.46-.17.65a1.1 1.1 0 01-.49.43 1.69 1.69 0 01-1.34.02c-.2-.09-.35-.2-.46-.33l.34-.47c.2.22.43.33.7.33.2 0 .36-.06.48-.17.11-.1.17-.26.17-.47v-.15c-.18.2-.41.3-.7.3-.35 0-.63-.13-.84-.4a1.71 1.71 0 01-.32-1.09v-.03zm.77.06c0 .26.05.46.15.61.1.15.25.23.43.23.24 0 .4-.1.5-.27v-1.21c-.1-.18-.26-.27-.5-.27a.5.5 0 00-.43.23c-.1.15-.15.38-.15.68zM76.59 18.19l1 2.82.98-2.82h1.05v3.89h-.8V21l.08-1.83-1.04 2.9h-.55l-1.04-2.9.08 1.83v1.07h-.8v-3.9h1.04zM81.94 22.08a.86.86 0 01-.08-.26.93.93 0 01-.73.31c-.28 0-.51-.08-.7-.24a.8.8 0 01-.28-.62c0-.31.12-.55.34-.71.23-.16.56-.25.98-.25h.36v-.16a.47.47 0 00-.1-.33c-.07-.08-.18-.12-.33-.12a.46.46 0 00-.3.1.32.32 0 00-.11.25h-.77c0-.16.05-.32.15-.46.1-.14.25-.25.44-.33.19-.09.4-.13.63-.13.36 0 .64.1.84.27.21.18.32.43.32.76v1.25c0 .27.04.48.11.62v.05h-.77zm-.64-.54c.11 0 .22-.02.31-.07a.5.5 0 00.22-.21v-.5h-.29c-.38 0-.59.14-.61.4v.05c0 .1.03.17.1.24.06.06.15.1.27.1zM83.08 20.61c0-.44.1-.8.31-1.07s.5-.4.85-.4c.32 0 .56.1.74.32l.03-.27h.7v2.8c0 .25-.06.46-.18.65a1.1 1.1 0 01-.48.43 1.69 1.69 0 01-1.34.02c-.2-.09-.35-.2-.46-.33l.34-.47c.2.22.43.33.7.33.2 0 .36-.06.48-.17.1-.1.17-.26.17-.47v-.15c-.18.2-.41.3-.7.3-.35 0-.63-.13-.84-.4a1.71 1.71 0 01-.32-1.09v-.03zm.77.06c0 .26.05.46.15.61.1.15.25.23.43.23.24 0 .4-.1.5-.27v-1.21c-.1-.18-.26-.27-.5-.27A.5.5 0 0084 20c-.1.15-.15.38-.15.68zM87.97 22.08a.86.86 0 01-.08-.26.93.93 0 01-.73.31c-.28 0-.51-.08-.7-.24a.8.8 0 01-.27-.62c0-.31.1-.55.33-.71.23-.16.56-.25.99-.25h.35v-.16a.47.47 0 00-.1-.33c-.07-.08-.18-.12-.33-.12a.46.46 0 00-.3.1.32.32 0 00-.11.25h-.77c0-.16.05-.32.15-.46.1-.14.25-.25.44-.33.19-.09.4-.13.63-.13.36 0 .64.1.85.27.2.18.31.43.31.76v1.25c0 .27.04.48.11.62v.05h-.77zm-.64-.54c.12 0 .22-.02.32-.07a.5.5 0 00.2-.21v-.5h-.28c-.38 0-.59.14-.61.4v.05c0 .1.03.17.1.24.06.06.16.1.27.1zM90.1 21.46h1.41v.62h-2.39v-.47l1.36-1.8h-1.32v-.62h2.3v.45l-1.36 1.82zM92.8 22.08h-.77v-2.9h.77v2.9zM92 18.44c0-.12.03-.21.11-.29a.44.44 0 01.32-.11c.13 0 .23.04.31.11.08.08.12.17.12.29 0 .11-.04.21-.12.29a.43.43 0 01-.31.1.44.44 0 01-.32-.1.38.38 0 01-.11-.3zM94.15 19.19l.02.33a1 1 0 01.83-.39c.3 0 .53.1.68.27.15.18.22.45.23.81v1.87h-.77v-1.85c0-.17-.04-.28-.1-.36-.08-.07-.2-.1-.36-.1-.22 0-.38.08-.49.27v2.04h-.77v-2.9h.73zM97.82 22.13c-.43 0-.77-.13-1.04-.39a1.4 1.4 0 01-.4-1.04v-.07c0-.3.06-.55.18-.78.1-.23.27-.4.47-.53.2-.13.44-.19.7-.19.4 0 .7.13.93.38.23.25.34.6.34 1.06v.31h-1.83c.02.2.1.34.22.46.13.11.29.17.48.17.3 0 .52-.1.7-.32l.37.42c-.12.16-.27.3-.47.39-.2.09-.41.13-.65.13zm-.1-2.37a.48.48 0 00-.36.15.8.8 0 00-.18.45h1.06v-.06c0-.18-.05-.3-.13-.4-.1-.1-.22-.14-.38-.14zM0 15.08V.72h6.64V4H3.2v2.33h3.45v3.19H3.2v5.56H0zM11.4 15.08v-1.52h-.09c-.22.58-.49 1.03-.8 1.3a2 2 0 01-1.26.4c-.76 0-1.35-.27-1.7-.85a4.6 4.6 0 01-.6-2.51 3.8 3.8 0 01.68-2.3c.32-.4.86-.8 1.62-1.25.13-.09.27-.13.31-.18 1.08-.63 1.62-1.17 1.62-1.57 0-.23-.09-.4-.27-.54-.18-.13-.4-.22-.72-.22-.45 0-.9.13-1.35.4-.44.27-.94.67-1.48 1.21V4.31A4.8 4.8 0 018.9 3.1c.58-.27 1.21-.4 1.98-.4 1.16 0 2.02.3 2.55.94.54.62.81 1.61.81 2.96v8.44H11.4v.04zm-.04-5.56l-.54.54c-.67.62-1.03 1.2-1.03 1.66 0 .31.09.58.22.76.14.18.32.27.54.27.32 0 .5-.14.63-.36.13-.27.18-.67.18-1.26V9.52zM15.49 15.08V2.96h2.83v2.88h.13c.05-1.04.18-1.84.45-2.34.27-.5.63-.76 1.17-.76.13 0 .27.04.4.09.14.04.32.13.5.22V7a1.82 1.82 0 00-.4-.22 1.16 1.16 0 00-1.53.63c-.23.5-.36 1.25-.36 2.29v5.34h-3.19v.04zM21.82 15.08V2.96h2.96V4.8c.18-.71.45-1.25.86-1.57.4-.36.9-.54 1.52-.54.59 0 1.08.18 1.4.5.35.31.53.8.62 1.43.18-.62.45-1.12.86-1.43.4-.32.85-.45 1.48-.45.76 0 1.3.22 1.61.72.32.45.45 1.34.45 2.56v9.06h-3.05V7.5c0-.54-.04-.95-.13-1.13-.1-.17-.27-.26-.5-.26-.22 0-.4.13-.5.35-.08.27-.17.63-.17 1.17v7.4h-3.01V7.5c0-.54-.04-.9-.13-1.08-.1-.18-.23-.27-.45-.27-.23 0-.4.13-.54.4s-.18.68-.18 1.22v7.31h-3.1zM41.4 14.19a3.87 3.87 0 01-3.01 1.25 3.2 3.2 0 01-2.92-1.61c-.63-1.08-.99-2.7-.99-4.9 0-2.15.32-3.72.9-4.71a3.3 3.3 0 012.96-1.53c1.26 0 2.16.5 2.7 1.44s.8 2.51.8 4.71c0 .32 0 .86-.04 1.57v.14h-4.44c0 .58.17 1.03.44 1.4.32.3.72.49 1.22.49.4 0 .76-.1 1.16-.27a5.5 5.5 0 001.17-.81v2.83h.05zm-4.13-6.47h2.2v-.09c0-.63-.1-1.08-.27-1.39-.18-.31-.45-.45-.81-.45a.9.9 0 00-.81.5c-.18.35-.31.8-.31 1.43zM42.79 15.08V2.96h2.83v2.88h.13c.05-1.04.18-1.84.45-2.34.27-.5.63-.76 1.17-.76.13 0 .27.04.4.09.14.04.32.13.5.22V7a1.82 1.82 0 00-.4-.22 1.16 1.16 0 00-1.53.63c-.23.5-.36 1.25-.36 2.29v5.34h-3.2v.04zM49.2 11.45c.37.31.68.58 1.04.72.32.18.63.22.99.22s.67-.09.85-.27c.23-.18.32-.4.32-.72 0-.18-.05-.31-.1-.45a.6.6 0 00-.26-.31l-.81-.4-.81-.4a3.3 3.3 0 01-1.17-1.22 4.24 4.24 0 01-.31-1.84c0-1.3.31-2.3.9-3a3.07 3.07 0 012.51-1.09c.5 0 .94.1 1.4.27.4.18.8.45 1.16.81v3.1a3.6 3.6 0 00-1.03-.85 2.43 2.43 0 00-1.12-.27c-.32 0-.59.09-.77.22a.73.73 0 00-.31.63c0 .36.36.72 1.08 1.08.13.09.26.13.35.18.77.36 1.3.8 1.58 1.3.27.5.44 1.17.44 2.02 0 1.34-.26 2.38-.85 3.1a2.98 2.98 0 01-2.47 1.07 3.46 3.46 0 01-2.65-.99v-2.91h.05zM68.7 13.83c-.54.54-1.13.9-1.76 1.16a4.7 4.7 0 01-1.97.36c-1.57 0-2.7-.58-3.41-1.8-.72-1.2-1.08-3.14-1.08-5.83 0-2.56.36-4.4 1.08-5.52.71-1.12 1.93-1.7 3.54-1.7.63 0 1.17.08 1.7.3.55.19 1.04.5 1.53.95V5.3c-.4-.5-.85-.9-1.25-1.17-.4-.27-.81-.36-1.26-.36-.85 0-1.44.32-1.8.99-.35.67-.53 1.84-.53 3.46 0 1.7.13 2.87.4 3.45.27.59.76.85 1.44.85h.18V7.77h3.18v6.06zM77.4 3v12.13h-3v-1.84c-.18.72-.5 1.25-.9 1.61-.4.36-.9.5-1.53.5-.76 0-1.3-.27-1.66-.77a5 5 0 01-.5-2.55V3h3.1v7.58c0 .54.05.9.14 1.08.09.18.22.27.45.27.27 0 .45-.13.54-.4.09-.27.18-.68.18-1.26V3.01h3.18zM81.98 1.17c0 .4-.13.72-.4.9-.27.17-.72.26-1.3.26-.59 0-.99-.09-1.3-.26-.27-.18-.4-.5-.4-.9s.13-.68.4-.9c.26-.18.71-.27 1.3-.27.58 0 .99.09 1.3.27.31.18.4.5.4.9zm-3.27 13.91V2.83c.22.09.45.18.71.22.27.05.54.1.86.1.27 0 .54-.05.8-.1.28-.04.5-.13.77-.22v12.25H78.7zM87.82 15.08v-.4c0-.18 0-.5.05-.94v-.18a3.03 3.03 0 01-1 1.3c-.4.27-.85.4-1.34.4-.94 0-1.62-.5-2.02-1.43-.4-.95-.58-2.65-.58-5.08 0-2.29.22-3.86.63-4.71a2.1 2.1 0 012.06-1.35c.54 0 .99.14 1.35.45.36.27.63.77.8 1.4-.04-.32-.04-.63-.08-.9-.05-.27-.05-.54-.05-.81V.09h3.1v15h-2.92zm-1.93-6.01c0 1.26.04 2.1.18 2.51.13.4.36.59.72.59s.58-.23.72-.63c.13-.4.22-1.21.22-2.43 0-1.3-.09-2.15-.22-2.51a.77.77 0 00-.77-.54c-.36 0-.58.18-.67.5-.09.3-.18 1.16-.18 2.5zM98.64 14.19a3.87 3.87 0 01-3 1.25 3.2 3.2 0 01-2.93-1.61c-.67-1.08-.98-2.7-.98-4.9 0-2.15.31-3.72.9-4.71.62-.99 1.57-1.48 2.87-1.48 1.26 0 2.15.5 2.7 1.43.53.95.8 2.52.8 4.72 0 .31 0 .85-.04 1.57v.13H94.5c0 .59.18 1.04.45 1.4.31.31.72.49 1.21.49.4 0 .76-.09 1.17-.27a5.5 5.5 0 001.17-.8v2.78h.13zm-4.13-6.47h2.2v-.09c0-.63-.09-1.08-.27-1.39-.18-.31-.45-.45-.8-.45a.9.9 0 00-.82.5c-.18.35-.31.8-.31 1.43z' fill='%23014F99'/%3E%3C/svg%3E");
}

.option-extras-checks label[for="fruit_vine_feature"]:after {
    height: 60px;
    background-image: url(../../includes/img/logo-new.png);
}

.form_end {
    margin-top: 40px;
}

p.input_mask {
    width: 100%;
    padding-left: 10px;
    box-sizing: border-box;
    margin: 0 0 20px 0;
    background: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.scam_message .wp_content {
    border: 1px solid #e3e1e2;
    padding: clamp(20px, 10vw, 60px);
    background: #fbf1f2;
    border-radius: 10px;
}

.scam_message.adblock .wp_content {
    background: #fbf1f2B3;
}

.scam_message .wp_content a,
.scam_message .wp_content .title_small {
    color: #333;
}

.scam_message .wp_content .title_small {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scam_message .wp_content .title_small:before {
    content: '';
    width: 24px;
    aspect-ratio: 1 / 1;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 19 14 3a2 2 0 0 0-4 0L2 19a2 2 0 0 0 2 3h16a2 2 0 0 0 2-3Zm-10-2a1 1 0 1 1 1-1 1 1 0 0 1-1 1Zm1-5a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0Z' fill='%23e81a19'/%3E%3C/svg%3E");
}

.scam_message .wp_content a {
    text-decoration: underline;
}

.my-account-filter > div {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.my-account-filter form {
    display: flex;
    flex-wrap: wrap;
    flex-basis: calc(50% - 20px);
}
form#bulk-action-form {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 50px)
}
form#bulk-action-form .bulk-actions-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

form#bulk-action-form .bulk-actions-controls > div {
    display: flex;
}

form#bulk-action-form .bulk-actions-controls .select-all-container{
    margin-right: 20px;
}

.my-account-filter form label,
form#bulk-action-form .bulk-actions-controls label {
    width: 100%;
    padding-bottom: 5px;
    color: #014F99;
    font-weight: bold;
}

.my-account-filter form .button,
form#bulk-action-form .bulk-actions-controls .button {
    padding: 7px 10px;
    font-size: 18px;
    margin: 0 0 0 10px;
}

.my-account-filter form input[type=text],
.my-account-filter form select {
    flex: 1 1 auto;
    padding-left: 5px;
    box-sizing: border-box;
}

.bulk-actions-controls select {
    box-sizing: border-box;
    padding: 6px;
}

.limit_notice {
    color: #014f99;
    text-align: center;
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 30px;
    padding: 20px;
    border: 2px solid #014f99;
}

.limit_notice p {
    margin: 0;
}

.signup-image {
    padding-top: 70px;
}


/* Delete Advert Form Popup */

.popup_form_container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup_form_container.hide {
    display: none;
}

.popup_form_container > span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.popup_form_container > span span {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 30px;
    height: 30px;
    background: no-repeat center / 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.245 4.015c.313.313.313.826 0 1.139l-6.276 6.27c-.313.312-.313.826 0 1.14l6.273 6.272c.313.313.313.826 0 1.14l-2.285 2.277c-.314.312-.828.312-1.142 0l-6.271-6.271c-.313-.313-.828-.313-1.141 0l-6.276 6.267c-.313.313-.828.313-1.141 0l-2.282-2.28c-.313-.313-.313-.826 0-1.14l6.278-6.269c.313-.312.313-.826 0-1.14L1.709 5.147c-.314-.313-.314-.827 0-1.14l2.284-2.278c.315-.312.828-.312 1.142.001L11.405 8c.314.314.828.314 1.141.001l6.276-6.267c.312-.312.826-.312 1.141 0l2.282 2.281z'/%3E%3C/svg%3E");
}

.popup_form_container .content {
    padding: 0;
    box-sizing: border-box;
    position: relative;
    max-width: 1020px;
    width: 96%;
    height: 85%;
    max-height: 840px;
    overflow: hidden;
}

.hide_scroll {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    position: relative;
    right: -15px;
    box-sizing: border-box;
    padding: clamp(30px, 6vw, 70px);
}

.gform_hidden {
    display: none;
}

.woocommerce-MyAccount-content .create-account-form_wrapper {
    padding: 0;
}

.advert-form-header > div:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.advert-form-header h1,
.advert-form-header .button {
    margin: 0;
}

.form_pagination {
    padding-top: clamp(10px, 2vw, 30px);
    padding-bottom: clamp(10px, 2vw, 40px);
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.form_pagination_step {
    display: flex;

}

.form_pagination_step:nth-child(2) {
    justify-content: center;
}

.form_pagination_step:nth-child(3) {
    justify-content: flex-end;
}

.form_pagination_step > div {
    display: inline-flex;
    background: #fff;
    position: relative;
    top: 4px;
    z-index: 3;
    padding: 0 10px;
    gap: 10px;
    align-items: center;
    color: #666;
}

.form_pagination_step > div > div {
    width: 30px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
    color: #666;
    border-radius: 3px;
}

.form_pagination_step:nth-child(1) > div {
    padding-left: 0;
}

.form_pagination_step:nth-child(3) {
    padding-right: 0;
}

.form_pagination:before {
    position: absolute;
    content: '';
    width: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 1px;
    background: #ccc;
}

.form_pagination_step:nth-child(1) > div > div {
    background: #FFDA00;
    color: #1A61A3;
}

.form_pagination_step:nth-child(1) > div {
    color: #1A61A3;
}

.form_pagination p {
    font-weight: 600;
}

.form_steps {
    height: 6px;
    background: #E0E0E0;
}

.form_steps > span {
    width: 100%;
    background: #014F99;
    height: 6px;
    display: block;
}

.form_pagination.count_2 .form_pagination_step:nth-child(2) > div > div {
    background: #FFDA00;
    color: #1A61A3;
}

.form_pagination.count_2 .form_pagination_step:nth-child(2) > div {
    color: #1A61A3;
}

.form_pagination.count_3 .form_pagination_step:nth-child(3) > div > div {
    background: #FFDA00;
    color: #1A61A3;
}

.form_pagination.count_3 .form_pagination_step:nth-child(3) > div {
    color: #1A61A3;
}

.form_pagination.count_3 .form_pagination_step:nth-child(1) > div,
.form_pagination.count_3 .form_pagination_step:nth-child(2) > div,
.form_pagination.count_2 .form_pagination_step:nth-child(1) > div {
    color: #666;
}

.form_pagination.count_3 .form_pagination_step:nth-child(2) > div > div,
.form_pagination.count_3 .form_pagination_step:nth-child(1) > div > div,
.form_pagination.count_2 .form_pagination_step:nth-child(1) > div > div {
    position: relative;
    overflow: hidden;

}


.form_pagination.count_3 .form_pagination_step:nth-child(2) > div > div:before,
.form_pagination.count_3 .form_pagination_step:nth-child(1) > div > div:before,
.form_pagination.count_2 .form_pagination_step:nth-child(1) > div > div:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: green no-repeat center / 20px url("data:image/svg+xml,%3Csvg height='15' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 11 2 7 0 8l6 6L18 2l-1-2L6 11Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E");

}

.add_advert .optional-extras label {
    padding-bottom: 0;
}

.add_advert input[type=checkbox] {
    margin: 0 15px 0 0;
    width: 20px;
    height: 20px;
}

.flex-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 20px;
}

.textaligncenter {
    text-align: center;
}

.radio-button > div > div.radio-row {
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    padding: 20px;
}

.add_advert .the_checkboxes > div label,
.add_advert .radio-button > div > div.radio-row label {
    padding-bottom: 0;
    padding-left: 5px;
}

.radio-button > div {
    display: grid;
    gap: 20px;
}

.radio-button {
    display: grid;
    grid-gap: 30px;
}

.form_row.radio-button {
    display: grid;
    gap: 20px;
}

.radio-button > div > div.radio-row.active {
    background: #F2F2F2;
}

.the_checkboxes > div {
    display: flex;
    align-items: center;
}

.image-row {
    margin-bottom: 40px;
}

.the_checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    gap: 10px;
}

.add_advert .consent_block label {
    padding-bottom: 0;
}

.consent_block {
    display: flex;
    align-items: center;
}

.the_optional_extras {
    display: grid;
    grid-gap: 20px;
}

#wp-adeditor-wrap.error-wrapper::before {
    content: 'Please enter 250 characters or less';
    color: #d80000;
    border: 1px solid #d80000;
    display: block;
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
}

.country_toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.country_toggle p {
    width: 100%;
}

.country_toggle label {
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.country_toggle label input {
    margin: 0 !important;
}

.country_toggle label.label_active {
    border-color: #1A61A3;
}

.location-type {
    display: none;
}

.location-type.type_active {
    display: block;
}

.form_body {
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 40px;
}


.form_title {
    background: #014f99;
    padding: 20px 40px;
    color: #fff;
    font-size: 26px;

    border-radius: 10px 10px 0 0;
}

.form_row.two_col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
}

.form_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form_heading p {
    margin: 0 0 10px;
}

.validation {
    color: #6e6e6e;
}

.astrix {
    color: #d80000;
}

.form_row h4 {
    font-weight: 400;
    margin: 20px 0;
}

#image_upload {
    display: none;
}

.image-upload-button {
    min-width: 100%;
    box-sizing: border-box;
}

.date-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #ccc;
}

.form_section {
    margin-bottom: 40px;
}

.form_section.hide {
    display: none;
}

.form_header {
    font-size: 30px;
    font-weight: 600;
    color: #1A61A3;
    margin-bottom: 30px;
}

.featured_checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}

.form_body.no-border {
    border: none;
    padding: 0;
}

.form-footer .underline_text {
    margin-right: 20px;
}

a.wcs-switch-link.button, a.subscription-downgrade {
    display: inline-block;
}

.woocommerce-MyAccount-navigation ul.logout-link li a {
    padding-left: 25px;
    background: no-repeat center left / 20px url("data:image/svg+xml,%3Csvg data-name='Слой 1' viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 8h80V0H12v128h88v-8H20V8z'/%3E%3Cpath d='M76 40H36v48h40v24l47-48-47-47v23z'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation li.menu-item-has-children > .mobile-click {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    background: no-repeat center / cover url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cmask id='a' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='20' height='20'%3E%3Cpath fill='%23D9D9D9' d='M0 0h20v20H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath d='M10 13 5 8l1-1 4 4 4-4 1 1-5 5Z' fill='%23014F99'/%3E%3C/g%3E%3C/svg%3E");
    right: 10px;
    top: 10px;
    margin: auto;
    transition: .3s;
    cursor: pointer;
}


.woocommerce-MyAccount-navigation .clicked .mobile-click {
    transform: rotate(-90deg);
}

.woocommerce-MyAccount-navigation li.menu-item-has-children {
    position: relative;
}

.woocommerce-MyAccount-navigation li.menu-item-has-children > ul {
    max-height: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
}

.woocommerce-MyAccount-navigation li.clicked.menu-item-has-children > ul {
    max-height: 2000px;
}

.account-bullets {
    border-radius: 10px;
    display: grid;
    grid-template-columns: 250px 1.5fr;
    overflow: hidden;
}

.account-bullets .wp_content {
    background: #f2f5fa;
    padding: clamp(20px, 3vw, 50px);
    border: none;
    margin: 0;
}


.account-bullets .stats_bullets {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-bullets .stats_bullets li {
    padding: 0;
}

.create-advert-button {
    min-width: 100%;
    box-sizing: border-box;
    display: block;
}


.create-advert-button:not(.account-top) {
    margin: 0;
}

.create-advert-button + .create-advert-button {
    margin-top: 20px;
}


.account-top.dealer-upgrade .wp_content {
    margin: 0;
    padding: 0;
    border: none;
}

.account-top.dealer-upgrade {
    display: flex;
    gap: clamp(20px, 5vw, 100px);
    padding: clamp(20px, 3vw, 50px);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.account-top.dealer-upgrade:before {
    content: '';
    opacity: 0.7;
    background: #014F99;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.account-top.dealer-upgrade .wp_content {
    position: relative;
}

.account-top.dealer-upgrade .wp_content:nth-child(2) {
    display: flex;
    align-items: flex-end;
    min-width: 165px;
}

.account-top.dealer-upgrade .wp_content:nth-child(2) .button {
    margin: 0;
}

div#subscription-details {
    margin-top: -500px;
    position: absolute;
}

/*
start
 */

.first_listing_block .my-listing-left {
    margin-right: 0;
    width: 100%;
    flex: 1 1;
}

.listing_statistic_block.first_listing_block .my-listing-right {
    flex-direction: column;
    align-items: flex-start;
    background: #014F99;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    gap: 0;
    flex-basis: 40%;
}

.first_listing_thumb {
    height: 100%;
    background: center / cover no-repeat;
    width: 100%;
}

.first_listing_block .my-listing-left {
    margin-right: 0;
    width: 100%;
    flex: 1 1;
}

.first_listing_block.advert_block {
    padding-bottom: 0;
    min-height: 240px;
    background: #014F99;
}

.first_listing_thumb {
    background: center / cover no-repeat;
    width: 100%;
    aspect-ratio: 6 / 5;
}

.my-listing-left {
    margin-right: 10px;
    display: flex;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.first_listing_block .my-listing-left {
    margin-right: 0;
    width: 100%;
    flex: 1 1;
}

.listing_statistic_block.first_listing_block .my-listing-right {
    flex-direction: column;
    align-items: flex-start;
    background: #014F99;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    gap: 0;
    flex-basis: 40%;
}

.listing_statistic_block.first_listing_block {
    align-items: unset;
}

h3.total_views_title {
    color: #333333;
    font-size: 24px;
    margin-bottom: 1.5em;
}

.machinery_fields,
.equipment_fields,
.livestock_fields {
    display: none;
}

.livestock_fields.show,
.equipment_fields.show,
.machinery_fields.show {
    display: block;
}

@media (max-width: 1268px) {
    .first_listing_block.listing_block.listing_statistic_block {
        flex-direction: column;
    }

    .first_listing_block.listing_block.advert_statistic_block .my-listing-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .listing_statistic_block .my-listing-left > div:nth-child(2) {
        display: none;
    }

    .first_listing_block .my-listing-left {
        display: flex;
    }

    .listing_statistic_block .my-listing-left > div:nth-child(1) {
        aspect-ratio: 10 / 5;
    }
}

@media (max-width: 640px) {
    .first_listing_block.listing_block.listing_statistic_block .following {
        display: none;
    }

    .listing_statistic_block .my-listing-right {
        justify-content: center;
    }

    .listing_statistic_block .ad_options {
        margin-top: 0;
    }
}

.first_listing_block .my-listing-right p.title_large {
    color: #FFDA00;
    text-transform: uppercase;
}

.first_listing_block .my-listing-right h3 {
    color: #FFFFFF;
    margin: 0;
}

.first_listing_block .option-toggle {
    color: #fff;
    border-color: #fff;
}

.listing_statistic_block.first_listing_block .page_views {
    color: #fff;
}

.listing_statistic_block .page_views {
    color: #6A6A6A;
}

.listing_statistic_block .my-listing-right {
    display: flex;
    align-items: center;
    gap: clamp(15px, 4vw, 40px);
}

.my-account-inner #pagination {
    margin: 30px 0;
}


/* Custom Checkbox Styles */

/* Hide the default checkbox */
.advert-checkbox input[type="checkbox"],
.select-all-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom checkbox container */
.advert-checkbox,
.select-all-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

/* Create a custom checkbox */
.advert-checkbox label,
.select-all-container label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    display: inline-block;
}

.advert-checkbox label:before,
.select-all-container label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.2s ease;
}

/* When the checkbox is checked, add a colored background */
.advert-checkbox input:checked ~ label:before,
.select-all-container input:checked ~ label:before {
    background-color: #014F99;
    border-color: #014F99;
}

/* Create the checkmark (hidden when not checked) */
.advert-checkbox label:after,
.select-all-container label:after {
    content: '';
    position: absolute;
    display: none;
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-50%);
}

.select-all-container label:after {
    top: 8px;
}

/* Show the checkmark when checked */
.advert-checkbox input:checked ~ label:after,
.select-all-container input:checked ~ label:after {
    display: block;
}

/* On hover, add a grey background color */
.advert-checkbox:hover label:before,
.select-all-container:hover label:before {
    border-color: #999;
}

/* Focus styles for accessibility */
.advert-checkbox input:focus ~ label:before,
.select-all-container input:focus ~ label:before {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25);
}


.select-all-container label {
    padding-bottom: 0;

}

/*
end
 */

@media (max-height: 900px) {
    .popup_form_container .content {
        margin-top: 40px;
    }
}


@media (max-width: 1300px) {
    .account_blocks {
        grid-template-columns: repeat(4, 1fr);
    }

    .account_blocks > * {
        grid-column: span 2;
    }

    .account_blocks > :nth-child(1) {
        grid-column: span 4;
    }
}

@media (max-width: 1200px) {
    .account-left, .account-statics {
        margin-right: 20px;
    }

    .border-radius-block {
        padding: 25px;
    }

    #swf_favourites_display, .my-account-inner {
        padding: 20px;
    }

}

@media (max-width: 1024px) {
    .woocommerce-account main .woocommerce {
        display: block;
    }

    .account-left {
        margin-right: 0;
        padding-bottom: 20px;
    }

    .profile-block {
        display: flex;
        align-items: center;
        text-align: left;
    }

    .profile-picture {
        margin: 0 20px 0 0;
    }

    .profile-block p.profile-name {
        margin-top: 0;
    }

    .profile-block .button {
        display: none;
    }

    .profile-block {
        display: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        display: none;

    }

    .woocommerce-account .woocommerce-MyAccount-navigation.open {
        display: block;
    }

    .woocommerce-MyAccount-navigation ul {
        border-radius: unset;
    }

    .menu-toggle {
        display: block;
        background: #014F99;
        padding: 10px 20px;
        color: #fff;
    }

    .menu-toggle span {
        font-size: 24px;
    }

    .menu-toggle > div {
        display: flex;
        align-items: center;
    }

    .menu-toggle > div > div div {
        height: 3px;
        background-color: #FFf;
        margin-bottom: 4px;
        width: 25px;
        margin-right: 10px;
    }

    .menu-toggle > div div:last-child {
        margin-bottom: 0;
    }

    .account-top {
        margin-bottom: 30px;
    }

    .account_blocks > div {
        flex-basis: calc(50% - 15px);
    }


    .form_block {
        padding: 15px;
    }


    .my-account-filter > div {
        flex-wrap: wrap;
    }

    .my-account-filter form {
        flex-basis: 100%;
    }

    .my-account-filter form:nth-child(1) {
        padding-bottom: 15px;
    }

    .signup-image {
        padding-top: 40px;
    }

}

@media (max-width: 768px) {
    .account_blocks, .account_blocks.count_2 {
        grid-template-columns: 1fr;
    }

    .account_blocks > *:nth-child(n) {
        grid-column: span 1;
    }

    .woocommerce-page.columns-3 ul.products li.product:nth-child(n), .woocommerce.columns-3 ul.products li.product:nth-child(n) {
        flex-basis: calc(50% - 5px);
        margin: 0 10px 10px 0;
    }

    .woocommerce-page.columns-3 ul.products li.product:nth-child(2n), .woocommerce.columns-3 ul.products li.product:nth-child(2n) {
        margin-right: 0;
    }


    .featured_checkboxes > div.featured_wrapper {
        margin-top: 20px;
        padding-bottom: 60px;
    }

    .standard_wrapper {
        margin-right: 0;
    }

    .signup-image {
        display: none
    }

    .account-bullets {
        display: flex;
        flex-direction: column-reverse;
    }

    .account-bullets .image {
        aspect-ratio: 10 / 6;
    }

    .account-top.dealer-upgrade {
        flex-direction: column;
    }


}

@media (max-width: 640px) {
    .account-options {
        display: block;
    }

    .account-options > div:nth-child(2) {
        margin: 20px 0 0 0;
    }

    .account-statics p span {
        font-size: 42px;
        line-height: 50px;
    }

    .account-statics div {
        flex-basis: calc(33.3% - 10px);
        margin: 0 5px 5px;
        text-align: center;
    }

    .account-statics {
        margin-right: 0;
    }

    .account-statics p strong {
        display: block;
    }

    .form_block h3 {
        font-size: 20px;
    }

    .add_controls > div {
        width: 20px;
        height: 20px;
        background-size: 8px;
        margin-left: 5px;
    }

    .attribute_row {
        position: relative;
        display: block;
    }

    .attribute_row input, .attribute_row select {
        width: calc(100% - 60px);
    }

    .attribute_row select {
        margin-bottom: 10px;
    }

    .add_controls {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .listing_block {
        display: grid;
        grid-template-columns: 0.1fr 1fr;
        grid-template-areas:
        "a b"
        "a c";
    }
    .advert-checkbox{
        grid-area: a;
    }

    .my-listing-left {
        display: block;
        grid-area: b;
    }
    .my-listing-right {
        grid-area: c;
    }

    .listing_thumb {
        max-width: 200px;
        max-height: 200px;
        margin: 0 auto 20px;
    }

    .my-advert-details {
        text-align: center;
    }

    .product_tags {
        justify-content: center;
    }

    .option-toggle {
        box-sizing: border-box;
    }

    .ad_options {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .available-options {
        position: relative;
    }

    .advert-form-header > div:nth-child(1) {
        flex-direction: column;
    }

    .advert-form-header .button {
        display: none;
    }

    .flex-rows {
        grid-template-columns: 1fr;
    }

    .form_row.two_col {
        grid-template-columns: 1fr;
        grid-gap: 25px;
    }

    .featured_checkboxes,
    .the_checkboxes {
        grid-template-columns: 1fr;
    }

    .option-extras-checks label {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .flex-check {
        align-items: flex-start;
    }

    .form-footer {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .form-footer .button,
    .form-footer .underline_text {
        margin: 0;
        min-width: 100%;
        box-sizing: border-box;
        text-align: center;

    }

    .form-footer .underline_text {
        margin-bottom: 20px;
        display: block;
    }

    .form_pagination:before {
        display: none;
    }

    .form_pagination {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 20px;
    }

    .form_pagination_step:nth-child(n) > div {
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }

    .form_pagination_step {
        display: block;
    }

    .advert-form-header > div:nth-child(1) {
        align-items: flex-start;
    }

    #swf_favourites_display, .my-account-inner {
        padding: 20px 0;
    }

    .my-account-inner {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .woocommerce-page.columns-3 ul.products li.product:nth-child(n), .woocommerce.columns-3 ul.products li.product:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 10px;
    }

    #swf_favourites_display, .my-account-inner {
        padding: 15px;
    }

    #file_list li:nth-child(n) {
        flex-basis: calc(50% - 5px);
        margin-right: 10px;
    }

    #file_list li:nth-child(2n) {
        margin-right: 0;
    }

    .product_tags > div {
        letter-spacing: 0;
        padding: 2px 3px;
        font-size: 14px;
    }

    .my-account-filter form .button {
        margin: 10px 0 0;
    }

    .radio-row.flex-50-50 > div {
        width: 100%;
    }

    .form-footer {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }

    .form-footer .button {
        min-width: 100%;
    }
}