/*
Theme Name:   Understrap-child Theme
Description:  Child theme for UnderStrap
Author:       
Template:     understrap
Version:      1.0.0
*/

.card-text.limited {
	max-height: 50px; /* Adjust the value to set the maximum height */
    overflow: hidden;
}

/*20240308/
/* General styling for the form on the Verkoopservice page */
.wpcf7 {
    max-width: 600px;
    margin: 0 !important;
}

.wpcf7-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.wpcf7-form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcf7-submit {
    background-color: #007bff;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #0056b3;
}

.wpcf7-response-output {
    background-color: #e7f5e6; /* Light green background for visibility */
    color: #155724; /* Dark green text */
    border-radius: .25rem; /* Rounded corners */
    padding: 15px !important; /* Extra padding for space */
    border: 1px solid #c3e6cb; /* Subtle border to match the design */
    /*display: none; !* Hide by default *!*/
    position: relative; /* Needed for pseudo-element positioning */
}

.wpcf7-response-output::before {
    content: '\f058'; /* FontAwesome check-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #155724; /* Same color as text */
    margin-right: 8px;
    display: inline-block;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-acceptance-missing,
.wpcf7-response-output.wpcf7-mail-sent-ng {
    display: block; /* Display error or success messages */
}



/* Specific adjustments for spacing and alignment */
.page-id-35 .entry-content .car-admission {
    margin-top: 50px; /* Increased distance above the car-admission div */
}

.page-id-35 #wpcf7-f46-p35-o1 {
    margin: 0 !important;
}

#wpcf7-f46-p35-o1 .wpcf7-form-control-wrap {
    max-width: 100%;
}

#wpcf7-f46-p35-o1 .wpcf7-form {
    margin-left: 0;
    padding: 0;
}

/* Ensure the form elements align nicely under the text above */
.wpcf7-form p {
    margin-bottom: 15px; /* Adjust space between form elements */
}

.page-id-35 .wpcf7-form label {
    display: block;
    margin-bottom: 5px; /* Adds space between the label and the input */
}

.page-id-35 .wpcf7-form-control-wrap {
    display: block; /* Ensures inputs take full width and align nicely */
}

/* Target the specific form on the Verkoopservice page */

.page-id-35 #wpcf7-f46-p35-o1 .wpcf7-form{
    margin-left: 0;
    padding: 20px;
    margin-bottom: 10px;
}

section.related.products {
    margin-top: 100px;
}

.carousel-item .products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/*Home*/
@media(min-width: 769px) {
    .carousel-item {
        height: 100vh; /* Full viewport height */
        overflow: hidden; /* Hide overflow */
        position: relative; /* Prepare for absolute positioning */
    }

    .carousel-item img {
        position: absolute; /* Allows us to control image positioning */
        top: 50%; /* Start positioning from the center */
        left: 50%; /* Start positioning from the center */
        transform: translate(-50%, -50%); /* Center the image */
        min-width: 100%; /* Ensure it covers width */
        min-height: 100%; /* Ensure it covers height */
        object-fit: cover; /* Cover the container without stretching */
        margin-top: -100px;
    }
    #kenteken-header {
        margin-top: -200px;
    }
}
/*Home end*/

.carousel-pdp-control-next-icon, .carousel-pdp-control-prev-icon {
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color:transparent;
    background-size: 100% 100%;
}

.card.bg-purple.text-black {
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
}

.card.bg-purple.text-black:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Increase the shadow on hover for more pop */
}

ul.fa-ul {
    margin-top: 0; /* Remove any default margin */
    padding-left: 0px; /* Adjust the left padding to align with the H2 */
}
/* Media query for mobile screens (375px and lower) */
@media (max-width: 425px) {
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        margin: 0px;
        padding: 15px;
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    #service-profile-pic {
        display: none;
    }
}

/* Style the links */
#footer-nav nav a {
    color: white; /* Change the link color to white */
    text-decoration: none; /* Remove the underline */
    font-size: 14px; /* Adjust the font size if needed */
}

/* Optional: Add hover effect for links */
#footer-nav nav a:hover {
    color: #ccc; /* Change color on hover */
    text-decoration: underline; /* Optionally add underline on hover */
}
/*pdp price*/
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    padding-right: 38px !important;
}

.woocommerce-product-attributes.shop_attributes tr {
    transition: all 0.3s ease-in-out;  /* Smooth transition when hiding/showing */
}

/* Removes category from pdp */
.product_meta .posted_in {
    display: none;
}

.woocommerce-breadcrumb {
    display: none;
}
/* end */

/* The below is also in style2.css but for mobile only */
.read-more {
    color: #8f8f8f;
    text-decoration: none !important;
    cursor: pointer;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    position: relative;
}

.read-more:hover{
    color: #c1c1c1;
}


.read-more:hover {
    text-decoration: underline;
}

.read-more .line {
    flex-grow: 1;
    height: 1px;
    background-color: #ccc; /* Line color */
    margin: 0 10px; /* Space between text and lines */
}

.read-more i {
    margin: 0 5px; /* Space around the icon */
}
