.formGen .row {
    margin-left: auto !important;
    margin-right: auto !important;
}

.formGen .form-group {
   display: flex;
   margin: 10px 0;
   flex-wrap: wrap;
}

.formGen label, .formGen p.frm-field-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    font-style: normal;
    float: left;
    width: 100%;
    max-width: 190px;
    margin-right: 10px;
    margin-bottom: 0;
}

.formGen input[type="text"], .formGen input[type="email"], .formGen input[type="number"], .formGen input[type="file"], .formGen select {
    flex: 1 0;
}

.formGen select {
    padding: 0 25px 0 18px;
    
}

.formGen input[type="checkbox"], .formGen input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #ededed;
    width: 22px;
    height: 22px;
    background: white;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto
}

.formGen input[type="checkbox"]:checked, .formGen input[type="radio"]:checked {
	border: 2px solid #ededed;
}

.formGen input[type="radio"] {
    border-radius: 50%;
}

.formGen input[type="radio"]:checked:after, .formGen input[type="checkbox"]:checked:after {
    content: '\A';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #39777e;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.formGen input[type="checkbox"]:checked:after {
    border-radius: 0;
}

.formGen .checkbox, .formGen .radio {
    display: inline-flex;
    align-items: flex-start;
    flex: 1 1 100%;
    margin-left: 200px;
}

.formGen .checkbox > label , .formGen .radio > label {
    float: none;
    max-width: inherit;
    width: inherit;
}

.formGen textarea, .formGen input[type="file"] {
    border: 2px solid #ededed;
    border-radius: 0;
    box-shadow: none;
    padding: 0 18px;
    flex: 1 0;
}

.formGen textarea {
    min-height: 150px;
}

.formGen input[type="file"] {
    padding: 8px;
}

.formGen .error {
    width: 100%;
    display: block;
    margin-left: 200px;
    font-weight: 700;
    color: #39777e;
}

.formGen input[type="submit"] {
    float: right;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border: 0px;
    background: #39777e;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 9;
    padding: 0 22px;
}

@media only screen and (max-width: 600px) {
    .formGen .error {
        margin-left: 170px;
    }
}

@media only screen and (max-width: 520px) {
    .formGen .checkbox, .formGen .radio {
        margin-left: 140px;
    }
    
    .formGen .error {
        margin-left: 140px;
    }
    
    .formGen label, .formGen p.frm-field-title {
        max-width: 130px;
    }
}

@media only screen and (max-width: 450px) {
    .formGen .checkbox, .formGen .radio {
        margin-left: 0px;
    }
    
    .formGen .error {
        margin-left: 0px;
    }
    
    .formGen label, .formGen p.frm-field-title {
        max-width: 100%;
        margin-bottom: 5px;
    }
    
    .formGen input[type="text"], .formGen input[type="email"], .formGen input[type="number"], .formGen input[type="file"], .formGen select {
        flex: 0 1 100%;
    }
}