body, html {
  height: 100%;

}
.app-loading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.app-loading .spinner {
  height: 200px;
  width: 200px;
  animation: rotate 2s linear infinite;
  transform-origin: center center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.button-main-blue {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #073763 0, #282d41 100%);
  border: 0;
  border-radius: 6px;
  box-shadow:none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-main-blue:focus {
  box-shadow: none;
}

.button-main-error {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #E5224B 0, #cf173f 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-main-error:focus {
  box-shadow: none;
}

.button-main-green {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #59A4A2 0, #01b8a0 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-main-green:focus {
  box-shadow: none;
}

.button-main-grey {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #95a5a6 0, #b0b0b0 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-main-grey:focus {
  box-shadow: none;
}


.app-loading .spinner .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #ddd;
}

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

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}


.bg-gray {
  background-color: hsl(0deg 0% 89%)
}


.no-padding{
padding: 0;
margin: 0;
}


/* .nav {
border-radius: 30px 30px 0 0;
position: fixed;
bottom: 0;
width: 100%;
height: 60px;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
background-color: lightgray;
display: flex;
overflow-x: auto;
} */

.nav__link {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-grow: 1;
min-width: 50px;
overflow: hidden;
white-space: nowrap;
font-family: sans-serif;
font-size: 13px;
color: #444444;
text-decoration: none;
-webkit-tap-highlight-color: transparent;
transition: background-color 0.1s ease-in-out;
}

.nav__link:hover {
background-color: #eeeeee;
}

.nav__link--active {
color: #ffffff;
background: #282d41;
}

.nav__icon {
font-size: 18px;
}



.check-positivo{
border-bottom: 15px solid #282d41;bottom: -16px;
}
.check-negativo{
border-bottom: 15px solid #f74c81;bottom: -16px;
}
.btn-simulatore{
background-color:#f7f7f7;
border: 1px solid grey;
/* box-shadow:  5px 5px 10px #828282,
             -5px -5px 10px #ffffff; */
}


.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;border-right: 1px solid gray; border-radius: 3px 0 0 3px;}
.btn-labeled {padding-top: 0;padding-bottom: 0;}






.slider {
-webkit-appearance: none;
width: 100%;
height: 15px;
border-radius: 5px;  
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%; 
background:#5da5a4;
cursor: pointer;
}

.slider::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: #5da5a4;
cursor: pointer;
}



body {
margin: 0;
overflow-x: hidden;
}
.container {
width: 100%;
height: auto;
}
.profile {
margin: 20px auto;
max-width: 120px;
position: relative;
border-radius: 50%;
}
.profile:hover .overlay {
background-color: rgba(0, 0, 0, 0.5);
}
.profile:hover .overlay p {
display: block;
}
.profile img {
display: block;
width: 100%;
border-radius: 50%;
height: auto;
}
.profile .overlay {
position: absolute;
width: 100%;
bottom: 0;
overflow: hidden;
height: 100%;
border-radius: 50%;
}
.profile .overlay input {
width: 100%;
position: absolute;
opacity: 0;
bottom: 20px;
z-index: 2;
cursor: pointer;
}
.profile .overlay p {
position: absolute;
bottom: 10px;
font-weight: bold;
text-align: center;
color: #fff;
width: 100%;
display: none;
}


.switch {
opacity: 0;
position: absolute;
z-index: 1;
width: 18px;
height: 18px;
cursor: pointer;
}
.switch + .switch-body {
position: relative;
display: inline-block;
margin: 0;
cursor: pointer;
float: left;
margin-right: 10px;
}
.switch + .switch-body:before {
content: "";
cursor: pointer;
display: inline-block;
position: relative;
border-radius: 100px;
top: auto;
}
.switch + .switch-body + .switch-text {
display: inline-block;
padding-top: 5px;
}
.switch.switch-bootstrap + .switch-body:before {
background-color: #d2d9e1;
width: 50px;
height: 30px;
-webkit-transition: background 0.1s ease;
-o-transition: background 0.1s ease;
transition: background 0.1s ease;
}
.switch.switch-bootstrap + .switch-body:after {
content: '';
position: absolute;
top: 1px;
left: 1px;
border-radius: 50%;
width: 28px;
height: 28px;
background-color: #fff;
border: 4px solid #fff;
-webkit-transition: left 0.2s ease;
-o-transition: left 0.2s ease;
transition: left 0.2s ease;
}
.switch.switch-bootstrap:checked + .switch-body:after {
left: 21px;
background-color: #FFF;
border: 4px solid #FFF;
text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25);
}
/* CSS3 on/off switches */
.switch-primary > .switch.switch-bootstrap:checked + .switch-body::before {
background-color: #5da5a4;;
}
.switch-success > .switch.switch-bootstrap:checked + .switch-body::before {
background-color: #5da5a4;}
.switch-danger > .switch.switch-bootstrap:checked + .switch-body::before {
background-color: #d9534f;
}
.switch-info > .switch.switch-bootstrap:checked + .switch-body::before {
background-color: #5bc0de;
}
.switch-warning > .switch.switch-bootstrap:checked + .switch-body::before {
background-color: #f0ad4e;
}


.box-logout{
bottom: 0;
position: absolute;
width: 100%;
}
.text-dark {
color: #282d41 !important;
}




/* Small devices (portrait tablets and large phones, 600px and up) */
/* @media only screen and (min-width: 991px) {
.nav{
display: none !important;
}

} */


/* [class*="col-"]{
float: none;
display: table-cell;
vertical-align: top;
height: 100%;
}
.equal-col-row{
display: table;
} */

.help-block{
  color: #59a4a2;
  font-size: 12px;
}

.pagamento_main{
  margin: auto;
}

.pagamento_box{
  width: 50%;
  min-height: 600px;
  height: auto;
  margin: auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 15px #aaa;
}
.box-pagamento-top{
  background: #f0f0f0;
  height: 30%;
  min-height: 160px;
  color: #000;
  display: flex;
  flex-direction: column
}
.box-pagamento-bot{
  background: #282d41;
  height: 70%;
  min-height: 440px;
}
.int-box-pagamento-bot{
  padding: 80px;
  color: #fff;
  padding-top: 30px;
  font-weight: 500px!important;
}
.box-pagamento-bot-contatti{
  display: flex;
}
.box-pagamento-bot-contatti div{
  display: flex;
  padding: 1px;
  border-bottom: 1px solid #fff;
  margin: auto;
  font-size: 20px;
}
.box-pagamento-bot-btn{
  display: flex;
}
.check-img{
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  position: relative;
  margin-top: -40px !important;
  margin: auto;
  padding: 8px;
  background: #fff;
  border-radius: 100%;
  display: flex;
}
.box-pagamento-bot-btn div{
  border-radius: 5px;
  margin: auto;
  width: 260px;
  cursor: pointer
}
.br-none{
  display: none;
}
@media screen and (min-width: 1201px) and (max-width: 1650px) {
  .pagamento_box{
      width: 68%!important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .image {
      height: 80vh!important;
  }

  .d-flex-media {
      display: flex!important;
  }

  .box-text {
      height: auto!important;
      width: 90% !important;
      position: unset!important;
      margin: auto!important;
      text-align: center!important;
  }

  .btn-grz {
      margin: auto!important;
  }
  .pagamento_iconBox{
      margin-top: -120px !important;
      left: 47%!important;
  }
  .int-box-pagamento-bot{
      text-align: left
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .int-box-pagamento-bot{
      padding: 35px!important;
  }
}
@media screen and (max-width: 767px) {
  .box-text{
      width: auto!important
  }
  .box-pagamento-top{
      height: 20%!important;
      min-height: 130px!important;
  }
  .box-pagamento-top h3{
      padding: 10px;
      font-size: 1rem !important;
  }
  .box-pagamento-bot-contatti div{
      margin: 15px auto!important;
      font-size: 13px!important;
  }
  .int-box-pagamento-bot{
      padding: 20px!important;
      font-size: 13px!important;
      text-align: left
  }
  .box-pagamento-bot-btn div{
      width: 48%!important;
  }
  .oppure{
      display: none!important;
  }
  .box-pagamento-bot-btn{
      margin-top: 1rem !important;
  }
  .div-btn-right{
      padding: 7px 5px!important;
  }
  .div-btn-left{
      padding: 5px!important;
  }
  .check-img{
      width: 40px!important;
      margin-top: -20px !important;
  }
  .box-text {
      height: 540px!important;
      margin: auto!important;
  }
  .d-flex-media {
      display: flex!important;
  }
  .btn-grz {
      margin: auto!important;
  }
  .pagamento_iconBox{
      margin-top: -75px;
  }
  .pagamento_main{
      padding: 10px
  }
  .b_che_appare{
      display: block!important;
  }
  .b_che_scompare{
      display: none!important;
  }
  .box-pagamento-top div{
      height: 0!important;
  }
  .br-none{
      display: block;
  }
  .pagamento_box{
      min-height: 540px;
      height: auto;
  }
  .p_2{
      margin-bottom: 0!important;
  }
} 
.modal {
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 100%;
  border-radius: 0.8rem;
  text-align: center;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  text-align: end;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

  /* Absolute Center CSS Spinner */
  .loader {
    position: fixed;
    z-index: 99999999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loader:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loader:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loader:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }