﻿

/* Mise à la nouvelle charte LIA juillet 2018 
-----------------------------------------------*/


/* Html/Body 
------------------------------------*/
html { font-size: 10px; }

body {
    margin: 0;
    font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#global { overflow: hidden; }

:focus {
    outline: none;
}

/* Liens 
------------------------------------*/
a {
    font-weight: normal;
    text-decoration: underline;
    color: #D90879;
}
a:hover, a:focus {
    color: #a8065e;
    text-decoration: none;
}
ul {
    list-style: none;
    margin-top: 0;
    margin-bottom: 11.5px;
    padding-left: 0;
    overflow: hidden;
}
ul li {
    padding-left: 40px;
}
ul li:before {
    font-size: 3.5rem;
    margin-top: -17px;
    position: absolute;
    margin-left: -18px;
    content: "• ";
    color: #D90879;
}


/* Formulaires 
------------------------------------*/
fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}
.error,
label span {
    color: #a94442;
}

/* Titres 
------------------------------------*/
h2 {
    color: #A7917F;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 23px;
    margin-bottom: 11.5px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
}

/* Boutons 
------------------------------------*/
input[type=text] {
    display: block;
    width: 100%;
    min-height: 3.6rem;
    height: auto;
    margin-bottom: 15px;
    padding: 6px 12px;
    font-size: 1.4rem;
    line-height: normal;
    color: #000;
    background-color: #fff;
    background-image: none;
    border: 1px solid #cecece;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
input[type=text]:focus {
    border-color: #A7917F;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(167, 145, 127, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(167, 145, 127, 0.6);
}


input[type=submit] {
    display: inline-block;
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    margin-bottom: 15px;
    padding: 6px 20px;
    font-size: 14px;
    line-height: 1.65;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    background-color: #D90879;
    border-color: #D90879;
}
input[type=submit]:hover,
input[type=submit]:active,
input[type=submit]:focus
input[type=submit]:hover:hover,
input[type=submit]:active:hover,
input[type=submit]:focus:hover,
input[type=submit]:hover:active,
input[type=submit]:active:active,
input[type=submit]:focus:active,
input[type=submit]:hover:focus,
input[type=submit]:active:focus,
input[type=submit]:focus:focus {
    border-color: #494948;
    background-color: #494948;
}
input[type=submit].submitLink {
    display: block;
    margin: 15px auto;
}

@media (max-width: 599px) {
    input[type=submit] {
        display: block;
        width: 100%;
    }
}

/* Table 
------------------------------------*/
table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 23px;
    border: 1px solid #cecece;
    border-collapse: collapse;
    border-spacing: 0;
}
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.65;
  vertical-align: top;
  border-top: 1px solid #cecece;
  border: 1px solid #cecece;
}
table > thead > tr > th {
    vertical-align: bottom;
    border-bottom-width: 2px;
    background-color: #e8e2df
}
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
table > tbody + tbody {
  border-top: 2px solid #cecece;
}
table .table {
  background-color: #f7f4f2;
}
table > thead > tr > td.active,
table > tbody > tr > td.active,
table > tfoot > tr > td.active,
table > thead > tr > th.active,
table > tbody > tr > th.active,
table > tfoot > tr > th.active,
table > thead > tr.active > td,
table > tbody > tr.active > td,
table > tfoot > tr.active > td,
table > thead > tr.active > th,
table > tbody > tr.active > th,
table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}
table > thead > tr > td.success,
table > tbody > tr > td.success,
table > tfoot > tr > td.success,
table > thead > tr > th.success,
table > tbody > tr > th.success,
table > tfoot > tr > th.success,
table > thead > tr.success > td,
table > tbody > tr.success > td,
table > tfoot > tr.success > td,
table > thead > tr.success > th,
table > tbody > tr.success > th,
table > tfoot > tr.success > th {
  background-color: #DFF0D8;
}
table > thead > tr > td.info,
table > tbody > tr > td.info,
table > tfoot > tr > td.info,
table > thead > tr > th.info,
table > tbody > tr > th.info,
table > tfoot > tr > th.info,
table > thead > tr.info > td,
table > tbody > tr.info > td,
table > tfoot > tr.info > td,
table > thead > tr.info > th,
table > tbody > tr.info > th,
table > tfoot > tr.info > th {
  background-color: #D9EDF7;
}
table > thead > tr > td.warning,
table > tbody > tr > td.warning,
table > tfoot > tr > td.warning,
table > thead > tr > th.warning,
table > tbody > tr > th.warning,
table > tfoot > tr > th.warning,
table > thead > tr.warning > td,
table > tbody > tr.warning > td,
table > tfoot > tr.warning > td,
table > thead > tr.warning > th,
table > tbody > tr.warning > th,
table > tfoot > tr.warning > th {
  background-color: #FCF8E3;
}
table > thead > tr > td.danger,
table > tbody > tr > td.danger,
table > tfoot > tr > td.danger,
table > thead > tr > th.danger,
table > tbody > tr > th.danger,
table > tfoot > tr > th.danger,
table > thead > tr.danger > td,
table > tbody > tr.danger > td,
table > tfoot > tr.danger > td,
table > thead > tr.danger > th,
table > tbody > tr.danger > th,
table > tfoot > tr.danger > th {
  background-color: #F2DEDE;
}

/* Association de compte 
------------------------------------*/
.obligatoirenotice {
    text-align: right;
}

@media (min-width: 600px) {
    .champAssoc {
        display: flex;
        flex-wrap: wrap;
    }
    .champAssoc label {
        flex: 0 1 25%;
        padding-top: 7px;
        padding-right: 30px;
        text-align: right;
    }
    .champAssoc input {
        flex: 0 1 50%;
    }
    .champAssoc span {
        width: 100%;
        color: #a94442;
    }
}

.submit {
    clear: both;
    text-align: center;
}
.champ { margin-bottom: 5px; }

/* Association de compte  => saisie code
------------------------------------*/

@media (min-width: 600px) {
    label[for=association_code] {
        width: 25%;
        float: left;
        padding-top: 7px;
        padding-right: 30px;
        text-align: right;
    }
    label[for=association_code] + br {
        display: none;
    }
    input[name=association_code] {
        width: 50%;
        float: left;
    }   
}