/* --------- SUMMARY ---------
#SOFT RESET
#TYPOGRAPHY
#LINKS
#FORMS
#BUTTONS & BACKGROUNDS
#BASIC LAYOUT
#POSITIONING
#SPACING
#HIDING ELEMENTS
#GRID (KNACSS)
#IE8 BUG FIXING
#ERREUR / AVERTISSEMENT
#TOOLTIPS
#CROPIT
------------------------------- */

/* ==========================================================================
SOFT RESET
========================================================================== */

* {	box-sizing: border-box; }

/* windows phone, elimine le delay de 300ms pour le clic */
html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

html,
body {
    margin: 0;
    padding: 0;
}

ul,
ol {
    padding-left: 2em;
}

img {
    height: auto;
    vertical-align: middle;
    border: 0;
}

article,
aside,
footer,
header,
main,
menu,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

p:first-child,
ul:first-child,
ol:first-child,
dl:first-child,
blockquote:first-child,
pre:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

li p,
li ul,
li ol {
    margin-top: 0;
    margin-bottom: 0;
}

img,
table,
td,
blockquote,
code,
pre,
textarea,
input,
video {
    max-width: 100%;
}

.material-icons { vertical-align: text-top; }



/* ==========================================================================
TYPOGRAPHY
========================================================================== */

html {
    font-size: 62.5%; /* 10px */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: #fff;
    color: #333;
    font-family: "Andada", Georgia, serif;
    font-size: 1.4em;
    line-height:1.5;
}

p,
ul,
ol,
dl,
blockquote,
pre,
td,
th,
label,
textarea,
caption,
details,
figure {
    margin-top: 0.75em;
    margin-bottom: 0;
    line-height: 1.5;
}

code,
pre,
samp,
kbd {
    white-space: pre-line;
    /* Fix IE */
    white-space: pre-wrap;
    font-family: Consolas, "DejaVu Sans Mono", Courier, monospace;
    line-height: normal;
}

hr {
    margin: 2em 0;
    border: 0;
    height: 1px;
    background-color: #ccc;
}

h1, .h1-like { font-size: 32px; font-size: 3.2rem; line-height: 1.2; }
h2, .h2-like { font-size: 28px; font-size: 2.8rem; line-height: 1.2; }
h3, .h3-like { font-size: 24px; font-size: 2.4rem; line-height: 1.2; }
h4, .h4-like { font-size: 20px; font-size: 2rem; line-height: 1.2; }
h5, .h5-like { font-size: 18px; font-size: 1.8rem; }
h6, .h6-like { font-size: 16px; font-size: 1.6rem;}
.mini{font-size: 10px; line-height: 10px; font-family: "Open Sans", Arial; font-weight: normal;}
.smallest { font-size: 0.5em; }
.smaller { font-size: 0.72em; }
.small { font-size: 0.86em; }
.normal { font-size: 1em; }
.big { font-size: 1.14em; }
.bigger { font-size: 1.29em; }
.biggest { font-size: 1.43em; }

em,
i,
.italic {
    font-style: italic;
}

b,
strong,
.bold {
    font-weight: bold;
}

.no-italic { font-style: normal; }
.no-bold { font-weight: normal; }
.uppercase { text-transform: uppercase; }


.typo-secondary { color: #333; }

ul.unstyled {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

ul.list-inline > li {
    display: inline-block;
    vertical-align: middle;
}

.typo-courgette {
    font-family: "Courgette", Arial, sans-serif;
    line-height: 1;
}

/* ==========================================================================
LINKS
========================================================================== */

a {
    text-decoration: none;
    -webkit-transition: color .5s;
    transition: color .5s;
}

a:hover,
a:active {
    outline: 0;
}

a:hover,
a:active,
a:focus {
    color: #000;
    text-decoration: underline;
}



/* ==========================================================================
FORMS
========================================================================== */

label,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    cursor: pointer;
    border: none;
}

label,
button,
input,
select {
    vertical-align: middle;
}

textarea {
    resize: vertical;
    overflow: auto;
}
/*
input[type="radio"],
input[type="checkbox"],
input[type="image"] {
    background-color: transparent;
    border: 0;
    width: auto;
}
*/
input,
select,
textarea {
    border: none;
    border: 1px solid #ccc;
    padding: 7px;
    font-family: inherit;
    font-size: 1.1em;
    margin: 0;
    width: 100%;
}

button::-moz-focus-inner {
    border:0;
    padding:0;
}

textarea,
input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}

input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
    outline: none;
}

input.error,
select.error,
textarea.error {
    outline: 1px solid #e42020;
    border: 0;
}

input.valid,
select.valid,
textarea.valid {
    border-color: #fff;
}

.no-select {
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* ==========================================================================
TXT COLOR
========================================================================== */

.txt-danger {color: #AF1014;}
.txt-warning {color: #E8AE00;}
.txt-success {color: #24BB46;}
.txt-light { color: #999; }

/* ==========================================================================
BUTTONS & BACKGROUNDS
========================================================================== */

.btn {
    display: inline-block;
    padding: 8px 16px;
    -webkit-transition: background-color .5s;
    transition: background-color .5s;
    vertical-align: middle;
}

.btn:hover {
    text-decoration: none;
}

.btn-small {
    padding: 5px 8px;
    font-size: 0.9em;
}

.btn-big {
    padding: 5px 20px;
     font-size: 1.5em;
}

.btn-block { width: 100%; }

.btn-primary,
.bg-primary { color:#fff; }

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #333;
    color: #fff;
}

.btn-aide {position: absolute;     margin-left: -40px;}

.btn-secondary,
.bg-secondary {
    background-color: #333;
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    color: #fff;
}

.btn-link {
    background: transparent;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;
    border-left-width: 60px;
    border-left-style: solid;
}

.arrow-right-body { border-left-color: #fff; }

.arrow-bottom {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top-width: 30px;
    border-top-style: solid;
}

.bg-light { background-color: #f1f1f1; }



/* ==========================================================================
BASIC LAYOUT
========================================================================== */

.fleft { float: left; }
.fright { float: right; }
img.fleft { margin-right: 1em; }
img.fright { margin-left: 1em; }

img.fleft,
img.fright {
    margin-bottom: 0.5em;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.align-left { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }
.align-justify { text-align: justify; }
.align-top { vertical-align: top; }
.align-mid { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }

.clear { clear: both; }


/* ==========================================================================
POSITIONING
========================================================================== */

.table {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.table-cell { display: table-cell; }
.inline { display: inline; }
.block { display: block; }
.inbl { display: inline-block; }
.absolute { position: absolute; }
.relative { position: relative; }
.bfc { overflow: hidden; }



/* ==========================================================================
SPACING
========================================================================== */

.m0 { margin: 0; }
.m10 { margin: 10px; }
.m20 { margin: 20px; }
.m30 { margin: 30px; }
.mtop0 { margin-top: 0; }
.mtop10 { margin-top: 10px; }
.mtop20 { margin-top: 20px; }
.mtop30 { margin-top: 30px; }
.mtop40 { margin-top: 40px; }
/* ... */

.p0 { padding: 0; }
.p10 { padding: 10px; }
.p20 { padding: 20px; }
.p30 { padding: 30px; }
.ptop0 { padding-top: 0; }
.ptop10 { padding-top: 10px; }
.ptop20 { padding-top: 20px; }
.ptop30 { padding-top: 30px; }
/* ... */



/* ==========================================================================
HIDING ELEMENTS
========================================================================== */

.hidden { display: none; }

body > script { display: none!important; }

@media (max-width: 1023px) {
    .hidden-small { display: none; }

}

@media (min-width: 1024px) {
    .hidden-desktop { display: none; }
}



/* ==========================================================================
GRID (KNACSS)
========================================================================== */

.wrap {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/*.grid { overflow: hidden; }*/

.grid > * {
    display: block;
    padding: 0;
    margin-left: -30px;
}

.grid-center > * { text-align: center; }
.grid-right > * { text-align: right; }

.grid > * > * {
    display: inline-block;
    padding-left: 30px;
    margin-left: 0;
    vertical-align: top;
    background-clip: content-box;
}


:root .grid {
    font-size: 0;
}

:root .grid > * > * {
    font-size: 14px;
    font-size: 1.4rem;
}

.opera:-o-prefocus,
.grid > * {
    word-spacing: -0.43em;
}

.grid-2 > * { width: 50%; }
.grid-3 > * { width: 33.333%; }
.grid-4 > * { width: 25%; }
.grid-5 > * { width: 20%; }
.grid-6 > * { width: 16.667%; }
.grid-8 > * { width: 12.5%; }
.grid-10 > * { width: 10%; }
.grid-12 > * { width: 8.333%; }

.grid-2-1 > *:first-child,
.grid-1-2 > * + * {
    width: 66.666%;
}

.grid-1-2 > *:first-child,
.grid-2-1 > * + * {
    width: 33.333%;
}

.grid-1-3 > *:first-child,
.grid-3-1 > * + * {
    width: 25%;
}

.grid-3-1 > *:first-child,
.grid-1-3 > * + * {
    width: 75%;
}

@media (max-width: 1024px) {
    .grid-5 > *,
    .grid-6 > *,
    .grid-8 > *,
    .grid-10 > *,
    .grid-12 > * {
        width: 33.333%;
    }
    .grid-3 > * {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .grid-3 > *,
    .grid-4 > *,
    .grid-5 > *,
    .grid-6 > *,
    .grid-8 > *,
    .grid-10 > *,
    .grid-12 > * {
        width: 100%;
    }
}



/* ==========================================================================
IE BUG FIXING
========================================================================== */

.ie8 img { width: auto; }

.ie8 .grid > * {
    letter-spacing: -0.31em;
    text-rendering: optimizespeed;
}

.ie8 .grid > * > * {
    letter-spacing: normal;
    word-spacing: normal;
    text-rendering: auto;
}


.ie8 body > *,
.msg-ie { display: none; }

.ie8 body .msg-ie {
    display: block!important;
    text-align: center;
    font-size: 20px;
    margin-top: 2em;
}

.ie8 .msg-ie





/* ==========================================================================
ERREUR / AVERTISSEMENT
========================================================================== */

.box-alert {
    display: inline-block;
    color: #B50D0D;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.alert-dismissable,
.alert-dismissible {
    padding-right: 35px;
}

.alert-dismissable .close,
.alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-success hr { border-top-color: #c9e2b; }

.alert-success .alert-link { color: #2b542c; }

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-info hr { border-top-color: #a6e1ec; }

.alert-info .alert-link { color: #245269; }

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-warning hr {	border-top-color: #f7e1b5; }

.alert-warning .alert-link { color: #66512c; }

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-error hr { border-top-color: #e4b9c0; }

.alert-error .alert-link { color: #843534; }

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2
}

.close:focus,
.close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0
}

.msg-annonce {
    background-color: #eee;
    padding: 15px;
    text-align: center;
    margin: 15px 0;
}



/* ==========================================================================
TOOLTIPS
========================================================================== */

.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    filter: alpha(opacity=0);
    opacity: 0;
    line-break: auto;
      height: auto !important;
}

.tooltip.in {
    filter: alpha(opacity=90);
    opacity: .9
}

.tooltip.top {
    padding: 5px 0;
    margin-top: -3px
}

.tooltip.right {
    padding: 0 5px;
    margin-left: 3px
}

.tooltip.bottom {
    padding: 5px 0;
    margin-top: 3px
}

.tooltip.left {
    padding: 0 5px;
    margin-left: -3px
}

.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 4px
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #000
}

.tooltip.top-left .tooltip-arrow {
    right: 5px;
    bottom: 0;
    margin-bottom: -5px;
    border-width: 5px 5px 0;
    border-top-color: #000
}

.tooltip.top-right .tooltip-arrow {
    bottom: 0;
    left: 5px;
    margin-bottom: -5px;
    border-width: 5px 5px 0;
    border-top-color: #000
}

.tooltip.right .tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: #000
}

.tooltip.left .tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: #000
}

.tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000
}

.tooltip.bottom-left .tooltip-arrow {
    top: 0;
    right: 5px;
    margin-top: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000
}

.tooltip.bottom-right .tooltip-arrow {
    top: 0;
    left: 5px;
    margin-top: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000
}



/* ==========================================================================
CROPIT
========================================================================== */

.cropit-zoom,
.cropit-rotate {
    width: 150px;
    margin: 5px auto;
    text-align: center;
}

input.cropit-image-zoom-input {
    width: 65%;
    display: inline-block;
    border: 0;
    vertical-align: middle;
    margin: 0;
}

.cropit-zoom:before,
.cropit-zoom:after {
    font-family: "Material Icons";
    content: "\E851";
    display: inline-block;
    vertical-align: middle;
    color: #333;
    height: 0;
    line-height: 0;
}

.cropit-zoom:before { font-size: 20px; font-size: 2rem; }
.cropit-zoom:after { font-size: 30px; font-size: 3rem; }

.image-editor .cropit-image-preview {
    position: relative;
    background-image: url("../images/image-editor-sansphoto.gif");
    width: 150px;
    height: 190px;
    margin: 0 auto;
    border: 1px solid #b5b5b5;
}

.cropit-rotate button {
    background-color: rgba(70, 70, 70, 0.51);
    color: #fff;
    padding: 3px 5px;
}

.image-editor .cropit-add {
    display: block;
    background-color: rgba(70, 70, 70, 0.51);
    -webkit-transition: all .3s;
    transition: all .3s;
    text-align: center;
    color: #fff;
    width: 150px;
    margin: 0 auto;
    padding: 5px;
}

.image-editor .cropit-add:hover,
.image-editor .cropit-add:active,
.image-editor .cropit-add:focus {
    text-decoration: none;
    background-color: #848484;
}

.image-editor .cropit-add > * { vertical-align: bottom; }



.tableau {
    border: medium solid #ccc;
    border-collapse: collapse;
    width: 100%;
    }
.tableau th {
    border: thin solid #ccc;
    padding: 5px;
    background-color: #f0f0f0;
    }
.tableau td {
    border: thin solid #ccc;
    padding: 5px;
}

.form-paiement {
    text-align: center
}
.form-paiement button{
    background: #2c8e0f;
    border: solid 3px #216c0b;
    color: #fff;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 20px 100px;
    cursor: pointer;
    margin: 20px 0;
}
.form-paiement button span{
    font-size: 16px;
    font-style: italic;
    display: block;
}
.form-paiement button:hover{
    background: #33aa11;
}




.inscription-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.inscription-table th {
    background-color: #f8f5f5;
}

.inscription-table th,
.inscription-table td {
    padding: 5px;
    border: 1px solid #ccc;
}

.edit-enfants input[type="radio"],
.edit-enfants input[type="checkbox"],
.edit-enfants input[type="image"] {
    background-color: transparent;
    border: 0;
    width: auto;
    margin-right: 5px;
    margin-top: -5px;
}


.maintenance {
    text-align: center;
    background: #ce0000;
    color: white;
    font-weight: bold;
 }