/*======================================
Theme Name: Bookswarm Divi Child Theme for The Hamilton Agency
Theme URI: https://divicake.com/
Description: Divi Child theme to hold CSS customisations and additional templates
Version: 1.0
Author: Bookswarm
Author URI: https://bookswarm.co.uk
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 37%;
    display: block;
    width: 19px;
    height: 54px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev {
    background-image: url(images/prev.png);
    left: 0;
    z-index: 999;
}

.slick-next {
    background-image: url(images/next.png);
    right: 0;
}

.bookdetails {
text-align: center;
margin-top: 40px;
}

.grid {
	height: 100%;
}

.grid-item {
	height: 420px;
}

.clientmeta {
	padding-top: 30px;
}
.clientname {
	text-transform: uppercase;
	font-weight: bold
}
.clientlinks {
  	font-weight: bold;
}
.separate {
	margin: 0 5px;
}

.news-listing-panel {
  min-height: 660px !important;
  margin-bottom: 60px;
}
.news-title {
  margin: 20px 0 10px 0;
}
.news-date {
  margin-bottom: 10px;
}
.news-button {
  display:block;
  width: 185px;
  background: #000;
  text-align: center;
  padding: 10px 40px;
  margin: 40px auto 0;
  color: #fff;
  text-transform: uppercase;
}
.news-button-wide {
  width: 350px !important;
}

.button-group {
	display: block;
	margin: 40px auto;
  	text-align: center;
}
.filter-label {
	text-transform: uppercase;
  	margin-right: 20px;
}
.genre-button {
	border: none;
  	background: none;
  	text-transform: uppercase;
}

.genre-button:hover {
	font-weight: bold;
}

#menu-item > a {
	background: none;
}

#top-menu-nav #top-menu a:hover,
#mobile_menu_slide a:hover { 
    background: none !important;
    color: #000 !important; 
    opacity:1 !important;
    font-weight: bold;
}

#top-menu-nav #top-menu a:link,
#mobile_menu_slide current_page_item { 
    background: none !important;
    color: #000;
}

li.et_pb_tab_0, li.et_pb_tab_1 {
	width: 50%;
}

body .gform_wrapper .gform_footer input[type=submit] {
  display:block;
  width: 185px;
  background: #000;
  text-align: center;
  padding: 10px 40px;
  margin: 40px auto 0;
  color: #fff;
  text-transform: uppercase;
  border: none !important;
}

#main-header {
    box-shadow: none !important;
    border-bottom: 1px solid #000;
}
    
.bookcontainer {
  position: relative;
  width: 258px;
  height: 408px;
  margin: 0 auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
}

.bookcontainer:hover .overlay {
  display: block;
  background: rgba(0, 0, 0, .6);
}

.bookcontainer img {
  position: absolute;
  width: 258px;
  height: 406px;
  left: 0;
  margin: 0 auto;
}

.title {
  position: absolute;
  width: 258px;
  padding: 0 15px;
  left: 0;
  top: 120px;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  z-index: 1;
  transition: top .5s ease;
  opacity: 0;
}

.bookcontainer:hover .title {
  top: 90px;
}

.bookbutton {
  position: absolute;
  width: 258px;
  left:0;
  top: 280px;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
}

.bookbutton a {
  width: 200px;
  padding: 12px 48px;
  text-align: center;
  color: white;
  border: solid 2px white;
  z-index: 1;
}

.bookcontainer:hover .bookbutton {
  opacity: 1;
}

.bookcontainer:hover .title {
  opacity: 1;
}
