:root {
    --default-bg: #eee;
    --active-bg: var(--navbar-focus);
    --hover-bg: var(--pagination-bg);
    --active-txt: var(--navbar-border-top);
    --hover-txt: var(--link-focus);
}

#details img {
    width: auto;
    height: 100%;
    /* margin: 0 auto; */
    border-radius: var(--radius);
}

#details .description h4{
    margin-top: 10px;
    border-bottom: #ccc 1px solid;
}

#details .card {
    border-radius: var(--radius);
    border: 1px solid #ccc;
    background-color: white;
}

#details .card .card-header {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

#details .card .card-header h4 {
    border-bottom: 0;
    margin-top: 12px;
}

#details .card .card-footer {
    border-top: 1px solid #ccc;
    padding: 6px 0;
}

#details .card .row.selector {
    margin-bottom: 10px;
}

#details .btn-default {
    margin-bottom: 8px;
}

#details .btn-default.active {
    color: var(--active-txt);
    background-color: var(--active-bg);
    border-color: var(--button-border);
    box-shadow: 1px 1px 3px #ccc;
}

#details .btn-default:hover {
    color: var(--hover-txt);
    background-color: var(--hover-bg);
    border-color: var(--button-border);
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none;
}

#details .card .row.selector .btn {
    border-radius: var(--radius);
    margin-right: 10px;
}

.details .btn-default {
    border-radius: var(--radius);
    background-color: var(--default-bg);
}

#details textarea {
    resize: vertical;
    min-height: 36px;
    max-height: 360px;
    border-radius: var(--radius);
}

#details form .btn.col-xs-offset-1 {
    margin-left: 8.33333333%;
}

#details .quantity-with-price {
    margin: 10px 0;
}

#details .form-inline .input-group {
    width:100%;
}

#details .form-inline .input-group input {
    z-index: 2;
}

#details .form-inline .input-group input:focus {
    z-index: 4;
}

#details .input-group-addon {
    position: relative;
}

#details .input-group-addon .arrow {
    position: absolute;
    left: -4.8px;
    top: 50%;
    width: 0;
    height: 12px;
    background-color: #eee;
    transform: translateY(-50%);
    z-index: 3;
}

#details .input-group-addon .arrow:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid #eee;
    z-index: 2;
}

#details .input-group-addon .arrow:after {
    content: "";
    position: absolute;
    left: -3px;
    top: -0.5px;
    width: 0;
    height: 0;
    border-top: 6px;
    border-bottom: 6px;
    border-right: 6px;
    border-color: transparent;
    border-style: solid;
    border-right-color: #ccc;
    z-index: 1;
}

#details .btn-template-main:hover {
    color: #eeeeee;
    background-color: var(--button-border);
    border-color: var(--button-border);
}

#details .btn-template-main {
    color: #ffffff;
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

#details .img-main {
    margin: 6px 0;
}

#details .img-sub {
    margin-top: 6px;
}

#details .img-main img {
    border: 1px solid #ccc;
    width: 100%;
}

#details .img-sub label {
    border: 1px solid #ccc;
    border-radius: var(--radius);
    transition: all 0.15s ease;
}

#details .img-sub label:hover {
    border-color: var(--active-bg);
}

#details .total-price {
    border-radius: var(--radius) 0 0 var(--radius);
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
}

#details .total-price.blockquote-reverse {
    margin-left: -5px;
}

#details .table-hover tr>td:not(:first-child):hover {
    background-color: var(--hover-bg);
}

#details .table-hover tr>th:not(:first-child):hover {
    background-color: var(--hover-bg);
}

#details .table-hover tr:hover {
    background-color: #eeeeee;
}