@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
    font-family: "Roboto", sans-serif;
    color: #585858;
}
header {
    text-align: center;
    border-bottom: solid 5px #567c23;
    position: relative;
    width: 100%;
}
header img {
    width: 120px;
    margin: 10px 10px 20px 10px;
}
h1 {
    font-size: 1.3rem;
    position: absolute;
    top: 152px;
    left: 50%;
    transform: translate(-50%, -50%); /* Sposta il testo del 50% della sua larghezza e altezza rispetto al suo centro */
    text-align: center;
    background: #fdfdfd;
    padding: 0 14px;
    font-weight: 300;
}
strong {
    font-weight: 600;
    color: #567c25;
}
h2 {
    color: #567c25;
    font-weight: 200;
    text-align: center;
}
.h2-sub {
    margin-top: 30px;
}
.thumbnail {
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.thumbnail:hover {
    transform: scale(1.05);
}
.thumbnail img {
    max-width: 100%;
}
a {
    text-decoration: none;
}
nav {
    position: fixed;
    bottom: 0;
    background: #567c25;
    width: 100%;
}
button#forward {
    float: right;
    margin: 20px;
}
button#back {
    margin: 20px;
}
.number-circle {
    border: solid 2px #fff;
    padding: 5px 14px;
    border-radius: 100%;
    color: #fff;
    font-size: 20px;
    margin-top: 20px;
    display: inline-flex;
}
nav span {
    display: inline-flex;
    margin-left: 5px;
    color: #fff;
}
nav .col-4 {
    text-align: center;
}
.falde .thumbnail img {
    max-width: 60%;
}
.sezioni {
    text-align: center;
    position: relative;
    padding-top: 20px;
    width: 650px;
    margin: auto;
}
.sezioni img {

}
.immagine {
    position: relative;
    display: inline;
}
.misure input[type="number"] {
        max-width: 140px;
        border: solid #567c25;
    }
.misure {
    text-align: left;
}
.misure input[type="number"]::placeholder {
        color: #999; 
    font-size: 12px;
}
small.form-text.text-muted {
    font-size: 10px;
    display: block;
    line-height: 11px;
}
#fianco {
    position: absolute;
    bottom: 10%;
    left: 8%;
    transform: translateY(-50%);
}
#fronte {
    position: absolute;
    right: 27%;
    transform: translateX(-50%);
    bottom: 16%;
}
#sp_fronte {
    position: absolute;
    top: 30%;
    right: 3%;
    transform: translateX(-50%);
}
#sp_fronte input{
    width: 126px;
}
#sp_laterale {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateY(-50%);
}
#sp_laterale input{
    width: 120px;
}
#sp_retro {
    position: absolute;
    top: 12%;
    left: 9%;
    transform: translateY(-50%);
}
.unafalda #sp_retro {
    position: absolute;
    top: 12%;
    left: 67%;
    transform: translateY(-50%);
}
.unafalda #sp_laterale {
    position: absolute;
    top: 17%;
    left: 17%;
    transform: translateY(-50%);
}
.unafalda #sp_fronte {
    position: absolute;
    top: 41%;
    right: 47%;
    transform: translateX(-50%);
}
.unafalda #fianco {
    position: absolute;
    right: 19%;
    transform: translateX(-50%);
    bottom: 16%;
    left: initial;
}
.unafalda #fronte {
    position: absolute;
    bottom: 10%;
    left: 21%;
    transform: translateY(-50%);
    right: initial;
}
#sp_retro input{
    width: 120px;
}
#car_fronte {
    position: absolute;
    bottom: -2%;
    right: 32%;
    transform: translateY(-50%);
}
#car_fronte input{
    width: 100px;
}
#car_fianco {
    position: absolute;
    left: 28%;
    transform: translateX(-50%);
    bottom: 10%;
}
#car_h_1 {
    position: absolute;
    top: 57%;
    right: 13%;
    transform: translateY(-50%);
}
#car_h_2 {
    position: absolute;
    top: 47%;
    left: 1%;
    transform: translateY(-50%);
}
#car_protruding_depth_1 {
    position: absolute;
    right: 35%;
    transform: translateY(-50%);
    top: 11%;
}
#car_protruding_depth_2 {
    position: absolute;
    right: 3%;
    transform: translateY(-50%);
    top: 44%;
}
#car_h_1 input{
    width: 102px;
}
#car_h_2 input{
    width: 102px;
}
#car_protruding_depth_1 {
    width: 118px;
}
#car_protruding_depth_2 {
    width: 118px;
}
#por_fianco {
    position: absolute;
    bottom: -4%;
    left: 11%;
    transform: translateY(-50%);
}
#por_fronte input{
    width: 100px;
}
#por_fronte {
    position: absolute;
    left: 54%;
    transform: translateX(-50%);
    bottom: 2%;
}
#por_fianco input{
    width: 100px;
}
#por_h_max {
    position: absolute;
    top: 15%;
    right: 30%;
    transform: translateY(-50%);
}
#por_h_min {
    position: absolute;
    top: 40%;
    right: 14%;
    transform: translateY(-50%);
}
#por_protruding_depth {
    position: absolute;
    bottom: 30%;
    right: 39%;
    transform: translateY(-50%);
}
#por_h_max input{
    width: 102px;
}
#por_h_min input{
    width: 102px;
}
.descrizione {
    font-size: 14px;
    font-weight: 400;
}
.opzione img {
    /* width: 140px; */
    width: 100%;
    display: block;
    margin-top: 7px;
}
#pavimento .descrizione {
    /* min-height: 340px; */
}

#painting {
    margin-bottom: 10rem;
}

:root,
:root * {
  /* --color-primary: #0d7c69;
  --color-secondary: #dddddd77;
  
  --color-primary-light: #e7f2f0;

  --color-warning: #f5a623;
  --color-warning-light: #f5a62377; */

  --color-primary: #567d24;
  --color-secondary: #dddddd77;

  --color-primary-dark: #45641d;
  --color-primary-light: #EEF2E9;

  --color-warning: #f5a623;
  --color-warning-light: #fad598;

}
.riservata {
    position: absolute;
    right: 0;
    top: 1rem;
    display: flex;
    flex-direction: column;
}

input[type="number"] {
    border: .1rem solid var(--color-primary) !important;
    background-color: var(--color-primary-light) !important;
  }
    input[type="number"]:focus {
      outline: none;
      border: .1rem solid var(--color-primary) !important;
      background-color: var(--color-primary-light) !important;
      box-shadow: 0 0 .2rem .2rem var(--color-primary) !important;
    }
    input[type="number"]:out-of-range {
      border: .1rem solid var(--color-warning) !important;
      background-color: var(--color-warning-light) !important;
      box-shadow: 0 0 .2rem .2rem var(--color-warning) !important;
    }












    .option-radio {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
        .option-radio * {
            padding: 0;
            margin: 0;
        }
        .option-radio input[type="radio"] {
            appearance: none;
        }
            .option-radio input[type="radio"]:checked + label {
                background-color: var(--color-primary);
                color: #fff;
            }
            .option-radio input[type="radio"]:disabled + label {
                opacity: .5;
                cursor: not-allowed;
            }                                                                                   
        .option-radio label {
            text-align: center;
            padding: .5rem;
            transition: background-color .3s, color .3s, box-shadow .3s;
            width: 10rem;
            border: .1rem solid var(--color-primary);
        }
            .option-radio label:hover {
                background-color: var(--color-primary-light);
                cursor: pointer;
            }
    
    label[for="line-flower"], label[for="line-design"] {
        position: absolute;
        top: -2.6rem;
        border: .1rem solid var(--color-primary);
        border-bottom: none;
        z-index: 2;
        background-color: #fff;
    }
    label[for="line-flower"] {
        right: 51%;
    }
    label[for="line-design"] {
        left: 51%;
    }
    
    th {
        font-size: 1.5rem;
    }
    
    #line-options {
        border: .1rem solid var(--color-primary);
        margin-top: 2.5rem;
        height: 75%;
    }
    
    .border-canceler {
        position: absolute;
        height: .1rem;
        background-color: #fff;
        bottom: -.1rem;
        width: 20.25rem;
        left: 50%;
        transform: translateX(-50%);
    }


.btn.btn-primary {
    border: .1rem solid var(--color-primary);
    background-color: var(--color-primary);
    color: #fff;
}
    .btn.btn-primary:hover {
        background-color: var(--color-primary-dark);
    }



header .riservata a {
    color: gray;
    font-size: 14px;
    padding: .5rem 1rem !important;
}
    header .riservata a:hover {
        color: #000 !important;
    }
header .riservata hr, header .riservata br {
    margin: .5rem 0;
    padding: 0;
    margin-right: 1rem;
}
header .riservata strong {
    font-size: 16px;
    color: #000;
    margin-right: 1rem;
}


input[readonly] {
    background-color: #f5f5f5;
    border: .1rem solid #f5f5f5;
    color: #000;
}
input[readonly]:focus {
    outline: none;
    border: .1rem solid #f5f5f5;
    background-color: #f5f5f5;
    box-shadow: 0 0 .2rem .2rem #f5f5f5;
}



.opzione input[type="number"] {
    max-width: 5rem;
    border: solid #567c25;
    border-radius: 1rem;
    padding: .5rem;
    text-align: center;
    margin: 1rem auto;

}

#painting label {
    height: 100%;
}

#painting .color {
    border: solid 1px #000;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 1rem;
}

body {
    margin-bottom: 5rem;
}


#disclaimer {
    position: absolute;
    top: 30px;
    left: 10px;
    width: 10rem;
    text-align: left;
    color: #999;
    font-size: .75rem;
}

.dettagli {
    color: #999;
    font-size: .75rem;
    position: absolute;
    top: -35%;
    white-space: nowrap;
}

main {
    margin-bottom: 6rem;
}


#pdf-details {
    position: absolute;
    top: 3rem;
    left: 0;
    z-index: 999;
}
#pdf-details > h6,
#pdf-details > a,
#pdf-details > a > span {
    font-size: .75rem;
    line-height: 1;
    color: #222;
    font-weight: 400;
    transition: background-color .3s, color .3s;
}
#pdf-details > a > span {
    font-size: 1rem;   
    font-weight: 600;
    vertical-align: middle;
}
#pdf-details > h6 {
    color: #000;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: .75rem;
}
#pdf-details > a {
    border-radius: .5rem;
    background-color: transparent;
    border: solid 1px #2222;
    padding: .25rem .5rem;
    box-shadow: .25rem .25rem .25rem #2222;
    width: 12rem;
    display: block;
    text-align: center;
}

#pdf-details > a:hover {
    background-color: #567d24;
    font-weight: 500;
    color: #fff;
}
#pdf-details > a:hover span {
    font-weight: 900;
    color: #fff;
}
