html {
	box-sizing: border-box;
	font-family: "AvenirLT", Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body {
	display: flex;
	height: 99.999vh;
	margin: 0px;
	overflow: auto;
}

.container {
	background-image: url('/ITS/public/share/mobile.png');
	background-repeat: no-repeat;
	background-position: top right;
	background-size: contain;
	width: 100%;
}

.row-sm-1 {
	padding: 20px;
}

a {
	color: inherit;
}

.cell {
	border: 0 solid transparent;
	border-width: 0 20px 20px 0;
}

.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom-select::-ms-expand {
	display: none;
}

.btn:hover:not(:disabled) {
    color: #d1d3d4;
    text-decoration: none;
}

.btn {
    display: inline-block;
    color: #fff;
	width: 90%;
	margin: 20px auto;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #201747;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button;
}

button, select {
    text-transform: none;
}

button, input {
    overflow: visible;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    border-radius: 0;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin-top: 10px;
	padding: .375rem .75rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.hidden {
	display: none !important;
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
	margin: 0 0 20px 0;
}

.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group>.custom-file, .input-group>.custom-select, .input-group>.form-control, .input-group>.form-control-plaintext {
    position: relative;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-width: 0;
    margin-bottom: 0;
}

.input-group>.custom-select:not(:first-child), .input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group>.custom-file+.custom-file, .input-group>.custom-file+.custom-select, .input-group>.custom-file+.form-control, .input-group>.custom-select+.custom-file, .input-group>.custom-select+.custom-select, .input-group>.custom-select+.form-control, .input-group>.form-control+.custom-file, .input-group>.form-control+.custom-select, .input-group>.form-control+.form-control, .input-group>.form-control-plaintext+.custom-file, .input-group>.form-control-plaintext+.custom-select, .input-group>.form-control-plaintext+.form-control {
    margin-left: -1px;
}

.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle), .input-group>.input-group-append:last-child>.input-group-text:not(:last-child), .input-group>.input-group-append:not(:last-child)>.btn, .input-group>.input-group-append:not(:last-child)>.input-group-text, .input-group>.input-group-prepend>.btn, .input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.logo {
  background-image: url('/ITS/public/share/logo-c.png');
  background-repeat: no-repeat;
  background-position: center;
  height: 150px;
}

.right-align {
	margin: -20px 0 -20px auto;
	text-align: right;
	font-size: 0.8rem
}

.page-title {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}

.footer-text {
	text-align: center;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  max-height: 99.999%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  display: flex;
  flex-wrap: wrap;
  background-color: #fefefe;
  margin: auto;
  padding: 0 20px 20px;
  border: 1px solid #696158;
  width: 80%;
  min-width: 250px;
}

.modal-content>div, .modal-content>p {
	min-width: 250px;
	margin: auto;
}

.card {
	background-clip: padding-box;
	background-color: whitesmoke;
    padding-bottom: 20px;
}

.card .cell, .card h3 {
	text-align: center;
    padding-top: 10px;
}

.bg-ico-pki {
    background-image: url('/ITS/public/share/4_Tokens_VPN.png');
    background-repeat: no-repeat;
    background-position: center;
	background-size: contain;
    height: 200px;
}

.bg-ico-otp {
    background-image: url('/ITS/public/share/otptoken.png');
    background-repeat: no-repeat;
    background-position: center;
	background-size: contain;
    height: 200px;
}

.bg-ico-ga {
    background-image: url('/ITS/public/share/googleAuthenticator.png');
    background-repeat: no-repeat;
    background-position: center;
	background-size: contain;
    height: 200px;
}

.bg-ico-aid {
    background-image: url('/ITS/public/share/axiadid.png');
    background-repeat: no-repeat;
    background-position: center;
	background-size: contain;
    height: 200px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  width:98%;
  text-align: right;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


@media screen and (min-width: 500px) {
	html {
		font-size: 1rem;
	}

	.page-title {
		font-size: 2rem;
		font-weight: 300;
		line-height: 1.2;
	}

	.logo {
		background-image: url('/ITS/public/share/logo.png');
		background-position: 100% 20%;
		height: auto;
	}

	.container {
		background-image: url('/ITS/public/share/vert-top.png');
		background-repeat: no-repeat;
		background-size: contain;
		height: 518px;
		min-width: 519px;
		max-width: 519hpx;
		position: inherit;
		width: auto;
	}

	.container:before {
		background-image: url('/ITS/public/share/vert-top.png');
		background-repeat: no-repeat;
		background-size: contain;
		-webkit-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		-o-transform: rotate(180deg);
		transform: rotate(180deg);
		content: "";
		z-index: -1;
		height: 520px;
		width: 540px;
		position: absolute;
	}

	.row-md-1 {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		height: 100%;
		padding: 0px;
		overflow: hidden;
	}

	.col-md-2 {
		width: calc(100% / 2);
		padding: 10px 0 0 10px;
		margin: 0 -10px -10px 0;
	}

	.footer-text {
		color: white;
		display: inline;
	}

	.sm-ico-pki {
    background-image: url('/ITS/public/share/4_Tokens_VPN.png');
    background-repeat: no-repeat;
    background-position: center;
	background-size: contain;
    height: 70px;
}

}

@media screen and (min-width: 700px) {
	.container {
		height: 541px;
		min-width: 705px;
		max-width: 705px;
	}

	.container:before {
		height: 541px;
		width: 705px;
	}

	.row-md-3 {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		height: calc(100% / 3);
		overflow: hidden;
	}

	.col-md-1 {
		width: 100%;
		padding: 20px 0 0 20px;
		margin: 0 -20px -20px 0;
	}

	.col-md-2 {
		padding: 20px 0 0 20px;
		margin: 0 -20px -20px 0;
	}

	.col-md-3 {
		width: calc(100% / 3);
		padding: 20px 0 0 20px;
		margin: 0 -20px -20px 0;
	}

	.col-md-4 {
		width: calc(100% / 4);
		min-width: 250px;
		padding: 20px 0 0 20px;
		margin: 0 -20px -20px 0;
	}

	.col-md-5 {
		width: calc(100% / 5);
		padding: 20px 0 0 20px;
		margin: 0 -20px -20px 0;
	}
}

@media screen and (max-width: 724px) {
	.container {
		position: absolute;
		overflow: hidden;
		top: 0;
		left: 0;
	}
}

@media screen and (min-width: 725px) {
	.container {
		margin: auto;
		box-shadow: 8px 8px 20px 5px rgba(0, 0, 0, 0.2);
	}
}

@media screen and (min-height: 600px) and (min-width: 700px) {
	.container {
		height: 600px;
		min-width: 705px;
		max-width: 705px;
	}

	.container:before {
		height: 600px;
		width: 705px;
	}
}

.passwd-toggle {
	text-align: right;
	margin: -5px -9px -20px auto;
}

#show-passwd {
	background:transparent;
	border:transparent;
	cursor: pointer;
	position: relative;
	top: -1.97rem;
}

#show-passwd img{
	width: 60%;
	height: auto;
}

::-ms-reveal {
    display: none;
}