@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: 'codropsicons';
    src: url('../fonts/codropsicons/codropsicons.eot');
    src: url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
         url('../fonts/codropsicons/codropsicons.woff') format('woff'),
         url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
         url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
}

body {
    background: #34495e;
    color: #fff;
    font-weight: 300;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #f7f7f7;
    outline: none;
}

a:hover, a:focus {
    color: #fff;
    outline: none;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.codrops-header,
.codrops-top {
    font-family: 'Lato', Arial, sans-serif;
}

.codrops-header {
    margin: 0 auto;
    padding: 2em;
    background: rgba(0, 0, 0, 0.01);
    text-align: center;
}

.codrops-header h1 {
    margin: 0;
    font-weight: 300;
    font-size: 2.625em;
    line-height: 1.3;
}

.codrops-header span {
    display: block;
    padding: 0 0 0.6em 0.1em;
    font-size: 60%;
    opacity: 0.7;
}

.codrops-top {
    width: 100%;
    background: #485b6e;
    text-transform: uppercase;
    font-size: 0.69em;
    line-height: 2.2;
}

.codrops-top a {
    display: inline-block;
    padding: 0 1em;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.1em;
    border-left: 1px solid;
    border-left-color: #ffffff;
}

.codrops-top a.current_page {
    border-bottom: 2px solid;
    border-bottom-color: #fdc356;
}

.codrops-top a:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.codrops-top span.right {
    float: right;
}

.codrops-top span.center {
    margin-left: 12.5%;
}

.codrops-top span.right a {
    display: block;
    float: left;
}

.codrops-icon:before {
    margin: 0 4px;
    text-transform: none;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-family: 'codropsicons';
    line-height: 1;
    speak: none;
    -webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
    content: "\e001";
}

.codrops-icon-prev:before {
    content: "\e004";
}

.codrops-demos {
    padding-top: 1em;
    font-size: 1.1em;
}

.codrops-demos a {
    display: block;
    float: left;
    clear: both;
    margin: 0.5em 0.5em 0.5em 1.9em;
    padding: 1em 1.1em;
    width: 280px;
    outline: none;
    color: #fff;
    background: #336ca6;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
    opacity: 0.6;
}

.content {
    padding: 4em 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.block {
    float: left;
    padding: 1em 3em;
}

.block-40 {
    width: 40%;
}

.block-60 {
    width: 60%;
}

.block p {
    margin: 0;
    padding: 0 1em 0.6em;
    font-size: 1.8em;
    line-height: 1.5;
}

.info {
    text-align: center;
    font-size: 1.5em;
    margin-top: 3em;
    clear: both;
    padding-top: 3em;
    color: rgba(255, 255, 255, 0.5);
}

.info a {
    font-weight: 700;
    font-size: 0.9em;
}

.info a:hover {
    color: #336
ca6;
}

@media screen and (max-width: 69em) {
    .block {
        float: none;
        width: 100% !important;
        padding: 1em;
    }
}

@media screen and (max-width: 25em) {
    body {
        font-size: 80%;
    }

    .codrops-icon span {
        display: none;
    }
}

/***************** TOPOPUPTIMEOUT *************************************************/

#toPopupTimeOut {
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    background: none repeat scroll 0 0 #34495e;
    color: #333333;
    display: none;
    font-size: 14px;
    left: 0%;
    margin-left: 0px;
    position: fixed;
    top: 0%;
    width: 100%;
    z-index: 2;
}

/***************** TOPOPUP *************************************************/

#backgroundPopup {
    z-index: 1;
    position: fixed;
    display: none;
    height: 100%;
    width: 100%;
    background: #000000;
    top: 0px;
    left: 0px;
}

#toPopup {
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 10px solid #ccc;
    border-radius: 3px 3px 3px 3px;
    color: #333333;
    display: none;
    font-size: 14px;
    left: 50%;
    margin-left: -410px;
    position: absolute;
    top: 20%;
    width: 800px;
    z-index: 20;
}

div.loader {
    background: url("../image/loading.gif") no-repeat scroll 0 0 transparent;
    height: 32px;
    width: 32px;
    display: none;
    z-index: 9999;
    top: 40%;
    left: 50%;
    position: absolute;
    margin-left: -10px;
}

div.title {
    background: #10161c;
    padding-left: 10px;
    opacity: 0.7;
    color: #FFFFFF;
    font-size: 20px;
    left: -10px;
    height: 26px;
    position: absolute;
    top: -40px;
    width: 100%;
}

div.close {
    background: url("../image/closebox.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    height: 30px;
    position: absolute;
    right: -27px;
    top: -24px;
    width: 30px;
}

span.ecs_tooltip {
    background: none repeat scroll 0 0 #000000;
    border-radius: 2px 2px 2px 2px;
    color: #FFFFFF;
    display: none;
    font-size: 11px;
    height: 20px;
    opacity: 0.7;
    padding: 4px 3px 2px 5px;
    position: absolute;
    right: -62px;
    text-align: center;
    top: -51px;
    width: 150px;
}

span.arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #000000;
    display: block;
    height: 1px;
    left: 90px;
    position: relative;
    top: 3px;
    width: 1px;
}

div#popup_content {
    margin: 4px 7px;
    overflow-y: scroll;
    height: 200px;
    cursor: default;
}

/*----------------------------------------------------------------
FORM - STANDARD
------------------------------------------------------------------ */
/* GLOBALS */

/* OLD CLASS BOUTON pour existant et tout bouton en popup */
.bouton {
    height: 30px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    margin-top: 1%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    padding: 0px 5px 0px 5px;
    background: #fbd568;
    background: -moz-linear-gradient(#fbd568, #ffb347);
    background: -ms-linear-gradient(#fbd568, #ffb347);
    background: -o-linear-gradient(#fbd568, #ffb347);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#fbd568), to(#ffb347));
    background: -webkit-linear-gradient(#fbd568, #ffb347);
    background: linear-gradient(#fbd568, #ffb347);
    border: 1px solid #f4ab4c;
    color: #996319;
    text-shadow: 0 1px rgba(255, 255, 255, 0.3);
}

.bouton:hover {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 20px 40px rgba(255, 255, 255, 0.15);
}

.bouton:active {
    top: 1px;
}

.bouton_blue {
    height: 30px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    margin-top: 1%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    padding: 0px 5px 0px 5px;
    background: #6495ED;
    background: -moz-linear-gradient(#6495ED, #4169E1);
    background: -ms-linear-gradient(#6495ED, #4169E1);
    background: -o-linear-gradient(#6495ED, #4169E1);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#6495ED), to(#4169E1));
    background: -webkit-linear-gradient(#6495ED, #4169E1);
    background: linear-gradient(#6495ED, #4169E1);
    border: 1px solid #4169E1;
    color: #000000;
    text-shadow: 0 1px rgba(255, 255, 255, 0.3);
}

.bouton_blue:hover {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 20px 40px rgba(255, 255, 255, 0.15);
}

.bouton_blue:active {
    top: 1px;
}

.form label {
    display: block;
    padding: 0 0 5px 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.form label i {
    margin-right: 5px;
    display: inline-block;
    width: 10px;
}

.form input[type=text],
.form input[type=number],
.form input[type=date],
.form input[type=time],
.form input[type=select],
.form input[type=password] {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 3px solid #ebe6e2;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.form input[type=text]:hover,
.form input[type=number]:hover,
.form input[type=date]:hover,
.form input[type=time]:hover,
.form input[type=select]:hover,
.form input[type=password]:hover {
    border-color: #CCC;
}

.form label:hover ~ input {
    border-color: #CCC;
}

.form input[type=text]:focus,
.form input[type=number]:focus,
.form input[type=date]:focus,
.form input[type=time]:focus,
.form input[type=select]:focus,
.form input[type=password]:focus {
    border-color: #BBB;
    outline: none;
}

.form input[type=button].bouton_menu {
    float: right;
    position: relative;
}

.form input[type=submit],
.form input[type=button] {
    height: 30px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.form input[type=submit],
.form input[type=button] {
    margin-top: 1%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    padding: 0px 5px 0px 5px;
    background: #fbd568;
    background: -moz-linear-gradient(#fbd568, #ffb347);
    background: -ms-linear-gradient(#fbd568, #ffb347);
    background: -o-linear-gradient(#fbd568, #ffb347);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#fbd568), to(#ffb347));
    background: -webkit-linear-gradient(#fbd568, #ffb347);
    background: linear-gradient(#fbd568, #ffb347);
    border: 1px solid #f4ab4c;
    color: #996319;
    text-shadow: 0 1px rgba(255, 255, 255, 0.3);
}

.form input[type=submit]:hover,
.form input[type=button]:hover,
.form .log-twitter:hover {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 20px 40px rgba(255, 255, 255, 0.15);
}

.form input[type=submit]:active,
.form input[type=button]:active {
    top: 1px;
}

.no-boxshadow .form input[type=submit]:hover,
.no-boxshadow .form input[type=button]:hover {
    background: #ffb347;
}

.form p:last-of-type {
    clear: both;
}

.form .opt {
    text-align: right;
    margin-right: 3px;
}

.form label[for=showPassword] {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

.form input[type=checkbox] {
    vertical-align: middle;
    margin: -1px 5px 0 1px;
}

.big_bouton {
    width: 300px;
}

.form input[type=button].big_bouton_grey {
    color: #c0c0c0;
    width: 300px;
    font-weight: bold;
    background: #4D4D4D;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

div.box_resa {
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 20px;
    height: 40px;
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.65;
    padding-top: 25%;
    color: #000000;
}

div.box_resa:hover {
    cursor: pointer;
    opacity: 1.0;
}

td.planning_wk, th.planning_wk {
    position: relative;
    background: transparent;
    background-color: #8f8d8d;
    color: #ffffff;
}

table.planning {
    table-layout: fixed;
    width: 1360px;
}

td.planning {
    position: relative;
    height: 50px;
}

th.planning {
    height: 50px;
}

/* Payment Selection */
.payment-selection {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2em;
}

.payment-option {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    text-align: center;
}

.payment-option img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5em;
}

.payment-option:hover {
    transform: scale(1.1);
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
}

.form label {
    margin-bottom: 0.5em;
    font-size: 1.2em;
}

.form input {
    margin-bottom: 1em;
    padding: 0.5em;
    font-size: 1em;
    border: none;
    border-radius: 5px;
}

/* Counterparties */
.contre-parties {
    text-align: center;
}

.contre-parties input {
    width: calc(100% - 2em);
    margin-bottom: 1em;
    padding: 0.5em;
    font-size: 1em;
    border: none;
    border-radius: 5px;
}

.categories {
	 /* Largeur fixe pour uniformiser les blocs */
    margin: 1em auto; /* Centrer les blocs et ajouter un espace vertical entre eux */
    padding: 1em;
    background-color: #f0f0f0; /* Fond gris très léger */
    border: 2px solid #dcdcdc; /* Cadre gris clair */
    border-radius: 0; /* Pas de coins arrondis */
    box-sizing: border-box; /* Inclure le padding et la bordure dans la largeur totale */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

.categories label {
    color: #000000; /* Texte noir */
    font-size: 0.9em; /* Taille de police plus petite */
    margin-bottom: 0.2em; /* Réduire l'espacement sous le label */
    display: block;
}

/* Ajustement des champs input pour qu'ils soient plus proches du label */
.categories input[type="text"],
.categories input[type="number"],
.categories input[type="date"],
.categories input[type="select"],
.categories input[type="password"] {
    margin-bottom: 1em; /* Espacement sous le champ pour l'aération */
    padding: 0.5em;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%; /* S'assurer que les champs prennent toute la largeur disponible */
    box-sizing: border-box; /* Inclure le padding dans la largeur totale */
}

/* Title Style within Categories */
.categories h3 {
	display: block;
	width: auto;
    text-align: left; /* Alignement à gauche */
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 1em;
    padding: 0.2em 0.5em;
    background-color: transparent; /* Pas de fond */
    color: #000000; /* Couleur de texte noir */
    border: 1px solid #dcdcdc; /* Cadre très léger */
    border-radius: 0; /* Pas de coins arrondis */
    float: none; /* Suppression de l'alignement à droite */
    box-shadow: none; /* Pas d'ombre */
}


.bouton_paiement {
    margin: 0.5em;
    padding: 1em;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background: #fbd568;
    cursor: pointer;
    width: calc(50% - 1em);
    box-sizing: border-box;
    transition: background 0.3s;
}

.bouton:hover {
    background: #ffb347;
}

@media (min-width: 768px) {
    .payment-option {
        width: 160px;
        height: 110px;
    }

    .categories .bouton {
        width: calc(25% - 1em);
    }
}
