* {
    -moz-box-sizing: border-box;
}

body{
        font-size:12px;
        text-align:center;
        margin:0px;
}

/* global styles */
a { color:#693B0B; text-decoration:none; }
a:hover { text-decoration:underline; }
a img { border:0px; }
form { margin:0px; }
hr { background:none; height:1px; border:0px; border-top:1px solid #ccc; }


/* Container which encloses the whole site to allow easy width change */
#container,#wrap {
        width:790px;        /* change value to adjust width */
    background-image:url('http://www.alayamlibrary.com/images/bc.jpg');
        text-align:right;
        margin:0px auto;
        font-size:12px;
    font-weight: bold;
        font-family:Verdana, Arial, Helvetica, sans-serif;
}

/* Logo and minicart */
#header {
        padding:5px 0px;
        border:1px solid #e5e5e5;
        /*margin-bottom:10px;*/
}
#header table {
        border-collapse:collapse;
        width:100%;
}
#header img {
        margin:0px 10px;
}
#header td.headerlinks { /* mini cart */
        width:300px;
        text-align:right;
        vertical-align:middle;
        margin-top:15px;
        color:#999;
        font-family:Tahoma, Arial, Helvetica, sans-serif;
        font-size:110%;
        padding-right:10px;
}
#header a {
        text-decoration:none;
        color:#1981b7;
        font-weight:bold;
}
#header a:hover { text-decoration:underline; }

/*formats the mini cart subtotal  in the right menu*/
.cartsubtotalminicart{
        color: #000000;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: x-small;
        font-style: normal;
        font-weight: bold;
        text-align: right;
}

/*formats the links in the minicart*/
.cartminilinks{
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: bold;
        text-align: right;
}
.cartminilinks a:link{
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        text-align: right;
}
.cartminilinks a:visited{
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        text-align: right;
}
.cartminilinks a:hover{
        color: #FF0000;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        text-align: right;
}
.cartminilinks a:active{
        color: #693B0B;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        text-align: right;
}

/* Encloses all content area under header */
#wrap {
        padding:5px;
        border:0px;
}

/* Horizontal navigation */
#nav {
        background:white;
        border:0px solid #EEEEEE;
        width:100%;
}

table#horiz_nav {        /* table is generated via shopa_navigation_create.asp */
        padding:0px;
        width:100%;
        border-collapse:collapse;
}

table#horiz_nav td {
        text-align:right;
        font-family:Verdana, Arial, Helvetica, sans-serif;
        padding:0px;
}

table#horiz_nav td a {
        display:block;
        text-align:center;
        padding:8px 0px;
        color:#1981b7;
        text-decoration:none;
        font-size:80%;
        text-transform:uppercase;
        border-right:0px solid #EEEEEE;
}
table#horiz_nav td.last a { border-right:0px; }
table#horiz_nav td a:hover { color:#000; }

/* Horizontal navigation drop down menu
   do not remove or modify styles listed
   under "Do Not Change" */
table#horiz_nav ul {
        /* Do not change  */
        position:absolute;
        right: -999em;
        padding:0px;
        margin:0px;
        list-style-type:none;

        /* Styles */
        background:white;
        border-right:1px solid #eee;
        text-align:right;
        width:150px;
}

/* Do not change  */
#horiz_nav td:hover ul { right: auto; }
#horiz_nav td.sfhover ul { right: auto; }

#horiz_nav ul li { /* submenu */
        /* Do not change */
        display:block;
        width:100%;
        margin:0px;

        /* Styles */
        line-height:22px;
        text-transform:capitalize;
}

table#horiz_nav ul li a { /* submenu links */
        /* Do not change */
        display:block;

        /* Styles */
        padding:0px 10px !important;
        border-bottom:1px solid #EEEEEE;
        border-right:0px;
        text-align:right;
}

/* Utility bar includes login links
   welcome note and quick search box */
#utilbar {
        text-align:center;
        background:#eee;
        padding:10px;
        border-bottom:5px solid #D7D7D7;
}

#utilbar table {
        border-collapse:collapse;
        width:100%;
}

#utilbar td {
        padding:5px 0px;
        text-align:center;
        vertical-align:middle;
        width:33.3%;
        font-size:80%;
        border-right:2px dotted #E5E5E5;
        font-weight:bold;
}

#utilbar td.last { border:0px; }        /* remove border from the last column */
#utilbar form { display:inline; }
#utilbar a { color:#1981b7; text-decoration:none; }
#utilbar a:hover { text-decoration:underline; }

/* Encloses all content area under utilbar */
#all {
        margin-top:5px;
        padding-bottom:5px;
}

/* Left column- categories, currency, language etc */
#left {
        /* Styles */
        width:25%;        /* Change to alter width of right column */
}

#left h2 {

        color:#CC3300;
        margin:0px;
        padding:0px 10px;
        font-size:110%;
        font-family:Verdana, Arial, Helvetica, sans-serif;
        font-weight:bold;
}

#left .box {                /* General style of each box in left column */
        padding:20px 1px;
        font-size:10%;
        border:0px solid #693B0B;
        margin-bottom:5px;
}

#left .box p {
        margin:0px;
        padding-bottom:10px;
}

#left ul {                /* General style of list style in left column; including category listing */
        list-style-type:none;
        padding:10px 15px;
        margin:0px 0px 5px 0px;
        line-height:22px;
        font-size:18px;
        border:0px solid #eee;

}

/* Extra styles for category navigation */
#catnav ul { margin:10px 15px; }

/* Main content area */
#main {
        text-align:center;
}

#main table td { text-align:right; }
#main td { font-size:15px; }
#main td td { font-size:15px; }

/* Top content box on home page */
#homecontent {
        border:0px solid #D7D7D7;
        padding:20px;
        color:#693B0B;
        margin-bottom:5px;
        text-align:right;
}

#homecontent h1 { color:#693B0B; }
#homecontent p { margin-right:180px; }
#homecontent img { margin-right:10px; }

/* content area styles */
#content {
        padding:0px 10px 10px 10px;
        text-align:right;
}

/* Footer */
#footer {
        background:#593312;
        padding-bottom:0px;
        text-align:center;
        color:#593312;
        font-size:100%;
        clear:both;
}

/* Alphabet listing */
#footer .alphabet {
        background:#593312;
        margin-bottom:0px;
        padding:0px 0px;
        font-size:90%;
        font-family:Arial, Helvetica, sans-serif;
}

#footer a {
        color:#454545;
        font-weight:bold;
        text-decoration:none;
}

#footer a:hover {
        text-decoration:underline;
}

/*formats the search box in header file.*/
.searchfield{
        background-color: #F6E9CE;
        border-bottom-color: #000000;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-left-color: #000000;
        border-left-style: solid;
        border-left-width: 1px;
        border-right-color: #000000;
        border-right-style: solid;
        border-right-width: 1px;
        border-top-color: #000000;
        border-top-style: solid;
        border-top-width: 1px;
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
}

/*formats the display of the form elements throughout the front end*/
.imgbtn { border:0px; }

.txtfield{
        background-color: #FAF0DD;
        border-bottom-color: #000000;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-left-color: #000000;
        border-left-style: solid;
        border-left-width: 1px;
        border-right-color: #000000;
        border-right-style: solid;
        border-right-width: 1px;
        border-top-color: #000000;
        border-top-style: solid;
        border-top-width: 1px;
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: x-small;
        font-style: normal;
        font-weight: normal;
}

.txtfielddropdown{
        background-color: #FAF0DD;
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: x-small;
        font-style: normal;
        font-weight: normal;
        border:1px solid #714A2D;
}

.submitbtn {
   color:#FFFFFF;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   background-color: #DE2626;
   font-size: x-small;
   font-weight: bold;
   border:1px solid #aaaaaa;
}

/* General styles */
.menuhdr{
        font-family: Verdana, Arial, Helvetica, sans-serif;
        background-color : #996633;
        color : #F0E4CF;
        font-size : x-small;
        font-weight : bold;
        padding : 3px 5px;
        text-align : right;
}

.menubdr{
        background-color : #B3B7BB;
}

.dashed{
        border-left : 1px solid #EAD4A3;
        border-right : 1px solid #EAD4A3;
        border-bottom : 1px solid #EAD4A3;
        background-color : #F7E9D0;
}

/* Left menu styles; no longer used in 6.50 */
.leftmenumain a{
        border-top : 1px solid #C7A162;
        display: block;
}
.leftmenumain{
        background-color: #F7F7F7;
        color: #000000;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: x-small;
        font-style: normal;
        font-weight: bold;
        text-align: right;
}
.leftmenumain a:link{
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        padding-bottom: 7px;
        padding-left: 4px;
        padding-top: 6px;
        text-align: right;
        text-decoration: underline;
        width: 100%;
}
.leftmenumain a:visited{
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        padding-bottom: 7px;
        padding-left: 4px;
        padding-top: 6px;
        text-align: right;
        text-decoration: underline;
        width: 100%;
}
.leftmenumain a:hover{
        background-color: #EEEEEE;
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        padding-bottom: 7px;
        padding-left: 4px;
        padding-top: 6px;
        text-align: right;
        text-decoration: none;
        width: 100%;
}
.leftmenumain a:active{
        color: #333333;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: xx-small;
        font-style: normal;
        font-weight: normal;
        padding-bottom: 7px;
        padding-left: 4px;
        padding-top: 6px;
        text-align: right;
        text-decoration: underline;
        width: 100%;
}
.dottedBorder {
        border: 1px dotted #cccccc;
        background-color: #F9F9F9;
        padding: 5px
}

/*formats the header text throughout the site*/
.txtheader{
        color: #000000;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: x-small;
        font-style: normal;
        font-weight: bold;
}

.hdrproduct{
        color: #000000;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 15px;
        font-style: normal;
        font-weight: bold;
}

/* Styles to be use in 6.50 */
#main {
        font-size:15px;
        line-height:14px;
        width:70%;
}

/* breadcrumbs */
div.breadcrumb {
        text-align:right;
        color:#000;
        font-size:100%;
        margin-bottom:30px;
}

div.breadcrumb a {
        color:#1981B7;
        text-decoration:none;
}
div.breadcrumb a:hover {
        color:#175D7F;
        text-decoration:underline;
}

/* Main area text styles */
#main h1 {
        font-family: Arial, Helvetica, sans-serif;
        font-size:19px;
        font-weight : bold;
        margin:0px 0px 15px 0px;
        color:#175D7F;
        text-align:right;
        text-transform:capitalize;
}

#main h2 {
        text-align:right;
        margin:0px 0px 10px 0px;
        font-family:Arial, Helvetica, sans-serif;
        font-size:130%;
        text-transform:capitalize;
}

#main h2.picheader { /* Heading style for headings with picture, e.g. shopcustomer.asp */
        background-position:201% 50%;
        background-repeat:no-repeat;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-weight : bold;
        color:#333;
        font-size:12px;
        border-top:0px solid #CCCCCC;
        border-left:0px solid #CCCCCC;
        border-right:0px solid #CCCCCC;
        text-align:right;
        padding:10px 50px 10px 50px;
        margin:0px;
}

/* compare products styles */
.applyoverflow {
        overflow-x:auto;
        overflow-y:hidden;
        width:100%;
        padding-bottom:50px;
}

table.tbl_compare {
        width:100%;
        border-collapse:collapse;
        border:0px;
}

table.tbl_compare td {
        vertical-align:top;
        text-align:right;
        padding:0px 10px;
}

table.tbl_compareproduct {
        border-collapse:inherit;
        line-height:18px;
}

table.tbl_compareproduct td {
        padding:3px 0px;
}

/* Customer service and Affiliate service page (shopcustadmin.asp,shopaffadmin.asp) */
table.customerservice {
        width:100%;
        background:#F9F9F9;
        border:1px solid #CCCCCC !important;
        margin-bottom:10px;
        border-collapse:collapse;
}

table.customerservice th {
        height:35px;
        background-position:1% 50%;
        background-repeat:no-repeat;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-weight : bold;
        color:#333;
        font-size:12px;
        border-bottom:1px solid #CCCCCC;
        background-color:RED;
        text-align:right;
        padding-left:50px;
        vertical-align:middle;
}

table.customerservice td {
        padding:10px;
}

table.customerservice ul {
        margin:0px;
        padding:0px 10px 0px 25px;
}

/* standard table display */
.std_table {
        border:0px solid #CCCCCC !important;
        margin-bottom:10px;
        padding:10px;
        text-align:right;
        vertical-align:top;
        line-height:20px;
        font-size:12px;
}

.std_table table {
        border-collapse:collapse;
        width:85%;
}

.std_table th {
        vertical-align:top;
        padding:0px 10px 0px 0px;
        width:35%;
        font-weight:normal;
}
.std_table td {        padding:0px 5px 0px 0px; }

/* Category table (shopdisplaycategories.asp) */
table.tbl_category td {        text-align:center; }

/* shopcustomer.asp form */
table.tbl_customer {
        width:80%;
}

table.tbl_customer th {
        width:35%;
        vertical-align:top;
        text-align:right;
        font-weight:normal;
}

table.tbl_customer td {
        vertical-align:top;
        text-align:right;
}

table.tbl_customer iframe {        /* refer to shoplicense.htm for changing license styles */
        width:100%;
}

table.tbl_subproduct {
        border-collapse:collapse;
        margin-right:2px;
        margin-bottom:2px;
        border:1px solid #ddd;
        background:#F7F7F7;
        text-align:center;
        width:100px;
        float:right;
}

table.tbl_subproduct td {
        padding:3px 5px;
}

/* General override styles */
.ac { text-align:center !important; }
.ar { text-align:right !important; }
.al { text-align:right !important; }
.fr { float:right !important; }
.fl { float:right !important; }
.vt { vertical-align:top !important; }
.vm { vertical-align:middle !important; }
.vb { vertical-align:bottom !important; }
.cb {
        clear: both;
        display: block;
        font: 1px/0px serif;
        content: ".";
        height: 0;
        visibility: hidden;
}
.smlpad { padding:15px !important; }
