body #main .od-pikalinkit .gb-button-wrapper a.rs-active {
	background-color: #6B3267;
	color: #fff;
}

body #main .od-pikalinkit .gb-button-wrapper a.rs-active:hover {
	background-color: #4f244b;
}

@media (min-width: 690px) {
	body #main .od-pikalinkit .gb-button-wrapper a.rs-quicklink-read {
		display: none;
	}
}

.od-rs-force-select {
	display: none;
}

#main #rukousseina-container {
	display: none;
	margin-bottom: 60px;
	flex-wrap: nowrap;
	flex-direction: column
}
#main .rukousseina-form {
	margin-bottom: 30px;
	padding: 15px;
	border-radius: 4px;
	background-color: #f9f9f9;
	width: 100%;
}

.rukousseina-entries {
	padding-top: 70px;
	margin-top: -35px;
	display: grid;
	grid-gap: 15px;
	grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
	grid-auto-rows: 20px;
	font-size: 16px;
	width: 100%
}
@media (min-width: 690px) {
	#main #rukousseina-container {
		flex-direction: row
	}
	#main .rukousseina-form {
		width: 380px;
		margin-right: 30px;
	}
	#main .rukousseina-entries {
		width: calc(100% - 410px);
		padding-top: 0;
		margin-top: 0
	}
}
#main .od-rs .gform_wrapper .gform_required_legend, #main .od-rs .gform_wrapper .gfield_required {
	display: none
}
#main .od-rs .gform_wrapper label.gfield_label {
	padding-top: 0
}

#main .od-rs .chosen-choices {
	border-radius: 4px
}
#main .od-rs .chosen-search-input {
	padding: 0;
	height: 28px
}
#main .od-rs .gform_wrapper .gform_footer {
	padding-bottom: 0
}
#main .od-rs .gform-body input, #main .od-rs .gform-body select {
	background-color: #fff
}



.od-rs-r-k {
	font-family: "din-2014-narrow";
	display: flex;
	flex-wrap: wrap;
	background: #f3f3f3;
	padding: 5px;
	border-radius: 4px 4px 0 0;
	align-items: center;
}
.od-rs-r-k span {
	margin: 0 5px 0 10px;
	font-size: 20px
}
.rs-henkilo-kuva {
	border-radius: 4px;
	overflow: hidden;
}


.od-rs-r {
	background-color: #fff;
	border-radius: 4px;
	text-align: right;
	min-height: 80px
}
.od-rs-r-i {
	border: 1px solid #ccc;
	border-radius: 4px;
}

.od-rs-r-flag {
	border-radius: 4px;
	display: block;
	margin: 2px
}

.od-rs-r-r {
	line-height: 18px;
	margin: 0;
	padding: 10px 5px;
	background-color: #fff;
	position: relative;
	text-align: left
}
.od-rs-r-a {
	display: block;
	margin-top: 12px;
	padding: 0 5px
}
.od-rs-r-a-i {
	display: block;
	text-align: right;
	font-size: 15px;
	line-height: 18px
}
.od-rs-r-n {
	font-weight: 700
}
.od-rs-r-i {
	background-color: #fff;
}
.od-rs-r-r::before {
	content: "";
	position: absolute;
	bottom: -8px;
	right: 20px;
	width: 15px;
	height: 15px;
	border: 1px solid #ccc;
	border-left-width: 0;
	border-top-width: 0;
	background-color: #fff;
	z-index: 0;
	transform: rotate(45deg)
}

.od-rs .rs-name .gfield_label::before { content: "1" }
.od-rs .rs-select .gfield_label::before { content: "2" }
.od-rs .rs-prayer .gfield_label::before { content: "3" }

.od-rs .rs-select .gfield_label::before, .od-rs .rs-name .gfield_label::before, .od-rs .rs-prayer .gfield_label::before {
	background-color: #87BCD2;
	color: #fff;
	height: 20px;
	width: 20px;
	line-height: 20px;
	border-radius: 100px;
	display: inline-block;
	text-align: center;
	margin-right: 5px;
}

.rs-thankyou-inner, .rs-thankyou {
	text-align: center;
}

.rs-thankyou-two {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
} 

.rs-thankyou .rs-thankyou-button.button {
	margin: 30px auto;
}
@media (min-width: 480px) {
.rs-thankyou-inner {
	display: flex;
	flex-wrap: nowrap;
	text-align: left;
}
.rs-thankyou {
	text-align: left;
}
.rs-thankyou-one {
	flex: 0 0 80px;
} 
.rs-thankyou-two {
	padding-left: 15px;
	margin-top: 0;
} 
.rs-thankyou .rs-thankyou-button.button {
	margin-left: 95px;
	margin-bottom: 20px;
	margin-top: 30px
}
}

[data-od-tooltip] {
	position: relative;
	cursor: pointer;
	display: inline-block;
}
[data-od-tooltip]::after {
	background-color: #6B3267;
	color: #fff;
	content: attr(data-od-tooltip);
	font-size: 16px;
	padding: 5px;
	line-height: 16px;
	position: absolute;
	text-align: center;
	visibility: hidden;
	z-index: 1;
	top: -100%;
	left: 0;
	user-select: none;
	border-radius: 4px;
	pointer-events: none;
	min-width: 70px
}
[data-od-tooltip]:hover::after {
	visibility: visible;
}
