 /* ----------------------------------------------
	Template Name : PageOne
	Template Code : S-0032
	Version : 1.0
	Author : Erwin Aligam
	Author URI : http://www.styleshout.com/
	Last Date Modified : November 28, 2011
	Optimized by : Daniel Zahnd - DZ4u.ch
	Optimized on : August 2020
 ------------------------------------------------ */

 /* ------------------------------------------------
    CUSTOM WEB FONTS
--------------------------------------------------*/
@font-face {
    font-family: 'MerriweatherRegular';
    src: url('fonts/merriweather-regular-webfont.eot');
    src: url('fonts/merriweather-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/merriweather-regular-webfont.woff') format('woff'),
         url('fonts/merriweather-regular-webfont.ttf') format('truetype'),
         url('fonts/merriweather-regular-webfont.svg#MerriweatherRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MerriweatherBold';
    src: url('fonts/merriweather-bold-webfont.eot');
    src: url('fonts/merriweather-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/merriweather-bold-webfont.woff') format('woff'),
         url('fonts/merriweather-bold-webfont.ttf') format('truetype'),
         url('fonts/merriweather-bold-webfont.svg#MerriweatherBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Tw-Cen-MT-Condensed';
    src: url('fonts/Tw-Cen-MT-Condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --------------------------------------
    RESET
----------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	overflow-y: auto;	/* to prevent top header to move oon mobile if page content is wider */
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* -------------------------------------------------------
    GENERAL
---------------------------------------------------------- */
html { overflow-y: scroll; }
body {
    /* font-family: Geneva, Verdana, sans-serif; */
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.1pt;
    color: #3B3B3B;
}

p { margin-bottom: 16px; }
p.intro { font-size: 18px; }

/* links */
a:link, a:visited {
    color: #285935;
    text-decoration: none;
    outline: 0;
}
a:hover, a:focus, a:active {
    color: #5E1F00;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'MerriweatherBold', serif;
}
h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.9px;
}
h2 {
    font-size: 20px;
    /* line-height: 25px; */
    margin-top: 10px;
    margin-bottom: 15px;
}
h3 {
    font-size: 18px;
    line-height: 25px;
}

/* Lists */
ul, ol {
	margin-bottom: 25px;
	padding: 0 20px;
}
ul { list-style: disc; }
ol { list-style: decimal; }

dl { margin-bottom: 25px; }
dt {
    font-weight: bold;
    color: #046416;
}
dd {
    padding-left: 20px;
}

blockquote {
	margin: 25px 0;
 	padding-left: 40px;
    padding-right: 30px;
    background: url(/dev/images/quote.png) no-repeat 3px 0;
	font-weight: normal;
	font-size: 18px;
	font-style: italic;
}
input, select {
    vertical-align: middle;
}

strong, b {
    font-weight: bold; 
}
pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
small {
  font-size: 85%;
}
abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}
mark {
    background-color: #FDD2B3;
}
.nowrap {white-space:nowrap}

/* Clearing and Alignment Classes */
.align-left {
    float: left;
}
.align-right {
    float: right;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
	overflow-y: auto;
}
/*.ie7 .clearfix { zoom: 1; }  IE7 */

em {
  font-style: italic;
  font-size: 90%;
  opacity: 0.8;
  display: inline-block;
  line-height: 1.2;
}

/* ------------------------------------------------------
    STRUCTURE
--------------------------------------------------------- */

header {
    position: relative;
    width: 940px;
    height: 195px;
    margin: 0 auto;
}
.content-wrap {
    width: 940px;
    margin: 0 auto;
	/*margin-top: 90px;*/
}
@media (max-width:950px){
  header,
  .content-wrap {
	width: 100%;
  }
}
.content-wrap section {
  position: relative;
  display: none;
}
.content-wrap section .colbig {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.colbig .col-div {
    float: left;
    margin-right: 15px;
    padding: 0;
	max-width: 59%;
}
@media (max-width:950px){
  .colbig .col-div {
	max-width: 100%;
  }
}

footer {
    position: relative;
    background: url(/dev/images/section-sep.png) repeat-x left 25px;
    width: 940px;
    margin: 0 auto;
    padding-top: 100px;
}
@media (max-width:950px){
  footer {
	width: 100%;
  }
}

/* -------------------------------------------
    Header
-------------------------------------------- */

/* Logo */
.hgroup {
    position: fixed;
	  color: #017f01;
    height: 45px;
    width: 100%;
    display: block;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 15px 0 10px;
    text-shadow: 1px 1px #eee;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.2),2px 2px 8px 0 rgba(0,0,0,0.19);
}
#logo-name {
  margin: auto;
  width: min(940px, 98%);
}
#logo {
  background: url(/images/logo-white_shadow.png) no-repeat 5px 0px;
	background-size: auto 43px;
	height: 43px;
	width: 90px;
	display: table-cell;
}
#name {
	display: table-cell;
}
.hgroup h1 {
    display: block;
	color: inherit;
	font-size: 24px;
	letter-spacing: -0.7px;
	line-height: 1.1;
}
.hgroup h3 {
    display: block;
	color: inherit;
	font-size: 16px;
	font-style: italic;
	margin-top: 3px;
	line-height: 1;
}
@media (max-width:560px){
  .hgroup #logo {
  width: 82px;
  }
  .hgroup h1 {
	font-size: 20px;
  }
  .hgroup h3 {
	font-size: 13px;
  }
}
@media (max-width:450px){
  .hgroup #name {padding-right: 48px;}
  .hgroup h1,
  .hgroup h3 {
	display: inline;
  }
}
@media (max-width:415px){
  .hgroup #name {padding-right: 15px;}
}
@media (max-width:380px){
  .hgroup #name {padding-right: 0;}
  .hgroup #logo {
	  width: 80px;
  }
  .hgroup h3 {
	font-size: 12px;
  }
}
@media (max-width:350px){
  .hgroup #logo {
	  width: 75px;
	  background-size: 85%;
  }
  .hgroup h1 {
	font-size: 18px;
  }
  .hgroup h3 {
	font-size: 11px;
  }
}

/* ------------------------------------------------------------------------------------
Color themes
------------------------------------------------------------------------------------ */

.header-bgd {background-color: #bdb;}
.theme0	,.s-theme0  a	{ color: #046416; }	/* home */
.theme1	,.s-theme1  a	{ color: #046416; }	/* intro */
.theme2	,.s-theme2  a	{ color: #ff0000; }	/* agenda */
.theme3	,.s-theme3  a	{ color: #0CC329; }	/* organisation */
.theme4	,.s-theme4  a	{ color: #FF6600; }	/* braderie */
.theme5	,.s-theme5  a	{ color: #FF0000; }	/* impots */
.theme6	,.s-theme6  a	{ color: #ff339c; }	/* baby */
.theme7	,.s-theme7  a	{ color: #ff41ea; }	/* mat */
.theme8	,.s-theme8  a	{ color: #0066ff; }	/* theatre */
.theme9	,.s-theme9  a	{ color: #66ccff; }	/* expression */
.theme10,.s-theme10 a	{ color: #008000; }	/* liens */
.theme11,.s-theme11 a	{ color: #9900cc; }	/* yoga */
.theme12,.s-theme12 a	{ color: #996633; }	/* tricot */
.theme20,.s-theme20 a	{ color: #B0B0B0; }	/* photos */
.theme21,.s-theme21 a	{ color: #07a525; }	/* contact */

.bgd-theme0	 { background-color: #04641640; }	/* home */
.bgd-theme1	 { background-color: #04641640; }	/* intro */
.bgd-theme2	 { background-color: #ff000040; }	/* agenda */
.bgd-theme3	 { background-color: #0CC32940; }	/* organisation */
.bgd-theme4	 { background-color: #FF660040; }	/* braderie */
.bgd-theme5	 { background-color: #FF000040; }	/* impots */
.bgd-theme6	 { background-color: #ff339c40; }	/* baby */
.bgd-theme7	 { background-color: #ff41ea40; }	/* mat */
.bgd-theme8	 { background-color: #0066ff40; }	/* theatre */
.bgd-theme9	 { background-color: #66ccff40; }	/* expression */
.bgd-theme10 { background-color: #00800040; }	/* liens */
.bgd-theme11 { background-color: #9900cc40; }	/* yoga */
.bgd-theme12 { background-color: #99663340; }	/* tricot */
.bgd-theme20 { background-color: #B0B0B040; }	/* photos */
.bgd-theme21 { background-color: #07a52540; }	/* contact */

/* -------------------------------------
    Elements de premier niveau
--------------------------------------*/
nav div
{
  display: inline-block;
  position: relative;
}
nav > div:nth-of-type(1) {margin-right: 20px;}
#activity_title {
  position: absolute;
  top: -22px;
  left: 4px;
}
#login_btn {
  position: absolute;
  top: -22px;
  right: 7px;
  padding: 0px 5px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #fdfe2e;
  box-shadow: 0 1px 10px 0 rgba(0,0,0,0.2),2px 4px 8px 0 rgba(0,0,0,0.19);
  cursor: pointer;
}

#activity_ul {
  background-color: rgba(255,255,255,0.4);
  border-top: 1px solid black;
  border-radius: 4px;
  text-align: center;
  text-wrap: balance;
}
#activity_ul li {
  min-width: 72px;
}
nav ul
{
	/* font: bold 16px/25px  Helvetica, Arial, Sans-serif; */
  font-family: 'Tw-Cen-MT-Condensed', sans-serif;
  letter-spacing: 0;
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 0;
  display: inline-block;
}
nav li
{
	float: left;
	margin: 0;
	padding: 0;
	border: 0;
  font-size: 16px;
}
/* generic */
nav li a:link, nav li a:visited
{
	display: block;
	margin: 1px 3px;
	padding: 4px 4px 0;
	border-radius: 4px;
  text-align: center;
	text-decoration: none;
}
nav li:hover {
  text-decoration: underline;
}
nav li:hover img, #login_btn:hover {
  box-shadow: 0 1px 5px 0 rgba(0,0,0,0.5),2px 2px 4px 0 rgba(0,0,0,0.2);
  transform: translateX(-1px);
}

/*nav li a:hover,*/ .topic-select { background-color: #dfd; box-shadow:0 1px 10px 0 rgba(0,0,0,0.2),2px 4px 8px 0 rgba(0,0,0,0.19); }
nav li a:active { background-color: #cfc; color:#c5c4c4;}

nav a img {
  width: 50px;
  display: block;
  margin: auto;
  border: 3.4px solid currentColor;
  border-radius: 50%;
}

header nav {
    float: right;
    margin-top: 60px;
    width: 100%;
    padding: 32px 0 5px;
    text-align: center;
    border-radius: 8px;
}

@media (max-width:980px){
  header {height: 290px;}
  header nav {padding-top: 20px;}
  /* nav > div {margin: 0 6px;} */
  nav > div:nth-of-type(1) {margin-bottom: 20px; margin-right: 0;}
  #activity_ul li {float: none; display: inline-block;}
  /* #activity_ul {margin: 0 16px;} */
  nav ul {margin: 0 16px;}
  #activity_title {left: 20px;}
}
@media (max-width: 600px) {
  nav ul {margin: 0 4px;}
  #activity_title {left: 8px;}
}
@media (max-width:575px){
  nav li a:link, nav li a:visited {
	margin: 0 1px;
  }
}
@media (max-width:550px){
  header {height: 360px;}
}

#puzzles img {position: fixed; z-index: 99; transform: scale(0.5);}
.top_right {top: 0; right: 0; transform-origin: top right;}
#top_left {top: 116px; left: 0; transform-origin: top left;}
#bottom {bottom: 0; left: 0; transform-origin: bottom left;}

@media (max-width:1050px){
  .top_right {top: -19px;}
  #top_left {display:none;}
}
@media (max-width:560px){
  #puzzles img {transform: scale(0.3);}
  nav a img {border-width: 2.5px;}
}
@media (max-width:380px){
  .top_right {
    top: -26px;
    right: -10px;
  }
}

/* -----------------------------------------
    Generic Section
------------------------------------------ */
section {
    width: 940px;
    background: none;
}
@media (max-width:950px){
  section {
	width: 99%; margin-left:auto;
  }
}

section h1 {	/* Title */
  margin-top: 10px;
  margin-bottom: 15px;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 1);
}

section a:hover {
	color:#000;
}

section .def {
	line-height: 1.4;
}
section .def p {
  font-size: 13px;
	font-style: italic;
	margin-bottom: 10px;
}

section .intro-box {
  float:left;
  width:520px;
  min-height: 300px;
  overflow: hidden;
}
@media (max-width:950px){
  section .intro-box {
	padding: 0 2px;
	width: 53%;
  }
  .content-wrap section .colbig {
	padding: 0 2px;
  }
}
@media (max-width:840px){
  section .intro-box {
	width: 48%;
  }
}
@media (max-width:768px){
  section .intro-box {
	width: 99%;
	float: none;
  }
}


/* -----------------------------------------
    Mobile hack to show scrollbars
------------------------------------------ */

  /* !important is needed sometimes */
 ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px !important;
    height: 4px !important;
 }

 /* Track */
::-webkit-scrollbar-track {
   -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3) !important;
   -webkit-border-radius: 4px !important;
   border-radius: 4px !important;
 }

 /* Handle */
 ::-webkit-scrollbar-thumb {
   -webkit-border-radius: 4px !important;
   border-radius: 4px !important;
   background: #41617D !important; 
   -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5) !important; 
 }
 ::-webkit-scrollbar-thumb:window-inactive {
   background: #41617D !important; 
 }
/* -----------------------------------------
    Section specific
------------------------------------------ */

.img-activity {
  float: right;
  margin-left: 15px;
  overflow: visible;
}
.img-activity img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.5),2px 2px 8px 0 rgba(0,0,0,0.2);
}
.content marquee {width: calc(100% - 230px);}

.card, #comite table p {padding: 2px 6px; margin-right: 10px; border-radius: 10px; box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}
.card {width: fit-content;}
.card.contact {background-color: #efe; float: right;}
.card.beige {background-color: #efe;}

/* Ecole-mat comments */
.comments-div {background: #9900ff20; padding: 0.5em; border-radius: 10px;}
.comments-container {padding-top: 1em;}
.comment-wrap {margin-right: 1em; margin-bottom: 4em; position: relative; width: 25em; display: inline-block;}
.comment-wrap .card {background-color: #fff;}
.comment.card {height: 7em; overflow: auto; font-family: "Playwrite GB S", cursive; font-size: 14px;}
.comment.card::after {content: ""; position: absolute; top: 91%; right: 1em; border-width: 10px; border-style: solid; border-color: white transparent transparent transparent; rotate: -135deg; filter: drop-shadow(-4px 0px rgba(0,0,0,0.08));}
.commment-by {position: absolute; right: 0em; bottom: -2.6em;}
.em-tag-div {
  margin-bottom: 1em;
  width: calc(100% - 240px);
}
@media (max-width:500px){
  .em-tag-div {width: 100%}
}

@media (max-width:950px){
  .img-activity img {margin-right: 5px;}
}  
@media (max-width:500px){
  .img-activity img {width: 180px;}
  .comment-wrap {width: 19em;}
  .comment.card {height: 10em;}
}
@media (max-width:364px){
  .img-activity img {width: 170px;}
}
/* -----------------------------------------
    Footer
------------------------------------------ */
footer .footer-text {
  font-family: "MerriweatherRegular", Serif;
  font-size: .75em;
  padding: 0 10px;
  margin-bottom: 0;
  margin-top: 15px;
  clear: both;
	line-height: 1.5;
}
footer .footer-content {
  position: relative;
  width: 900px;
  top: -80px;
  text-align: center;
}
footer td {
	vertical-align: top;
}
@media (max-width:950px){
  footer .footer-content {width: 100%;}
}

@media (max-width:560px){
  footer {padding-top: 45px;}
  footer .footer-content {top: -25px;}
}

/* ----------------------------------------------------
    Tooltip "Pavillon"
----------------------------------------------------- */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted grey;
  cursor: grab;
}

.tooltip .tooltipimg {
  visibility: hidden;
  width: 300px;
  height: 412px;
  border: 1px solid black;
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  background-image: url("/images/Pavillon.jpg");
  background-size: 300px 412px;
  background-color: white;
  /* Position the tooltip */
  position: absolute;
  left: 0;
  top: 24px;
  z-index: 2;
}

.tooltip:hover .tooltipimg {
  visibility: visible;
}

.no-select {-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}

@media screen {
  .print-only {display: none;}
}

/* ----------------------------------------------------
    When Printing
----------------------------------------------------- */
/* @media print {
  .no-print {visibility: hidden}
  .hide-print {display: none}
  .print-only {display: block!important;}
  .page-break-before {page-break-before: always} 
  body {background: none;}
  header {height: 70px;}
  #header-wrap {position: relative;}
  .content-wrap section .back-to-top {display: none;}
  .slider-wrapper {display: none;}
  section {page-break-inside: avoid;}
  section .intro-box {width: 100%; min-height:0!important;}
  .colbig .col-div {max-width: 95%;}
  p {margin-bottom: 10px;}
} */

