body { margin: 0; padding: 0; font-family: Verdana, Helvetica, sans-serif; color: #9F9F9F; background: #F3F3F3; }
#main { width: 850px; height: 100%; margin-top: 50px; text-align: left; }
#main.gallery { width: 950px; }
#main.gallery .main-table {width: 850px; display: block; float: left; }
#main.gallery .control-prev, #main.gallery .control-next { width: 50px; height: 413px; display: block; float: left; }

#logo { height: 40px; text-align: center; vertical-align: top; }

#topnavigation { height: 22px; font-size: 12px; border-bottom: solid 1px #9F9F9F; }
#topnavigation ul { list-style: none; margin: 0; padding: 0; }
#topnavigation li { float: left; display: block; margin-right: 10px; }
#topnavigation li a { display: block; height: 20px; border-bottom: solid 2px #F3F3F3; }
#topnavigation li.highlight a { height: 20px; border-bottom: solid 2px #9F9F9F; }
#topnavigation li.highlight a { color: #C2423F; }
#topnavigation a { text-decoration: none; color: #9F9F9F; }
#topnavigation a:hover { color: #C2423F; }

#mainnavigation { height: 22px; font-size: 11px; border-bottom: solid 1px #9F9F9F; padding-top: 2px; }
#mainnavigation ul { list-style: none; margin: 0; padding: 0; }
#mainnavigation li { float: left; display: block; height: 22px; margin-right: 10px; }
#mainnavigation_ li.highlight { line-height: 21px; border-bottom: solid 2px #9F9F9F; }
#mainnavigation li.highlight a { color: #C2423F; }
#mainnavigation a { text-decoration: none; color: #9F9F9F; }
#mainnavigation a:hover { color: #C2423F; }

#subnavigation, #subsubnavigation, .subnavigation { font-size: 10px; border-bottom: solid 1px #9F9F9F; padding-top: 6px; vertical-align: top; }
#subnavigation ul, #subsubnavigation ul, .subnavigation ul { list-style: none; margin: 0; padding: 0; }
#subnavigation li, #subsubnavigation li, .subnavigation li { float: left; display: block; line-height: 14px; margin-right: 10px; }
#subnavigation li.highlight a, #subsubnavigation li.highlight a, .subnavigation li.highlight a { color: #C2423F; }
#subnavigation a, #subsubnavigation a, .subnavigation a { text-decoration: none; color: #9F9F9F; }
#subnavigation a:hover, #subsubnavigation a:hover, .subnavigation a:hover { color: #C2423F; }

.subnavigation { height: 74px; }
.subnavigation_half { height: 20px; }
#subsubnavigation { height: 47px; }

li.topmenu {
  position: relative;
}

.topmenu ul {
  display: none;
  position: absolute;
  background: #fafafa;
  padding: 0;
  z-index: 100;
}

.topmenu:hover ul {
  display: block;
}

#topnavigation .topmenu li a {
  display: block;
  clear: both;
  margin-top: 1px;
  padding: 5px 0 0 5px;
}

#topnavigation li ul a,
#topnavigation li.highlight ul a {
  display: block;
  color: #9f9f9f;
  white-space: nowrap;
  border-bottom: none;
}

#topnavigation li.highlight ul li.highlight a,
#topnavigation li.highlight ul a:hover {
  color: #c2423f;
}

#topnavigation li.highlight ul .highlight {
  border-bottom: none;
}

#imageinfo, #infopage { height: 415px; border-bottom: solid 1px #9F9F9F; padding-top: 6px; padding-bottom: 6px; vertical-align: top; }
#imagedata { padding-top: 0px; padding-left: 6px; vertical-align: top; font-size: 10px; }
#imagepdf { font-size: 12px; text-align: right; }
#imagepdf a { text-decoration: none; color: #9F9F9F; }
#imagepdf a:hover { color: #C2423F; }

#content { padding-top: 12px; font-size: 11px; line-height: 1.5em; }
#content a, #infotext a { color: #9F9F9F; }
#content .highlight { color: #C2423F; }
#content h1 { font-size: 12px; font-weight: normal; margin-bottom: 12px; color: #6B6B6B; }
#content h2 { font-size: 11px; font-weight: bold }
#content h3 { font-size: 11px; font-style: italic }

#content ol { padding: 0; }
#content ol p { margin-left: 1.33em; }
#content ol ul { padding-left: 0; margin-left: 2.66em; }

#currentimage, .currentimage { padding-top: 35px; text-align: center; font-size: 10px; }
#currentimage .highlight, .currentimage .highlight { color: #C2423F; }

#infopage #infotext {
  float: left;
  width: 415px;
  height: 400px;
  font-size: 11px;
}

#infopage #infotext p {
  margin-top: 0;
}

#infopage .infoimage,
.book #intro .infoimage {
  float: left;
  margin-left: 6px;
}

.headline { font-size: 12px; color: #6B6B6B; }
.thumbnail_link { font-size: 10px; text-decoration: none; color: #9F9F9F; }

#details_link {
  padding-left: 6px;
  font-size: 12px;
  text-align: left;
}

#details_link a,
#imagepdf a {
  text-decoration: none;
  color: #9F9F9F;
  border-radius: 4px;
  border: solid 1px #c2423f;
  color: #c2423f;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
}

#details_link a:hover,
#imagepdf a:hover {
  color: #fff;
  background: #c2423f;
}

#cover_control .button {
  display: block;
  float: left;
  width: 40px;
  padding: 5px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  color: #9F9F9F;
  border-radius: 4px;
  border: solid 1px #c2423f;
  color: #c2423f;
  background: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
}

#cover_control .first {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  -moz-border-top-right-radius: 0;
  -moz-border-bottom-right-radius: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -khtml-border-top-right-radius: 0;
  -khtml-border-bottom-right-radius: 0;
}

#cover_control .last {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  -moz-border-top-left-radius: 0;
  -moz-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -khtml-border-top-left-radius: 0;
  -khtml-border-bottom-left-radius: 0;
}

#cover_control .active {
   background: #c2423f;
   color: #fff;
}

#format_details {
  position: absolute;
  width: 850px;
  height: 413px;
}

#format_details div,
#format_request div {
  margin: 30px 100px;
  width: 600px;
  padding: 0 15px;
  background: #fff;
  font-size: 11px;
  border: solid 1px #666;
}

#format_details div h3 {
  text-align: center;
  font-size: 13px;
  margin-top: 15px;
  padding-bottom: 5px;
  border-bottom: solid 1px #999;
}

#format_details div table {
  font-size: 11px;
}

#format_details div table td,
#format_details div table th {
  padding: 5px;
}

#format_details div table th {
  border-bottom: solid 1px #999;
}

#format_details div table .price {
  text-align: right;
}

#format_details div table .heading th {
  border: none;
  text-align: center;
}

#format_details div table .finishing {
  background: #f4f4f4;
}

#format_details div table .last {
  text-align: center;
}

#format_details div table .even td {
  
}

#format_details div table .odd td {
  background: #f6f6f6;
}

#format_details div table .odd .finishing {
  background: #ededed;
}

#format_details div table .info {
  text-align: center;
}

#format_details div table .edition td {
  border-top: solid 1px #c2423f;
  border-bottom: solid 1px #c2423f;
  color: #c2423f;
}

#format_details div table .edition .last {
  border-right: solid 1px #c2423f;
}

#format_details div table .edition .first {
  border-left: solid 1px #c2423f;
}

#format_details div a,
#format_request div a {
  text-decoration: none;
  color: #9F9F9F;
}

#format_details div a:hover {
  color: #C2423F;
}

#format_details div table .edition a {
  color: #C2423F;
}

#format_details div td a:hover, 
#format_request div td a:hover {
  color: #C2423F;
}

.books #subnavigation {
  font-size: 16px;
  font-weight: bold;
  color: #666;
  padding-top: 14px;
  padding-bottom: 6px;
}

.books .covers {
  width: 850px;
  overflow: scroll;
}

.books .cover {
  float: left;
  width: 208px;
  margin: 6px 6px 6px 0;
  font-size: 11px;
}

.books .last {
  margin-right: 0;
}

.books .cover img {
  margin-bottom: 6px;
}

.book {
  padding: 6px 0;
  border-top: solid 1px #9f9f9f;
  border-bottom: solid 1px #9f9f9f;
}

/* ------- front page ------- */
#front-preview .preview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 364px;
}

#front-preview .image-controls,
.gallery .image-controls {
  display: none;
  text-align: center;
  margin-top: 202px;
}

#front-preview .control-left a,
.gallery .control-left a {
  float: right;
  margin-right: 20px;
}

#front-preview .control-left a::before,
.gallery .control-left a::before {
  content: "\f104";
  font-family: "FontAwesome",Arial,sans-serif;
}

#front-preview .control-right a,
.gallery .control-right a {
  float: left;
  margin-left: 20px;
}

#front-preview .control-right a::before,
.gallery .control-right a::before {
  content: "\f105";
  font-family: "FontAwesome",Arial,sans-serif;
}

#front-preview .image-controls a,
.gallery .image-controls a {
  color: #9F9F9F;
  text-decoration: none;
  font-size: 36px;
  line-height: 28px;
  font-weight: bold;
  /*border: solid 1px #9f9f9f;*/
  display: block;
  width: 30px;
  height: 30px;
  /*border-radius: 17px;*/
}

#front-categories td {
  padding-top: 35px;
  text-align: center;
}

#front-categories div {
  width: 280px;
  height: 30px;
  margin-left: auto;
  margin-right: auto;
}

#front-categories .category {
  display: inline;
}

#front-categories .category a {
  display: block;
  float: left; 
  width: 40px;
  height: 40px;
  margin: 0 15px;
  background-image: url(../../../images/front/categories/misc_inactive.png);
  background-size: 40px 40px;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  text-decoration: none;
  /*border: solid 1px #a3a3a3;*/
  /*border-radius: 17px;*/
}

#front-categories .category .active {
  /*border: solid 1px #C2423F;*/
}

#front-categories .category-misc a.active {
  background-image: url(../../../images/front/categories/misc_active.png);
}

#front-categories .category-aquaart a {
  background-image: url(../../../images/front/categories/aquaart_inactive.png);
}

#front-categories .category-aquaart a.active {
  background-image: url(../../../images/front/categories/aquaart_active.png);
}

#front-categories .category-flowers-ice a {
  background-image: url(../../../images/front/categories/flowers_inactive.png);
}

#front-categories .category-flowers-ice a.active {
  background-image: url(../../../images/front/categories/flowers_active.png);
}

#front-categories .category-erotic a {
  background-image: url(../../../images/front/categories/erotic_inactive.png);
}

#front-categories .category-erotic a.active {
  background-image: url(../../../images/front/categories/erotic_active.png);
}

#front-categories .category-journey a {
  background-image: url(../../../images/front/categories/journey_inactive.png);
}

#front-categories .category-journey a.active {
  background-image: url(../../../images/front/categories/journey_active.png);
}
