 body {
  margin: 0;
  padding: 0;
  background-color: #fff;
}

body.hr h1, body.hr .heading, body.hr .pagetitle {
  color: #6C207E !important;
}
body.health-safety h1, body.health-safety .heading, body.health-safety .pagetitle {
  color: #1C3E93 !important;
}
.side_top_link {
  color: #fff !important;
  display: block;
  margin: 15px 0 0 13px;
  font: bold 18px 'metabook', 'Arial', sans-serif !important;
}
.side_box .heading {
  display: block;
  color: #0082A4;
  font: normal 22px 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 120%;
}

#main_container {
  width: 980px;
  margin: 0 auto;
  background-color: #fff;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

#header {
  width: 905px;
  height: 120px;
  margin: 0 auto;
}

#top_logo {
  width: 265px;
  height: 68px;
  display: block;
  float: left;
  margin: 8px 0 0 7px;
}
#top_stuff {
  float: right;
  width: 280px;
  height: 72px;
  margin: 15px 0 0 0;
  text-align: right;
  color: #6C207E;
}
#top_basket {
  display: block;
  float: left;
  width: 200px;
  position: relative;
  top: 50px;
  left: 100px;
  font-weight: bold;
  font-size: 15px;
  padding: 2px 0 2px 30px;
  background: url(/library/templates/default/resources/basket_icon.png) no-repeat 0 0;
}
#top_contact {
  font-size: 17px;
  color: #0082A4;
  padding-top: 35px;
}
.fancy_link {
  padding: 4px 45px 4px 37px;
  background: #0082A4 url(/library/templates/default/resources/navbg.png) no-repeat top right;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
}
.fancy_link:hover {
  background-color: #009EC0 !important;
}
#top_menu_container {
  width: 280px;
  height: 20px;
  overflow: hidden;
  float: right;
  position: relative;
  left: 5px;
}

#top_menu_container .menu_item_content {
  padding: 0;
}
#topnav_left {
  float: left;
  width: 640px;
  overflow: hidden;
}
#topnav_right {
  width: 230px;
  float: right;
  overflow: hidden;
  padding: 0 30px 0 0;
}
#top_nav {
  float: left;
  clear: both;
  width: 905px;
  height: 28px;
  background: #0082A4 url(/library/templates/default/resources/navbg.png) no-repeat bottom right;
}
.menu_item_content {
  padding: 0 10px;
}

#mid_container {
  overflow: hidden;
  padding: 20px 0 20px 0;
  width: 905px;
  margin: 0 auto;
  background: url(/library/templates/default/resources/mid_bg.png) no-repeat top center;
}
#slide_container {
  height: 338px;
  margin: 15px 0 0 0;
  position: relative;
  overflow: hidden;
}


.slideshow_footer {
  width: 587px;
  height: 38px;
  position: absolute;
  top: 285px;
  left: 37px;
  background: url(/bespoke/drawpoly.php?item=slideshow&c=%230082A4) no-repeat 0 0;
  padding: 8px 20px;
  font: normal 14px 'Arial', sans-serif;
  color: #fff;
  line-height: 140%;
}

.top_pic {
  width: 980px;
  height: 338px;
  margin: 15px 0 0 0;
}
.toppic_footer {
  width: 587px;
  height: 38px;
  position: relative;
  top: -55px;
  left: 37px;
  padding: 10px 20px !important;
  color: #fff;
  line-height: 140%;
  background: url(/bespoke/drawpoly.php?item=slideshow&c=%230082A4) no-repeat 0 0; 
}
.toppic_footer h3 {
  padding: 0 !important;
  margin: 0 !important;
  font: normal 16px 'metabook', 'Arial', sans-serif !important;
}
.toppic_footer.hr {
  background: url(/bespoke/drawpoly.php?item=slideshow&c=%236C207E) no-repeat 0 0 !important;
}
.toppic_footer.health-safety {
  background: url(/bespoke/drawpoly.php?item=slideshow&c=%231C3E93) no-repeat 0 0 !important;
}



#left_col {
  width: 630px;
  float: left;
  overflow: hidden;
  border-right: 1px dashed #0082A4;
  padding: 0 30px 0 10px;
  margin: 10px 0;
  min-height: 650px;
}

#left_nav_col {
  display: table-cell;
  height: 100%;
  width: 186px;
  border-radius: 5px;
}
#left_nav_col.hr {
  background: #6C207E; 
}
#left_nav_col.hs {
  background: #1C3E93;
}
#left_col #left_nav_content {
  width: 400px !important;
  display: table-cell;
  padding-right: 10px;
}
#left_nav_content {
  padding-left: 40px;
  padding-right: 45px;
}
#left_col_wider {
  margin: 10px 0;
  padding: 0 10px 0 10px;  
  min-height: 250px;
  display: table;
  position: relative;
  width: 940px;
}
#wide_content {
  width: 890px;
  overflow: hidden;
}

body.online #left_col {
  border-right: 1px dashed #008BA8;
}
body.health-safety #left_col {
  border-right: 1px dashed #1C3F93;
}
#right_col {
  width: 200px;
  float: right;
  padding-left: 20px;
  margin: 10px 0 0 0;
}
#right_col hr {
  margin: 20px 0 15px 0;
  background-color: transparent;
  border-top: 1px dashed #0082A4;
}
body.online #right_col hr {
  border-top: 1px dashed #008BA8;
}
body.health-safety #right_col hr {
  border-top: 1px dashed #1C3F93;
}
.side_box {
  border: 2px solid #B8E9F4;
  border-radius: 5px;
  padding: 10px;
  display: block;
  text-decoration: none !important;
  color: #333 !important;
  margin-bottom: 15px;
  background-repeat: repeat-x;
  background-position: bottom-left;
  background-color: #B8E9F4;
}
body.hr .side_box {
  border: 2px solid #E2D2E5 !important;
  background-color: #E2D2E5 !important;
}
body.health-safety .side_box {
  border: 2px solid #D2D8E9 !important;  
  background-color: #D2D8E9 !important;
}
.side_box b, .side_box strong {
  display: block;  
  color: #0082A4;
}
body.online .side_box b, body.online .side_box strong {
  color: #6C207E; !important;
}
body.health-safety .side_box b, body.health-safety .side_box bstrong {
  color: #1C3E93; !important;
}

#home_boxes_container {
  width: 100%;
  margin: 0 0 0 0;
}
.homebox {
  width: 100%;
  box-sizing: border-box;
  height: 170px;
  margin: 0 20px 0 0;
  border-radius: 5px;
  display: block;
  background-position: 98% 90%;
  background-repeat: no-repeat;
  border: 1px solid #fff;
  font: normal 12px 'Arial', sans-serif;
  line-height: 140%;
  text-decoration: none !important;
}
.homebox.one {
  background-color: #E2D2E5;
  background-image: url(bespoke/drawpoly.php?item=smallbuttonarrow&c=%236C207E);
  color: #33305F !important;
}
.homebox.one:hover {
  border: 1px solid #E2D2E5;
}
.homebox.two {
  background-color: #D2D8E9;
  background-image: url(bespoke/drawpoly.php?item=smallbuttonarrow&c=%231C3E93);
  color: #2E3944 !important;
}
.homebox.two:hover {
  border: 1px solid #D2D8E9;
}
.homebox.three {
  background-color: #D2D8E9;
  background-image: url(/library/templates/default/resources/boxarrow3.png);
  color: #323841 !important;
}
.homebox.three:hover {
  border: 1px solid #B5BFDD;
}
.homebox img {
  display: block;
  margin: 15px auto;
}
.homebox_content {
  clear: both;
  width: 100%;
  box-sizing: border-box;
  height: 150px;
  overflow: hidden;
  padding: 0 12px;
}
#home_bottom {
  padding: 20px 0;
  border-top: 1px dashed #0082A4;
  overflow: auto;
}
#home_subscribe {
  width: 390px;
  float: left;
  margin: 0 0 0 50px;
  height: 220px;
  border-right: 1px dashed #0082A4;
  padding-right: 50px;
}
#home_subscribe_button {
  display: block;
  float: right;
  width: 126px;
  height: 25px;
}
.news_box {
  width: 200px;
  float: left;
  margin: 0 0 0 20px;
}
.news_box_home {
  width: 420px;
  float: left;
  margin: 0 0 0 20px;
}
#home_bottom .news_box {
  width: 450px;
  height: 180px;
  overflow: hidden;
}


#right_col .news_box {
  margin: 0 0 0 0 !important;
}

#menu_thumbs_container {
  overflow: auto;
  /*width: 700px;*/
  position: relative;
  left: -5px;
}
#menu_thumbs_container {
  margin-top: 10px;
}
#menu_thumbs_container.hr {
  border-top: 1px dashed #6C207E;  
}
#menu_thumbs_container.hs {
  border-top: 1px dashed #1C3E93; 
}
#footer_boxes {
  margin: 10px 0 0 -20px;
  padding: 0px 0;
  position: relative;
  display: table;
  border-spacing: 20px;
}
#footer_boxes.hr {
  border-top: 1px dashed #6C207E;  
}
#footer_boxes.hs {
  border-top: 1px dashed #1C3E93;  
}
.footer_box, .footer_news_box {
  display: table-cell;
  width: 182px;
  padding: 0 10px 40px 10px;
  border-radius: 5px;
  height: 100%;
  min-height: 150px;
  overflow: hidden;
  color: #000 !important;
  text-decoration: none !important;
  position: relative;
}
.footer_box { 
  margin: 0 20px 0 0;
}
.footer_box.hr {
  background: #E2D2E5 url(/bespoke/drawpoly.php?item=morelink&c=%236C207E) no-repeat bottom right;
}
.footer_box.hs {
  background: #D2D8E9 url(/bespoke/drawpoly.php?item=morelink&c=%231C3E93) no-repeat bottom right;
}
.footer_news_box.hr {
  background: url(/bespoke/drawpoly.php?item=morelink&c=%236C207E) no-repeat bottom right;
  border-left: 1px dashed #6C207E;
  border-radius: 0 !important;
  padding-left: 20px;
}
.footer_news_box.hs {
  background: url(/bespoke/drawpoly.php?item=morelink&c=%231C3E93) no-repeat bottom right;
  border-left: 1px dashed #1C3E93;
  border-radius: 0 !important;
  padding-left: 20px;
}


.footer_news_box a {
  margin: 0;
}

.footer_news_box b {
  display: block;
  margin: 0 0 5px 0;
}
.footer_news_box.hr b {
  color: #6C207E;  
}
.footer_news_box.hs b {
  color: #1C3E93; 
}
.footer_box h2, .footer_news_box h2 {
  font: normal 19px 'metabook', 'Arial', sans-serif;
  margin: 10px 0 5px 0;
}
.footer_box.hr h2, .footer_news_box.hr h2 {
  color: #6C207E !important;
}
.footer_box.hs h2, .footer_news_box.hs h2 {
  color: #1C3E93 !important;
}
.news_box a b {
  display: block;
  padding: 0 0 5px 0;
  font: normal 16px 'metabook', 'Arial', sans-serif;
  text-transform: capitalize !important;
  color: #0082A4;
}

.news_box a {
  display: block;
  padding: 0 0 20px 0;
  background: url(/library/templates/default/resources/news_more.png) no-repeat bottom right;
  font-size: 12px;
  line-height: 120%;
  color: #333 !important;
  text-decoration: none !important;
  margin-bottom: 10px;
}
body.online .news_box a {
  background-image: url(/library/templates/default/resources/news_more_online.png) !important;
}

body.health-safety .news_box a {
  background-image: url(/library/templates/default/resources/news_more_hs.png) !important;
}

#bottom_stuff {
  margin: 0 auto;
  background: #0082A4;
  height: 70px;
  overflow: auto;
  width: 980px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

#footer_container {
  width: 980px;
  margin: 0 auto 10px auto;
  background: #1C3E93;
  height: 30px;
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 8px 0 0 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
#footer_tel {
  float: right;
  padding: 25px 20px 0 0;
  color: #fff;
  font-size: 17px;
  text-align: right;
  width: 300px;
}

#footer_container a {
  color: #fff !important;
  text-decoration: underline !important;
}
#footer_logo {
  display: block;
  float: left;
  width: 140px;
  height: 38px;
  margin: 17px 0 0 42px;
}
/* Form buttons */

.subscribe_container {
  background-color: #fff;
  border: 2px solid #5E9ED3;
  border-radius: 10px;
  margin: 30px 0 20px 0;
  padding: 10px 20px;
  overflow: auto;
}
.subscribe_container .button {
  float: right;
  display: block;
  position: relative;
  top: 50px;
}

.floaty_left_label {
  width: 190px;
  font-size: 17px;
  padding: 5px 0;
  display: block;
  float: left;
  clear: left;
  font-weight: bold;
}
.floaty_right_label {
  width: 190px;
  font-size: 17px;
  padding: 5px 0;
  float: left;
  display: block;
}

label.big {
  font: normal 22px 'latolight', 'Arial', sans-serif;
}
.inputbox.big {
  padding: 5px;
  font: normal 16px 'Arial', sans-serif;
}

.button.big {
  padding: 5px 20px;
  font: normal 16px 'latolight', 'Arial', sans-serif;
}
.button {
  font-family: 'Verdana', 'Tahoma', 'Arial', sans-serif;
  background-color: #0082A4;
  color: #ffffff;
  border-width: 1px;
  border-color: #c0c0c0;
  font-size: 11px;
}

/* Form input fields / text areas */

.inputbox {
  font-family: 'Verdana', 'Tahoma', 'Arial', sans-serif;
  background-color: #fff !important;
  color: #000000 !important;
  border: 1px solid #999 !important;
  font-size: 12px;
}
.input_error {
  font-family: 'Verdana', 'Tahoma', 'Arial', sans-serif;
  background: #ffbda5 !important;
  color: black !important;
  border: 1px solid red !important;
  font-size: 12px;
}
.datebox {
  background: url(/library/templates/default/resources/calendar_icon.gif) no-repeat top right;
  cursor: pointer;
}

/* Forms */


form {
  margin: 0;
  padding: 0;
}

.form_container {
  min-width: 600px;
}

.forms_item_container {
  clear: left;
  padding: 10px 0;
}
#home_subscribe .forms_item_container {
  padding: 10px 0;
}
.form_container h2 {
  clear: both;
}
.forms_item_label {
  display: block;
  float: left;
  width: 250px;
  text-align: left;
  padding-right: 40px;
  font-weight: bold;
}
#home_subscribe label {
  font: normal 17px 'metabook', 'Arial', sans-serif;
  color: #0082A4;
  width: 80px !important;
}
.forms_item_input_container {
  float: left;
}
.forms_item_input_container span {
  font-size: 10px;
  display: block;
  width: 250px;
}
#home_subscribe .inputbox {
  padding: 5px;
  width: 280px !important;
  margin-top: -5px;
}
.forms_item_input_container .inputbox {
  width: 250px;
}
.forms_item_input_container textarea {
  height: 100px;
  width: 250px !important;
}
.forms_item_columnmode_container {
  float: left;
  padding: 3px 0 3px 0;
  text-align: center;
  width: 65px;
}
.forms_item_columnmode_container .inputbox {
  width: 70px;
}
.forms_item_columnmode_container label {
  display: block;
  width: 65px !important;
}

.form_fieldset {
  background: #C0C0FF;
  margin: 15px 0 15px 0;
  padding: 15px 100px 15px 20px;
  border: 2px solid #c0c0c0;
  background-repeat: no-repeat;
  background-position: top right;
  *position: relative;
}
.form_legend {
  font-weight: bold;
  color: #000;
  font-size: 15px;
  padding: 0 10px 0 10px;
  *position: relative;
  *top: -1.5em;
}

.form_buttons_container {
  width: 450px;
  margin: 10px auto 20px auto;
  padding: 20px 0 5px 10px;
  white-space: nowrap;
  background: transparent;
  text-align: left;
  clear: both;
}
#home_subscribe .form_buttons_container {
  width: 240px;
}

#home_subscribe .form_buttons_container .button {
  float: right;
  position: relative;
  top: -8px;
  left: -13px;
}
.fancy_button, #home_subscribe .form_buttons_container .button  {
  background: #0082A4 url(/library/templates/default/resources/navbg.png) no-repeat top right !important;
  border: 0 !important;
  cursor: pointer;
  color: #fff !important;
  padding-right: 15px;
  font: 14px Arial, sans-serif; 
}
.fancy_button:hover, #home_subscribe .form_buttons_container .button:hover  {
  background-color: #009EC0 !important;
}

.form_buttons_container .button {
  width: 150px;  
  padding: 5px;
  font-weight: bold;
}
.forms_branding_logo {
  float: right;
}
/* User input wizards (e.g. adding new items) */

.stages_container {
  height: 120px;
  background: #D6E5C3;
}
.stage_block {
  width: 100px;
  height: 100px;
  float: left;
  text-align: center;
  background-position: 12px 10px;
  background-repeat: no-repeat;
}
.stage_block_label {
  color: #4D642C;
  font-weight: bold;
  padding-top: 90px;
}
.stage_block_label_disabled {
  color: #7A9F45;
  padding-top: 90px;
}

/* User comments */

.forms_item_comment_link_container {
  overflow: auto;
  clear: both;
  overflow: hidden;
}
.forms_item_comment_link {
  display: block;
  float: right;
  width: 85px;
  text-align: left;
  padding: 10px 0 5px 25px;
  font-size: 10px;
  background: url(/library/templates/default/resources/small_edit.gif) no-repeat 0 5px;
  margin: 1px 5px 0 0;
}
.forms_item_comment_container {
  clear: left;
  padding: 10px;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #999;
  display: none;
}
.forms_item_comment_container textarea {
  border: 1px solid #999;
  background-color: #fff;
  width: 100%;
  height: 100px;
  margin-top: 5px;
}
.forms_item_usercomment {
  clear: both;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #61992F;
  padding: 10px 10px 10px 50px;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  background: #E1F1CF url(/library/templates/default/resources/small_user.gif) no-repeat 11px 10px;  
}
.forms_item_admincomment {
  clear: both;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #E7A007;
  padding: 10px 10px 10px 50px;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  background: #FEF9D0 url(/library/templates/default/resources/small_admin.gif) no-repeat 11px 10px;  
}
.forms_item_moderatorcomment {
  clear: both;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #DB911D;
  padding: 10px 10px 10px 50px;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  background: #F9DBC5 url(/library/templates/default/resources/small_moderator.gif) no-repeat 11px 10px;  
}
/* Site search */

#site_search {
  padding: 3px 0 0 0;
  float: right;
  white-space: nowrap;
}

#contact_stuff {
  clear: left;
  padding-top: 10px;
  text-align: left;
  width: 229px;
  float: right;
  color: #8b8b8b;
  font-size: 15px;
}

#site_search label {
  display: none;
}
#site_search_search {
  width: 168px;
  padding-left: 5px;
  margin-right: 5px;
  display: block;
  float: left;
  height: 20px;
  border: 0 !important;
  background: #fff !important;
  font-size: 12px !important;
  color: #8b8b8b !important;
}
#site_search_go {
  width: 22px;
  float: left;
  display: block;
  height: 22px;
  border: 0 !important;
  background: url(/library/templates/default/resources/searchglass.png) no-repeat center center !important;
  cursor: pointer;
  font-size: 1px;
  color: transparent !important;
}

/* Search results */

.site_search_item {
  list-style-image: url(.//library/templates/default/resources/search_arrow.gif);
  margin-top: 5px;
  margin-right: 30px;
  color: inherit;
  display: block;
  clear: both;
}
.site_search_item img {
  position: relative; 
  top: -15px;
  border: 1px solid #c0c0c0;
  width: 95px;
  height: 85px;
  float: right;
  clear: right;
  margin: 15px 0 0 10px;
}
.site_search_item hr {
  clear: both;
}
/* Special products (eg on home page) - 
   these are selectable within control panel */

#shop_special_products {
  width: 475px;
}
.shop_product_special {
  width: 150px;  
  height: 180px;
  overflow: hidden;
  margin: 1px;
  float: left;
  background: #fff;
  border: 1px solid #fff;
}
.shop_product_special_heading {
  font-size: 14px;
  font-weight: bold;
  background: #57647C;
  color: #fff;
  padding: 5px;
  text-align: center;
}
.shop_product_special_details {
  padding: 5px;
  background: #C0C0FF;
  font-size: 10px;
  color: #57647C;
  line-height: 130%;
}
.shop_product_special_image {
  text-align: center;
  padding-bottom: 5px;
}
.shop_product_special_description {
  font-weight: bold;
  font-size: 11px;
  text-align: center;
}
.shop_product_special_price {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

/* Main special product - extra large one, eg on home page */

#shop_special_product_main {
  background: #57647C;
  border: 3px solid #333;
  padding: 20px 20px 20px 20px;
  width: 680px;
  overflow: auto;
  line-height: 140%;
  font-size: 11px;
  color: #fff;
}
#shop_special_product_main a {
  font-weight: bold;
  text-decoration: underline;
  color: #000040;
}

#shop_special_product_main h1 {
  color: #fff;
  padding: 0;
  margin: 0 0 5px 0;
  line-height: 100%;
}

#shop_special_product_main h2 {
  color: #000040;
  font-size: 22px;
  text-decoration: line-through;
}

#shop_special_product_main b {
  font-size: 14px;
  display: block;
  padding: 0;
  margin: 0 0 5px;
}

#shop_special_product_main img {
  width: 215px;
  height: 215px;
  border: 2px solid #333;
  display: block;
  float: right;
}
.shop_special_product_content {
  float: left;
  width: 430px;
}

.shop_special_product_price {
  font-size: 38px;
  font-weight: bold;
  padding: 5px 0;
}

.shop_special_product_save_splash {
  display: block;
  float: right;
  width: 80px;
  height: 50px;
  background: #000;
  border: 2px solid #fff;
  text-align: center;
  position: relative;
  top: 5px;
  padding-top: 10px;
}

.shop_special_product_save_splash b {
  font-size: 19px !important;
  font-weight: bold;
}
/* Standard Log-in controls */

#site_login_container {
  font-size: 11px;
  padding: 10px;
  text-align: left;
}

#site_login_username, #site_login_psw {
  margin: 0 0 3px 0;
  width: 120px;
}

#site_login_go {
  font-size: 11px;
  margin: 5px 0 10px 105px;
}

#site_login_container .form_label {
  width: 100px;
  text-align: right;
  float: left;
  margin-right: 5px;
}

#site_login_container .section {
  margin: 2px 0 2px 0;
}

/* Side Log-in controls */

#side_login_heading {
  margin: 15px 0 5px 0;
  text-align: left
}
#side_login_loggedin {
  padding: 5px 0 5px 0;
  text-align: left;
  font-weight: normal;
}
.side_login_options {
  text-align: left;
  padding: 6px 0 0 0;
}
#side_login_username, #side_login_psw {
  margin: 0 0 3px 0;
  width: 100%;
}
#side_login_remember_me {
  position: relative;
  top: 1px;
}
#side_login_go {
  padding: 1px 0 1px 3px;
  font-size: 11px;
  width: 29px;
}

/* User menu / icons */

#user_menu {
  padding: 0 10px 15px 10px;
  width: 300px;
}
#user_menu a {
  display: block;
  clear: left;
  margin: 0 0 0 0;
}
#user_menu span {
  position: relative;
  top: 8px; 
}
#user_menu img {
  width: 33px;
  height: 40px;
  float: left;
  padding: 0 10px 0 0;
}
/* Users / Profiles stuff */

#users_compose_link {
  padding: 10px;
  text-align: left;
}
.users_compose_label {
  width: 100px;
  text-align: right;
  float: left;
  padding: 0 10px 10px 0;
  font-weight: bold;
}
.users_compose_input, .users_compose_msg {
  margin-left: 115px; 
  padding: 0 10px 10px 0;
}
/* Popup / modal calendar */

.calendar_pop_container {
  position: absolute;
  width: 200px;
  height: 220px;
  border: 1px solid #333;
  background: #fff;
  color: #000;
  padding: 5px;
  margin: 0 2px 0 2px;
  -moz-box-shadow: black 2px 2px 5px;
  -webkit-box-shadow: black 2px 2px 5px;
}
.calendar_pop_monthyear {
  height: 70px !important;
}
.calendar_pop_monthyear button {
  margin: 10px auto;
  display: block;
  width: 40px;
}
.calendar_pop_top_container {
  background-color: #6494B6;
  color: #000;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  overflow: auto;
  padding: 2px 0 2px 0;
}
.calendar_pop_top_container a { 
  color: #fff !important; 
  position: relative;
  top: -2px;
}
.calendar_pop_top_container img {
  width: 22px;
  height: 11px;
  position: relative;
  top: 5px;
  padding: 0 2px 2px 2px;
}
#calendar_pop_month, #calendar_pop_year {
  width: 60px !important;
  font-size: 11px !important;
  margin: 0 3px;
}
.calendar_pop_link_back {
  width: 30px;
  float: left;
  text-align: center;
}
.calendar_pop_link_forward {
  width: 30px;
  float: right;
  text-align: center;
}
.calendar_pop_days_table td, .calendar_pop_days_table th {
  width: 14.28%;
  text-align: center;
  font-weight: bold;
}
.calendar_pop_days_table th {
  font-size: 10px;
}
.calendar_pop_days_table td {
  font-size: 11px;
}
.calendar_pop_slot_empty {
  background-color: #EBF2F7;
  padding: 2px;
}
.calendar_pop_slot_weekday {
  background-color: #E2EBF2;
  padding: 2px;
}
.calendar_pop_slot_weekend {
  background: #D1E0EB;
  padding: 2px;
}
.calendar_pop_slot_passive {
  color: #c0c0c0;
  text-decoration: line-through;
  font-weight: normal;
  cursor: default;
}
.calendar_pop_slot_active, .calendar_pop_slot_active a:hover {
  color: #426C8A;
  cursor: pointer;
}
.calendar_pop_slot_active:hover {
  color: #000;
}
.calendar_pop_close {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 2px 4px;
  text-align: right;
  margin: 3px 2px;
}

/* Calendar */

#calendar_container {
  width: 400px;
  padding: 5px;
  background-color: #fff;
}
#calendar_top_container {
  background-color: #E6ECC8;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: 5px;
  margin: 0 2px 0 2px;
  text-align: center;
}
#calendar_top_container a { 
  color: #000; 
}
#calendar_top_container select {
  margin: 0 5px 0 5px;
}
#calendar_link_back {
  width: 50px;
  float: left;
  text-align: center;
}
#calendar_link_forward {
  width: 50px;
  float: right;
  text-align: center;
}
#calendar_days_container {
  margin: 0 0 0 0;
}
#calendar_days_table td, #calendar_days_table th {
  width: 14.28%;
  text-align: center;
  font-weight: bold;
}
.calendar_day_title_weekend {
  padding: 5px 0 5px 0;
  background-color: #fff;
}
.calendar_day_title_weekday {
  padding: 5px 0 5px 0;
  background-color: #fff;
}
.calendar_slot_empty {
  background-color: #E6ECC8;
  padding: 10px 0 10px 0;
}
.calendar_slot_weekday {
  background-color: #F3F6E5;
  padding: 10px 0 10px 0;
  font-size: 19px;
}
.calendar_slot_weekend {
  background: #DEE6B6;
  padding: 10px 0 10px 0;
  font-size: 19px;
}
.calendar_slot_passive {
  color: #c0c0c0;
  text-decoration: line-through;
  font-weight: normal;
  cursor: default;
}
.calendar_slot_active, .calendar_slot_active a:hover {
  color: #F09E4C;
  cursor: pointer;
}
.calendar_slot_active:hover {
  color: #000;
}
#calendar_times_container {
  width: 396px;
  min-height: 100px;
  background-color: #E6ECC8;
  border-left: 2px solid #fff;
  padding-bottom: 5px;
}
#calendar_times_container h2 {
  text-transform: none;
  padding: 10px;
}
.calendar_times_slot {
  padding: 3px 10px 3px 10px;
  font-size: 12px;
  font-weight: normal;
  margin: 2px 10px 2px 10px;
}
.calendar_slots_active {
  color: #F09E4C;
  background: #F3F5E7;
  font-weight: bold;
  cursor: pointer;
}
.calendar_slots_active:hover {
  color: #000;
}
.calendar_slots_passive {
  color: #c0c0c0;
  text-decoration: line-through;
  font-weight: normal;
  cursor: default;
  background: transparent;
}
/* For shop, individual product tables */  

.shop_product_container {
  padding: 5px 10px;
  clear: both;
  overflow: auto;
}


.shop_product_thumb_new {
  display: block;
  float: left;
  width: 170px;
  margin: 0 10px 10px 10px;
  height: 200px;
  text-align: center;
}
.shop_product_thumb_new:hover img {
  opacity: 1;
}
.shop_product_thumb_new img {
  margin: 0 0 5px 0;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0.8;  
}
.shop_footer {
  clear: both;
  
}

.shop_productbox {
  background-color: #DEDEE7;
  color: inherit; 
}

.shop_paging {
  float: right;
  font-weight: bold;
  padding: 10px 0 15px 0;
}
.shop_paging a {
  font-weight: normal;
}

.shop_paging img {
  padding: 0 5px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  position: relative;
  top: 1px;
}
#shop_categories_container {
  overflow: auto;
  margin-left: -10px;
}
#shop_product_thumbs_container {
  overflow: auto;
  margin-left: -10px;
}
.shop_product_thumb_cat, #shop_product_thumbs_container .shop_product_thumb {
  margin: 10px 0 10px 10px !important;
  width: 198px !important;
}
.shop_product_thumb {
  font: normal 19px 'metabook', arial, sans-serif !important;
  display: block;
  float: left;
  width: 198px;
  margin: 10px 10px 10px 10px;
  height: 66px;  
  border-radius: 5px;
  background: #E2D2E5 url(/library/templates/default/resources/whitefade.png) repeat-x 0 0;
  border: 2px solid #E2D2E5;
  color: #9A5BA3;
  text-align: center;
  padding: 30px 0 0 0;
}
.shop_product_thumb.hr {
  background: #E2D2E5 url(/library/templates/default/resources/whitefade.png) repeat-x 0 0 !important;
  color: #9A5BA3 !important;
  border: 2px solid #E2D2E5 !important;
}
.shop_product_thumb.hs {
  background: #D2D8E9 url(/library/templates/default/resources/whitefade.png) repeat-x 0 0 !important;
  color:  !important;
  border: 2px solid #D2D8E9 !important;
}
.shop_product_thumb:hover img {
  opacity: 1;
}
.shop_product_thumb img {
  margin: 0 0 5px 0;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0.8;  
}

.shop_breadcrumb {
  float: right;
  text-align: right;
  padding: 15px 0 0 0;
}

.shop_sort_select {
  width: 250px;
  float: right;
  overflow: visible;
  font-size: 11px;
  text-align: right;
}

.shop_product_container {
  margin: 5px 0;
}

.shop_product_right_column {
  width: 200px;
  padding: 15px;
  float: right;
  text-align: center;
}
.shop_product_right_column img {
  margin-bottom: 15px;
}
.shop_product_left_column {
  margin-right: 250px;
  text-align: left;
}


.shop_img_extra_container {
  position: relative;
  /*top: -20px; */
  text-align: center;
}
.shop_img_extra img {
  display: block;
  float: right;
  margin: 0 !important;
  padding: 0 0 1px 0 !important; 
}
.shop_main_image {
  float: left;
  margin: 0 20px 10px 0;
}
.shop_category_back_button {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.shop_qty {
  display: block;
  float: left;
  position: relative;
  top: -5px;
}
.shop_addtocart {
  border: 0;
  display: block;
  float: right;
}
.shop_product_buy_container {
  width: 300px;
  margin: 0 auto;
  clear: both;
}
#shop_product_price {
  margin: 30px 0;
  float: left;
  padding: 4px 0 0 0;
  text-align: right;
  font: bold 20px 'Arial', sans-serif !important;
  color: #0082A4;
  width: 100px;
  line-height: 100%;
}
.shop_addtocart_button {
  padding: 6px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 5px;
  font-size: 14px !important;
  display: block;
  margin: 30px 0;
  float: right;
  width: 150px;
  background-color: #EDEDED;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: #6E6E6E !important;  
  cursor: pointer;
}
.shop_addtocart_button:hover {
  background-color: #0082A4;  
  color: #fff !important;  
}

/* Currency conversion links */

#shop_side_currency {
  position: relative;
  left: -7px;
  white-space: nowrap;
}
#shop_side_currency_heading {
  margin: 10px 0 8px 0;
}
.shop_side_currency_img_selected {
  padding: 10px 0 5px 0;
  background: url(/library/templates/default/resources/curency_select_arrow.png) no-repeat top center;
}
.shop_side_currency_img {
  padding: 10px 0 5px 0;
}
#shop_side_currency_pound {
  padding-right: 3px;
  position: relative;
  left: 3px;
  width: 46px;
  height: 47px;
}
#shop_side_currency_usd {
  width: 42px;
  height: 47px;
}
#shop_side_currency_euro {
  padding-left: 5px;
  position: relative;
  left: -5px;
  width: 44px;
  height: 47px;
}

.shop_crosslinked_items {
  overflow: auto;
}
#shop_cart_accessories_container {
  overflow: auto;
  margin-bottom: 20px;
}
.shop_cart_accessory {
  display: block;
  float: left;
  margin: 10px;
  width: 170px;
  background: #ABA4C8;
  color: #fff !important;
  font-weight: bold;
  line-height: 140%;
  padding-bottom: 10px;
  font-size: 14px;
  text-align: center;
  border: 2px solid #ddd;
}
.shop_cart_accessory:hover {
  color: #5A5085 !important; 
}
.shop_cart_accessory img {
  display: block;
  padding-bottom: 10px;
  width: 170px;
  height: 120px;
}
#shop_cart_accessories_products {
  display: none;
}
.shop_cart_accessories_product {
  overflow: auto;
  padding: 5px;
  margin: 5px 0;
  background: #EBEBF1;
}
.shop_cart_accessories_product img {
  display: block;
  float: left;
  width: 120px;
  height: 85px;
  margin-right: 60px;
}
.shop_cart_accessories_product a {
  display: block;
  width: 100px;
  font-weight: bold;
  text-align: center;
  padding: 5px 5px;
  background: #5A5085;
  color: #fff !important;
  cursor: pointer;
  float: right;
  margin: 25px 10px 0 60px;
}
.shop_cart_accessories_product b {
  display: block;
  float: right;
  text-align: right;
  width: 100px;
}

.shop_cart_accessories_product h2 {
  margin: 5px 0 5px 0 !important;
  line-height: 100% !important;
}

.shop_cart_accessories_product div {
  float: left;
  width: 410px;
  line-height: 140%;
  font-size: 11px;
  padding: 5px 0;
}



#shop_product_tabs {
  background: #EDEDED;
  width: 631px;
  font-size: 11px;
  overflow: auto;
  margin-left: -1px;
}
#shop_product_tabs div {
  cursor: pointer;
  width: 179px;
  float: left;
  padding: 5px 15px;
  border-left: 1px solid #fff;
}
#shop_product_tabs div:hover {
  background: #0082A4;
  color: #fff;
}
#shop_product_tab_content {
  clear: both;
  /*height: 300px;*/
  padding: 20px 0 0 0;
}
/* Gallery */

#gallery_overall {
  padding-bottom: 10px;
  overflow: auto;
}

.gallery_paging {
  float: right;
  font-weight: bold;
  position: relative;
  top: 3px;
  padding-bottom: 5px;
}
.gallery_paging a {
  font-weight: normal;
}

.gallery_paging img {
  padding: 0 5px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  position: relative;
  top: 1px;
}

.gallery_breadcrumb {
  border-bottom: 1px solid #000;
  padding: 5px;
  text-align: left;
}

.gallery_cat_button_div {
  padding: 10px 1px 15px 1px; 
  float: left; 
  text-align: center;
  vertical-align: bottom;
}

.gallery_cat_button_img {  
}

.gallery_cat_button_description {
  display: block;
  padding: 5px;
}

.gallery_cats_row {
  width: 100%;
  float: left;
}

#gallery_pictures_div {
  
}

#gallery_sidecats_div {
  float: right;
  text-align: left;
  font-size: 13px;
  font-weight: bold;
  width: 120px;
}

#gallery_sidecats_div div {
  padding: 5px 0 5px 0;
}

.gallery_pic_div {
  padding: 10px 1px 15px 1px; 
  float: left; 
  text-align: center;
}

.gallery_pic_description {
  padding: 5px;
}

.gallery_pic {
}

.gallery_pics_row {
  width: 98%;
  float: left;
  overflow: auto;
}

#gallery_link_back {
  width: 100%;
  font-weight: bold;
  text-align: center;
  padding: 10px 0 10px 0;
  margin-top: 20px;
  border: 1px solid #000;
  cursor: pointer;
}

.gallery_paging_arrows {
  position: relative;
  top: 6px;
}

/* Forum styles */

#forum_breadcrumb_container {
  float: right;
  text-align: right;
  padding-top: 20px;
}
.forum_paging_container {
  float: right;
  padding: 5px 0;
}
.forum_forum_row {
  display: block;
  clear: both;
  margin: 10px 0;
  background: url(/library/templates/default/resources/forum_forum.png) no-repeat 10px 5px;
  padding: 10px 0 10px 90px;
  font-size: 14px;
  overflow: auto;  
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
}
.forum_forum_row:hover {
  background-color: #EBEBF2;
}
.forum_forum_details {
  display: block;
  float: right;
  width: 150px;
  color: #666;
}
.forum_forum_intro {
  display: block;
  color: #666;
  padding-top: 5px;
  width: 350px;
}
  
#forum_threads_container {
  width: 100%;
}
#forum_threads_container td, #forum_threads_container th {
  padding: 7px;
}
#forum_threads_container img {
  width: 23px;
  height: 23px;
  display: block;
  margin: 2px auto;
}
#forum_threads_container b {
  display: block;
}
#forum_thread_post {
  background: #EDEDF3 url(/library/templates/default/resources/bluegrad.png) repeat-x 0 0;
  margin-bottom: 25px;
  border: 1px solid #8C8DAE;
  box-shadow: 3px 3px 3px #ccc;
  font-size: 14px;
  clear: both;
  border-radius: 0 !important;
}
.forum_post {
  padding: 10px 20px;
  margin: 10px 0 0 0;
  overflow: auto;
  clear: both;
  border-radius: 10px;
}
.forum_post.odd {
  background: #DEDEE7;
}
.forum_post.even {
  background: #EEEEF4;
}
.forum_post_name {
  float: left;
  font-weight: bold;
}
.forum_post_datetime {
  float: right;
  font-size: 10px;
}
.forum_message {
  clear: both;
  padding: 10px 0 5px 0;
}
.forum_form {
  display: block;
  margin: 40px auto;
  padding: 15px 25px;
  width: 80%;
  background-color: #F4F4F4;
  overflow: auto;
  box-shadow: 5px 5px 5px #ddd;
  border: 1px solid #EEEEF4;
  border-radius: 10px;

  background-image: linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -o-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -moz-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -webkit-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -ms-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
    
}

.forum_form .inputbox {
  display: block;
  width: 98%;
  padding: 5px;
}
.forum_form label {
  display: block;
  margin: 10px 0 5px 0;
}
.forum_form textarea {
  height: 150px;
  display: block;
  padding: 5px;
  margin-bottom: 5px;
}
.forum_form .button {
  display: block;
  clear:left;
  float: left !important;
  padding: 5px 0;
  width: 200px;
}

/* General directory layout */

.directory_listing {
  background-color: #E4E5EE;
}
.directory_breadcrumb {
  border-bottom: 1px solid #000;
  padding: 5px;
  text-align: left;
}

/* Featured listings */

#directory_featured_listings {
  width: 300px;
  border: 1px solid #c0c0c0;
  padding: 10px;
}

/* Tabs (for directory popups) */

.tabs_main {
  background-color: #E2E3FC;
  color: inherit;
  border: 1px solid #000000;
}
.tabs_active {
  background-color: #E2E3FC;
  color: inherit;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom-width: 0;
}
.tabs_inactive {
  background-color: #AFB0C3;
  color: inherit;
  border: 1px solid #000000;
}
.tabs_hover {
  background-color: #C1C5F9;
  color: inherit;
  border: 1px solid #000000;
}
.contact_heading { 
  color: #333;
  background-color: inherit; 
}
html {
  font-size: 100%;
}
body {
  font: normal 12px 'Arial', sans-serif;
  line-height: 160%;
  color: #666;
}
@font-face {
    font-family: 'metabook';
    src: url('/library/templates/default/resources/metabookcaps-webfont.eot');
    src: url('/library/templates/default/resources/metabookcaps-webfont.eot?#iefix') format('embedded-opentype'),
         url('/library/templates/default/resources/metabookcaps-webfont.woff') format('woff'),
         url('/library/templates/default/resources/metabookcaps-webfont.ttf') format('truetype'),
         url('/library/templates/default/resources/metabookcaps-webfont.svg#metabook') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Main page titles */

h1, .pagetitle {
  display: block;
  color: #0082A4;
  font: normal 22px 'metabook', 'Arial', sans-serif;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 120%;
}

/* Paragraph sub-headings */

h2, .heading {
  font: bold 15px 'Arial', sans-serif;
  letter-spacing: 0;
  color: #333;
  margin: 10px 0 10px 0;
}
#right_col .heading {
  font: normal 20px 'metabook', 'Arial', sans-serif;  
  text-transform: capitalize;
}
body.hr #right_col h2, body.hr .news_box b {
  color: ;
}
body.health-safety #right_col h2, body.health-safety .news_box b {
  color: ;
}

h2.boxes {
  color: #0082A4;
  font: normal 22px 'metabook', 'Arial', sans-serif;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 120%;
}
h2.boxes span {
  font-size: 14px;
}

.slideshow_footer h3 {
  margin: 0 0 5px 0;
  padding: 0;
  color: #fff;
  font: normal 16px 'metabook', 'Arial', sans-serif;
}  


/* Links */

a:link, a:visited, a:active {
  color: #0082A4;
  text-decoration: none;
}
a:hover {
  color: #0082A4;
  text-decoration: underline;
}

/* Miscellaneous font styles */

.largetext { font-size: 16px; }
.smalltext { font-size: 11px; font-weight: normal; }

.emphasisedtext {
  color: #000000;
  background-color: inherit;
  font-weight: bold;
  font-size: 14px;
}
/* Images */

.content_image_caption {
  color: #333;
  background-color: #EDEDED;
  font-size: 10px;
  padding: 2px 5px;
}

.image_border { border: 2px solid #000; }
/* If extra columns of text are to be shown on the side of the page. */

.side_text {
  color: #000000;
  background-color: inherit;
  font-size: 11px;
}

.side_text label {
  color: #58667E;
  background-color: inherit;
  font-size: 10px;
}

.side_heading {
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  color: #58667E;
  background-color: inherit;
}
/* Tables that display information */

.tablestyle {
  border: 1px solid #ffffff;
  background-color: #DEDEE7;
  color: #000000;
}

.tablestyle_table {
  border-left: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
}
.tablestyle_heading,
.tablestyle_table th,
.tablestyle_table thead tr td {
  background-color: #0082A4;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
  padding: 2px 4px;
}
.tablestyle_table td {
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  background-color: #eee;
  padding: 2px 4px;
  vertical-align: top;
}
.tablestyle_table th a {
   color: #fff;
   text-decoration: underline;
}
.tablestyle_centred td, .tablestyle_centred th {
  text-align: center;
}
.tablestyle_nostyle {
  border: 0;
}
.tablestyle_nostyle td, .tablestyle_nostyle th {
  vertical-align: top;
  padding: 3px;
  border-spacing: 0;
  border: 0;
}
/* Content area, important for control panel preview */

.content_area {
  background-color: #fff;
}

hr {
  color: #4B5870;
  background-color: #4B5870;
  border-width: 0;
  height: 1px;
}
#comments {
  border-top: 1px solid #666; 
  clear: both;
  margin-top: 15px; 
}
.comments_comment {
  background: #eee;
  padding: 10px 10px 20px 10px;
  margin: 15px 0;
  color: #333;
  border-top: 1px solid #d9d9d9;
  border-bottom: 2px solid #ccc;
  font-size: 11px;
  line-height: 140%;
}
.comments_comment_comment {
  float: left;
  width: 565px;
  padding: 0 0 0 10px;
}
.comments_comment_comment blockquote {
  font-style: italic;
}
.comments_comment_top {
  overflow: auto;
}
.comments_comment_links {
  width: 150px;
  float: right;
  overflow: hidden;
  padding-right: 10px;
}
.comments_comment_links hr {
  border-top: 1px dotted #ccc !important;
  background-color: transparent !important;
  color: transparent !important;
}
.comments_comment_links a {
  display: block;
  margin: 1px;
}
.comments_comment_header {
  margin-bottom: 15px;
  padding: 10px 10px 0 10px;
  color: #666;
  font-size: 10px;
  background-color: #e5e5e5;
  overflow: auto;
}
.comments_comment_header b {
  font-weight: bold;
  color: #666;
  float: left;
}
.comments_comment_date {
  float: right;
  width: 150px;
}

.comments_comment_avatar {
  width: 23px;
  height: 23px;
  float: left !important;
  display: block;
  margin: -5px 10px 5px 0 !important;
  border: 1px solid #d9d9d9;
  background-color: #fff;
}
#comments input {
  display: block;
  width: 200px;
}
#comments label {
  display: block;
  margin: 10px 0 5px 0;
}
#comments textarea {
  height: 100px; 
  display: block; 
  width: 100%;
}
.comments_comment_comment .button {
  clear:left;
  float: left !important;
}
#comments .button {
  float: right;
  padding: 5px;
  width: 120px;
  margin: 10px 0 15px 0;
}
#comments img {
  float: right;
  margin: 0 0 5px 5px;
}
.comment_approval_needed {
  border: 2px solid red;
}

.popupstyle {
  padding: 0;
  background-color: #ffffff;
  color: inherit;
  margin: 0;
}
a[rel~="tag"] { 
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 1px dotted #ccc !important;
}

.error_alert, #error_alert {
  padding: 20px 10px 25px 80px;
  background: #ffffff url(/library/templates/default/resources/alert_negative.gif) 5px 5px no-repeat;
  color: #000000;
  border: 1px solid #c0c0c0;
  margin: 0 0 20px 0;
}

.success_alert {
  padding: 20px 10px 25px 80px;
  background: #ffffff url(/library/templates/default/resources/alert_positive.gif) 5px 10px no-repeat;
  color: #000000;
  border: 1px solid #c0c0c0;
  margin: 0 0 20px 0;
}

.pass_alert {
  padding: 20px 10px 25px 80px;
  background: #ffffff url(.//library/templates/default/resources/notice_pass.gif) 15px 25px no-repeat;
  color: #000000;
  border: 1px solid #c0c0c0;
  margin: 0 0 20px 0;
}

.fail_alert {
  padding: 20px 10px 25px 80px;
  background: #ffffff url(/library/templates/default/resources/notice_fail.gif) 15px 25px no-repeat;
  color: #000000;
  border: 1px solid #c0c0c0;
  margin: 0 0 20px 0;
}

#modal_info_container {
  width: 320px;
  height: 275px;
  background: #6c6c6c;
  color: #fff;
  border: 1px solid #000;
  position: absolute;
  display: none;
  padding: 5px;
  -webkit-box-shadow: 1px 2px 3px #333;
  -moz-box-shadow: 1px 2px 3px #333; 
}
#modal_info_content {
  overflow: auto;
  overflow-x: hidden;
  height: 250px;
  font-size: 11px;
}
#modal_info_content img {
  display: block;
  width: 310px;
  margin: 0 auto 10px auto;
}
#modal_info_close {
  font-size: 20px;
  text-align: right;
  padding-top: 5px;
}
  
#modal_info_close a {
  color: #fff !important;
}

/* Site Map */

#sitemap_paging { 
  text-align: left; 
  padding: 0 0 10px 0;
}

.sitemap {
  margin-top: -10px;
}

.sitemap, .sitemap ul {
  padding: 0 0 0 15px;
  list-style-type: none !important;
}
.sitemap li {
  padding: 10px 0 0 0;
}
.sitemap ul li {
  padding: 0 0 0 0;
}


/* Expandable menus (ie non-roll-over list menus) */

.menu_expandable_container {
  text-align: left;
  padding: 0 13px 13px 13px;
  color: #fff;
  font: normal 18px 'metabook', 'Arial', sans-serif;
}
.menu_expandable_container ul {
  padding: 6px 0 6px 0;
  margin: 0;
  list-style-type: none;
}
.menu_expandable_container ul li {
  margin: 10px 0; 
}
.menu_expandable_container ul ul {
  padding: 0 0 0 10px;
  list-style-type: none;
}
.menu_expandable_container ul ul li {
  font: normal 14px 'Arial', sans-serif;
  margin: 5px 0;
}

.menu_expandable_container a {
  display: block;
  color: #fff;
}

/* Menus when javascript disabled */

.navigation_vertical li, #navigation_horizontal li, #navigation_products li {
  font-size: 10px;
}
.navigation_horizontal li {
  display: inline;
  padding: 0 10px 0 10px;
  color: #ffffff;
  background: #000000;
}
.navigation_vertical ul, #navigation_products ul {
  padding-left: 10px;
}
.navigation_horizontal ul {
  white-space: nowrap;
  padding: 0 10px 0 10px;
  display: inline;
}

/* AJAX stuff */

.ajax_updating {
  height: 140px;
  background: url(/library/templates/default/resources/indicator.gif) no-repeat center center;
  text-align: center;
}

#ajaxticker1{
  /* styles go here if required */
}
#ajaxticker1 div{ 
  /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/
}

/* Styles for iBox modal dialogues */

#ibox_wrapper button {
  position: relative;
  left: 5px;
}
#ibox_w{
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #000; 
  margin: 0;
  padding: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0.0;
  opacity: 0.0;
}

#ibox_progress {  
  margin:0;
  padding:0;
  position: absolute;
  z-index:105;
}

#ibox_wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index:100;
  padding:8px 14px 34px 8px;
  border: 1px solid #333;
  width:300px;
  min-width: 45px;
  height:300px;
  background-color:#000;
  margin: 0; 
  box-shadow: 0 0 10px #000;
}
#ibox_wrapper input, #ibox_wrapper button {
  z-index: 101 !important;
}

#ibox_content, #ibox_extra_content {
  background: #fff;
  width: 100%;
  height: 100%;
  margin-bottom: 5px;
  position: relative;
  top: 0px;
  left: 0px;
  border: 1px solid #000;
  padding: 2px;
}

#ibox_footer_wrapper {
  position:relative;padding:0;margin:0;top:0px;left:0px;
}
 .modal_popup_content {
   padding: 5px 15px;  
 }

/* Driver SMS tracking (users system) */

#drivertracker_group {
  float: right;
  clear: both;
  width: 300px;
  margin: -30px 0 15px 0;
}

#drivertracker_container{
  font-size: 14px;
  color: #666;
  overflow: auto;
  padding-top: 30px;
}
#drivertracker_container hr {
  clear: both;
  position: relative;
  top: -8px;
  display: block;
}
.drivertracker_close_icon {
  width: 19px;
  height: 19px;
  float: right;
  display: block;
  background: url(/library/templates/default/resources/close_x.gif) no-repeat center center;
}
.drivertracker_driver {
  clear: left;
  width: 300px;
  float: left;
  font-weight: bold;
  padding: 0 0 10px 0; 
}
.drivertracker_driver img {
  width: 50px;
  height: 50px;
  float: left;
  display: block;
  margin: -10px 10px 5px 0;
  border: 1px solid #ccc;
}
.drivertracker_number {
  float: left;
  width: 150px; 
}
.drivertracker_icons {
  width: 150px;
  float: left;
  margin-top: -2px;
}
.drivertracker_icons img {
  width: 23px;
  height: 23px;
  padding: 0 3px;
}
.drivertracker_status {
  float: left;
  font-size: 11px;
}
.drivertracker_changeno {
  padding: 5px 10px 5px 205px;
  border: 1px solid #e1e1e1;
  margin: 0 0 40px 0;
  clear: left;
  font-size: 12px;
  display: none;
}
.drivertracker_expanded_details {
  padding: 5px 10px 5px 10px;
  border: 1px solid #e1e1e1;
  margin: 0 0 40px 0;
  clear: left;
  font-size: 12px;
  overflow: auto;
  display: none;
}
.drivertracker_expanded_details img {
  width: 150px;
  height: 150px;
  border: 1px solid #ccc;
  float: left;
  display: block;
}
.drivertracker_expanded_details textarea {
  float: left;
  width: 400px;
  height: 70px;
  display: block;
  margin: 0 0 5px 0;
  padding: 3px 5px;
}
.drivertracker_expanded_details div {
  padding: 0 0 10px 20px;
  float: left;
}
.drivertracker_expanded_details b {
  display: block;
}
.drivertracker_expanded_details .button {
  margin-left: 20px;
  padding: 2px 10px;
}

/* Miscellaneous styles */

.section { margin: 8px 0 8px 0; }
a img { border-width: 0; }

.paging_container {
padding: 10px 0 10px 0;
text-align: center;
}

.heading_highlighted {
  color: navy;
  background-color: inherit;
}

.content_section {
  display: block;
  border: 0 solid #000;
}

.swf_div {
  display: inline;
}

.flashgallery_div {
  display: block;
  text-align: center;
  margin: 10px auto;
  padding: 5px;
  border: 1px solid #666;
  clear: both;
  width: 600px;
  background: #BBBDFF;
  -webkit-box-shadow: 5px 5px 10px #666;
  -moz-box-shadow: 5px 5px 10px #666; 
  overflow: auto;
}

p {
  margin: 0;
  padding: 0 0 10px 0;
  display: block;
}
code {
  font-size: 12px;
}

.admin_icons_horizontal {
  float: right; 
}
.admin_icons_horizontal img {
  width: 23px;
  height: 23px;
  margin-right: 5px;
}
.properties_property_container {
  width: 75%;
  background: #fff;
  padding: 15px 25px 15px 25px;
}
.properties_property_left_col {
  margin-right: 225px;
}
.properties_property_left_col div {
  padding: 0 0 15px 0;
}
.properties_property_right_col {
  width: 200px;
  text-align: right;
  float: right;
  background: #ffffff;
  padding-top: 35px;
}
.properties_property_bottom {
  clear: right;
  padding: 5px;
  margin-top: 10px;
}
.properties_property_bottom div {
  float: right;
  width: 200px;
  text-align: right;
}
.properties_details_label {
  float: left;
  width: 80px;
  font-weight: bold;
  text-align: right;
  font-size: 10px;
  clear: left;
}
.properties_details_value {
  float: right;
  width: 105px;
  font-size: 10px;
  text-align: left;
}

.shop_crosslinked_product {
  width: 150px; 
  float: left;
  margin: 5px;
  text-align: center;
}
.shop_crosslinked_product b {
  display: block;
}
.shop_product_rating_container {
  font-size: 10px;
  margin: -6px 0 5px 0;
  overflow: auto;
}
.shop_product_rating_text {
  float: left;
  padding-top: 5px;
}
.shop_product_star_rating {
  float: left;
  width: 120px;
}
.shop_product_rating_container span {
  padding: 0 2px
}
#directory_advanced_search {
  background: #DEDEE7;
  overflow: auto;
  padding: 5px;
}
#directory_advanced_search h1 {
  font-size: 16px;
  margin: 5px 0 10px 0;
  line-height: 140%;
}
.directory_search_field_container {
  float: left;
  width: 380px;
  height: 25px;
}
.directory_search_label {
  width: 100px;
  display: block;
  float: left;
}
.directory_search_input_container {
  float: left;
  display: block;
  width: 150px;
}

#directory_advanced_search .inputbox{
  width: 250px;
  font-size: 10px !important;
}
#directory_advanced_search .button {
  display: block;
  width: 100px;
  padding: 5px;
  clear: both;
  margin: 0 auto 20px auto;
  position: relative;
  top: 10px;
}
#events_select_categories_container {
  float: right;
  margin: 10px 10px 0 0;
  padding: 10px; 
  text-align: right;
}


#events_side_categories {
  float: right; 
  clear: right;
  padding: 10px; 
  width: 20%; 
  margin: 0 10px 10px 0;
}


#events_side_categories a, #events_side_categories b {
  display: block;
}
#events_table {
  width: 70%;
}
#events_table tr td a {
  display: block;
}
#news_article i {
  display: block;
}
#news_article {
  width: 880px;
}

.news_articles_list { 
}

/* news categories */

.news_categories ul {
  padding-left: 0;
  list-style-type: none;
  font-weight: bold;
}

.news_categories ul ul {
  font-weight: normal;
  padding-left: 20px;
  font-size: 10px;
  list-style-type: square;
}

/* news sub categories */

.news_sub_categories {
  padding: 10px 10px;
  list-style-type: none;
  font-weight: bold;
  margin: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
#blog_article i {
  display: block;
}

.blog_articles_list { 
}

/* blog categories */

.blog_categories ul {
  padding-left: 0;
  list-style-type: none;
  font-weight: bold;
}

.blog_categories ul ul {
  font-weight: normal;
  padding-left: 20px;
  font-size: 10px;
  list-style-type: square;
}

/* blog sub categories */

.blog_sub_categories {
  padding: 10px 10px;
  list-style-type: none;
  font-weight: bold;
  margin: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
/* Javascript slideshow */

.slideshow_content_slider {
  width: 980px;
  height: 338px;
  overflow: hidden;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.slideshow_content_slider_container:hover .slideshow_left_browse,
.slideshow_content_slider_container:hover .slideshow_right_browse
{
  opacity: 1 !important;
}

.slideshow_left_browse {
  background: url(/library/templates/default/resources/slide_left.png) no-repeat center left;
  cursor: pointer;  
  opacity: 0.5;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin: -50px 0 0 25px;
}
.slideshow_right_browse {
  background: url(/library/templates/default/resources/slide_right.png) no-repeat center right;
  cursor: pointer;  
  opacity: 0.5;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin: -18px 0 0 -25px;
}