/* shopping cart style sheet  2016-10-28 */
/* 2016 book #e23f50 */
@media screen {

    .brokenClass {
        margin-top: 0;
    }

    /* cart item list */
    #subheader {
        max-width: 45em;
        margin: 0 auto;
        background: #000;
    }

    * {
        max-width: inherit;
    }

    #store {
        position: relative;
        margin: 0 auto 2rem;
        color: #000;
        /* background: #e6e7d8; */
        overflow: auto;
    }

    /* override stuff from regular css */
    #header {
        min-width: 13em;
        background: #000;
    }


    #content {
        width: 100%;
    }

    .headerright, .headerlinks {
        position: relative;
        display: none;
    }

    html {
        height: 100%;
    }

    body {
        height: 100%;
        margin: 0;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    strike {
        color: #888;
    }

    div.roundbox {
        border: 1px solid #f0f0f0;
        background: white;
        border-radius: 20px;
        padding:20px;
        margin: .15em 0 .15em 0;
    }

    div.roundbox h1 {
        font-size: 1.4em;
        margin: 0;
    }

    .store {
        padding: 0;
        margin: 2em 0;
        width: 100%;
        border-width: 0;
    }

    .shoppingcart {
        margin: 0 auto;
        margin-top: .5em;
        margin-bottom: .5em;
        width: 100%;
        background: #fff;
        float: left;
        padding: 0;
    }

    .shoppingcartrow {
        width: 100%;
        margin: 0 auto;
        padding: 10px;
        background: #eee;
        text-align: left;
        float: left;
    }

    .shoppingcartrow .title {
        font-size: 125%;
    }

    a.title {
        text-decoration: underline;
    }

    a:hover.title {
        color: #666;
    }

    .shoppingcartrow .detail {
        font-size: 75%;
    }

    .shoppingcartrow form {
        font-size: 85%;
        display: inline;
    }

    .shoppingcartrow .left {
        width: 65%;
        border-right: 1px solid #ccc;
        float: left;
        margin-left: .5em;
    }

    .shoppingcartrow .price {
        width: auto;
        float: right;
        margin-right: .5em;
        font-weight: bold;
        vertical-align: bottom;
    }

    .shoppingcartrow .right {
        width: 30%;
        float: right;
        margin-right: .5em;
    }

    /* new shopping cart CSS */
    .shoppingcart .row * {
        max-width: 100%;
    }

    .shoppingcart .row:nth-child(odd) {
        background-color: #f8f9fa;
    }

    .shoppingcart .row .col-md-4:nth-child(2) {
        border-left: 1px solid #e0e0e0;
    }

    .shoppingcart .row form {
        margin: 5px 0;
    }

    @media (max-width: 560px) {
        .shoppingcart .row div[class*="col"] {
            padding: 10px;
        }
        .shoppingcart .row .col-md-4:nth-child(2) {
            border-top: 1px solid #e0e0e0;
            border-left: none;
        }
        .shoppingcart select {
            border: 1px solid #CCC;
        }
        .cartaction {
            margin-top: 48px;
        }
        .cartaction form {
            display: block !important; /* to override the inline style */
            text-align: left;
            margin: 12px 0;
        }
        .cartaction form input {
            width: 100%;
        }
    }

    /* more info page */
    .storeinfo {
        width: 80%;
        height: 45em;
        margin: 0 auto;
        padding: 1em;
        border: thin #666666 solid;
        border-radius: 2.3em;
        text-align: center;
        background: rgb(255, 255, 255); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(47%, rgba(246, 246, 246, 1)), color-stop(100%, rgba(237, 237, 237, 1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%); /* IE10+ */
        background: linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff, endColorstr=#ededed, GradientType=0); /* IE6-9 */
    }

    .storeinfo td {
        vertical-align: top;
    }

    .storeinfo table {
        width: 100%;
    }

    .chooseCategory {
        max-width: 40em;
        width: 100%
    }

    .storecategory {
        margin-bottom: 1em;
        background-color: white;
    }

    .prod-img img{
        width: 80%;
        max-width: 320px;
        height: auto;
    }

    /* item box */
    .storeitem {
        float: left;
        width: 100%;
        margin: 0;
        margin-bottom: .3em;
        border: thin #e23f50 solid; /* fix */
        border-radius: 2em;
        background-color: #fff;
    }

    .storeitemtitle {
        font-weight: bold;
        margin-top: .25em;
        color: #e23f50; /* fix */
        max-width: 100%;
    }

    .storeitemtitle a {
        text-decoration: underline;
    }

    .storeitemtitle a:hover {
        color: #666;
    }

    .storeitemcontainer {
        margin: 0 auto;
    }

    .price {
        font-weight: bold;
    }

    .storeitem .price {
        text-align: left;
    }

    .description {
        color: #666;
        padding-top: .5em;
        padding-bottom: .5em;
        max-width: 100%;
    }

    dd .description {
        margin-right: 1em;
        clear: right;
        max-width: 35em;
    }

    strong {
        color: #e23f50;
    }

    /* fix */
    /* buttons in itembox */
    .storelink {
        font-size: .8em;
        float: right;
        white-space: nowrap;
        padding: .15em .5em .15em .5em;
        margin-left: .15em;
        margin-right: .15em;
        border-radius: 30px;
        border-width: 0;
        color: #fff;
        background: #6c757d;
    }

    .storelink:hover, .importantbutton:hover {
        color: #fff;
        background-color: #BD1C2D;
        text-decoration: none;
    }

    .storeitemhighlight {
        float: left;
        width: 100%;
        margin: 0 auto;
        margin-bottom: .3em;
        border: thin #e23f50 solid; /* fix */
        border-radius: .75em;
        background: rgb(255, 255, 255);
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(229, 229, 229, 1)));
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
        background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
        background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
        background: linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0);
    }

    .storeitemhighlight .price {
        text-align: center;
    }

    /* menu bar */
    .menubar ul {
        min-height: 2em;
        margin: 0;
        padding: 0;
        list-style-type: none;
        background-color: #404040;
        border-radius: 2em;
    }

    .menubar li {
        float: left;
        padding: 0;
        margin: 0;
        margin-left: .4em;
        color: #fff;
        background: #000;
        line-height: 1.9em;
    }

    .menubar ul a, .menubar ul input {
        padding-left: .5em;
        padding-right: .5em;
        margin: 0;
        display: block;
        background: #fff;
        color: #444;
        border-radius: .3em;
        border-width: 1px;
        font-size: 1em;
    }

    .menubar ul a.selected, .menubar ul input.selected {
        color: #fff;
        background: #e23f50;

    }

    .menubar ul a.cart, .menubar ul input.cart {
        background: transparent;
        border-color: #fff;
        color: #fff;
        margin-right: -.4em;
        border-radius: .3em;
    }

    .menubar ul a.selected:hover, .menubar ul input.selected:hover {
        color: #000;
    }

    .menubar ul a:hover, .menubar ul input:hover {
        background: #ccc;
        color: #e23f50;
    }

    .menubar ul li.contents {
        float: right;
        margin-right: .75em;
    }

    /* New Menu Bar */
    .navbar{
        border-radius: 20px;
        margin-bottom: 1rem;
    }

    #storeNav {
        width: 100%;
    }

    #storeNav .navbar-nav {
        display: block;
    }

    #storeNav .navbar-nav li.nav-item {
        display: inline-block;
    }

    @media (max-width: 560px) {
        #storeNav .navbar-nav li.nav-item {
            display: list-item;
            margin: 8px auto;
            background-color: #f0f0f0;
            border-radius: 20px;
            font-size: 1.1em;
        }
    }

    #storeNav .navbar-nav li.nav-item form input {
        font-size: 1em;
        background-color: transparent;
        border: none;
        border-radius: 20px;
        margin: 0 .5rem;
    }

    #storeNav .navbar-nav li.nav-item form input:hover {
        background-color: #e0e0e0;
    }

    #storeNav .navbar-nav li.nav-item.text-danger form input {
        color: #e23f50
    }

    /* Extras */
    .clear {
        clear: both;
    }

    .right {
        text-align: right;
    }

    .center {
        text-align: center;
    }

    .left {
        text-align: left;
    }

    .floatleft {
        float: left;
        margin: .75em;
    }

    .floatright {
        float: right;
        margin: .75em;
    }

    .dialog {
        margin-top: .75em;
        margin-bottom: .75em;

        font-size: 80%;
        color: #777;
    }

    .lowinset {

        margin: 0;
        padding: 0;
    }

    .lowinset dt {

        margin-left: 0;
    }

    .lowinset dd {

        margin-left: .5em;
    }

    .cartaction {
        text-align: right;
        font-weight: bold;
        white-space: nowrap;
    }

    .formaction {
        /* margin-left: 2.4em; */
        text-align: center;
    }

    .inputdescription {
        font-size: 75%;
        color: #777;
        background: #f0f0f0;
        max-width: 31em;
        padding: 1em;
        margin-top: .35em;
        margin-bottom: .35em;
    }

    .featuredmerchants {
    }

    #featuredmerchantlogo {
        display: inline;
    }

    /* used for reviewing data*/
    .forminfo {
        background: #fff;
        padding-bottom: .5em;
        font-size: 1.2em;
        clear: both;
    }

    .forminfo dt {
        font-size: 70%;
        font-weight: normal;
        color: #777;
        padding-bottom: 0;
    }

    .forminfo dd {
        border-bottom: 1px solid #eee;
        border-left: 1px solid #eee;
        padding-left: .5em;
        padding-bottom: 0;

    }

    /* used for forms */
    .cartform {
        background: #fafafa;
        border-top: 1px solid #ddd;
        padding: .5em .4em .5em .4em;
        margin: 0 -.4em 0 -.4em;
    }

    .cartform input {
        max-width: 100%;
    }

    .cartform dt {
        font-size: 85%;
        font-weight: normal;
        color: #444;
        border-bottom: 0;
        padding-left: .5em;
    }

    .alert {
        color: #e23f50; /* fix */
        font-size: 75%;
        font-weight: normal;
        text-align: center;
    }

    /* that error message */
    .errormessage {
        border-radius: 5px;
        background: #fdd;
        color: #C00;
        padding: .2em;
        padding-left: 1em;
        border: 2px solid #C00;
        margin: .5em;
        max-width: 30em;
        font-size: 85%;
    }

    .errormessage strong {
        color: #C00;
    }

    /* flag form errors */
    .formflag {
        color: #c00;
        font-weight: bold;
    }

    /* used for category display of contents */
    .categoryinfo ul {
        text-align: left;
        margin: 0 0 .25em 0;
        padding: 0;
    }

    .categoryinfo table {
        width: 100%;
        border-top: 1px solid #666;
        border-radius: 1em;
        border-bottom: 1px solid #666;
        margin: 0;
        padding: .25em;
        background: #fff;
    }

    #state_chooser {
        border-top: 1px solid #666;
        border-radius: 1em;
        border-bottom: 1px solid #666;
        margin: 0;
        padding: .25em;
        background: #fff;
    }

    .categoryinfo tr {
        padding: .25em;
        padding-left: .75em;
        margin-left: 0;
        background-color: #FFFFFF;
    }

    .categoryinfo .button_options {
        text-align: center;
    }

    .categoryinfo .product {
        font-weight: bold;
        text-align: center;
    }

    h2.statelabel {
        font-size: 125%;
        text-align: center;
        margin-top: .4em;
        margin-bottom: .2em;
        padding-top: 0;
        padding-bottom: 0;
    }

    h2.statelabel a {
        color: black;
    }

    h2.statelabel a:hover {
        color: #e23f50; /* fix */
    }

    .storefooter {
        text-align: center;
        font-size: 90%;
        width: 100%;
        margin-top: 0;
        padding-top: 0;
        margin-bottom: .25em;
        color: #666;
    }

    .storefooter a {
        color: #000;
    }

    .storefooter a:hover {
        color: #fff;
        text-shadow: .1em .1em .1em #000000;
        text-decoration: underline;
    }

    #store hr {
        opacity: .4;
    }

    /* Screen Shots */
    .screenshots {
        margin: .5em;
        padding: 1em;
    }

    .screenshots #title {
        text-align: center;
        padding: .5em;
        margin: 0 auto;
    }

    .screenshots .caption {
        text-align: left;
        padding: .5em;
        font-size: 90%;
    }

    .g-plusone {
        float: right;
    }

    .importantbutton {
        background: #e23f50;
        border-width: 0;
        color: white;
        font-size: 1.3em;
        margin: .5em;
        padding: 10px 20px;
        margin-left: 0;
        border-radius: 30px;
    }

    #storetop {
        color: white;
        font-weight: bold;
        margin-left: .5em;
    }

    #storetop a {
        font-size: 1.3em;
        vertical-align: top;
        color: white;
    }

    .buyfive {
        color: #fff;
        border-radius: .5em;
        padding-top: .4em;
        padding-bottom: .4em;
        font-weight: bold;
        width: 100%;
        float: left;
        text-align: center;
        margin-bottom: .25em;
        background-color: #BBB;
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#BBB), to(#BBB), color-stop(.5, #999));
        background: -moz-linear-gradient(top, #BBB 0%, #999 50%, #BBB 100%);
    }

    .rules { /* rule sheet at bottom of products */
        font-size: .75em;
        text-align: center;
    }

    #display_coupons img { /* shadows the pages in the store */
        -moz-box-shadow: 0 0 5px 3px #ccc;
        -webkit-box-shadow: 0 0 5px 3px #ccc;
        box-shadow: 0 0 5px 3px #ccc;
    }

    table.sreport {
        width: 100%;
        padding: 3px;
        margin: 0 auto;
        text-align: left;
    }

    table.sareport tr td {
        border-bottom: 1px solid #ddd;
    }

    .tabletop {
        background: #eee;
        font-size: 1.2em;
    }

    .tabletop th {
        text-align: center;
    }

    .tablebottom {
        background: black;
        color: white;
        margin-left: 1em;
        padding: 3px;
    }

    #discount {
        width: 100%;
        background: white;
        border-radius: .2em;
        margin: .2em .7em .2em .7em;
    }
}

@media print {
    #store {
        margin-left: 2em;
    }

    div.roundbox h1 {
        font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
        background-color: transparent;
        color: black;
        border-bottom: 1px solid black;
    }

    table.sreport {
        font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
        width: 670px;
        padding: 3px;
        margin: 0 auto;
        text-align: left;
    }

    table.sareport tr td {
        border-bottom: 1px solid #ddd;
    }

    .tabletop {
        background: #eee;
    }

    .tabletop th {
        text-align: center;
        font-size: 14px;
    }

    .tabletop td {
        font-size: 10px;
    }

    .tablebottom td {
        text-align: center;
        color: black;
        margin-left: 1em;
        padding-top: 3px;
        border-top: thin solid black;
        font-size: 14px;
    }

    form {
        display: none;
    }

    input.button {
        color: white;
        background-color: white;
        visibility: hidden;
    }

    div.subheader img {
        background-color: white;
    }

    #storetop {
        background-color: white;
        color: black;
        margin-left: 2em;
        width: 670px;
    }
}

a.button, input.button, button.button {
    display: inline-block;
    background: #e23f50;
    font-size: .9em;
    margin: .2em;
    padding: .2em .5em;
    border: 0;
    line-height: 200%;
    white-space: nowrap;
    color: white;
    -moz-border-radius: .3em;
    -webkit-border-radius: .3em;
    border-radius: .3em;
}
a.button:hover, input.button:hover, button.button:hover {
    color: white;
    background-color: #BD1C2D;
    text-decoration: none;
}
a.button:active, input.button:active, button.button:active {
    background-color: #f00;
    color: white;
}
a:disabled.button, input:disabled.button, button:disabled.button {
    background-color: #666;
    color: white;
}
