body
{
	background-image: url('../temp/bg2023.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-attachment:fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	cursor:default;
	font-family:'sans-serif','arial','Open Sans';
	font-weight:400;
}

#login_box
{
	position: absolute;
    top: 50%;
    translate: -50% -50%;
    left: 50%;
    /* height: 65vh; */
	height: 40rem;
    border-radius: 25px;
    width: 27.5rem;
    display: inline-block;
    background-color: rgb(0 0 0 / 80%);
    color: white;
    text-align: center;
    min-width: 360px;
    z-index: 69;
	transition: 400ms;

}

#logodiv
{
	padding-top: 2rem;
	font-size: 28px;
	width: 100%;
}

#logoimg
{
	height: 90px;
}

#enprosimg
{
	height: 66px;
	padding-right: 20px;
}

#enprosdiv
{
	position: absolute;
	width: 100%;
	text-align: right;
	bottom: 10px;
	clear: both;
}

#formdiv
{
	position: absolute;
    top: 60%;
    z-index: 5;
    width: 100%;
    translate: 0 -50%;
}
	
#formdiv input, select
{
	border: 0;
	border-bottom: 2px solid rgba(255, 255, 255, 0.388);
	width: 70%;
	font-size:18px;
	line-height: 32px;
	height: 44px;
	text-align: left;
	background: transparent;
	color: white !important;
	transition: 400ms;
}

#formdiv button{
	transition: 400ms ease;
}

/* #formdiv input:focus{
	border-bottom: 2px solid rgb(255, 255, 255);
} */

#formdiv input
{
	padding-left: 8px;
}

.language-selection{
	float: right;
	background: #0000007a;
	padding-left: 0.2rem;
	position: relative;
	border-radius: 0 0 0 5px;
	z-index: 70;
}

#language-selection-flag{
	padding-top: 0.5rem;
	padding-right: 0.2rem;
}

#inputLanguage {
	float: right;
    /* background: #0000007a; */
	border-bottom: none;
    width: 8rem;
    height: 2rem;
}

#inputLanguage option
{
	background-color: white;
	color: black;
	font-size: 20px !important;
}

#formdiv input:focus
{
	outline: 0;
	border-bottom: 2px solid rgb(255, 255, 255);
}

#formdiv button:hover
{
	width: 45%;
}

#formdiv input, select::placeholder
{
	color: grey;
}

#formdiv button
{
	margin-top: 2rem;
	font-size:16px;
	background-color: #0bd;
	border: 0px;
	line-height: 2rem;
	width: 40%;
	color: white;
	text-transform: uppercase;
	cursor: pointer;
}

button#logIn{
	margin-top: 4rem;
}

#formdiv a
{
	color: white;
}
#forgotPasswordForm button
{
	background: none!important;
	margin-top: 1rem;
	border: none;
	padding: 0!important;
	/*optional*/
	font-family: arial, sans-serif;
	font-size: 0.9rem;
  	font-weight: 400;
	/*input has OS specific font-family*/
	color: rgb(255, 255, 255);
	text-decoration: underline;
	cursor: pointer;
	text-transform: none;
  }
  
#passwordForgotForm {
	margin: 5rem 2rem 0 2rem;
}

.error
{
	background-color: #c04;
	color: #fff;
	margin-bottom: 9px;
}

.login_box_info
{
	/* padding: 20px; */
	/* margin-bottom: 10px; */
	margin: 0 1rem 1rem 1rem;
	
}
.header
{
	font-size: 1.5rem;
	color: #fff;
	text-align: left;
	margin-left: 4rem;
	/* margin-bottom: 2rem; */
	/* 2rem pienemmälle? */
}
.success
{
	background-color: #28a745;
	color: #fff;
	margin-bottom: 9px;
}

.text-divider {
	display: flex;
	align-items: center;
	color: lightgray;
	margin-top: 1rem;
	--text-divider-gap: 1rem; /* set a customizable gap between label and lines */
  }
  
  .text-divider::before,
  .text-divider::after {
	content: '';
	height: 2px;
	background-color: lightgray;
	flex-grow: 1;
  }
  
  .text-divider::before {
	margin-right: var(--text-divider-gap);
	margin-left: 2rem;
  }
  
  .text-divider::after {
	margin-left: var(--text-divider-gap);
	margin-right: 2rem;
  }
/* media screenit alkaa */

/* @media screen and (min-height: 1100px) {
	#login_box{
		height: 40rem
	}
}
@media screen and (max-height: 900px){
	#login_box{
		height: 80vh;
	}
} */
@media screen and (max-height: 650px){
	#login_box{
		height: 100vh;
		border-radius: 0px;
		/* transition: 400ms; */
	}
}
@media screen and (max-height: 900px) and (max-width: 750px){
	#enprosdiv
	{
		display: none;
	}
}
@media screen and (max-width: 500px){
	#login_box{
		width: 100vw;
	}
}

/* @media screen and (max-width:1799px)
{
	#logodiv
	{
		padding-top: 20px;
		font-size:16px;
	}
}

@media screen and (max-height:666px)
{
	#enprosdiv
	{
		display: none;
	}
	
	.login_box_info
	{
		padding: 10px;
	}
}

@media screen and (max-width:999px)
{
	#login_box
	{
		position: static;
		margin-left: 15vw;
		width: 70vw;
		max-width: 70vw;
		display: block;
	}
	
	#enprosdiv
	{
		display: none;
	}
	
	#logodiv
	{
		padding-top: 20px;
		font-size:16px;
	}
	
	#logoimg
	{
		height: 50px;
	}
	
	#enprosimg
	{
		height: 60px;
	}
	
	#formdiv
	{
		display: block;
		clear: both;
		position: static;
	}
	
	#formdiv input, select
	{
		font-size:20px;
		line-height: 24x;
		height: 34px;
	}
	
	.login_box_info
	{
		margin-top: 10px;
		margin-bottom: 10px;
	}

} /* 999 */

