/*********************************************************
*
*   DINA-AS-FORM
*
*********************************************************/
.dina-as-form * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.dina-as-form img {
    width: 100%;
    height: auto;
}

.dina-as-form .sv-formFieldRow {
    display: block;
}

/*.dina-as-form .sv-formFieldRow:last-child { */
.dina-as-form .sv-defaultFormTheme>.sv-formFieldRow:last-child {
    margin-top: 30px;
}

.dina-as-form .sv-formField {
    margin: 0;
}

.dina-as-form .sv-formField--cols-12>div {
    padding: 20px 20px;
    background-color: white;
}

.dina-as-form .sv-formField--cols-12>.sv-form-comment-field {
    position: relative;
    margin-top: 30px;
    background-color: transparent;
    padding: 0 !important;
    border: 0 !important;
}

.dina-as-form .sv-formField--cols-12>.sv-form-comment-field::before {
    content: "";
    position: absolute;
    display: block;
    border-bottom: 1px solid #f2f2f2;
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    border-radius: 0 0 7px 7px;
    height: 10px;
    top: -30px;
    left: 0;
    right: 0;
    background-color: white;
}

.sv-defaultFormTheme>.sv-formFieldRow:first-of-type .sv-form-comment-field {
    margin-top: 0;
}

.sv-defaultFormTheme>.sv-formFieldRow:first-of-type .sv-form-comment-field::before {
    display: none;
}

.dina-as-form .sv-form-comment-field .sv-field-title-container {
    border-radius: 7px 7px 0 0;
    background-color: #33853E;
    padding: 30px 40px;
}

.dina-as-form .sv-form-comment-field .sv-field-title-container span {
    color: white;
}

.dina-as-form .sv-form-comment-field>span {
    background-color: white;
    margin: 0;
    display: block;
    padding: 20px 40px;
    border-left: 1px solid #f2f2f2;
}

.dina-as-form .sv-form-comment-field>br {
    display: none;
}

.dina-as-form__divider {
    height: 20px;
    padding: 0 !important;
    background-color: #f2f2f2 !important;
}

/* INPUT */
.dina-as-form input[type="text"],
.dina-as-form input[type="tel"],
.dina-as-form input[type="email"],
.dina-as-form input[type="date"],
.dina-as-form textarea {
    max-width: 420px;
    border: 1px solid #9f9f9f;
    border-radius: 2px;
    font-size: 16px;
    padding: 10px;
    margin: 0;
    outline: none !important;
    background: transparent;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dina-as-form input[type="text"],
.dina-as-form input[type="tel"],
.dina-as-form input[type="email"],
.dina-as-form input[type="date"] {
    height: 40px;
}

.sv-defaultFormTheme input[type=date] {
    display: block;
    color: #555;
    background-color: #fff;
    width: 100%;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.sv-defaultFormTheme input[type=date]:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
}

.dina-as-form .sv-form-singleselectionfield:not(.dina-as-form .dina-sv-form__radio) {
    max-width: 420px;
    margin-left: -1px !important;
}

.dina-as-form .sv-form-singleselectionfield>div:not(.dina-as-form .dina-sv-form__radio>div) {
    position: relative;
    border: none;
    width: 50%;
    display: inline-block;
    margin: 0 !important;
}

.dina-as-form .dina-sv-form__radio>div {
    float: unset;
}

/* .dina-as-form .sv-form-singleselectionfield input { */
.dina-as-form .sv-form-singleselectionfield input:not([id^="other_value"]) {
    position: absolute;
    width: 0px;
    height: 0px;
    opacity: 0;
    /*
      visibility: hidden;
      display: none;
      */
}

.dina-as-form .dina-sv-form__radio input:not([id^="other_value"]) {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
}

.dina-as-form .sv-form-singleselectionfield label:not(.dina-as-form .dina-sv-form__radio label) {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    text-align: center;
    width: 97%;
    padding: 18px;
    background-color: #33853E;
    border-radius: 0;
    border: none;
    color: white;
   margin: 9px;
    outline: none;
    -webkit-transition: background-color 0.1s ease;
    -o-transition: background-color 0.1s ease;
    transition: background-color 0.1s ease;
    margin-right: 1px;
    margin-bottom: 1px;
    cursor: pointer;
    border-left: 1px solid white;
}

.dina-as-form .sv-form-singleselectionfield label:hover:not(.dina-as-form .dina-sv-form__radio label) {
    background-color: #429540;
}

.dina-as-form .sv-form-singleselectionfield input:checked+label:not(.dina-as-form .dina-sv-form__radio label) {
    background-color: #255624;
    outline: 2px solid #000;
    outline-offset: 2px;
}

/*.dina-as-form .sv-form-singleselectionfield input:focus+label:not(.dina-as-form .dina-sv-form__radio label){*/
.dina-as-form .sv-form-singleselectionfield input:focus+label {
    text-decoration: underline;
}

/* RADIO BUTTON WITH OTHER ALTERNTIVE, ADD CLASS */
.dina-as-form .sv-form-singleselectionfield>label:first-of-type {
    width: 50%;
    margin-right: 0;
}

.dina-as-form .sv-form-singleselectionfield>.sv-clear-left {
    display: none;
}

.dina-as-form .sv-form-singleselectionfield>input:last-of-type {
    margin-top: 10px;
}

/* ============ INPUT CHECKBOX ============ */
.dina-as-form__check-dual>div {
    width: 50%;
    min-width: 140px;
    padding: 0;
}

.dina-as-form .sv-form-consent {
    margin-top: 40px;
    background: white;
    padding: 20px;
}

.dina-as-form .sv-form-multipleselectionfield {
    position: relative;
}

.dina-as-form .sv-form-multipleselectionfield input:not([id^="other_value"]),
.dina-as-form .sv-form-consent input:not([id^="other_value"]),
.dina-as-form .dina-sv-form__radio input:not([id^="other_value"]) {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.dina-as-form .sv-form-multipleselectionfield input,
.dina-as-form .sv-form-consent input,
.dina-as-form .dina-sv-form__radio input {
    margin-top: 10px !important;
}

.dina-as-form .sv-form-multipleselectionfield label,
.dina-as-form .sv-form-consent label,
.dina-as-form .dina-sv-form__radio label {
    display: block;
    padding-left: 30px;
    padding-top: 0;
    padding-bottom: 0;
    cursor: pointer;
    position: relative;
}

.dina-as-form .sv-form-multipleselectionfield label::before,
.dina-as-form .sv-form-consent label::before,
.dina-as-form .dina-sv-form__radio label::before,
.dina-as-form .sv-form-multipleselectionfield label::after,
.dina-as-form .sv-form-consent label::after,
.dina-as-form .dina-sv-form__radio label::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.dina-as-form .sv-form-multipleselectionfield label::before,
.dina-as-form .sv-form-consent label::before,
.dina-as-form .dina-sv-form__radio label::before {
    border: 1px solid #9f9f9f;
    border-radius: 2px;
}

.dina-as-form .dina-sv-form__radio label::before {
    border-radius: 50%;
    ;
}

.dina-as-form .sv-form-consent label::before {
    background-color: white;
}


.dina-as-form .dina-sv-form__radio label::after {
    width: 12px;
    height: 12px;
    top: 5px;
    border-radius: 12px;
    text-align: center;
    left: 5px;
    background-color: #4dad4b;
    background-image: none;
    opacity: 0;
    -webkit-transform: scale(0.0);
    -ms-transform: scale(0.0);
    transform: scale(0.0);
    -webkit-transition: opacity .2s linear, -webkit-transform .2s ease;
    transition: opacity .2s linear, -webkit-transform .2s ease;
    -o-transition: transform .2s ease, opacity .2s linear;
    transition: transform .2s ease, opacity .2s linear;
    transition: transform .2s ease, opacity .2s linear, -webkit-transform .2s ease;
}

.dina-as-form .dina-sv-form__radio input[type=radio]:checked+label::after {
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 1;
}



.dina-as-form .sv-form-multipleselectionfield label::after,
.dina-as-form .sv-form-consent label::after {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNSI+PHBhdGggZGF0YS1uYW1lPSJMYWdlciAxIiBkPSJNMS4xIDYuOTE2Yy4yNS4yNSA2LjU4MyA2LjY2NyA2LjU4MyA2LjY2N0wxNS4wMTcgMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjYzVjNWM1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=");
    background-size: 16px 15px;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: opacity .2s linear, -webkit-transform .2s ease;
    transition: opacity .2s linear, -webkit-transform .2s ease;
    -o-transition: transform .2s ease, opacity .2s linear;
    transition: transform .2s ease, opacity .2s linear;
    transition: transform .2s ease, opacity .2s linear, -webkit-transform .2s ease;
    opacity: 0;
    -webkit-transform: scale(0.0);
    -ms-transform: scale(0.0);
    transform: scale(0.0);
    border: 1px solid transparent;
}

.dina-as-form .sv-form-multipleselectionfield label:hover::after,
.dina-as-form .sv-form-consent label:hover::after {
    opacity: 1;
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
}

.dina-as-form .sv-form-multipleselectionfield input:checked+label::after,
.dina-as-form .sv-form-consent input:checked+label::after {
    opacity: 1;
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNSI+PHBhdGggZGF0YS1uYW1lPSJMYWdlciAyIiBkPSJNMS4xIDYuOTE2Yy4yNS4yNSA2LjU4MyA2LjY2NyA2LjU4MyA2LjY2N0wxNS4wMTcgMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDZhNzQ4IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+");
}


.dina-as-form .sv-form-multipleselectionfield input:focus+label,
.dina-as-form .sv-form-consent input:focus+label {
    text-decoration: underline
}

.dina-as-form .sv-form-multipleselectionfield input:focus+label::before,
.dina-as-form .sv-form-consent input:focus+label::before {
    border-color: #66afe9;
}


/* MULTIPLE FILE INPUT */
.dina-as-form .file-item__start {
    display: none !important;
}

.dina-as-form .file-items__ref-end {
    overflow: hidden;
}

.dina-as-form .file-item {
    display: none;
    height: 0;
    overflow: hidden;
    border-top: 1px solid #ecf6eb;
}

.dina-as-form .file-item--show {
    display: block;
    height: auto !important;
}

.dina-as-form .add-file-item {
    font-family: dinamedium, sans-serif;
    float: right;
    background-color: #33853E;
    color: white;
    border-radius: 2px;
    border: none;
    padding: 0 20px;
    font-size: 18px;
    height: 55px;
    outline: none;
}

.dina-as-form .add-file-item:hover,
.dina-as-form .add-file-item:focus {
    background-color: #429540;
}

.dina-as-form .add-file-item:focus {
    text-decoration: underline;
}

.dina-as-form .sv-defaultFormTheme input[type="file"] {
    padding: 0px;
    line-height: 100%;
}


/* DATE INPUT */
.dina-as-form .sv-form-datefield {
    max-width: 420px;
}

.dina-as-form .sv-form-datefield div:nth-of-type(1) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    float: none;
    position: relative;
    padding-top: 30px;
    margin-left: -5px;
    margin-right: -5px;
}

.dina-as-form .sv-form-datefield div:nth-of-type(1)::before {
    content: "Datum";
    display: block;
    position: absolute;
    top: 10px;
    left: 5px;
}

.dina-as-form .sv-form-datefield div:nth-of-type(1) select {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: block;
    width: 33%;
    margin: 5px;
}

.dina-as-form .sv-form-datefield div:nth-of-type(2) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    float: none;
    position: relative;
    padding-top: 30px;
    margin-left: -5px;
    margin-right: -5px;
}

.dina-as-form .sv-form-datefield div:nth-of-type(2)::before {
    content: "Klockslag";
    display: block;
    position: absolute;
    top: 10px;
    left: 5px;
}

.dina-as-form .sv-form-datefield div:nth-of-type(2) select {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: block;
    width: 33%;
    margin: 5px;
}

.dina-as-form .sv-form-datefield>.sv-clear-left {
    display: none !important;
}



/* SUBMIT */
.dina-as-form input[type="submit"] {
    height: 55px;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border: 1px solid #4cad4a !important;
    background-color: #33853E;
    color: white !important;
    border-radius: 2px;
    -webkit-transition: background-color 0.1s ease;
    -o-transition: background-color 0.1s ease;
    transition: background-color 0.1s ease;
    margin-bottom: 10px;
}

.dina-as-form input[type="submit"]:hover {
    background-color: #429540;
}

/* CONSENT */
.dina-as-form .sv-formField .sv-form-consent {
    margin-top: 40px;
}

/* HIDDEN-FIELD */
.dina-as-form .dina-as__hidden-field {
    display: none;
}


/***********************************************
  * BALLOON-ANMÃ„L-SKADA
  ************************************************/
.dina-as-balloon {
    position: relative;
    padding: 30px 20px;
    background-color: #33853E;
    border-radius: 10px;
    margin-bottom: 40px;
    z-index: 1;
}

.dina-as-balloon::before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: -1;
    bottom: -20px;
    left: 20px;
    width: 70px;
    height: 70px;
    background-color: #33853E;
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(55deg);
    border-bottom-right-radius: 10px;
}

.dina-as-balloon__help-icon {
    color: white;
    font-size: 300%;
    float: left;
    margin-right: 15px;
}


@media all and (max-width: 599px) {
    .dina-as-balloon {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        border-radius: 0;
    }

    .dina-as-form .sv-formField--cols-12>div {
        border-left: 1px solid #f2f2f2;
        border-right: 1px solid #f2f2f2;
    }

    .dina-as-form .sv-formField--cols-12>div:last-of-type {
        padding-top: 0;
    }

    .dina-as-form .sv-formField--cols-12>div:first-of-type {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .dina-as-form .sv-form-comment-field .sv-field-title-container,
    .dina-as-form .sv-form-comment-field>span {
        padding: 20px 20px;
    }
}

@media all and (min-width: 600px) {
    .dina-as-form .sv-formField--cols-12 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .dina-as-form .sv-formField--cols-12>div {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
        padding: 30px 40px;
    }

    .dina-as-form .sv-formField--cols-12>div:first-of-type {
        border-left: 1px solid #f2f2f2;
    }

    .dina-as-form .sv-formField--cols-12>div:last-of-type {
        border-right: 1px solid #f2f2f2;
    }

    .dina-as-form .sv-formField .sv-form-consent {
        padding: 40px;
    }
}