/*
Theme Name: OnePress Child
Theme URI: https://crescendo-systemes.com/
Description: Child theme for OnePress
Author: Your Name
Template: onepress
Version: 1.0.0
Text Domain: onepress-child
*/

/* Add your custom CSS below */

.greyscale-effect{
    filter: grayscale(100%);
}

.mmzoom{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    padding:8px 20px;
    background:#ffffff;
}

.mmzoom button{
    background:#fff;
    border:1px solid #ccc;
    border-radius:4px;
    padding:6px 10px;
    cursor:pointer;
    font-weight:bold;
}

.mmzoom button:hover,
.mmzoom button:focus{
    background:#0073aa;
    color:#fff;
    outline:2px solid #005177;
    outline-offset:2px;
}



.mmheadbox{
    width:100%;
}

.mmhomehead{
    display:flex;
    align-items:stretch;
}

.mmhomeimg{
    flex:1;
}

.mmimg{
    width:100%;
    display:block;
}

.mmsondage{

    flex:1;

    background:#8ec0dc;

    color:#fff;

    padding:39px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.mmbuttons{

    display:flex;

    gap:20px;

    margin-bottom:60px;

}

.mmbtn{

    flex:1;

    background:#2d5f88;

    color:#fff;

    text-decoration:none;

    padding:5px;

    text-align:center;

    font-size:15px;

    font-weight:600;

}

.mmbtn:hover{

    background:#244c6b;

    color:#fff;

}

.mmhomeinfo{

    display:flex;

    gap:20px;

}

.mmcolumn{

    flex:1;

}

.mmcolumn h2{

    color:#fff;

    font-size:20px;

    margin-bottom:15px;

}

.mmcolumn p{

    margin:0px 0;

    font-size:15px;

    line-height:1.6;

}
.mmgreybox{
padding:8px 50px;
}


/* ===========================
   Tablette
=========================== */

@media (max-width: 992px) {

    .mmhomehead{
        flex-direction: column;
    }

    .mmhomeimg,
    .mmsondage{
        width:100%;
        flex:none;
    }

    .mmsondage{
        padding:30px;
    }

    .mmhomeinfo{
        flex-direction:column;
        gap:30px;
    }

    .mmbuttons{
        margin-bottom:30px;
    }

    .mmgreybox{
        padding:20px;
    }

}

/* ===========================
   Mobile
=========================== */

@media (max-width: 768px){

    .mmhomehead{
        flex-direction:column;
    }

    .mmhomeimg,
    .mmsondage{
        width:100%;
    }

    .mmimg{
        width:100%;
        height:auto;
    }

    .mmsondage{
        padding:20px;
    }

    .mmbuttons{
        flex-direction:column;
        gap:10px;
        margin-bottom:25px;
    }

    .mmbtn{
        width:100%;
        font-size:16px;
        padding:12px;
    }

    .mmhomeinfo{
        flex-direction:column;
        gap:25px;
    }

    .mmcolumn h2{
        font-size:20px;
    }

    .mmcolumn p{
        font-size:15px;
        line-height:1.5;
    }

    .mmgreybox{
        padding:15px;
    }

}

/* ===========================
   Petit téléphone
=========================== */

@media (max-width: 480px){

    .mmsondage{
        padding:15px;
    }

    .mmbtn{
        font-size:15px;
        padding:10px;
    }

    .mmcolumn h2{
        font-size:18px;
    }

    .mmcolumn p{
        font-size:14px;
    }

}

.page-template-template-fullwidth-contained .site-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-template-template-fullwidth-contained #content-inside {
    padding: 40px;
}

/* Current page */
.current-menu-item > a,
.current_page_item > a {
    color: #8ec0dc !important;
}

/* Parent menu item when viewing a subpage */
.current-menu-parent > a,
.current-menu-ancestor > a,
.current_page_parent > a,
.current_page_ancestor > a {
    color: #8ec0dc !important;
}
