@import url(jquery.autocomplete.css);

/* ------------------------------------ */


body {
    /*font-family: Verdana, Arial, Helvetica, sans-serif;*/
    margin: 0;
    padding: 0;
    font-size: 14px;
    background: linear-gradient(180deg, #005d72 0%, #11b0c8 30%, white 95%);
}

#container {
    position: relative;
    text-align: left;
    width: 990px;
    margin: 0 auto;
    background-color: #fff;
}

/* HEADER ----------------------------- */
#header {
    position: relative;
    background: #fff url(../images/logo-classique-au-large.png) 10px 2px no-repeat;
    background-size: contain;
    color: #fff;
    height: 99px;
    /*padding: 2px 210px 2px 230px;*/
    padding: 2px 210px 2px 180px;
    border-bottom: 3px solid var(--bs-primary);
}

#header * {
    color: var(--bs-primary);
}

#header h1 {
    font-size: 16px;
    padding: 10px 0 0 110px;
}

.salle #header h1,
.salle #header h2 {
    margin: 0;
    padding: 10px 200px 0 110px;
}

#infosUser {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 200px;
    height: 80px;
    text-align: right;
    line-height: 1.5em;
}

/* /HEADER ----------------------------- */

/* CONTENT ----------------------------- */

#content {
    min-height: 450px;
    border: 1px solid #00557F;
    padding: 20px;
}

.ie6 #content {
    height: 450px;
}

h1.pageTitle {
    color: var(--bs-primary);
    font-weight: normal;
    margin: 0;
    padding: 0;
}

h2.pageSubTitle {
    color: var(--bs-primary);
    font-weight: normal;
    margin: 0;
    padding: 0;
}

h2.pageSubTitle strong {
    font-size: 1.2em;
}

/* /CONTENT ----------------------------- */


/* FOOTER ----------------------------- */
#footer {
    background-color: #00557F;
    text-align: right;
    padding: 10px 20px;
    clear: both;
    color: #fff;
    border-top: 3px solid var(--bs-primary);
}

#footer a {
    color: #fff;
    text-decoration: underline;
}

/* /FOOTER ----------------------------- */

/* SELECT PLACES ----------------------------- */
#headerBilletterie {
    position: relative;
    z-index: 2;
    margin-top: -20px;
    margin-bottom: 10px;
}

#menuConcerts {
    position: relative;
    /*width: 475px;*/
    width: 550px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 5px;
    padding-right: 30px;

}

#showHideMenuConcerts {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff url(../images/downarrow.png) 0 0 no-repeat;
    display: block;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.on #showHideMenuConcerts {
    background-image: url(../images/uparrow.png);
}

#menuConcerts strong {
    /*color: var(--bs-primary);*/
    color: #00557F;
    position: relative;
    font-size: 16px;
    display: inline-block;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#menuConcerts strong span {
    font-weight: normal;
    font-size: 12px;
    display: block;
}

ul#liste-concert {
    /*width: 500px;*/
    width: calc(100% + 2px);
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    margin: 0 0 0 -6px;
    list-style: none;

    border-radius: 3px;
    padding: 3px 5px;
}

ul#liste-concert li {
    margin: 0;
    padding: 0;
}

ul#liste-concert li a {
    display: block;
    margin: 0;
    padding: 4px 10px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

ul#liste-concert li a:hover {
    background-color: #C8D4D7;
    text-decoration: underline;
}

/*ul#liste-concert li a:before {
    content: '> ';
}*/

ul#liste-concert li a span {
    display: inline-block;
    font-weight: normal;
    padding-right: 10px;
    font-size: .7rem;
}

/*#menuConcerts:hover #liste-concert {*/
#menuConcerts.on #liste-concert {
    display: block;
}

/*
#get_concert {
  margin: 0;
  padding: 0;
}



#get_concert {
  float: right;
  width:310px;
  text-align: left;
  margin: 0 0 5px 0;
  padding: 5px 15px;
  color: #fff;
}
#get_concert #concert{
  width: 310px;
  }
  */

#leftCol {
    /* float:left;*/
    position: relative;
}

/*
#rightCol {
  float:left;
  width:100px;
  margin-left:5px;
  padding:5px;
  border-left:1px solid #5C86A5;
  min-height: 350px;
  }*/

#rightCol {
    position: absolute;
    top: 0;
    right: 5px;
    width: 310px;
    padding: 0 0 35px 0;
    border: 1px solid #5C86A5;
    background-color: #fff;
    min-height: 65px;
    /*max-height: 105px;*/
    border-radius: 8px;
    z-index: 3;
}

#rightCol h4 {
    margin: 0;
    padding: 3px 5px;
    background-color: #C8D4D7;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #5C86A5;
}

#rightCol ul {
    margin: 5px 0;
    padding: 0 0 0 15px;
}

#rightCol ul.open {
    max-height: 350px;
    overflow-y: auto;
}

#rightCol ul li,
#rightCol ul.open li.liCartContent {
    display: none;
}

#rightCol ul.open li,
#rightCol ul li.liEmptyCart {
    display: block;
}

#rightCol ul li.liCartContent {
    display: block;
    padding: 9px 0 0;
}

#rightCol ul li .titreconcert {
    font-weight: bold;
}

#rightCol .viewCartContent {
    position: absolute;
    bottom: 2px;
    left: 5px;
}

#rightCol #go_basket {
    position: absolute;
    bottom: 2px;
    right: 5px;
}

/* SELECT PLACES ----------------------------- */


.salle-libre {
    padding: 10px;
    text-align: center;
}

#free-resa {
    position: absolute;
    margin: 15px 0 -15px;
    left: 39%;
    top: 100px;
    width: 200px;
    text-align: center;
}

#free-resa a {
    background-color: #FCC984;
    color: #00557F;
    border-radius: 5px 5px 5px 5px;
    display: inline-block;
    padding: 3px 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

#free-resa a:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

.salle.prive #menuConcerts,
.salle.prive #rightCol {
    display: none;
}


/* PANIER - BON COMMANDE ----------------------------- */
div#infoTarifs {
    background-color: var(--bs-tiara);
    border: 1px solid var(--bs-tiara-border);
    min-width: 450px;
    margin: 0 0 10px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 2px #ccc;

}

div#infoTarifs h3 {
    margin: 0;
    padding: 2px 0
}

div#infoTarifs ul {
    float: left;
    width: 48%;
    padding-left: 15px;
    margin: 0;
    list-style-type: none;
}

div#infoTarifs .legend {
    clear: both;
}


#tbCommandeContainer {
    padding: 0;
    border: 1px solid #5C86A5;
    border-collapse: collapse;
}

#tbCommande {
    width: 95%;
    margin: 10px auto;
    padding: 0;
    border: 1px solid #5C86A5;
    border-collapse: collapse;
}

#tbCommande th,
#tbCommande td {
    padding: 2px;
    margin: 0;
    font-size: 0.9em;
    text-align: center;
    border: none;
    vertical-align: top;
}

#tbCommande th {
    background-color: #C8D4D7;
    border: 1px solid #5C86A5;
}

#tbCommande .trEmpryCart,
#tbCommande .trNewLine {
    border-top: 1px solid #5C86A5;
}

#tbCommande .trEmpryCart td,
#tbCommande .trNewLine td {
    position: relative;
    padding-top: 10px;
}

#tbCommande .trNewLine td .hidden {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
}


#tbCommande .tdConcert {
    text-align: left;
}

#tbCommande .tdPrix {
    text-align: right;
}

#f {
    text-align: right;
}

#tbCommande tr#trTotal td {
    background-color: #C8D4D7;
    font-weight: bold;
    padding: 4px 2px;
    font-size: 1.2em;
}

#tbCommande td#tdRecapTotal {
    text-align: right;
}

.titreconcert {
    font-weight: bold;
    color: #00557F;
}

#tbCommande td.printPdf .button {
    white-space: nowrap;
}

/* /PANIER - BON COMMANDE ----------------------------- */


/* CHECKOUT ----------------------------- */
#checkoutForm .checkoutCol {
    width: 48.5%;
    float: left;
}

#checkoutForm label {
    display: inline-block;
    font-weight: bold;
    margin: 3px 0;
    width: 130px;
    text-align: right;
    padding-right: 5px;
}

#checkoutForm .colLeft {
    padding-right: 10px;
    margin-right: 5px;
    border-right: 1px solid #ccc;
}

#checkoutForm .colLeft input,
#checkoutForm .colLeft textarea {
    margin: 3px 0;
    width: 300px;
}

#checkoutForm .colRight {
    padding-left: 10px;
}

#checkoutForm .colRight .moyenspaiement {
    text-align: right;
}

#checkoutForm .colRight .moyenspaiement label {
    width: 110px;
}

#checkoutForm .colRight .moyenspaiement input {
    text-align: right;
    margin: 3px 0;
    width: 100px;
}

#checkoutForm .checkoutTotal {
    clear: both;
}

#checkoutForm .checkoutTotal span.prix {
    display: inline-block;
    width: 100px;
}

/* /CHECKOUT ----------------------------- */


/* FORMS ================================ */
/*
.button {
  background-color: #00557F;
  border: 1px solid #000;
  border-right: 1px solid #C8D4D7;
  border-bottom: 1px solid #C8D4D7;
  color: #C8D4D7;
  text-decoration: none;
  padding: 5px 15px;
  border-radius : 6px;
  -moz-border-radius : 6px;
  -webkit-border-radius : 6px;
  cursor: pointer;
  width:auto;
}

.button:hover {
  background-color: #C8D4D7;
  border: 1px solid #C8D4D7;
  border-right: 1px solid #00557F;
  border-bottom: 1px solid #00557F;
  color: #00557F;
}
*/

.actions {
    text-align: right;
    padding: 15px 0
}

.legend {
    font-size: 0.9em;
}

/* Messages boxes ================================ */
.info, .success,
.warning, .error,
.validation {
    border: 1px solid;
    margin: 10px 0;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    border-radius: 6px;
    box-shadow: 2px 2px 2px #ccc;
}

.info {
    color: var(--bs-info-text-emphasis);
    background-color: var(--bs-info);
    background-image: url('../images/info.png');
}

.success {
    color: var(--bs-success-text-emphasis);
    background-color: var(--bs-success);
    background-image: url('../images/success.png');
}

.warning {
    color: var(--bs-warning-text-emphasis);
    background-color: var(--bs-warning);
    background-image: url('../images/warning.png');
}

.error {
    color: var(--bs-danger-text-emphasis);
    background-color: var(--bs-danger);
    background-image: url('../images/error.png');
}

/* ==================================================== */
/*.sc {
  height: 1%;
  }*/

.sc:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* ====================================================
RESPONSIVE
 ==================================================== */

/* At the top level of your code */
@media screen and (max-width: 768px) {
    #container {
        width: auto;
        max-width: 100%;
    }

    #header {
        background-position: top center;
        background-size: 200px;
        height: auto;
        padding: 110px 1rem 1rem;
    }

    #header h1, #header h2,
    .salle #header h1, .salle #header h2 {
        margin: 0;
        padding: 0 !important;
        text-align: center;
    }


    #menuConcerts {
        width: auto;
        max-width: 100%;
    }

    #free-resa {
        margin: 0;
        left: 50%;
        top: 25%;
        transform: translateX(-50%);
    }

    /* PANIER - BON COMMANDE ----------------------------- */
    div#infoTarifs {
        min-width: unset;
    }

    div#infoTarifs ul {
        float: none;
        width: auto;
    }

    /* TABLE BDC ===================== */
    #tbCommande {
        border: 0;
    }

    #tbCommande caption {
        font-size: 1.3em;
    }

    #tbCommande thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    #tbCommande tr {
        display: block;
        margin-bottom: .625em;
    }

    #tbCommande td {
        display: block;
        font-size: .8em;
        text-align: right;
    }

    #tbCommande td:not(.tdConcert)::before {
        /*
        * aria-label has no advantage, it won't be read inside a #tbCommande
        content: attr(aria-label);
        */
        content: attr(data-label) ' : ';
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        margin-right: auto;
        margin-left: 0;
    }

    #tbCommande tr.total-general td.tdPrix:first-of-type {
        display: none;
    }

    #tbCommande tr.total-general td.tdPrix {
        background-color: var(--bs-tiara);
        border: 1px solid var(--bs-tiara-border);
        padding: .5rem;
    }

    #tbCommande td:last-child {
        border-bottom: 0;
    }

    /* /TABLE BDC ===================== */
    /* CHECKOUT ----------------------------- */
    #checkoutForm .checkoutCol {
        width: auto;
        float: none;
    }

    #checkoutForm .checkoutCol input,
    #checkoutForm .checkoutCol textarea {
        margin: 3px 0;
        width: 100%;
        max-width: 100%;
    }

    #checkoutForm .colLeft {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
    }

    #checkoutForm .colRight {
        padding-left: 0;
    }

    #checkoutForm label {
        display: block;
        width: auto;
        text-align: left;
    }

    #checkoutForm .moyenspaiement label {
        display: inline-block;
    }

    #checkoutForm .checkoutCol label[for="commentaires"] + br {
        display: none;
    }

    #checkoutForm .checkoutTotal span.prix {
        font-size: 1.2em;
    }

    /* /CHECKOUT ----------------------------- */
    /* ACTIONS ===================== */
    .actions {
        text-align: center;
    }

    .actions {
        text-align: center;
    }

    .actions .btn {
        margin: .5rem;
    }


    #rightCol {
        position: initial;
        width: auto;
        max-width: 100%;
        min-height: unset;
        padding-bottom: 1rem;
    }

    #rightCol .viewCartContent {
        display: none;
    }

    #rightCol #go_basket {
        position: initial;
        width: 100%;
        text-align: right;
        padding: 1.5rem;
    }

    .info, .success,
    .warning, .error,
    .validation {
        display: inherit;
    }
}