.donation-form .block {
    margin-bottom: 40px
}

.donation-form .bordered-box,
.donation-form .field {
    border: 1px solid #c6c6c6;
    border-radius: 5px;
}

.donation-form .radio-options {
    display: flex
}

.donation-form .radio-options>label {
    flex: 1 1 50%;
    border-right: 1px solid #c6c6c6;
    text-align: center;
    font-weight: 600;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-form .radio-options>label,
.donation-form input[type=text],
.donation-form input[type=email],
.donation-form select,
.donation-form textarea {
    padding: 12px
}

.donation-form .radio-options>label:last-child {
    border-right: 0
}

.donation-form .radio-options>label [type=radio] {
    display: none
}

.donation-form .radio-options>label .bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fcb040;
    opacity: 0;
    transition: opacity .5s
}

.donation-form .radio-options>label [type=radio]:checked+.bg {
    opacity: 1
}

.donation-form .radio-options>label .text {
    position: relative;
    z-index: 1;
    transition: color .5s
}

.donation-form .radio-options>label .text small {
    display: block;
    font-size: .65em;
    bottom: -1.3em;
    color: black;
    position: relative;
    margin-bottom: -2em;
}

.donation-form .radio-options>label [type=radio]:checked~.text {
    color: #fff
}

.donation-form .radio-options>label .custom-amount {
    position: absolute;
    display: flex;
    white-space: nowrap;
    top: 100%;
    right: 0;
    padding-right: 12px;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .5s, visibility 0s .5s
}

.donation-form input[type=text],
.donation-form input[type=email],
.donation-form select,
.donation-form textarea {
    border: 0;
    background: none;
    width: 100%;
}

.donation-form .radio-options>label [type=radio]:checked~.custom-amount {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s
}

.donation-form .field {
    position: relative;
    margin-bottom: 25px;
    opacity: 1;
    transition: opacity .5s
}

.donation-form .field .input-label {
    position: absolute;
    top: -2px;
    transform: translateY(-50%);
    padding: 0 5px;
    background: #fff;
    left: 12px;
    color: #888;
    font-size: .9em;
}

form.validate.donation-form [data-validate] {
    position: relative
}

form.validate.donation-form [data-validate].has-error:after {
    position: absolute;
    transform: translateY(-50%);
    padding: 1px 5px;
    background: rgba(255, 0, 0, 0.68);
    border-radius: 4px;
    color: #fff;
    right: 12px;
    font-size: .75em;
    content: attr(data-error);
    top: 0
}

.donation-form .field-group {
    display: flex
}

.donation-form .field-group>* {
    flex: 1 1 auto;
    margin-right: 20px
}

.donation-form .field-group> :last-child {
    margin-right: 0
}

@media (min-width: 769px) {
	.donation-form .field-group>.one-fourth {
		max-width: 25%
	}
}

.donation-form .field.is-required .input-label:after {
    content: '*';
    margin-left: 3px;
}

.donation-form .tos {
    max-width: 500px;
    margin: auto;
    text-align: center;
}

.donation-form label.rich-checkbox {
    display: flex
}

.donation-form .tos label {
    text-align: left;
    line-height: 1.3;
    margin-bottom: 20px;
}

.donation-form .tos.has-error:before {
    content: attr(data-error);
    display: block;
    padding: 3px 7px;
    background: rgba(255, 0, 0, 0.68);
    border-radius: 4px;
    color: #fff;
    font-size: .9em;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 600;
}

.donation-form .rich-checkbox [type=checkbox] {
    display: none
}

.donation-form .rich-checkbox .checkbox {
    flex: 0 0 20px;
    height: 20px;
    border: 1px solid #c6c6c6;
    vertical-align: middle;
    position: relative;
    border-radius: 3px;
    margin-right: 10px;
    font-family: 'ETmodules';
    text-align: center;
    position: relative;
    top: 2px
}

.donation-form .rich-checkbox .checkbox:before {
    content: "";
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    right: 3px;
    background: rgba(0, 128, 0, 0.71);
    border-radius: 2px
}

.donation-form .rich-checkbox:hover .checkbox:before {
    opacity: .4
}

.donation-form .rich-checkbox [type=checkbox]:checked+.checkbox:before {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}

.donation-form textarea {
    height: 100px
}

.donation-form .field.disabled {
    opacity: .4;
    cursor: not-allowed
}

.donation-form .anonymous {
    margin-bottom: 30px
}

.donation-form select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat calc(100% - 10px) 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.autogiro-pdf-preview {
    text-align: left
}

.autogiro-pdf-preview .fields-row {
    display: flex;
}

@media (min-width: 850px) {
	.autogiro-pdf-preview .fields-row {
		margin: 0 -15px;
	}
}

.autogiro-pdf-preview .fields-row>* {
    width: calc(50% - 30px);
    margin: 0 15px
}

.autogiro-pdf-preview [type=text],
.autogiro-pdf-preview [type=email],
.autogiro-pdf-preview textarea {
    border: 0;
    background: none;
    width: 100%;
    font-size: 1em;
    line-height: 1;
    padding: 0;
}

.autogiro-pdf-preview .field {
    border: 1px solid;
}

.autogiro-pdf-preview .field,
.autogiro-pdf-preview .label,
.autogiro-pdf-preview label,
.autogiro-pdf-preview .column-title {
    padding: 3px 10px
}

.autogiro-pdf-preview .label,
.autogiro-pdf-preview label {
    padding-top: 0;
    font-size: .9em;
    color: #222;
    line-height: 1.2;
    display: block
}

.autogiro-pdf-preview .livets-address-box .footer-address,
.autogiro-pdf-preview .fields-address-col,
.autogiro-pdf-preview .fields-address-col .livets-address-box,
.autogiro-pdf-preview .field-group-horizontal,
.autogiro-pdf-preview .fields-row>.fields-col {
    display: flex
}

.autogiro-pdf-preview .livets-address-box .footer-address>* {
    width: 50%;
    border-top: 0
}

.autogiro-pdf-preview .livets-address-box .footer-address> :first-child {
    border-right: 0
}

.autogiro-pdf-preview .column-title {
    padding-bottom: 0;
    line-height: 1.3;
    font-size: 1.3em;
    font-weight: 400;
    margin-bottom: 5px;
    margin-top: 20px
}

#pdf-preview-logo {
    max-width: 70%
}

.autogiro-pdf-preview .livets-address-box p {
    font-size: 1.7em;
    line-height: 1.2;
    margin: 0;
}

.autogiro-pdf-preview .livets-address-box>.field {
    padding-top: 20px;
    padding-bottom: 20px
}

.autogiro-pdf-preview .field .label,
.autogiro-pdf-preview .field label {
    padding: 0;
    margin-bottom: 2px
}

.autogiro-pdf-preview .column-top-title {
    font-size: 1.75em;
    font-weight: 300;
    font-style: italic;
}

.autogiro-pdf-preview .field-group-vertical .field label {
    margin-bottom: 0;
    line-height: 1;
    padding-top: 3px;
}

.autogiro-pdf-preview .field-group-vertical .field+.field {
    border-top: 0
}

.autogiro-pdf-preview .fields-address-col,
.autogiro-pdf-preview .fields-address-col .livets-address-box,
.autogiro-pdf-preview .fields-address-col .livets-address-box>.field,
.autogiro-pdf-preview .fields-row>.fields-col {
    flex-direction: column;
}

.autogiro-pdf-preview .fields-address-col .livets-address-box,
.autogiro-pdf-preview .fields-address-col .livets-address-box>.field {
    flex: 1 1 auto;
}

.autogiro-pdf-preview .document-name {
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
}

.autogiro-pdf-preview .field-box {
    margin-bottom: 30px;
}

@media (min-width: 769px) {
	.autogiro-pdf-preview .field-group-horizontal>*+* {
		margin-left: 10px
	}
}

.autogiro-pdf-preview .big-input-box .input-box,
.autogiro-pdf-preview .big-input-box [type=text],
.autogiro-pdf-preview .big-input-box [type=email],
.autogiro-pdf-preview .big-input-box textarea {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.4
}

.autogiro-pdf-preview .livets-ord-missionsarbete {
    width: 80%
}

.autogiro-pdf-preview .bottom-field {
    margin-top: auto
}

.autogiro-pdf-preview .bottom-field>label {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 10px
}

.autogiro-pdf-preview>.page {
    padding: 30px 0;
    border-bottom: 2px dashed;
}

.autogiro-pdf-preview>.page:last-child {
    border: 0
}

.autogiro-pdf-preview .agreement {
    margin: 100px 0;
    border: 2px solid;
    border-radius: 30px;
    padding: 40px;
}

.autogiro-pdf-preview .agreement>h3 {
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.autogiro-pdf-preview .agreement p {
    text-align: justify
}

@media (min-width: 769px) {
	.autogiro-pdf-preview .sign {
		width: 70%;
		margin: auto;
	}
}

.autogiro-pdf-preview .sign h3,
.autogiro-pdf-preview .sign h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.autogiro-pdf-preview .sign h3 {
    font-weight: 600;
}

.autogiro-pdf-preview .sign h4 {
    font-weight: 400;
}

.autogiro-pdf-preview .sign dt,
.autogiro-pdf-preview .sign dd {
    float: left;
    font-size: .9em
}

.autogiro-pdf-preview .sign dt {
    clear: left
}

.autogiro-pdf-preview .sign dd {
    margin-left: 0;
    font-weight: 600
}

.autogiro-pdf-preview .sign dt:after {
    content: ':';
    margin-right: 5px
}

.autogiro-pdf-preview .sign .fields-col:last-child {
    align-items: center
}

.autogiro-pdf-preview .sign-btn {
    text-align: center;
    margin-top: 50px
}

.autogiro-pdf-preview .big-input-box .fields-col {
    justify-content: flex-end;
}

form.validate .autogiro-pdf-preview [data-validate].has-error:after {
    transform: none;
    padding: 0;
    background: none;
    color: rgba(255, 0, 0, 0.88);
    right: 2px;
    z-index: -1;
    line-height: 1;
    top: 2px
}

.autogiro-pdf-preview .status {
    margin: 20px 0;
    padding: 5px;
    border-radius: 4px;
    font-size: .8em;
    font-weight: 600;
    transition: background .5s, color .5s
}

.autogiro-pdf-preview .status.error {
    background: rgba(255, 0, 0, .25);
    color: rgba(255, 0, 0, 1);
}

.autogiro-pdf-preview .status.progress {
    background: rgba(253, 193, 104, 0.35);
    color: rgb(117, 91, 51);
}

.autogiro-pdf-preview .status.success {
    background: rgba(0, 255, 0, 0.35);
    color: rgb(23, 78, 23);
}

.autogiro-pdf-preview .sign .sign-info {
    text-align: left
}

.autogiro-pdf-preview .sign .sign-info label {
    padding: 0
}

.autogiro-pdf-preview .sign .sign-legend {
    background: url(images/bankid_low_rgb.png) no-repeat;
    background-size: 50px auto;
    padding: 10px 60px;
}

@media only screen and (max-width: 480px) {
    .donation-form .amount-options label:nth-child(3),
    .donation-form .amount-options label:nth-child(4) {
        display: none;
    }
}

.autogiro-pdf-preview [data-validate] .input-wrapper {
	position: relative;
	display: block
}

.autogiro-pdf-preview [data-validate] .input-wrapper:after {
	position: absolute;
	top: -3px;
	bottom: -3px;
	left: -10px;
	right: -10px;
	content: '';
	background: #fed4a4;
	opacity: 0;
	transition: opacity .5s;
	z-index: -1
}

.autogiro-pdf-preview [data-validate].-is-empty .input-wrapper:after {
	opacity: 1
}

.autogiro-pdf-preview .city-date > :first-child {
	width: calc(100% - 100px)
}

.autogiro-pdf-preview .city-date > :last-child {
	width: 100px;
	text-align: right
}

@media (max-width: 768px) {
	.autogiro-pdf-preview  .page1 .fields-row:nth-child(1),
	.autogiro-pdf-preview  .page1 .fields-row:nth-child(2) {
		display: block
	}
	
	.autogiro-pdf-preview  .page1 .fields-row:nth-child(1) > *,
	.autogiro-pdf-preview  .page1 .fields-row:nth-child(2) > * {
		width: auto
	}
	
	.autogiro-pdf-preview .field-group-horizontal {
		flex-direction: column
	}
	
	.autogiro-pdf-preview .field-group-horizontal > * {
		width: 100% !important
	}
	
	.autogiro-pdf-preview .field-group-horizontal > * + * {
		margin-top: 30px;
	}
	
	.autogiro-pdf-preview .city-date > :last-child {
		margin-top: 0;
		text-align: left
	}
}

.autogiro-pdf-preview .page1 {
	position: relative
}

.autogiro-pdf-preview .page1 .down-arrow {
	position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) rotate(45deg);
    width: 50px;
    height: 50px;
    background: #fcb040;
    border-radius: 50%;
    color: #fff;
}

.autogiro-pdf-preview .page1 .down-arrow:after {
	content: '';
    position: absolute;
    border: 2px solid;
    border-left: 0;
    border-top: 0;
    left: 13px;
    right: 13px;
    top: 13px;
    bottom: 13px;
    transform: translate(-15%, -15%);
}

.donation-form1 [name=amount] {
	width: 87.48% !important;
}

.donation-form1 [name=amount] + [name=currency] {
	width: 12%;
}


.donation-form .field.amount-options-field {
    border: none
}

.donation-form .field.amount-options-field select {
    margin-top: -12px;
    margin-bottom: -12px
}