@import url('/public/css/cart.css');
@import url('/public/css/blog.css');

/* kube */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Helvetica Neue", Helvetica, Tahoma, sans-serif;
    font-weight: bold;
    color: #000000;
    text-rendering: optimizeLegibility;
    margin: 0 0 .5em 0;
}

h1, .h1 {
    font-size: 2.25em;
}

h1, .h1, h2, .h2 {
    line-height: 1.1;
}

h5 {
    font-size: 1em;
}

img, video, audio, embed, object {
    max-width: 100%;
}

/* grid */

.page {
    margin: 4rem 0 0;
}

/* checkout */

.methods {
    margin: 10px 0;
    padding: 20px 20px 0;
    border: 1px solid #e5e5dc;
    border-radius: 2px;
    background-color: #f3f2eb;
}

.checkout {
    border-radius: 20px;
}

.checkout .input-text {
    border: 1px solid #e5e5dc;
    background-color: #f3f2eb;
}

.checkout select {
    border: 1px solid #e5e5dc;
    border-radius: 2px;
    background-color: #f3f2eb;
}

.checkout .order_details {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout .order_details strong {
    display: block;
    text-transform: none;
    color: #b1b0a7;
    font-size: 11px;
}

.checkout .order_details .order,
.checkout .order_details .date,
.checkout .order_details .total,
.checkout .order_details .method {
    display: block;
    margin: 0px 10px 5px 0;
    padding: 0px 10px 0 0;
    font-size: 11px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .checkout .order_details .order,
    .checkout .order_details .date,
    .checkout .order_details .total,
    .checkout .order_details .method {
        display: inline-block;
        border-right: 1px dashed #b1b0a7;
    }
}

/* New shop */

.box {
    margin-bottom: 30px;
}

table.list {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: collapse;
    border: 1px solid #e3e3e3;
}

table.list thead th {
    text-align: center;
    padding: 7px;
}

table.list > tbody > tr > td, table.list > thead > tr > td {
    text-align: center;
    vertical-align: middle;
    padding: 7px;
}

table.list td.name {
    text-align: left;
}

table.list td.quantity {
    width: 100px;
}

table.list td.quantity .btn {
    color: red;
    border-color: transparent;
    background: transparent;
}

.center {
    text-align: center;
}

.btn-lg {
    margin-top: 20px;
}

/**
* The edit link that appears when you are logged in.
* It is recommended that you implement an edit button
* in your templates to make it easy to switch to and
* from the admin control panel when editing pages.
*/

#editpage {
    position: fixed;
    top: 40px;
    left: -24px;
    padding: 5px 12px;
    background: #db1174;
    color: #fff;
    display: block;
    font-weight: bold;
    font-size: 13px;
    transform: rotate(90deg);
    z-index: 1000;
    /*transform-origin: left top 0;*/
}

#editpage:hover {
    text-decoration: none;
    background: #ffffcc;
    color: #000;
}

/* book */

.book-wrapper {
    max-width: 56.250em;
    min-width: 20em;
    /*min-height: 48em;*/
    margin: 0 auto;
    padding: 2em 1.250em 1.250em;
}

.book {
    margin: 0 auto 1.313em;
    padding: 0 0.750em;
}

.book .logo {
    margin: 10% auto 10%;
}

.book .logo {
    padding: 0 1em;
    text-align: center;
}

.book h1 {
    color: #333;
    font-size: 2.4em;
    font-weight: 400;
    line-height: 1.2;
    margin: 0.867em 0 0.867em 0;
    word-spacing: -1px;
    white-space: normal;
}

.book p {
    line-height: 1.6;
    word-spacing: 1px;
    letter-spacing: 0.25px;
}

.book-right {
    border-left: 1px solid #e4ebf0;
    padding: 4em 4em 4em;
}

.btn-lg {
    margin: 20px 0 10px;
}

time {
    font-weight: 700;
}

/* article */

article img {
    margin-bottom: 20px;
}

.content, .box {
    padding: 30px;
    margin-bottom: 20px;
}

.content h1, .box h1 {
    margin-top: 0;
}

/* new cart */

.aside {
    padding: 4rem 3rem;
}

.cart-items {
    padding-right: 2rem;
    margin-bottom: 2rem;
}

.aside:before {
    width: 100%;
    left: 0;
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: #fafafa;
    content: '';
    z-index: -1;
    border-radius: 14px;
}

.cart-total {
    border-top: 1px solid rgba(175, 175, 175, 0.34);
    margin: 1rem 0;
    width: 100%;
}

.cart-total th {
    font-weight: 400;
    padding-top: 1rem;
}

.cart-total td {
    padding-top: 1rem;
    font-weight: 600;
    text-align: right;
}

.cart-total tfoot tr th {
    padding-top: 3rem;
    position: relative;
    font-size: 18px;
}

.cart-total tfoot tr td {
    position: relative;
    padding-top: 3rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.cart-total tfoot tr td:before, .cart-total tfoot tr th:before {
    background-color: rgba(175, 175, 175, 0.34);
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: 100%;
    height: 1px;
}

caption {
    font-size: 13px;
}

.cart-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 25px 0;
    border-bottom: solid 1px #ddd;
}

.cart-item > div {
    flex-basis: 10%;
    padding-left: 1rem;
}

.cart-item .cart-item-image {
    padding-left: 0;
    flex-basis: 10%;
}

.cart-item .cart-item-name {
    flex-basis: 55%;
}

.cart-amount {
    font-size: 14px;
    text-align: center;
}

.cart-items-header {
    font-weight: bold;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.cart-item-drop {
    text-align: right;
    flex-basis: 100%;
}