﻿/* Tags */

body {
    padding-top: 60px;
    background-color: #f9f9f9;
}

textarea {
    resize: none;
}

h3 {
    margin-top: 0px;
}

/* Bootstrap overrides */

.input-group-addon {
    padding: 3px 8px;
    background-color: #f9f9f9;
    border-color: #919ca5;
}

.panel {
    background-color: #FFFFFF;
    border-color: #B3B3B3;
    border-radius: 5px;
}

.btn {
    border-width: 1px;
    border-color: #919ca5;
    height: 25px;
    font-size: 13px;
    padding: 2px 10px;
}

.big-btn {
    padding: 6px 12px !important;
    height: inherit !important;
}

.form-control, .btn {
    border-width: 1px;
    border-color: #919ca5;
    padding: 2px 10px;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #EFEFEF;
    opacity: 1;
    border-color: #D4D4D4;
}

.table {
    margin-bottom: 0px;
}

.navbar {
    background-color: #31497f;
    border-radius: 0;
}

.navbar-default {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

@media (max-width: 767px) {
    .navbar .navbar-right .dropdown.open li {
        color: #fff;
    }
}

.panel-primary > .panel-heading {
    color: #ffffff;
    background-color: #2B6CB0;
    border-color: #2B6CB0;
}

/* Project styles */

.logo-section {
    margin-top: -62px;
    background: #fff;
    padding: 7px 0;
}

.sapna-btn-primary {
    background: #1b3444b8;
    color: #fff;
    border-color: #1b3444b8;
}

.success-text {
    color: green;
}

.text-success {
    color: #378fcb
}

.badge {
    background-color: #0862a0
}

.progress-bar {
    background-color: #0862a0
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.clickable {
    cursor: pointer;
}

.body-content {
    padding-top: 8px;
}

.dashboard-block-panel {
    background: #bdd4e2
}

.icon {
    color: #0862a0
}

img {
    max-width: 100%;
    height: auto;
}

.item {
    width: 150px;
    min-height: 120px;
    max-height: auto;
    margin: auto;
    display: block;
}

.title-image {
    width: 200px;
    min-height: 120px;
    max-height: auto;
    /*margin: auto;
    display: block;*/
}

.no-margin-top-h {
    margin-top: 0px;
}

.soyon-btn {
    background: #ffa200;
    color: #fff;
    border-color: #ffa200;
}

.panel-hover {
    transition: box-shadow .3s;
    border-radius: 5px;
    border: 1px solid #ccc;
}

    .panel-hover:hover {
        box-shadow: 1px 1px 1px 1px #ccc;
    }

.imgtag {
    padding: 10px;
    max-width: 160px;
    width: 100%;
    display: inline-table;
    max-height: 230px;
    height: 210px;
    margin-top: 4px;
    text-align: left;
}

    .imgtag:hover {
        border-radius: 4px;
    }

    .imgtag > img {
        border-radius: 4px;
        max-height: 150px
    }

.price > span {
    display: inline-block;
    width: 45%;
}

.price .old {
    color: gray;
    text-decoration: line-through;
    text-align: right;
}

.price .new {
    color: #B12704;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
}

.price .splitter {
    width: 10px;
}

.btn-link {
    margin: 0;
    padding: 0;
    border: 0;
}

a, .btn-link {
    color: #0066c0;
    text-decoration: unset;
}

a:hover, .btn-link:hover {
    color: #0066c0;
    text-decoration: underline;
}

.title {
    padding-top: 7px;
}

.logo-section {
    margin-top: -60px;
    background: #fff;
    padding: 7px 0;
}

.carousel {
    height: 350px;
    margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel .item {
    width: 100%;
    height: 350px;
    background-color: #777;
}

.carousel-inner > .item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 350px;
}

@media (min-width: 768px) {
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }
}

.search-bar {
    padding: 9px 10px;
    margin-top: 9px;
    margin-bottom: 9px
}

.scrollable-div {
    width: 100%;
    height: 950px;
    overflow: scroll;
}

.category_block a:hover {
    background-color: #0173bc;
}

.category_block a:hover {
    color: #ffffff;
}

.category_block a {
    color: #343a40;
}

.primary-darker-text {
    color: #004775;
}

h3 > small {
    color: #0173bc;
}

.pb-0 {
    padding-bottom: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.vl-r {
    border-right: 1px solid #c3baba;
}

@media(min-width: 992px) {
    .vl-l {
        border-left: 1px solid #c3baba;
    }
}

.breadcrumb {
    background-color: inherit;
    padding-left: 0px;
}

.book-name-mobile {
    width: 100%;
    font-size: 20px !important;
    line-height: 1.5 !important;
    display: inline-block;
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.book-name {
    width: 135px;
    font-size: 12px !important;
    line-height: 1.5 !important;
    display: inline-block;
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.book-author {
    width: 135px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px !important;
    line-height: 1.5 !important;
    text-decoration: none;
    color: #888888;
}

.book-price {
    margin-top: 0px;
    margin-bottom: 0px;
}



@media (min-width:1200px) {
    .navbar {
        min-height: 36px;
        height: 36px;
        margin-bottom: 0px;
    }
}

.navbar-nav > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
}

.lean-hr {
    margin: 15px 0;
}

.selected-options {
    /*
    background-color: #e7f3ca;
    */
}

.selected-shipment {
    background-color: #e7f3ca;
}

.f-12 {
    font-size: 12px;
}

.f-16 {
    font-size: 16px;
}

.book-type {
    border: 1px solid #a2a2a2;
    padding: 2px;
    border-radius: 4px;
}

.row-valign-baseline {
    display: flex;
    align-items: baseline;
}

.row-valign-center {
    display: flex;
    align-items: center;
}

.banner {
    height: 22px;
}

.banner-red {
    background: #ba1a1a;
    color: #fff;
}

.banner-gray {
    background: #2e2e2e;
    color: #fff;
}


.book-image {
    height: 172px;
    display: flex;
    background-color: white;
}

.book-image-auto-size {
    min-height: 172px;
    display: flex;
    background-color: white;
}

.book-image > img, 
.book-image-auto-size > img {
    object-fit: contain;
    object-position:left;
}

.btn-primary-outline {
    border-color: #2c3e50;
    background-color: #fff;
    color: #2c3e50;
}

.btn-primary-outline:hover, .btn-primary-outline:focus {
    background-color: #2c3e50;
}

.btn-danger-outline {
    border-color: #e74c3c;
    background-color: #fff;
    color: #e74c3c;
}

.btn-danger-outline:hover, .btn-danger-outline:focus {
    background-color: #e74c3c;
}

.item-image-zoom {
    max-height: 400px;
    max-width: 400px;
}

.cart-item-line {
    margin-bottom: 10px;
}

.cart-item-ok {
    border: 0;
    background: white;
}

.cart-item-error {
    background-color: papayawhip;
}

.btn-normal-height {
    height: 36px;
}

.checkbox-readonly {
    pointer-events: none;
}

tfoot {
    font-weight: bold;
}

.logo {
    max-height: 69px
}

.select2-results__option[aria-selected=true] {
    display: none;
}