body, html{
    margin: 0px;
    padding: 0px;
    background-color: #fff;
    color: #000;
    font-size: 17px;
    line-height: 1.2em;
    font-weight: 400;
}
/*.btn{
    background-color: #be001e;
    color: #fff;
    border: 2px solid #be001e;
    padding: 5px 25px;
    font-weight: 500;
}
.btn:hover, .btn:focus{
    background-color: #fff;
    color: #be001e;
    border-color: #be001e;
}*/

a:not(.btn), a:not(.btn):hover, a:not(.btn):focus{
    color: #000;
    text-decoration: underline;
}

.tx-felogin{
    max-width: 350px;
    margin: 0px auto;
}
header{
    margin-bottom: 100px;
}
main{
    margin-bottom: 100px;
}
footer{
    /*position: fixed;
    bottom: 0px;
    text-align: center;
    width: 100vw;
    left: 0px;
    padding: 10px;*/
    width: 100%;
    background-color: #fff;
    text-align: center;
}
footer > div{
    padding: 10px;
}
.navbar-brand{
    width: 150px;
    margin: 0px;
}
.navbar-brand img{
    width: 300px;
    max-width: 100%;
    height: auto;
}
.hint{
    color: grey;
    font-size: 0.8em;
    display: block;
}
.form-label{
    font-size: 0.9em;
    line-height: 1.1em;
    margin-bottom: 5px;
}
.form-control, .form-select{
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
}
.form-control:focus, .form-check-input:focus, .form-select:focus{
    box-shadow: none !important;
}
.form-check-input {
  border-color: #be001e;
  color: #fff;
}
.form-check-input:checked {
  background-color: #be001e;
  border-color: #be001e;
}
.form-check-input:focus {
  border-color: #be001e;
}
.radio-label{
    margin-right: 15px;
}
::placeholder{
    color: #000;
}


input[type="date"]{
    position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background-size: 15px;
    background-position: calc(100% - 15px) center;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* form loading */

.form-loading {
	background-color: rgba(255, 255, 255, 0.5);
	width: 100%;
	height: 100%;
	display: block;
	position: fixed;
	/* padding-bottom: 20px; */
	left: 0px;
	top: 0px;
	z-index: 9999999;
}

.lds-ring {
	display: inline-block;
	position: absolute;
	width: 80px;
	height: 80px;
	left: 50%;
	top: 50%;
	margin-left: -40px;
	margin-top: -40px;
}

.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 8px solid #be001e;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	-webkit-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	-moz-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	-ms-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	-o-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #be001e transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
	-webkit-animation-delay: -0.45s;
	-moz-animation-delay: -0.45s;
	-ms-animation-delay: -0.45s;
	-o-animation-delay: -0.45s;
	animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
	-webkit-animation-delay: -0.3s;
	-moz-animation-delay: -0.3s;
	-ms-animation-delay: -0.3s;
	-o-animation-delay: -0.3s;
	animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
	-webkit-animation-delay: -0.15s;
	-moz-animation-delay: -0.15s;
	-ms-animation-delay: -0.15s;
	-o-animation-delay: -0.15s;
	animation-delay: -0.15s;
}

@-webkit-keyframes lds-ring {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes lds-ring {
	0% {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


.parsley-errors-list{
    margin: 0px;
    padding: 0px;
    list-style: none;
    color: red;
    font-size: 0.9em;
    line-height: 1.1em;
}
.parsley-errors-list.filled{
    margin-top: 5px;
}
.parsley-errors-list li{
    padding-left: 0px;
}

.close-me {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 10px;
	top: 10px;
	background: none;
	border: none;
	padding: 0px;
	margin: 0px;
	cursor: pointer;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.close-me::before,
.close-me::after {
	display: block;
	width: 100%;
	height: 4px;
	background-color: #000000;
	content: '';
	position: absolute;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.close-me::after {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}
.oewdservice-overlay{
	display: none;
	position: fixed;
	z-index: 9999;
    width: 100vw;
    height: 100vh;
    left: 0px;
    top: 0px;
    background-color: rgba(255,255,255,0.7);
}
.oewdservice-overlay > div{
    /*position: fixed;
    left: 15px;
	top: 15px;
    width: calc(100vw - 30px);
    height: calc(100vh - 30px);*/
	background-color: #fff;
	padding: 15px;
    border: 1px solid #000;
	-webkit-box-shadow: -10px 10px 16px -9px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: -10px 10px 16px -9px rgba(0, 0, 0, 0.5);
	box-shadow: -10px 10px 16px -9px rgba(0, 0, 0, 0.5);
	position: relative;
    width: 750px;
    max-width: 90vw;
    max-height: 80vh;
    margin: 10vh auto;
    overflow-y: auto;
}

.inner-overlay-content{
    /*max-width: 750px;
    margin: 0px auto;*/
    padding: 45px 35px 45px;
}

.success, .error{
    text-align: center;
    margin-top: 50px;
}

.sort-state{
    cursor: pointer;
}
.sort-state span{
    width: 20px;
    height: 17px;
    display: inline-block;
    position: relative;
}
.sort-state svg{
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0px;
    opacity: 0.3;
}
.sort-state svg.act{
    opacity: 1;
}
.sort-state svg.asc{
    top: 1px;
}
.sort-state svg.desc{
    top: 10px;
}

td > .position-relative > a{
    text-decoration: none;
}

.add-caseid{
    cursor: pointer;
}