
/* Authentication CSS */
#ID_AuthenticationPane {
	display: inline-block;
	position:relative;
}

#ID_AuthenticationPane button {
    color: white;
	text-decoration: none;
    text-align: center;
    font-size: 10px;
    padding: 3px 12px;
    margin-right: 10px;
    margin-top: 5px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	/*border: 1px solid #808080;*/
	background: #4c5cb5;
	background: -webkit-gradient(linear, left top, left bottom, from(#b2beff), to(#4c5cb5));
	background: -webkit-linear-gradient(top, #b2beff, #4c5cb5);
	background: -moz-linear-gradient(top, #b2beff, #4c5cb5);
	background: -ms-linear-gradient(top, #b2beff, #4c5cb5);
	background: -o-linear-gradient(top, #b2beff, #4c5cb5);
}

#ID_AuthenticationPane button:hover {
   border-top-color: #28597a;
   background: #28597a;
   color: #ccc;
}

#ID_AuthenticationPane button:active {
   border-top-color: #1b435e;
   background: #1b435e;
}

#ID_AuthenticationPane button:disabled {
	background-color: #d0d0ff;
    color: #f0f0f0;
}

.CL_AuthBannerBtn {
    /* display: inline-block; */
}

.CL_AuthSpanButton {
	font-size: 12px;
	color: blue;
	text-decoration: underline blue;
	cursor: pointer;
}

.CL_AuthDialogErrorText {
	color: red;
}

.CL_AuthDialogPasswordText {
	line-height: 20px;
}

.CL_AuthDialogPasswordStatus {
	display: inline-block;
	font-size: 8pt;
    text-align: center;
    width: 14px;
    vertical-align: middle;
}

.CL_AuthDialogPasswordStatus-checkmark {
	font-size: 12pt;
	color: green;
}

.CL_AuthDialogPasswordStatus-bigx {
	color: red;
}

.CL_AuthDialogPasswordStatus-space {
	display: inline-block;
    width: 18px;
}

.CL_AuthDialogPasswordStatus-dash {
	color: #ffbf00;
	font-size: 12pt;
}

.CL_AuthDialogPasswordStatus-dashred {
	color: red;
	font-size: 12pt;
}

.CL_AuthBackground {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 11; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

    animation-name: ID_AuthAnimateFadeIn;
    animation-duration: 0.4s;
}

@keyframes ID_AuthAnimateFadeIn {
    from {background-color: rgba(0,0,0,0.0)}
    to {background-color: rgba(0,0,0,0.4)}
}


.CL_AuthDialog {
	position: fixed;
	left: 0; 
	right: 0;
	margin-top: calc(50vh - 150px);
	margin-left: auto;
	margin-right: auto;
	background: #f0f0fd;
	background: rgba(240,240,253,0.90);
	padding: 22px 32px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
	-webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
	-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

#ID_AuthDialog {
	width: 300px;
	min-height: 250px;

    animation-name: KEY_AuthAnimateTop;
    animation-duration: 0.4s
}

@media only screen and (max-device-width : 600px) {
	#ID_AuthDialog {
		max-width: calc(100% - 80px);
	}
	
	/*#ID_AuthSignInSupported {
		display:none;
	}*/
}

/*@media only screen and (min-device-width : 601px) {*/
	#ID_AuthSignInNotSupported {
		display:none;
	}
/*}*/

.CL_AuthDialogHelp {
	position: fixed;
	width: 180px;
	min-height: 250px;
	border-radius: 8px;
	background: #f0f0fd;
	background: rgba(240,240,253,0.90);	
	right: 0;
	left: 0;
	margin-top: calc(50vh - 150px);
    margin-left: calc(50vw + 193px);
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: 20px;
    padding-right: 20px;
    animation: KEY_AuthFadeOpacity 0.4s ease;
	-moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
	-webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
	-box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) /* iPad */
{
	.CL_AuthDialog { 
		margin-top: 30px;
		margin-left: 30px; }
	.CL_AuthDialogHelp { 
		margin-top: 30px;
		margin-left: 410px; }
}

@media only screen and (max-device-width : 767px) /* anything smaller than an iPad */
{
	.CL_AuthDialog { 
		margin-top: 10px;
		margin-left: 10px; }
	.CL_AuthDialogHelp { 
		margin-top: 10px;
		margin-left: 410px; }
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	.CL_AuthDialog {
		left: unset;
		top: unset;
		position: unset;
		height: unset;
		bottom: unset;
		min-height: unset;
	}
	.CL_AuthDialogHelp { 
		top: unset;
		left: unset;
		margin: unset;
		margin-top: 10px;
		margin-left: 10px;
		margin-right: 6px;
		position: unset;
		width: unset;
		font-size: 12px;
		height: unset;
		min-height: unset;
	}
	#ID_AuthDialog {
		min-height: unset;
	}
}

@keyframes KEY_AuthAnimateTop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

@keyframes KEY_AuthFadeOpacity {
    from { opacity: 0}
    to { opacity: 1}
}

.CL_GoogleAuth {
    padding-top: 10px;
    margin-top: 120px;
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	.CL_GoogleAuth {
		padding-top: unset;
		margin-top: unset;
	}
}

#ID_GoogleAuth {
}

#ID_GoogleFailed {
}

#ID_CustomGoogleBtn {
  display: inline-block;
  background: white;
  color: #444;
  width: 190px;
  border-radius: 5px;
  border: thin solid #888;
  box-shadow: 1px 1px 1px grey;
  white-space: nowrap;
}

#ID_CustomGoogleBtn:hover {
  cursor: pointer;
}

#ID_CustomGoogleBtn span.icon {
  background: url('rsrcs/g-normal.png') transparent 5px 50% no-repeat;
  display: inline-block;
  vertical-align: middle;
  width: 42px;
  height: 42px;
}

#ID_CustomGoogleBtn span.buttonText {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
}

#ID_AuthUserImg {
	width: 20px;
    border-radius: 10px;
    vertical-align: text-bottom;
    margin-right: 10px;
    margin-left: -10px;
}

.CL_AuthHorzDiv {
	margin-bottom: 10px;
}
.CL_AuthHR {
	border-bottom: 1px solid darkgray;
    display: inline-block;
    width: 90px;
    margin-bottom: 5px;
}

.CL_AuthOR {
	font-size: 12pt;
    color: darkgray;
    margin: 0px 10px 0px 10px;
}

#ID_AuthSettingsDialog {
	width: 300px;
	height: calc(100vh - 100px);

    margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
    margin-left: auto;
    
    animation-name: ID_AuthAnimateRight;
    animation-duration: 0.4s
}

@keyframes ID_AuthAnimateRight {
    from {right: -300px; opacity: 0}
    to {right: 0; opacity: 1}
}


#ID_AuthSettingsPlan {
	display: block;
	margin-bottom: 10px
}

.CL_AuthDialog label {
	width: 100px;
}

.CL_AuthDialog h1 {
    font-style: italic;
    color: #8080ff;
    font-size: 16px;}

#ID_AuthDialog input {
    margin-bottom: 10px;
}


.CL_AuthDiv {
	display: none;
	position: relative;
    font-size: 16px;
    width: 75%;
    height: 100%;
    margin: 0 auto; /* center horizontally */
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	.CL_AuthDiv { 
		width: unset;
	}
}


.CL_AuthDangerWarning {
	background: rgba(255, 128, 128, 0.30);
	border: 3px solid red;
    border-radius: 6px;
    padding: 8px;
}

.CL_AuthTitle {
    text-align: center;
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	.CL_AuthTitle {
		text-align: unset;
		width: 90%;
	}
}


.CL_AuthSmallLabel {
	font-size: 12px;
}

.CL_AuthToSLabel {
	font-size: 12px;
	margin-bottom: 10px;
}


/* The Close Button */
.CL_AuthCloseButton {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
	cursor: pointer;
}

.CL_AuthCloseButton:hover,
.CL_AuthCloseButton:focus {
    color: black;
    text-decoration: none;
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	.CL_AuthCloseButton {
		position: absolute;
		right: 20px;
		top: 20px;
	}
}

.CL_AuthBtnRow {
	position: absolute;
	width: 100%;
	top: 220px;
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	.CL_AuthBtnRow { 
		position: unset;
	}
}


#ID_AuthUser {
	border-radius: 4px;
	border: 1px solid #c0c0ff;
    margin-right: 20px;
	padding-right: 20px;
    padding-left: 20px;
    margin-right: 20px;
    cursor: pointer;
}

#ID_AuthUser:hover {
    border: 1px solid rgb(128, 128, 128);
	background: #B2BDFF;
    color: white;
}

#ID_AuthUserDiv {
	display: inline-block;
}

@media only screen and (max-device-width : 600px) /* mobile phones */
{
	#ID_AuthUserDiv {
		display: none;
	}
}

#ID_AuthProgress {
	display: none;
	position: absolute;
    top: 0px;
    left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
}

#ID_AuthProgressGIF {
    position: relative;
    left: 20px;
    top: 60px;
    border-radius: 20px;
    opacity: 0.5;
}

#ID_AuthAnimation {
	width: 120px;
	height: 120px;
	margin: 50px;
	border: 16px solid rgba(0, 0,255, 0.2);
    border-top: 16px solid rgba(0, 0,255, 0.5);
    border-radius: 50%;
	-webkit-animation: KF_AuthSpin 2s linear infinite; /* Safari */
	animation: KF_AuthSpin 2s linear infinite;
}

#ID_AuthBtnDAC, /* Delete account buttons */
#ID_AuthBtnDA {
	background-color: #ff4040;
}

#ID_AuthDiags {
    font-size: 10px;
}

@-webkit-keyframes KF_AuthSpin { /* Safari */
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes KF_AuthSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.CL_AuthHorzLine {
	margin-top: 5px;
	margin-bottom: 5px;
	border-bottom: 3px solid rgba(240,240,253,0.95);
}

.CL_AuthSpaceBeforeText {
	padding-top: 7px; 
	display: block;
}

.CL_AuthHideElement {
	display: none;
}

