/*
 Theme Name:   Introducing 2017
 Description:  Icon Books Child Theme
 Author:       Alex Watson
 Author URI:   http://www.bookswarm.co.uk
 Template:     icon-books-2017
 Version:      1.0.0
 Text Domain:  icon-books-child
*/

.header #logo img {
    margin-bottom: 24px;
}

#top-bar-menu {
	position: relative;
	z-index: 1000;
}

#newsletterModal1 {
	background-color: #d8107f;
}

#top-bar-menu button:hover {
    background-color: #d8107f;
}

#search-reveal {
	background-color: #d8107f;
	position: relative;
	z-index: 1001;
}

.reveal-overlay {
    background-color: rgba(216, 16, 127, 0.3);
}

#main-nav ul.menu .active > a,
#main-nav ul.menu li a:hover {
	border-bottom: 7px solid #d8107f;
}

#main-nav ul.menu li a {
	color: #d8107f;
}

#new-releases .left {
	width: 40%;
	float: left;
	display: block;
}

#new-releases .right {
	width: 60%;
	float: right;
	display: block;
	color: #d8107f;
	font-size: 19px;
	text-align: right;
}

#new-releases .books {
	clear: both;
}

#twitter-feed .border {
	height: 370px;
}

h1, .h1, h2, .h2, h3, .h3 {
	color: #d8107f;
}

h3.blue {
	color: #00aeef;
}

.more {
	background-color: #d8107f;
}

.more:hover {
	background-color: #ad0d66;
}

#footer-top {
	background-color: #d8107f;
	padding: 20px 0;
	
}

#footer-top #inner-footer {
    background-image: url(images/black-i.png);
    background-size: 42px 119px;
    padding: 37px 70px 90px;
}

#inner-footer {
	position: relative;
}

#icon-link {
	position: absolute;
	right: 14px;
	top: 0;
	width: 190px;
	height: 169px;
	display: block;
}

ul.books li.book .inner:hover .hover, div.books .book .inner:hover .hover {
    opacity: 0.9;
}

ul.books li.book .inner, div.books .book .inner {
	display: block;
    position: relative;
}

ul.books li.book .inner .hover, div.books .book .inner .hover {
  position: absolute;
  top: 0;
  background-color: #02acf1;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  padding: 50px 13px 10px;
}

ul.books li.book .inner .hover p a, div.books .book .inner .hover p a {
	display: block;
	color: #fff;
	font-weight: bold;
	font-size: 0.7857142857rem;
}

ul.books li.book p.link {
    font-size: 0.78571rem;
    font-weight: 700;
}

ul.books, div.books {
  margin: 0 0 30px 0;
  text-align: left;
  font-size: 0; }
  ul.books .book, div.books .book {
    list-style-type: none;
    display: inline-block;
    width: 47.5%;
    margin: 0 5% 20px 0; }
    ul.books .book:last-of-type, ul.books .book:nth-of-type(2n), div.books .book:last-of-type, div.books .book:nth-of-type(2n) {
      margin-right: 0; }
    ul.books .book:nth-of-type(2n+1), div.books .book:nth-of-type(2n+1) {
      clear: both; }
    @media print, screen and (min-width: 40em) {
      ul.books .book, div.books .book {
        width: 21.5%;
        margin: 0 4% 20px 0; }
        ul.books .book:nth-of-type(2n), div.books .book:nth-of-type(2n) {
          margin-right: 5%; }
        ul.books .book:nth-of-type(2n+1), div.books .book:nth-of-type(2n+1) {
          clear: none; }
        ul.books .book:nth-of-type(4n), div.books .book:nth-of-type(4n) {
          margin-right: 0%; }
        ul.books .book:nth-of-type(4n+1), div.books .book:nth-of-type(4n+1) {
          clear: both; } }
    @media print, screen and (min-width: 52.5em) {
      ul.books .book, div.books .book {
        width: 18%;
        margin: 0 2.5% 20px 0; }
        ul.books .book:nth-of-type(2n), div.books .book:nth-of-type(2n) {
          margin-right: 2.5%; }
        ul.books .book:nth-of-type(2n+1), div.books .book:nth-of-type(2n+1) {
          clear: none; }
        ul.books .book:nth-of-type(4n), div.books .book:nth-of-type(4n) {
          margin-right: 2.5%; }
        ul.books .book:nth-of-type(4n+1), div.books .book:nth-of-type(4n+1) {
          clear: none; }
        ul.books .book:nth-of-type(5n), div.books .book:nth-of-type(5n) {
          margin-right: 0%; }
        ul.books .book:nth-of-type(5n+1), div.books .book:nth-of-type(5n+1) {
          clear: both; } }
    ul.books .book a:link, div.books .book a:link {
      display: block;
      position: relative; }
    ul.books .book a:hover .hover, div.books .book a:hover .hover {
      opacity: 0.9; }
    ul.books .book img, div.books .book img {
      max-width: 100%;
      height: auto; }
    ul.books .book a .hover, div.books .book a .hover {
      position: absolute;
      top: 0;
      background-color: #02acf1;
      width: 100%;
      height: 100%;
      z-index: 1;
      opacity: 0;
      vertical-align: middle;
      text-align: center;
      color: #fff;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-transition: 0.5s;
      transition: 0.5s;
      padding: 50px 13px 10px; }
      @media print, screen and (min-width: 64em) {
        ul.books .book a .hover, div.books .book a .hover {
          padding: 100px 13px 10px; } }
    ul.books .book p, div.books .book p {
      color: #fefefe; }
    ul.books .book p.title, div.books .book p.title {
      font-size: 1.2142857143rem;
      text-transform: uppercase;
      line-height: 1.3em; }
    ul.books .book p.author, div.books .book p.author {
      font-size: 0.9285714286rem;
      text-transform: uppercase; }
    ul.books .book p:last-of-type, div.books .book p:last-of-type {
      font-size: 0.7857142857rem;
      font-weight: 700; }

div.books .book.slick-slide {
  margin-right: 0;
  clear: none;
  padding: 12px; }

div.books .slick-next {
  height: 21px;
  width: 21px;
  background-image: url('images/arrow-magenta-right.png');
  background-repeat: no-repeat;
  background-size: 100%;
  right: -20px; }
  div.books .slick-next::before {
    content: '';
 }

div.books .slick-prev {
  height: 21px;
  width: 21px;
  background-image: url('images/arrow-magenta-left.png');
  background-repeat: no-repeat;
  background-size: 100%;
  left: -20px; }
  div.books .slick-prev::before {
    content: '';
 }

@media print, screen and (min-width: 64em) {
  /* line 512, ../scss/_main.scss */
  ul.books li.book .inner .hover {
    padding: 100px 13px 10px;
  }
}