html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif !important;
    /*font-size: 62.5%;*/
    font-size: 1.2rem;
    text-align: center;
    height: 100%;
}

/* Give most elements the same font size and family as the body */
div,
span,
p,
input,
textarea,
button,
table,
th,
tr,
td,
ol,
ul,
li,
blockquote,
form,
a {
    font-size: inherit;
    font-family: inherit;
}


h1 {
    font-size: 2.6rem;
    text-align: center;
    margin: 2rem 0rem 0.5rem 0rem;
    font-weight: 500;
    font-family: "Good Brush", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
}

h2 {
    font-size: 2.4rem;
    text-align: center;
    margin: 4rem 0rem 1rem 0rem;
    font-weight: normal;
    font-family: "Good Brush", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
}

h3 {
    margin: 1rem 0rem 0rem 0rem;
}

p {
    line-height: 1.5;
    text-align: center;
    margin: 1rem 0rem 0.5rem 0rem;
    font-size: inherit;
}

p.footnote {
    font-size: 0.8rem;
    margin: 0.5rem;
}

p + ul {
    margin-bottom: 0rem;
}

h1.nobanner {
    margin-top: 5rem;
}

ul {
    list-style-position: inside;
    list-style-type: none;
    list-style: none;
    margin: 0px;
    padding: 0px;
    color: gray;
}

li {
    margin: 0px;
    padding: 0px;
    font-size: 1rem;
}

#main {
    display: flex;
    flex-direction: column;
    min-height: 100%
}

#content, #map {
    flex: 1;
}

/**** FONTS ****/

@font-face {
    font-family: "Good Brush";
    src: url("/css/fonts/Good Brush.woff") format('woff');
}

.brush {
    font-family: "Good Brush";
    color: white;
}


/**** CUSTOM COLOURS ****/

.pink {
    color: #e5007e;
}


/* MENU BAR */

#menubar {
    display: grid;
    grid-template-columns: [logo] auto [desktop-menu] min-content;
    grid-template-rows: auto;
    align-items: center;
    /*background-color:black;*/
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    font-size: 1.2rem;
    height: 3.5rem;
    color: whitesmoke;
    /*padding: 0.5rem 1rem 0.5rem 1rem;*/
    white-space: nowrap;
}

#menubar .logo  {
    font-size: 2.25rem;
    justify-self: start;
    line-height: 2.25rem;
}

#menubar .logo-full, #menubar .logo-short {
    display: grid;
    grid-template-columns: min-content min-content min-content min-content min-content;
    grid-template-rows: auto;
    align-items: center;
}

#menubar .logo-full .danse-pill {
    height: 2.25rem;
    padding: 0rem 0.5rem 0rem 0.5rem;
}
#menubar .logo-short .danse-pill {
    height: 2.25rem;
    padding: 0rem 0.25rem 0rem 0.25rem;
}

#menubar .danse-left {
    height: 2.25rem;
    padding: 0rem 1rem 0rem 0.5rem;
}

#menubar .danse-right {
    height: 2.25rem;
    justify-self: center;
    padding: 0rem 0rem 0rem 1rem
}

/* Menu Options - right hand side  */
#menubar .menu-full {
    display: grid;
    grid-template-columns: min-content min-content min-content min-content min-content min-content;
    grid-template-rows: auto;
    align-items: center;
    font-size: 1rem;
}

/* Menu Links */
#menubar .menu-full a {
    padding: 0rem 1rem 0rem 1rem;
}

#menubar i {
    font-style: normal;
    font-size: 1.5rem;
    padding-right: 1.0rem;
    cursor: pointer;
}

/* Generic menu item attributes */

#menubar a:link, #menubar a:active, #menubar a:hover, #menubar a:visited {
    text-decoration: none;
    color: whitesmoke;
    outline: 0;
    white-space: nowrap;
    margin: 0rem 0.4rem;
    padding: 0.2rem 0.6rem 0.2rem 0.6rem;
}

#menubar a:hover {
    /*color: #e5097f;*/
    background-color: #e5097f;
    border-radius: 8px;
    color: whitesmoke;

}


/********************************************************************************/
/* POP MENU */
/* Hidden checkbox triggers show/hide of menubar */
/********************************************************************************/

#pop {
    visibility: hidden; 
    position: absolute;
}

#pop + #popbar {
    display: hidden;
}

#pop:checked  + #popbar {
    right: 0;
    transition: all 0.3s ease-in-out;
}

#popbar.hidden {
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 3.5rem;
    right: -20rem;
    width: 20rem;
    z-index: 99999;
    height: 100%;
    border-top: 2px solid #000;
    transition: all 0.3s ease-in-out;
}

#popmenu {
    display: grid;
    grid-template-columns: auto;
    row-gap: 0.5rem;
    align-items: center;
    font-size: 1.5rem;
    color: #ccc;
    text-align: left;
    padding: 1rem;
    vertical-align: top;
}

#popmenu  i {
    width: 3rem !important;
}

/********************************************************************************/



#header {
    height: 0;
    margin-top: 3.5rem;
}

#content {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

#comite {
    display: grid;
    grid-template-columns: min-content min-content min-content;
    grid-template-rows: auto;
    justify-content: center;
    align-content: center;
    justify-items: left;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.2rem;
    margin: auto; 
}

#comite span {
    white-space: nowrap;
}


/* Welcome Page Images */
.photo {
    border-radius: 20px;
}

.spectacle {
    background: url(/img/spectacle-1024.jpg) no-repeat;
    background-size: contain;
}

.stages {
    background: url(/img/stages-1024.jpg) no-repeat;
    background-size: contain;
}

.compagnie {
    background: url(/img/compagnie-1024.jpg) no-repeat;
    background-size: contain;
}

.cours {
    background: url(/img/camera.png) no-repeat;
    background-size: contain;
    background-color: lightgrey;
    background-position: center center;
    background-size: 128px 128px;
}

.presentation {
    background: url(/img/camera.png) no-repeat;
    background-size: contain;
    background-color: lightgrey;
    background-position: center center;
    background-size: 128px 128px;
}

.compagnieBBC3T {
    background: url(/img/compagnieBBC3T-1024.jpg) no-repeat;
    background-size: contain;
}

#map iframe {
    width: 90%;
    height: 40rem;
    border: none; /*1px solid grey;*/
    margin: 0.5rem auto;
    float: none;
    display: block;
    background-color: #f1f3f4;
}
#map {
    padding: 10px;

}

a.danse {
    background-color: #e5097f;
    border-radius: 8px;
    padding: 0.25rem 1rem 0.25rem 1rem;
    color: white;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

a.danse:hover {
    text-decoration: none;
    background-color: #c20872;
}


.crazybuttons {
    margin: 2rem auto 2rem auto; 
}

.crazybuttons a {
    margin: 0 1rem 0 1rem;
}



#trailer a {
    text-decoration: none;
    color: #e5097f;
    border-radius: 4px;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
}

#trailer a:hover {
    background-color: #e5097f;
    color: whitesmoke;
}


/********************************************************************************/
/* FORMS                                                                        */
/********************************************************************************/

form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
}

input[type=text], 
input[type=number], 
input[type=tel], 
input[type=email],
input[type=date],
select,
textarea {
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0 0.5rem 0 0.5rem;
    color: #999;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    line-height: 2rem;
    height: 2.5rem;
    background-color: white;
}


input[type=text]:focus, 
input[type=number]:focus, 
input[type=tel]:focus, 
input[type=email]:focus, 
input[type=date]:focus, 
select:focus,
textarea:focus {
    outline: none;
    border: 1px solid #95c7ff;
    box-shadow: 0px 0px 1px 3px #beddff;
}

textarea {
    height: 8rem;
    line-height: 1.4rem;
}

.super {
    vertical-align: super;
    font-size: 0.75rem;
    color: #e5097f;
}

form .required {
    /*font-size: 0.8rem;*/
    color: #999;
    /*margin-left: 0.2rem;*/
}
/******************************************************************************/
/* CUSTOM CHECHBOX */
/******************************************************************************/

input[type=checkbox] {
    -webkit-appearance: none;
    border: 1px solid #ccc;
    height: 18px;
    width: 18px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

input[type=checkbox]:checked {
    background-color: #e5097f;
    border: 1px solid #e5097f;
    outline: none;
}

/******************************************************************************/

.fieldheader {
    font-size: 1.0rem;
    text-align: left;
    margin: 1.5rem 0rem 0.1rem 0rem;
    display: block;
    width: 100%;
}


form button {
    background-color: #e5097f;
    border-radius: 8px;
    padding: 0.25rem 1rem 0.25rem 1rem;
    margin: 2rem 0 0 0;
    color: white;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    border-style: solid;
    border: none;
    cursor: pointer;
    outline: none;
}

form button:active {    
    background-color: #c20872;
}


/* Common form fields */
/* line 1 */
form .firstname {
    width: 48%;
    margin-right: 2%;
}

form .lastname {
    width: 48%;
    margin-left: 2%;
}

/* line 2 */
form .street {
    width: 51%;
    margin-right: 4%;
}

form .postcode {
    width: 13%;
    margin-right: 4%;
}

form .town {
    width: 28%;
}



/* contact form only */
#contactform .email {
    width: 64%;
    margin-right: 4%;
}

#contactform .telephone {
    width: 32%;
}



/* subscription form only */

/* line 3 */
#subscription .email {
    width: 40%;
    margin-right: 4%;
}

/* line 4 */
#subscription .mobile {
    width: 32%;
    margin-right: 4%;
}

#subscription .telephone {
    width: 20%;
}


/* line 5 */
#subscription .dateofbirth {
    width: 25%;
    margin-right: 4%;
}

#subscription .avs {
    width: 25%;
    margin-right: 4%;
}

#subscription .filiation {
    width: 42%;
}


/* line 6 */
#subscription .health {
    width: 100%;
}

#subscription .health textarea {
    height: 6rem;
}

#subscription .courses {
    width: 100%;
}




/* generic form */

form .line {
    width: 100%;
    text-align: start;
}

form .message {
    width: 100%;
}

/****************************************************************************************/
/* COURSE LIST */
/****************************************************************************************/

.courselist {
    display: grid;
    grid-template-columns: min-content auto; /* min-content min-content min-content ;*/
    grid-template-rows: auto;
    justify-content: left;
    align-content: left;
    justify-items: left;
    align-items: center;
    column-gap: 0;
    row-gap: 0.25rem;
    white-space: normal;
    width: 100%;
    padding: 1rem; 
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    color: #999;
}

.courselist label
{
    padding: 1px 10px 1px 10px;
    margin: 0;
    width: 100%;
    text-align: left;
    border-radius: 4px;

    cursor: pointer;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

/*
.courselist input:checked + label,
.courselist input:checked + label + label,
.courselist input:checked + label + label + label,
.courselist input:checked + label + label + label + label,
.courselist input:checked + label > span.super
{
   background-color: #e5097f;
   color: white;
}
*/

/****************************************************************************************/
/* COURSE NOTE LIST */
/****************************************************************************************/

.notelist {
    display: grid;
    grid-template-columns: min-content;
    grid-template-rows: auto;
    justify-content: left;
    align-content: left;
    justify-items: left;
    align-items: center;
    column-gap: 0.25rem;
    row-gap: 0.25rem;

    width: 100%;
    padding: 0.1rem; 
    box-sizing: border-box;

    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
}


/****************************************************************************************/
/* DISCOUNT LIST */
/****************************************************************************************/

.discountlist {
    display: grid;
    grid-template-columns: min-content auto;
    grid-template-rows: auto;
    justify-content: left;
    align-content: left;
    justify-items: left;
    align-items: center;
    column-gap: 0; /*0.25rem;*/
    row-gap: 0.1rem;
    white-space: normal;
    color: #999;

    width: 100%;
    padding: 1rem; 
    box-sizing: border-box;

    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

.discountlist label {
    padding: 2px 10px 2px 10px;
    margin: 0;
    width: 100%;
    text-align: left;
    border-radius: 4px;
    box-sizing: border-box;

    cursor: pointer;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

/*
.discountlist input:checked + label
{
    background-color: #e5097f;
    color: white;
}
*/


.termslist {
    display: grid;
    grid-template-columns: min-content auto;
    grid-template-rows: auto;
    justify-content: left;
    align-content: left;
    justify-items: left;
    align-items: center;
    column-gap: 0; /*0.25rem;*/
    row-gap: 0.1rem;
    color: #999;

    width: 100%;
    padding: 1rem; 
    box-sizing: border-box;

    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

.termslist label {
    padding: 2px 10px 2px 10px;
    margin: 0;
    width: 100%;
    text-align: left;
    border-radius: 4px;
    box-sizing: border-box;

    cursor: pointer;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

/*
.termslist input:checked + label
{
    background-color: #e5097f;
    color: white;
}
*/

/*
.mobile {
    display: inline; 
}

.desktop {
    display: none !important;
}
*/
/****************************************************************************************/
/****************************************************************************************/

.first {
    margin-top: 2rem !important;
}


/****************************************************************************************/
/* CONTENT */
/****************************************************************************************/

#content table {
    /*max-width: 600px !important;*/
    width: auto;
    max-width: 90%;
    margin: 0px auto;
    float: none;
}

#content table th, #content table td {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
}



/****************************************************************************************/
/* TRAILER */
/****************************************************************************************/

#trailer {
    background-color: rgba(0,0,0,1.0);
    color: #eee;
    padding: 1rem;
    margin: 2rem 0rem 0rem 0rem;
    font-size: 1rem;
}

#trailer p {
    margin: 0.2rem 0rem 0.2rem 0rem;
}

