/*
Theme Name: Thème Henry Bordeaux
Theme URI: https://henrybordeaux.inboost.com/
Description: Thème du site de la résidence Henry Bordeaux
Author:
Author URI:
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/*
* Thème OWP
* Remove border around hyperlink after click on it
* https://wordpress.org/support/topic/oceanwp-border-menu-remove/#post-13407824
*/
a:focus {
    outline: 0 !important;
}


/*
* OceanWP
* Image de fond des en-tête des pages : ajuste leur taille pour les tablettes & smartphones
*/
@media only screen and (max-width: 959px) {
.background-image-page-header {
    height: 100px !important;
}
.home .background-image-page-header {
    height: 600px !important;
}
}

@media only screen and (max-width: 640px) {
.background-image-page-header {
    height: 100px !important;
}
.home .background-image-page-header {
    height: 290px !important;
}
}


/*
* OceanWP
* Sticky menu : corrige le shrink sur smartphones
* To remove after upgrade Skicky Header > 1.1.8
*/
.is-sticky .oceanwp-mobile-menu-icon a {
    line-height: 54px;
}


/*
* OceanWP
* Nom texte du site : assigne une couleur
*/
.site-title.site-logo-text {
    color: #ffffff;
}
.is-sticky .site-title.site-logo-text {
    color: #555555;
}


/*
* OceanWP
* Nom texte du site : ajuste l'espacement des caractères sur smartphone
*/
@media only screen and (max-width: 640px) {
.site-title.site-logo-text {
    letter-spacing: -1px;
}
.is-sticky .site-title.site-logo-text {
    letter-spacing: -1px;
}
}


/*
* Contact Form 7
* Code pour permettre d'avoir des colonnes dans les formulaires CF7
* https://deliciousthemes.com/contact-form-7-fields-columns/
*/
.one-half,
.one-third {
    position: relative;
    margin-right: 2%;
    float: left;
        margin-bottom: 10px;
 
}
 
.one-half { width: 49%; }
.one-third { width: 32%; }
 
.last {
    margin-right: 0 !important;
    clear: right;
}
 
@media only screen and (max-width: 767px) {
    .one-half, .one-third {
        width: 100%;
        margin-right: 0;
    }
}


/*
* Contact Form 7
* Espace entre les lignes de champs : diminue le padding du bas à 10px
* https://contactform7.com/styling-contact-form/
*/
.wpcf7 p
{
    margin-bottom: 10px;
}


/*
* Contact Form 7
* Bouton Submit : redesign le bouton en rouge avec un design proche des boutons d'Elementor
* https://www.fabriziovanmarciano.com/custom-css-contact-form-7/
*/
 .wpcf7 input[type="submit"] {
     color: #ffffff;
     font-size: 18px;
     font-weight: 500;
/*     background: #C00000;
     padding: 15px 25px 15px 25px;*/
     border: none;
     border-radius: 4px;
     width: 100%;
     text-transform: uppercase;
/*     letter-spacing: 5px;*/
 }
 .wpcf7 input:hover[type="submit"] {
/*     background: #900000;*/
     transition: all 0.4s ease 0s;
 }
 .wpcf7 input:active[type="submit"] {
     background: #000000;
 }
 
 
 /*
* Ultimate Member & Contact Form 7
* Cache le badge reCaptcha v3
* https://developers.google.com/recaptcha/docs/faq
* .grecaptcha-badge { visibility: hidden; }
*
* Manage badge visibility on selected pages only
* https://trackitweb.com/hide-the-contact-form-7-google-v3-recaptcha-badge/
*/
body:not(.page-id-29):not(.page-id-31):not(.page-id-637) .grecaptcha-badge { visibility: hidden; }
