/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
    --main-table-color: #2daa52;
    --main-table-color-hover: #45ce74;
    --main-table-button-color: #28a745;
    --main-table-button-color-hover: #5cb85c;
	--main-table-bonus-color: #2daa52;
}

.h-16 {height:16px;}
.h-18 {height:18px;}
.h-20 {height:20px;}
.h-22 {height:22px;}
.h-24 {height:24px;}
.h-26 {height:26px;}
.h-28 {height:28px;}
.h-30 {height:30px;}
.h-32 {height:32px;}
.h-34 {height:34px;}
.h-36 {height:36px;}
.h-40 {height:40px;}
.w-75 {width: 75px;}

.bc-white {
	background-color: white;
}
figure.wp-block-image {
	margin-bottom: 1.5em;
}

.wp-block-table {
	margin-bottom: 1.5em;
}
.wp-block-group {
	margin-bottom: 1.5em;
}
.wp-block-columns {
	gap: 10px;
	margin-bottom: 1.5em;
}
.wp-block-table table,
.wp-block-group .wp-block-image,
.wp-block-columns .wp-block-column .wp-block-image,
.wp-block-columns .wp-block-column h2{
	margin: 0;
}

.gap20 {
	gap: 20px;
}
.mt0 {
  margin-top: 0 !important;
}
.mb0 {
  margin-bottom: 0 !important;
}
.mt12 {
  margin-top: 12px;
}
.p0 {
  padding: 0 !important;
}
.wp-block-group.etape {
  border: 1px solid #0027ff;
  padding: 18px 10px 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: relative;
  margin-bottom: 27px;
}
.wp-block-group.etape p:first-child {
  position: absolute;
  top: -20px;
  left: 10px;
  border: 1px solid #0027ff;
  padding: 3px 8px;
  background: #fff;
  border-radius: 3px;
}
.wp-block-group.etape p:last-child {
  margin-bottom: 0;
}

ol.blue {
  padding-left: 20px;
}
ol.blue li strong {
	color: #001275;
}
#rank-math-toc > div {
  font-size: 35px;
  margin-bottom: 20px;
  line-height: 1.2em;
  font-weight: 400;
  text-transform: none;
}
#rank-math-toc > nav > ul {
  margin-left: 15px;
}
#rank-math-toc > nav ul li {
  margin-bottom: 10px;
}
#rank-math-toc > nav ul li a {
  /* color: #fff; */
}
#rank-math-toc > nav ul li a:hover {
  
  text-decoration: none;
  border-bottom: 1px dotted;
}

.site-header .header-image {
  width: 100%;
  max-height: 80px;
}


div.footer-widget-1,
div.footer-widget-2,
div.footer-widget-3 {
	display: flex;
	flex-direction: row;
	flex-wrap: no-wrap;
	align-items: center;
}


.widget .wp-block-polylang-language-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.widget .wp-block-polylang-language-switcher li:last-child,
.widget .wp-block-polylang-language-switcher li {
  margin-bottom: .5em;
}

.widget .wp-block-polylang-language-switcher li a {
  padding-left: 4px;
  padding-right: 4px;
  line-height: 12px;
}

.widget .wp-block-polylang-language-switcher li a img {
  width: 48px;
}


div.footer-logo {
	display: flex;
	flex-wrap: no-wrap;
	align-items: center;
	justify-content: center;
}

div.footer-logo .logo:not(:last-child) {
	margin-right: 25px;
}

@media (max-width: 1000px) {
	.offcanvas-main-navigation a {
		padding: 15px;
	}

	.offcanvas-menu-active .menu-item-455-fr,
	.offcanvas-menu-active .menu-item-456-en {
		border: none;
		padding: 0;
		margin-top: 15px;
		display: inline-block;
	}

	.offcanvas-menu-active .menu-item-455-fr a,
	.offcanvas-menu-active .menu-item-456-en a {
		padding: 10px;
		margin-top: 15px;
		border: 1px solid #bbb;
		line-height: 1;
		border-radius: 5px;
	}

	.button-offcanvas-close {
		display: flex;
		padding: 10px;
		margin-left: auto;
	}

	.theme-single-section .entry-details-wrapper .entry-content {
		font-size: 16px;
		line-height: 24px;
	}
	
	.entry-title-large {
		font-size: 28px;
		margin-bottom: 0;
	}
}

@media (max-width: 590px) {
	.site-header .header-image {
		max-height: 60px;
		width: 100%;
	}
	.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
		margin-top: 1em;
	}
}

@media (max-width: 480px) {
	.header-titles {
		margin-bottom: 0;
	}

	.header-navbar .wrapper {
		justify-content: space-between;
	}

	.header-navbar {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	h1, h2 {
		margin: 0 0 15px;
	}

	.entry-title {
		font-size: 25px;
		line-height: 28px;
	}

	h2 {
		font-size: 23px;
		line-height: 26px;
	}

	h3 {
		font-size: 20px;
		line-height: 24px;
	}
	
	h4 {
		font-size: 18px;
		line-height: 22px;
	}

	.theme-section {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	
	#rank-math-toc > div {
	  font-size: 28px;
	  margin-bottom: 15px;
	}
}

@media (max-width: 768px) {
  .inside-footer-widgets > div:not(:last-child) {
    margin-bottom: 25px;
  }
}