/**
 * This css is common to account/ and account/orderdetails/ pages.
 */


/* Top part */
/*==========================================================================*/
.account-container {
    margin: 0px auto 0px auto;
    line-height: 1.5;
}
    .account-container > #section-menu .navbar-default {
        background-color: #f4f4f4;
    }

    .account-container h1 {
        font-size: 24px;
        color: #000;
        font-weight: 400;
        text-transform: uppercase;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .account-container .cart-item-container {
        line-height: 40px;
    }

    .account-container .cart-item-promo {
        clear:both;
        margin-bottom: 20px;
    }


.order-filters {}
.order-filters ul {padding-left: 0;margin: 0 0 40px;}
.order-filters li {
    display: inline-block;
    border-left: 1px solid #bbb;
    margin-left: 8px;
    padding-left: 8px;
    height: 16px;
    line-height: 16px;
}
.order-filters li:first-child {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}
.order-filters li a {
    padding: 5px 5px;
    margin-top: -6px;
    line-height: 20px;
    font-size: 15px;
    color: #999;
    display: inline-block;
    vertical-align: middle;
}
.order-filters li.active a,
.order-filters li a:hover {
    border-color: #eee;
    background: #eee;
    color: #000;
}

@media screen and (max-width: 350px) {
    .order-date {
        border-left: 1px solid #ccc;
        padding-left: 5px;
    }
}
@media screen and (max-width: 550px) {
    .order-filters li {
        margin-left: 5px;
        padding-left: 5px;
    }
    .order-filters li a {
        padding: 3px 4px;
    }
    .order-details {
        border-left: none;
        /*padding-left: 0;
        padding-right: 0;*/
    }
}
/*==========================================================================*/



/* Whole order container */
/*==========================================================================*/
.order {
    position: relative;
}

.order + .order {
    margin-top: 40px;
}



/*==========================================================================*/



/* Left side */
/*==========================================================================*/
.order-header {
    position: static;
    padding-top: 40px;
    padding-bottom: 10px;
    color: #808080;
    text-transform: uppercase;
    font-weight: 100;
}

h2.order-number {
    /*font-size: 20px;*/        /* Needed? -- CK2*/
    font-weight: 500;
    color: #000;
    line-height: 1.4;
}

@media screen and (max-width: 991px) {
    #orders-list .left-column {
         border-right: none;
    }
    .order-number {
        text-align: left;
    }
}
/*==========================================================================*/




/* Middle content */
/*==========================================================================*/
/*#bill-address button, #ship-address button  {
    padding-left: 0px;
}*/

/*.address-item button.md-button {
    padding-left: 0px;
}*/

/*  Account Info Section */
.profile-label-email {
    font-size: 12px;
    top: -30px;
}

.order-status,
.order-date {
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    color: #000;
    display: inline-block;
}

.order-status {
    display: block;
}

.order-date {
    float: right;
}

.order-status-desc {
    margin-top: 0;
}

.order-status-deliver {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 100;
    color: gray;
}

.order-status > p, .order-status-deliver > p {
    font-size: 16px;
    text-transform: none;
    font-weight: 100;
    color: gray;
}

.order-details {
    /*padding-left: 30px;*/
    /*padding-top: 10px;*/
    margin-bottom: 20px;
    color: #000;
}

.slick-track {
    background-color: #fff;
}

.order-items {
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 0;
}

ul.order-items {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.order-items .slick-dots {
    margin-top: 20px;
}

.order-item {
    text-align: center;
    float: left;
    width: 100%;
    position: relative;
    padding-bottom: 25px;
}

.order-item ~ .order-item {
    display: none;
}
.order-item:first-child {
    opacity: 0;
}
.slick-initialized .order-item ~ .order-item {display: block;}
.slick-initialized .order-item:first-child {opacity: 1;}

@media (min-width: 768px) {
    .order-item {
        width: 33.33%;
    }
}

.order-item img {
    max-width: 100%;
    margin: auto;
}

.order-item.open-review:before {
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: 0;
    margin-left: -5px;
    position: absolute;
    border: 8px solid transparent;
    border-bottom-color: #f2f2f2;
    border-width: 12px 10px;
}

.item-link,
.item-link:focus {
    display: block;
    color: #666;
    outline: none;
}
.item-link:hover {
    border-color: transparent;
}

.item-link span {
    display: block;
}

.product-name  {
    min-height: 50px;
    font-size: 16px;
}

.item-rating {
    display: inline-block;
    /*visibility: hidden;*/
}
.order-item:hover .item-rating {
    visibility: visible;
}
.item-rating :before {
    width: .9em;
    font-size: 140%;
    color: #008ad9;
}
.item-rating .i-star-stroke:before {
    color: #e8e8e8;
}
.item-rating .i-star-half:before {
    text-indent: -.25em;
}

.star-rating {
    display: inline-block;
}

.item-review {
    display: none;
}
.review-box {
    background-color: #f2f2f2;
    position: absolute;
    z-index: 10;
    display: none;
    text-align: left;
    top: 268px;
    left: 0;
    right: 0;
    padding: 15px;
}
.review-box textarea {
    margin: 10px 0 20px;
    display: block;
    width: 100%;
    padding: 5px 10px;
}
.review-box .close {
    position: absolute;
    top: 10px;
    right: 11px;
    font-size: 80%;
    color: #999;
}
.review-box .close:hover,
.review-box .close:active {
    color: #008ad9;
    border-bottom-color: transparent;
}
.review-box .close:before {
    padding-right: 0;
}

.review-box .btn-review {
    float: right;
}

.no-order {
    text-align: center;
    margin: 100px auto 150px auto;
}

/* Order details page. */
/*.cart-summary-line:first-child {
    margin-top: 30px;
    padding-top: 0;
}*/

.cart-item-image img {
    max-width: 110%;
    height: auto;
}

@media (max-width: 400px)
{
    .cart-item-title {
        padding-right: 0;
    }

    .order-details,
    .order-header {
        border-left-width: 0;
    }

/*    .account-order-details {
        margin-left: 5px;
    }*/

    .order-items {
        padding-right: 15px;
    }
}

@media screen and (min-width:768px) {
    .account-container .order-details-table .cart-item-title {
        margin-top:24px;
    }
}
/*==========================================================================*/



/* Right side */
/*==========================================================================*/
.right-side-menu {
    /*padding: 30px 0;*/
    text-align: right;
}

/* .account-container ul.widget-body-link [class^="i-"]:before, [class*=" i-"]:before {
    display:none;
} */

.widget.quick-links {
    margin-top: 40px;
}

.widget .widget-title {
    font-weight:bold;
    text-decoration: underline;
}

.widget-body {
    padding-left: 5px;
    margin-bottom: 20px;
}

.widget-divider span {
    border-bottom: 1px solid #aaa;
}

ul.widget-body-link {
    font-size: 14px;
    padding-left: 0;
}

ul.widget-body-link li {
    list-style-type: none;

}

ul.widget-body-link li a,
.orderWidget {
    color: #808080;
    border-bottom: none;
    text-decoration: none;
}

ul.widget-body-link a:hover {
    text-decoration: none;
    color: #000;
}

/*==========================================================================*/

.account-steps-container {
    height: 28px;
    line-height: 28px;
    border: 1px solid #ddd;
    font-weight: bold;
    background: #f4f4f4;
    margin: 0 0 20px 0;
}


.account-step:first-child {
    padding-left: 10px;
}

.account-steps-container > div:first-child {
    margin-left: 0px;
}

.account-step + div {
    background-image: url(/content2/images/step-arrow-inactive.png);
    background-repeat: no-repeat;
    background-position: top left;
}

    .active + div {
        background: url(/content2/images/step-arrow-active.png) no-repeat;
        background-position: top left;
    }

.account-columns-container {
    font-size: 0.857em;
}

.account-column {
    width: 200px;
    margin: 0 40px 0 10px;
    float: left;
}

    .account-column.last {
        margin-right: 0;
    }

.account-column-header {
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 20px;
    margin-bottom: 20px;
}

.account-column-subheader {
    padding: 0 0 10px 0;
    border-bottom: 1px solid #ddd;
    margin: 0 0 10px 0;
    font-weight: 400;
    font-size: 1em;
}

.account-column-header h2, .account-column-header h1 {
    margin: 0;
}

.account-header {
    margin: 0;
    font-weight: 400;
}

.shipping-address-actions {
    float: right;
}

    .shipping-address-actions a {
        font-size: 0.8571em;
        text-decoration: none;
    }

.account-summary-table {
    outline: 1px solid #ddd;
    font-size: 12px;
}

    .account-summary-table .price {
        color: #252525;
    }

    .account-summary-table td {
        padding: 0 10px;
    }

    .account-summary-table tbody tr:first-child td:first-child {
        width: 150px;
    }

    .account-summary-table tbody tr:first-child td:last-child {
        width: 75px;
    }

.account-summary-header {
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

    .account-summary-header td {
        padding: 5px 10px;
    }

.account-summary-footer {
    background: #000;
    border-bottom: 1px solid #ddd;
    color: #fff;
    font-size: 1.1667em;
}

    .account-summary-footer tr.first td {
        padding-top: 8px;
        line-height: 1em;
        font-weight: bold;
        height: 16px;
    }

    .account-summary-footer tr.last td {
        padding-bottom: 8px;
        line-height: 1em;
    }

.account-order-details {
    margin-bottom: 40px;
    font-weight: normal;
}

    .account-order-details td {
        padding: 5px 0;
    }

#billingAddressSection {
    display: none;
}

/* This will create 20px bottom margin in all section row */
/*.account-container > .row,
#enquiry-body > .row,
.row.account-row {
    margin-bottom: 20px !important;    
}*/
/* Accounts Styles End */


.product-icon {
    border: 1px solid #ddd;
    margin-right: 1em;
}

.product-icon-wrapper {
    float: left;
    width: 130px;
}

#registerform {
    font-size: 0.8571em;
}

.line {
    padding: 10px 0;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.double-lined-header {
    margin-left: 0;
}

.callback-history-list {
    font-size: 12px;
}

#section-menu .navbar {
    z-index: 0;
}

span.address-item.ng-scope.flex-xs-100.flex-100 {
    margin-right: 0px;
    padding-right: 0px;
}

.new-address {
    height: auto;
    margin: 5px 0;
    padding: 0;
    line-height: 1;
    min-height: 1em;
}

    .new-address:before {
        content: '+';
        margin: 0 3px 0 0px;
    }

/*#ship-address {
    margin-top: 20px;
}*/

.account-section p:first-child{
    margin-top: 0;
}

.account-section {
    margin-bottom: 10px;
}

.account-container md-input-container + md-input-container {
    margin-left: 20px;
}

.account-container md-input-container.flex-50 + md-input-container.flex-50 {
    flex: 1;
}

.account-container md-input-container + .static-country {
    margin-left: 30px;
}

.address-item {
    padding-right: 40px;
    margin-bottom: 30px;
}

#CourierInfo {
    padding: 0;
}


/* MEMBERSHIP */

    .membership-ul {
        margin: 0;
        padding-left: 16px;
        clear: both;
    }

    .membership-ul li {
        font-size: 14px;
    }

    .member-month-item {
        color: #808080;
        width: 100px;
        float: left;
        text-align: center;
        text-transform: uppercase;
    }

    .member-month-item p {
        margin: 0;
    }

    .member-month-item p+p {
        margin-top: 5px;
    }

    .member-month-item p.points {
        font-weight: 500;
    }

    .member-month-item p.empty {
        font-weight: 100;
    }

    .member-month-item p:last-child {

    }

    .member-icon {
        width: 160px;
        height: 120px;
        border: solid 1px #ccc;
        border-radius: 8px;
        margin-right: 25px;
        margin-bottom: 10px;
        float: left;
        text-align: center;
        color: #000;
        position: relative;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 80px;
        opacity: .3;
    }

    .member-basic {
        background-image: url('/content2/images/common/membership_basic.png');
    }

    .member-premium {
        background-image: url('/content2/images/common/membership_premium.png');
    }

    .member-icon.selected {
        opacity: 1;
    }

    .member-icon span {
        position: absolute;
        display: block;
        width: 100%;
        text-align: center;
        left: 0;
        bottom: 0;
    }

    .membership-row {
        border-bottom: solid 1px #ccc;
    }

        .membership-row h4{
            margin-top: 15px;
            margin-bottom: 5px;
            padding: 0;
            line-height: 100%;
            font-weight: 500;
            color: #000;
            outline:none;
        }

        .membership-row .cart-item-title {
            text-align: left;
        }

        .membership-row .cart-item-title:last-child {
            text-align: right;
        }

    .membership-row strong {
        font-weight: 500;
    }

    .membership-month-nav > button {
        padding-right: 0;
        margin-right: 0;
    }

    .left-column-header + span {
        color: #808080;
        font-size: 14px;
    }

    .membership-container .right-column {
        padding-top: 20px;
        padding-bottom: 20px;
    }
/* END MEMBERSHIP */


/* Angular Material UI override  */
/*==========================================================================*/
.account-container md-backdrop.md-opaque {
    opacity: .85;
    background-color: #eee;
    transition: opacity 20ms;
}

.account-container md-dialog .md-dialog-content {
    padding: 45px;
}

md-dialog .md-actions, md-dialog md-dialog-actions {
    margin-bottom: 20px;
    padding-right: 20px;
}

.address-item  button.edit:first-child, .address-item button.add:first-child {
    padding-left: 0px;
    padding-right: 10px;
}

.address-item button:nth-child(n+1) {
    padding: 0px 20px;
}

.account-container .md-title {
    text-transform: uppercase;
}

/*.md-button.md-default-theme.md-primary, .md-button.md-primary {
    color: #fff !important;
    background-color: #26afff !important;
}
.md-button.md-default-theme.md-primary:active, .md-button.md-primary:active {
    color: #fff;
    background-color: blue;
}
.md-button.md-default-theme.md-primary:hover, .md-button.md-primary:hover {
    color: #fff;
    background-color: rgb(41,89,255);
}*/
@media only screen and (max-width: 480px) {

    #section-mobile-hdr {
        margin-bottom: 20px;
    }
    .account-container md-dialog .md-dialog-content {
        padding: 30px;
    }

    .account-container .order-number, .left-column h2 {
        width: auto;
        padding: 0px 10px;
        margin-bottom: 8px;
        border-left: 10px solid #ccc;
        font-weight: bold;
    }
    .account-container .order-status-deliver {
        color: #000;
    }
    .account-container ul.widget-body-link [class^="i-"]:before, [class*=" i-"]:before {
        line-height: inherit;
        vertical-align: middle;
        font-size: 110%;
        padding-right: 5px;
        display: inline-block;
    }

    .account-container md-dialog .md-dialog-content {
        padding: 30px;
    }

    .account-container .widget.quick-links {
        margin-top: 0px;
    }

    .account-container ul.widget-body-link li {
        padding-left: 0px !important;
        text-align: left;
    }

        .account-container ul.widget-body-link li > .span {
            display: inline-block;
        }

    .widget-body {
        background: #f9f9f9;
        border: 1px solid #ddd;
        border-width: 1px 0;
        display:none;
    }
    .widget-divider {
        margin-top:-20px;
        padding-left: 20px;
        text-align: left;
    }
}
@media only screen and (max-width: 479px) {
    .account-container md-dialog .md-dialog-content {
        padding: 30px;
    }
}
@media only screen and (max-width: 479px) {
    .account-container md-dialog .md-dialog-content {
        padding: 30px;
    }

}

/* Contact Us - Apply to both /Account/Contactus & /Contact Us  */

.Left-column {
    text-transform:uppercase;
}

.threePanels {
    overflow:hidden;
}

#enquiry-body #CommentDescription {
    min-height: 120px;
    height: 168px;
}

#MessageDisplay .order-items .cart-item-row {
    margin-bottom:10px;
}


/* Mobile style  */
/*==========================================================================*/
div#section-mobile-hdr a {
    color: #808080;
    border-bottom: 1px solid #808080;
}