#survey-form-popup.overlay{
    background:rgba(0,0,0,.4)
}
#survey-form-popup .gform_fields fieldset:not(:first-child) {
    margin-top: 1.5rem;
}
#survey-form-popup .gform_title{
    color: gray !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}
#survey-form-popup .gform_description{
    display:none;
}
#survey-form-popup legend.gfield_label.gform-field-label {
    font-size: 1.2rem;
    line-height: normal;
    margin-bottom: 1rem;
    padding-right:0 !important;
    /*max-width: 80%; */
    color:rgb(0 47 55) !important;
}
#survey-form-popup .ginput_container.ginput_container_radio{
    width:100%;
}
#survey-form-popup .ginput_container.ginput_container_radio .gfield_radio{
    gap:10px;
}
/* Hide the actual radio buttons */
#survey-form-popup .gchoice input[type="radio"] {
    opacity: 0;
    font-size:0;
    display:none;
}
#survey-form-popup .ginput_container.ginput_container_radio .gfield_radio .gchoice{
    margin-right:0;
}
#survey-form-popup .gform-theme--framework .button-grade.gfield-choice-input{
    border:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    height:0;
    width:0;
    margin:0;
}
#survey-form-popup .gfield--type-radio .gfield_label + .ginput_container_radio{
    padding:0;
}
/* Style labels as buttons */
#survey-form-popup .gchoice label {
    display: inline-block;
    padding: .75rem;
    color:rgb(0 47 55)  !important;
    background-color:#F4F4F4;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left:0 !important;
    text-align: center;
    align-content: center;
    border-radius:10px;
    font-weight:600 !important; 
    border: 2px solid #BCBEBC;
    font-size:1rem !important;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:first-child{
    display:flex;
    align-items: baseline;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:first-child .ginput_container{
    margin-left:15px;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:first-child .ginput_container label{
    border-radius:10rem;
    background:#fff;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:nth-child(2) legend.gfield_label.gform-field-label{
    font-size: 1.75rem;
    font-weight:bold;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:nth-child(2) .ginput_container .gchoice{
    display:block;
    width:100%;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:nth-child(2) .ginput_container label{
    width:100%;
    height:5rem;
    font-size:1.5rem !important;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:nth-child(4) legend.gfield_label.gform-field-label{
    display:none;
}
#survey-form-popup form.survey-popup-form .gform-body .gfield:nth-child(4) label{
   background:none;
   font-weight:normal !important;
   padding:initial;
   border:none;
   font-size:initial;
   color:rgb(0 47 55)  !important;
}

#survey-form-popup .gform-body .gfield:nth-child(4) input{
    display:block;
    border-color:#000;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}
#survey-form-popup .gform-body .gfield:nth-child(4) input:checked:before{
    content:'';
}

/* Hover effect */
#survey-form-popup .gchoice label:hover {
    background-color: #333 !important;
    color:#fff !important;
}

#survey-form-popup form.survey-popup-form .gform-body .gfield:nth-child(4) .gchoice label:hover{
    background-color:transparent !important;
    color:rgb(0 47 55)  !important;
}
/* #survey-form-popup .gfield:first-child .gchoice label:hover {
    background-color:#fff;
    color:rgb(0 47 55)  !important;
} */
/* Selected radio button label */
#survey-form-popup .gchoice input[type="radio"]:checked + label, #survey-form-popup form.survey-popup-form .gform-body .gfield:first-child .ginput_container input[type="radio"]:checked + label {
    background-color: rgb(0 47 55);
    border-color: rgb(0 47 55);
    color:#fff !important;
}

/* Keyboard accessibility */
#survey-form-popup .gchoice input[type="radio"]:focus-visible + label {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}
#survey-form-popup .gform_confirmation_message{
    color: rgb(0 47 55) !important;
}

#survey-form-popup .gform-body .gfield:nth-child(5) label{
    display: block;
    color: #002f37 !important;
    font-weight: normal !important;
    font-size: 1rem !important;
    margin-top: 1.5rem;
}
#survey-form-popup .gform_button.button{
    width:100%;
    font-size:1.25rem !important;
}
@media screen and (max-width: 991px) {
    #survey-form-popup > div.relative{
        width:90%;
        min-height: 300px;
    }
    #survey-form-popup .gfield--type-radio .gfield_label + .ginput_container_radio{
        width:100%;
    }
     #survey-form-popup .gform-theme--framework .gfield--type-choice .gfield_checkbox, #survey-form-popup  .gform-theme--framework .gfield--type-choice .gfield_radio{
        flex-direction:row;
     }
    /* #survey-form-popup .gchoice label, .gchoice input {
        min-width:100%;
        width:100%;
    } */
    #survey-form-popup legend.gfield_label.gform-field-label {
        font-size: 1.5rem;
    }
    #survey-form-popup .gchoice label {
        padding: 1rem;
    }
    #survey-form-popup .ginput_container.ginput_container_radio .gfield_radio .gchoice{
        display:block;
    }
    #survey-form-popup form.survey-popup-form .gform-body .gfield:first-child .ginput_container{
        margin-left:0;
    }
}