﻿body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
}


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.imageFrame {
    width: 100%;
    padding-top: 133%; /* rectangle Ratio */
    position: relative; /* If you want text inside of it */
    text-align: center;
}

.productImg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Image Magnifier */
* {
    box-sizing: border-box;
}

.img-magnifier-container {
    position: relative;
}

.img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    border-color: silver;
    cursor: none;
    /*Set the size of the magnifier glass:*/
    width: 100px;
    height: 100px;
}

#magnifier-glass {
    font-size: 10em; /* This controls the size. */
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: 3px solid;
    border-color: silver;
    position: absolute;
    border-radius: 0.35em;
}

    #magnifier-glass::before {
        content: "";
        display: inline-block;
        position: absolute;
        right: 0.34em;
        bottom: -0.1em;
        border-width: 0;
        background: gray;
        width: 0.35em;
        height: 0.08em;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        -o-transform: rotate(135deg);
    }
/* End of Image Magnifier */

.importImageBtn {
    position: relative;
    overflow: hidden;
}

    .importImageBtn input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.videoFrame {
    width: 100%;
    height:0;
    padding-top: 56.25%; /* rectangle Ratio */
    position: relative; /* If you want text inside of it */
    text-align: center;
}

.videoImage {
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
}

.productImg-sm {
    margin-top: 20px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 30px;
}

.LikeDisLike {
    font-size: x-large;
    padding: 10px;
    color: orangered;
    outline:none;
}

.mybtn {
    padding: 10px 10px;
    background-color: orangered;
    color: white;
    border-radius: 0;
    letter-spacing: 3px;
    font-weight: bold;
    min-width: 150px;
    transition: .2s;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.mybtn:hover, .mybtn:focus {
        border: 1px solid #333;
        background-color: #fff;
        color: #000;
    }

.modal-header, .model-header h3, .close {
    background-color: silver;
    color: black !important;
    text-align: center;
    font-size: 30px;
    opacity: 1;
}

    .close:hover {
        color: white !important;
        opacity: 1;
    }

.modal-header, .modal-body {
    padding: 10px 10px;
}

/* responsive iframe*/

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* End of responsive iframe*/

/* MemhV3*/

/* _Layout Css */
#_layout #wrap {
    min-height: 90%;
    height: auto;
    /* Negative indent footer by its height */
    margin: 0 auto -60px;
    /* Pad bottom by footer height */
    padding: 0 0 80px;
}


#_layout .navbar {
    margin-bottom: 0px;
    border: 0;
    font-size: 1em !important;
    letter-spacing: 3px;
    opacity: 0.9;
    color: black;
    background-color: white !important;
    height: 180px;
}

#_layout .navbar-brand {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    margin: 0px auto 0px auto;
}

 #_layout .navbar-brand img {
        width: 150px;
        margin-left: auto;
        margin-right: auto;
    }


/* Add a black color to all navbar links */
#_layout .navbar li a {
    color: black !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1em;
}


/* On hover, the links will turn orangered */
#_layout .navbar-nav li a:hover {
    color: orangered !important;
    background-color: transparent;
    font-weight: bold;
    border-bottom: solid 2px;
    border-bottom-color: orangered;
}

/* The active link */
#_layout .navbar-nav li a:active {
    color: orangered !important;
    background-color: transparent !important;
}


#_layout #myNavbar {
    margin-top: 130px;
    margin-left: auto;
    margin-right: auto;
}

#_layout #myContent {
    margin-top: 180px;
}

#_layout footer {
    color: black;
    /*text-align: center;*/
}

    #_layout footer a {
        color: black;
    }

        #_layout footer a:hover {
            color: black;
            text-decoration: none;
        }

#_layout .mySearchBtn:hover, .mySearchBtn:focus {
    background-color: orangered;
    color: white;
}

#_layout .myiconbar {
    display: none;
}

#_layout #language {
    position: absolute;
    left: 60vw;
    top: 70px;
    padding-right: 30px;
    font-size: .8em;
}

    #_layout #language .button{
        text-decoration: none;
        color: black;
        padding-top: 0px;
        font-size: 1em;
    }

    #_layout #language a {
        color: black;
        text-decoration: none;
    }

        #_layout #language a:hover {
            color: orangered !important;
        }


#_layout #memberid {
    display: none;
}

#_layout #searchBox-lg {
    position: absolute;
    width: 28%;
    max-width:350px;
    margin-left: auto;
    top: 70px;
    font-size: .8em;
}

/* End of _Layout Css*/

/* Store/Index Css*/
#productList #title {
    margin-top: 20px;
    font-size: 2.3vmin;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#productList #price {
    font-size: 2vmin;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#productList .panel-heading {
    background-color: lightseagreen;
    color: white;
    padding-bottom: 10px;
}

#productList .panel, #productList .panel-default, #productList .panel-body, #productList .panel-heading {
    border: none;
    border-color: transparent;
    box-shadow: none;
}


#productList .media {
    border-bottom: dotted 1px;
}

    #productList .media .media-left img {
        width: 180px;
        height: 270px;
        padding-bottom: 20px;
    }

    #productList .media .media-body {
        padding-top: 20px;
        padding-left: 50px;
    }

#productList a:hover {
    color: orangered !important;
    text-decoration: none !important;
}

#productList a.active {
    color: orangered;
}


#productList .block-with-text {
    width: 100%;
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 3.6em;
    text-align: justify;
    margin-right: -1em;
    padding-right: 1em;
}

    #productList .block-with-text:before {
        content: '...';
        position: absolute;
        right: 0px;
        bottom: 0;
    }

    #productList .block-with-text:after {
        content: '';
        position: absolute;
        right: 0;
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        background: white;
    }
/* End of Store/Index Css*/

/* Store/ProductDetail Css*/
#ProductDetail .panel-heading {
    background-color: lightseagreen;
    color: white;
    padding-bottom: 10px;
    text-align: center;
}

#ProductDetail .panel-body {
    background-color: white;
}

#ProductDetail table {
    font-size: 1vw;
    margin-bottom: 20px;
}

    #ProductDetail table tr td {
        padding-right: 20px;
    }

#ProductDetail #bookDescription {
    border-top: dotted 1px;
    border-bottom: dotted 1px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#ProductDetail #relatedItems {
    border-bottom: dotted 1px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#ProductDetail pre {
    font-size: 16px !important;
    color: black;
    background: none;
    white-space: pre-wrap;
    border: none;
}

#ProductDetail .productImg:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}


/* End of Store/ProductDetail Css*/


/* MyCart CSS0*/
#myCart {
    margin-top: 50px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

    #myCart p {
        font-size: 16px;
    }

    #myCart .btn-spinner {
        background-color: orangered;
        color: white;
    }

    #myCart .panel-heading, .panel-footer {
        color: white !important;
        background-color: silver !important;
    }

    #myCart .panel-heading, .panel-footer, .panel-body {
        border: solid 1px;
        border-color: silver !important;
    }

    #myCart #cartItem {
        margin-bottom: 20px;
        border-bottom: dotted 1px;
    }

    #myCart .smallScreen {
        display: none;
    }
/* End Of My Cart CSS*/


/* Delivery Detail CSS*/
#deliveryDetail {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

    #deliveryDetail .btn-alipay {
        width: 180px;
        height: 34px;
        background-image: url('/images/AliPay Logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        border: outset 1px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    #deliveryDetail .btn-paypal img {
        background-color:transparent;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    #deliveryDetail .btn-visa {
        width: 180px;
        height: 34px;
        background-image: url('/images/Visa Logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        border: outset 1px;
    }
/* End of Delivery Detail*/


/* Payment Confirmation CSS */
#paymentConfirmation {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


    #paymentConfirmation #header p {
        margin: 0px;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
    }

    #paymentConfirmation #itemHeader div {
        margin-top: 20px;
        margin-bottom: 10px;
        font-weight: bold;
    }
/* End Of Payment Confirmation*/

/* VideoList Css*/
#videoList .panel-heading {
    background-color: lightseagreen;
    color: white;
    padding-bottom: 10px;
}

/* End of Video List*/

/* Centralize the manu bar */
@media (min-width: 768px) {

    #_layout .nav.navbar-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    #_layout .navbar-nav {
        float: none;
    }
}


/*
@media (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    
    #_layout #searchBox-lg {
        width: 50px !important;

    }
}
*/

.cartBadge {
    background-color: red;
    color: #fff;
    opacity: 0.8;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width:1024px) {

    #_layout .navbar-nav li a, .navbar {
        color: black !important;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
    }

    /* hide magnifier glass*/
    #magnifier-glass {
        width: 0px;
        height: 0px;
        border: none;
        display: none;
    }
}

    /* Hide/rearrange for smaller screens */
    @media screen and (max-width: 767px) {
        /* hide magnifier glass*/
        #magnifier-glass {
            width: 0px;
            height: 0px;
            border: none;
            display: none;
        }

        /* Hide captions */
        .carousel-caption {
            display: none;
        }

        /* _LayOut Css*/
        #_layout .navbar {
            margin-bottom: 0px;
            border: 0;
            font-size: 15px !important;
            letter-spacing: 3px;
            opacity: 0.9;
            color: black;
            background-color: white !important;
            height: 130px;
        }

        #_layout #myNavbar {
            margin-top: 60px;
            margin-left: auto;
            margin-right: auto;
        }

        #_layout .navbar-brand img {
            width: 30%;
            max-width: 100px;
        }
        /* Add a gray color to all navbar links */
        #_layout .navbar li a, .navbar {
            color: black !important;
            padding-left: 5px;
            padding-right: 5px;
            font-size: 14px;
            background-color: white !important;
        }
        /* On hover, the links will turn orangered */
        #_layout .navbar-nav li a:hover {
            color: orangered !important;
            background-color: white;
            font-weight: bold;
            border-bottom: solid 2px;
            border-bottom-color: orangered;
        }
        /* The active link */
        #_layout .navbar-nav li.active a {
            color: orangered !important;
        }

        #_layout #myContent {
            margin-top: 130px;
            padding-left: 20px;
            padding-right: 20px;
        }

        #_layout .navbar-nav {
            letter-spacing: 1px;
        }

        #_layout .navbar-brand span {
            display: none;
        }

        #_layout .myiconbar {
            display: block;
        }

        #_layout .navbar-toggle {
            top: 80px;
            position: relative;
            color: white !important;
            background-color: white !important;
            opacity: 0.9;
            z-index: 99;
        }

            #_layout .navbar-toggle .icon-bar {
                margin-left: 20px;
                color: black;
                width: 22px;
                transition: all 0.2s;
                background-color: black !important;
            }

            #_layout .navbar-toggle:hover .icon-bar {
                background-color: orangered !important;
            }


            #_layout .navbar-toggle:hover {
                background: white !important;
            }


            #_layout .navbar-toggle .top-bar {
                transform: rotate(45deg);
                transform-origin: 10% 10%;
            }

            #_layout .navbar-toggle .middle-bar {
                opacity: 0;
            }

            #_layout .navbar-toggle .bottom-bar {
                transform: rotate(-45deg);
                transform-origin: 10% 90%;
            }

            #_layout .navbar-toggle .icon-Text {
                opacity: 0;
            }

            #_layout .navbar-toggle.collapsed .top-bar {
                transform: rotate(0);
            }

            #_layout .navbar-toggle.collapsed .middle-bar {
                opacity: 1;
            }

            #_layout .navbar-toggle.collapsed .bottom-bar {
                transform: rotate(0);
            }

            #_layout .navbar-toggle.collapsed .icon-Text {
                color: black;
                opacity: 1;
            }

        #_layout .myiconbar {
            position: relative;
            top: 95px;
            color: black;
            height: 30px;
            margin-left: auto;
            margin-right: auto;
            background-color: white;
        }

            #_layout .myiconbar div {
                float: left;
                border-left: solid 1px;
                border-left-color: black;
            }

            #_layout .myiconbar a {
                color: black;
                font-size: 2vw;
            }

                #_layout .myiconbar a:hover {
                    color: orangered;
                }

        #_layout #memberid {
            position: absolute;
            display: block;
            margin-top: 20px;
            margin-left: 20px;
            font-size: 2vw;
        }

        #_layout footer {
            padding-left: 20px;
            padding-right: 20px;
        }

            #_layout footer p {
                font-size: 12px;
            }

        #_layout #searchBox-lg {
            display: none;
        }

        #_layout #language {
            display: none;
        }

        /*End of _Layout Css*/

        /*Store/Index Css*/
        #productList #ProductCategories {
            display: none;
        }
        /*End of Store/Index Css*/

        /* My Cart CSS*/
        #myCart .notshow {
            display: none; /*Hide the carousel text when the screen is less than 600 pixels wide */
        }

        #myCart .smallScreen {
            display: block;
        }

        #myCart {
            margin-top: 20px;
        }
        /* End Of My Cart CSS*/
    }


