@font-face {
    font-family: "Gilroy-Light";
    src: url("fonts/Gilroy-Light.ttf") format("truetype");
}
@font-face {
    font-family: "Gilroy-Black";
    src: url("fonts/Gilroy-Black.ttf") format("truetype");
}

html, body, div, span
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, img, small, strike, strong, b, u, i, center,
ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

html {
	font-size: 16px;
}
body {
	line-height: 1;
	background-position: 0px 0px;
	background-repeat: no-repeat;
    /* background-color: rgb(75, 140, 177); */
	background-color: rgb(93, 121, 136);
    
	color: #333333;
	font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Gilroy-Light', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: normal;
	font-size: 16px;
	padding: 0;
	margin: 0;
}

input, select, textarea, option {
    border: 0;
    padding: 0.5rem;
    margin: 0;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: normal;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
input:read-only, div.disabled {
    background-color: rgba(51, 51, 51, 0.123) !important;
}
button {
    position: relative;
    display: inline-block;
    width: 90%;
    border:1px solid #888;
    background-color: #ccc;
	margin: 0 auto;
    border-radius: 2px;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: normal;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* -webkit-appearance: none; */
    overflow: hidden;
}
button.primary {
    background-color: rgb(75, 140, 177);
}
button::after {
    display: none;
    content: "";
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    
    /* Center the ripple */
    top: 50%;
    left: 50%;
  
    animation: ripple 1s;
    opacity: 0;
}
button:focus:not(:active)::after {
    display: block;
}
  
label.ss-input {
    position: relative;
    display: inline-block;
    margin:0;
    padding:0;
    box-sizing: content-box;
    width: 100%;
    overflow: hidden;
}
label.ss-input div.showpass {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 100%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z'/%3E%3C/svg%3E");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1.5rem;
    -webkit-appearance: none;
}
label.ss-input div.hide {
    /* border:1px solid blue; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1.5rem;
}
label.ss-input input, label.ss-input div {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.5rem;
    background-color: #fff;
    padding: 0rem;
    padding-top:1rem;
    padding-left: 0.5rem;
    margin: 0;
    border-radius: 2px;
    border:1px solid #aaa;
}
label.ss-input input::placeholder {
    color:transparent;
}

label.ss-input input:placeholder-shown ~span {
    position: absolute;
    display: inline;
    color: #666;
    line-height: 2.1rem;
    transition: font-size 0.5s, line-height 0.5s;
    font-size: 1rem;
    text-shadow: none;
    pointer-events: none;
}
label.ss-input span, label.ss-input input:focus ~span {
    position: absolute;
    display: inline;
    left: 0.5rem;
    top: 0.25rem;
    color: #333;
    line-height: 0.6rem;
    font-size: 0.75rem;
    transition: font-size 0.1s, line-height 0.1s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
label.mt-8 {
    margin-top: 0rem;
}
label.mb-8 {
    margin-bottom: 0.8rem;
}
label > input.pr-24 {
    padding-right: 2.4rem;
}

/*================================================== 
   UNIQUE IDs 
==================================================*/
#main {
    background-repeat: repeat-y; 
    background-color: transparent;
	text-align: center;
}

#content {
	display: flex;
	align-items: center;
	justify-content: center;
	position: static;
    text-align: center;
    margin: auto;
    margin-top: 4em;
    width: 95%;
    max-width: 120em;
    font-size: 0.8rem;
    /* transition: all 1s; */
}
#motd {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem;
    text-transform: capitalize;
    text-align: justify;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/*================================================== 
   CLASSES
==================================================*/
.smartcard_subject {
    font-size: 100%;
    color: rgb(75, 140, 177);
    border:1px dashed rgb(75, 140, 177);
    border-radius: 2px;
    padding: 0.5rem;
}
.smartcard_subject span {
    color: #000;
    font-weight: bold;
}
.icon {
    min-height: 1rem;
    flex: 0 0 3em;
    background-position: 0.5em center;
    background-repeat: no-repeat;
    background-size: 1.8rem;
}
.ico_totp {background-image: var(--ico-sys-svg-otp)}
.ico_yubi {background-image: var(--ico-sys-svg-yubikey2)}
.ico_smartcard {background-image: var(--ico-sys-svg-smartcard)}

.hr-sect {
	display: flex;
	flex-basis: 100%;
	align-items: center;
	color: #333333;
	padding: 15px 0;
	font-size: 13px;
	clear: both;
}
.hr-sect::before, .hr-sect::after {
	content: "";
	flex-grow: 1;
	background: #333333;
	height: 1px;
	font-size: 0;
	line-height: 0;
	margin: 0 20px;
}

.box {
	box-sizing: border-box;
	max-width: 20rem;
	padding: 0.5rem;
	border-radius: 2px;
    /* background-color: rgba(255, 255, 255, 0.63); */
    background-color: #bdd5e3;
	overflow: hidden;
}

.text {
    width: 100%;
      box-sizing: border-box;
      /* font-size: 1rem; */
}
.hide {
    display: none;
}

.logotype {
    display: block;
    clear: both;
    position: relative;
    width: 100%;
    height: 4rem;
    background-image: url('/img/logotype-storedsafe.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14rem;
}
.logotype.customer {
    /* background-color: #fff; */
    background-image: url('/img/customerlogo.php');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.logotype .version {
    position: relative;
    top: 75%;
}

.mt-8 {
    margin-top: 0.8rem;
}
.mb-8 {
    margin-bottom: 0.8rem;
}
.error {
    font-size: 1rem;
    padding: 0.2rem;
    background-color: firebrick;
    color: #fff;
}
@keyframes ripple {
    from {
      opacity: 1;
      transform: scale(0);
    }
    to {
      opacity: 0;
      transform: scale(10);
    }
  }
/*================================================== 
   MEDIA QUERYS
==================================================*/
@media screen and (max-width: 1035px) {
    #content {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 450px) {

    body {
        background-color: #bdd5e3;
    }
    #content {
        margin-top: 0;
        margin-bottom: 0;
		width: 100%;
    }

	div.box {
		max-width: 100%;
		width: 100%;
	}

}
