.presim-bobo
{
    letter-spacing: 1px;
    height: auto;
    margin: 0 auto;
    padding: 10px;

}




.presim h1 {
    font-size: 22px;
    color: var(--red-diardzair);
    margin: 5px;
    font-weight: 700;
}

.presim .info {
    color: black;
    padding: 20px;
    font-size: 12px;
    text-align: left;
    background-color: #f7f3f0;
    border-radius: 4px;
}

.presim {
   position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 100%;

    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    width: 500px;
   height: 560px;
    text-align: center;
    border-radius: 4px;
    margin: 0 auto;
    padding: 5px 10px;
    background-color: #ffffff;

    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px;
    z-index: 99999;
}

.presim h5 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: black;
    font-weight: 700;
    font-size: 18px;
}
.resum  .mensualites
{

    font-size: large;
    font-weight: 700;
}

/**
 * Actual Styling for Input type=["range"]
 **/

.range-presim .r_inputAmount {
    background: linear-gradient(to right, var(--red-diardzair) 0%, var(--red-diardzair) 0%, #C0B9B9 0%, #C0B9B9 100%);
    border: solid 1px var(--red-diardzair);
    position: relative;
    border-radius: 8px;
    height: 12px;
    width: 250px;
    outline: none;
    margin-left: 0px;
    margin-right: 0px;
    transition: background 450ms ease-in;
    -webkit-appearance: none;
    cursor: progress;
}

.range-presim .r_inputAmount::-webkit-slider-thumb {
    background-color: var(--red-diardzair);
    border: solid 12px var(--red-diardzair);
    border-radius: 0;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    -webkit-appearance: none;
}

.range-presim .r_inputAmount::-moz-range-thumb {
    background-color: var(--red-diardzair);
    border: solid 12px var(--red-diardzair);
    border-radius: 0;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    -webkit-appearance: none;
}

.tt-left {
    color: black;
    font-size: 12px;
    font-weight: 700;
    margin-right: 100px;
    margin-bottom: 0px;
}

.tt-right {
    color: black;
    font-size: 12px;
    font-weight: 700;
    margin-left: 100px;
    margin-bottom: 0px;

}

.range-presim {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 45px;

}
.range-presim-tt {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 15px;

}
input[type="range"]::after, input[type="range"]::before {
    position: absolute;
    bottom: -25px;

}

.r_b1_c_inputAmount,
.r_b2_c_inputAmount {
    height: 33px;
    width: 33px;
    background-color:var(--red-diardzair);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #FDFEFE;
    border-radius: 20px;
}
#r_b1_inputAmount
{

    margin-left: 10px;

}
#r_b2_inputAmount
{
    margin-right: 10px;
}

.b1_c_inputAmount,
.b2_c_inputAmount {
    height: 30px;
    width: 35px;
    background-color: var(--red-diardzair);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #FDFEFE;
}

.c_inputAmount {
    width: 70px;
    border: none;
    background-color: #FDFEFE;
    text-align: center;
    font-size: 16px;
    color: black;
    font-weight: 700;
}

.c_inputLoyer {
    width: 100px;
    border: none;
    background-color: #FDFEFE;
    text-align: center;
    font-size: 16px;
    color: black;
    font-weight: 700;
}
.c_inputAmount_tt {
    border: none;
    background-color: #FDFEFE;
    text-align: center;
    font-size: 11px;
    width: 40px;
    color: black;
    padding: 0px;
}


.c_inputLoyer_tt {
    border: none;
    background-color: #FDFEFE;
    text-align: center;
    font-size: 12px;
    width: 70px;
    color: black;
    padding: 0px;
    font-size: 12px;
    color: black;
    font-weight: 700;

}
.div_c_inputLoyer {
    border: 1.5px solid #C0B9B9;
    padding: 5px;
    display: inline-block;
    border: solid 1.5px var(--red-diardzair);
    color: black;
    margin-top: 10px;
    margin-bottom: 10px;
}
.max-loyer
{
    font-size: 12px;
    text-align: left;
    padding: 10px;
    font-weight: 600;
    margin-bottom: 0px;
}
.max-loyer-bis
{
   color: var(--red-diardzair);
    font-weight: 700;


}

.div_c_inputAmount {
    border: 1.5px solid #C0B9B9;
    padding: 5px;
    display: inline-block;
    border: solid 1.5px var(--red-diardzair);
}

#btnValider {
    background: var(--red-diardzair);
    padding: 10px 5px 0 5px;
    height: 50px;
    width: 80%;
    margin: 5% auto;
    text-transform: uppercase;
}

.button {
    padding: 0.5rem 2rem;
    border: 0.2rem solid var(--red-diardzair);
    border-radius: 0.5rem;
    /* match default body styles */
    font-size: 16px;
    color: cornsilk;
    background-color: var(--red-diardzair);
    cursor: pointer;
    width: 100%;
    margin: 13px 12px 12px 10px;
    width: 200px;
}

.button:active {
    /* Invert bg & text colors when pressed */
    color: var(--red-diardzair);
    background-color: cornsilk;
}

.button--inverted {
    padding: 0.5rem 2rem;
    border: 0.2rem solid var(--red-diardzair);
    border-radius: 0.5rem;
    /* match default body styles */
    font-size: 16px;
    color: cornsilk;
    background-color: white;
    color: black;
    cursor: pointer;
    width: 100%;
    margin: 5px;
}

.button--inverted:active {
    /* Invert bg & text colors when pressed */
    color: cornsilk;
    background-color: var(--red-diardzair);
}
.logo-presim
{

    height: 80px;
    width: 100%;



}

.resum_input
{
    border: none;
    width: 50px;
}


.down
{
    font-size: 16px;
    color: var(--red-diardzair);
    margin: 5px;
}





.top-presim
{
    height: 60%;
    text-align: center;

}
.BtnSuiv {

   position:absolute;
   bottom:20px;
   margin-left: auto;
    margin-bottom: auto;
    width: 100%;
    bottom: 0px;



}
.btn-presim
{
    width: 200px;

}

.btn-presim-valider
{
    width: 400px;

}

.BtnValider {
    width: 80%;
    position: relative;
    background-color: grey;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 200px; /* Need a specific value to work */
}

.wrapper .option {
    background: #fff;
    height: 80%;
    width: 100%;
    display: inline-block;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    padding: 0 20px;
    border: 2px solid lightgrey;
    transition: all 0.3s ease;
}

.wrapper .option .dot {
    height: 10px;
    width: 10px;
    background: #d9d9d9;
    border-radius: 50%;
    position: relative;
    margin: 5px;
    display: none;
}

.wrapper .option .dot::before {
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease;
}

input[type="radio"] {
    display: none;
}

#option-1:checked:checked~.option-1,
#option-2:checked:checked~.option-2,
#option-3:checked:checked~.option-3,
#option-4:checked:checked~.option-4,
#option-5:checked:checked~.option-5
{
    border-color: var(--red-diardzair);
    background: var(--red-diardzair);
    color: white;
}

#option-1:checked:checked~.option-1 .dot,
#option-2:checked:checked~.option-2 .dot,
#option-2:checked:checked~.option-3 .dot,
#option-2:checked:checked~.option-4 .dot,
#option-3:checked:checked~.option-5 .dot {
    background: #fff;
}

#option-1:checked:checked~.option-1 .dot::before,
#option-2:checked:checked~.option-2 .dot::before,
#option-3:checked:checked~.option-3 .dot::before,
#option-4:checked:checked~.option-4 .dot::before,
#option-5:checked:checked~.option-5 .dot::before

{
    opacity: 1;
    transform: scale(1);
}

.wrapper .option span {
    font-size: 15px;
    color: black
}

#option-1:checked:checked~.option-1 span,
#option-2:checked:checked~.option-2 span,
#option-3:checked:checked~.option-3 span,
#option-4:checked:checked~.option-4 span,
#option-5:checked:checked~.option-5 span

{
    color: #fff;
}

.wrapper {
    display: inline-flex;
    background: #fff;
    height: 100px;
    width: auto;
    margin: 0 auto;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    padding: 20px 15px;
}

.daten {
    display: inline-flex;
    background: #fff;
    height: 100px;
    width: auto;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
}

.daten .simuldn {
    background: #fff;
    height: 50px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    border: 2px solid var(--red-diardzair);
    transition: all 0.3s ease;
}

.simuldn-err {
    color: red;
    font-weight: 700;
}

.daten .simuldn {
    background: #fff;
    height: 50px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    border: 2px solid var(--red-diardzair);
    transition: all 0.3s ease;
}

.error {
    color: red;
    padding: 5px;
    font-size: 12px;
    text-align: center;
    padding-bottom: 0px;

}

#daten-err {
    display: none;
}
#loyer-err1 {
    display: none;
}
#loyer-err2 {
    display: none;
}

.mtcart {
    padding: 20px;
    background-color: white;
    border: 1.5px solid var(--red-diardzair);
    color: var(--red-diardzair);
    width: 200px;
    font-size: 20px;
    font-weight: 700;

}
.loading{
     height:70px;
    background-image: url('/uploads/img/loading.gif');
    background-size: 100%;
    background-position: center;

}



#block1-presim {
    height: 360px;
    display: block;

}

#block2-presim {
    height: 360px;
    display: none;
    opacity: 0;
}

#block3-presim {
    height: 360px;
    display: none;


}
#block4-presim {
    height: 360px;
    display: none;

}
#block5-presim {
    height: 360px;
    display: none;

}
.resum
{

    border: 1px solid #c9c9c9;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    margin-left:15px ;
    margin-right:15px ;

}
.resum p
{
color: black;
    border-top: 1px solid #c8c8c8;
    padding: 5px 0;
    text-align: left;
    margin: 0px;
    font-size: 12px;
    font-weight: 400;

}
@media (max-width: 768px) {
    .presim {
        width: auto;
        height: auto;
    }
    .range-presim .r_inputAmount {
        width: 200px;
    }
    .wrapper .option span {
        font-size: 14px;
    }
    .wrapper .option .dot {
        height: 10px;
        width: 10px;
    }
    .presim h5 {
        margin-top: 20px;
        margin-bottom: 0px;
        color: black;
        font-weight: 700;
        font-size: 14px;
    }
    .button,
    .button--inverted {
        font-size: 14px;
        width: 200px;
    }

    .BtnValider {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .wrapper .option {
        height: 50%;
        width: 100%;
        margin-top: 0px;
        padding: 0 10px;
        margin: 0 10px;
    }
    .wrapper {
        padding-bottom: 5px;
        padding: 5px 5px;
        margin: 0 10px;
    }

    .c_inputAmount {
        font-size: 14px;
    }

    .presim-bobo  ,.presim, #forms-presim
    {
        padding: 2px;
        margin: 0px;
    }
    .btn-presim-valider
    {
        width:  90%

    }

    .BtnSuiv {

        position: absolute;
        bottom:50px;
        margin-left: auto;
        margin-bottom: auto;
        width: 100%;
        bottom: 0px;


    }
    .top-presim h1
    {
          font-size: 19px;
    }
    .top-presim
    {

        height: 80%;
        text-align: center;

    }

    .resum p
    {
        color: black;
        border-top: 1px solid #c8c8c8;
        padding: 5px 0;
        text-align: left;
        margin: 0px;
        font-size: 11px;
        font-weight: 400;

    }
    .resum  .mensualites
    {

        font-size: medium;
        font-weight: 700;
    }


}
@media (max-width: 450px) {
    .wrapper .option {
        height: 50%;
        width: 100%;
        margin-top: 0px;
        padding: 0 3px;
        margin: 0 10px;
    }

}