﻿/* Solves #23184 - inputs not opening mobile keyboard */
md-input-container label {
    pointer-events: none;
}
/* Override browser's autofill colors */
body .flyout input:-webkit-autofill,
body .flyout input:-webkit-autofill:hover,
body .flyout input:-webkit-autofill:focus,
body .flyout textarea:-webkit-autofill,
body .flyout textarea:-webkit-autofill:hover,
body .flyout textarea:-webkit-autofill:focus,
body .flyout select:-webkit-autofill,
body .flyout select:-webkit-autofill:hover,
body .flyout select:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    box-shadow: 0 0 0 1000px #16315b inset !important;
}
.flyout .flyout-table.no-top-border {
    border-top: none;
}
/* Display select inputs under the clicked element, not on top of that */
.md-select-menu-container { 
    margin-top: 45px;
}
/* Adjust "Notify abuse" link inside Classified section */
md-card-footer .button-link.subtle {
    line-height: 40px;
}
.toolbar-bottom--padding-left {
    padding-left: 10px;
}
/* Solve #23538, focus on accordion elements */
.accordion:focus {
    outline: none !important;
}
/* Fix circular loaders spacing */
md-progress-circular {
    margin-left: 10px;
}
.registration-postal-code {
    width: 100%;
}
.registration-postal-code a {
    display: block;
    text-align: center;
    padding-top: 25px;
}
.vaccines-cart-qty {
    max-width: 115px;
    margin-left: 10px;
}

/* Small fixes for new disable style issues */
.md-calendar-date-disabled {
    color: #16315b !important;
    opacity: 0.3;
}
/* Careerlines and Classified filters fix */
body .select-button md-select:not([disabled]):focus .md-select-value {
    color: #16315b;
}
body .list-item.bg .md-button:hover {
    background-color: rgba(158,158,158,0.2) !important;
}
body .list-item.bg .md-button:hover md-icon {
    color: #0265ff !important;
}
.sidenav__link-text {
    text-align: left;
}
.sidenav__logos {
    padding-bottom: 30px;
}
.sidenav__logos img {
    max-width: 100%;
    padding: 8px 18px;
}
.my-account-invoices {
    min-width: 105px;
    text-align: center;
    padding-top: 12px !important;
    padding-bottom: 5px !important;
}
.my-account-invoices md-button {
    margin-top: 0;
}
.load-more-pagination {
    text-align: right;
    margin-bottom: 1em;
}
.toolbar-qty__input.custom-input {
    max-width: 158px;
    padding-left: 112px;
}
/* Clear all X clear button on inputs for IE11, as it is buggy */
::-ms-clear {
    display: none;
}

@media (max-width: 400px) {
    .toolbar-qty .required-label {
        display: none;
    }

    .toolbar-qty .toolbar-qty__input {
        padding-left: 50px;
        max-width: 80px;
    }
}


.menuBardemoBasicUsage .page-container {
    padding: 32px;
}

.menuBardemoBasicUsage .page {
    margin: 0 auto;
    padding: 24px;
    max-width: 680px;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.25);
}

    .menuBardemoBasicUsage .page h1 {
        text-align: center;
        font-size: 1.8rem;
        margin-top: 0;
        font-weight: normal;
    }

    .menuBardemoBasicUsage .page p {
        line-height: 1.6rem;
    }

.color-black {
    color: black !important;
}

.background-color-black {
    color: black !important;
    background-color: #eaedf3 !important;
}

.order-search {
    display: flex;
    margin-right: 15px;
} 
.order-search .account-filter__search.toolbar-search {
    width: 200px;
    min-width: 200px;
}

.order-search md-input-container {
    background-color: #e6e6e6;
    color: #314a75;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    padding-left: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.order-search md-input-container md-select {
    height: 48px;
}

.order-search md-input-container * {
    color: #314a75;
}

.order-search .md-select-value {
    border: 0 !important;
    outline: 0 !important;
}

.order-search .md-select-value .md-select-icon:after {
    background-position: 0 0;
}


.order-search .md-select-value .md-select-icon {
    margin: 5px 8px 0;
}

.order-search .toolbar-search__input.custom-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;  
    height: 100%;
}

.order-search md-select[disabled="disabled"] {
    opacity: 0.3;
    cursor: not-allowed;
}

@media screen and (max-width: 725px) {
    .account-filter .layout-row {
        flex-wrap: wrap;
    }
    
    body .account-filter .md-toolbar-tools {
        max-height: 100%;
        height: 100%;
    }

    body .order-search .account-filter__search.toolbar-search {
        width: 100%;
        min-width: 120px;
    }

    .order-search {
        margin: 10px 0;
    }
}

/* Changes to the listing for backorders to include a sublist of products */
md-list-item.list-item-with-sublist {
    padding: 0;
}
.list-main-row-item-container {
    width: 100%;
}
.list-item-with-sublist .list-main-row-item {
    padding: 0 16px;
    padding-right: 80px;
    position: relative;
}
.list-main-row-item-with-border {
    border-bottom: 1px solid #dde4ee;
}
.list-item-with-sublist .list-main-row-item md-icon {
    position: absolute;
    top: 18px;
    right: 22px;
}
.layout-sublist {
    opacity: 0.7;
    background: #f5f7fa;
}
.layout-sublist md-list {
    width: 100%;
    padding: 0;
}
.layout-sublist md-list-item:hover {
    box-shadow: none;
}
.layout-sublist md-list-item:last-child {
    border-bottom: 0;
}
.layout-sublist .list-item {
    padding: 16px 80px 0 16px;
    background: #f5f7fa;
}
.layout-sublist .md-title {
    line-height: 18px;
    width: 100%;
    font-size: 15px;
    color: #0265FF;
    font-weight: normal;
}

.flyout-rows-wrapper {
    height: calc(100vh - 15vh);
}

.flyout-bottom-buttons {
    padding-top: 24px;
    padding-bottom: 24px;
}

    .flyout-bottom-buttons button {
        margin: 0;
    }

.review-cart-btn {
    width: 100%;
    border: 0;
    background: #314A75;
    border-radius: 4px;
    padding: 11px 0;
    text-align: center;
    color: #fff;
}

.top-close-btn {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFE14E;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-right: 10px;
}

    .top-close-btn svg {
        margin-left: 10px;
    }

.flyout .text-yellow {
    min-width: 48px;
    text-align: center;
    color: #FFE14E;
}

.flyout .text-lightblue {
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #B0DAEB;
    width: 89px;
    margin-top: -22px;
}

.cart-item__footer .list-row-item {
    position: relative;
}

.flyout .qty-controls {
    width: 89px;
    height: 34px;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -5px;
    border-bottom: 2px solid #FFE45C;
}

.flyout .qty-control {
    cursor: pointer;
}

.flyout .limited-stock-info {
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.01em;
    color: #FF6161;
    padding: 10px 0;
}

.flyout .limited-stock .qty-controls {
    border-bottom-color: #FF6161;
}

.flyout .limited-stock .qty-control {
    color: #FF6161 !important;
}

.flyout .white-color {
    color: #fff !important;
}
/* End changes to the listing for backorders to include a sublist of products */

/* CUstom css for form title link in sign in page */
.form__title--red a {
    text-decoration: none;
    color: red;
  }

  .form__title--red a:hover {
    text-decoration: underline;
  }

 /* Collect personal info contact form updates */
.contact__collect-info .md-caption {
    display: block;
}
.contact__collect-info .md-caption a {
    color: inherit;
    text-decoration: underline;
}
.contact__collect-info .md-caption a:hover {
    color: #0265ff;
}


.md-caption.mt-none {
    margin-top: 0;
}
.button--contact.md-button[disabled] {
    background-color: #F5F7FA !important;
    color: #C8D3E3 !important;
}

.is-error .md-container .md-icon {
    border-color: #FF6161 !important;
}
.is-error .md-caption {
    color: #FF6161 !important;
}

/* for new footer link */
.footer-bar a {
    margin-right: 16px;
}
.footer-bar a:last-child {
    margin-right: 0;
}