/*
 Theme Name:   Pergo Child
 Theme URI:    http://jthemes.org/wp/pergo/
 Description:  Pergo child theme
 Author:       JThemes
 Author URI:   http://themeforest.net/user/themeperch
 Template:     pergo
 Version:      1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  pergo
*/

/* Add your custom css below */

h2.h2-xs {
    font-size: 2rem;
}

.posts-holder .product-item img,.posts-holder .product-item img {
    height: 250px;
    max-width: 100%;
    transform: scale(1) !important;
    object-fit: contain;
}
.posts-holder .product-item .woocommerce-loop-product__title {
    min-height: 50px;
}
.posts-holder .product-item .item-overlay{
    display: none !important;
}

nav.navbar.navbar-expand-lg.fixed-top {
	padding: 1.2rem 0;
}


#blog .blog-post-img img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.joinchat.joinchat--right.joinchat--show.joinchat--noanim {
    bottom: 100px;
}

/* 1. Hide the entire Vue Rapide button container and hover icons */
.products .vue-rapide,
.products [class*="quick-view"],
.products [class*="quickview"],
.products a[href*="quickview"],
.products .yith-wcqv-button,
.products .wc-block-grid__product-add-to-cart a:not(.button),
.products .fa-eye, 
.products .eye-icon {
    display: none !important;
}


/* 2. Fix the floating issue on the dynamic action button */
.custom-loop-action-button {
    position: relative !important;
    clear: both !important;
    float: none !important;
    display: block !important;
    margin: 20px auto 20px auto !important;
    text-align: center !important;
    width: 100% !important;
    z-index: 10 !important;
    /*padding: 20px 0;*/
}

/* 3. Style the "Lire la suite" / "Ajouter au panier" button nicely */
.custom-loop-action-button a.button {
    position: relative !important;
    display: inline-block !important;
    float: none !important;
    transform: none !important;
    background-color: #0076e4 !important; /* Elegant blue matching your brand */
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: background 0.2s ease-in-out !important;
}

/* Hover effect for the action button */
.custom-loop-action-button a.button:hover {
    background-color: #0056a8 !important;
    color: #ffffff !important;
}


h3.h3-sm {
    font-size: 2.2rem;
}

.p-right-20 {
    padding-right: 20px;
}

#semedia-contracts .section-title {
    margin-bottom: 20px;
}
#semedia-contracts .section-title h5 {
    min-height: 50px;
    font-size: 1rem;
}

#semedia-contracts .wpb_single_image .vc_single_image-wrapper {
    display: block;

}

#semedia-contracts .section-title p {
    font-size: 0.9rem;
    padding: 0;
    margin-bottom: 0;
}

#brands-1 .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

#brands-1 .brand-logo, #pricing-2 .brand-logo {
    width: 20%;
    float: left;
    padding: 0 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.ult-banner-block, .wpb_row .wpb_column .wpb_wrapper .ult-banner-block {
    width: 100%;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: block;
    z-index: 1;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1) !important;
    background: none;
    border-radius: 15px;
}

#semedia-contracts .vc_single_image-wrapper img {
    border-radius: 10px;
    height: 220px;
    width: 100% !important;
    display: block;
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto;
}

#semedia-contracts .wpb_single_image .vc_figure {
    display: block;
}   


html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}

.image-radius-20 {
    border-radius: 20px;
}

.yith-wcwl-add-to-wishlist-button span {
    display: none;
}

.contact-page-map iframe {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 500px;
}
.contact-page-map .wpb_raw_code.wpb_raw_html {
    margin: 0;
    margin-bottom: -10px;
}


.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
    display: block !important;
    opacity: 1 !important;
}

.hero-content {
	width: 100%;
}
.hero-content .semedia-hero-product-image {
	position: static !important;
	max-width: 100% !important;	
	height: auto !important;
}

.hero-class #slides {
	/*height: 800px !important;*/
}
 
.hero-class #slides h2 {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-class h4 {
	font-size: 1.5rem;
}


.semedia-about-keys {
	margin-top: -160px;
    position: relative;
    z-index: 10;
}

.semedia-about-keys .hbox-1 {
    border-top: 4px solid #007CDC;
    /* text-align: center; */
    border-radius: 10px;
}
.semedia-about-keys .hbox-1 h5 {
    min-height: 50px;
}

.semedia-about-section {

}

.about-img img, .content-img img {
    border-radius: 20px;
}

#semedia-about .ult-new-ib.ult-ib-effect-style4.ult-ib-resp {
	border-radius: 20px;
	height: 180px;
}

#semedia-about .ult-new-ib.ult-ib-effect-style14.ult-ib-resp {
	border-radius: 20px;
	height: 180px;
}

#semedia-about .ult-ib-effect-style4 .ult-new-ib-title {
    padding-top: 40px;
    font-family: Montserrat !important;
    font-weight: bold !important;
    font-size: 14px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#semedia-about .ult-ib-effect-style14 .ult-new-ib-title {
    padding-top: 40px;
    font-family: Montserrat !important;
    font-weight: bold !important;
    font-size: 15px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


#semedia-about .ult-new-ib img {
    border: none;
    padding: 0;
    margin: 0;
    width: 120% !important;
    display: block;
    height: 100%;
    object-fit: cover;
}


#semedia-about {
	overflow: visible;
}


.hero-class .slides-pagination {
    width: 100%;
    position: absolute;
    bottom: 15%;
    z-index: 20;
    /*text-align: right;*/
    /*padding-right: 50px;*/
}

#semedia-why-us .sbox-6 {
	background-color: rgba(255,255,255,0.9);
    border-color: #007cdc;
    min-height: 320px;
}

.sbox-1 p, .sbox-2 p, .sbox-3 p, .sbox-4 p, .sbox-5 p, .sbox-6 p {
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 15px;
}

#navbarSupportedContent li a {
	text-transform: uppercase;
}

.page-hero-section .hero-txt h2 {
	font-size: 2.8rem;
    letter-spacing: 0;
}



.semedia-categories-section .sbox-2 h5 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.semedia-categories-section span.sbox-icon-img.img-fluid {
    background: #007CDC;
    /* padding: 6px; */
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.semedia-categories-section span.sbox-icon-img.img-fluid img {
	width: 40px;
}

.semedia-categories-section .section-title h3 {
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.semedia-categories-section .section-title p {
    font-size: 1rem;
    padding: 0 10%;
    margin-bottom: 0;
}


.navbar-light .nav-link:focus, .navbar-light .nav-link:hover {
    color: #fff !important;
    background-color: rgba(0, 124, 220, 0.8);
}


 .cf7-bootstrap-wrapper {
    /* background-color: #f0f0f0; */
    padding: 0 15px;
    max-width: 100%;
    margin: 0 auto;
    /* font-family: Arial, sans-serif; */
}

  .cf7-bootstrap-wrapper .form-control {
    border-radius: 25px;
    border: 1px solid #ccc;
    padding: 10px 20px;
    height: auto;
    font-size: 14px;
    color: #555;
  }

  .cf7-bootstrap-wrapper .form-control::placeholder {
    color: #aaa;
  }

  .cf7-bootstrap-wrapper .form-control:focus {
    border-color: #999;
    box-shadow: none;
  }

  .cf7-bootstrap-wrapper .btn-submit {
    background-color: #1a2340;
    color: #fff;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
  }

  .cf7-bootstrap-wrapper .btn-submit:hover {
    background-color: #0f1729;
  }

  .cf7-bootstrap-wrapper label.radio-btn-label {
    display: inline-block;
    cursor: pointer;
  }

  .cf7-bootstrap-wrapper .radio-btn-group .wpcf7-radio .wpcf7-list-item {
    margin: 0;
  }

  .cf7-bootstrap-wrapper .radio-btn-group .wpcf7-radio .wpcf7-list-item label {
    border: 2px solid #ccc;
    border-radius: 6px;
    padding: 6px 20px;
    cursor: pointer;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    display: inline-block;
  }

  .cf7-bootstrap-wrapper .radio-btn-group .wpcf7-radio .wpcf7-list-item input[type="radio"] {
    display: none;
  }

  .cf7-bootstrap-wrapper .radio-btn-group .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + span {
    border-color: #1a2340;
    color: #1a2340;
    font-weight: bold;
  }

  .cf7-bootstrap-wrapper .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
  }

  .cf7-bootstrap-wrapper .wpcf7-checkbox .wpcf7-list-item label {
    font-size: 13px;
    color: #555;
  }

  .cf7-bootstrap-wrapper .wpcf7-checkbox .wpcf7-list-item label a {
    color: #2e86de;
    text-decoration: none;
  }

  .cf7-bootstrap-wrapper .field-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
  }

  .cf7-bootstrap-wrapper .field-label span.required {
    color: red;
    margin-left: 3px;
  }


.catalogue-form-container .wpb_content_element {
    margin-bottom: 0 !important;
}


.bottom-form-header.bg-dark {
    background-color: #007CDC;
}

.bottom-form-header p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 23px !important;
    display: inline-block;
    margin-bottom: 0;
    font-weight: bold;
}

.quick-contact-form .btn {
    background-color: #007CDC;
    border-color: #007CDC;
}

.footer-widget.widget_nav_menu li a, .footer-widget > ul li a {
    font-size: 1rem;
    text-transform: uppercase;
}


.brand-logo img {
    padding: 0 10px;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

#brands-2 .row {
    display: flex;
    align-items: center;
}

#semedia-categories .ult-banner-block.ult-banner-block-custom-height img {
    width: auto;
    max-width: none !important;
    height: 100%;
    position: absolute;
    right: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    object-fit: cover;
    height: 300px !important;
    width: 100% !important;
    border-radius: 15px !important;
}


#semedia-categories .ult-banner-block a.bb-link {
    display: table;
    position: relative;
    color: #fff;
    background-color: #1e73be;
    margin: 15px auto 0;
    padding: .5rem 2rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    border-radius: 5px;
}


@media (max-width: 767px) {
	a.navbar-brand.logo-black {
	    padding: 0 15px;
	}
    .hero-content {
        width: 98%;
        /*display: none;*/
    }

	.hero-class #slides {
		height: 400px !important;
	}
    .hero-class #slides .hero-slide img {
        /*width: 100% !important;*/
        height: 400px !important;
        top: 0 !important;
        object-fit: contain;
    }
	.hero-class #slides .hero-btns a:first-child  {
		margin-bottom: 10px;
		margin-right: 0 !important;
	}

	.hero-class #slides .col-lg-8.col-md-7.col-12.text-left {
		text-align: center !important;
	}

	.hero-content .semedia-hero-product-image {
		display: none;
	}

	.semedia-about-keys {
	    margin-top: 0;
	}

	.navbar-toggler {
		margin-right: 10px;
	}

	.wide-80 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    #hero-7.hero-section h2 {
	    font-size: 1.8rem !important;
	    line-height: 1;
	    font-weight: 700;
	    text-transform: uppercase;
	    letter-spacing: -2px;
	    margin-bottom: 20px;
	}

	.hero-class h4 {
		font-size: 1.2rem !important;
	}

	.hero-class .slides-pagination {
		bottom: 5%;
	}

    #semedia-contracts .section-title h5 {
        height: auto;
        min-height: auto;
    }

}