/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.1
*/
/* SAV */
#choix_client span.wpcf7-list-item {
    display: inline-block;
    width: calc((100% / 6) - 2%);
    margin: 1%;
    height: 130px;
}
#choix_client span.wpcf7-list-item.last {
    width: calc((100% / 3) - 2%);
    height: 0;
}
#choix_client span.wpcf7-list-item.last  .wpcf7-free-text{
    margin-bottom: 0!important;
}
.has-free-text.autre.lastcontent {
    display: flex;
    flex-direction: column;
}
#choix_client span.wpcf7-list-item:not(.autre) > label {
    background: #ddd;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease-in;
    cursor: pointer;
}
#choix_client span.wpcf7-list-item:not(.autre) > label {
    text-align: center;
    line-height: 120%;
    border-radius: 5px;
    height: 130px;
}
#choix_client span.wpcf7-list-item:not(.autre) > label input {
    display: none;
}
#choix_client span.wpcf7-list-item:not(.autre) label:not(.checked):hover{
    transform: scale(1.08);
    border: 1px solid #ccc;
    background: #bf1145;
    color: #fff;
}
#choix_client span.wpcf7-list-item:not(.autre) > label.checked {
    border: 1px solid #ccc;
    background: #bf1145;
    color: #fff;
}
#choix_client span.wpcf7-list-item-label {
    padding: 10px;
}
#choix_client span.wpcf7-list-item:not(.autre) > label:before {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    width: 100px;
    height: 80px;
    font-size: 50px;
    padding: 15px 10px 10px 10px;
    text-align: center;
    margin: 0 auto;
    color: #000;
}

.row .one-second.mcb-wrap p {width: 98%;margin: 0 auto 15px auto;}

#choix_client span.wpcf7-list-item:not(.autre) > label.checked:before,
#choix_client span.wpcf7-list-item:not(.autre) > label:hover:before{color: #fff;}
#choix_client span.wpcf7-list-item:not(.autre) > label.fenetres:before {content: "\e901";}
#choix_client span.wpcf7-list-item:not(.autre) > label.volets:before {content: "\e909";}
#choix_client span.wpcf7-list-item:not(.autre) > label.portes_de_garage:before {content: "\e905";}
#choix_client span.wpcf7-list-item:not(.autre) > label.portes_dentree:before {content: "\e906";}
#choix_client span.wpcf7-list-item:not(.autre) > label.pergolas_bioclimatique:before {content: "\e903";}
#choix_client span.wpcf7-list-item:not(.autre) > label.veranda___toiture_plate:before {content: "\e908";}
#choix_client span.wpcf7-list-item:not(.autre) > label.carport:before {content: "\e900";}
#choix_client span.wpcf7-list-item:not(.autre) > label.garde_corps:before {content: "\e902";}
#choix_client span.wpcf7-list-item:not(.autre) > label.portails:before {content: "\e904";}
#choix_client span.wpcf7-list-item:not(.autre) > label.stores_a_banne:before {content: "\e907";}

#naturebesoin, #degreurgence {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#naturebesoin span.wpcf7-list-item-label, #degreurgence span.wpcf7-list-item-label{
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
}
div.wpcf7 input[type="file"] {
    cursor: pointer;
    border: none;
    padding: 0!important;
    margin-bottom: 20px;
}

body:not(.cf7p-message) .wpcf7-not-valid-tip {
    background-color: #792036;
}
body:not(.cf7p-message) .wpcf7-not-valid-tip:before {
    background-color: #792036;
}

.files_container p {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.formecontrol {
    width: 100%;
    height: 120px!important;
    /*width: 0.1px;*/
    /*height: 0.1px;*/
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: 0;
    line-height: normal;
    outline: none;
}

.formecontrol + label {
    max-width: 100%;
    font-size: 1.25rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
}
.formecontrol + label {cursor: pointer;}
.formecontrol:focus + label {
    outline: none;
}

label.labelinput::before {
    width: 80px;
    height: 80px;
    content: "\f093";
    padding: 23px;
    display: block;
    border-radius: 50%;
    background-color: #bf1145;
    font-family: 'Font Awesome 5 Free';
    font-size: 35px;
    color: #fff;
    margin: 0 auto;
    transition: all 0.45s ease-in;
}

.formecontrol:focus + label:before,
.formecontrol:hover + label:before {
    border: 1px solid #bf1145;
    background: #fff;
    color: #bf1145;

}
.wpcf7 form .wpcf7-response-output{
    border: 2px solid #46b450;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #792036; /* Red */
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
    .section_wrapper, .container, .with_aside .content_wrapper {
        max-width: calc(100% - 20px);
    }
    .mfn-header-menu{
        flex-wrap:nowrap;
    }
}

@media only screen and (max-width:  1279px) {
    .files_container p {
        flex-wrap: wrap;
    }

    .files_container span.wpcf7-form-control-wrap {
        width: auto;
    }
}
@media only screen and (max-width:  1024px) {
    #choix_client span.wpcf7-list-item {
        width: calc((100% / 4) - 2%);
    }
    #choix_client span.wpcf7-list-item.last {
        width: calc((100% / 2) - 2%);
    }
}
@media only screen and (max-width: 800.99px) {
    #choix_client span.wpcf7-list-item {
        width: calc((100% / 3) - 2%);
    }
    #choix_client span.wpcf7-list-item.last {
        width: calc((100% / 1.5) - 2%);
    }
    #naturebesoin {
        flex-wrap: wrap;
    }
    #naturebesoin .wpcf7-list-item {
        flex: 33%;
    }
    #naturebesoin .wpcf7-list-item {
        width: 100%;
    }
}
@media only screen and (max-width: 576px) {
    #choix_client span.wpcf7-list-item {
        width: calc((100% / 2) - 2%);
    }
    #choix_client span.wpcf7-list-item.last {
        width: calc(100% - 2%);
        height: auto;
    }
    #naturebesoin, #degreurgence {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        flex-direction: column;
    }
    .files_container p .wpcf7-form-control-wrap {
        width: 50%;
        text-align: center;
    }
    .formecontrol + label{
        font-size: 0.875rem;
        padding: 0.5rem;
    }
}
