.shopcart [data-field="th_picture"] {
    display: inline-block !important;
}

.shopcart span[data-itemid] {
    vertical-align: bottom;
}

.shopcart [data-itemid=color_attr] {
    margin-left: 15px !important;
}

.shopcart .selected_color {
    padding: 0px 5px 0 5px;
}

.shopcart .color_selection {
    display: flex;
    margin-top: 7px;
}

.shopcart .color_selection .color_block {
    margin-left: 5px;
}

.shopcart .color_selection .color_block img {
    border: 1px solid black;
    display: block;
    clear: both;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.shopcart .color_selection .color_block[selected] {
    border: 2px solid #e77600;
}

.shopcart .selected_color {
    font-weight: bold;
}

.shopcart .green {
    color: #007600;
}

.shopcart .red {
    color: red;
}

.shopcart .color_label {
    color: #888;
    font-weight: 400;
}

.shopcart [data-itemid='qty_grid_field'] {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #dddddd;
}

.shopcart [data-itemid='qty_grid_field'] [type='number'] {
    width: 70px;
    float: left;
    text-align: center;
}

.shopcart [data-itemid='qty_grid_field'] label {
    float: left;
    line-height: 38px;
    margin-right: 5px;
}

body.shopcart:not(.checkout_steps) [href^="shopshopping_cart/list"]:not(.address-prev):not([id^=add_to_cart_]):before {
    content: "";
    background-image: url(../../images/icons/cart-24.png);
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
}

.shopcart [href^="shopshopping_cart/list"] .r-menu-expanded,
.shopcart [href^="shopshopping_cart/list"] .r-menu-title {
    margin-top: -12px;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #2FA4E7;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
}

.shopcart [href^="shopshopping_cart/list"] {
    padding-top: 10px !important;
    padding-bottom: 11px !important;
}

.shopcart [title="Shopping Cart (0)"] {
    display: none;
}

.shopcart [data-itemtype="details_found"] {
    line-height: 38px;
}

.shopcart .item_size {
    background: linear-gradient(to bottom, #e7eaf0, #d9dce1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2) inset;
    padding: 3px;
}

.shopcart .item_size option {
    background: linear-gradient(to bottom, #e7eaf0, #d9dce1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2) inset;
    padding: 3px;
}

.shopcart .shopinventory_img {
    background-repeat: no-repeat;
    background-size: contain;
    width: 150px;
    height: 220px;
    background-position: center;
}

.shopcart .order_title {
    text-align: center;
    width: 100%;
    display: block;
    font-weight: bold;
}

.shopcart .checkout-steps-info {
    position: absolute;
    text-align: center;
    width: 100%;
    display: inline;
    margin-top: 10px;
    font-size: 20px;
}

.shopcart .step-nav li a {
    cursor: default;
}

.shopcart .step-nav li a:hover,
.shopcart .step-nav li a:active {
    text-decoration: none;
}

.checkout_steps.shopsales_order_main_view .form-tabs {
    margin-top: 20px;
}

.shopcart .address_buttons,
.shopcart .address_text {
    clear: both;
    display: block;
}

.shopcart .address_buttons {
    margin-bottom: 20px;
}


/*  checkout style start */

.shopcart .checkout-nav {
    width: 100%;
}

.shopcart .checkout-nav .step-nav {
    width: 50em;
    float: right;
    margin: -.5em auto 1em auto;
    padding-inline-start: 0px;
    position: relative;
    top: 10px;
}

.shopcart .checkout-nav .step-nav:before {
    width: 38em;
    top: 57px;
    right: 6em;
    content: '';
    border-top: 3px solid #6d6e70;
    margin-top: -1px;
    position: absolute;
    z-index: -1;
}

.shopcart .checkout-nav .step-nav li {
    width: 25%;
    text-align: center;
    display: inline-block;
    float: left;
    position: relative;
    z-index: 2;
}

.shopcart .checkout-nav .step-nav li:before {
    width: 1.2em;
    height: 1.2em;
    content: '';
    background: #fff;
    border: 3px solid #6d6e70;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin-top: -.5em;
    margin-left: -.5em;
    position: absolute;
    top: 60%;
    left: 50%;
    z-index: -1;
}

.shopcart .checkout-nav .step-nav li a {
    padding: 72px 0 0;
    font-size: 1.125em;
    line-height: 1.3333333333;
    font-weight: bold;
    color: #6d6e70;
    padding-top: 72px;
    display: inline-block;
    line-height: 1.4285714286em;
}

.shopcart.checkout_steps .r-form[data-location="top"] {
    overflow: hidden;
    width: 100% !important;
    max-width: none;
    margin: 0px !important;
    padding: 0px !important;
    border-bottom: 1px solid #d6d6d6;
    box-shadow: 0 0 1em rgba(0, 0, 0, .25);
}

.shopcart.checkout_steps .r-small-page {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.shopcart.checkout_steps .step-nav li.selected:before {
    background: #8cc1c1;
}

.shopcart .step-nav .selected a,
.shopcart .step-nav .selected a:hover {
    color: #8cc1c1 !important;
}

.shopcart .checkout-nav.steps3 .step-nav li {
    width: 33.3%;
}

.shopcart .checkout-nav.steps3 .step-nav:before {
    width: 33em;
    right: 8em;
}

.shopcart.checkout_steps [data-field="card"],
.shopcart.checkout_steps [data-field="card"] input {
    width: 300px;
    border: none;
    box-shadow: none;
    clear: none;
    float: left;
    margin-top: 2px;
    box-shadow: none !important;
}

.shopcart.checkout_steps [data-field="expiration_date"],
.shopcart.checkout_steps [data-field="expiration_date"] input {
    width: 80px;
    border: none;
    box-shadow: none;
    clear: none;
    float: left;
    margin-top: 2px;
    box-shadow: none !important;
}

.shopcart.checkout_steps [data-field="card"] label,
.shopcart.checkout_steps [data-field="expiration_date"] label {
    display: none;
}

.shopcart.checkout_steps [data-field="card"] .r-edit-field,
.shopcart.checkout_steps [data-field="expiration_date"] .r-edit-field {
    width: auto;
    margin: 0 !important;
}

.shopcart.checkout_steps [data-field="card"] {
    position: relative;
}

.shopcart.checkout_steps [data-field="card"] .r-edit-tooltip {
    margin-left: -15px !important;
    margin-top: 45px !important;
}

.shopcart.checkout_steps [data-field="expiration_date"] .r-edit-tooltip {
    margin: 0px;
    margin-left: 0px !important;
    margin-top: 45px !important;
}

.shopcart.checkout_steps [data-field="expiration_date"] .r-edit-tooltip strong {
    width: 120px;
}

.shopcart.checkout_steps [data-field="card"]:before {
    position: absolute;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    display: inline-block;
    content: "\f09d";
    margin-top: 11px;
    margin-left: 5px;
}

.shopcart.checkout_steps [data-field="cardholder"] input {
    width: 440px !important;
}

.shopcart.checkout_steps [data-itemid="titleAddAddress"] {
    margin-top: 15px;
}

@media (min-width: 767px) {
    .shopinventory_view .r-grid {
        width: 70%;
        /*margin-left: 15%;*/
    }
}

@media (max-width: 767px) {
    body.shopcart:not(.checkout_steps) [href^="shopshopping_cart/list"]:not(.address-prev):not([id^=add_to_cart_]) .r-menu-link {
        display: inline-block !important;
    }
    .shopcart.checkout_steps.shoppay_types .r-edit-form>*>tr>[data-cellid].r-align-center.r-align-center {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 1200px) {
    .shopcart .checkout-nav .step-nav li {
        margin-bottom: 15px;
    }
}

@media (min-width: 1200px) {
    .shopcart .checkout-steps-info {
        padding-top: 38px;
    }
}

@media (max-width: 850px) and (min-width: 1200px) {
    .shopcart .checkout-nav .step-nav:before {
        width: 75% !important;
        right: 12% !important;
    }
    .shopcart .checkout-nav .step-nav {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .checkout_steps.shopcart.function-add .panel.with-tabs .panel-body {
        width: 95vw !important;
        overflow: hidden !important;
        margin-left: 2.5vw;
    }
    .checkout_steps.shopcart.function-add .panel.with-tabs .panel-body .alert.alert-info {
        width: 80% !important;
    }
    .checkout_steps.shopcart.function-add .panel.with-tabs .panel-body [data-field="order_comment"] .form-control {
        width: 80% !important;
    }
    .shopsales_order_main_list [data-location="grid"]>.r-record-body table>tbody>tr {
        display: flex;
        flex-wrap: wrap;
    }
    .shopsales_order_main_list [data-itemid="snippet"],
    .shopsales_order_main_list [data-itemid="Shipping_Info"] {
        display: none !important;
    }
    .shopsales_order_main_list [data-location="grid"]>.r-record-body table>tbody>tr>td {
        flex: 50% 0 0;
        text-align: left;
        margin-bottom: 5px;
    }
    .shopsales_order_main_list .r-images {
        margin-top: 20px;
        display: block;
    }
    .checkout_steps [data-location="above-grid"],
    .checkout_steps [data-location="grid"],
    .checkout_steps [data-location="below-grid"] {
        padding-left: 15px;
        padding-right: 15px;
    }
    .shopcart .checkout-nav.steps3 .step-nav {
        width: 100% !important;
        margin-left: 20px;
    }
    .shopcart .checkout-nav.steps3 .step-nav:before {
        width: 65% !important;
        right: 17% !important;
    }
    .shopcart .checkout-nav.steps4 .step-nav {
        width: 100% !important;
        margin-left: 20px;
    }
    .shopcart .checkout-nav.steps4 .step-nav:before {
        width: 75% !important;
        right: 12% !important;
    }
}

@media (max-width: 400px) {
    .shopcart .checkout-nav .step-nav li a {
        font-size: 1em;
    }
    .shopcart .checkout-nav.steps4 li:nth-child(2):before {
        margin-top: -1.3em;
    }
}

@media (max-width: 1700px) {
    .shopcart .checkout-steps-info.done_message span {
        margin-right: 70px;
    }
}

@media (max-width: 1650px) and (min-width: 980px) {
    .shopcart .checkout-steps-info span {
        float: left;
        margin-left: 30px;
        display: block;
    }
    .shopcart .checkout-steps-info {
        padding-top: 45px;
    }
}

@media (max-width: 979px) {
    .shopcart .checkout-nav .step-nav {
        float: none;
    }
    .shopcart .checkout-steps-info {
        padding-top: 0px;
    }
}

.shopcart .ready_pay {
    background-color: #cbecbe;
    padding: 5px;
    border-radius: 5px
}

.shopcart.checkout_steps [data-itemid="add_message"] #backButton1 {
    display: none;
}

.shopcart .pp_button {
    margin-left: 5px;
    cursor: pointer;
}

.panel-default {
    border-radius: 10px 10px 10px 10px;
}

.panel-default > .panel-heading {
    background: linear-gradient(to right, #82bcf5, #1e78ff8f);
    color: #fff;
    border-radius: 10px 10px 0px 0px;
}
.professor-avatar {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }


/*  checkout style end */