/* Simulateur */

#simulateur {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: stretch;
    font-size: 0.9rem;
}

#simulateur.loading {
    pointer-events: none;
    filter: grayscale(1);
    opacity: 0.6;
}

#simulateur div {
    box-sizing: border-box;
}

#simulateur h3 {
    font-size: 1.3rem;
    line-height: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

#simulateur h4 {
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem;
    line-height: 1.3rem;
}

#simulateur button {
    border: none;
}

#sim_account {
    border: 1px solid #efefef;
    padding: 20px 15px;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

#sim_account.loggedin {
    border: 1px solid #efefef;
    padding: 6px 15px;
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

#sim_account .border {
    display: inline-block;
    width: 1px;
    background-color: #efefef;
    height: 35px;
    margin: 0 20px 0 10px;
    vertical-align: middle;
}

#sim_param {
    width: 24%;
    border: 1px solid #efefef;
    padding: 20px 15px;
}

#sim_param > div:first-child > h3:first-child {
    margin-top: 0;
}

#sim_param_dalles_number {
    font-style: italic;
    font-size: 12px;
    margin-top: 8px;
}

#sim_param_remp_full {
    margin-right: 15px;
}

#sim_param_color_dalle, #sim_param_color_bordure, #sim_param_color_angle {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    list-style: none;
}

#sim_param_color_dalle li {
    border: 2px solid white;
    width: 40px;
    height: 40px;
    margin: 3px;
    padding: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

#sim_param_color_bordure li {
    border: 2px solid rgb(233, 233, 233);
    width: 60px;
    height: 15px;
    margin: 3px;
    padding: 0;
    cursor: pointer;
}

#sim_param .aucune {
    width: 100%;
    height: 28px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 0;
}

#sim_param_color_angle li {
    border: 2px solid rgb(233, 233, 233);
    width: 20px;
    height: 20px;
    margin: 3px;
    padding: 0;
    border-radius: 0 20px 0 0;
    cursor: pointer;
}

#sim_param_color_dalle li:before, #sim_param_color_bordure li:before, #sim_param_color_angle li:before {
    display: none;
}

#sim_param .selected {
    border: 2px solid #C91C30;
}

#sim_board {
    width: 74%;
    border: 1px solid #efefef;
    padding: 20px 15px;
    text-align: center;
}

#sim_save_title {
    font-size: 18px;
    text-align: center;
    max-width: 380px;
    margin-top: 6px;
}

#sim_board_inner {
    overflow: hidden;
    margin: 30px 0; /* Sans bordures 20px 0 */
    position: relative;
}

#sim_board_outer {
    position: relative;
}

#sim_board_outer .sim_board_angle {
    position: absolute;
    overflow: hidden;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #efefef;
}

#sim_board_outer #sim_board_angle_topleft {
    top: -14px;
    left: -14px;
}

#sim_board_outer #sim_board_angle_topright {
    top: -14px;
    right: -14px;
}

#sim_board_outer #sim_board_angle_bottomleft {
    bottom: -14px;
    left: -14px;
}

#sim_board_outer #sim_board_angle_bottomright {
    bottom: -14px;
    right: -14px;
}

#sim_board_outer .sim_board_border {
    position: absolute;
    overflow: hidden;
}

#sim_board_outer #sim_board_border_top {
    top: -10px;
    left: 0;
    right: 0;
    height: 8px;
}

#sim_board_outer #sim_board_border_bottom {
    bottom: -10px;
    left: 0;
    right: 0;
    height: 8px;
}

#sim_board_outer #sim_board_border_left {
    bottom: 0;
    top: 0;
    left: -10px;
    width: 8px;
}

#sim_board_outer #sim_board_border_right {
    bottom: 0;
    top: 0;
    right: -10px;
    width: 8px;
}

.sim_dalles, .sim_borders {
    border: 1px solid white;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
}

.sim_borders {
    border-color: #efefef;
}

#sim_board_border_right .sim_borders, #sim_board_border_left .sim_borders {
    width: 8px;
    margin: 1px 0;
}

#sim_board_border_top .sim_borders, #sim_board_border_bottom .sim_borders {
    height: 8px;
    margin: 0 1px;
}

#sim_form {
    width: 100%;
    border: 1px solid #efefef;
    padding: 20px 15px;
    margin-top: 30px;
    text-align: center;
}

#sim_form_recap {
    width: 100%;
}

#sim_cart_btn {
    display: none;
}

.sim_form_recap_none {
    background-color: #efefef;
}

canvas {
    margin: 0;
    padding: 0;
}

.hide-scrollbar {
	overflow: hidden;
}

#sim_devis_form {
    margin: 50px auto 30px;
    max-width: 680px;
    display: none;
}

#sim_devis_form h3 {
    color: #C91C30;
    margin-bottom: 30px;
}

.sim_two_cols {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-self: flex-start;
}

.sim_two_cols input {
    width: 49% !important;
}

#sim_devis_form p {
    text-align: left;
}

#sim_thanks {
    display: none;
    margin-top: 40px;
    font-size: 18px;
}

#sim_thanks p {
    font-weight: bold;
}

#sim_thanks .sim_thanks_title {
    color: #C91C30;
    font-size: 32px;
}

@media screen and (max-width: 991px) {
    #sim_param, #sim_board {
        width: 100%;
    }

    #sim_param {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 543px) {
    .sim_two_cols input {
        width: 100% !important;
    }
}