* { box-sizing: border-box; }

body {
  background: #f4f5f7;
  color: #1d1d1f;
  margin: 0;
  font-family: 'Roboto';
  font-size: 17px;
}

.ax-prenav{
  background-color: #e50083;
  margin-bottom:40px;
}

.ax-prenav svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.ax-prenav .ax-lang button{
  background-color: #fff;
  color:#e50083;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e50083;
  border-radius: 20px;
}

.navbar-custom {
  font-size: 15px;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 500;
  border-bottom:1px solid #dee2e6;
}
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #555 !important;
  text-transform: uppercase;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus,
.navbar-custom .nav-link.active {
  color: #e50083 !important;
}
.navbar-custom .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.navbar-custom .navbar-toggler-icon {
  filter: invert(1);
}





h1,h2{
  font-family: 'Titillium Web';
  color: #e50083 !important;
  font-weight: 300;
  text-transform: none;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 4px;
}
h2 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}


a{
  color: #e50083;
}

a:hover {
  color: #e50083;
  text-decoration: none;
}




.card {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
    padding: 32px;
}

p.subtitle {
    margin: 0 0 24px;
    color: #6b6b70;
    font-size: .9rem;
}
label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 16px;
}
label:first-of-type { margin-top: 0; }
input[type="number"], select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d7db;
    border-radius: 46px;
    font-size: 1rem;
    background: #fff;
}
input:focus, select:focus {
    outline: none;
    border-color: #e50083;
    box-shadow: 0 0 0 3px rgba(229,0,131,.15);
}
.width-100 {
    width: 100%;
}
.mt-24 {
    margin-top: 24px;
}

.result {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 46px;
    text-align: center;
}
.result.ok {
    background-color: #f4f4f4;
}
.result.ok .taglia {
    font-size: 2rem;
    font-weight: 700;
    color: #e50083;
}
.result.ok .label {
    font-size: .85rem;
    color: #6b6b70;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.result.warn {
    background: #fff4e5;
    border: 1px solid #ffe0b3;
    color: #8a5a00;
    font-size: .9rem;
}
.result.error {
    background: #fdeceb;
    border: 1px solid #f8c9c4;
    color: #a3241a;
    font-size: .9rem;
}
table.alternative {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}
table.alternative th, table.alternative td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
table.alternative th {
    color: #6b6b70;
    font-weight: 600;
}
table.alternative tr.selezionata td {
    background: #f4f4f4;
    border-top: 1px solid #e50083;
    border-bottom: 1px solid #e50083;
}
.pull-right {
    float: right;
}
.scelta {
    margin-top: 24px;
}
.scheda-box {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
.scheda-box .taglia {
    font-size: 1.2rem;
    color: #e50083;
}
.scheda-box .modello {
    font-size: .95rem;
    color: #555555;
    margin-bottom: 6px;
}
.scheda-box .modello-desc {
    font-size: .85rem;
    color: #555555;
    margin-bottom: 6px;
}
.scheda-box a.uk-button {
    display: block;
}
.scheda-box img.disegno-tecnico {
    display: none;
    width: 100%;
    margin-top: 12px;
    border-radius: 8px;
    cursor: pointer;
}
.scheda-box img.disegno-3d {
    display: none;
    width: 100%;
    margin-top: 12px;
    border-radius: 8px;
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .85);
}
.modal-overlay.aperto {
    display: flex;
}
.modal-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1d1d1f;
    font-size: 1.5rem;
    line-height: 40px;
    cursor: pointer;
}







.uk-button {
  -webkit-appearance: none;
  border: none;
  overflow: visible;
  font: inherit;
  color: #e50083;
  text-transform: none;
  display: inline-block;
  box-sizing: border-box;
  background: #fff;
  vertical-align: middle;
  line-height: 46px;
  min-height: 46px;
  text-decoration: none;
  text-align: center;
  padding: 0 33px;
  border-radius: 46px;
  background-image: -webkit-linear-gradient(top, #ffffff, #ffffff);
  background-image: linear-gradient(to bottom, #ffffff, #ffffff);
  background-origin: border-box;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0), 1px 1px 1px rgba(0, 0, 0, 0);
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0);
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  border: 1px solid #e50083;
  cursor: pointer;
}

.uk-button:hover, .uk-button:focus {
  background-color: #e50083;
  color: #fff;
  outline: none;
  text-decoration: none;
  background-image: none;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0);
}

.uk-button.uk-button-xs {
  min-height: 24px;
  line-height: 24px;
  padding: 0 12px;
  font-size: 12px;
}

footer {
  color:#fff;
  margin-top: 40px;
  padding: 20px 0;
  font-size: 14px;
  background-color: #7c7c7c;
  border-bottom: 7px solid #e50083;
}

.credits {
  color:#e2df1f; 
}

.credits:hover {
  color:#e2df1f; 
}

.card.card-wide {
  max-width: none;
}

table.log tr.figli td {
  background: #f8f9fa;
  font-size: .9em;
}

table.log tr.figli td:first-child {
  padding-left: 2rem;
}
