html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

/*html {
    line-height: 1;
}*/

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

a img {
    border: none;
}

body {
    background:#E9D9CE;
    font: 100%/1.4em Arial,Helvetica,sans-serif;
    height: 100%;
    min-height: 100%;
    display:table;
    width:100%;
}

html {
    height: 100%;
}

* {
    outline: none;
}

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

article, aside, details, figcaption, figure, hgroup, menu, nav, section, summary {
    display: block;
}

header, #container, footer {
    display: table-row;
}

/* HELPERS */
.textCenter { text-align: center;}
.textLeft { text-align: left;}
.textRight { text-align: right;}
.no-pad { padding: 0;}
.no-padtop { padding-top: 0;}
.no-padbot { padding-bottom: 0;}
.no-marg { margin: 0;}
.no-margtop { margin-top: 0;}
.no-margbot { margin-bottom: 0;}
.margbot1 { margin-bottom: 1em;}
.margtop1 { margin-top: 1em;}
.marg-right-left-1 { margin: 0 1em;}
.ftl-right { float: right;}
.ftl-left { float: left;}
.clear { clear: both;}
.clear-right { clear: right;}
.clear-left { clear: left;}
.inlineblock {display: inline-block;}
/*.center { margin-left: -{Y/2}em;}*/
.txtcenter { text-align: center;}
.txtright { text-align: right;}
.txtleft { text-align: left;}
.hide-text {
    text-indent: 100%; 
    white-space: nowrap; 
    overflow: hidden; 
}
.txt-white { color: #ffffff;}
.small {
    font-size: 0.875em;
    line-height: 1.313em;
}

/* Pour éléments internes, sans marges */
.w10 { width: 10%;}
.w20 { width: 20%;}
.w30 { width: 30%;}
.w35 { width: 35%;}
.w40 { width: 40%;}
.w45 { width: 45%;}
.w50 { width: 50%;}
.w55 { width: 55%;}
.w60 { width: 60%;}
.w65 { width: 65%;}
.w70 { width: 70%;}
.w80 { width: 80%;}
.w90 { width: 90%;}
.w100 { width: 100%;}
.w10, .w20, .w30, .w35, .w40, .w45, .w50, .w55, .w60, .w65, .w70, .w80, .w100 { float: left;}

h1, h2, h3, h4 {
    color: #000000;
    font-family: Arial,Helvetica,sans-serif;
    padding: 0.25em 0;
    line-height: 1.25em;
}

h1 { font-size: 2.65em;}
h2 { font-size: 2em;}
h3 { font-size: 1.5em;}
h4 { font-size: 1.25em;}

hr { 
    display: block;
    height: 1px;
    border: 0; 
    padding: 0
}

p { padding: 0.5em 0;}

hr, .bordertop { border-top: 1px solid #d3cfcf;}

.content a {
    text-decoration: underline;
}

a:link, a:visited {
    color: #8a2c24;
    border-bottom:1px solid #8a2c24;
    text-decoration: none;
    word-wrap: break-word;
}
a:hover {
    border-bottom:1px solid #8a2c24;
}

ul { margin: 1em 0;}

/* BUTTONS */
.button.grey {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-color: #000000;
    color:#000;
}

.button.yellow {
    background-color: #ffd900;
    border: 2px solid #ffd900;
    border:0px;
    border-radius:27.5px;
    color:#000;
    text-align:center;
    padding:0.7em 30px 0.7em 30px;
}

.button.grey:hover {
    background-color: #d57b1d;
    border: 2px solid #d57b1d;
    color:#000;
    transition: 0.3s;
}

.button.yellow:hover {
    background-color: #000;
    color:#FFF;
    transition: 0.3s;
}

.button {
    background-position: 100% 50%;
    background-size: 1.875em auto;
    background-repeat: no-repeat;
    border: 2px solid #000000;
    border-radius:27.5px;
    font-size: 0.875em;
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    padding: 0.7em 30px 0.7em 30px;
    text-decoration: none;
}

.tick li {
    background-image: url("../modules/templates-partenaires/css/../img/tick.svg");
     background-position: 0 0.2em;
    background-size: 1.3em auto;
    padding: 0.1em 0 0.9em 2em;
    background-repeat: no-repeat;
}

/* Main container for all */
.grid-1000, .grid-1200 {
    margin: 0 auto;
    padding: 0 0 0 1%;
}

.grid-1000.margtop1 , .grid-1200.margtop1 {
    margin: 1em auto;
}

.grid-1200 {
    max-width: 1220px;
}

.grid-1000 {
    max-width: 1020px;
}

.onerow {
    clear: both;
    display:flex;
    padding: 0 10px;
    table-layout: fixed;
    border-spacing: 10px;
    width: 100%;
    position: relative;
}

.onerow .col6{
    padding:20px;
}

/* HEADER */
.header {
    padding: 0 1%;
    background-color: #ffffff;
    margin-bottom: 1em;
    /*height : 27.5em;*/
    background-image: none;
    background-position: 100% 0, 0 0;
    background-repeat: no-repeat;
}

header {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

header h1 { padding: 0.5em;}

section h1 { padding-left: 0.15em;}

.home .offer {
    padding: 2em 0 1em 0;
    margin: 0 1em;
}

.home .offer h1 {
    display: inline-block;
    text-shadow: 1px 1px 15px #666;
    padding: .5em 0px;
    margin: 0;
    color: #fff;
    border-radius: 0.1em;
}

.home h2 {
    display: inline-block; 
}

nav {
    width: 98%;
    height: 4em;
    padding: 0 1%;
    margin: 0 auto;
}

nav div {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.logo {
    background-size: 100% auto;
    width: 100%;
    font-size: 2em;
    max-width: 210px;
    margin-left: 10%;
    height: 2em;
}

div.halo {
    background-color: #ffffff;
    padding: 0.1% 10% 0;
}

div.halo img {
    max-width: 135px;
    padding-top:1px;
}

div.halo a {
    border:0px;
}

/* Breadcrump */
#breadcrumb { 
    list-style: none; 
    overflow: hidden;
    font-size: 0.875em; 
}

#breadcrumb ul { margin : 0;}
#breadcrumb li { 
    text-decoration: none; 
    padding: 0 0 0 1em; 
    position: relative; 
    display: block;
    float: left; 
}

/* LOGIN - FORMULAIRES */
.login-card {
    width: auto;
    max-width: 33.625em;
    background-color: #fff;
    padding: 20px;
    margin: 1em;
    display: inline-block;
    border: 0;
    border-radius: 10px;
}

.login-card.txt-white{
    color:#000000;
}

.login-card input[type="text"], .login-card input[type="password"] {max-width : 15.5em; width : 95%;}

#mot-depasse button {
    background: transparent;
    border: 0 none;
    color: #000000;
    cursor: pointer;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

ul.keypad {
    margin: 0.5em 0;
    overflow: auto;
}

ul.keypad li.breakRow {
    clear: both;
    padding-left: 0.2em;
}

ul.keypad li {
    float: left;
    padding: 0.1em 0 0.1em 0.2em;
}

ul.keypad input {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #cccccc;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    font-size: 1.285em;
    line-height: 1.5em;
    margin: 0;
    min-width: 1.8em;
    padding: 0;
    transition: background 0.25s ease 0s, color 0.25s ease 0s;
}

ul.keypad input:focus, ul.keypad input:hover {
    background: #fff599 none repeat scroll 0 0;
}
ul.keypad input.selected {
    background: #ffd900 none repeat scroll 0 0;
    color: #004fb6;
}

.header input[type="text"], .header input[type="password"], .header select, .header textarea {
    border: 2px solid #cccccc;
    border-radius: 10px;
    display: block;
    line-height: 1.2857;
    max-width: 80%;
    min-width: 60%;
    padding: 0.4em;
}

.header input, .header select, .header textarea {
    margin: 0.5em 0;
}

/* FOOTER */
footer {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    font-size: small;
    clear: both;
    height: 100%; 
    margin: auto; 
    overflow: hidden;
}
footer a:link, footer a:visited {
    color: #ffffff;
    border-bottom-color:#fff;
}
footer div #meta, footer div #webmaster {
    overflow: hidden;
    *zoom: 1;
    width: 48%;
    margin: 0 1%;
    max-width: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
}

div #webmaster { text-align: right;}
div #meta { text-align: left; float: left;}

/* HOME */

span.metier { background-position: 0 0;}

span.partners { background-position: 0 -2.5em;}

.recompense img.auto { max-height: 100px;}

/* GRID */
/* Common columns definitions */
 .round-grey-border{  
    border: 0px solid #d5d5d5;
    border-radius: 10px;
    background:white;
}

.col1 { width: 5.5%;}
.col2 { width: 14%;}
.col3 { width: 22.5%;}
.col4 { width: 31%;}
.col5 { width: 39.5%;}
.col6 { width: 48%;}
.col7 { width: 56.5%;}
.col8 { width: 65%;}
.col9 { width: 73.5%;}
.col10 { width: 82%;}
.col11 { width: 90.5%;}
.col12 { width: 99%;}

.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
    float: left;
    margin: 0 3% 1.4em 0;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.col1.last, .col2.last, .col3.last, .col4.last, .col5.last, .col6.last, .col7.last, .col8.last, .col9.last, .col10.last, .col11.last, .col12 {
    margin: 0 0 1.4em 0;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.col1 img, .col2 img, .col3 img, .col4 img, .col5 img, .col6 img, .col7 img, .col8 img, .col9 img, .col10 img, .col11 img, .col12 img {
    width: 100%;
    height: auto;
    display: block;
}

.col6 hr:last-child, .col12 hr:last-child { display: none }

.col6:last-child { 
    margin: 0 0 1.4em 0;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

img.auto { width: auto;}
img.auto.center { margin: 0 auto;}

/* small screen */
@media only screen and (min-width: 30em) and (max-width: 46em) {

    .login-card .w45 { width: 45%;}
    .login-card .w55 { width: 55%;}
    .login-card {
        margin: 1em;
        padding: 2em;
        max-width: 100%;
    }

}

@media only screen and (max-width: 46em) {

    .header {
        padding: 0 1%;
        background-color: #ffffff;
        margin-bottom: 1em;
        /*height: auto;*/
        background-image: none;
        background-position: -200% 0, 0 0;
        background-repeat: no-repeat;
    }

    nav { height: 3em;}

    .logo {
        background-size: 70% auto;
        width: 100%;
        font-size: 2em;
        height: 1.5em;
        margin: 0 auto;
    }

    div.halo img {
        width: 38%;
    }

    ul.keypad{ max-width: 13em;}
    .login-card input[type="text"], .login-card input[type="password"] {width : 13.25em; min-width : 49%; max-width: 13.25em;}

    .col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11 {
        float: none;
        width: 99%;
    }

    .w10, .w20, .w30, .w35, .w40, .w45, .w50, .w55, .w60, .w65, .w70, .w80, .w100  { 
        width: 100%; 
        display: block;
    }

    .w100 { 
        float: none;
    }

    .recompense .w10 img {
        padding: 1em 4em;
    }

    footer div #meta, footer div #webmaster, .reserved  { float: none; display: block; text-align: center; width: 98%; clear: both; margin: 0 auto;}
    footer div #webmaster { padding-bottom: 2em; border-top: 1px solid #cccccc;}

    header h1 {
        padding: 0.5em 0 0 0.5em;
    }

    h1 {
        font-size: 1.75em;
    }

}

@media only screen and (max-width: 46em) and (orientation: landscape) {

    div.halo img {
        width: 22%;
    }

}

@media only screen and (min-width: 55em) { 

    .recompense ul {
        min-height: 6em;
    }

    .recompense .w10 img {
        margin-top: 2em;
    }

}

/* tablette */
@media all and (max-width: 64em) { 

    body { font-size: 0.875em;}

    .login-card {
        background-color: #fff;
        padding: 1em;
        margin: 1em;
        border: 0;
        border-radius: 10px;
    }

    .recompense a.button { margin: 0.5em 1em 1em 5em}
    span.partners { background-position: 0 -1.875em;}
    .recompense a.button { margin: 0.5em 1em 1em 5em}
    footer div #meta { float: left;}

}

/* cas particulier tablette */
@media only screen and (min-width: 46.063em) and (max-width: 64em) { 

    .recompense {
        border: none; 
        background-position: center 0.5em;
        padding-top: 3.5em;
        text-align: center;
    }

    .recompense a.button { margin: 0.5em 1em 1em -5em; font-size: small; position: absolute;}
}

/* LARGES ECRANS */

@media all and (min-width: 64.063em) {
    .grid-1000 {
        max-width: 1000px;
    }

    .gridd-1000 .onerow {
        padding: 0;
    }

    h1 { padding-left: auto;}
    .home h2 { padding-top: 0.25em; margin-top: 0; }
    .recompense { padding-bottom: 1em; }

}

.main-content {
    background-color: #ffffff;
    padding: 2em 2em;
}

/* layer */

.layer-bandeau {
    z-index:1999;
}

.layer-bandeau .layer-content {
    padding: 1em 0em;
    width: 100%;
    float:left;
}

.layer-bandeau .layer-close {
    cursor:pointer;
    position:absolute;
    top:10px;
    right:10px;
    width:21px;
    height:21px;
    text-indent:-9999px;
    background-image: url(../modules/templates-partenaires/css/../img/colorbox/controls.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: -27px -2px;
    background-color: rgba(0, 0, 0, 0);
}

@media only screen and (max-width : 1024px) and (orientation : landscape), 
       only screen and (max-width : 1024px) and (orientation : portrait) {
    .layer-bandeau {
        height:auto !important;
    }
    .layer-bandeau .layer-content {
        padding: 1.5em 1.75em;
        width:auto !important;
        text-align: justify;
    }
    .layer-bandeau .layer-content .layer-content-first{
        width: 92%;
    }
    /*.layer-bandeau .layer-close {
        top: 0.2em !important;
        right: 0.1em !important;
    }*/
    .layer-bandeau .layer-content div div {
        width:100% !important;
    }
}

@media only screen and (min-width : 1024px) and (orientation : landscape),
       only screen and (min-width : 1024px) and (orientation : portrait){
    .layer-bandeau .layer-content {
        margin: 0 15%;
        width: auto;
        text-align: justify;
    }
}

body.theme-life {
    background: #ffffff;
    color: #000000;
}

body.theme-life div.halo {
    background-color: #ffd900;
    padding: 1.1% 10% 0;
    height: 4.5em;
}

body.theme-life footer {
    background-color: #ffd900;
    color: #000000;
}

body.theme-life footer a:link, body.theme-life footer a:visited {
    color: #004fb6;
    border-bottom-color: #004fb6;
}
