html {
  height: 100%;
  min-height: 100%;
}

body {
  height: 100%;
  min-height: 100%;
  position: relative;
  background-color: #FFF;
  margin: 0;
  padding: 0;
  font-family: "Open Sans";
  background-image: url('/images/site/bg-wave.jpg');
}

#wrapper {
  width: 100%;
  height: auto;
  min-height:100%;
  text-align: center;
  position:relative;
}

div#top-bar {
  background-color: #CFD0D7;
  background:rgba(0,0,0,0.3);
  height: 40px;
  width: 100%;
  margin: auto;
  right: 0;
  left: 0;
  color: #FFF;
}

div#top-bar img#fs-top {
  position:relative;
  right: 320px;
  top: 8px;
}

div#top-bar span#txt-top {
  position:relative;
  right: 310px;
  top: 7px;
  font-size: 9pt;
  letter-spacing: 1px;
}

div#top-bar span#txt-top-right {
  position:relative;
  left: 341px;
  top: 8px;
  letter-spacing: 3px;
  font-size: 9pt;
}

div#header-wrapper {
  width: 100%;
}

div#logo-wrapper {
  padding-top: 140px;
  position: relative;
  width: 700px;
  height: 121px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

img#logo {
  position: relative;
  right: 90px;
  z-index: 1;
}

img#surfer-loaded, img#surfer-loading {
  width: 501px;
  height: 434px;
  position: absolute;
  left: 439px;
  top: 15px;
}

img#surfer-loading {
  display: none;
  /* left: 560px; */
  /* top: -36px; */
  z-index: 0;
  /* left: 440px; */
               
              
  /* top: -50px; */
}

div#search {
  height: 150px;
  width: 1366px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  position: relative;
  bottom: 0px;
}

div#search div#txt-enter-keyword {
  position: absolute;
  top: 10px;
  left: 10px;
}

div#search div#step-one {
  position: absolute;
  top: 10px;
  left: 10px;
}

div#search div#box-search {
  left:290px;
  position: absolute;
  height: 178px;
  width: 412px;
  top: 0px;
  background-image: url('/images/site/box-new-search.png');
  background-repeat: no-repeat;
  z-index: 8;
}

div#search #search-button {
  outline: 0;
  position: absolute;
  top: 97px;
  left: 329px;
  background: transparent;
  border: none !important;
  font-size: 0;
  width: 23px;
  height: 24px;
  z-index: 10;
}

div.search-icon {
  position: absolute;
  top: 50px;
  left: 280px;
  height: 123px;
  width: 123px;
  background-image: url('/images/site/box-search-icon.png');
  background-repeat: no-repeat;
  z-index: 9;
}

div#search-icon-hover {
  background-image: url('/images/site/box-search-icon-hover.png');
  display: none;
}

div#search-icon-clicked {
  background-image: url('/images/site/box-search-icon-clicked.png');
  display: none;
}

div#search #search-textbox {
  outline: 0;
  position: absolute;
  top: 86px;
  left: 120px;
  height: 36px;
  width: 199px;
  background: transparent;
  border: none !important;
  font-family: "Open Sans";
  font-size: 15pt;
  color: #FFF;
}

#loading-text {
  position: relative;
  top: 20px;
  height: 114px;
  width: 358px;
}

#no-results {
  height: 223px;
  width: 670px;
}

div#loading {
  height: 20px;
  width: 1366px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  color: #006990;
  text-align: center;
  /* background: rgba(244,247,249,0.7); */
  display: none;
}

div#content-wrapper {
  width: 1366px;
  height: auto;
  left: 0;
  right: 0;
  text-align: center;
  vertical-align: top;
  display: none;
  position: relative;
  top: 0px;
  margin: 0 auto;
  padding-bottom: 40px;
  padding-top: 30px;
}

div#left-wrapper {
  display: table-cell;
  vertical-align: top;
  padding: 16px 75px 30px 75px;
  background: rgba(244,247,249,0.7);
  position: relative;
}

img#step-two {
  position: absolute;
  left: 10px;
  top: 10px;
}

div#books-wrapper {
  min-height: 420px;
}

div#results-wrapper {
  min-height: 350px;
}

div#books-wrapper {
  width: 760px;
}

span.missing-title {
  height: 100%;
  width: auto;
}

div#results-wrapper {
  width: 456px;
}

div#right-wrapper {
  display: table-cell;
  vertical-align: top;
  padding-top: 16px;
  background: rgba(1,127,174,0.7);
}

img#step-three {
  position: absolute;
  left: 918px;
  top: 40px;
}

span#txt-links {
  color: #FFF;
}

div.center-wrapper {
  width: 100%;
  text-align: center;
}

img#choose-book, img#safe-links {
  margin-bottom: 5px;
}

div#results-wrapper {
  text-align: center;
  margin-top: 10px;
}

img#step-three, img#safe-links, span#txt-links {
  display: none;
}

div#bottom-wrapper {
  display: table-row;
  background: rgba(25,113,138,0.7);
  padding: 10px 0px 5px 0px;
  height: 62px;
}

div#bottom-left {
  display: table-cell;
}

div#bottom-right {
  display: table-cell;
  text-align: center;
}

.files-link {
  display: none;
}

a#files-link {
  position: relative;
  top: 1px;
  right: 25px;
}

img#step-four {
  position: relative;
  top: 10px;
  right: 73px;
}

div#color-wrapper {
  display: none;
  min-height: 100%;
  width: 100%;
}

div#color-left {
  display: table-cell;
  width: 360px;
  height: 480px;
  vertical-align: top;
  background: rgba(45,188,200,1);
  background-image: url('/styles/images/download_surfer.png');
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
}

div#color-right {
  display: table-cell;
  width: 500px;
  height: 480px;
  vertical-align: top;
  background: #fff;
  /* align-items: center; */
  /* justify-content: center; */
}

li.download-file {
  height: 50px;
  width: 250px;
  display: block;
  /* background-image: url('/styles/images/download_bg.png'); */
  background-color: #006990;
  margin-bottom: 30px;
  position: relative;
}

img.download-gif {
  height: 18px;
  margin: 0px 6px -3px 0px;
}

li.download-file a {
  display: block;
  font-size: 14pt;
  font-weight: bold;
  position: relative;
  top: 12px;
}

li.download-file a:link {
  text-decoration: none;
  color: #FFF;
}

li.download-file a:visited {
  text-decoration: none;
  color: #FFF;
}

li.download-file a:hover {
  text-decoration: underline;
  color: #FFF;
}

li.download-file a:active {
  text-decoration: underline;
  color: #FFF;
}

ul#color-files {
  padding: 0;
  text-align: center;
}

div#color-header {
  width:284px;
}

div#color-files-wrapper {
  width:250px;
}

div#color-header,
div#color-files-wrapper {
  margin-left: auto;
  margin-right: auto;
}
/* div#cboxLoadedContent { */
  /* display: flex; */
  /* align-items: center; */
/* } */

div#cboxLoadedContent div#color-wrapper {
  display: table-row;
}

div.files-link {
  height: 20px;
}

img.file-icon {
  height: 20px;
  padding: 2px 5px 2px 0px;
}

/* div#results-book { */
  /* margin-top: 10px; */
/* } */
div.book-wrapper, div.book-result-wrapper {
  height: 230px;
  display: inline-block;
  margin: 6px;
  box-shadow: 0 4px 8px 0 rgba(1,127,174, 0.6), 0 6px 20px 0 rgba(1,127,174, 0.29);
  border-width: 0px;
  border-style: solid;
  border-color: transparent;
}

div.book-result-wrapper {
  box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.4), 0 6px 20px 0 rgba(255, 255, 255, 0.29);
}

div.book-clicked-selected, div.book-selected {
  border-color: #1EA78D;
  border-width: 1px;
  margin: 5px;
}

div.book-clicked-selected {
  height:270px;
}

div.book-result-wrapper {
  height: 200px;
  display: none;
  border-width: 0px;
}

div#pages-wrapper {
  position: relative;
  bottom: 0px;
  height: 8px;
  width: 100%;
  text-align: center;
}

img.page {
  margin: 0 4px;
}

img.result-book {
  height: 100%;
  width: auto;
}

div.result-row {
  padding: 8px 0px;
  display: none;
}

div.result-link {
  font-size: 14pt;
  font-weight: bold;
}

div.result-link img.result-safe {
  position: relative;
  top: 3px;
  right: 8px;
}

div.result-link a:link {
  text-decoration: none;
  color: #FFF;
}

div.result-link a:visited {
  text-decoration: none;
  color: #FFF;
}

div.result-link a:hover {
  text-decoration: underline;
  color: #FFF;
}

div.result-link a:active {
  text-decoration: underline;
  color: #FFF;
}

div.result-link-text {
  font-size: 8pt;
  color: #FFF;
}

div.result-terms {
  font-size: 6pt;
  font-weight: bold;
}

span.result-terms {
  margin-right: 2px;
  color: #FFF;
}

div.result-terms a:link {
  text-decoration: none;
  color: #FFF;
}

div.result-terms a:visited {
  text-decoration: none;
  color: #FFF;
}

div.result-terms a:hover {
  text-decoration: underline;
  color: #FFF;
}

div.result-terms a:active {
  text-decoration: underline;
  color: #FFF;
}

div.result-link-text {
  font-size: 8pt;
}

#left-arrow, #right-arrow {
  position: absolute;
  top: 238px;
  height: 52px;
  width: 52px;
}

#left-arrow {
  left: 10px;
}

#right-arrow {
  left: 856px;
}

#left-arrow {
  background-image: url('/images/site/left-arrow.png');
}
#left-arrow.hover {
  background-image: url('/images/site/left-arrow-hover.png');
}
#left-arrow.clicked {
  background-image: url('/images/site/left-arrow-clicked.png');
}
#left-arrow.disabled {
  background-image: url('/images/site/left-arrow-disabled.png');
}
#right-arrow {
  background-image: url('/images/site/right-arrow.png');
}
#right-arrow.hover {
  background-image: url('/images/site/right-arrow-hover.png');
}
#right-arrow.clicked {
  background-image: url('/images/site/right-arrow-clicked.png');
}
#right-arrow.disabled {
  background-image: url('/images/site/right-arrow-disabled.png');
}

div#footer-wrapper {
  height: 40px;
  width: 100%;
}

div#footer-wrapper {
  /* width: 1366px; */
  /* border-style: solid none none none; */
  /* border-color: #349757 transparent transparent transparent; */
  /* border-width: 3px; */
  /* margin-left: auto; */
  /* margin-right: auto; */
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(49,163,89,0.7);
  margin-top: -40px;
}

img#fs-bottom, span#footer-left {
  position: relative;
  right: 196px;
  top: 10px;
  color: white;
}

span#footer-left {
  bottom: 2px;
  right: 194px;
  top: 10px;
  font-size: 9pt;
}

span#footer-right {
  position: relative;
  left: 185px;
  top: 10px;
  font-size: 10pt;
  bottom: 2px;
}
