/*
Theme Name: BeFlex Child
Theme URI: https://www.eoxia.com
Author: the Eoxia team
Description: Child theme of BeFlex
License: AGPLv3
License URI: https://spdx.org/licenses/AGPL-3.0-or-later.html
Version: 4.0.0
Template: beflex
Text Domain: beflex-child
*/


.gfield.choice-buttons .gchoice {
    z-index:1;
    position:relative;
    margin:0 0 10px 0;
    padding:0;
    height:70px;
    width: 100%!important;
}
.gfield.choice-buttons input.gfield-choice-input {
    z-index:2;
    appearance:none;
    margin:0;
    padding:0;
    width: 100%;
    border-radius: 5px;
    height:100%;
    transition: .3s all ease-in-out;
    background:#dfe1e5;
    position:absolute;
}
.gfield.choice-buttons input.gfield-choice-input:hover,
.gfield.choice-buttons .gchoice label:hover {
    cursor:pointer;
}
.gfield.choice-buttons input.gfield-choice-input:checked {
    background:#04ABA3;
}
.gfield.choice-buttons input.gfield-choice-input:checked + label {
    color:white;
}
.gfield.choice-buttons .gchoice label {
    z-index:3;
    font-weight:700;
    color:#141c25;
    display:block;
    position: absolute;
    padding: 0 0 0 30px;
    top: 50%;
    transform: translateY(-50%);
    width:100%;
    overflow:visible;
}
.gfield.choice-buttons input.gfield-choice-input + label:after {
    content: "";
    position: absolute;
    right: -10px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 2px solid #c5c9d2;
    z-index: 2;
    top: 50%;
    transition: .3s all ease-in-out;
    color: white;
    font-size: 25px;
    text-align: center;
    line-height: 25px;
    font-weight: 500;
}
.gform-theme--framework .gfield.choice-buttons input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before {
    opacity: 0 !important;
}
.gfield.choice-buttons input[type="checkbox"].gfield-choice-input + label:after {
    border-radius: 5px;
}
.gfield.choice-buttons input[type="radio"].gfield-choice-input + label:after {
    border-radius:50px;
}
.gfield.choice-buttons input.gfield-choice-input:checked + label:after {
    content: "\00D7";
    border: 2px solid white;
}


body.page-id-355 legend, body.page-id-355 .gfield_description {
    /*text-align: center;*/
}
body.page-id-355 .gform-footer {
    justify-self: center;
}