﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Provide sufficient contrast against white background */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */

.card-error {
  border: 1px solid red !important;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}


.px-8 {
  padding-right: 8rem !important;
  padding-left: 8rem !important;
}

/* Responsive */
@media (min-width: 1400px) {
  .container-gratis {
    max-width: 1140px !important;
  }
}


@media (min-width: 1024px) and (max-width: 1200px) {
  .px-custom {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  .px-8 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
}
/* for desktops */

@media (max-width: 991px) {
}
/* for laptops */

@media (min-width: 768px) and (max-width: 1024px) {
  .card-wrapper {
    padding: 4rem !important;
  }

  .px-8 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
}
/* for large tablets */

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .card-wrapper {
    padding: 4rem !important;
  }

  .px-8 {
    padding-right: 0rem !important;
    padding-left: 0rem !important;
  }
}
/* for smaller tablets */

@media (max-width: 500px) {
  .card-wrapper {
    padding: 2rem !important;
  }

  .md-stepper-horizontal {
    display: none !important;
  }
}
/* for cellphones */

/* -------------------------------------
          BODY & CONTAINER
------------------------------------- */
html,
body {
  background-color: #F5F6F9;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  height: 100% !important;
  width: 100% !important;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

* {
  -ms-text-size-adjust: 100%;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 5rem !important;
}

.px-custom {
  padding-right: 140px;
  padding-left: 140px;
}

.error-msg {
  background-color: #FEF4F4;
  border: 1px solid #FAD5D5;
  border-radius: 5px;
}

/* -------------------------------------
          HEADER, FOOTER, MAIN
------------------------------------- */
hr {
  margin-top: 0rem;
  margin-bottom: 0rem;
  border-top: 1px solid #212529;
}

.divider-alias {
  height: 5px;
  background: -webkit-linear-gradient(right, #e31218, #eb5e11, #43ab34, #1c97ce, #9664a7, #c71481);
}

.box-shadow {
  box-shadow: 0 3px 8px -6px rgba(0,0,0,.50);
}

.card {
  border-radius: .65rem;
  border: none;
  padding: 1.5rem;
  margin-bottom: 15px;
}

.card-height {
  height: calc(100vh - 300px);
  overflow: auto;
}

.card-wrapper {
  /*padding: 4rem 8rem;*/

  width: 650px;
  /*min-height: calc(100vh - 300px);*/
  /* min-height: calc(100vh - 215px);*/
}

.sub-card {
  border: 1px solid #F3F3F5;
  padding: .5rem;
  margin-bottom: 1rem;
}

.strokedTitle {
  color: #5a5a5a;
  position: relative;
  z-index: 1;
}

  .strokedTitle:before {
    border-top: 1px solid #5a5a5a;
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
  }

.plan {
  border: 1px solid #F3F3F5;
  border-radius: .25rem;
}

.tot-pay {
  background-color: #FAFCFD;
  border: 1px solid #F3F3F5;
  border-radius: .25rem;
}

footer {
  /*position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
    line-height: 60px;*/ /* Vertically center the text there */
  line-height: 20px;
  font-size: 12px;
  padding: 13px;
}

.form-check-input:checked {
  background-color: #fff;
  border-color: #0078C8;
}

  .form-check-input:checked[type=radio] {
    background-image: url(../image/checked-radio.svg);
  }


/* -------------------------------------
          H, P, FONT, TEXT, LINK
------------------------------------- */
h1, .h1 {
  font-size: 3.5rem;
  text-align: center;
  color: #25b9fa;
}

/*h4, .h4 {
  font-size: 18px;
}

h5, .h5 {
  font-size: 1.2rem;
}*/

p, ul, ol {
  font-size: 16px;
  color: #212529;
  line-height: 150%;
}

.fs-12 {
  font-size: 12px;
}

.fs-13 {
  font-size: .95rem;
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.fs-25 {
  font-size: 25px;
}

.fs-30 {
  font-size: 30px;
}

.fs-40 {
  font-size: 40px;
}

.regular400 {
  font-weight: 400;
}

.semibold600 {
  font-weight: 600;
}

.bold700 {
  font-weight: 700;
}

.text-grey {
  color: #5A5A5A;
}

.text-primary {
  color: #0078C8 !important;
}

/* -------------------------------------
          COLOR
------------------------------------- */
.primary {
  color: #0078C8;
}

a {
  color: #0B86BE;
}

  a:hover {
    color: #0078C8;
  }


/* -------------------------------------
          BUTTON
------------------------------------- */
.btn-green {
  color: #fff;
  background-color: #43ab34;
  border-color: #43ab34;
  width: 100%;
  padding: 0.825rem 1.42rem;
  font-size: 16px;
}

.btn:focus {
  box-shadow: none;
}

.btn-green:hover {
  color: #fff;
  background-color: #3d9e2f;
  border-color: #3d9e2f;
}

.btn-outline-green {
  color: #43ab34;
  background-color: #F6FDF5;
  border-color: #43ab34;
  width: 100%;
  padding: 0.825rem 1.42rem;
  font-size: 16px;
  -webkit-appearance: none;
}

  .btn-outline-green:hover {
    color: #43ab34;
    box-shadow: 0rem 0.3rem 0.6rem rgb(0 0 0 / 5%);
  }

.btn-green.disabled, .btn-green:disabled {
  background-color: #43ab34 !important;
  border-color: #43ab34 !important;
  color: #fff !important;
  opacity: 1 !important;
}

fieldset:disabled .btn {
  color: #fff !important;
  opacity: 1 !important;
  filter: opacity(.3);
}

.btn-blue {
  color: #fff;
  background-color: #0078C8;
  border-color: #0078C8;
  width: 100%;
  padding: 0.825rem 1.42rem;
  font-size: 16px;
}

  .btn-blue:hover {
    color: #fff;
    background-color: #0066aa;
    border-color: #005a96;
  }

.btn-outline-blue {
  color: #0078C8;
  background-color: #f6fcff;
  border-color: #0078C8;
  width: 100%;
  padding: 0.825rem 1.42rem;
  font-size: 16px;
  -webkit-appearance: none;
}

  .btn-outline-blue:hover {
    color: #0078C8;
    box-shadow: 0rem 0.3rem 0.6rem rgb(0 0 0 / 5%);
  }

.btn-blue.disabled, .btn-blue:disabled {
  filter: opacity(.3);
  background-color: #0066aa !important;
  border-color: #005a96 !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* -------------------------------------
          FORM
------------------------------------- */
.form-control {
  /*background-color: #FAFCFD;
  border: 1px solid #E8E9EC;
  box-shadow: 0rem 0.3rem 0.6rem rgb(0 0 0 / 5%);*/
  padding: 0.5rem 1.42rem;
  font-size: 1.08rem;
  line-height: 1.5;
  border-radius: 0.42rem;
}

  .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0px 5px 2px rgb(170 191 212 / 20%);
  }

.form-group {
  margin-bottom: 1rem;
}

select {
  appearance: auto !important;
}

.hide {
  display: none !important;
}

.form-control:disabled, .form-control[readonly] {
  opacity: .4 !important;
}

.readonly:focus {
  opacity: .4 !important;
  background-color: #e9ecef;
  border-color: #ced4da;
}

.invia-di-nuovo {
  border-top: 1px solid #5a5a5a;
}

/*------------------------
  Step progress bar
---------------------*/
html {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  -ms-font-smoothing: antialiased !important;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #555555;
}

.md-stepper-horizontal {
  display: table;
  width: 60% !important;
  margin: 0 auto;
  margin-right: 0px !important;
  background-color: #FFFFFF;
  box-shadow: none;
}

  .md-stepper-horizontal .md-step {
    display: table-cell;
    position: relative;
    /*padding: 24px;*/
  }

    /*.md-stepper-horizontal .md-step:hover,
    .md-stepper-horizontal .md-step:active {
      background-color: rgba(0,0,0,0.04);
    }
    */

    .md-stepper-horizontal .md-step:active {
      border-radius: 15% / 75%;
    }

    .md-stepper-horizontal .md-step:first-child:active {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }

    .md-stepper-horizontal .md-step:last-child:active {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }

    /*
    .md-stepper-horizontal .md-step:hover .md-step-circle {
      background-color: #757575;
    }
    */


    .md-stepper-horizontal .md-step:first-child .md-step-bar-left,
    .md-stepper-horizontal .md-step:last-child .md-step-bar-right {
      display: none;
    }

    .md-stepper-horizontal .md-step .md-step-circle {
      width: 30px;
      height: 30px;
      margin: 0 auto;
      background-color: #999999;
      border-radius: 50%;
      text-align: center;
      line-height: 30px;
      font-size: 16px;
      font-weight: 600;
      color: #FFFFFF;
    }

  .md-stepper-horizontal.green .md-step.active .md-step-circle {
    background-color: #00AE4D;
  }

  .md-stepper-horizontal.orange .md-step.active .md-step-circle {
    background-color: #1c97ce;
  }

  .md-stepper-horizontal .md-step.active .md-step-circle {
    background-color: rgb(33,150,243);
  }

  .md-stepper-horizontal .md-step.done .md-step-circle:before {
    font-family: 'FontAwesome';
    font-weight: 100;
    content: "\f00c";
  }

  .md-stepper-horizontal .md-step.done .md-step-circle *,
  .md-stepper-horizontal .md-step.editable .md-step-circle * {
    display: none;
  }

  .md-stepper-horizontal .md-step.editable .md-step-circle {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }

    .md-stepper-horizontal .md-step.editable .md-step-circle:before {
      font-family: 'FontAwesome';
      font-weight: 100;
      content: "\f040";
    }

  .md-stepper-horizontal .md-step .md-step-title {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
  }

  .md-stepper-horizontal .md-step .md-step-title,
  .md-stepper-horizontal .md-step .md-step-optional {
    text-align: center;
    color: rgba(0,0,0,.26);
  }

  .md-stepper-horizontal .md-step.active .md-step-title {
    font-weight: 600;
    /*color: rgba(0,0,0,.87);*/
    color: #1c97ce;
  }

  .md-stepper-horizontal .md-step.active.done .md-step-title,
  .md-stepper-horizontal .md-step.active.editable .md-step-title {
    font-weight: 600;
  }

  .md-stepper-horizontal .md-step .md-step-optional {
    font-size: 12px;
  }

  .md-stepper-horizontal .md-step.active .md-step-optional {
    color: rgba(0,0,0,.54);
  }

  .md-stepper-horizontal .md-step .md-step-bar-left,
  .md-stepper-horizontal .md-step .md-step-bar-right {
    position: absolute;
    top: 16px;
    height: 1px;
    border-top: 1px solid #DDDDDD;
  }

  .md-stepper-horizontal .md-step .md-step-bar-right {
    right: 0;
    left: 50%;
    margin-left: 20px;
  }

  .md-stepper-horizontal .md-step .md-step-bar-left {
    left: 0;
    right: 50%;
    margin-right: 20px;
  }

.wrapper {
  align-items: center;
  justify-content: space-evenly;
  border-radius: 5px;
}

  .wrapper .option {
    background: #fff;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    padding: 0 10px;
    /*border: 1px solid #ced4da;*/
    transition: all 0.3s ease;
    padding: 0.3rem 1.42rem;
    margin-top: 1px;
  }

    .wrapper .option.add-border {
      /*border: 1px solid #86b7fe;*/
      border: 1px solid #ced4da
    }

    .wrapper .option .dot {
      height: 20px;
      width: 20px;
      background: #d9d9d9;
      border-radius: 50%;
      position: relative;
      margin-right: 3px;
    }

      .wrapper .option .dot::before {
        position: absolute;
        content: "";
        top: 4px;
        left: 4px;
        width: 12px;
        height: 12px;
        background: #86b7fe;
        border-radius: 50%;
        opacity: 0;
        transform: scale(1.5);
        transition: all 0.3s ease;
      }

  .wrapper input[type="radio"] {
    display: none;
  }

#CompanyTypeNonDefinito:checked:checked ~ .CompanyTypeNonDefinito,
#CompanyTypeSocietaDiCapitali:checked:checked ~ .CompanyTypeSocietaDiCapitali,
#CompanyTypeSocietaDiPersone:checked:checked ~ .CompanyTypeSocietaDiPersone,
#CompanyTypePersonaFisica:checked:checked ~ .CompanyTypePersonaFisica {
  /*border-color: #1c97ce;*/
  /*background: #1c97ce;*/
}

  #CompanyTypeNonDefinito:checked:checked ~ .CompanyTypeNonDefinito .dot,
  #CompanyTypeSocietaDiCapitali:checked:checked ~ .CompanyTypeSocietaDiCapitali .dot,
  #CompanyTypeSocietaDiPersone:checked:checked ~ .CompanyTypeSocietaDiPersone .dot,
  #CompanyTypePersonaFisica:checked:checked ~ .CompanyTypePersonaFisica .dot {
    /*border-color: #1c97ce;*/
    /*background: #fff;*/
  }

    #CompanyTypeNonDefinito:checked:checked ~ .CompanyTypeNonDefinito .dot::before,
    #CompanyTypeSocietaDiCapitali:checked:checked ~ .CompanyTypeSocietaDiCapitali .dot::before,
    #CompanyTypeSocietaDiPersone:checked:checked ~ .CompanyTypeSocietaDiPersone .dot::before,
    #CompanyTypePersonaFisica:checked:checked ~ .CompanyTypePersonaFisica .dot::before {
      opacity: 1;
      transform: scale(1);
    }

.wrapper .option span {
  font-size: 1rem;
  color: #808080;
}

#CompanyTypeNonDefinito:checked:checked ~ .CompanyTypeNonDefinito span,
#CompanyTypeSocietaDiCapitali:checked:checked ~ .CompanyTypeSocietaDiCapitali span,
#CompanyTypeSocietaDiPersone:checked:checked ~ .CompanyTypeSocietaDiPersone span,
#CompanyTypePersonaFisica:checked:checked ~ .CompanyTypePersonaFisica span {
  /*color: #fff;*/
}
/*Alerts*/
.swal2-styled.swal2-confirm:focus {
  box-shadow: none !important;
}

.swal2-styled.swal2-confirm:focus {
  box-shadow: none !important;
}

.swal2-styled.swal2-default-outline:focus {
  box-shadow: none !important;
}

.iub-sr-only {
  display: none;
}
