/*
Theme Name: Copy Way Theme
Theme URI: https://www.webdesign-entreprise.com/
Description: A child theme for Copy Way.
Author: Olivier CESARI
Author URI: https://www.webdesign-entreprise.com/
Template: twentytwentyfive
Version: 1.0
*/

table tr td{border: solid 2px #e0e0e0!important;}
tbody tr{background:#ffffff!important}
tbody tr:first-child{background:#e0e0e0!important}

.media_no_padding .wp-block-media-text__content{padding:0}

h2 a{text-decoration:none;}
.overlay-effect{position:relative;overflow:hidden;}
.overlay-effect::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #12121226;
    position: absolute;
    z-index: 0;
    transition: all 0.5s;
}
.overlay-effect h2{z-index:1}
.overlay-effect:hover::before{transition: all 0.5s;}

.overlay-effect.mouseenter.left:hover::before{transform: translate(100%, 0);}
.overlay-effect.mouseenter.right:hover::before{transform: translate(-100%, 0);}
.overlay-effect.mouseenter.top:hover::before{transform: translate(0, 100%);}
.overlay-effect.mouseenter.bottom:hover::before{transform: translate(0%, -100%);}

.overlay-effect.mouseleave::before{transform: translate(0%, 0%);}

.wpcf7-form input,.wpcf7-form textarea{
    width: 100%;
    padding: 10px 25px;
    font-size: 18px;}
.wpcf7-submit{    background: #3d3d3d;
    color: white;
    text-transform: uppercase;}
    
footer{margin-top: 0;}


.wp-block-media-text.sticky-img figure{height:100%;}
.wp-block-media-text.sticky-img img{position:sticky;top:50px;}

ul.wp-block-navigation__submenu-container{min-width: 410px!important;}
ul.wp-block-navigation__submenu-container li a{font-size:16px;text-transform:none;font-weight: 600;}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{padding: .15em 1em; }
.wp-block-navigation .has-child .wp-block-navigation__submenu-container {left: -16px!important; padding:1rem 0rem!important}

.wp-block-button.cta-menu{width:160px;}
table.has-fixed-layout tr td{width: 95px;}
:where(.wp-site-blocks :focus){ outline-style: none!important;outline-width: 0!important;}
:root :where(.wp-block-list li) {margin-top: 0!important;}