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;}
div.hello-event-list.gallery div.hello-event.gallery {width:30%; margin:4px;}
@media screen and (max-width: 840px) {
  div.hello-event-list.gallery div.hello-event.gallery {width:50%;}
}
@media screen and (max-width: 400px) {
  div.hello-event-list.gallery div.hello-event.gallery {width:100%;}
}
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;
  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;
}

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

.g-panel {
  border: 1px solid #ed6869;;
  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;
}

/* Form for requesting free tickets on theevent page */
div.free_tickets_section {
  border: 1px solid #aaa; padding: 12px; background-color: #ddd;
}
div.free_tickets_section label {width:12em; text-align: right; margin-right:8px;}
div.free_tickets_section input[type="submit"] {margin-top:1em; margin-left:20em;}
div.free_tickets_section div.error {color: red; padding:6px;}
