*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    width: 90%;
}


/* Language Switcher
   ========================================================================== */

   .switch {
        cursor: pointer;
        font-size: 1.1em;
        text-decoration: none;
        background-color: #fff;
        color: black;
        padding: 15px;
        border: 1px solid black;
        position: absolute;
        left: 50% -20%;
        top: 10px;
    }
    
/* Jelly Checkbox
   ========================================================================== */

.jelly-cbx {
    position: absolute;
    opacity: 0;
    left: 0;
}

.form-radios .cbx {
    border-radius: 50%;
}

.cbx {
    display: inline-block;
    position: relative;
    top: -1px;
    width: 17px;
    height: 17px;
    background-color: #fff;
    vertical-align: middle;
    transition: background 0.1s ease;
    cursor: pointer;
}

.jelly-cbx.error+.cbx {
    border: 2px solid #000;
}

.cbx:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    opacity: 0;
    transform: rotate(45deg) scale(0);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: all 0.3s ease;
    transition-delay: 0.15s;
}

.lbl {
    /* display: inline; */
    margin-left: 6px;
    vertical-align: middle;
    cursor: pointer;
    text-align: left;
    line-height: 1.5;
    font-size: 13px;
    width: calc(100% - 35px);
    display: inline-block;
}

.jelly-cbx:checked~.cbx {
    border-color: transparent;
    background: #000;
    animation: jelly 0.6s ease;
    border: none;
}

.jelly-cbx:checked~.cbx:after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.cntr {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
}

@-moz-keyframes jelly {
    from {
        transform: scale(1, 1);
    }
    30% {
        transform: scale(1.25, 0.75);
    }
    40% {
        transform: scale(0.75, 1.25);
    }
    50% {
        transform: scale(1.15, 0.85);
    }
    65% {
        transform: scale(0.95, 1.05);
    }
    75% {
        transform: scale(1.05, 0.95);
    }
    to {
        transform: scale(1, 1);
    }
}

@-webkit-keyframes jelly {
    from {
        transform: scale(1, 1);
    }
    30% {
        transform: scale(1.25, 0.75);
    }
    40% {
        transform: scale(0.75, 1.25);
    }
    50% {
        transform: scale(1.15, 0.85);
    }
    65% {
        transform: scale(0.95, 1.05);
    }
    75% {
        transform: scale(1.05, 0.95);
    }
    to {
        transform: scale(1, 1);
    }
}

@-o-keyframes jelly {
    from {
        transform: scale(1, 1);
    }
    30% {
        transform: scale(1.25, 0.75);
    }
    40% {
        transform: scale(0.75, 1.25);
    }
    50% {
        transform: scale(1.15, 0.85);
    }
    65% {
        transform: scale(0.95, 1.05);
    }
    75% {
        transform: scale(1.05, 0.95);
    }
    to {
        transform: scale(1, 1);
    }
}

@keyframes jelly {
    from {
        transform: scale(1, 1);
    }
    30% {
        transform: scale(1.25, 0.75);
    }
    40% {
        transform: scale(0.75, 1.25);
    }
    50% {
        transform: scale(1.15, 0.85);
    }
    65% {
        transform: scale(0.95, 1.05);
    }
    75% {
        transform: scale(1.05, 0.95);
    }
    to {
        transform: scale(1, 1);
    }
}

@media (max-width: 500px) { 
    .lbl {
        vertical-align: top;
    }
  }

/* Header
   ========================================================================== */

#main-header {
    text-align: center;
    margin-bottom: 30px;
}

#main-header .visu {
    position: relative;
}

#main-header .visu img {
    display: block;
    max-width: 100%;
    max-width:750px;
    height: auto;
    margin: 0 auto;
}

#main-header .visu .label {
    position: absolute;
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    top: 100%;
    right: 50%;
    color: #fff;
    text-transform: uppercase;
    background: #d5285b;
    font-size: 17px;
    padding: 3px 17px;
    transform-origin: top right;
    transform: rotate(45deg) translateY(-1px);
}

#main-header .logo {
    margin: 60px 0 10px;
    display: inline-block;
}

#main-header h1 {
    padding: 20px 0 35px;
    font-size: 53px;
    line-height: 1;
    font-weight: 700;
    max-width: 630px;
    margin: 0 auto;
    font-family: 'Karla', Helvetica, Arial, sans-serif;
}
@media (max-width: 550px) { 
    #main-header h1 {
        font-size: 33px;
    }
  }
/* Description
   ========================================================================== */

#description .container {
    display: flex;
    max-width: 860px;
}

#description .intro {
    width: 50%;
    font-size: 13px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

#description .intro .content {
    max-width: 300px;
    margin: 0 auto;
}

#description .programme {
    position: relative;
    display: inline-block;
    width: 50%;
    background: rgba(216, 216, 216, 0.5);
    padding: 30px;
    max-width: 430px;
}

#description .programme:before {
    content: "";
    width: 0;
    height: 0;
    border: 35px solid #fff;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
}

#description .programme .content {
    position: relative;
    max-width: 340px;
    margin: 0 auto;
}

#description .programme h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d5285a;
    margin: 0 0 15px 0;
}

#description .programme ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#description .programme ul li {
    margin-bottom: 5px;
    display: inline-block;
    width: 100%;
}

#description .programme .time {
    font-size: 18px;
    width: 82px;
    float: left;
    clear: both;
}

#description .programme .time:after {
    content: "";
    width: 4px;
    height: 4px;
    display: inline-block;
    background: #d5285a;
    margin: 0 10px;
    transform: translateY(-3px) rotate(45deg);
}

#description .programme small {
    display: inline-flex;
    align-items: center;
    line-height: 1.15;
    width: calc(100% - 82px);
    min-height:30px;
    float: right;
}



@media (max-width: 768px) { 
    #description .container { display: block; }
    #description .intro,
    #description .intro .content,
    #description .programme { 
        width: 100%;
        margin: 0 auto;
    }
    #description .intro .content{
        max-width: 430px;
    }
  }

  
/* remark 
   ========================================================================== */

   .remark { text-align: center;}

.titre_second {

color: #d5285a;
font-weight: bold;
padding-top: 20px;
text-align: center;


}

/* Event selection
   ========================================================================== */

#event-select {
    margin-top: 60px;
    text-align: center;
}

#event-select h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 400;
}

#event-select .event {
    display: inline-block;
    margin: 0 6px 30px 6px;
    position: relative;
}
#event-select .event input[type="radio"] {
/*    visibility: hidden;*/
    opacity: 0;
}

#event-select .event .date {
    color: #d5285a;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 16px;
}

#event-select .event label {
    display: inline-block;
    border: none;
    background: #f7f7f7;
    -webkit-appearance: none;
    width: 250px;
    padding: 25px 0 10px;
    border-radius: 57px;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
    position: relative;
    z-index: 1;
    outline: none;
    transition: all 200ms ease-out;
}

#event-select .event label p {
    color:#000;
}
#event-select .event p.closed {
    position: absolute;
    bottom: -5%;
    left: 20%;
    transform: translate(0%, 0%);
    color:red;
    z-index: 10;
    font-size: 11px;
    background: #d5285a;
    color:#fff;
    padding: 5px;
    width: 60%;
    margin: 0;
    border-radius: 5px;
    display: none;
    user-select: none;
}

#event-select .event.disabled label {
    cursor:default;
    opacity: 0.4;
}

#event-select .event.disabled p.closed {
    display: inline-block;
}

#event-select .event:not(.disabled) label:hover {
    box-shadow: -2px 5px 10px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
    color: #fff;
    background-color: #d5285a;
    background: #fff;
}

#event-select .event label.selected {
    box-shadow: -2px 5px 10px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background: #fff;
    color: #fff;
}


#event-select .event:hover .date {
    color: #d5285a;
}

#event-select .event label strong {
    font-size: 13px;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    margin-bottom: 5px;
}





@media (max-width: 520px) { 
    #event-select h2 {
        font-size: 22px;
    }
    #event-select .event {
        display: block;
        margin: 0 0 30px 0;
        width: 100%;
    }
    #event-select .event label {
        width: 100%;
        height: auto;
        padding: 15px;

    }
    #event-select .event label br{
        display: none;
    }
}

/* Form
   ========================================================================== */

.alert {
    padding: 20px 0 50px 0;
    font-size: 18px;
    font-weight: 600;
    display: none;
    color: #d5285a;
}

.alert a{
    color: inherit;
}

#green_form {
    background: #d2d409;
 /* display: none; */
}

#green_form:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: 25px solid transparent;
    border-top-color: #fff;
    margin: 0 auto;
}

#green_form .container {
    max-width: 780px;
}

#green_form h2 {
/*    text-wrap: balance;*/
    font-size: 23px;
    color: #000000;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    padding-bottom: 42px;
    font-weight: 400;
}

#green_form h2 small {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

input[type="text"],
input[type="email"] {
    outline: none;
    background: #fff;
    border: none;
    color: #000;
    padding: 13px;
    font-size: 13px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 100%;
    font-weight: bold;
}

input[type="text"].inline,
input[type="email"].inline {
    width: auto;
    margin: 5px 0;
}

.form-item {
    margin-bottom: 2px;
    font-size: 13px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #000;
    font-weight: bold;
    position: relative;
}
.form-radios {
    margin: 17px 0;
}

span.form-radios .form-item{
}
span.form-radios .form-item + .form-item{
    margin-left: 10px;
}
span.form-radios .form-item .lbl{
    margin-left: 0;
    display: inline;
    vertical-align: middle;
}

span.form-radios .form-item .cbx{
}

.guest-status{
    display: inline-block;
}
.form-radios>.form-item {
    margin-bottom: 10px;
}

.form-item label em {
    font-weight: 400;
    font-style: normal;
}

button[type="submit"] {
    -webkit-appearance: none;
    border: none;
    width: 190px;
    height: 50px;
    border-radius: 50px;
    background: #d5285a;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    font-size: 13px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
    transition: all 300ms ease-out;
}

button[type="submit"]:hover {
    box-shadow: -2px 9px 27px 6px rgba(0, 0, 0, 0.19);
    z-index: 2;
}
.form-actions {
    text-align: center;
}

#thanks{
   display: none;
   text-align: center;
}

#thanks .ical-cta{
    display: inline-block;
    margin-top: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    background: #d5285a;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: all 300ms ease-out;
    text-decoration: none;
    text-transform: uppercase;    
}
#thanks .ical-cta:hover {
    box-shadow: -2px 9px 27px 6px rgba(0, 0, 0, 0.19);
    z-index: 2;
}

/* .invalid class prevents CSS from automatically applying */
.invalid input:required:invalid + .cbx,
.invalid input:required:invalid {
    background: #BE4C54;
  }
   
  /* Mark valid inputs during .invalid state */
  .invalid input:required:valid {
    /*background: #17D654 ;*/
  }

@media (max-width: 550px) { 
    #green_form h2 {
        font-size: 22px;
    }
  }
  
/* Maps
   ========================================================================== */

#maps{
    text-align: center;
    background: #d2d409;
  /*  display: none; */
    padding: 30px 0 0;
}
#maps .container{
    border-top: 1px solid rgba(0,0,0,0.22);  
    max-width: 780px;
    padding: 30px 0 0;
}

#maps .event {
    font-size: 13px;
    display: none;
}
#maps .event .date{
    color: #d5285a;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}
#maps .event h3{
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
}
#maps .event .iframe{
    margin-top: 15px;
    position: relative;
}

#maps .event .iframe iframe {
    display: block;
    width: 100% !important;
}

/* cst info
   ========================================================================== */

.cst {
    font-size: 12px;
    margin-bottom: 0px;
}

.cst p {

padding-bottom: 0px;

}

/* Misc 
   ========================================================================== */

.blackline {

    width: 100%;
    height: 1px;
    background-color: black;
    margin-top: 30px;
    margin-bottom: 30px;
}

.icals a {
    
    display:none !important;

}


.button2 {
    -webkit-appearance: none;
    border: none;
    width: 190px;
    border-radius: 50px;
    color: #fff;
    font-size: 13px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
    transition: all 300ms ease-out;
}





.loading_spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top: 2px solid #14335c;
    border-radius: 50%;
    animation: spin_loading_spinner 1s linear infinite;
    margin-left: 10px;
    position: absolute;
    top: 16px;
    right: -35px;
}
.loading_spinner.show_me {
    display: inline-block;
}
@keyframes spin_loading_spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



