@font-face {
  font-family: roboto;
  src: url("../fonts/Roboto-Regular.ttf"); }

@font-face {
  font-family: roboto;
  font-weight: bold;
  src: url("../fonts/Roboto-Bold.ttf"); }

@font-face {
  font-family: roboto;
  font-style: italic;
  src: url("../fonts/Roboto-Italic.ttf"); }

html, body {
  font-size: 14px;
  width: 100%;
  height: 100%; }

body {
  background-color: #fff;
   }

body, #cookie-bar {
  font-family: roboto, Helvetica, Arial, "Lucida Grande", sans-serif; }

.light-bg {
  background-color: #FFF; }

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

input[required]:valid,
select[required]:valid {
  border-color:green;
}
input[required]:invalid,
select[required]:invalid {
  border-color:#b94a48;
}
label.required::after {
  content: "*";
  color: #b94a48;
  font-size: 1.3em;
  line-height: 0;
  display: inline-block;
  position: relative;
  top: 5px;
  margin-left: 4px;
}

h1 {
  margin: 0 0 35px; }

h1,
h2,
h3,
h4,
h5,
h6 {
  /*text-transform: uppercase;*/
  font-weight: 700;
  letter-spacing: 1px; }

h1, h2, h3, h4, h5, .navbar {
  font-family: "Raleway", sans-serif; }

p {
  margin: 0 0 25px;
  line-height: 1.5;
  font-size: 1.2em; /* Pieter's change; fonts look quite small in body grafs */
   }

a {
  word-break:normal;
}

/* DEBUG FIX FOR BADLY WORKING TABLES.  CLEANUP DATA!!!!! */
table {
  table-layout:fixed;
  width:100%;
  word-wrap:break-word;
}

td {
 white-space: normal;
}
.listing table[width] {
  width:400px !important;
}

/* Zach's Bootstrap style overrides */
.badge {
  padding:2px 7px 5px;
  position:relative;
  bottom:2px;
}

/* Zach's Login Modal */
.modal-backdrop.in {
  opacity:0.7;
}
.vertical-alignment-helper {
  display:table;
  height: 100%;
  width: 100%;
  pointer-events:none;
}
.vertical-align-center {
    /* To center vertically */
  display: table-cell;
  vertical-align: middle;
  pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
  width:inherit;
  height:inherit;
  /* To center horizontally */
  margin: 0 auto;
  pointer-events:all;
}
.loginPanel .form-control {
  margin:5px 0;
  font-size:14pt;
  padding:0 10px;
}
.loginPanel p {
  margin:0.5em 0 1em;
}
.loginPanel p.message {
  font-size:14pt;
  font-weight:200;
  text-align:center;
  margin-top:0;
}
.loginPanel p.message.good {
  color:green;
}
.loginPanel p.message.bad {
  color:red;
}



/* start GBD US additions */
/* book pages */
header.book-intro {
  padding: 150px 24px 24px 48px;
  color: black;
  background-color: #ddd;
  background-image: radial-gradient(ellipse 120% 50% at center top, #aaa, #ddd);
 }

header.book-intro .more-info {
  font-size: 2em;
  margin: 18px 0 -18px 0;
 }

.coverimg {
  width: 200px !important;
  float:left;
  margin: 4px 18px 4px 0px;
 }


 a img.coverthumb {
  width: 125px;
  float: left;
  margin: 9px 18px 18px 0px;
  border: 1px solid black;
  }

/* News Section on Homepage */

div.article {
  margin:18px 0;
}
div.article p {
  margin-bottom:24px;
}
div.article p:last {
  margin-bottom: 0;
}

/* about us pages */
div.logoimages {
  display: block;
  width: 100%;
  text-align: center;
 }

img.inline-logo {
  display: inline-flex;
  margin: 24px 24px;
  width: 25%;

 }
img.vertical-left {
  width: 280px;
  float: left;
  margin: 0px 48px 48px 48px;
 }

/* Find Your Rep Page */

.findRep h2 {
  /*border-bottom: 2px solid black;*/
}
.findRep h3 {
  /*border-bottom: 2px solid black;*/
  /*margin-left: 10px;*/
}
.findRep h4 {
  /*border-bottom: 2px solid black;*/
  /*margin-left:20px;*/
}
.findRep p {
  /*margin-left:30px;*/
  font-size:11pt;
}

/* Catalog page */
div.catalogs {
  text-align: center;
}
div.image-wrap {
  width:100%;
  height:470px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
div.catalog {
  width:325px;
  height:545px;
  padding:6px;
  margin:6px;
  display: inline-block;
  border-radius: 10px;
}
div.catalog h4 {
  height: 40px;
}
div.catalog:hover {
  background-color:#ccc;
}

/* Publisher Book Page */
div.books {
  padding: 40px 0;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

div.book {
  text-align: center;
  width:30%;
  margin: 15px;
}
div.book img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  div.book {
    width:45%;
  }
}
@media (max-width: 614px) {
  div.book {
    width:85%;
  }
}

/* Fusion page */
#fusion p:last {
  margin-bottom:18px;
}

/* publisher pages */
.btn-rows {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 200px;
  font-size: 1.5em;
  background-color: white;
  border: 2px solid #222222;
 }

.btn-rows:hover { background-color: #222222; }
.btn-rows a {color: #222222;}
.btn-rows a:hover { color: white; }

/* Prospective Publisher Page */
ol#topreasons {
  counter-reset:li; /* Initiate a counter */
  margin-left:0; /* Remove the default left margin */
  padding-left:0; /* Remove the default left padding */
}
ol#topreasons > li {
  position:relative; /* Create a positioning context */
  margin:0 0 15px 2em; /* Give each list item a left margin to make room for the numbers */
  padding:4px 8px; /* Add some spacing around the content */
  list-style:none; /* Disable the normal item numbering */
  border-left: 5px solid #eee;
}
ol#topreasons > li:before {
  content:counter(li); /* Use the counter as content */
  counter-increment:li; /* Increment the counter by 1 */
  /* Position and style the number */
  position:absolute;
  vertical-align: middle;
  left:-2em;
  top:0;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  width:2em;
  height:100%;
  background-color: #FCCF49;
  /* Some space between the number and the content in browsers that support
     generated content but not positioning it (Camino 2 is one example) */
  margin-right:8px;
  padding:0 4px 4px;
  color:#D82130;
  font-weight:bold;
  font-size:14pt;
  font-family:"Raleway", sans-serif;
  text-align:center;
}

/* title search pages */
.title-search {
  height: 15% !important;
  margin: 128px 0 0 0;
  box-shadow: #999;
  background-color: #333;
  color: white;
  box-shadow:0 4px 10px 0px #111;
  position:relative;
 }

 .keywordsearch {
  margin: 18px 0 0 9px;
   display: inline-flex;
  }

img.coverthumb,
object.coverthumb {
  width: 125px;
  height: auto;
  border: .5px solid black;
  float: left;
  display: block;
  margin: 6px 18px 12px 12px;
  }

div.placeholder {
  box-sizing: border-box;
  display:inline-block;
  width:100%;
  text-align:center;
  margin:0;
  padding:60px 0 0;
  height:400px;
  font-size:3em;
  color:#666;
  background-color:#ddd;
  background-image: radial-gradient(ellipse 120% 50% at center top, #999, #ddd);
}
div.searchResults {
  display:inline-block;
  padding-top:18px;
  background-color:#ddd;
  padding-bottom:1px;
}
.listing {
  box-sizing: border-box;
  border: .75px solid #aaa;
  background-color:#eee;
  border-radius:10px;
  display:inline-block;
  width:100%;
  margin:8px;
  box-shadow:4px 4px 10px 0px #555;
}
.listingBody {
  padding: 12px 24px;
}
.listingHead {
  background-color:#ccc;
  padding:12px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

div.listingHead h1 {
  margin: 0 0 4px 0;
}
div.listingHead h4 {
  margin: 0 0 0 0;
  font-size:1em;
}

div.listingBody .price {
  font-size: 1.5em;
  color: #777;
  margin-top:18px;
 }
 select.currency {
    position:relative;
    bottom:3px;
    left:4px;
 }

div.listingBody .shortdesc {
  font-size: 1em;
  }

div.listingBody div.specs {
  font-family: Helvetica, sans-serif;
  display: inline-block;
}
div.listingBody .more-info {

}
div.listingBody .more-info i {
  display:inline-block;
  position:relative;
  top:2px;
  margin-right:4px;
  font-size:1.3em;
}
div.listingBody .more-info>span {
  border:1px solid #ccc;
  display: inline-block;
  padding:6px;
  border-radius:10px;
}
div.listingBody .more-info>span:hover, div.listingBody .more-info>span.open {
  background-color:#ccc;
}
/* end search page */

/* admin pages */
div.formbox {
    height: 100%;
    min-height: 1200px;
    padding: 48px 24px;
}
div.formbox button {

 }
.isbnInput {
  padding: 0px 24px;
 }

 div#results p {
  margin: 24px 24px;
  padding: 24px 24px;
  color: red;
 }

@media (min-width: 768px) {
  p, ul {
    margin: 0 0 25px;
    line-height: 1.6; } }

a {
  /*color: #226DAA;*/
  color:#1A6F68;
  /*-webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;*/
}

a:hover,
a:focus {
  text-decoration: none;
  color: #0F446D; }

@media (max-width: 1140px) and (min-width: 768px) {
  .title-search {
    margin-top:200px;
  }
}

@media (min-width: 768px) {
    /* Make dropdown open on hover rather than click */


  .dropdown:hover .dropdown-menu:not(.search) {
    display:block;
  }
  .nav>li>a:focus {
    background-color:transparent;
  }

  .dropdown:not(.brand):hover {
    background-color:#00817b;
  }

  .table-layout {
    display: table; }
  .table-layout .row {
    height: 100%;
    display: table-row; }
  .heading-wrapper,
  .row-grid .container-fluid,
  .row-flow .container-fluid {
    overflow-x: hidden; } }

.full {
  height: 100%;
  overflow: hidden; }

.container-fluid {
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
  width: 100%; }
  .container-fluid .row.footer {
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0; }

.container.homepage-section {
  border: 1px solid #e2383f;
  background-color:#fff;
  position:relative;
  top:-40px;
  padding:20px;
  margin-bottom:30px;
}
.container.homepage-section h3 {
  margin:0 0 30px;
  color:#e2383f;
}

.row-flow .row-text .content {
  /*padding:60px;*/
  /*padding-bottom:60px;*/ }

.row-flow .row-banner {
  min-height: 160px;
  background-position: 50% 50%;
  background-size: cover; }
  .row-flow .row-banner h1 {
    color: white;
    background-color: #222222;
    display: inline-block;
    padding: 3px 15px;
    /*margin-left: 45px;*/
    position: absolute;
    margin-top: 80px;
    margin-left: -15px; }

.content.text {margin:20px 0;}
  .content.text a {
    /*text-decoration:underline;*/ }

.page-heading {
  /*background-color:$default-bg;*/ }
  .page-heading div {
    display: block;
    /*padding:50px;*/ }
    .page-heading div h1 {
      margin: 25px 0 15px 0; }

a.anchor {
  display: block;
  position: relative;
  top: -130px;
  visibility: hidden; }

@media (min-width: 768px) {
  .text-col, .img-col-wrapper {
    display: table-cell;
    float: none;
    vertical-align: top; } }

.img-col-wrapper {
  padding-left: 0;
  padding-right: 0;
  /*border-bottom-width: 9px;
  border-bottom-style: solid;*/
  height: 100%;
  background-position: 50% 50%;
  background-size: cover;
  filter: none;
  -webkit-filter: grayscale(0%); }

.img-col {
  min-height: 300px;
  padding-left: 0;
  padding-right: 0;
  height: 100%;
  background-position: 50% 50%;
  background-size: cover;
  filter: none;
  -webkit-filter: grayscale(0%);
  padding: 50px; }
  .img-col div.hidden-text {
    padding: 50px;
    color: #000;
    background-image: url("../images/transparent.png");
    /*font-weight:700;*/
    font-size: 1.2em;
    font-family: "Raleway", sans-serif; }

DIABLED.img-col:hover div.hidden-text {
  /*display:block;*/ }

@media (min-width: 768px) {
  DISABLED.img-col-wrapper:hover {
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
    /* Firefox 3.5+ */
    filter: gray;
    /* IE6-9 */
    -webkit-filter: grayscale(100%);
    /* Chrome 19+ & Safari 6+ */ }

/* For columns on the Find Your Rep Page */
.findRep {
  columns: 4;
  column-rule: 2px solid #eee;
  column-gap: 20px;
}
.columns {
  columns: 3;
  column-rule: 2px solid #eee;
  column-gap: 30px;
}

  .img-col {
    height: 100%;
    min-height: 500px; }
    .img-col div.hidden-text {
      display: none;
      font-size: 1.6em; } }

.text-col {
  background-color: white; }
  .text-col .content {
    top: 0;
    bottom: 0;
    padding-left: 30px;
    padding-right: 30px; }

.bio-col .content {
  height: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
  /*padding:30px;*/ }

.bio-col .content.left {
  text-align: right; }

.bio-col.title h3,
.bio-col.title p {
  margin: 0;
  width:100%; }

.bio-col.title .content {
  vertical-align: middle; }

.bio-col.title .mugshot-wrapper {
  display: inline-block;
  vertical-align: middle; }

.bio-col.title div.mugshot {
  width: 100px;
  height: 100px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover; }

.bio-col.title div.mugshot-sq {
  width: 150px;
  height: 150px;
  /*-webkit-border-radius: 50px;
  border-radius: 50px; */
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain; }

.bio-col.title .right div.mugshot-wrapper {
  margin-right: 20px; }

.bio-col.title .left div.mugshot-wrapper {
  text-align: right;
  margin-left: 20px; }

.bio-col.title .line,
.bio-col.title .info {
  display: inline-block;
  vertical-align: middle;
  max-width:300px; }

.bio-col.title .content-middle {
  vertical-align: middle; }

.bio-col.text .content {
  /*max-width:600px;*/ }

.col-sm-pull-6.bio-col.text .content {
  float: right;
  text-align: right; }

.row.text .content {
  /*padding:50px;*/ }



@media (min-width: 768px) {

  #navbar a.mobile {
    display:none !important;
  }

  div.navbar-header a.navbar-brand {
    display:none;
  }

  .text-col .content {
    padding: 45px 35px; }
  .bio-col .content {
    /*padding:30px 0;
        padding-right:50px;*/ }
  .col-sm-pull-6.bio-col.text .content {
    /*padding-left:50px;*/ }

    .row.footer .copyright {
      text-align:right;
    }
  }

/* Navbar overrides */
.dropdown-menu {
  font-size: 1em; }

.navbar-fixed-top {
  min-height: 80px; }

.navbar-nav > li > a {
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 80px; }

#navbar a {
  color: #000;
  font-weight: 600; }

#navbar .dropdown a:not(.navbar-brand):hover,
#navbar a:not(.navbar-brand):hover {
  color: #fff;
  background-color: #00817b; }

#navbar .open a {
  color: #000;
  /*background-color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176); */
}

#navbar .dropdown-menu .active,
#navbar .dropdown-menu,
#navbar .dropdown.active.open,
#navbar .dropdown.open {
  background-color: #00817b;
  border:0; }

#navbar .dropdown-menu.search {
  background-color: #222222;
  max-height:400px;
  overflow:auto; }

.nav li.top {
  text-transform: uppercase; }

.nav.main-menu a { }

#nav-main span.icon-bar {
  border: 1px solid black; }

.navbar-right {
  margin-right: 20px; }

@media (max-width: 768px) {

  #navbar a.desktop {
    display:none !important;
  }

  .nav li.top.brand {
    display: none;
  }

  div.navbar-header a.navbar-brand {
    padding:0;
  }

  div.navbar-header a.navbar-brand>img {
    height:50px;
  }

  body {
    padding-top: 50px; }
  .navbar-fixed-top {
    min-height: 50px; }
  .navbar-nav > li > a {
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px; }
  a.anchor {
    top: -70px; }
  .social-link {
    display: none; }
    /* For columns on the Find Your Rep Page */
  .findRep {
    columns: 1;
    column-rule: 2px solid #eee;
    column-gap: 30px;
  }

  .container.homepage-section {
    margin:0px 20px 30px;
  }

  .row.footer .full .content {
    text-align:center;
  }

}

.circular {
  width: 300px;
  height: 300px;
  border-radius: 150px;
  -webkit-border-radius: 150px;
  -moz-border-radius: 150px;
  background-repeat: no-repeat; }

.heading-wrapper {
  background-color: #222222;
  color: white;
  width: 100%;
  background-position: 50% 50%;
  background-size: cover;
  text-shadow: 0 0 5px #000; }
  .heading-wrapper h1 {
    background-color: #222222;
    display: inline-block;
    padding: 3px 15px;
    margin: 0;
    margin-left: -15px; }
  .heading-wrapper .content {
    padding: 30px 30px 25px 30px; }



@media (min-width: 768px) {
  .heading-wrapper .container .content {
    padding: 142px 0 20px 0; }
  .heading-wrapper .container-fluid .content {
    padding: 100px 50px 20px 50px; } }

.footer {
  background-color: #414042;
  font-family: "Raleway", sans-serif;
  color: white;
  font-size: 1em; }
  .footer .content {
    padding: 30px 20px; }
    .footer .content p {
      margin: 0; }
    .footer .content img {
      vertical-align: top;
      margin-bottom:10px; }
    .footer .content a {
      color: white;
      font-weight: bold; }

/*.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {

}*/
