/* FORMS */

textarea:focus, input:focus{
	outline: none;
}

.Form__Element {
	margin-bottom: 1rem;
}

.left_col .FormTextbox__Input {
	border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.FormTextbox__Input {
	background-color: rgba(255, 255, 255, .8);
	border: none;
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-image: none;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}


.EPiServerForms .form-check {
	padding-left: 1.25rem;
}

.EPiServerForms .form-check-label {
	padding-left: 0;
}


.EPiServerForms .form-control {
	border: 1px solid #ced4da;
}

.EPiServerForms legend {
	font-size: 1rem;
}

.EPiServerForms .FormRange .d-flex {
	gap: 10px;
}

.EPiServerForms .FormRange input {
	flex: 1 auto;
}


.left_col .FormTextbox__Input:focus, .left_col .FormTextbox__Input:active {
border-color: #8edded !important;
}

.FormChoice {
	display: inline-block;
	
	position: relative;
	display: block;
	margin-bottom: .5rem;
}

.Form__Element__Caption {
	display: block;
	margin-bottom: .5rem;
}

.FormChoice label {
	margin-right: .7rem;
}

button.Form__Element {
	background-color: #0bbaea;
	border-color: #00b4e4;
	color: #004461 !important;
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

button.Form__Element:hover {
	background-color: #004461;
	border-color: #004461;
	color: #0bbaea !important;
}

button.Form__Element:not([disabled]):not(.disabled).active, button.Form__Element:not([disabled]):not(.disabled):active, .show > button.Form__Element.dropdown-toggle {
	background-color: #004461;
	border-color: #004461;
	color: #0bbaea !important;
	box-shadow: inset 0 0.2rem 0 0 rgba(0, 0, 0, .2);
}

.FormFileUpload {
	position: relative;
	display: inline-block;
	width: 100%;
	height: calc(2.25rem + 2px);
}

.FormFileUpload__Input {
	position: relative;
	z-index: 2;
	width: 100%;
	height: calc(2.25rem + 2px);
	margin: 0;
	opacity: 0;
}

.FormFileUpload .Form__Element__Caption {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
	height: calc(2.25rem + 2px);
	padding: .375rem .75rem;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.04) !important;
	border-radius: .25rem;
}

.FormFileUpload .Form__Element__Caption::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: block;
	height: calc(calc(2.25rem + 2px) - 1px * 2);
	padding: .375rem .75rem;
	line-height: 1.5;
	color: #495057;
	content: "Välj";
	background-color: #e9ecef;
	border: 1px solid rgba(0, 0, 0, 0.04) !important;
	border-radius: 0 .25rem .25rem 0;
}

.Form__Status__Message {
	position: relative;
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: .25rem;
}

.Form__Warning__Message {
	color: #b1741f;
	background-color: #fff5cc;
	border-color: #fff5cc;
}

.Form__Element__ValidationError {
	margin-top: 0rem;
	font-size: .875rem;
	color: #dc3545;
}

.file-list {
	position: absolute;
	top: 8px;
	z-index: 10;
	left: 12px;
	color: #495057;
	overflow-y: hidden;
    max-height: 20px;
    max-width: 85%;
}

/* /FORMS */