/******** Login API popup window   **********/
#loginAPIpopupWindowContainer a {
	color:blue;
	text-decoration:underline;
}

#loginAPIpopupWindowContainer a:hover {
	color:red;
}

#loginAPIpopupWindowContainer a:active {
	color:grey;
}

.loginAPIloggedOut , .loginAPIuserIsLoggedIn {
	display:none;
}

#LoginAPIloadingImage {
	display:none;
	position: fixed; 
	top: 40%;
	text-align:middle;
	margin-left:40%;
	z-index:9999;
	background: #ffffff; 
	opacity: 0.5;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

#loginAPIwindowCloseButton {
	position:relative;
	float:right;
	right:5px;
	top:5px;
	width:30px;
	height:30px;
	cursor:pointer;
}

#loginAPIpopupWindowContainer {
	z-index:10000;
	text-align:center;
	position:absolute;
	width:100%;
	min-width:80vw;
	height:90vh;
	bottom:0;
}

#loginAPIpopupWindow {
	background-color: rgba(230,230,230,0.9);
	background-image: linear-gradient(45deg, #ffcccc 25%, transparent 25%, transparent 50%, #ffcccc 50%, #ffcccc 75%, transparent 75%, transparent);
	display: block;
    position: absolute;
    bottom: 5%;
    left: 15%;
    width: 70%;
    height: 80%;
    vertical-align: middle;
    text-align: center;
	border: 3px solid rgba(100,100,100,0.7);
	border-radius:5px;
}

.loginAPItopMessage {
	font-size:14px;
	color:black;
	padding:2px 2px 2px 2px;
	width:100%;
	display:none;
}

.loginAPIButton {
	cursor:pointer;
}

/********     Titles      **********/
.loginAPItitle {
	font-size:18px;
	color:red;
}

.loginAPIsubTitle {
	font-size:16px;
}

.loginAPItabTitle {
	font-size:24px;
}

/******** Join or Login   **********/
#loginAPIloginOrJoinContainer {
	display:block;
	width:100%;
}

.loginAPIjoinOrLoginText {
	font-size:16px;
	color:#dddddd;
	vertical-align:middle;
}

.loginAPIjoinOrLoginWarningText {
	font-size:12px;
	font-weight:bold;
	vertical-align:middle;
}

/******** Login Form ***********/
#loginAPIloginDiv {
	display:block;
	width:100%;
	text-align:center;
	background:rgba(200,200,200,0.4);
	border-radius:4px;
	padding-top:0px;
	padding-bottom:30px;
}

/******** Login and Join Forms   **********/
#loginAPIjoinContainer {
	display:none;
	width:100%;
	text-align:center;
	background:rgba(200,200,200,0.4);
	border-radius:4px;
	padding-top:0px;
	padding-bottom:30px;
}

.loginAPIformLineContainer {
	width:auto;
	display:block;
	max-width:480px;
	text-align:center;
	margin-top:10px;
	margin-left:auto;
	margin-right:auto;
}

.loginAPIformLabelCell {
	display:inline-block;
	width:30%;
	min-width:50px;
	float:left;
	margin-top:10px;
	padding-top:5px;
}

.loginAPIformInputCell {
	display:inline-block;
	width:70%;
	min-width:200px;
	float:left;
	margin-top:10px;
}

.loginAPIformButton  {
	width:120px;
	height:30px;
	font-size:20px;
	border-radius:4px;
	display:inline-block;
	margin-right:10px;
}

.loginAPIinputInput {
	width:250px;
	height:30px;
	font-size:16px;
	border-radius:4px;
	display:inline-block;
}


.loginAPIemptyFormLine {
	height:30px;
}

.loginAPIformButtonsLineContainer {
	width:100%;
	display:inline-block;
	margin-top:10px;
	text-align:center;
}

.redButton {
	background:#F5B041;
	border: 1px solid #D59021;
}

.redButton:hover {
	background:#D59021;
}

.greenButton {
	background:#ABEBC6;
	border: 1px solid #9BCBA6;
}

.greenButton:hover {
	background:#9BCBA6;
}

.loginAPIgreyButton {
	background:#999999;
	border: 1px solid #777777;
}

.loginAPIgreyButton:hover {
	background:#777777;
}

.loginAPIblueButton {
	background:#AED6F1;
	border: 1px solid #6EACAF;
}

.loginAPIblueButton:hover {
	background:#6EACAF;
}

/******** Confirm Form   **********/
#loginAPIconfirmContainer {
	display:none;
	width:100%;
	text-align:center;
}

/******** Reset Password   **********/
.loginAPIresetPasswordText {
	font-size:10px;
}

/***********************************/
/******** MEDIA QUERIES   **********/
/***********************************/
@media screen and (max-width: 800px) {
	#loginAPIpopupWindow {
		top: 2%;
		left: 5%;
		width: 90%;
		height: 96%;
		overflow-y:auto;
		overflow-x:hidden;
	}
	
	.loginAPIformLineContainer {
		text-align:center;
	}
	
	.loginAPIformLabelCell {
		width:100%;
		text-align:center;
	}
	
	.loginAPIformInputCell {
		width:100%;
		text-align:center;
		margin-top:0px;
	}
}
