.v-enter-active,
.v-leave-active {
	transition: opacity 0.3s ease;
}

.v-enter-from,
.v-leave-to {
	opacity: 0;
}
.referral * {
	box-sizing: content-box;
}
.referral .form {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.referral .form h2 {
	font-weight: 700;
	letter-spacing: 1px;
	border-bottom: 2px solid #e4e4e4;
	
	padding-bottom: 1em;
	font-size: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2a4766;
    font-family: 'Univers';
	margin: 0;
}

.referral .form .form-area {
	display: flex;
	flex-direction: column;

	
	background: #fff;
    padding: 75px;
    border-radius: 20px;
    margin-bottom: 30px;
	gap: 2.2em;

}

.referral .form .form-area .fa {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	margin: 0 0.25em;
}

.referral .form .form-area .fa .ti {
	line-height: 60px;
	padding: 0 0.5em;
	color: #4d4f4f;
	border: none;
    font-family: 'Univers';
    border-radius: 10px;
    background: #f8f7f9;
    font-size: 21px;


}


.referral .form .form-area .ta {
	font-family: 'Univers';
	border: 2px solid #ddd;
	border-radius: 0.5em;
	padding: 0.5em;
	outline-color: #0b4a79;
}


.referral .form .form-area .fa .bt {
	font-family: 'Univers';
    font-weight: bold;
    font-size: 19px;
    color: #000;
    padding: 0px 20px 5px 20px;
    display: inline-block

}

.referral .form .form-area .fa .rb {
	font-family: 'Univers';
    font-weight: normal;
    font-size: 21px;
    text-transform: none;
    background: none;
    color: #000;
    padding: 6px 0px 0px 35px;
    display: block;
    margin-left: 20px;
}
.referral .form .form-area .fa .rb span {
	display: inline-block;
	vertical-align: middle;
}
.referral .form .form-area .fa .rb input {
	display: inline-block;
	margin-right: 0.5em;
	vertical-align: middle;
	width:30px;
}

.loading {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.6);
	z-index: 50;
}

.loading .msg {
	color: #0b4a79;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 1em;
	font-weight: 700;
	margin-top: 90px;
}

.lds-ring {
	/* change color here */
	color: #0b4a79;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.lds-ring,
.lds-ring div {
	box-sizing: border-box;
}

.lds-ring {
	display: inline-block;
	position: relative;
	width: 160px;
	height: 160px;
}

.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 128px;
	height: 128px;
	margin: 12px;
	border: 12px solid currentColor;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: currentColor transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}

@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}



.referral {
	position: relative;
	min-height: 80vh;
	transition: 0.3s ease-in-out;
}
.first_loading_error {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*background: rgba(255,255,255,0.5);*/
	z-index: 20;
}
.first_loading_error .fl-area {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
.first_loading_error .fl-area .fl-t {
	font-size: 20px;
}
.first_loading_error .fl-area .fl-bt {
	padding: 10px 20px;
	background: #007bff;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	margin-top: 20px;
	border-radius: 0.5em;
	cursor: pointer;
}
.referral.blur .ref-main {
	filter: blur(3px);
}

.referral .form .form-area .tooth {
	display: flex;
	flex-direction: row;
	gap: 0.5em;
	align-items: center;
	align-self: center;
}
.tooth h3 {
	font-weight: 700;
	margin-bottom: 0.5em;
}
.tooth .tooth-items {
	display: flex;
	flex-direction: row;
	gap: 0.25em;
	flex-wrap: wrap;
}
.tooth .left, .tooth .right {
	display: flex;
	gap: 2em;
	flex-direction: column;
}
.tooth .tooth-items .tos {
	font-family: 'Univers';
	color: #6e6e6e;
	background: #ffffff;
	width: 2.5em;
	line-height: 2em;
	font-size: 0.9em;
	font-weight: 700;
	text-align: center;
	border-radius: 2em;
	border: 0.25em solid #ddd;
	transition: 0.1s ease-in-out;
	cursor: pointer;
}
.tooth .tooth-items .tos.sel {
	background: #0b4a79;
	border-color: #0000005f;
	color: #ffffff;
}
.tooth .tpol {
	cursor: pointer;
}
.tooth .tpol.sel {
	fill: #0b4a79;
}

.tooth-chart {
	width: 250px;
}

.form-send-btn {
	margin: 2em 0;
}
.form-send-btn button {
	border-radius: 1em;
	display: inline-block;
	color: #ffffff;
	padding: 1em 5em;
	font-size: 1.1em;
	background: #1d3b4e;
	cursor: pointer;
	border: none;
}
.form-send-btn button:hover {
	background: #0b4a79;
}

.referral .sel-date {
    border: 2px solid #ddd;
    background: #ffffff;
	display: inline-block;
	border-radius: 0.5em;
	padding: 0.15em;
	width: fit-content;
	display: flex;
	gap: 0.25em;
}

.referral .sel-date select {
    outline-color: #0b4a79;
	color: #4d4f4f;
	font-size: 1.1em;
	border:none;
	padding: 0.25em 0.5em;
	height: 2em;
	font-family: "Univers"
}
.referral .fagroup3 {
	display: flex;
	flex-direction: row;
	gap: 1em;
}
.referral .error {
	margin-top: 1em;
	color: #ff0000;
	font-style: italic;
}


.referral .form-completed .fc-t{
	font-size: 1.2em;
	font-family: "Univers"
	margin: 10em 0;
	text-align: center;
}