/* Start of CMSMS style sheet 'Ayebia Layout: Top menu + 2 columns' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Helvetica, Geneva, Verdana, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #9f0004; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #9f0004;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   background-color: inherit;
   color: #9f0004;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #333;
   margin:0em; /* gives some air for the pagewrapper or make it tight*/
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;     /* this centers wrapper */
   width: 880px; 
   /* taken out min max - so ignore this bit... IE wont understand these, so we will use javascript magick */
   background-color: #fff;;
   color: #333;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 120px; /* adjust according your image size */
   background: #000 url(images/ayebia-header.jpg) no-repeat 0 0; 
}

div#header h1 a{
/* you can set your own image here */
   display: block; 
   height: 70px; /* adjust according your image size */
   width: 205px;
   border: 0px solid yellow; 
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   position: absolute;   
   margin: 35px 0px 0px 10px;
}

div#header h1 a:hover{
   background: transparent;
}



div#search {
   float: right;
   width: 27em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: -150px 1em;
}

div#search label{
display: none;
}

div.breadcrumbs {
   padding: .8em 0 .8em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #aaa;
   text-indent: 10px;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }


div#content {
   margin: 11px auto 2em 0; /* some air above and under menu and content */
}

div#main {
   margin-left: 10px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 10px; /* and some air on the right */
width: 570px;
}

div#mainhome {
   margin-left: 10px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 10px; /* and some air on the right */
width: 570px;
}


div#sidebar {
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 280px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-right: 0px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #333;
   background: #fff url(images/footer-background.jpg) repeat-x 0 0; 
   width: 880px;
height: 80px;

}


div#footer-tel {
width: 480px; float: left; display: inline;
font-size: 18px;
font-family: Georgia, Serif;
margin: 15px 0px 0px 5px;
padding: 0px;
line-height: normal;
color:#484848;
}

div#footer-nav {
width: 480px; float: left; 
font-family: Arial, sans-serif;
font-size: 12px;
margin: 0px;
padding: 0px;
margin-top: -20px;

}

div#footer-nav ul li{
display: inline; list-style: none;
font-size: 90%;
}

div#footer-nav  li a{
margin-right: 5px;
margin-left: 5px;
color:#4a4a4a;
}

div#footer-arts {
width: 250px; float: right; display: inline;
margin: 5px 10px 0px 0px;
font-size: 90%;
height: 60px;
}

div#footer-arts p{ margin-top: 15px;
color:#4a4a4a;

}

div#copyright {
text-transform: uppercase;
font-size: 90%;
float: left;
display: inline;
}

div#website {
text-transform: lowercase;
font-size: 90%;
float: right;
display: inline;
}


div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */

h2, h3, h4, h5, h6 {font-family: Georgia, serif; }
div#menu_horiz h3  {font-family: Arial, Helvetica, Geneva, Verdana, sans-serif;}


div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #000; 
   font-size: 18px; 
   text-align: left; 
   line-height: 30px;
/* and some air under the border */
   margin: 0 ;
   background: #e6e6e6 url(images/h2-background.jpg) repeat-x 0 0;
text-indent: 10px; 
font-weight: normal;
}

div#content div#main h2 { margin-bottom: 10px;}

div#content div#newsevents h2 {
   color: #fff; 
   background: #8C271B url(images/h2-news.jpg) repeat-x 0 0;
   text-indent: 10px; 
}

div#content div#beckysblog h2 {
   color: #000; 
   background: #F8DE15 url(images/h2-beckysblog.jpg) no-repeat 0 0;
   text-indent: 30px; 
}

div#content div#caribbeanblog h2 {
   color: #fff; 
   background: #e6e6e6 url(images/h2-caribbeanblog.jpg) no-repeat 0 0;
   text-indent: 30px; 
}

div#content div#tagbox h2 {
   color: #fff; 
   background: #8C271B url(images/h2-news.jpg) repeat-x 0 0;
   text-indent: 10px; 
}

div#tagtextbox {
  border-bottom: 10px solid #741B13; border-left: 10px solid #741B13;  border-right: 10px solid #741B13; padding: 10px 10px 0px 10px;	line-height: 180%;
} 

div#tagtextbox p{
 line-height: 2em; font-family: georgia, serif;
} 

div#content h3 {
   color: #000; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
font-weight: normal;
}



div#content h3.h3booktitlesmall{
	line-height: 16px;
        font-size: 12px;
font-weight: bold;
margin-bottom: 0;
}

div#content p.homesmall{
	line-height: 16px;
        font-size: 12px;
margin: 0;
padding: 0;

}

div#content h4 {
   color: #555; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
font-weight: normal;
}
div#content h5 {
   color: #555; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}

strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}



/* END TEXT */

/* LISTS */
div#main ul,
div#mainright ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#mainright ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */


/* Book Product details styling */

div#mainright { float: right; display: inline; width: 590px;
	
}

div#sidebarleft { 
float: left; display: inline; width: 280px; margin-right: 10px;	

}


div.sidebarleft { 
float: left; display: inline; width: 280px; margin-right: 10px;	

}

div#sidebarleft h2 {
   /* color: #fff; 
   background: #8C271B url(images/h2-news.jpg) repeat-x 0 0;
   text-indent: 10px; */
}

div#booknav {
  border-bottom: 10px solid #ccc; border-left: 10px solid #ccc;  border-right: 10px solid #ccc; padding: 10px 10px 0px 10px;	line-height: 180%;
} 

div.picturenav {
	border-bottom: 1px solid #ccc;
padding-bottom: 0px; clear: both;
margin-top: 10px;
}

ul#simplebooknav li{
	list-style: none;
border-bottom: 1px solid #ccc;
line-height: 1.2em;
padding: 5px 0 5px 0;
}

div#content h2.h2booktitle {
  background-image: none;
  background-color: #fff;
  text-indent: 0px;
  margin-bottom: 8px;
  line-height: 20px;
}

div#prodspec {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
margin-top: 80px;
margin-bottom: 20px;
padding-top: 10px;
padding-bottom: 10px;
clear: both;
}

div#mainbookstuff {
 margin-left: 10px;
border: 0px solid red;
float: left; display: inline;
width: 450px;
}

div#prodspec p{
  margin: 0;
}

.rrp {
  text-decoration:line-through;
}

.price {
	font-size: 160%; color: #AF1500; font-weight: bold;
}

.discountprice {
	color: #AF1500; line-height: 2em;
}

.author {color:#5394a6;}

div.paypal {float: right; display: inline;}

/* CONTACT FORM */

div.contactform {margin: 10px 10px 10px 10px; width: 440px;}

.contactform fieldset {padding: 10px 0 10px 0; background-color: transparent; border: 0;} 
.contactform fieldset legend {font-weight: bold; display: none;} 
.contactform div {width: 440px; padding: 0.25em 0 0.25em 0;} 
.contactform div label {display: block; width: 140px; text-align: right; float: left; margin-right: 8px; height: 22px; line-height: 22px;} 
.contactform div.required {color: #111;} 
.contactform div.required input, textarea {width: 270px;} 
.contactform div.submit { 
   margin: 0px 0px 10px 120px;
   padding: 10px 0px 10px 0px;
   width: 220px; 
text-align: right;

} 


/* END CONTACT FORM */


/* End of 'Ayebia Layout: Top menu + 2 columns' */

