*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #384047;
}

div.form-wrapper {
    max-width: 300px;
    margin: 10px auto;
    padding: 10px 20px;
    background: #f7f7f7;
    border-radius: 8px;
}



h1 {
    margin: 0 0 30px 0;
    text-align: center;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
    border: none;
    font-size: 20px;
    height: auto;
    outline: 0;
    padding: 15px;
    width: 100%;
    background-color: #fff;
    color: #000000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
}

select {
    border: none;
    font-size: 18px;
    outline: 0;
    width: 100%;
    background-color: #fff;
    color: #000000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    padding: 5px;
    height: 35px;
    border-radius: 4px;
}

input[type="submit"], .form-submit-container button[type="submit"] {
    padding: 5px 15px;
    color: #FFF;
    background-color: var(--theme-primary);
    font-size: 18px;
    text-align: center;
    font-style: normal;
    border-radius: 5px;
    width: 100%;
    border-style: solid;
    border-color: var(--theme-primary);
    border-width: 1px 1px 3px;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
    margin: 10px 0;
}

input[type="submit"]:hover {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

fieldset {
    margin-bottom: 30px;
    border: none;
}

legend {
    font-size: 1.4em;
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
    padding-right: 70px !important;
}

h4 {
    margin-top: 20px;
}
h5 {
    margin-top: 15px;
}
hr {
    border-top:15px solid white;
    margin-right:-20px;
    margin-left:-20px;
}

label.light {
    font-weight: 300;
    display: inline;
}

.number {
    background-color: #5fcf80;
    color: #fff;
    height: 30px;
    width: 30px;
    display: inline-block;
    font-size: 0.8em;
    margin-right: 4px;
    line-height: 30px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 100%;
}

@media screen and (min-width: 480px) {
    div.form-wrapper {
        max-width: 800px;
    }
    div.form-submit-container input, div.form-submit-container button[type="submit"] {
        max-width: 800px;
    }

}

div.form-submit-container input, div.form-submit-container button[type="submit"] {
    margin: auto;
}

div.form-submit-container {
    display: flex;
    margin-top: 30px
}

/* ----------------------------------------------- */

.inputGroup {
    background-color: #fff;
    display: block;
    position: relative;
}

.inputGroup label {
    padding: 12px 30px;
    width: 100%;
    display: block;
    text-align: left;
    color: #3C454C;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;
    border-radius: 8px;
}

.inputGroup label:before {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    background-color: #5562eb;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: -1;
}

.radioR label:before {
    border-radius: 50%;
}

.inputGroup label:after {
    width: 32px;
    height: 32px;
    content: '';
    border: 2px solid #D1D7DC;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: 2px 3px;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 200ms ease-in;
}

.sessionsWatchedR  label:after, .radioR label:after {
    border-radius: 50%;
}

.inputGroup input:checked~label {
    color: #fff;
}

.inputGroup input:checked~label:before {
    -webkit-transform: translate(-50%, -50%) scale3d(56, 56, 1);
    transform: translate(-50%, -50%) scale3d(56, 56, 1);
    opacity: 1;
}

.inputGroup input:checked~label:after {
    background-color: #54E0C7;
    border-color: #54E0C7;
}

.inputGroup input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}


div.nubcert-content-inside {
    display: flow-root;
    margin: 20px 0;
}

@media(min-width:800px){
    .nubcert-radio-options-one-row {
        display: flex;
    }
    .nubcert-radio-options-one-row .inputGroup.radioR{
        height:50px;
        display:flex;
        flex:1;
    }
    .nubcert-radio-options-one-row .inputGroup.radioR label {
        text-align:center;
        align-self:center;
        margin-bottom:0;
        font-size:12px;
        padding:10px 0;
    }
}

div.nubcert-radio-options-one-row div.inputGroup.radioR > label {
    padding-right: 50px !important;
}

div.nubcert-radio-options-one-row div.inputGroup.radioR label::after {
    right: 10px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.nubcert-question-group-trigger, .nubcert-question-group-trigger:hover {
    color: black;
    border-bottom: 1px dotted var(--theme-primary);
    text-decoration: none;
}


.nubcert-question-group-trigger:hover {
    border-bottom: 1px dotted var(--theme-secundary);
}

.nubcert-question-group-container {
    margin: 20px 0px;
}