/* NORMALIZE */
@import url("../css/normalize.css");

/* WEB FONT */
@import url("../css/font.css");

/* MAIN TAG */
html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
}

body {
    font-family: "museo-sans", Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3em;
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
    color: #252525;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
    font-weight: 300;
}

p {
    padding: 15px 0px;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: #16A7CD;
    font-weight: 300;
    outline: 0;
    transition: color 0.2s linear;
}

a:hover,
a:active,
a:focus {
    color: #1286a4;
    outline: 0;
}

img {
    border: 0;
}

section {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}

figure,
article {
    position: relative;
}

menu {
    padding: 0px;
}

small {
    font-size: 0.750em;
    line-height: 1.5em;
}


/* MAIN CLASSES*/
.rounded {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}


/* STRUCT */
.col {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
}

.col50 {
    width: 50%;
}

.row {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.cover-wrapper {
    float: left;
    width: 100%;
    min-height: 100%;
    height: 100%;
    overflow-y: auto;
    /* background-color: #f2f2f2; */
    /* background-color: #49bad7; */
}

.cover-image::after {
    content: "";
    background: rgba(61, 60, 59, 0.65) none repeat scroll 0 0;
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
    height: 100%;
}

.main-wrapper {
    float: left;
    width: 100%;
    min-height: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.cover-image {
    background: #3d3c3b url('../img/cover-bg.jpg') no-repeat center center;
    background-size: cover;
}

.wrapper-logo {
    margin: 60px auto 30px auto;
    display: table;
}

.wrapper-logo--internal {
    margin: 20px auto 30px auto;
    display: table;
}

.wrapper-form h1,
.wrapper-form p {
    float: left;
    text-align: center;
    margin: 0 0 30px 0;
    padding: 0;
    width: 100%;
}

.wrapper-form h1 {
    /* font-weight: 300;
    font-size: 2.2em; */
    font-weight: 600;
    font-size: 36px;
    line-height: 1.1em;
    letter-spacing: -0.02em;
}

.wrapper-form p {
    line-height: 1.4em;
    letter-spacing: 0.03em;
}

.box {
    background-color: #ffffff;
    margin: 60px auto 0 auto;
    padding: 0;
    display: table;
    width: 490px;
}

.box-footer {
    float: left;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid #efefef;
    text-align: center;
    font-size: 0.9em;
    letter-spacing: 0.02em;
    color: #464646;
}

.clearfix {
    clear: both;
}

.text-center {
    text-align: center;
}

.text-bold{
    font-weight: 600;
}

.m-bottom-zero {
    margin-bottom: 0 !important;
}

.m-right-10 {
    margin-right: 10px;
}

.m-bottom-medium {
    margin-bottom: 30px;
}

.p-left-thin {
    padding-left: 15px;
}

.p-right-thin {
    padding-right: 15px;
}

.m-bottom-thin {
    margin-bottom: 15px;
}

.m-top-thin {
    margin-top: 15px;
}

.wrapper-form p.m-bottom-thin {
    margin-bottom: 15px;
}

.wrapper-form p.m-top-thin {
    margin-top: 15px;
}

.wrapper-form p.text-center {
    text-align: center;
}

.ws-nowrap {
    white-space: nowrap;
}

.ta-center {
    text-align: center;
}

/* Divider */

.space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tsid-section {
    display:flex;
    flex-direction: column;
    margin-top:20px;
    margin-bottom:0px;
    gap: 20px;
}

.mup-divider {
    height: 20px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0) calc(50% - 1px), 
        rgba(230,233,236,1) calc(50%), 
        rgba(0,0,0,0) calc(50% + 1px)
    );
}

.mup-divider span {
    background-color: white;
    color: #aaa;
    padding: 0 20px;

    font-weight: 400;
    font-size: 13px;
}

/* Immagini Google Authenticator */
.applestore-it {
    display:inline-block;
    overflow:hidden;
    background:url("../img/appstore_it.svg") no-repeat;
    width:135px;
    height:40px;
    background-size:contain;
}
.applestore-en {
    display:inline-block;
    overflow:hidden;
    background:url("../img/appstore_en.svg") no-repeat;
    width:135px;
    height:40px;
    background-size:contain;
}
.applestore-es {
    display:inline-block;
    overflow:hidden;
    background:url("../img/appstore_es.svg") no-repeat;
    width:135px;
    height:40px;
    background-size:contain;
}


/* TIMELINE per autenticazione a 2 fattori */
.timeline-wrapper {
    box-sizing: border-box;
    padding-left: 56px;
    padding-right: 56px;
}

.timeline-wrapper h1 {
    box-sizing: inherit;
}

.timeline-wrapper p {
    text-align: left;
    line-height: normal;
    font-size: 15px;
    font-stretch: normal;
    letter-spacing: 0.7px;
}

.timeline-item {
    position: relative;
    clear: both;
}

.timeline-item::after {
    clear: both;
    content: '';
    height: 1px;
    width: 1px;
    display: block;
}

.timeline-item::before {
    position: absolute;
    top: 0;
    left: -56px;
    width: 1px;
    height: 100%;
    display: block;
    content: '';
    background-color: #f6f6f6;
    border-left: 4px solid #ececec;
    margin-left: 17px;
    box-shadow: #f6f6f6 -1px 0;
}

.timeline-item.last-item::before {
    display: none;
}

.timeline-indicator {
    position: absolute;
    top: -10px;
    left: -56px;
    width: 38px;
    height: 38px;
    background-color: #16A7CD;
    -webkit-border-radius: 19px;
    -moz-border-radius: 19px;
    border-radius: 19px;
    text-align: center;
    line-height: 38px;
    color: #fff;
    font-size: 20px;
    letter-spacing: 0.9px;
}

.timeline-p-left {
    padding-left: 56px;
}

.timeline-p-right {
    padding-right: 56px;
}

.app-icon img {
    height: 40px;
    width: auto;
}

.logo-wl {
    max-width: 100%;
}


/************************ FORM */
.wrapper-form {
    float: left;
    margin: 0;
    /* padding: 30px 40px; */
    padding: 50px 40px;
    box-sizing: border-box;
}

.form-element {
    float: left;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
}

.wrapper-form label {
    float: left;
    width: 100%;
    margin: 0 0 5px 0;
    padding: 0;
    letter-spacing: 0.04em;
    font-size: 17px;
    font-weight: 700;
}

/* Bottone per mostrare la password scritta */
.wrapper-form label span {
    float: right;
    margin: 0;
    padding: 0;
    color: #16A7CD;
    cursor: pointer;
}

.form-element input[type=text],
.form-element input[type=email],
.form-element input[type=password] {
    background-color: #efefef;
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 45px;
    text-indent: 15px;
    letter-spacing: 0.04em;
}

.margin-title-whitelabel {
    margin-top: 2%;
}

.wrapper-form .btn {
    margin-bottom: 10px;
    margin: auto;
    display: table;
}

.btn {
    background-color: #16A7CD;
    transition: background-color 0.1s linear;
    padding: 20px 40px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #1286a4;
    color: #ffffff;
}

.reminder-menu {
    margin: 20px auto 0 auto;
    display: table;
    list-style: none;
    padding: 0;
}

.reminder-menu li {
    float: left;
    width: auto;
    font-size: 0.9em;
    letter-spacing: 0.03em;
    padding: 0 3px;
    color: #999999;
}

.reminder {
    font-size: 14px;
}

.reminder-menu .fa{
    color: #16A7CD;
}

.input-group {
    display: flex;
    align-items: center;
    position: relative;
}

.input-group .form-control.has-btn-right {
    padding-right: 46px;
}

.input-group .input-group-right {
    position: absolute;
    right: 9px;
    height: 41px;
    display: flex;
    align-items: center;
    outline-width: 0;
    border: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.input-group button.input-group-right {
    color: #16a7cd;
    cursor: pointer;
}


/* FOOTER */
footer {
    display: inline-table;
    width: 100%;
    padding: 20px 0px;
    font-size: 1em;
    color: #ffffff;
    float: left;
}

footer a {
    color: #7b7b7b;
}

footer a:hover {
    color: #16A7CD;
    text-decoration: underline;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer i {
    color: #ffffff;
}

.footer-cities {
    margin: 20px auto 5px auto;
    display: table;
}

.footer-cities li {
    float: left;
    margin: 0 0 0 0;
    padding: 0 10px;
    font-size: 0.813em;
}

.footer-cities li:last-child {
    margin: 0;
}

.footer-address {
    float: left;
    width: 100%;
    color: #ffffff;
    text-align: center;
    font-size: 0.688em;
    padding: 0;
    margin: 0;
}

.footer-address a {
    color: #ffffff;
}

.footer-address a:hover {
    color: #16A7CD;
    text-decoration: underline;
}

.cover-image footer a {
    color: #fff;
}

.cover-image footer .footer-address a {
    color: #ffffff;
}

/************************ FEEDBACK */

/* ERRORI */

/* testo validazione */
#email-error,
#uname-error{
    float: left;
    width: 100%;
    margin: 5px 0 0 0;
    padding: 0;
    color: #FF6458;
    font-weight: 700;
}

.field-validation-error {
    padding-top: 5px;
    float: left;
    width: 100%;
    margin: 5px 0 0 0;
    padding: 0;
    color: #FF6458;
    font-weight: 700;
}

.field-validation-error a
{
    color: #FF6458;
    font-weight: 700;
    text-decoration: underline;
}

.toast-container {
	position: fixed;  
	height: 0;
	top: 70px;
	bottom: 0;
	z-index: 10;
	min-width: 100px;
	max-width: 400px;
	margin: 0 auto;
	right: 15px;
}

.toast{
	box-shadow: -1px 1px 3px 0px rgba(37,37,37,0.4);
	margin: 0 0 15px; 
	animation: no-transform .8s cubic-bezier(0, 0.5, 0, 1) forwards;
	/*transform: translateX(4rem);*/
	padding-right: 40px  !important;
}

.toast a {
	font-weight: 500;
	text-decoration: underline;
	color: white !important;
}

.toast a:hover, .toas a:focus, .toas a:active {
	color: white !important;
}

.toast-container {
	
}


.toast-info {
	   
    width: 90%;
    margin-left: 5%;
    position: fixed;
    padding: 15px;
    padding-left: 50px;
    border-radius: 3px;
    background-color: #3DC6F5;
    color: white;
    font-weight: 600;
    text-align: left;
    opacity: 1;
    z-index: 99999;
    top: 15px;
    box-sizing: border-box;
}

.toast-info a{
    font-weight: 600; 
  }




.toast-info:before{
    font-family: 'FontAwesome';
    font-size: 18px;
    position: absolute;
    left: 20px;
    top: 15px;
    display: inline;
	content: "\f05a";
  }

.toast-close-button {
	border: none;
	display: inline;
	box-shadow: none;
	display: block;
	position: absolute;
	top: 15px;
	right: 10px;
	width: 21px;
	height: 21px;
	padding: 5px;
	border: none;
	background: url("../img/x-for-close.svg") center center no-repeat;
	text-indent: -999999em;
	opacity: 0.4;
	transition: opacity 0.2s linear;
	cursor: pointer;

}

.toast-close-button:hover, .toast-close-button.focus, .toast-close-button:active {
	outline: none;
	opacity: 0.8;
}



/* box errore */
#error {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    margin: 6px 0 20px 0;
    background-color: #FF6458;
    color: #ffffff;
    font-size: 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    letter-spacing: 0.03em;
    line-height: 1.2em;
}

#success {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    margin: 6px 0 20px 0;
    background-color: #4BC88C;
    color: #ffffff;
    font-size: 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    letter-spacing: 0.03em;
    line-height: 1.2em;
}

.wrapper-error {
    background-color: #FF6458;
}

#error a,
#success a {
    color: #ffffff;
    text-decoration: underline;
}

#error span,
#success span{
    display: inline-block;
    float: right;
    width: 93%;
}

/* Box INFO */
.wrapper-form #info-text {
    display: none;
    float: left;
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    background-color: #3DC6F5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: white;
    margin: 6px 0;
    font-size: 0.9em;
}

.wrapper-form #info-label i {
    cursor: pointer;
    font-size: 1.2em;
    color: #16A7CD;
    transition: color 0.2s linear;
}

.wrapper-form #info-label i:hover {
    color: #1286a4;
}

/* OTP field */
p.otp-label{
    float: none;
    text-align: left;
    margin-bottom: 0;
    font-weight: 600;
}
p.otp-trustdevice{
    text-align: left;
    font-weight: 600;
}
a.otp-resend,
a.otp-resend:hover,
a.otp-resend:active{
    color: #252525;
    text-decoration: underline;
    font-size: 15px;
    font-weight: 400;
}
.otp{
    position:relative;
    height: 60px;
}
.otp__mask{
    display: flex;
    gap: 10px;
}
.otp__mask__cube{
    /* width: 60px; */
    width: 16.6%;
    height: 60px;
    background-color: #efefef;
    border-radius: 6px;
    font-size: 26px;
    text-align: center;
    line-height: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
}
.otp__mask__cube.active {
    border-color: #1286a4;
}
input[type=text].otp__input{
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    height: 60px;
    font-size: 26px;
    letter-spacing: 55px;
    padding-left: 10px;
    color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input[type=text].otp__input:focus-visible{ 
    outline: 0;
}
.buttonLogin--otp {
    background-image: url(../img/lock.svg);
    background-repeat: no-repeat;
    background-position: 20px 20px;
    background-size: 16px 16px;
    padding-left: 40px;
    padding-right: 30px;
  }


/* tooltip */
[data-tip] {
  position: relative;
}

[data-tip-trigger] {
  cursor: pointer;
}

[data-tip-tooltip] {
  display: block;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px 0px;
  max-width: 380px;
  width: 380px;
  z-index: 99;
  position: absolute;
  bottom: 100%;
  left: 50%;
  padding: .25rem .5rem;
  /* overflow: hidden; */
  transform: translate(-50%, -.25rem);
  border-radius: 3px;
  background: #fff;
  color: #252525;
  text-align: left;
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  text-decoration: none;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  opacity: 0;
  pointer-events: none;
}

[data-tip-tooltip]:after {
  display: block;
  z-index: 99;
  position: absolute;
  /* bottom: 100%; */
  bottom: -5px;
  left: 50%;
  overflow: hidden;
  background: #fff;
  font-style: normal;
  font-weight: 300;
  font-size: .875rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  transform: translate(-50%);
  border-top: 6px solid;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-radius: 0;
  background-color: transparent;
  content: "";
  color: #fff;
  filter: drop-shadow(0 2px 2px rgba(124, 124, 124, .2));
}



[data-tip-trigger]:hover + [data-tip-tooltip]
{

  transform: translate(-50%, 0.00025rem);
  animation-duration: .2s;
  animation-fill-mode: forwards;
  animation-name: tooltip-slide;
  opacity: 0;

}

[data-tip-trigger]:hover + [data-tip-tooltip]:after
{
  animation-duration: .2s;
  animation-fill-mode: forwards;
  opacity: 0;
  transform: translate(-50%,-.25rem);
  animation-name: tooltip-caret-slide;
}

@keyframes tooltip-slide{
    to{
        transform: translate(-50%, -.25rem);
        opacity:1
    }
}

@keyframes tooltip-caret-slide{
    50%{
        opacity:0;
    }
    
    to{
        transform: translate(-50%, 0rem);
        opacity:1
    }

}
  

/* MEDIA QUERY */
@media screen and (min-width: 966px) and (max-width: 1060px) {
    /* RELATED CONTENT */
    .wrapper-related-content {
        width: 90%;
        border: 0;
    }
}

@media screen and (min-width: 736px) and (max-width: 965px) {
    /* STRUCT */
    #col-form {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    #col-related {
        display: none;
    }
    .main-wrapper {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    .box {
        float: left;
        width: 100%;
        margin: 10px 0 0 0;
        padding: 0;
    }
    /* RELATED CONTENT */
    .wrapper-related-content {
        width: 90%;
        border: 0;
    }
    /* FOOTER */
    .footer-address {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
        line-height: 1.4em;
        text-align: center;
        margin-bottom: 20px;
    }
    .otp__mask{
        gap: 15px;
    }
    .otp,
    .otp__mask__cube,
    input[type=text].otp__input{
        height: 80px;
        line-height: 80px;
    }
}

@media screen and (min-width: 481px) and (max-width: 735px) {
    /* STRUCT */
    #col-form {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    #col-related {
        display: none;
    }
    .main-wrapper {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    .box {
        float: left;
        width: 100%;
        margin: 10px 0 0 0;
        padding: 0;
    }
    /* TIMELINE */
    .timeline-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .timeline-item {
        padding-top: 60px;
    }
    .timeline-item::before {
        display: none;
    }
    .timeline-indicator {
        left: 50%;
        top: 10px;
        margin-left: -19px;
    }
    /* FOOTER */
    .footer-cities {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    .footer-cities li {
        width: 50%;
        float: left;
        text-align: center;
        padding: 0;
    }
    .otp__mask{
        gap: 5px;
    }
    .otp,
    .otp__mask__cube,
    input[type=text].otp__input{
        height: 54px;
        line-height: 54px;
    }
}

@media screen and (max-width: 480px) {
    /* STRUCT */
    #col-form {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    #col-related {
        display: none;
    }
    .main-wrapper {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    .box {
        float: left;
        width: 100%;
        margin: 10px 0 0 0;
        padding: 0;
    }
    /* TIMELINE */
    .timeline-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .timeline-item {
        padding-top: 60px;
    }
    .timeline-item::before {
        display: none;
    }
    .timeline-indicator {
        left: 50%;
        top: 10px;
        margin-left: -19px;
    }
    /* FOOTER */
    .footer-cities {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
    }
    .footer-cities li {
        width: 50%;
        float: left;
        text-align: center;
        padding: 0;
    }
    .footer-address {
        float: left;
        width: 98%;
        padding: 1%;
        display: block;
        line-height: 1.4em;
        text-align: center;
        margin-bottom: 20px;
    }
    .otp__mask{
        gap: 5px;
    }
    .otp,
    .otp__mask__cube,
    input[type=text].otp__input{
        height: 40px;
        line-height: 40px;
    }
}