/*
Theme Name: Silva Rey Artist Child
Theme URI: https://silvareyartist.com/
Description: Hello. Thank you for using out theme. For any help or support please feel free to reach us at anytime at info@wechase.eu 
Author: Your Wechase - Marketing & Business Optimization
Author URI: https://wechase.eu
Template: silvareyartist
Version: 1.0.0
Text Domain: silvareyartist-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Import Parent Theme Styles */
@import url("../silvareyartist/style.css");


html {
  scroll-behavior: smooth;
}

.badge-for_sale {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    color: #fff;
    background: var(--e-global-color-accent);
    padding: 4px 8px;
}

.custom-breadcrumbs, 
.custom-breadcrumbs a {
    font-size: 14px;
    color: #636363 !important;
}

@media only screen and (max-width:767px) {
	.width_100_mobile a {
 	   width: 100% !important;
	}
}

/****
 * 
 * Homepage section - Artwork Type CTA
 * 
 ****/
.artwork-type-cta  .artwork-type-cta-heading {
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}
.artwork-type-cta .artwork-type-cta-heading .elementor-widget-container {
    display: flex;
    align-items: center;
}

.artwork-type-cta .view_cta {
    font-size: 14px;
    font-family: Sans-Serif;
    font-weight: 400;
    text-decoration: underline;
    display: block;
    transform: scale(100%);
    transition: transform 0.250s ease-in-out 0.100s;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}

.artwork-type-cta img {
    min-width: 100% !important;
    aspect-ratio: 7 / 5 !important;
    object-fit: cover !important;
    transform: scale(100%);
}
 @media only screen and (max-width:767px) {
     .artwork-type-cta img {
        aspect-ratio: 16 / 9 !important;
    }
    .artwork-type-cta .view_cta {
        bottom: 30px;
    }
}
 

 .artwork-type-cta::after {
    background: #00000040;
    content: ' ' !important;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    opacity:0;
    transform: scale(100%);
    transition: opacity 0.250s ease-in-out 0.0s, transform 0.250s ease-in-out 0.100s;
}
.artwork-type-cta:hover::after {

    background: #00000040;
    content: ' ' !important;
    width: 100%;
    height: 100%;
    opacity:1;
    transform: scale(98.25%);
    backdrop-filter: blur(3px);
}
.artwork-type-cta img {
    transform: scale(100%);
    transition: transform 0.250s ease-in-out 0.100s;
}
.artwork-type-cta:hover img {
    transform: scale(98%);
    transition: transform 0.250s ease-in-out 0.100s;
}
.artwork-type-cta:hover .view_cta {
    transform: scale(110%);
    transition: transform 0.250s ease-in-out 0.100s;
}
/****
 * 
 * END Homepage section - Artwork Type CTA
 * 
 ****/


/*
 * 
 * Custom Form - Acceptance Box
 * 
 * */
@media only screen and (max-width:1240px){
    .custom-form button.elementor-button.elementor-size-md {
        width: 100%;
    }
}
.custom-form .elementor-field-acceptance_1 .elementor-field-option {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.custom-form [type="checkbox"]:checked,
.custom-form [type="checkbox"]:not(:checked),
.custom-form [type="radio"]:checked,
.custom-form [type="radio"]:not(:checked) {
    position: absolute;
    visibility: hidden;
}
.custom-form .elementor-field-subgroup label[for="form-field-acceptance_1"] {
    display: block !important;
    z-index: 2;
    margin: 0 !important;
    border: 0;
    border-radius: 3px;
    padding: 5px 35px;
    font-size: 13px;
    line-height: 1.3em;
    text-align: left;
    transition: .2s all;
    cursor: pointer;
    position: relative;
}
.custom-form .elementor-field-subgroup label[for="form-field-acceptance_1"]:after {
    width: 24px;
    height: 24px;
    content: "";
    border: 2px solid #232323;
    background-color: transparent;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 0px 1px;
    z-index: 2;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 200ms ease-in;
}
.custom-form input:checked ~ label[for=form-field-acceptance_1]:after {
    background-image: url(https://silvareyartist.com/wp-content/uploads/2025/04/check_consent_box.svg);
    background-color: transparent;
    border-color: var( --e-global-color-accent );
    outline: 1px solid var( --e-global-color-accent );
    opacity: 1;
    transition: all 200ms ease-in !important;
}
.elementor-field-group-acceptance_1 {
    margin-bottom: 30px !important;
}
/*****
 * 
 * END Custom Form - Acceptance Box
 * 
 ******/

/**********************
 * 
 * Cookie bar
 *
 **********************/
button.cky-btn.cky-btn-accept {
    color: #ffffff !important;
    font-weight: bold;
	order: -3;
}
button.cky-show-desc-btn {
    color: #ffffff !important;
    text-decoration: underline !important;
}
.cky-footer-wrapper div:last-child {
    display: none !important;
}
button.cky-btn.cky-btn-reject {
    border: none !important;
	display:none !important;
}

@media (max-width:767px) {
	button.cky-btn.cky-btn-reject {
		padding: 4px !important;
	}
}
/**********************
 * 
 * END Cookie bar
 *
 **********************/