div.hello_purchase_of_event table {width:100%;}
div.hello_purchase_of_event table tr.total {border-top:1px solid #bbb;}

div.sub-event-list, div.composed-event-link {border:2px solid #ccc; border-radius:4px; padding:1em; margin-bottom:1em;}

div.clickable-thumbnail-wrapper {
  display: inline-block; margin:4px;
}
.sidebar div.clickable-thumbnail-wrapper {
  display: block;
}
div.clickable-thumbnail-wrapper {
  vertical-align: top; margin-bottom: 1em;
  width:150px;
}
div.clickable-thumbnail-wrapper p {
  text-align:center; 
  margin:auto; width:90%; line-height: 1.2em;
  margin-top: 0.2em;
}

  
img.clickable-thumbnail {
  display:block;
  margin:auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
  border:1px solid #999;
  border-radius: 2px; 
}
img.clickable-thumbnail:hover {
  border:4px;
  opacity:0.9;
}
div.event-category-header {position:relative;}
div.event-category-header .thumbnail {width:30%; display: inline-block;}
div.event-category-header .title {display: inline-block; position:absolute; top:25%; padding-left:1em;}
@media screen and (max-width: 600px) {
  div.event-category-header .thumbnail {width:100%; display: block;}
  div.event-category-header .title {display: block; position:relative; padding:0.5em;}
  }
}


div.link_to_events {width:100%; text-align:center; padding: 0.5em; border: 1px solid #aaa;}

div.fc div.fc-toolbar h2 {color: #000; background-color: transparent; text-transform:capitalize;}

.fc-event-container a.fc-event.category_uncategorized {background-color: #ffffff;}
.fc-event-container a.fc-event.category_biathlon-camp {background-color: #b3b7bc;}
.fc-event-container a.fc-event.category_circuit-training {background-color: #bf3030;}
.fc-event-container a.fc-event.category_team-training-camp {background-color: #febc58;}
.fc-event-container a.fc-event.category_coaching-sport-sante {background-color: #c9e265;}
.fc-event-container a.fc-event.category_golf-camp {background-color: #45b545;}
.fc-event-container a.fc-event.category_ski-camp {background-color: #83aecb;}
.fc-event-container a.fc-event.category_prepa-foulee-blanche {background-color: #31b1fa;}

div.hello-event-list.gallery {
  display:flex; flex-wrap: wrap; justify-content: flex-start;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 6px;
  margin-right: 6px;
}
div.hello-event-list.gallery div.hello-event.gallery {width:30%;}
@media screen and (max-width: 780px) {
  div.hello-event-list.gallery div.hello-event.gallery {width:48%;}
}
@media screen and (max-width: 490px) {
  div.hello-event-list.gallery div.hello-event.gallery {width:96%;}
}
div.hello-event-list.gallery div.hello-event.style1.list {border: 1px solid black;padding:6px; position:relative;}
div.hello-event-list.gallery div.hello-event.style1.list div.thumbnail {padding:0px;}
div.hello-event-list.gallery div.hello-event.style1.list div.title {font-size: 0.9em;}
div.hello-event-list.gallery div.location {
  color: #666; font-size: 1em; line-height: 1em; margin-bottom:3em;
}
div.hello-event-list.gallery div.hello-event.style1.list div.ticket-link {
  position: absolute; left:4px; bottom:16px;
 }

 /* Accordion */
div.event-category-accordion {margin-bottom:1em;}
div.event-category-accordion div.title {
  display: inline-block;
}
div.event-category-accordion div.title h1 {
  margin:0px; font-size:2em; line-height:1.8em;
}

.g-accordion {
  background-color: #dd5859;
  background-color: #666;	
  color: white;
  cursor: pointer;
  padding: 18px; padding-top:5px; padding-bottom: 5px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.8s;
  max-width:10em;
}

.g-accordion:after {
  content: "+";
  font-size:1.5em; font-weight: bold;
  float:right;
}
.active, .g-accordion:hover {
  background-color: #ed6869;
  background-color: #999;
}

.active.g-accordion:after{content: "-";}

.g-panel {
  border: 1px solid #ed6869;;
  border: 1px solid #ccc;;
  padding: 0 18px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

div.clickable-thumbnail-wrapper {position:relative;}
div.clickable-thumbnail-wrapper div.counter {
  position: absolute; top:5px; right:5px;
  color:white; background-color: #dd5859;
  border-radius: 50%; border: 1px solid white;
  padding-left:0.5em; padding-right:0.5em; ;
}

.subcategories-modal {
  /* background-color: red !important; */
  /* box-shadow: 0 0 0 7px rgba(0,0,0,0.1); */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.subcategories-modal .ui-widget-header, .subcategories-modal .ui-dialog-titlebar {
    background: #17324d !important;
    border: 0;
    color: #fff;
    font-weight: normal;
    font-size:1.2em !important;
}

.ui-dialog-titlebar-close:after {
   content: 'X' !important;
   position: absolute;
   top: -2px;
   right: 3px;
}

/* --- Events displayed after the category description from the hello-event-category-show shortcode -- */
div.event-of-category  {
  display: inline-block;
	margin:0px;
	margin-right:8px; margin-bottom: 8px;
  vertical-align: top; margin-bottom: 1em;
  width:12em;
	padding:6px;
	background-color: white;
	border: 1px solid #aaa;
}

/* Event info shown as a calendar page */
div.event-calpage {border: 1px solid #555; padding:2rem; padding-top:2rem; padding-bottom:2rem; color: #333; background-color: #ccc;}
div.event-calpage div.day {font-size: 6rem; line-height: 5rem; font-weight:bold;}
div.event-calpage div.month {font-size: 2.5rem;}
div.event-calpage div.year {}
div.event-calpage div.month {}
div.event-calpage  div.time::before { 
    font-family: "Font Awesome\ 5 Free";
    content: "\f017"; /* clock icon */
    display: inline-block;
    padding-right: 3px;
    vertical-align: top;;
}
div.event-calpage  div.start-time {display:inline-block;}
div.event-calpage  div.end-time {display:inline-block;}


div.event-of-category div.title {text-align:center; font-weight: bold;}
div.event-of-category  div.date-time {text-align:center;}
div.event-of-category  div.location {text-align:center; font-style: italic;}
div.event-of-category  div.ticket-link {text-align:center; font-weight: bold;}
div.event-of-category  div.event-link {text-align:center; }