/*
 * CSS for identity provider views. TrustedX 4.1.8.0.
 * Contains all the declarations from the base CSS to simplify version maintenance.
 */

/* CUSTOM FONTS */

/*@font-face {
  font-family: 'Roboto';
  font-weight: 300;
  font-style: light;
  src: url('../fonts/Roboto-Light.css');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/Roboto-Regular.css');
}
@font-face {
  font-family: 'Roboto';
  font-weight: 500;
  font-style: medium;
  src: url('../fonts/Roboto-Medium.css');
}

/*
 * All views
 */
#loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 1;
  background: rgba( 255, 255, 255, .8 ) 
}

#loading-image {
position:absolute;
top:50%;
left:50%;
margin: -126px 0 0 -26px;
z-index:1000;
animation: spin 2s linear infinite;
}

u {
	color:#4F71B2;
}

a:link {
	color: #4F71B2;
	text-decoration: none;
}	

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

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: #303A3E;
  background-color: #E5E4DF;
  margin: 0;
}	
label {
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
}

a, a:visited {
  background-color: transparent;
  text-decoration: none;
  color: #303A3E;
}
a:active, a:hover {
  outline: 0;
  color: #009FCD;
  text-decoration: none;
}

.headerContainer {
	margin-top: 0em;
	margin-bottom: 0em;
	background-color:white;
}

.headerImageArea {
	display: none;
}

.headerImage {
	width: 125px;
   	height: 45px;
}

.headerTitleArea {
 	text-align: center;
 	font-size: xx-large;
}

.mainContainer {
	padding-bottom: 1em;
	flex: 1;
	padding-top: 2rem;
}

.logo {
	display: flex;
}

.logoContainer {
	padding-top: 8px;
}

@media (max-width: 767px){
	.headerTitleArea {
	display: none;
	}
	.mainContainer{
		/*margin-top:1rem;*/
	}
	.poweredByText{
		display:none
	}
}

.footersArea {
	text-align: center;
	
}

.poweredByArea {
	text-align: center;
}

/*
 * Authentication flow selector
 */

.flowSelectorForm {
	margin-bottom: 1em;
}

.flowSelectorFormTitleArea {
	margin-bottom: 2em;
}

.flowSelectorFlowList {
	margin-bottom: 1em;
}

.flowSelectorFlow {
	margin-bottom: 1em;
}

.flowSelectorFlowLink {
	text-align: left;
	/* white-space: normal; */
	display: flex;
	flex-flow: row-reverse;
}

.flowSelectorFlowTitleText {
	font-weight: 700;
	color: black;
	display: table-cell;
	vertical-align: middle;
	height: 48px;
}

.flowSelectorFlowDetailsText {
	color: black;
}

.flowSelectorFlowImageArea {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 133px;
}

.flowSelectorFlowImage {
	width: 133px;
	height: 38px;
}

.flowSelectorHelpArea {
	text-align: center;
	margin-bottom: 1em;
}

.flowSelectorHelpText {
}
	
/*
 * Authentication views
 */

.devicePersonalizedImageArea {
	margin-bottom: 2em;
}

.devicePersonalizedImage {
	height: 5em;
}

.authenticationContainer, .errorContainer {
	border: 0px solid #d8d8d8;
	padding: 30px;
	text-align: center;
	/* border-radius: 2px; */
	background-color: #FFFFFF;
	/* box-shadow: 0 0 2px 0 rgba(0,0,0,0.2), 0 4px 8px 0 rgba(0,0,0,0.1); */
}

.authenticationTopArea {
	margin-bottom: 1em;
}

.authenticationTopText {
}

.authenticationPromptArea {
	margin-bottom: -10px;
	padding-left: 0px;
	/* padding-top: 60px; */
	color: #303A3E;
	/* background-image: url('../images/eParakstsLogo.svg'); */
	background-repeat: no-repeat;
	background-position: left top;
	background-size: auto 45px;
}

/*:lang(en) .authenticationPromptArea {
	padding-left: 0px;
	 padding-top: 60px; 
	color: #303A3E;
	/* background-image: url('../images/eParakstsLogo_EN.svg'); 
	background-repeat: no-repeat;
	background-position: left top;
	background-size: auto 45px;
	}
*/
.authenticationBottomText {
}

.disabledJavascriptWarningText {
	display: table;
	border: 1px solid #fd8080;
	padding: .5em;
	margin: 1em auto;
	text-align: center;
}

.form-control:focus {
	border-color: #ccc;
	outline: 0;
	box-shadow: none;
}

.authenticationForm {
	margin-bottom: 1em;
}

.authenticationFormTitleArea {
	margin-bottom: 0em;
	text-align: center;
	padding-left: 0px;
	padding-bottom: 20px;
	color: #303A3E;
	background-repeat: no-repeat;
	background-size: auto 45px;
}

.authenticationRegisterDeviceOption {
	padding-bottom: 1em;
	text-align: center;
}

@media (max-width: 767px) {
	.authenticationUsernameField > label {
		display: none;
	}

	.authenticationPasswordField > label {
		display: inline-block;
	}
	
	.headerContainer {
		margin: 0px;
	}

	.authenticationPasswordField {
		display: block !important;
		grid-template-columns: none;
		left: 0 !important;
	}

	.userConsentGrantButton {
		margin-bottom: 5px;
	}

	.authenticationFormTitleArea {
	text-align: left;
	}
}

@media (min-width: 768px) {
	.transparentPlaceholder::-webkit-input-placeholder { 
		color:transparent; 
	}
		
	.transparentPlaceholder:-moz-placeholder { /* Firefox 18- */ 
		color:transparent; 
	}
	
	.transparentPlaceholder::-moz-placeholder {  /* Firefox 19+ */
		color:transparent; 
	}
	
	.transparentPlaceholder:-ms-input-placeholder {  
		color:transparent; 
	}
}

.checkbox input[type=checkbox] {
	position: relative;
	margin-right: .5em;
	vertical-align: top;
}

.authenticationHelpArea {
	text-align: center;
	margin-bottom: 1em;
}

.authenticationHelpText {
}

.authenticationForm .authenticationMessages {
	line-height: 2em;
	text-align: left;
	border: 1px;
	padding: 0;
	margin-top: -5px;
}

.authenticationForm .authenticationErrorMessages {
	display: block;
	border: 0px solid #fd8080;
	/* padding: 7px 9px 5px 9px; */
	font-size: 12px;
	font-weight: 500;
	/* background-color: rgba(239, 81, 34, 0.04); */
	/* border-color: rgba(239, 81, 34, 0.3); */
	color: #DA1E28;
	position: relative;
	display: flex;
	left: 26%
}

.authenticationForm .authenticationWarnMessages {
	display: block;
	border: 1px solid #ff8000;
}

.authenticationForm .authenticationInfoMessages {
	display: block;
	border: 1px solid #00dd00;
}

.authenticationFormButtons {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	flex-direction: row-reverse;
}

/*
 * OAuth user consent views
 */

.userConsentPromptArea {
	margin-bottom: 0em;
	line-height: 150%;
}

.userConsentScopeList {
	margin-bottom: 1em;
	padding-left: 0px;
}

.userConsentScope {
	margin-bottom: 0;
}

.userConsentScopeTitleText {
	font-weight: bold;
}

.userConsentScopeAttributeNameArea{
	width: 110px
}

.userConsentScopeAttributesTable {
	font-size: inherit;
	line-height: 100%;
	margin-top: 0;
}

.userConsentScopeAttributesTable td {
	vertical-align: text-top;
   	padding-top: 0.5em;
   	padding-right: 2em;
}

.userConsentScopeAttributeNameText {
}

.userConsentScopeImageArea {
	text-align:center;
}  

.userConsentScopeImage {
	height: 4em;
} 

.userConsentDetailsContainer {
	display: none;
	margin-bottom: 0em;
}

.userConsentDetailsHeaderArea {
	margin-bottom: 1em;
}

.userConsentDetailsHeaderPromptText {
}

.userConsentDetailsHeaderExpandText {
}

.userConsentDetailsHeaderExpandArrow {
	width: 20px;
	height: 20px;
	fill: #797979;
}

.userConsentDetailsArea {
	color: #000;
	background-color: #f9f9f9;
	padding: 4% 8% 4% 4%;
	margin: 3% 0% 5% 0%;
	border: 1px solid #ddd;
	border-radius: .25rem;
}

.userConsentDetailsItemArea {
}

.userConsentDetailsItemLabelTextArea {
}

.userConsentDetailsItemLabelText {
	font-weight: bold;
}

.userConsentDetailsItemValueTextArea {
	word-wrap: break-word;
}

.userConsentDetailsItemValueText {
	word-wrap: break-word;
}

.userConsentDetailsSeparator {
}

.userConsentFormArea {
    padding: 0px;
}

.userConsentTitleArea {
	margin-bottom: 1em;
}

.userConsentTopArea {
	margin-bottom: 1em;
}

.userConsentTopText {
}

.userConsentBottomArea {
	margin-bottom: 1em;
	margin-top: 1em;
}

.userConsentHelpArea {
	text-align: center;
	margin-bottom: 1em;
	margin-left: 0px;
	line-height: 150%;
}

.userConsentHelpText {
}

.userConsentContainer {
	border: 0px solid #d8d8d8;
	padding: 24px;
	text-align: left;
	background-color: #FFFFFF;
}

.userConsentButtons {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	flex-direction: row-reverse;
	margin-top: 20px;
	margin-bottom: 20px;
}

.userConsentBottomText {
	margin-top: 1em;
}
	
/*
 * IdP welcome view
 */

.headerOptions {
	min-height: 0px;
}

.welcomeContainer {
	text-align: center;
}

.welcomeLogoutForm {
	text-align: center;
}

.welcomeSubjectDisplayNameArea {
	text-align: right;
}

.welcomeLogoutForm {
	text-align: left;
	border-left: 1px solid #d8d8d8;
}

.welcomeLogoutButton {
	background: none;
	border: none;
	padding: 0;
	color: #9C0000;
	cursor: pointer;
}

.welcomeLogoutButton:hover {
	text-decoration:underline;
}

/*
 * IdP post-logout view
 */

.loggedOutContainer {
	text-align: center;
}

.loggedOutActions {
	margin: 1em 0;	
}

/*
 * Error view
 */

.errorContainer {
	padding: 25px 50px 25px 50px;	
}

.errorActions {
	margin-top: 30px;
	border-top: 1px solid #DEDEE4;
	padding-top: 25px;
	padding-bottom: 25px;
}

.errorContinueButton {
	color: black !important;
	min-width: 140px;
}

/*
 * Disabled cookies information view
 */

.disabledCookiesInfoContainer {
	text-align: center;
}

/* ADDITIONAL CUSTOMIZATION */

.btn {
	transition: all 0.2s;
	border-radius: 0px;
	border: 0;
	padding: 9px 12px 8px 12px;
	/* font-size: 15px; */
}
.btn:hover {
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
	background-color: #FFFFFF;
}
.btn-default {
	padding-top: 8px;
	padding-bottom: 7px;
	border: 1px solid #DEDEE4;
}
.btn-default:hover {
	border-color: #DEDEE4;	
}

.authenticationPromptText {
	font-size: 20px;
	font-weight: 500;
	display: none;
}

.form-group {
    margin-bottom: 5px;
}

.form-horizontal .control-label {
	margin-bottom: 5px;
}

.form-control {
	border-radius: 0px;
	box-shadow: none;
	border: 1px solid #DEDEE4;
	height: 38px;
	/*font-size: 14px;*/
	padding: 6px 9px;
	color: #303A3E;
	background-color: #E5E4DF;
}

.authenticationPromptAreaMID {
	padding-left: 0px;
	padding-top: 45px;
	color: #303A3E;
	background-image: url('../images/auth_mobileid.svg');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 45px;
}

.authenticationPromptAreaEIDScan {
	margin-bottom: 20px, 15px;
	padding-left: 0px;
	padding-top: 45px;
	color: #303A3E;
	background-image: url('../images/auth_eidscan.svg');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 45px;
}
	
/*:lang(en) .authenticationPromptAreaMID {
	padding-left: 0px;
	padding-top: 45px;
	color: #303A3E;
	background-image: url('../images/auth_mobileid.svg');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 45px;
	}

:lang(en) .authenticationPromptAreaEIDScan {
	margin-bottom: 20px, 15px;
	padding-left: 0px;
	padding-top: 45px;
	color: #303A3E;
	background-image: url('../images/auth_eidscan.svg');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 45px;
	}	
*/	
.authenticationFormTitleText {
	font-size: 18px;
	font-weight;: 500;
	font-weight;: 500;
	font-weight;: 50;
	font-weight;: 5;
	font-weight: 500;
}

.authenticationFormFields {
    display: inline-grid;
    width: 100%;
}

.authenticationPasswordField {
    position: relative;
    display: flex;
    flex-direction: column;
    left: 26%
}
	
.authenticationPasswordText {
	text-align: left !important;
	grid-column-start: 2;
	min-width: 200px;
}

.authenticationPasswordInputArea {
	grid-column-start: 2;
}

.userConsentGrantButton, .mobileIdIdentificationSubmitButton {
	background-color: #DC4D0B!important;
	color: #FFFFFF;
}

.userConsentDenyButton, .flowSelectorCancelButton, .mobileIdIdentificationCancelButton, .mobileIdWaitForAuthnCancelButton, .mobileIdWaitForAuthnCancelButton   {
	background-color: #FFFFFF!important;
	border-color: black!important;
}

.userConsentGrantButton:hover, .userConsentGrantButton:active, .userConsentGrantButton:focus {
	color: #FFFFFF;
}

.userConsentScopeTitleArea {
	display: none;
}

@media (max-width: 767px) {
	.flowSelectorFlowLink {
		/* flex-direction: column-reverse; */
	}
	.flowSelectorFlowImageArea {
		/* width: 100%; */
	}

	.authenticationContainer {
	text-align: center;
	}

	.authenticationErrorMessages{
	display: contents!important;
	}
	
	.authenticationPromptAreaMID, .authenticationPromptAreaEIDScan {
		padding-top: 70px;
	}
}

@media (max-width: 320px) {
	.authenticationPromptAreaMID {
		margin-bottom: 20px, 150px;
		padding-left: 0px;
		/*padding-top: 70px;*/
		padding-bottom: 20px;
		color: #303A3E;
		background-image:  url('../images/auth_mobileid.svg');
		background-repeat: no-repeat;
		/*background-position: center;
		background-position-y: 40px;
		background-size: auto 45px;*/
	}
}

	
/*@media (max-width: 320px) {
	:lang(en) .authenticationPromptAreaMID {
		margin-bottom: 20px, 150px;
		padding-left: 0px;
		/*padding-top: 70px;
		padding-bottom: 20px;
		color: #303A3E;
		background-image: url('../images/auth_mobileid.svg');
		background-repeat: no-repeat;
		/*background-position: center;
		background-position-y: 40px;
		background-size: auto 45px;
	}
}*/

.eye-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.eye-icon svg {
    width: 24px;
    height: 24px;
    fill: #666;
    transition: fill 0.3s ease;
}

.eye-icon:hover svg {
    fill: #333;
}

.eye-icon .closed-eye {
    display: inline-block;
}

.eye-icon.show .closed-eye {
    display: none;
}

.eye-icon.show .open-eye {
    display: inline-block;
}

.authenticationPasswordInputText {
	background-color: #E5E4DF;
}

.authenticationPasswordInputText[disabled] {
	background-color: #E5E4DF;
}

.authenticationBottomArea, .userConsentBottomArea {padding-left:0px;display: block;/* text-align: center; */}
.userConsentBottomArea{
	margin-top: 1em;
}

.confirmationField{
	font-size: 12px;
	text-transform: none;
}

.form-control:focus {
	border-color: #DC4D0B;
	box-shadow: none;
	caret-color: black;
	background-color:#FFFFFF
}
.topLabel{
	font-weight:600;
	margin-bottom: 20px;
}

.mobileIdIdentificationHelpArea {
	margin-top:10px;
}

.needHelpArea{
	text-align:center;
	display:block;
	margin-bottom: 1rem;
}

.logo {
	display: flex;
}

.logoContainer {
	padding-top: 8px;
	max-width: 1140px;
	/* margin: 0 auto; */
	margin-top: 8px;
	padding: 0 10px;
}

.custom-footer {
  background-color:#F4F3F1;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #212529;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 45%;
  min-width: 260px;
  margin-bottom: 10px;
}

.footer-col.left {
  text-align: left;
}

.footer-col.right {
  text-align: right;
}

.footer-col.bottom-text {
  text-align: right;
  font-size: 12px;
  color: #6c757d;
  align-self: flex-end;
}

.section-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.policy {
  color: #0d6efd;
  text-decoration: none;
}

.policy:hover {
  text-decoration: underline;
}

.spacer {
  display: inline-block;
  width: 20px;
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
  }

  .footer-col.right,
  .footer-col.bottom-text {
    text-align: left;
  }

  .spacer {
    display: block;
    height: 8px;
    width: auto;
  }
}

.pageContainer{
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100vh;
}

.customNavigationBar{
	margin-bottom:0px;
}

.mobileIdWaitForAuthnMessage2Area{
	padding-top:1rem
}

.footerContainer {
	background-color:#F4F3F1;
	border-top: 1px solid #D4D2CD;
}
.userConsentHelp{
	text-align: left;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .footer {
    display: none !important;
  }
}
