/* reset font */
body.page-template,
body.page-template-default,

input,
textarea,
button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file__button,

.has-drop-cap:not(:focus)::first-letter,

.has-drop-cap:not(:focus)::first-letter,
.entry-content .wp-block-archives,
.entry-content .wp-block-categories,
.entry-content .wp-block-cover-image,
.entry-content .wp-block-latest-comments,
.entry-content .wp-block-latest-posts,
.entry-content .wp-block-pullquote,
.entry-content .wp-block-quote.is-large,
.entry-content .wp-block-quote.is-style-large,

.entry-content,

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file,

.widget_text p,
.widget_text ol,
.widget_text ul,
.widget_text dl,
.widget_text dt,
.widget-content .rssSummary,

.widget-content cite,
.widget-content figcaption,
.widget-content .wp-caption-text
{
        font-family: "papyrusregular", "Open Sans", sans !important;
}



.cover-header + .post-inner {
	padding-top: 5rem !important;
}

.screen-height {
	min-height: 60vh !important;
	height: 60vh !important;
}

.overlay-header #site-header {
	background-color: #74664c !important;
}
.overlay-header .header-inner {
	color: white !important;
}

h1.entry-title {
	text-shadow: 1px 1px 3px #333;
	font-size: 4rem !important;
}


.to-the-top {
	color: white !important;
}


.beige {
	background-color: #ebd2bc !important;
	color: black;
	padding: 20px;
}

/* pas de margin-top quand 1ere image de colonne */
div.wp-block-column.is-vertically-aligned-top figure {
	margin-top: 0 !important;
}



.to-the-content svg {
	height: 4rem !important;
	width: 4rem !important;
	background-color: rgba(116,102,76,.5);
	padding: 10px;
	border-radius: 2rem;
}


/*
 * logo
 */
div.header-inner {
	padding-top: 0 !important;
}
img.custom-logo {
	margin-top: 50px !important;
}
div.site-description {
	text-align: center;
}


/*
 * pulse menu
 */

@keyframes pulse {
	0% { }
	100% { text-shadow: 1px 1px 4px #ebd2bc; }
}

#chw1 a,
.menu-item-100 {
	animation-name: pulse;
	animation-duration: .6s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}



/*
 * horaire
 */
table.horaire {
	border: none;
	width: auto;
}
table.horaire tr td {
	border: none;
	padding: 0 15px;
}
table.horaire tr td:first-child {
	text-align: right;
}

/*
 * time table
 */
.timeTable .hblock {
	height: 10px; margin-bottom: 1px;
}
.timeTable .busy { background-color: #802d2b; }
.timeTable .free { background-color: #ebd2bc; }
.timeTable th { vertical-align: top; text-align: center; font-weight: normal;}
.timeTable td { padding: 4px !important; }
.timeTable tr th:first-child {
	font-size: .9em;
	padding-left: 0 !important;
	padding-right: 0 !important;
}


.navBar {
	display: flex;
}
.navBar a, .navBar span {
	flex: 1;
	font-size: .8em;
	text-align: center;
}
.navBar a.larger, .navBar span.larger {
	flex: 4;
}




.wp-block-embed figcaption, .wp-block-image figcaption {
	font-size: 1.6em !important;
	text-align: center;
}
.wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter) {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}

.beige td:nth-child(2) {
	min-width: 20%;
	width: 25%;
}
.beige td {
	vertical-align: top;
}
.entry-content .wp-block-columns p {
	text-align: justify;
}

.entry-content .wp-block-columns p.has-text-align-right {
	text-align: right;
}
.entry-content .wp-block-columns p.has-text-align-center {
	text-align: center;
}
.entry-content .wp-block-columns h2,
.entry-content .wp-block-columns h3 {
	margin-top: 15px !important;
	margin-bottom: 8px !important;
	font-weight: normal;
}

.entry-content .wp-block-columns table {
	margin-top: 5px;
	margin-bottom: 10px;
}


.beige a {
	color: #339;
}


/*
 * promos
 */
div#promos {
	width: 50vh;
	height: 50vh;
	position: relative;
	cursor: pointer;
}

div.promo {
	width: 50vh;
	height: 50vh;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	position: absolute;
}


@media screen and (max-width: 800px){
	.tthead th {
		width: 10%;
		height: 120px;
		position: relative;
	}
	.tthead th div {
		width: 100px;
		transform: rotate(-90deg);
		position: absolute;
		top: 40px; left: -30px;
	}
}


h2.widget-title {
	font-size: 1.3em !important;
}

@media screen and (max-width: 800px){
	h1.entry-title {
		font-size: 3rem !important;
		padding-bottom: 5rem;
	}
}
	
@media screen and (max-height: 800px) {
	.screen-height {
		min-height: 100vh !important;
		height: 100vh !important;
	}
}

@media screen and (max-height: 500px) {
	.screen-height {
		min-height: 120vh !important;
		height: 120vh !important;
	}
}

p.powered-by-wordpress {
	display: none;
}

