﻿.cantacttabletd {
    width: 335px;
}

#MetroDropdown option {
    font-size: 14px;
    padding: 5px;
    padding: 0.7em 0.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-family: 'trebuchet', sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: #000;
    text-align: left;
    line-height: 34px;
    cursor: pointer;
}

.monthsdropdown {
    padding: 3px;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

#MetroDropdown {
    padding: 9px !important;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    border: 1px solid #c6d3d6;
    border-radius: 3px;
    min-height: 34px;
    padding: 0 20px 0 6px;
    font-size: 12px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.one-half {
    width: 42%;
}

.last {
    width: 54%;
}

.showcartprice {
    margin-left: 50%;
}

#totalamount, #totaldiscount, #amountafterdiscount {
    float: right;
    text-align: right;
}

#contactaddresstable {
    vertical-align: top;
    border-collapse: separate;
    border-spacing: 0 0.3em;
}

    #contactaddresstable tbody tr td {
        vertical-align: top;
    }

#bumessagetext {
    width: 230px;
}

.cartshow {
    height: 200px !important;
    overflow-y: scroll;
    overflow-x: hidden;
}

.cartdesktop {
    text-align: right;
    margin-right: 4%;
}

.discountdiv {
    margin-left: 1em;
}

.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6
}

.table-sm td, .table-sm th {
    padding: .3rem
}

.table-bordered {
    border: 1px solid #dee2e6
}

    .table-bordered td, .table-bordered th {
        border: 1px solid #dee2e6
    }

    .table-bordered thead td, .table-bordered thead th {
        border-bottom-width: 2px
    }

.table-borderless tbody + tbody, .table-borderless td, .table-borderless th, .table-borderless thead th {
    border: 0
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05)
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0,0,0,.075)
}

.table-primary, .table-primary > td, .table-primary > th {
    background-color: #b8daff
}

    .table-primary tbody + tbody, .table-primary td, .table-primary th, .table-primary thead th {
        border-color: #7abaff
    }

.table-hover .table-primary:hover {
    background-color: #9fcdff
}

    .table-hover .table-primary:hover > td, .table-hover .table-primary:hover > th {
        background-color: #9fcdff
    }

.table-secondary, .table-secondary > td, .table-secondary > th {
    background-color: #d6d8db
}

    .table-secondary tbody + tbody, .table-secondary td, .table-secondary th, .table-secondary thead th {
        border-color: #b3b7bb
    }

.table-hover .table-secondary:hover {
    background-color: #c8cbcf
}

    .table-hover .table-secondary:hover > td, .table-hover .table-secondary:hover > th {
        background-color: #c8cbcf
    }

.table-success, .table-success > td, .table-success > th {
    background-color: #c3e6cb
}

    .table-success tbody + tbody, .table-success td, .table-success th, .table-success thead th {
        border-color: #8fd19e
    }

.table-hover .table-success:hover {
    background-color: #b1dfbb
}

    .table-hover .table-success:hover > td, .table-hover .table-success:hover > th {
        background-color: #b1dfbb
    }

.table-info, .table-info > td, .table-info > th {
    background-color: #bee5eb
}

    .table-info tbody + tbody, .table-info td, .table-info th, .table-info thead th {
        border-color: #86cfda
    }

.table-hover .table-info:hover {
    background-color: #abdde5
}

    .table-hover .table-info:hover > td, .table-hover .table-info:hover > th {
        background-color: #abdde5
    }

.table-warning, .table-warning > td, .table-warning > th {
    background-color: #ffeeba
}

    .table-warning tbody + tbody, .table-warning td, .table-warning th, .table-warning thead th {
        border-color: #ffdf7e
    }

.table-hover .table-warning:hover {
    background-color: #ffe8a1
}

    .table-hover .table-warning:hover > td, .table-hover .table-warning:hover > th {
        background-color: #ffe8a1
    }

.table-danger, .table-danger > td, .table-danger > th {
    background-color: #f5c6cb
}

    .table-danger tbody + tbody, .table-danger td, .table-danger th, .table-danger thead th {
        border-color: #ed969e
    }

.table-hover .table-danger:hover {
    background-color: #f1b0b7
}

    .table-hover .table-danger:hover > td, .table-hover .table-danger:hover > th {
        background-color: #f1b0b7
    }

.table-light, .table-light > td, .table-light > th {
    background-color: #fdfdfe
}

    .table-light tbody + tbody, .table-light td, .table-light th, .table-light thead th {
        border-color: #fbfcfc
    }

.table-hover .table-light:hover {
    background-color: #ececf6
}

    .table-hover .table-light:hover > td, .table-hover .table-light:hover > th {
        background-color: #ececf6
    }

.table-dark, .table-dark > td, .table-dark > th {
    background-color: #c6c8ca
}

    .table-dark tbody + tbody, .table-dark td, .table-dark th, .table-dark thead th {
        border-color: #95999c
    }

.table-hover .table-dark:hover {
    background-color: #b9bbbe
}

    .table-hover .table-dark:hover > td, .table-hover .table-dark:hover > th {
        background-color: #b9bbbe
    }

.table-active, .table-active > td, .table-active > th {
    background-color: rgba(0,0,0,.075)
}

.table-hover .table-active:hover {
    background-color: rgba(0,0,0,.075)
}

    .table-hover .table-active:hover > td, .table-hover .table-active:hover > th {
        background-color: rgba(0,0,0,.075)
    }

.table .thead-dark th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55
}

.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6
}

.table-dark {
    color: #fff;
    background-color: #343a40
}

    .table-dark td, .table-dark th, .table-dark thead th {
        border-color: #454d55
    }

    .table-dark.table-bordered {
        border: 0
    }

    .table-dark.table-striped tbody tr:nth-of-type(odd) {
        background-color: rgba(255,255,255,.05)
    }

    .table-dark.table-hover tbody tr:hover {
        color: #fff;
        background-color: rgba(255,255,255,.075)
    }

@media (max-width:575.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

        .table-responsive-sm > .table-bordered {
            border: 0
        }
}

@media (max-width:767.98px) {
    .table-responsive-md {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

        .table-responsive-md > .table-bordered {
            border: 0
        }
}

@media (max-width:991.98px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

        .table-responsive-lg > .table-bordered {
            border: 0
        }
}

@media (max-width:1199.98px) {
    .table-responsive-xl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

        .table-responsive-xl > .table-bordered {
            border: 0
        }
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

    .table-responsive > .table-bordered {
        border: 0
    }

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

#cartempty {
    text-align: right;
}

@media only screen and (max-width:450px) {
    .one-half {
        width: 100% !important;
    }

    .tierandpricedesc {
        list-style: decimal;
        font-size: 13.5px !important;
        word-break: break-word;
    }

    #totalamount, #totaldiscount, #amountafterdiscount {
        margin-right: 23%;
        text-align: right;
    }

    .totalamountlabel, .totalamounttext, .discountlabel, .discounttext, .amountafterdiscountlabel, .amountafterdiscounttext {
        width: 50% !important;
    }

    #contactaddresstable tbody tr td {
        width: 100% !important;
    }

    #contactaddresstable tr {
        display: table;
        width: 100%;
    }

    #contactaddresstable td {
        display: table-row;
    }

    .carteachitem {
        margin-bottom: 28px !important;
    }

    #cartempty {
        text-align: center;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) {
    .totalamountlabel, .totalamounttext, .discountlabel, .discounttext, .amountafterdiscountlabel, .amountafterdiscounttext {
        width: 50% !important;
    }

    .one-half {
        width: 48% !important;
        word-wrap: break-word;
    }

        .one-half .last {
            width: 58% !important;
            margin-left: 2%;
            margin-bottom: 72px !important;
        }

    .last {
        margin-bottom: 72px !important;
    }

    .one-half .totalamountlabel, .one-half .discountlabel, .one-half .amountafterdiscountlabel {
        width: 55% !important;
    }

    .one-half.totalamounttext, .one-half.discounttext, .one-half .amountafterdiscounttext {
        width: 31% !important;
    }

    #contactaddresstable tr {
        display: table;
        width: 100%;
    }

    #contactaddresstable td {
        display: table-row;
    }

    .carteachitem {
        margin-bottom: 28px !important;
    }
}
