html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;cursor:default;}
article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
html {height:100%;}
body { line-height:1.5; }

body {
	background-color: #ffffff;
	font-weight: normal;
	/* bring the default font size up to 14px */
	font-size: .875em;
	line-height: 1.6em;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
	color: #000;
	text-align: center;
	background-color: #0082c9;
	background-position: 50% 50%;
	background-repeat: repeat;
	background-size: 275px, contain;
	background-attachment: fixed; /* fix background gradient */
	min-height: 100%; /* fix sticky footer */
	height: auto;
}

input::-ms-reveal {
  display:none;
}

#body-login #header .logo {
    margin-bottom: 22px;
}

#theming-preview-logo, #header .logo {
    background-size: contain;
}

#theming-preview-logo, #header .logo {
    background-image: url(../img/logo_new.png);
}

/* Various fonts settings */
#body-login a {
	color: #fff;
	font-weight: 600;
}
#body-login a:not(.button):hover,
#body-login a:not(.button):focus {
	text-decoration: underline;
	text-decoration-skip-ink: auto;
}

/* Global content */
body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#header .logo {
	background-image: url('../img/logo_new.png');
	background-repeat: no-repeat;
	background-size: 175px;
	background-position: center;
	width: 256px;
	min-height: 128px;
	max-height: 200px;
	margin: 0 auto;
	position: relative;
	left: unset;
}

#header .logo img {
	opacity: 0;
	max-width: 100%;
	max-height: 200px;
}

.wrapper {
	width: 100%;
	max-width: 700px;
	margin-top: 10vh;
}

label.infield, .hidden-visually {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.float-spinner {
    margin-top: -32px;
    padding-top: 32px;
    height: 32px;
    display: none;
}

.spinner-active {
    margin-top: -32px;
    padding-top: 32px;
    height: 32px;
}



.grouptop, .groupmiddle, .groupbottom {
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#submit-wrapper {
    margin: 0 auto;
}

#submit-wrapper, #reset-password-wrapper, #alternative-logins {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Default FORM */
form {
	position: relative;
	margin: auto;
	padding: 0;
}
form fieldset {
	width: 260px;
	margin: auto auto 20px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
form #sqliteInformation {
	margin-top: -20px;
	margin-bottom: 20px;
}
form #adminaccount {
	margin-bottom: 15px;
}
form fieldset legend, #datadirContent label {
	width: 100%;
}
#datadirContent label {
	display: block;
	margin: 0;
}
form #datadirField legend {
	margin-bottom: 15px;
}

footer {
    height: 70px;
    margin-top: auto;
}

.hidden {
    display: none;
}

input[type='text'], input[type='tel'], input[type='password'], input[type='email'] {
    width: 249px;
    background: #fff;
    color: #555;
    cursor: text;
    font-family: inherit;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    box-sizing: content-box;
    border: none;
    font-weight: normal;
}


input, input:not([type='range']), a.button {
    font-size: 20px;
    margin: 5px;
    padding: 11px 10px 9px;
    outline: none;
    border-radius: 3px;
    -webkit-appearance: none;
}

.grouptop input {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.grouptop input {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.groupbottom input {
    margin-top: 0 !important;
    border-top: 0 !important;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
}

#submit-wrapper {
    margin: 0 auto;
}

input.primary, #alternative-logins li a {
    background-color: #ad2624;
    border: 1px solid #fff;
    color: #fff;
}

input.primary, button.primary, a.primary {
    border: 1px solid #fff;
    background-color: #0082c9;
    color: #fff;
    transition: color 100ms ease-in-out;
}

}
input[type='submit'], input[type='submit'].icon-confirm, input.updateButton, input.update-continue {
    padding: 10px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}



input[type='submit'], input[type='submit'].icon-confirm, input[type='button'], button, a.button, .button, select {
    display: inline-block;
    width: auto;
    min-width: 25px;
    padding: 12px;
    background-color: #26d64c;
    font-weight: bold;
    color: #555;
    border: none;
    border-radius: 100px;
    cursor: pointer;
}

input.login {
    width: 260px;
    height: 50px;
    background-position: right 16px center;
}

input, textarea, select, button, div[contenteditable=true] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

.toggle-password {
    position: absolute;
    top: 17px;
    right: 20px;
}

a, a *, input, input *, select, .button span, label {
    cursor: pointer;
}

input[type='password'].password-with-toggle, input[type='text'].password-with-toggle {
    width: 219px;
    padding-right: 40px;
}

div#action-error {
        text-align: center;
        border: 1px solid white;
        display: none;
        color: white;
        background-color: #ff0000;
        border-radius: 15px;
}

#submit-wrapper .submit-icon, #reset-password-wrapper .submit-icon {
    position: absolute;
    top: 22px;
    right: 24px;
    transition: right 100ms ease-in-out;
    pointer-events: none;
}

[class^='icon-'], [class*=' icon-'] {
    background-repeat: no-repeat;
    background-position: center;
    min-width: 16px;
    min-height: 16px;
}

.icon-confirm-white {
    background-image: url(../img/confirm-white.svg);
}

.loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
    position: relative;
}






.loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
    z-index: 2;
    content: '';
    height: 32px;
    width: 32px;
    margin: -17px 0 0 -17px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    /*-webkit-animation: rotate .8s infinite linear;*/
    animation: rotate .8s infinite linear;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}

.loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
    border: 2px solid rgba(150, 150, 150, 0.5);
    border-top-color: #646464;
}

.icon-loading-dark:after, .icon-loading-small-dark:after {
    border: 2px solid rgba(226, 20, 20, 0.5);
    border-top-color: #bbb;
}

.icon-loading-small:after, .icon-loading-small-dark:after {
    height: 16px;
    width: 16px;
    margin: -9px 0 0 -9px;
}

@-webkit-keyframes rotate {
	from {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	}
	to {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	}
}
@keyframes rotate {
	from {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	}
	to {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	}
}
