/*----------------------------------main--------------------------------------*/

body{
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	color: #000;
	background: #fff;
	margin: 0 auto;
	font-size: 0.9em;
	line-height: 1.75em;
	background: white;
	background-image: -o-linear-gradient(to right, rgb(255,255,255) 0%, rgb(230,225,230) 50%, rgb(255,255,255) 100%);
	background-image: -moz-linear-gradient(to right, rgb(255,255,255) 0%, rgb(230,225,230) 50%, rgb(255,255,255) 100%);
	background-image: -webkit-linear-gradient(to right, rgb(255,255,255) 0%, rgb(230,225,230) 50%, rgb(255,255,255) 100%);
	background-image: -ms-linear-gradient(to right, rgb(255,255,255) 0%, rgb(230,225,230) 50%, rgb(255,255,255) 100%);
	background-image: linear-gradient(to right, rgb(255,255,255) 0%, rgb(230,225,230) 50%, rgb(255,255,255) 100%);	
	}

/*----------------------------------general styling--------------------------------------*/

p{
	margin: 0;
	padding: 0;
}

a{
	color: #316896;
	text-decoration: none;
}

a img{
	border: none;
}

a:hover{
	color: indianred;
	text-decoration: underline;
}

acronym, abbr{
	border-bottom: 1px dashed #333;
	letter-spacing: .07em;
	cursor: help;
}

.caps{
	font-variant: all-small-caps;
	font-size: 0.8em;
	letter-spacing: 0.1em;
}

.italinrefs{
	font-style: italic;
}

h2{
	clear: both;
	font-weight: normal;
	margin: 0.2em 0 0.5em 0;
	color: black;
}

.nobreak{
	-webkit-hyphens: none;
	hyphens: none;
}

.physymbol{
	font-style: italic;
	font-family: serif;
}

/*-------------------------------------*/

#lang_box{
	float: right;
}

#lang_box a{
	display: block;
	font-size: 1.2em;
	padding: 0.2em;
	margin: 0.5em 0.5em 0 0.5em;
	border: 1px gray solid;
	color: #316896;
	border-radius: 2px;
}

#lang_box a:hover{
  background: gray;
}

#head_box{
	clear: right;
	padding: 0 0 2em 0;
	line-height: 2em;
	text-align: center;
}

	h1{
		font-size: 3em;
		font-weight: normal;
		line-height: 1.3em;

		font-family: serif;
		text-shadow: 0 2px 0 rgba(255,255,255,0.75);
	}


	.maindesc{
		font-size: 1.5em;
		line-height: 1.6em;
		width: 30em;
		max-width: 90%;
		margin: 1em auto;
	}
	
		span.suggestedline{
			display: inline-block;
		}

		#head_box #lead_picture{
			max-width: 80%;
			height: auto;
			}
	
		.credit_box{
			width: 30em;
			max-width: calc(90% - 2em);
			margin: 2em auto 2em auto;
			padding: 1em;

			border: 2px white solid;
			border-radius: 50%/5%;
			background-color: rgba(255,255,255,0.3); /*transparency woo*/
			-moz-box-shadow: silver 0 0 7px;
			-webkit-box-shadow: silver 0 0 7px;
			box-shadow: silver 0 0 7px;
		}

		.credit_box img{
			display: block;
			margin: 0 auto -40px auto;
		}

		.attribution_text{
			font-size: 1.5em;
		}




/*-------------------------------------*/


.prompt{
	padding-top: 3em;
	padding-bottom: 3em;

	text-align: center;
	border-bottom: 15px silver solid;
	border-top: 15px silver solid;
		}

.bottomprompt{
	border-top: 15px silver solid;
}

.promptbox{
	display: inline-block;
	min-width: 19.5em;
	padding: 0.5em;
}

.promptbox a img{
	border: 1px transparent solid;
}

	.promptbox a:hover img{
		background-color: rgba(255,255,255,0.6);
		box-shadow: white 0 0 20px;
		border: 1px rgba(255,255,255,0.1) solid;
		border-radius: 15px;	
	}

.price{
	font-size: 2em;
	padding: 0.5em;
}

.biigbutton{
	font-size: 1.6em;
	margin: 0.5em;
	padding: 1em 0;	
	min-width: 12.5em;
}

.biigbutton a{
	display: block;
	padding: 1em;
	border: 1px gray solid;
	border-radius: 5px;
	transition-duration: 0.2s;
}

.biigbutton a:hover, .biigbutton a:active{
	background: #00995F;
	border-color: #00995F;
	color: white;
	text-decoration: none;
}


/*-------------------------------------*/

.main_column{
	width: 50em;
	max-width: -webkit-calc(100% - 50px);
	max-width: calc(100% - 50px);
	margin: 4em auto 3em;
	padding-bottom: 1em;

	text-align: justify;
}


.section{
	clear: both;
	margin-top: 3em;
}



/*-------------------------------------*/

.excerpts{
	text-align: center;
	margin: 0 auto;
}

.excerptbox{
	margin: 25px 0;
}

.excerptitem{
	display: inline-block;
}

.excerpts img{
	max-width: calc(45vw - 50px);
	height: auto;
	vertical-align: middle;
	
	border-radius: 3px;
	box-shadow: silver 0 0 10px;
}

.excerpttext{
	display: inline-block;
	width: 18em;
	max-width: calc(45vw - 50px);
	padding: 1em;
	vertical-align: middle;
}


/*-------------------------------------*/


.contents{
}

	.contenthead{
		margin-bottom: 1em;
	}

	.contents h2{
		clear: both;
		font-size: 1.2em;
		padding-top: 0.6em;

		text-align: left;
	}

	.coursnumber{
		display: inline-block;
		height: 1.65em;
		width: 1.65em;
		line-height: 1.65em;
		font-size: -webkit-calc(1.8em / 2);
		font-size: calc(1.8em / 2);
		margin: 1px;
		padding-left: 1px;
		padding-top: 1px;

		border: 1px silver solid;
		border-radius: 1.8em;

		vertical-align: middle;
		text-align: center;

		font-family: serif;
	}

	.blurb_cours{
		box-sizing: border-box;
		font-size: 1em;
		padding-left: 2.4em;
		max-width: 60%;
		min-height: 2lh;
		
		text-align: left;
		-ms-hyphens:auto;
		-webkit-hyphens:auto;
		-moz-hyphens:auto;
		hyphens:auto;
	}


	.cours_content{
		box-sizing: border-box;
		float: right;
		max-width: 35%;
		min-height: 3lh;
		font-size: 0.75em;
		margin-top: -5em;
		padding: 5px 10px 0 10px;

		border-right: 1px silver solid;
		font-style: italic;
		text-align: right;
		color: grey;
		-webkit-hyphens: auto;
		hyphens: auto;
	}

	.contentfoot{
		clear: both;
		padding-top: 1em;
	}

/*-------------------------------------*/


.author{
	margin-top: 3em;
}

	.author img{
		float: left;
		margin: 1px 15px 1em 0;
		max-width: 50%;
		height: auto;
	}


/*-------------------------------------*/


blockquote{
	min-width: 18em;
	max-width: 43em;
	line-height: 1.5em;
	padding: 1.5em;
	margin: 0 0 1.5em 1.5em;
	background: #D9D9D9;
	opacity: 0.9;
	border-radius: 0.5em;
}

blockquote:before{
	content: "«";
	padding: 0 0.2em 0 0;
}

blockquote:after{
	content: "»";
	padding: 0 0 0 0.1em;
}

blockquote:before,
blockquote:after{
	font-size: 3em;
	display: inline-block;
	line-height: 0.333em;
	vertical-align: top;
  color: gray;
}


/*-------------------------------------*/


.backlinks{
	-webkit-hyphens: none;
	hyphens: none;
	text-align: left;
}


/*-------------------------------------*/


.diffusion{
	text-align: left;
}


/*-------------------------------------*/

.niousletter{
	
}

	.niouslettersignup{
		text-align: left;
	}

	.niouslettersignup input{
		display: inline-block;
		height: 3.1em;
		margin: 0;
		padding: 0 0.5em;
		font-size: 1em;
		line-height: 1.5em;
	}

	input.emailsub{
		width: 55%;
		min-width: 20em;
	}

	input.pouf{
		float: right;
		width: 25%;
		min-width: 8em;
		margin-bottom: 1em;
	}

	.pouf:hover{
		cursor: pointer;
	}

/*-------------------------------------*/

.licence{
	
}

/*-------------------------------------*/

.contact{
	margin-bottom: 10em;
}

	.contactfields{
		margin: 0 auto;
		width: 40em;
		max-width: calc(90% - 0.5em);
	}

		input{
			box-sizing: border-box;
			width: 100%;
			height: 2em;
			margin: 0;
			padding: 0.5em;

			line-height: 2em;
		}

		textarea{
			box-sizing: border-box;
			width: 100%;
			height: 15em;
			font-size: 1.2em;

			margin: 3px 0;
			padding: 1em;
		}

		.hopla{
			display: block;
			width: 30%;
			min-width: 10em;
			height: 4em;
			margin: 0 auto;
			padding: 0;
			line-height: 2.5em;
		}

		.hopla:hover{
			cursor: pointer;
		}


	.viandenboite{
		display:none;
	}
	


/*-------------------------------------*/

.sanspub{
	text-align: center;
	margin: 4em 0 1em 0;
}

.sanspub a{
	opacity: 0.5;
}

.sanspub a:hover{
	opacity: 1;
}


/*-------------------------------------*/

/* Responsive layout */

@media all and (max-height: 580px), all and (max-width: 550px){

	html{
		font-size: 0.9em; /* shrink, shrink */
	}

	h2, .maindesc{
		-ms-hyphens:auto;
		-webkit-hyphens:auto;
		-moz-hyphens:auto;
		hyphens:auto;
	}
	
	
	.author img{
		float: none;
		display: block;
		margin: 5px auto;
		max-width: 80%;
		height: auto;
	}

	span.suggestedline{
		display: inline;
	}
}




/* if screen becomes narrow */

@media all and (max-width: 41em){

	.main_column{
		-webkit-hyphens: auto;
		hyphens:auto;
	}
	
	.blurb_cours{
		-webkit-hyphens: none;
		hyphens:none;
		max-width: 95%;
	}

	.cours_content{
		float: none;
		max-width: 70%;
		margin: 0 0 0 auto;
		padding: 0 20px 0 20px;
	}
}


/* if screen becomes very narrow */

@media all and (max-width: 350px){

	
	/* reduce padding around descriptions */
	.cours_content{
		padding-right: 10px;
		}
}


/* Dark Mode Styling */
@media (prefers-color-scheme: dark){
    body{
        color: #ddd;
        background: #333333;
        background-image: none;
    }
	
		h1{
			text-shadow: 0 2px 0 rgba(0,0,8,0.75);
		}
	
		#head_box #lead_picture{
			filter: brightness(0.8);
			}
	
    img{
	    filter: brightness(0.8);
    }

    .sanspub img{
      filter: none;
    }

    a{
        color: #79b8ff;
    }

    a:hover{
        color: #ff6b6b;
    }

    h2{
        color: #fff;
    }

    .credit_box{
        border: 2px #444 solid;
        background-color: #494949;
        box-shadow: #222 0 0 7px;
    }

    .biigbutton a{
        border: 1px #888 solid;
        color: #fff;
    }

    .biigbutton a:hover, .biigbutton a:active{
        background: #007a5e;
        border-color: #007a5e;
    }

    blockquote{
        background: #333;
        color: #bbb;
    }

    .cours_content{
        color: #aaa;
        border-right: 1px #555 solid;
    }

    .promptbox a:hover img{
        background-color: rgba(255, 255, 255, 0.1);
			  border-color: rgba(255, 255, 255, 0);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
       
    }



    input, textarea{
        background: #222;
        color: #ddd;
        border: 1px solid #555;
    }

    input::placeholder, textarea::placeholder{
        color: #888;
    }

}



