#login_box p, #login_box input[type="submit"], #login_error, #user_edit_error, #login_load {
	text-align: center;
	opacity: 0.4;
	font-style: italic;
	font-weight: bold;
	color: black;
	text-decoration: none;
}

#user_selector a#user_selector_close {
	position: absolute;
	right: 5px;
	top: 5px;
	margin: 0px;
}

#login_box input[type="submit"], #login_error, #user_edit_error {
	margin-top: 20px;
	margin-bottom: 20px;
}

#login_box input[type="submit"]:hover {
	background: gray;
	color: white;
}

#login_box input[type="submit"].disabled {
	background: lightgray;
}

#login_box input[type="submit"].disabled:hover {
	background: lightgray;
	color: black;
}

#user_selector a {
	display: block;
	margin: 10px;
}

#login_box, #user_selector {
	position: fixed;
	width: 300px;
	/*height: 200px;*/
	top: 50%;
	left: 50%;
	display: none;
	z-index: 10000;
	padding: 15px;
	background: white;
	border-radius: 5px;
    transform: translate(-50%, -50%);
    transform: -webkit-translate(-50%, -50%);
    transform: -moz-translate(-50%, 50%);
    transform: -ms-translate(-50%, 50%);
}

#usersenddigest {
	font-size: 120%;
	text-align: left;
}

#login_box input {
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-top: 5px;
	border: 1px solid gray;
	background: white;
	border-radius: 5px;
	font-size: 20px;
	padding: 5px;
}

#api_key_button {
	display: none;
    position: absolute;
    top: 100px;
    left: 136px;
}

#remove_digest_button {
	position: absolute;
    top: 13px;
    left: 15px;
    min-width: 15px;
    height: 22px;
    padding-top: 2px;
    padding-left: 4px;
    color: red;
    width: 22px;
    font-size: 16px;
}

#edit_digest_name {
	position: absolute;
    top: 13px;
    right: 15px;
    min-width: 15px;
    height: 22px;
    padding-top: 2px;
    padding-left: 4px;
    width: 22px;
    font-size: 16px;
}

#preview_digest_button {
	position: absolute;
    top: 44px;
    right: 15px;
    min-width: 15px;
    height: 22px;
    padding-top: 2px;
    padding-left: 4px;
    width: 22px;
    font-size: 16px;
}

#user_imitate_list p {
	margin: 10px;
	font-weight: bold;
	margin-bottom: 0px;
}

#user_imitate_list a {
	display: inline-block;
	width: 110px;
	height: 30px;
	padding: 5px;
	border: 2px solid gray;
	border-radius: 5px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    color: black;
}

#user_imitate_list a:hover {
	border: 2px solid black;
	background: lightgray;
}




#user_box, #login_button {
	position: fixed;
	font-size: 15px;
	top: 0px;
	right: 10px;
	background: lightgray;
	padding: 5px;
	opacity: 0;
	z-index: 1000;
}

#login_button {
	position: absolute;
	font-style: italic;
	padding-left: 10px !important;
	padding-right: 10px !important;
}

#login_button:hover {
	cursor: pointer;
	color: white;
}

@media print {
	#user_box {
		display: none;
	}
}

#user_button {
	pointer-events: none;
	padding-left: 5px;
	padding-right: 5px;
}

#logout_box {
	margin-top: 0px;
	max-height: 0px;
	transition-property: max-height, margin;
	transition-duration: 0.25s;
	transition-timing: ease-out;
	overflow: hidden;
}

#user_box:hover #logout_box {
	margin-top: 10px;
	height: auto;
	max-height: 440px;
}

#logout_box a {
	display: block;
	color: black;
	text-decoration: none;
	padding: 5px;
}

#logout_box a:hover {
	background: white;
}

#twofactor_register_code img {
	margin: auto;
}

#login_submit.loading1 { -webkit-animation: login_anim1 2s infinite; animation: login_anim1 2s infinite; }
@-webkit-keyframes login_anim1 { 0% {-webkit-transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);} }
@keyframes login_anim1 { 0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);} }

#login_submit.loading2 { -webkit-animation: login_anim2 2s infinite; animation: login_anim2 2s infinite; }
@-webkit-keyframes login_anim2 { 0% {-webkit-transform: rotateX(0deg);} 100% {-webkit-transform: rotateX(360deg);} }
@keyframes login_anim2 { 0% {transform: rotateX(0deg);} 100% {transform: rotateX(360deg);} }

#login_submit.loading3 { -webkit-animation: login_anim3 2s infinite; animation: login_anim3 2s infinite; }
@-webkit-keyframes login_anim3 { 0% {-webkit-transform: rotateY(0deg);} 100% {-webkit-transform: rotateY(360deg);} }
@keyframes login_anim3 { 0% {transform: rotateY(0deg);} 100% {transform: rotateY(360deg);} }

#login_submit.loading4 { -webkit-animation: login_anim4 2s infinite; animation: login_anim4 2s infinite; }
@-webkit-keyframes login_anim4 { 0% {-webkit-transform: rotate(0deg); -webkit-transform-origin: 0% 0%;} 100% {-webkit-transform: rotate(360deg);} }
@keyframes login_anim4 { 0% {transform: rotate(0deg); -webkit-transform-origin: 0% 0%;} 100% {transform: rotate(360deg);} }

.icon-occupancy:before {
	content: ' ';
	display: inline-block;
	background-image: url(/common/images/shield-account.svg);
	background-size: 13px 13px;
	height: 13px;
	width: 13px;
	margin-right: -3px;
}

.icon-visitors:before {
	content: ' ';
	display: inline-block;
	background-image: url(/common/images/account-multiple.svg);
	background-size: 13px 13px;
	height: 13px;
	width: 13px;
	margin-right: -3px;
}

.icon-hotspots:before {
	content: ' ';
	display: inline-block;
	background-image: url(/common/images/bullseye.svg);
	background-size: 13px 13px;
	height: 13px;
	width: 13px;
	margin-right: -3px;
}

#user_box hr {
	border: none;
}

.w2ui-form input[type=checkbox], .w2ui-form input[type=radio] {
	width: 20px !important;
}

.w2ui-field>div.text-field {
	padding: 0;
	padding-top: 7px;
	padding-left: 5px;
}

.w2ui-field>div>label {
	line-height: 20px;
}

.w2ui-field>div>input, .w2ui-field>div>textarea{
	width: 90% !important;
}

.w2ui-column {
	width: 100%;
}

div[name=account_form] .w2ui-form-box {
	height: 100% !important;
}



#w2prompt_info {
	height: 0;
    margin-top: 5px;
    width: 300px;
    text-align: right;
    color: red;
}


#digest_sender_name {
	width: 125px !important;
}

/* the account form should resize nicely when the popup box is resized */
div[name=account_form] .w2ui-form-box {
	height: 100% !important;
}

/* make toggles in the account form respond to clicks anywhere */
.w2ui-form input[type=checkbox].w2ui-toggle {
    width: 50px !important;
}


#accept_terms_container {
	width: 100%;
	font-size: 16px;
	max-width: 300px;
	margin: auto;
	position: relative;
	margin-top: 40px;
}

#accept_terms_container div {
	margin-left: 40px;
	padding-top: 4px;
}

#accept_terms {
	font-size: 200%;
	position: absolute;
	cursor: pointer;
}

#accept_terms:hover {
	color: silver;
}

.markdown-body {
	font-family: 'Roboto', sans-serif;
}

.markdown-body p {
	margin: 12px 0;
}

.markdown-body ul, .markdown-body ol {
	margin: 12px 0;
	padding-inline-start: 40px;
}