
.bs-form,
.bs-form *,
.bs-form *:after {
	box-sizing: border-box;
}
.bs-form,
.bs-form button,
.bs-form input[type="text"],
.bs-form select,
.bs-form textarea,
#outer_container .bs-form BUTTON {
	font-family: Helvetica,Arial,sans-serif !important;
	font-size: 14px;
	line-height: 1.42857143;
	color: #333;
}

.bs-form button,
.bs-form input,
.bs-form optgroup,
.bs-form select,
.bs-form textarea {
	margin: 0;
	font: inherit;
	color: inherit;
}

.bs-form button,
#outer_container .bs-form BUTTON {
	font-weight: bold !important;
	overflow: visible;
}

.bs-form button,
.bs-form select {
	text-transform: none;
}

.bs-form button,
.bs-form input,
.bs-form select,
.bs-form textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}
.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}

.btn-primary, .btn-outline-primary {
	-webkit-box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, .15) !important;
	-moz-box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, .15) !important;
	-o-box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, .15) !important;
	-ms-box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, .15) !important;
	box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, .15) !important;
}
.btn-primary {
	color: #fff !important;
	background-color: #337ab7;
	border-color: #2e6da4;
}


.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
	color: #fff;
	background-color: #204d74;
	border-color: #122b40;
}
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
.btn-primary.disabled, .btn-primary:disabled {
    color: #fff !important;
    background-color: #aeb4ba;
    border-color: #aeb4ba;
}
.btn.disabled, .btn:disabled {
    opacity: .65;
	cursor: not-allowed;
}


.bs-form .form-control {
	display: block;
	width: 100%;
	height: 35px;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.bs-form .form-control:focus {
	color: #495057 !important;
	background-color: #fff !important;
	border-color: #80bdff !important;
	outline: 0 !important;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.25) !important;
}

.custom-file {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 35px;
	margin-bottom: 0;
}
.custom-file-input {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 35px;
	margin: 0;
	opacity: 0;
}
.custom-file-input:focus ~ .custom-file-label {
	border-color: #80bdff;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}
.custom-control-label::before,
.custom-file-label, .custom-select {
	transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.custom-file-label {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
	height: 35px;
	padding: .375rem .75rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	-webkit-box-shadow: inset 0 0 4px 0 rgba(191, 191, 199, .3);
	-moz-box-shadow: inset 0 0 4px 0 rgba(191, 191, 199, .3);
	box-shadow: inset 0 0 4px 0 rgba(191, 191, 199, .3);
}
.custom-file-label:after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: block;
	height: 33px;
	padding: .375rem .75rem;
	line-height: 1.5;
	color: #495057;
	content: "Bläddra";
	background-color: #e9ecef;
	border-left: inherit;
	border-radius: 0 .25rem .25rem 0;
}


.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-control-label {
    margin-bottom: 0;
}

.custom-control-label::before {
    position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #dee2e6;
}
.custom-checkbox .custom-control-label::before {
    border-radius: .25rem;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    background-color: #007bff;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #007bff;
}

.custom-control-label::after {
    position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url(../images_gui/icons/bs_check_white.svg);
}


.form-group {
	margin-bottom: 1rem;
}

.bs-form label {
	display: inline-block;
	margin-bottom: .5rem;
}

.float-left {
	float: left !important;
}
.float-right {
	float: right !important;
}

/* *******************************************************************************************
 *         Simplified version - Add class to container                                       *
 ******************************************************************************************* */

.invalid-feedback {
	display: none;
	width: 100%;
	margin-top: .45rem;
	padding-bottom: .45rem;
	font-size: 80%;
	color: #dc3545;
}
.is-invalid .invalid-feedback {
	display: block;
}
.is-invalid .custom-file-label,
.is-invalid .form-control,
.is-invalid-group .custom-file-label,
.is-invalid-group .form-control {
	border-color: #dc3545;
}

#group_emailNotSame,
#group_wrongFileName {
	display: none;
}
#group_emailNotSame.is-invalid,
#group_wrongFileName.is-invalid {
	display: block;
	margin-top: -.55rem;
}