/* styles.css */

html {
    min-height: 100%;
    position: relative;
}

body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

a:link, a:active, a:visited, a:hover {
    color: #996;
}

.tr-top {
    border-top: 2px solid;
}

.tr-bottom {
    border-bottom: 2px solid;
}

.dropdown {
    background: #FCFCFC;
}

.inline {
  display: inline;
}

.link-button {
  padding: 0px;
  background: none;
  border: none;
  color: #996;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:focus {
  outline: none;
}
.link-button:active {
  color:red;
}

.aleft {
    text-align: left;
}
.acenter {
    text-align: center;
}
.aright {
    text-align: right;
}

.lhead {
    font-weight: bold;
}

.user-info {
    float: right;
    margin-right: 10px;
    font-size: 11px;
}

.tabcontent {
    display: none;
    padding: 12px 24px;
    border: 1px solid #ccc;
    width: 100%;
}
.tabcontent:target {
    display: block;
}

.currency {
    text-align: right;
}

.order-entry {
    width: 100%;
}

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
    background: #cccc99;
    white-space: normal;
}
.home-menu-logo {
    height: 55px;
    margin-left:1%;
}
.pure-button-primary {
    background: #996;
}
.pure-menu-list {
    margin-top: 8px;
    font-size: 1.1em;
    margin-right: 1%;
}
.home-menu .pure-menu-selected .pure-menu-link {
    color: #FFF;
}
.home-menu .pure-menu-link {
    color: #114d75;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #eeeeaa;
}
.home-menu .pure-menu-item button {
     background:none!important;
     color: #114d75;
     border:none;
     font: inherit;
     /*border is optional*/
     cursor: pointer;
}
.home-menu .pure-menu-item button:hover,
.home-menu .pure-menu-item button:focus {
    background: none;
    border: none;
    color: #AECFE5;
}

.splash-container {
    background: #cccc99;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed !important;
}
.splash {
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
}
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: 3px solid white;
    padding: 1.5em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
}
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}
a.pure-button-primary {
    background: white;
    color: #cccc99;
    border-radius: 5px;
    font-size: 120%;
}


.item-current {
    background-color: #FFA !important;
}
.item-partition {
    background-color: #F5F5F5 !important;
}

.address-head {
    font-weight: bold;
}
.address {
    width: 100%;
}
.address td {
    padding: 0px 3px;
    vertical-align: top;
    white-space: pre;
}
.address td:nth-child(1), .address td:nth-child(3) {
    text-align: right;
    font-weight: bold;
}
.address td:nth-child(1) {
    padding-left: 10px;
}

.address-form input, .address-form textarea {
    width:300px;
}

.input-num {
    padding-right:2.3em !important;
    text-align:right;
}

.input-unit {
    margin-left:-2.3em;
}

.content {
    max-width: 1100px;
    padding: 10px 10px;
    margin: 40px auto;
}

.orders {
    max-width: 90%;
    padding: 10px 10px;
    margin: 40px auto;
}

.error-message {
    color: red;
}


.good {
    color: green;
}

.bad {
    color: red;
}


.success-message {
    color: green;
}

.greyed {
    background-color: #EEE !important;
}

.filter-box {
    box-sizing: border-box !important;
    background-image: url('/public/img/searchicon.png');
    background-position: 10px 12px;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

.svg-option {
    float: left;
    width: 150px;
    margin-right: 10px;
}

.svg-feature {
    width: 100%;
    width: 113px;
    height: 150px;
}

.svg-big {
    width: 1000px;
    height: 1000px;
}



.comment-credit {
    border: 4px red solid;
}

.comment-deleted {
    border: 4px gray solid;
    background: #DDD;
}


.comment {
    white-space: pre-wrap;       /* Since CSS 2.1 */
}



/* Modal */
.modal_outer {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0,0,0,.7);
    z-index: 1001;
}
.modal_outer:target {
    display:block;
}
.modal_inner {
    margin: 0;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0%);

    padding: 4em;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}



/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 53em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }

    .home-menu ul {
        float: right;
    }

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}
