* {
  outline: none;
  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

html {
  height: 100%;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  position: relative;
  min-height: 100%;
  margin: 0; padding: 0;
  font-family: "Raleway", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background-color: #ECF0F1;
  color: #333; font-size: 12px; line-height: 1.42857143;
}

a {
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #14BF9D; text-decoration: none; font-weight: 700;
}
a:hover {
  border-bottom: 1px dotted #14BF9D;
}

form {
  padding: 0; margin: 0;
}

.fl {
  float: left;
}
.fr {
  float: right;
}
.clear {
  clear: both;
}

.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.fixed {
  position: fixed;
}

b, strong {
  font-weight: bold;
}

img {
  border: 0;
}

p {
  margin: 0 10px; padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0; padding: 0;
  color: inherit; font-family: inherit; font-weight: 500; line-height: 1.2;
}

h1 {
  font-size: 28px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}

hr {
  margin-top: 15px; margin-bottom: 15px;
  border: 0; border-top: 1px solid #DEDEDE;
  height: 0;
  -moz-box-sizing: content-box; box-sizing: content-box;
}

input, button, select, textarea {
  font-family: inherit; font-size: inherit; line-height: inherit;
}
textarea {
  resize: none;
}
input[type='submit'], input[type='button'] {
  -webkit-appearance: none;
  -webkit-border-radius: 0; border-radius: 0;
}

table {
  border-spacing: 0; border-collapse: collapse;
}

td, th {
  padding: 0;
}

legend {
  padding: 0; border: 0;
}

.fa {
  margin-right: 5px;
}

/* ERRORS */
.errors:before, .success:before {
  font-family: FontAwesome; content: "\f071";
  width: 40px; height: 40px;
  float: right; background-color: #C3191C;
  font-size: 20px; line-height: 36px; text-align: center;
  border-radius: 100px; -moz-border-radius: 100px; -webkit-border-radius: 100px;
  box-shadow: 0 0 3px #861213; -moz-box-shadow: 0 0 3px #861213; -webkit-box-shadow: 0 0 3px #861213;
}
.errors, .success {
  margin-top: 10px; margin-bottom: 10px;
  background-color: #AF2B2B; border: 1px solid #E08B91;
  border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px;
  color: #FFF; line-height: 1.4; font-size: inherit;
  padding: 14px; min-height: 70px;
}
.success {
  background-color: #56B63A; border: 1px solid #9DDA8B;
}
.success:before {
  content: "\f00c"; line-height: 38px;
  box-shadow: 0 0 3px #316721; -moz-box-shadow: 0 0 3px #316721; -webkit-box-shadow: 0 0 3px #316721;
  background-color: #76CC5E;
}
/* /ERRORS */

/* PAGINATION */
.page_unselected, .page_selected {
  display: block; height: 28px;
  background-color: #F2F2F2;
  border-bottom: 0;
  padding-left: 10px; padding-right: 10px;
  margin-right: 6px; margin-left: 6px;
  font-weight: bold; color: #333; font-size: 13px; text-transform: uppercase; line-height: 30px;
  box-shadow: 0px 1px 1px #9A999F; -moz-box-shadow: 0px 1px 1px #9A999F; -webkit-box-shadow: 0px 1px 1px #9A999F;
  border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px;
  transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease;
}
.page_unselected:hover {
  background-color: #DDD;
  border-bottom: 0;
  box-shadow: 0px 1px 1px #333; -moz-box-shadow: 0px 1px 1px #333; -webkit-box-shadow: 0px 1px 1px #333;
}
.page_selected {
  background-color: #DDD;
  box-shadow: 0px 1px 1px #333; -moz-box-shadow: 0px 1px 1px #333; -webkit-box-shadow: 0px 1px 1px #333;
  cursor: default;
}
.page-previous {
  border-top-left-radius: 100px; -moz-border-top-left-radius: 100px; -webkit-border-top-left-radius: 100px;
  border-bottom-left-radius: 100px; -moz-border-bottom-left-radius: 100px; -webkit-border-bottom-left-radius: 100px;
}
.page-previous:before {
  font-family: FontAwesome; content: "\f053";
  margin-right: 8px;
}
.page-next {
  border-top-right-radius: 100px; -moz-border-top-right-radius: 100px; -webkit-border-top-right-radius: 100px;
  border-bottom-right-radius: 100px; -moz-border-bottom-right-radius: 100px; -webkit-border-bottom-right-radius: 100px;
}
.page-next:after {
  font-family: FontAwesome; content: "\f054";
  margin-left: 8px;
}
/* /PAGINATION */

/* POPUP */
#popup-background {
  position: fixed; top: 0; left: 0; z-index: 10010;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}
#popup {
  display: none;
  position: fixed; top: 3%; left: 3%; z-index: 10011;
  width: 94%; max-height: 94%;
  overflow-y: auto;
  background-color: #FFF;
  border: 1px solid #DDD;
  border-radius: 5px;
  box-shadow: 0 0 10px #CECECE;
}

#popup h2.maintitle {
  display: block;
  padding: 8px 10px;
  color: #FFF; font-size: 14px; font-weight: 700;
  background-color: #14BF9D;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
#popup .content {
  padding: 10px;
}
#popup .actions {
  padding: 12px 13px;
  background-color: #F2F2F2;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
#popup .actions a {
  float: left;
  height: 30px;
  padding: 0 18px; margin-right: 10px;
  color: #FFF; font-size: 15px; line-height: 26px;
  background-color: #437FC1;
  border: 1px solid #437FC1;
  transition: all 0.3s ease;
}
#popup .actions a:hover {
  opacity: .7;
  border: 1px solid #437FC1;
}

#popup .content .pop-item {
  margin: 15px 0;
  font-weight: 700;
}
#popup .content input[type='text'] {
  display: block;
  width: 100%; height: 30px;
  padding: 0 10px; margin-top: 7px;
  color: #333;
  background-color: #EEE;
  border: 1px solid #EEE;
}

@media screen and (min-width: 450px) {
  #popup {
    left: 50%;
    width: 400px;
    margin-left: -200px;
  }
}
/* /POPUP */

.fixify {
  overflow: hidden;
}

.sublink {
  display: inline-block;
  width: 110px;
  margin-top: 7px; margin-right: 6px; padding: 5px 0 4px;
  text-align: center; font-size: 10px;
  background-color: #F2F2F2;
  border: 0;
  transition: all 0.3s ease;
}
.sublink:hover {
  opacity: .7;
  border-bottom: 0;
}

/* SIMILAR DATES */
#similar-dates {
  padding: 0 25px;
  height: 60px;
  background: #FFF;
  border: 1px solid #DDD;
  border-radius: 5px;
}

#similar-dates .bw-inner {
  overflow-x: auto;
}
#similar-dates .bw-inner-inner {
  min-width: 800px; width: 100%;
}

#similar-dates .prev, #similar-dates .next {
  position: absolute; top: 0; left: -25px;
  display: block;
  width: 25px; height: 60px;
  line-height: 76px; text-align: center;
}
#similar-dates .next {
  left: auto; right: -26px;
}
#similar-dates .prev i, #similar-dates .next i {
  margin: 0;
  color: #333; font-size: 42px;
}
#similar-dates .prev:hover, #similar-dates .next:hover {
  border: 0;
}

#similar-dates .bd-item {
  float: left; width: 14.2857%;
  height: 58px;
  padding: 10px 5px;
  text-align: center; font-weight: 700; font-size: 12px;
  border-left: 1px solid #DDD;
}
#similar-dates .bd-item:hover {
  background: rgba(31, 31, 31, 0.05);
}
#similar-dates .bd-item:nth-of-type(7) {
  border-right: 1px solid #DDD;
}

#similar-dates .bd-item a {
  color: #666 !important; font-weight: 500;
}
#similar-dates .bd-item a:hover {
  border: 0;
}
#similar-dates .bd-item strong {
  display: block;
  text-transform: uppercase; color: #333; font-weight: 700; font-size: 14px;
}

#similar-dates .book-loading {
  line-height: 60px; text-align: center; font-size: 20px;
}

#similar-dates .bd-unavailable {
  background: #F2F2F2;
}
#similar-dates .bd-unavailable strong {
  color: #666 !important;
}
#similar-dates .bd-unavailable a {
  color: rgb(165, 163, 163) !important;
  font-style: italic !important;
}

#similar-dates .bd-active, #similar-dates .bd-active:hover {
  background: #14BF9D;
}
#similar-dates .bd-active strong {
  color: #FFF !important;
}
#similar-dates .bd-active a {
  color: #FFF !important;
}
/* /SIMILAR DATES */

/* OTHER */
.link-middle {
  display: inline-block;
  margin: 5px 0;
}
/* /OTHER */