/*Theme Name: Booklovers
Author: Kelly Diabagate
Version: 1.0
*/

/* GLOBAL FONTS AND SIZES */

p, li.menu-item {
  font-family: 'Merriweather', serif;
  font-size: 18px;
}

/* This style is for the small description inside the slider */
.wppsac-sub-content {
  font-family: 'Merriweather', serif;
  font-size: 18px;
}

h1 {
  font-family: 'Cinzel', serif;
}

h2 {
  font-family: 'muli', sans-serif;
}

.wppsac-post-title {
  font-family: 'Literata', serif;
  font-weight: 400;
}

h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

h3 {
  text-transform: uppercase;
}

.btn, .wppsac-readmorebtn {
  font-family: 'muli', sans-serif;
  font-weight: 700;
}

.wppsac-post-slider .wppsac-post-content a.wppsac-readmorebtn {
  display: inline-block;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.wppsac-post-slider.design-4 .wppsac-post-content a.wppsac-readmorebtn, .btn-primary {
  color: #fff;
  background-color: #058ED9;
  border-color: #058ED9;
}

/* HEADER NAV AND SEARCH */

.navigation-container {
  display: flex;
  justify-content: space-between;
  background-color: #0F4034;
}

.navbar {
  width: 100%;
  padding: 1em;
}

.navbar-toggler + .collapsing {
  height: 100vh !important;
}

.navbar-collapse.collapsing .navbar-nav {
  display: none;
}

.navbar-collapse.collapsing:not(.show) + .search-container, .navbar-collapse.collapse.show + .search-container {
  display: none;
}

.navbar-collapse.show {
  position: absolute;
  top: 5em;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: #0F4034;
  z-index: 10;
  display: flex;
  padding-top: 5em;
  align-items: flex-start;
  justify-content: center;
}


.navbar-collapse.show li.menu-item {
  display: block;
  margin-bottom: 1.5em;
  animation: slide 0.5s cubic-bezier(0, 0.21, 1, 0.69);
}

@keyframes slide {
  0% {transform: translateY(-2000%)}
  100% {transform: translateX(0)}
}


.navbar-collapse.show #menu-header-menu {
  padding: 0;
  text-align: center;
}

.navbar-collapse:not(.show) i.fa.fa-window-close::before {
  display: none;
}

.navbar-light {
  background: transparent!important;
}

.navbar li.menu-item {
  display: inline;
  padding: 0 2em;
}

.navbar li.menu-item a {
  color: white;
  text-transform: uppercase;
  font-weight: 700;
}

.navbar li.menu-item.current-menu-item a {
  color: #F5D15D;
}

.navbar li.menu-item a:hover, .navbar li.menu-item a:focus-visible {
  text-decoration: underline;
  text-decoration-color: #F5D15D;
  text-underline-offset: 0.3em;
  outline: none;
}

.navbar-light .navbar-toggler {
  border-color: #F5D15D;
}

.fa.fa-bars {
  color: #F5D15D;
}

.search-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  right: 1em;
}

.search-form {
  height: 100%;
  width: 3em;
  margin: 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.dashicons-search {
  width: auto;
  height: 1em;
  font-size: 2em;
}

.dashicons-search:hover, .dashicons-search:focus-visible {
  text-decoration: none;
  outline: none;
}

.dashicons-search:before {
  color: white;
}

.dashicons-search:hover:before, .dashicons-search:focus-visible:before {
  color: #F5D15D;
}

/* BRANDING */

.brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em 0 1.5em;
  background-color: #0F4034;
}

.brand-container h1 {
  text-transform: uppercase;
  color: #F5D15D;
  text-shadow: 5px 5px 4px black;
}

.brand-container h2 {
  text-transform: uppercase;
  color: #F5D15D;
}

.navbar-brand:focus-visible {
  outline: none;
}

.navbar-brand:hover h1, .navbar-brand:focus-visible h1 {
  text-shadow: 5px 5px 4px dimgray;
}

/* HOMEPAGE */
.content-title {
  padding: 0 0 1em 0;
  text-decoration: underline;
}

#homepage {
  padding: 0;
  background-color: #0f4034;
}




#header {
  background-color: #0F4034;
  margin: 0;
}

#homepage .carousel {
  padding-right: 0;
  padding-left: 0;
  margin-bottom: 4em;
  background-color: white;
  height: 100%;
}

.carousel .slick-track {
  display: flex;
  align-items: center;
}

.wppsac-slick-slider-wrp.wppsac-clearfix  {
  background-color: white;
  margin: 2em;
}

.wppsac-post-slider.design-4 .wppsac-post-list-content {
  display: flex;
  align-items: center;
}

.wppsac-post-slider.design-4 .wppsac-post-image-bg {
  height: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
} 

.wppsac-post-slider .wp-medium-5, .wppsac-post-slider .wp-medium-7 {
  width: 50%;
}


.wppsac-post-slider .wp-medium-7 {
  text-align: center;
}

.wppsac-post-slider .wppsac-post-image-bg img {
  height: auto;
  width: 100%;
}

.wppsac-post-content, .wppsac-post-title {
  width: 90%;
}

@media only screen and (max-width: 450px) {
  .wppsac-post-list-content {
    display: flex;
    flex-direction: column;
  }

  .wppsac-post-slider .wp-medium-5, .wppsac-post-slider .wp-medium-7 {
    width: 100%;
  }

  .wppsac-post-content, .wppsac-post-title {
    width: 100%;
  }
}

#main {
  margin: 0;
  background-color: #FFFAEB;
  overflow: hidden;
}

#main .about {
  padding: 2em;
}

#main .pages-navigation {
  background-color: #0f4034;
  display: flex;
  justify-content: center;
}

#main .pages-navigation .row {
  padding: 2em;
  align-items: center;
}

.card-container {
  padding: 1em;
  height: 27em;
}

.card-img-top {
  height: 50%;
  box-shadow: rgb(5 64 52) 0px -4px 4px 2px;
}

#main .title-container {
  width: 19rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 6px, rgba(0, 0, 0, 0.3) 0px 9px 15px -5px, rgba(0, 0, 0, 0.2) 0px -5px 0px inset;
  color: black;
  border-radius: 4px;
  height: 100%;
}

@media only screen and (max-width: 992px) {
  #main .title-container {
    margin: 0 auto;
  }
}



.card-title {
  position: absolute;
  top: 47%;
  position: absolute;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  background-color: #f5d15d;
}

.card-title a {
		color: black;
	cursor: default;
}

.card-title a:hover {
	text-decoration: none;
}

.card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-body a.btn {
  position: absolute;
  bottom: 1em;
}

.card-body .card-body-band {
  display: none;
}

.card-container .card-body-band i {
  display: none;
}

@media only screen and (max-width: 825px) {
  .card-body {
    position: absolute;
	 bottom: 10px;
  }
	
.card-body .card-text, .card-body a.btn {
    position: absolute;
    z-index: -10;
  }
	
.card-body .card-title {
    top: unset;
  }
	
	.card-body .card-title a {
    cursor: pointer;
  }

  .card-body .card-title a:hover {
    font-weight: 600;
	  color: white;
  }

  .card-container .card-body-band {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 4em;
    width: 100%;
    padding: 0 1em;
  }

  .card-container .card-body-band i {
    display: block;
    z-index: 20;
  }

  .fa-arrow-circle-right:before {
    color: #f5d15d;
  }

  .card-body.show {
    z-index: 20;
    background-color: white;
    height: 100%;
	bottom: unset;
  }
	
	.card-body.show .card-text {
		padding: 1em;
	}
	
.card-body.show .card-title {
    display: none;
  }
	


  .card-body.show + .card-img-top {
    box-shadow: none;
  }

  .fa-arrow-circle-right {
    cursor: pointer;
  }

  .card-container {
    height: auto;
  }

  .card-img-top {
    height: 200px;
  } 

  #main .title-container {
    height: auto;
  }
}

.blogs-list {
  padding: 2em;
  background-color: white;
}

.instagram, .newsletter {
  padding: 2em;
  background-color: black;
  color: white;
}

.newsletter {
  	border-bottom: 1px solid white;
}

.newsletter h3 {
	color: white;
}

.newsletter a:hover h3 {
	color: #F5D15D;
	text-decoration: underline;
	text-decoration-color: #F5D15D;
}


.blog-post-container {
  padding: 1em 0;
}

.blog-post-container:not(:last-child) {
  border-bottom: 1px solid black;
}

@media only screen and (max-width: 600px) {
  .blog-post-container {
    text-align: center;
  }
  .blog-post-container > div {
    padding: 1em 0;
  }
}
.blog-post-container h4.blog-post-title {
text-transform: uppercase;
}
.blog-post-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.blog-post-image img {
  width: 286px;
  height: auto;
}

@media only screen and (max-width: 1024px) {
	.blog-post-image img {
	  width: 200px;
	  height: auto;
	}
}

.blog-post-content-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.single-post-content {
	max-width: 90%;
}

.single-post-content .blog-post-img-container {
	display: flex;
    align-items: center;
	max-height: 500px;
}

.single-post-content .blog-post-img {
	width: 290px;
	height: auto;
	margin: 0 1em 1em 0;
}

.single-post-content .blog-post-top-text div p {
	margin-bottom: 0;
	padding-left: 0;
}

.single-post-content .blog-post-bottom-text {
	padding-top: 1rem 0 0;
}

/.single-post-content .blog-post-bottom-text * {
	margin-bottom: inherit;
	padding-left: 0;
} 

@media only screen and (max-width: 600px) {
	.single-post-content .blog-post-bottom-text * {
		padding-left: 0;
	} 
}

.img-flex {
	display: flex;
    align-items: center;
	justify-content: center;
}


/* BLOG *?
/* General Blog Page */

.blog-page, .single-post-page {
  padding: 2em
}

.single-post-content {
  display: flex;
  flex-direction: column;
}

.single-post-content .blog-post-top-text p {
  padding: 0 0 0.5em;
}

.comments {
  border-top: 1px solid black;
  padding: 1em;
}

.blog-post-content a {
  font-weight: bold;
  color: black;
}

.featured-blog {
  padding: 1em;
  text-align: left;
}

.blog-post {
  margin: 0 0 1em 1em;
  padding: 1em;
}

.regular-posts {
  padding: 1em;
  min-width: 100%;
}

.blog-container .blog-synopsis p {
	font-size: 28px;
	font-family: 'Playfair Display', serif;
	padding-bottom: 1em;
	border-bottom: 2px solid #0f4034
}

.blog-container .regular-posts .blog-post p {
min-height: 2.5em;
}




/* FOOTER */

.footer {
  background-color: #0F4034;
  color: #F5D15D;
  height: 20em;
  padding: 3em;
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  justify-content: space-between;
}

.footer .nav .col-12 {
	align-items: flex-end;
}

.footer .copyright .col {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  /* padding: 3em 2em 0; */
}

.footer img {
  display: inline;
}

.footer .menu-footer-menu-container {
  display: inline-flex;
  width: 100%;
}

.footer ul {
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.footer ul li {
  list-style: none;
  display: inline;
}

.norm_row.sfsi_wDiv {
  width: 100px !important;
}

.footer #menu-footer-menu li.menu-item a {
  color: #F5D15D;
}

.footer #menu-footer-menu li.menu-item a:hover, .footer .menu-footer-menu li.menu-item a:focus-visible {
  text-decoration: underline;
  text-decoration-color: #F5D15D;
  text-underline-offset: 0.3em;
  outline: none;
}

@media only screen and (max-width:768px) {
	.footer {
		height: auto;
		padding: 2em;
	}
	
	.footer .nav {
		padding-bottom: 1em;
	}
	
	.footer .nav .col-12 {
		align-items: center;
		flex-direction: column;
	}
	
	.footer .copyright .col {
		flex-direction: column;
    	align-items: center;
		text-align: center;
	}
	
	.footer ul {
		flex-direction: column;
    	align-items: center;
	}
}

/* SEARCH */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.faveBox {
  display: inline-block;
}

.delete {
  display: inline-block;
}

.spinner-loader {
  display: inline-block;
  margin-top: 0.5em;
  margin-left: 0.5em;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 0.25rem solid rgba(0, 0, 0, 0.2);
  border-top-color: black;
  -webkit-animation: spin 1s infinite linear;
  animation: spin 1s infinite linear;
}

.search-overlay {
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 110;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.96);
  visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(1.09);
  transform: scale(1.09);
  transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s,
    -webkit-transform 0.3s;
  box-sizing: border-box;
}

.search-overlay p {
  padding-top: 15px;
}

.search-overlay .event-summary p {
  padding-top: 0;
}

.search-overlay .event-summary {
  margin-bottom: 0;
  margin-top: 20px;
}

body.admin-bar .search-overlay {
  top: 32px;
}

.search-overlay__top {
  background-color: rgba(15, 64, 52, 1);
  margin-top: 3.625em;
}

#search-overlay__results {
  color: black;
  margin-top: 1em;
}

@media only screen and (min-width: 600px) {
  .search-overlay__top {
    margin-top: 5.25em;
  }
}

.search-overlay__icon {
  margin-right: 10px;
  font-size: 1.8rem;
  color: #F5D15D;
}

@media (min-width: 960px) {
  .search-overlay__icon {
    font-size: 2.5rem;
  }
}

.search-overlay--active {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.search-overlay__section-title {
  margin: 30px 0 15px;
  font-weight: 400;
  color: rgb(15, 64, 52);
  padding: 15px 0;
  border-bottom: 2px solid rgb(15, 64, 52);
}

.fa.mt-5 {
  margin-top: 0.5rem !important;
}

.search-overlay__close {
  position: absolute;
  right: 0.5em;
  font-size: 2.1rem;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #fff;
  color: #F5D15D;
  line-height: 0.7;
}

@media (min-width: 530px) {
  .search-overlay__close {
    font-size: 2.1rem;
    right: 0.5em;
  }

  .fa.mt-5 {
    margin-top: 0.75rem !important;
  }
}

@media (min-width: 960px) {
  .search-overlay__close {
    font-size: 2.8rem;
    right: 2em;
  }

  .fa.mt-5 {
    margin-top: 2rem !important;
  }
}

.search-overlay__close:hover {
  opacity: 1;
}

.search-overlay .one-half {
  padding-bottom: 0;
}

.search-overlay .link-list li {
  font-size: 1.3rem;
}

.search-term {
  width: 75%;
  box-sizing: border-box;
  border: none;
  padding: 15px 0;
  margin: 0;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  color: #F5D15D;
}

  .body-no-scroll {
    overflow: hidden;
	position: relative;
  }

.search-term::placeholder {
	color: #F5D15D;
}


#search-overlay__results h2 {
	font-family: 'Playfair Display', serif;
}

#search-overlay__results h3 {
	color: rgb(15, 64, 52)
}

@media (min-width: 530px) {
  .search-term {
    font-size: 1.5rem;
  }
}

@media (min-width: 960px) {
  .search-term {
    width: 80%;
    font-size: 3rem;
  }

}

#search-overlay__results .link-list {
  list-style: none;
}

