/*
	Name: login.css
	Description: Styles used on elements found on the new login screen
	Date Created: 01/03/2020 #18383 John Salman
	Modified:
*/

.screenReader {
	clip-path: rect(1px,1px,1px,1px) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	width: 1px !important;
}

.fieldset {
	border: 0;
}

html, body {
	width: 100%;
	overflow-x: hidden;
	min-height: 100%;
}

body {
	background-image: -o-linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ), url("../images/BG-login.jpg");
	background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3)) ), url("../images/BG-login.jpg");
	background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ), url("../images/BG-login.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	margin: 0;
}

a {
	color: #003263;
}

a:hover {
	color: #549DCC;
}

a:focus {
	color: #549DCC;
}

div#content-wrapper {
	width: 57vw;

	display: -webkit-box;

	display: -ms-flexbox;

	display: flex;

	margin: auto;
	padding-top: 18vh;
}

.wrapper-border {
	-webkit-box-shadow: 4px 6px 5px rgba(0, 0, 0, 0.5);
	        box-shadow: 4px 6px 5px rgba(0, 0, 0, 0.5);
	border-radius: 2px;
}

#login-wrapper, #news-wrapper {
/*	height: 63vh;*/
	min-height: 587px;
	max-height: 63vh;

	overflow-x: hidden;

	background: white;

	display: -webkit-box;

	display: -ms-flexbox;

	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#login-wrapper {
	width: 24vw;

	margin-right: 2vw;

	overflow-y: hidden;
}

img#login-logo {
	width: 57.5%;
	max-width: 264px;
	height: auto;
	min-height: auto;
	margin: 0 auto;
	padding-top: 12%;
}

h1#login-title {
	width: 100%;
	padding-top: 12%;

	text-align: center;
	font-family: roboto-slab, sans-serif;
	font-size: 35px;
	font-weight: normal;
	color: #457a9e;
}
form#login-form {
	width: 82%;

	margin: 0 auto;
	padding-top: 8%;
}

div.login-form-row {
	margin: 0 auto;
	padding-top: 1.8%;
	width: 100%;
}

label.login-form-label {
	font-family: open-sans, sans-serif;
	font-size: 16px;
	color: #003263;
}

input.login-form-input {
	width: inherit;
	height: 30px;
	padding: 4px;
	border: 1px solid #CBCBCB;
}

.error {
	background-color: rgba(255, 77, 77, 0.44)
}

div.login-form-row-error {
	margin: 0 auto;
	padding-top: 0.5%;
	width: 100%;
}

div#login-additional-error {
	margin: 0 auto;
	padding-top: 5.3%;
	padding-bottom: 3%;
}

input#login-form-submit {
	width: 28%;
	min-width: 65px;
	height: 34px;

	margin-top: 4%;

	background-color: #003263;
	border: 1px solid #003263;
	border-radius: 1px;

	font-family: open-sans, sans-serif;
	font-size: 16px;


	color: #FFF;
	text-align: center;

	float: right;

	-webkit-appearance: none; /* Dont use native styling in iOS*/
}

input#login-form-submit:active {
	background-color: #457a9e;
	border: 1px solid #457a9e;
}

input#login-form-submit:hover {
	background-color: #457a9e;
	border: 1px solid #457a9e;
}

input#login-form-submit:focus {
	background-color: #457a9e;
	border: 1px solid #457a9e;
}


p#login-error {
	font-family: open-sans, sans-serif;
	font-size: 16px;
	color: #ff4d4d;
}

div#login-additional {
	width: 100%;

	padding-bottom: 3%;
	margin-top: auto;

	text-align: center;
}

a.login-additional-link {
	padding-right: 20px;
	text-decoration: none;
	font-family: open-sans, sans-serif;
	font-size: 16px;
	color: #003263;
	white-space: nowrap;
}

a.login-additional-link:hover {
	text-decoration: underline;
}

a.login-additional-link:focus {
	text-decoration: underline;
}

#news-wrapper {
	width: 40vw;
	overflow-y: auto;
	padding-left: 15px;
	padding-right: 15px;
	line-height: 25px;
}

h2#news-title {
	padding-left: 7%;
	padding-top: 5.5%;
	margin: 0;

	font-family: roboto-slab, sans-serif;
	font-size: 28px;
	font-weight: normal;
	color: #457a9e;
}

div#news-content font {
	width: 86%;
	flex-shrink: 0;

	padding-top: 2%;
	margin: 0 auto;

	font-family: open-sans, sans-serif;
	font-size: 16px !important;
	color: #003263;
	word-break: break-word;
}

p#news-update {
	padding-left: 7%;
	padding-bottom: 14%;

	font-family: open-sans, sans-serif;
	font-size: 16px;
	font-style: italic;
	color: #003263;
}

div#news-documents-wrapper {
	width: 88%;

	padding-bottom: 4%;
    padding-left: 7%;

    margin-top: auto;

	font-family: open-sans, sans-serif;
	font-size: 16px;
	font-style: italic;
	color: #003263;
}

h3#news-documents-title {
    margin-bottom: 3px;
	font-family: roboto-slab, sans-serif;
	font-size: 20px;
	font-weight: normal;
	font-style: normal;
	color: #457a9e;
}

a.news-document-link {
	text-decoration: none;
	border-right: .85px solid #003263;
	padding-left: 0.2em;
	padding-right: 0.5em;
	line-height: 1.7em;
}

/*a.news-document-link:after {
  content: '';
  height: 100%;
  width: 1px;

  position: absolute;
  right: 0;
  top: 0;

  background-color: #000000;
}*/

a.news-document-link:last-child {
	border-right: none;
	padding-right: 0;
}

a.news-document-link:hover {
	text-decoration: underline;
}

a.news-document-link:focus {
	text-decoration: underline;
}

div#copyright {
	width: 100%;
	white-space: pre;
	padding-top: 7.5%;
	padding-bottom: 5px;

	text-align: center;

	font-family: open-sans, sans-serif;
	font-size: 16px;
	color: #FFF;

}

.commitmentText {
	line-height: 2;
	white-space: normal;
}

.copyright-mobile {
	display: none;
	opacity: 0;
	filter: drop-shadow(0px 0px 5px #000);
}

.copyright-desktop {
	display: block;
	opacity: 100;
	filter: drop-shadow(0px 0px 5px #000);
}

@media only screen and ( max-width: 1250px)
{
	div#content-wrapper {
		width: 78vw;
	}

	main#login-wrapper {
		width: 31vw;
	}

	section#news-wrapper {
		width: 43vw;
	}

}

@media only screen and ( max-width: 1024px )
{
	body {
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
	}

	div#content-wrapper {
		width: 100%;
		height: 100%;
		-webkit-box-orient: vertical;

		-webkit-box-direction: normal;

		    -ms-flex-direction: row;

		        flex-direction: row;

		align-items: center;
		justify-content: center;
		padding-top: 1%;
	}


	main#login-wrapper {
		width: 40%;
		height: 80%;
		margin: 15px auto;
		overflow-y: visible;
		max-height: none;
	}

	section#news-wrapper {
		width: 50%;
		height: 80%;
		margin: 15px auto;
		overflow-y: visible;
		max-height: none;
	}


	img#login-logo {
		padding-top: 47px;
	}

	h1#login-title {
		padding-top: 6%;
	}

	form#login-form {
		padding-top: 0;
	}


	div#news-documents-wrapper {
		padding-bottom: 19px;
	}

	div#copyright {
		padding-top: 2.5%;
		padding-bottom: 1%;
	}
}

@media only screen and ( max-width: 900px ) {
	div#content-wrapper {
		width: 100%;
		height: 100%;
		-webkit-box-orient: vertical;

		-webkit-box-direction: normal;

		display: grid;
		grid-template-columns: auto;
		grid-template-rows: 75% auto;

		padding-top: 1%;
		overflow-y: scroll;
	}


	main#login-wrapper {
		width: 80%;
		margin: 15px auto;
		overflow-y: visible;
		max-height: none;
		padding-left: 15px;
		padding-right: 15px;
		min-height: 0px;
	}

	section#news-wrapper {
		width: 80%;
		height: 80%;
		margin: 15px auto;
		overflow-y: visible;
		max-height: none;
	}

	.copyright-mobile {
		display: block !important;
		opacity: 100 !important;
	}

	.copyright-desktop {
		display: none !important;
		opacity: 0 !important;
	}
}

