﻿BODY
{
	font-size: 12px;
	color: black;
	margin: 0px;
}
ul, li {	margin: 0; padding: 0; border: 0; outline: 0; list-style:none; text-decoration:none;}
li{ text-align:left;}

TD { FONT-SIZE: 12px; }
TH { FONT-SIZE: 12px; }
A:link {
    COLOR: #845055;
    text-decoration: none;
}
A:visited {
    COLOR: #845055;
    text-decoration: none;
}
A:hover {
    COLOR: #ff6600;
    text-decoration: none;
}
A:active {
    COLOR: #ff6600;
    text-decoration: none;
}
img
{
	border-width: 0px;
}
.NavButton{
    width:20px;
    height:20px;
}
/* Buy.Master */
div#loading {
    display: none;
    position: fixed !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    background: white url(../Images/loading.gif) no-repeat center center;
    background-size: 20%;
    opacity: 0.8;
    filter: alpha(opacity=80);
    font-size: 14px;
    line-height: 20px;
}

    div#loading p#loading-one {
        color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: 20px 0 0 -50px;
        padding: 3px 10px;
    }

.owl-prev {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 0;
}

.owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    right: 0;
}

.owl-dot button {
    border-radius: 50%;
    margin: 0 5px;
}
.active button {
background-color:lightgray;
}
/**** NewBookAnnounce.aspx *************/
#MainBox .ActTitle {
    padding: 10px;
    color: #800000;
}
#MainBox #ActIntro
{
font-family:"微軟正黑體"; 
font-size: 120%;
	background-color: #F0FFF0;
	padding: 10px;
}

#MSG_Box{border-style: double; border-width: thin; padding: 10px; height: 200px}

#debugLog
{
	border-style: double;
	border-width: thin;
	padding: 10px;
	height: 180px;
	overflow: scroll;
	display: none;
}

#MSG_Box span
{
	padding: 10px;
	color: #800000;
}

#UserAnsResultSet table
{
	border: thin groove #000000;
	padding: 2px;
	 
}
#UserAnsResultSet table thead
{
	background-color: #CCFFCC;
}

.ActNoteBox
{
	border: 1px solid #CCFFCC;
	padding: 10px;
	scrollbar-face-color:#FFFFFF;

}


.btnAdd, .btnDel, .btnEdit, .btnOther, .btnCancel {
    color: #FFF;
    padding: 2px 10px 5px 10px !important;
    height: 27px !important;
    cursor: pointer;
}

.btnAdd {
    border: 1px groove #008000;
    background-color: #009933;
    padding: 2px !important;
}

.btnDel {
    border: 1px groove #FF33CC;
    background-color: #FF0000;
    padding: 2px !important;
}

.btnEdit {
    border: 1px groove #FFCC66;
    background-color: #FF9933;
    padding: 2px !important;
}

.btnOther {
    background-color: #0066FF;
    border: 1px groove #99CCFF;
    padding: 2px !important;
}

.btnCancel {
    background-color: #807C5B;
    border: 1px groove #333399;
    padding: 2px !important;
}

.ErrorMSG {
    color: Red;
    border-width: 1px;
    padding: 10px !important;
    background-color: #CCC;
}

.ErrorMSG-Big {
    color: Red;
    border-width: 1px;
    font-size:x-large;
    padding: 10px !important;
    background-color: #f2fb16;
}
.tableProduct td{
    vertical-align:top;
}
div .Marquee {
    width: 10000px;
    height: 36px;
    position: relative;
    animation: MarqueeText 50s infinite;
    animation-direction: normal;
    animation-delay: 4s;
}

    div .Marquee:hover {
        animation-play-state: paused;
    }

    div .Marquee div {
        width: 1000px;
        text-align: left;
        float: left;
    }

@keyframes MarqueeText {
    0% {
        left: 0px;
    }

    10% {
        left: -1000px;
    }

    20% {
        left: -2000px;
    }

    30% {
        left: -3000px;
    }

    40% {
        left: -4000px;
    }

    50% {
        left: -5000px;
    }

    60% {
        left: -6000px;
    }

    70% {
        left: -7000px;
    }

    80% {
        left: -8000px;
    }

    90% {
        left: -9000px;
    }
}

/*Default*/
div.Main {
    width: 100%;
    max-width: 1000px;
    margin:auto;
}

/*DefaultMain*/
div.HomePageTitle {
    width: 100%;
    max-width: 1030px;
    height: 80px;
    background-image: url("../Images/HomePageTitle_Background.png");
    background-position-y: 5px;
    background-repeat: repeat-x;
}
    div.HomePageTitle img {
        width: 100%;
        max-width: 1030px;
    }
    div.HomePageTitle span {
        width: 250px;
        height: 78px;
        display: block;
        float: left;
        margin-left: -36px;
    }
    div.HomePageTitle a {
        display: block;
        float: right;
        font-size: x-large;
        font-weight: bolder;
        margin-top: 40px;
        margin-right:40px;
        color:white;
    }
    div.HomePageTitle span#BuyBarPreBuyBooks {
        background-image: url('../Images/BuyBarPreBuyBooks.png');
        background-position-y: 1px;
        background-repeat:no-repeat;
    }
    div.HomePageTitle span#BuyBarNewBooks {
        background-image: url('../Images/BuyBarNewBooks.png');
    }
    div.HomePageTitle span#BuyBarCustMakeBooks {
        background-image: url('../Images/BuyBarCustMakeBooks.png');
        background-position-y: -3px;
    }

/*列舉商品概要*/
div#ShowProducts {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.divProductRow {
    width: 100%;
    margin:auto;
    background-color: rgb(206,179,139);
    padding: 10px 5px;
    box-sizing: border-box;
}

.divProductBox {
    float: left;
    width: 160px;
    display: inline-block;
}

.divProductImg {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    height:180px;
}

    .divProductImg img {
        display: block;
        margin: auto;
        width: 70%;
        max-height:180px;
    }

.divProductPrice {
    float: left;
    width: 40px;
    height: 130px;
    margin-top: 5px;
}

.liProductTitle {
    padding-bottom: 5px;
}

.liProduct {
    margin: 3px 3px 3px 3px;
    width: 100%;
}

.ProductType {
    display: inline-block;
    color: black;
    border: 1px solid black;
    margin: 3px;
    padding: 2px;
}

.ProductTitle {
    color: black;
    margin: 3px 3px 3px 3px;
    min-width: 70%;
    height:40px;
    text-align: center;
}

.Author {
    color: #fff;
    margin: 3px 3px 3px 3px;
    min-width: 70%;
    max-width: 90%;
    text-align: center;
}

.liProduct img {
    float: left;
}

/*MyCart*/
div#MyCart_OrderDetail {
    width: 100%;
    max-width: 1000px;
}
    div#MyCart_OrderDetail > div:nth-child(n) {
        display: inline-block;
        width: 100%;
        margin: auto;
        border: #ff9900 1px solid;
        padding: 10px;
        line-height: 15px;
    }
    div#MyCart_OrderDetail div.MyCartTitle {
        background-color: #ffffcc;
        height: 35px;
    }
    div#MyCart_OrderDetail div.input-group-prepend{
    }
        div#MyCart_OrderDetail div.input-group-prepend span {
            font-weight: bold;
            display: inline-block;
            width: 120px;
            text-align: right;
        }
    div#MyCart_OrderDetail span.Note {
        color: darkred;
        line-height:30px;
        margin-left:10px;
    }
    div#MyCart_OrderDetail label {
        font-weight: bold;
        width: 120px;
        text-align: right;
        border: 1px solid #ced4da;
        padding: 3px;
        background-color: #e9ecef;
    }
        div#MyCart_OrderDetail label + input[type='radio'], input[type='checkbox'] {
            width: 30px;
        }
