/*
 Theme Name:   Government Auction
 Theme URI:    https://generatepress.com
 Description:  Government Auction
 Author:       Jenny Chan
 Author URI:   https://jennychan.dev
 Template:     generatepress
 Version:      0.1
 Text Domain:  gac
*/

hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ff-body {
    font-family: var(--gp-font--body);
}

.ff-heading {
    font-family: var(--gp-font--heading);
}

/* Fluid Typography Scale */
h1, .fs-h1 {
    font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
    font-family: var(--gp-font--heading);
}

h2, .fs-h2 {
    font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
    font-family: var(--gp-font--heading);
}

h3, .fs-h3 {
    font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
    font-family: var(--gp-font--heading);
}

h4, .fs-h4 {
    font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
    font-family: var(--gp-font--heading);
}

h5, .fs-h5 {
    font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
    font-family: var(--gp-font--heading);
}

h6, .fs-h6 {
    font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
    font-family: var(--gp-font--heading);
}

p, .fs-p {
    font-size: 16px;
    font-family: var(--gp-font--body);
    margin-bottom: 1rem;
}

.green-text {
    background-color: #298248;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.text-center {
    text-align: center;
}

.page-template-default .entry-header {
    display: flex;
    justify-content: center;
}

.page-template-default .entry-header .entry-title {
    display: inline;
    border-bottom: 1px solid var(--accent-2);
    padding: 0 1rem 0 1rem;
    margin-top: 2rem;
    text-align: center;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    .page-template-default .entry-header .entry-title .entry-title {
        display: block;
        text-align: center;
        padding: 0 0 1rem 0;
        margin-top: 0;
    }
}

.inside-article a.alt-button {
    color: #fff;
}

.site-content {
    min-height: 500px;
}

/* Blog */
.paging-navigation .nav-links {
    text-align: center;
}

.entry-content {
    padding-top: 2rem;
}

img {
    border-radius: 8px;
}

.one-container.archive .post:not(.is-loop-template-item),
.one-container.blog .post:not(.is-loop-template-item) {
    padding-bottom: 20px;
}

/* Utility */

.text-center {
    text-align: center;
}

/* Woocommerce Login */

.auction-login {
    margin-bottom: 4rem;
}

.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid #ccc !important;
    padding: 40px !important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit {
    float: right;
    margin-right: 0;
    background-color: var(--accent-2);
    border-radius: 50px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit:hover {
    background-color: var(--accent-2-alt);
}

.woocommerce-privacy-policy-text p {
    font-size: 0.8rem !important;
    margin-bottom: 10px;
}

.woocommerce form .form-row .input-text {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

/*Woocommerce Single Product*/
.single-product .product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    border-bottom: 1px solid #ccc;
    padding: 1rem clamp(0rem, -0.426rem + 1.705vw, 0.938rem);
}

.single-product .product-header .entry-summary h4 {
    margin-bottom: 0;
}

.single-product .product-header hr {
    margin: 0;
    width: 100%;
}

.single-product .product-header .entry-summary {
    width: 100% !important;
}

@media screen and (max-width: 768px) {
    .single-product .product-header {
        grid-template-columns: 1fr;
    }
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    margin-right: 0;
    margin-bottom: 0;
    float: none;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    height: 75px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    height: 100%;
}

#wpgs-gallery .wcgs-thumb.spswiper-slide img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery:has( + .summary ) {
    max-width: none;
}

.single-product .entry-summary {
    position: relative;
    float: none !important;
    width: 50% !important;
    margin-bottom: 0 !important;
}

.single-product .product-header .auction-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: clamp(0.75rem, 0.523rem + 0.909vw, 1.25rem);
}

.single-product .price {
    margin-bottom: 0;
}

.woocommerce div.product .product_title {
    text-align: left;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    display: none;
}

.single-product .auction-status,
li.product .auction-status,
li.product .property-size {
    position: absolute;
    top: .5em;
    left: .5em;
    z-index: 2000;
    background-color: var(--accent);
    color: #fff;
    padding: 5px;
    border-radius: 8px;
}

li.product.auction .woocommerce-loop-product__title {
    font-weight: bold;
}

.auction-status {
    font-size: 0.9rem;
    padding-right: 10px;
}

.auction-status-text {
    margin-left: 25px;
}

.available-circle {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
}

.circle-green {
    background-color: #05B176;
}

.circle-red {
    background-color: var(--accent-2);
}

.available-content {
    display: flex;
    column-gap: 5px;
    align-items: center;
    margin-bottom: 0.5rem;
}

.available-text {
    margin-bottom: 0;
}

.single-product .product.buy_now .full-price.small {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 5px;
}

.single-product .wc-deposits-wrapper {
    margin-bottom: 0;
}

.single-product .wc-deposits-payment-description {
    text-align: center;
    margin-bottom: 0;
}

.woocommerce div.product form.cart div.quantity {
    display: none;
}

.single-product .product-header .property-details {
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    padding-bottom: clamp(0.938rem, 0.511rem + 1.705vw, 1.875rem);
    text-align: center;
}

.single-product .product-header .property-size {
    position: absolute;
    top: 0;
    right: 1rem;
    z-index: 2000;
    background-color: var(--accent);
    color: #fff;
    padding: 5px;
    border-radius: 8px;
    width: auto !important;
}

@media screen and (max-width: 768px) {
    .single-product .product-header .property-size {
        /*font-size: 0.9rem;*/
        /*padding: 2px;*/
        right: 0;
    }
}

.single-product .auction-status.auction-started,
.single-product .auction-status.auction-ended {
    /*background-color: var(--accent-2);*/
}

.woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.auction-start-end {
    display: flex;
    /*padding-bottom: clamp(0.938rem, 0.511rem + 1.705vw, 1.875rem);*/
    column-gap: clamp(0.938rem, 0.511rem + 1.705vw, 1.875rem);
}

@media screen and (max-width: 767px) {
    .auction-start-end {
        flex-direction: column;
        row-gap: 10px;
        margin-bottom: 10px;
    }
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link>:not(:first-child) {
    margin-top: 0 !important;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.auction-times-wrapper {
    height: 100px;
}

.auction-time {
    display: flex;
    align-items: center;
    column-gap: 5px;
    color: #000;
}

.single-product .single_add_to_cart_button {
    display: block;
    margin: 0 auto;
    border-radius: 8px !important;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.single-product .auction .single_add_to_cart_button {
    background-color: var(--accent) !important;
}

.single-product .auction .single_add_to_cart_button:hover {
    background-color: var(--accent-1-alt) !important;
}

.single-product .property-btn.wishlist,
.products .product .property-btn.wishlist {
    position: absolute;
    top: .5em;
    right: .5em;
    z-index: 2000;
}

.single-product .property-btn.wishlist {
    top: .5em;
    right: .5em;
}

.products .product {
    background-color: #fff;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    text-align: left !important;
}

.products .product .property-btn.wishlist {
    top: 0;
    right: 0;
    margin-top: 0 !important;
}

.yith-wcwl-add-to-wishlist-button:is(button) {
    padding: 0;
    gap: 0;
}

.yith-wcwl-add-to-wishlist-button:is(button) svg {
    width: 2rem;
    height: 2rem;
}

.product-body {
    clear: both;
    display: grid;
    grid-column-gap: clamp(0.938rem, 0.511rem + 1.705vw, 1.875rem);
    padding-top: 1rem;
}

.legal-information {
    margin-top: 10px;
}

.grid-2-col {
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

.products .product .wc-product-image {
    margin-top: 0 !important;
    width: 100%;
}

.products .product .inside-wc-product-image {
    width: 100%;
}

.products .product .wc-product-image img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 150px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}

.products .product .auction-status.auction-not-started {
    display: none;
}

@media screen and (max-width: 767px) {
    .wc-related-upsell-mobile-columns-1 .related ul.products,.wc-related-upsell-mobile-columns-1 .up-sells ul.products,.woocommerce .wc-mobile-columns-1 .products {
        grid-template-columns: repeat(1,minmax(0,1fr)) !important;
    }
}

/*.wc-related-upsell-mobile-columns-2 .related ul.products,.wc-related-upsell-mobile-columns-2 .up-sells ul.products,.woocommerce .wc-mobile-columns-2 .products {*/
/*    grid-template-columns: repeat(2,minmax(0,1fr))*/
/*}*/

/*.wc-related-upsell-mobile-columns-3 .related ul.products,.wc-related-upsell-mobile-columns-3 .up-sells ul.products,.woocommerce .wc-mobile-columns-3 .products {*/
/*    grid-template-columns: repeat(3,minmax(0,1fr))*/
/*}*/

ul.products {
    gap: 20px !important;
}

li.product {
    margin-bottom: 0 !important;
}

li.product .auction-status,
li.product .property-size {
    font-size: 0.9rem;
}

li.product .property-size {
    background-color: var(--accent-2);
}

.products .product .price {
    display: flex !important;
    align-items: center;
    font-size: 1.25rem !important;
    padding: 0 10px;
    margin-top: 5px !important;
}

.products .product .price svg {
    margin-right: 5px;
}

.products .product .full-price {
    display: inline-block;
    font-size: 1rem;
    padding: 0 10px;
    margin-top: 5px !important;
    color: var(--accent);
}

.products .product .state {
    padding: 0 10px;
    margin-top: 5px !important;
    color: var(--accent);
    font-weight: bold;
}

.products .product .auction-time {
    padding: 0 10px;
    margin-top: 10px;
}

.products .product .view-details {
    background-color: var(--accent-2);
    color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    padding: 5px;
}

.products .product.auction .view-details {
    background-color: var(--accent);
}

.products .product .woocommerce-loop-product__title {
    font-family: var(--gp-font--body);
    font-size: 1rem;
    color: var(--accent);
    text-align: left;
    line-height: 1.5;

    padding: 0 10px !important;
    margin-top: 5px !important;
    border-bottom: 0;
}

.products .product .woocommerce-loop-product__short-description {
    padding: 0 10px 15px 10px !important;
    margin-top: 5px !important;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    font-size: 0.95rem;
    color: #000;
    flex-grow: 1;
}

.rvpw-recently-view .woocommerce ul.products li.product {
    align-items: flex-start;
}

.related.products {
    margin-top: 2rem;
}

.related.products h2 {
    display: inline-block;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: capitalize;
    border-bottom: 1px solid var(--accent-2);
    font-size: 2rem;
}

.post-type-archive-product .woocommerce-products-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-type-archive-product .woocommerce-products-header__title {
    margin-bottom: 1rem;
}

.post-type-archive-product .dgwt-wcas-search-wrapp {
    display: flex;
    justify-content: flex-end;
}

.post-type-archive-product .dgwt-wcas-search-form {
    max-width: 500px;
}

.woocommerce ul.products li.product {
    width: 100% !important;
}

/*.woocommerce ul.products li.product a.woocommerce-loop-product__link {*/
/*    width: 100%;*/
/*}*/

.swiper-slide { height: auto !important }

.testimonial-card {
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__link,
    .woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
    .woocommerce ul.products li.product .secondary-image {
        width: 100% !important;
    }

    .products .product .price svg {
        width: 15px;
        height: 15px;
    }

    .products .product .price {
        font-size: 1rem !important;
    }
}

/*Cart*/

.wc-block-components-quantity-selector {
    display: none !important;
}

.woocommerce table.shop_table th.product-quantity {
    display: none;
}

.woocommerce table.shop_table td.product-quantity {
    display: none;
}

.woocommerce .cart .button {
    color: #fff !important;
    padding: 0.5rem;
    border-radius: 50px;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    padding: 0.5rem;
    border-radius: 50px;
}

.woocommerce #content table.cart td.actions .input-text,
.woocommerce table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text,
.woocommerce-page table.cart td.actions .input-text {
    border-radius: 8px;
}

/* Checkout */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    padding: 0.5rem !important;
    border-radius: 50px;
}

.woocommerce-checkout h3 {
    font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
}


#gac-contract-data-div {
    margin-top: 20px;
}

.gac-product-search-form {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

.gac-search-form {
    display: flex;
    max-width: 500px;
}

.gac-search-field {
    flex: 1;
    padding: clamp(0.375rem, 0.205rem + 0.682vw, 0.75rem) clamp(0.5rem, 0.273rem + 0.909vw, 1rem) !important;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 50px 0 0 50px !important;
    outline: none;
    transition: border-color 0.3s ease;
}

.gac-search-field:focus {
    border-color: #0073aa;
}

.gac-search-submit {
    color: white;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gac-search-submit:hover {
    background-color: #005a87;
    border-color: #005a87;
}

.gac-search-submit:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.3);
}

.search-result-category-heading {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .search-result-category-heading {
        grid-column: span 4;
    }
}

/*Footer*/
.wp-block-social-links {
    margin-bottom: 1rem;
}

.gform_wrapper {
    --gf-form-gap-x: 8px;
    --gf-form-gap-y: 20px;
}

/* Home */
.home .page-hero {
    display: flex;
    align-items: center;
    width: 100%;
    height: 62vh;
    padding-top: 100px;
}

.home video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65vh;
}

.home-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 65vh;
}

.home-header-inner-container {
    position: relative;
    z-index: 10;
}

.home #latest-blog a {
    color: #fff !important;
}

@media screen and (max-width: 1024px) {

    .home video {
        height: 80vh;
        min-height: 500px;
    }

    .home .page-hero {
        height: 75vh;
        padding-top: 0;
        min-height: 500px;
    }

    .home-video-overlay {
        height: 80vh;
        min-height: 500px;
    }

    .home-header-inner-container {
        padding: 150px 75px 0 75px;
    }
}

@media screen and (max-width: 768px) {

    .home video {
        top: 60px;
        height: 70vh;
    }

    .home .page-hero {
        height: 65vh;
        padding: 0;
    }

    .home-video-overlay {
        top: 60px;
        height: 70vh;
    }

    .home-header-inner-container {
        padding: 50px 20px 0 20px;
    }
}

.ring-container {
    position: relative;
}

.circle {
    width: 10px;
    height: 10px;
    background-color: #62bd19;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 8px;
}

.ringring {
    border: 3px solid #62bd19;
    -webkit-border-radius: 30px;
    height: 15px;
    width: 15px;
    position: absolute;
    left: 5px;
    top: 3px;
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.0
}
@-webkit-keyframes pulsate {
    0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
    50% {opacity: 1.0;}
    100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;}
}

.gac-product-search-white-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
    margin: 20px 0;
}

.gac-search-white-form {
    display: flex;
    max-width: 500px;
    border: 1px solid #fff;
    border-radius: 50px;
    overflow: hidden;
    background: transparent;
    padding: 5px;
}

.gac-search-white-field {
    flex: 1;
    padding: 12px 16px;
    border: none !important;
    background-color: transparent !important;
    border: 0;
    color: #fff !important;
    outline: none;
    transition: background-color 0.3s ease;
}

.gac-search-white-field::placeholder {
    color: #fff;
    opacity: 0.8;
}

.gac-search-white-field:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.gac-search-white-submit {
    padding: 12px 24px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gac-search-white-submit:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.gac-search-white-submit:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.gac-search-states {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-left: 0;
}

@media screen and (max-width: 767px) {
    .gac-search-states {
        grid-template-columns: 1fr 1fr;
    }
}

.gac-search-states__item {
    list-style:none;
}

.gac-search-states__item a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 5px 10px;
}

.gac-search-states__item a:hover {
    background-color: #fff;
    color: #000;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

#footer-logo {
    max-width: 250px;
}