/*
Theme Name: MYDIY.site Raffle
Template: Impreza
Version: 1.0
Author: GETFOUND
Theme URI: https://competition.demo.getfoundni.co.uk/
Author URI: https://competition.demo.getfoundni.co.uk/
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: diyraffle
*/

/*Add your own styles here:*/

/*#page-content {
    padding-top: 70px;
}

.woocommerce-form-row .password-input {
    display: block;
    position: relative;
}

button.show-password-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 20px;
    background-color: red;
}


.woocommerce-account .u-columns .woocommerce-form {
    background: #3a3a3a;
}

.woocommerce-account .u-columns>div>h2 {
    color: #fff;
}

.l-header .ush_image_1 {
    position: absolute;
    top: -30px;
    height: 110px !important;
    transition: all 0.3s;
}

.l-header.sticky .ush_image_1 {
    top: 0px;
    height: 40px !important;
}



@media only screen and (max-width : 767px) {
    .l-header .ush_image_1 {
        top: 0;
        height: 80px !important;
    }
}*/


#comp-adverts {
    text-align: center;
}

#comp-adverts>h3 {
    color: #FFF;
    text-align: center;
    margin: 0 0 0.4em;
}

#comp-adverts>p {
    margin-bottom: 3em;
}

.comp-advert-loop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.competition-advert {
    display: flex;
    flex-direction: column;
    gap: 22px;
    /**/
    background: var(--color-content-link);
    padding: 20px;
    text-align: center;
    color: #FFF;
}

.competition-advert:hover,
.no-touch .competition-advert:hover {
    color: #FFF;
}

.competition-advert:hover .button,
.no-touch .competition-advert:hover .button {
    background: var(--color-content-link-hover);
}

.competition-advert h3 {
    color: var(--color-header-top-text);
    text-align: center;
    font-family: var(--font-h1);
    font-weight: 400;
    margin: 0.4rem auto 0.7rem auto;
}

.competition-advert .price,
.competition-advert .deadline {
    font-size: 14px;
}

.competition-advert .deadline p {
    font-size: 18px;
    font-weight: normal;

}

.competition-advert .price {
    border-bottom: 1px solid;
    padding: 10px;

}

.competition-advert .price p {
    display: flex;
    justify-content: space-between;
}

.competition-advert .button {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    margin-top: auto;
    background: var(--color-subfooter-bg-alt);
}

.competition-advert .button:before {
    display: none;
}


@media only screen and (max-width : 1024px) {
    .comp-advert-loop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width : 767px) {
    .comp-advert-loop {
        gap: 1rem;
    }

    .competition-advert .deadline p {
        font-size: 16px;
    }
}

@media only screen and (max-width : 540px) {
    .comp-advert-loop {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .competition-advert {
        padding: 10px;
    }

    .competition-advert .price p {
        flex-direction: column;
    }

    body #us_grid_1 .w-grid-item {
        width: 100%;
    }

    #comp-adverts>p {
        margin-bottom: 2em;
    }

}