.btn{
    border:0px;
    margin:10px 0px;
    box-shadow:none !important;
}
.dropdown .dropdown-menu{
    padding:20px;
    top:30px !important;
    left:235px !important;
    box-shadow:0px 5px 30px black;
    background-color: white;
}
.total-header-section{
    border-bottom:1px solid #d2d2d2;
}
.total-section p{
    margin-bottom:20px;
}
.cart-detail{
    padding:15px 0px;
}
.cart-detail-img img{
    width:100%;
    height:100%;
    padding-left:15px;
}
.cart-detail-product p{
    margin:0px;
    color:#000;
    font-weight:500;
}
.cart-detail .price{
    font-size:12px;
    margin-right:10px;
    font-weight:500;
}
.cart-detail .count{
    color:#C2C2DC;
}
.checkout{
    border-top:1px solid #d2d2d2;
    padding-top: 15px;
}
.checkout .btn-primary{
    border-radius:50px;
    height:50px;
}
.dropdown-menu:before{
    content: " ";
    position:absolute;
    top:-20px;
    right:50px;
    border:10px solid transparent;
    border-bottom-color:#fff;
}
.tm-btn-link-cart {
    color: white;
    text-decoration: none;
    font-size: 15px;
    background: #222222;
    line-height: 1.2;

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
}
.tm-btn-link-cart:hover {
    background-color: #0d0d0d;
}

.tm-btn-link-destroy {
    color: #A50C19;
    text-decoration: none;
    font-size: 13px;
}
.tm-btn-link-destroy:hover {
    color: #80000b;
}

.checkout-panel {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.panel-body {
    padding: 45px 80px 0;
    flex: 1;
}

.panel-content {
    padding: 0 15%;
    flex: 1;
}

.progress-bar {
    display: flex;
    margin-bottom: 50px;
    justify-content: space-between;
}

.step {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    display: block;
    width: 25px;
    height: 25px;
    margin-bottom: 30px;
    border: 4px solid #fff;
    border-radius: 50%;
    background-color: #efefef;
}

.step:after {
    position: absolute;
    z-index: -1;
    top: 5px;
    left: 22px;
    width: 320px;
    height: 6px;
    content: '';
    background-color: #efefef;
}

.step:before {
    color: #2e2e2e;
    position: absolute;
    top: 40px;
}

.step:last-child:after {
    content: none;
}

.step.active {
    background-color: #752423;
}
.step.active:after {
    background-color: #752423;
}
.step.active:before {
    color: #752423;
}
.step.active + .step {
    background-color: #752423;
}
.step.active + .step:before {
    color: #752423;
}

.step:nth-child(1):before {
    content: 'Panier';
}
.step:nth-child(2):before {
    right: -40px;
    content: 'Confirmation';
}
.step:nth-child(3):before {
    right: -30px;
    content: 'Paiement';
}
.step:nth-child(4):before {
    right: 0;
    content: 'Finalisation';
}

.small-inputs div {
    width: 182px;
}
.panel-footer {
    display: flex;
    width: 100%;
    height: 96px;
    padding: 0 80px;
    justify-content: space-between;
    align-items: center;
}

.panel-footer a {
    color: #626364;
    text-decoration: none;
}

.panel-footer a:hover {
    color: #A50C19;
}

@media (max-width: 1155px) {
    .step:after {
        width: 300px !important;
    }
}

@media (max-width: 1095px) {
    .step:after {
        width: 280px !important;
    }
}

@media (max-width: 1030px) {
    .step:after {
        width: 260px !important;
    }
}

@media (max-width: 967px) {
    .step:after {
        width: 240px !important;
    }
}

@media (max-width: 915px) {
    .step:after {
        width: 220px !important;
    }
}

@media (max-width: 855px) {
    .step:after {
        width: 200px !important;
    }
}

@media (max-width: 790px) {
    .step:after {
        width: 180px !important;
    }
}

@media (max-width: 735px) {
    .step:after {
        width: 160px !important;
    }
}

@media (max-width: 675px) {
    .step:after {
        width: 140px !important;
    }
}

@media (max-width: 620px) {
    .step:after {
        width: 120px !important;
    }

    .step:nth-child(1):before {
        content: '1';
    }
    .step:nth-child(2):before {
        right: 0;
        content: '2';
    }
    .step:nth-child(3):before {
        right: 0;
        content: '3';
    }
    .step:nth-child(4):before {
        right: 0;
        content: '4';
    }
}

@media (max-width: 555px) {
    .step:after {
        width: 100px !important;
    }
}

@media (max-width: 490px) {
    .step:after {
        width: 80px !important;
    }
}

@media (max-width: 430px) {
    .step:after {
        width: 60px !important;
    }
}

@media (max-width: 370px) {
    .step:after {
        width: 40px !important;
    }
}
