/*======================================
Theme Name: Bookswarm Divi Child Theme for Boldwood
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. */

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #ee7556 !important;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
  .archive #left-area {
    width: 100% !important;
    padding: 23px 0px 0px !important;
    float: none !important;
  }
}
/*** Hide Sidebar for archive pages ***/

#et-top-navigation {
  border-bottom: 1px solid #ee7556 !important;
}

#top-menu-nav > ul > li > a:hover {
  background: none !important;
}

#top-menu-nav > ul > li > a:active {
  background: none !important;
}

#top-menu-nav > ul > li > a:focus {
  background: none !important;
}

.et-search-form {
  top: -90px;
}

span.et_close_search_field {
  top: 0 !important;
}

.archive #sidebar {display:none;}

/*** Take out the divider line between content and sidebar ***/
.archive #main-content .container:before {background: none;}

.archive h1 {
  text-align: center;
  margin-bottom: 80px;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 35%;
    display: block;
    width: 32px;
    height: 60px;
    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;
}

#slides .slick-prev, .slick-next {
  top: 50% !important;
  }

.bookcontainer {
  position: relative;
  width: 135px;
  margin: 0 auto;
}

.bookcontainermed {
  margin: 0 auto;
}

.bookcontainerlarge {
  position: relative;
  max-width: 300px;
  min-height: 500px;
  margin: 0 auto;
  text-align: center;
}

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

.bookdetailsmed {
text-align: center;
margin-top: 20px;
}

.bookdetailslarge {
text-align: center;
margin-top: 20px;
margin-bottom: 90px;
}

.authorcontainer {
position: relative;
max-width: 250px;
margin: 0 auto;
}

.authordetails {
text-align: center;
margin-top: 20px;
margin-bottom: 60px;
}

.more-button, .gform_button {
  display: block !important;
  width: 135px !important;
  background: #ee7556 !important;
  text-align: center !important;
  padding: 10px 40px !important;
  margin: 30px auto 0 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  outline: 1px solid #fff !important;
  outline-offset: -2px !important;
}
.more-button-wide {
  width: 270px !important;
}
.et_pb_button {
  width: 270px !important;
}
.more-button-book {
  margin: 20px auto 0 !important;
}

#more-books {
	margin-top: 60px;
}

.news-thumb {
	margin-bottom: 25px;
}

#sharing {
  margin-bottom: 25px;
}

#authors, #books, #slides {
  width: 100%; max-width: 1170px; margin: 0 auto;
}

div.bw_slide {
  width: 1170px;
  height: 400px;
  background-color: #ccc;
}

.sliderheadline {
  background-color: rgba(238, 117, 86, 0.9);
  display: inline-block;
  padding: 20px 20px 10px;
  position: relative;
  float: right;
  top: 75%;
}

.sliderheadline h2 {
  color: #fff;
}

.hidden {
  display: none;
}

.et_pb_toggle {
  border: 0 !important;
}

.et_pb_toggle_content a:link {
  color: #fff !important;
  font-weight: bold;
}

.et_pb_toggle_content a:visited {
  color: #fff !important;
  font-weight: bold;
}

.et_pb_toggle_content a:hover {
  color: #fff !important;
  font-weight: bold;
  text-decoration: underline;
}

.et-db #et-boc .et_pb_toggle_title:before {
    color: #fff !important;
}

#book-meta > div > h5 {
  margin-top: 20px;
}