﻿.umbraco-forms-form {
    padding: 10px 0 10px 0
}

.umbraco-forms-caption {
    font-size: 2em !important;
    line-height: 2em !important
}

.umbraco-forms-field {
    clear: both
}

    .umbraco-forms-field div label {
        display: inline
    }

label.umbraco-forms-label {
    font-weight: 700;
    display: block;
    background: 0 0 !important;
    color:#000;
        
}

.umbraco-forms-form small {
    display: block;
    float: left;
    clear: both;
    padding: 5px 5px 5px 200px
}

.umbraco-forms-form fieldset {
    padding: 1em 1em 0 0;
    margin: 0 0 1.5em 0;
    border: none !important
}

.umbraco-forms-form .umbraco-forms-navigation {
    padding: 1em 0
}

.umbraco-forms-form legend {
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.2em;
    display: block
}

.umbraco-forms-form input.text, .umbraco-forms-form input.title, .umbraco-forms-form select, .umbraco-forms-form textarea {
    margin: .5em 0;
    border: 1px solid #bbb
}

.umbraco-forms-form form .umbraco-forms-field {
    margin: 1.5rem 0px;
}

.umbraco-forms-form form .umbraco-forms-field input.text {
    max-width: 750px !important;
    border:none;
}

.umbraco-forms-form form .umbraco-forms-field .umbraco-forms-field-wrapper select {
    max-width: 750px !important;
    border: none;
}

.umbraco-forms-form form .umbraco-forms-field textarea {
    max-width: 750px !important;
    border: none;
}

    .umbraco-forms-form form .umbraco-forms-field input.datepickerfield {
        max-width: 750px !important;
        border: none;
    }

/*.umbraco-forms-form input.text, .umbraco-forms-form textarea {
    max-width: 700px !important;
    padding: 5px;
    display: block;
    width: 95%
}*/

.umbraco-forms-form textarea {
    height: 250px
}

.umbraco-forms-form input.fileupload {
    height: auto !important
}

.umbraco-forms-form span.checkbox, .umbraco-forms-form span.checkboxlist, .umbraco-forms-form span.radiobuttonlist {
    display: block;
    float: left;
    padding: 10px
}

.umbraco-forms-form .checkboxlist label {
    float: left;
    clear: left
}

.umbraco-forms-form .checkbox input, .umbraco-forms-form .checkboxlist input, .umbraco-forms-form .radiobuttonlist input {
    width: auto !important;
    height: auto !important;
    border: none !important;
    display: inline !important
}

.umbraco-forms-form .hiddenfield {
    display: none
}

.umbraco-forms-button {
    margin-right: 10px;
    padding: 2px 10px
}

.umbraco-forms-error-message {
    padding: .8em;
    margin-bottom: .5em;
    border: 2px solid #fbc2c4
}

.umbraco-forms-error-message {
    background: #fbe3e4;
    color: #8a1f11
}

.umbraco-forms-form input.contourError, .umbraco-forms-form input.input-validation-error, .umbraco-forms-form textarea.contourError, .umbraco-forms-form textarea.input-validation-error {
    background: #fbe3e4;
    border-color: #fbc2c4
}

.umbraco-forms-form span.contourError, .umbraco-forms-form span.field-validation-error {
    color: #8a1f11 !important;
    background: 0 0 !important
}

.umbraco-forms-form #recaptcha_widget_div {
    margin-left: 200px
}

.umbraco-forms-form .field-validation-error {
    padding-left: 5px
}

.umbraco-forms-hidden {
    display: none
}

/*START CUSTOM STYLING*/

.umbraco-forms-SMTheme {
    background-color: #ededed;
    max-width: 750px;
    padding: 10px 30px 10px 30px;
}
/*CHECKBOX*/
.umbraco-forms-SMTheme .checkbox {
    display: flex;
    flex-direction: column;
}


.checkboxlbl {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 400 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkboxlbl input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1px solid #004f74;
    background-color: white;
}

/* On mouse-over, add a grey background color */
.checkboxlbl:hover input ~ .checkmark {
    background-color: #9fc1df;
}

/* When the checkbox is checked, add a blue background */
.checkboxlbl input:checked ~ .checkmark {
    background-color: #003e5b;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkboxlbl input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkboxlbl .checkmark:after {
    left: 9px;
    top: 5.5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*DATA CONSENT*/
.umbraco-forms-SMTheme .dataconsent {
    display: flex;
    flex-direction: column;
}

.dccheckboxlbl {
    display: flex;
    position: relative;
    padding-left: 35px;
    margin: 0.6rem 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 400 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .dccheckboxlbl input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.dccheckmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1px solid #004f74;
    background-color: white;
}

/* On mouse-over, add a grey background color */
.dccheckboxlbl:hover input ~ .dccheckmark {
    background-color: #9fc1df;
}

/* When the checkbox is checked, add a blue background */
.dccheckboxlbl input:checked ~ .dccheckmark {
    background-color: #003e5b;
}

/* Create the checkmark/indicator (hidden when not checked) */
.dccheckmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.dccheckboxlbl input:checked ~ .dccheckmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.dccheckboxlbl .dccheckmark:after {
    left: 9px;
    top: 5.5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*RADIO BUTTON LIST*/

.radiobuttonlist {
    display: flex;
    margin: .6rem 0;
}

.radiolbl {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    margin-right: 3rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default radio button */
    .radiolbl input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom radio button */
.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1px solid #004f74;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radiolbl:hover input ~ .radiomark {
    background-color: #9fc1df;
}

/* When the radio button is checked, add a blue background */
.radiolbl input:checked ~ .radiomark {
    background-color: #003e5b;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radiolbl input:checked ~ .radiomark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radiolbl .radiomark:after {
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}


/*CHECKBOX LIST*/
.checkboxlistlbl {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 400 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
.checkboxlistlbl input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkboxlistmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1px solid #004f74;
    background-color: white;
}

/* On mouse-over, add a grey background color */
.checkboxlistlbl:hover input ~ .checkboxlistmark {
    background-color: #9fc1df;
}

/* When the checkbox is checked, add a blue background */
.checkboxlistlbl input:checked ~ .checkboxlistmark {
    background-color: #003e5b;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkboxlistmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkboxlistlbl input:checked ~ .checkboxlistmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkboxlistlbl .checkboxlistmark:after {
    left: 9px;
    top: 5.5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.umbraco-forms-SMTheme input:focus, .umbraco-forms-SMTheme textarea:focus {
    outline: none !important;
    box-shadow: 0 0 5px #719ECE;
}
.umbraco-forms-SMTheme input, .umbraco-forms-SMTheme textarea, .umbraco-forms-SMTheme select {
/*    max-width: 400px !important;
    width: 90% !important;*/
width:100%;
}

@media screen and (max-width: 320px) {
    .umbraco-forms-SMTheme input[type=submit] {
            width: 100% !important;
        }
    .umbraco-forms-SMTheme input, .umbraco-forms-SMTheme textarea, .umbraco-forms-SMTheme select {
        width: 92% !important;
    }

        
}

/* Style the mandatory indicator */
.umbraco-forms-form form .umbraco-forms-field label span {
    color: #004f74;
}


/*style within the grid content*/
.customgridwrapper .umbraco-forms-caption {
    margin-left: 20px;
}
.customgridwrapper .umbraco-forms-form legend {
    margin-left: 20px;
}

.customgridwrapper .umbraco-forms-SMTheme input, .umbraco-forms-SMTheme textarea, .umbraco-forms-SMTheme select {
    width: 100%;
}


@media screen and (max-width: 405px) {
    .customgridwrapper .umbraco-forms-SMTheme input[type=submit] {
        width: 100% !important;
    }

    .customgridwrapper .umbraco-forms-SMTheme input, .customgridwrapper .umbraco-forms-SMTheme textarea, .customgridwrapper .umbraco-forms-SMTheme select {
        width: 94% !important;
    }
}

.umbraco-forms-form .umbraco-forms-navigation{
    display:inline-block;
}
.umbraco-forms-form form .umbraco-forms-navigation input.btn.primary{
    text-transform:none;
}

/*END CUSTOM STYLING*/