/*
Theme Name: 	Revues Science Afrique
Theme URI:      https://www.koumbit.org
Description:    Thème enfant de MacLuhan pour le Grenier des savoirs.
License:		GPL 2.0+
Version: 		1.4.0
Text Domain: 	pressbooks-book-scienceafrique
Author:         Réseau Koumbit
Author URI:     https://www.koumbit.org
Template: 		pressbooks-book
*/

/* Adjustments to logo in header */

/*@media screen and (min-width: 60rem) */
.header__logo--img, .header__logo--svg {
    max-width: 200px !important;
    max-height: 110px !important;
}

/*@media screen and (min-width: 60rem)*/
.header {
    padding: 1rem 0rem 1rem 0rem !important;
}

.header__inside {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

.reading-header{
	margin-top: 1rem !important;
}

.book-header__description {
    margin-bottom: 1rem !important;
}

/* Adjustments to footer layout */

.footer_pressbooks__donate{
	padding-left: 1rem !important;
}

.footer_pressbooks__donate form{
	display: inline !important;
}

.footer_pressbooks__donate input, .contact .widget .textwidget input{
	border-radius: 15px;
	border: 5px solid #fff;
}

/*@media screen and (min-width: 60rem)*/
.book-header__author {
    margin-bottom: 1rem !important;
}

/* Adjustments to main text CSS */

main *+p {
    margin-top: 1rem !important;
}

.justify{
	text-align: justify !important;
}

/* CSS class for authors in "part" content-type */

.numero_author{
  margin-bottom: 1em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1em;
  font-style: normal;
  font-weight: bold !important;
  hyphens: none;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: normal;
  word-spacing: normal;
}

/* Reduce spacing between text and Zotero Bibliography shortcode */

div.zp-Zotpress p{
	height: 20px !important;
}

/* Re-using Aldine contact aside CSS rules */

.footer.footer{
	padding-top: 0rem !important;
}

.contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 4.0625rem 0 7.5rem;
    margin: 0 !important;
    background: var(--body-bg-alt)
}

.contact h2 {
    margin-bottom: 2.5rem;
    color: var(--primary);
}

/*Utilise le code du formulaire de contact pour styler l'espace des partenaires*/
/* Règles CSS additionnelles pour gérer l'apparence des widgets*/

.widget{
	width:100%;
	max-width:60rem;
	padding: 1rem 0rem;
}

.contact .widget h2{
	margin-bottom: 1rem;
}

.contact .widget .textwidget{
	color: #000 !important;
}

.contact .widget .textwidget form{
	float:right;
	padding-left: 2em;
}

.contact .widget .gallery{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.contact .widget .gallery .gallery-item{
	/*padding: 0em 5em;*/
}

.contact .widget .gallery .gallery-item img{
	border: 0 !important;
}

#sponsors {
	padding: 0 !important;
}

/* Change appearance of numberless chapters */
body.home ol.toc li.numberless p.toc__title{
	background-color:#eee;
}
body.home ol.toc li.numberless p.toc__title a{
	text-decoration:none;
	color:#000;
}

/* Make sure the down arrow to expand content is visible */
.block-toggle__cta__button{
	color: var(--primary) !important;
}

/* Change font size / display for subtitle */

.reading-header__subtitle {
	text-transform: none !important;
}

/* Change font size for entry title */

.entry-title{
	font-size: 2em !important;
}

/* Change font display for part (chapter list) */

.part .entry-title{
	text-transform: none !important;
}

/* Change spacing for metadata additions to the content */

.metadata{
	margin-top:1rem;
}

/* Change icon size for license information */

.block-info__license p img, .block-reading-meta__subsection p img{
	height: 2em !important;
	width: auto;
	padding-bottom:10px;
}

/* Align middle widget text to center */

.footer__pressbooks__links .widget div {
    text-align: center;
}
