/* css for wizard / order steps */
#msform fieldset:not(:first-of-type) {
    display: none
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #673AB7;
    outline-width: 0
}

#msform .action-button {
    width: 100px;
    background: #673AB7;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 5px 0px 5px 5px;
    float: right
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #311B92
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 5px 5px 5px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #000000
}



.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.fieldlabels {
    color: gray;
    text-align: left
}

#progressbar {
    margin-bottom: 10px;
    overflow: hidden;
    color: lightgrey
}

#progressbar .active {
    color: #673AB7
}

#progressbar li {
    list-style-type: none;
    font-size: 16px;
    width: 33.3%;
    /* width of wizards bar */
    float: left;
    position: relative;
    font-weight: 400
}


/* below is required to make fontawsome step wizard icons render properly. font-wright included as 900 */
.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

#progressbar #items:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f07a";
}

#progressbar #address:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f007"
}

#progressbar #confirm:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c"
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #673AB7
}

.progress {
    height: 10px
}

.progress-bar {
    background-color: #673AB7
}

.fit-image {
    width: 100%;
    object-fit: cover
}

/* end of css for wizard / order steps */

/* Subtitle for each step below progress bar */
.subtitle {
    color: #673AB7;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
}

/* remove Arrows/Spinners in number input Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* remove Arrows/Spinners in number input Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* 1st step / wizard form formatting */

/* To set the spacing of table heading in 1st step */

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

/* Adjust qty field, + and - sign to come in same line */
.product-quantity .quantity .fa {
    display: inline-block;
    /* to center + - icons line-height to be set*/
    line-height: inherit;
    border: 1px solid #ddd;
    width: 30px;
    height: auto;
    background: #f2f2f2;
}

.product-quantity .quantity .fa:hover {
    cursor: pointer;
}

.product-quantity .quantity input {
    text-align: center;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    width: 10px;
    height: auto;
}

/* end of Formatting of table in first step */



/* Delivery address formatting -2nd step */

/*align radio button and text in one line by reducing the width of radio button */
#shipping.form-check-input {
    width: 50px;
}

/* End of 2nd step formatting changes */

/* Order confirmation details - 3rd step formatting */

/* radio button group  to come in one line by adjusting width of radio button */
#ordtype.form-check-input {
    width: 15px;
}

/* End of 3rd step formatting changes */

/* confirmation page background & Table */
.confirmedcontainer {
    padding: 20px 20px;
    padding-bottom: 120px;
    background: url(../images/order_images/confirmed-bg.jpg) right bottom no-repeat;
}

/* Form input validation error */
.warning {
    border-color: #f62f5e !important;
}

.table {
    margin-bottom: 1px;
}

.table td,
.table th {
    padding-bottom: 10px;
    padding-top: 10px;
    vertical-align: top;
}

.table tr th {
    padding-bottom: 10px;
    padding-top: 10px;
    vertical-align: top;
}