/* HTML elements */
body {
	background-attachment: fixed;
	background-color: #dee7eb !important;
	background-image: url("images/header-map.svg");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: 85%;
	font-family: 'Open Sans' !important;
	margin: 0;
	padding: 0;
	width: 100%;
}

.title{
	text-align:center;
	font-size:21px;
}

.alert{
	margin:20px;
}


/*-------------------------------------*/
/* MESSAGE STYLES */
/*-------------------------------------*/
.dnnFormMessage {
	display: block;
	padding: 17px 18px;
	margin:auto;
	border: 1px solid rgba(2,139,255,0.2); /* blue */
	background: rgba(2,139,255,0.15); /* blue */
	-webkit-border-radius: 3px;
	border-radius: 3px;
	left: 50% !important;
	margin-left: -300px !important;
	position: absolute;
	width: 600px !important;
	z-index: 9999;
	/* max-width: 600px; */
}


.dnnFormError,
.dnnFormMessage.dnnFormError,
.dnnFormMessage.dnnFormValidationSummary {
	background-color: rgba(255,0,0,0.15); /* red */
	border-color: rgba(255,0,0,0.2); /* red */
}


/* Login */
.login {
	background-color: #dee7eb;
	background-image: url("images/header-map.svg");
	background-position: 50% -25%;
	background-repeat: no-repeat;
	background-size: 75%;
}



.login-form {
	background-color: #ffffff;
	-webkit-box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.1);
	display: block;
	left: 50%;
	margin-left: -400px;
	margin-top: -300px;
	position: absolute;
	top: 50%;
	width: 800px;
	
}

.login-form img {
	display: inherit;	
	margin: 50px auto;
	width: 80%;
}

.login-form > .form-group {
	margin: 30px auto;
	text-align: center;	
	width: 65%; 
}

.login-form > .form-group > .form-control {
	border-radius: 0px !important;
	font-size: 12px;
	min-height: 50px;
	padding: 15px 20px;
}

.login-form > .form-group > .ipcr-default {
	width: 100%;
}

.login-form > .form-group > .password-strength{
	
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 0px !important;
	font-size: 12px;
	min-height: 50px;
	padding: 15px 20px;
	width: 100%;
}

.login-form > .form-group > .password-strength:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.tab-content {
	border: 1px solid #dee2e6; /* Add border */
	border-top: none !important;
	padding: 15px; /* Add some padding inside the content */
	border-radius: 5px; /* Optional: Add rounded corners */
}

.nav-tabs .nav-link {
    border: 1px solid #dee2e6 !important; /* Add border to all tabs */
    margin-bottom: -1px !important; /* Align tabs with the content */
    border-radius: 5px 5px 0 0; /* Optional: Rounded top corners */
	background-color: white;
	color:black;	
}

.nav-tabs .nav-link.active {
    background-color: #f8f9fa !important; /* Optional: Highlight the active tab */
    border-bottom: 1px solid #dee2e6 !important; /* Ensure active tab visually connects to content */
    color: #77216b !important; /* Change text color for active state */
	font-weight: 600 !important;
}



/*Media*/
@media screen and (min-width: 240px) and (max-width: 991px) {
	body {
		background-size: 200%;
	}

	.login-form {
		background: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		left: 0;
		margin-left: 0;
		width: 100%;
	}
	
	.dnnFormMessage {
		margin-left: -150px !important;
		width: 300px !important;
	}
	
	.LoginPanel {
        max-width: 100%; /* Adjust content width */
		height:0px;
      }
	
	.row {
        max-width: 100%; /* Adjust content width */
      }
	  
	.nav {
		background-color: transparent;
	}	 
	 
	.tab-content {
		background-color: white;
	}
}


/* Additional styles for landscape mode */
@media screen and (min-width: 240px) and (max-width: 991px) and (orientation: landscape) {
  .login-form img {
		display: inherit;
		margin-top: 120px;
		margin-bottom: auto;
		margin-left: auto;
		margin-right: auto;
		width: 60%;
	}
}

@media screen and (min-width: 240px) and (max-width: 991px) and (orientation: portrait) {
	body {
		background-position-y: 0;
		background-repeat: repeat-y;
	}
	
	.login-form {
		margin-top:0;
		top:0;
	}
}
