
:root {
    --bleulysi: #1BA7E2;
    --bleumed: #E7EFF8;
    --bleumid: #106eaf;
    --bleunuit: #042f78;
    --background: #F0F4F8;
    --blanc: #FFFFFF;
    --gris: #7D8FA2;
}


.poule-lysi {
    margin: 0 auto;
    width:70%;
    height: 70%;
    max-width: 80px;
    max-height: 80px;
}
.poule-lysi.bleulysi .lysi {
    fill: var(--bleulysi);
}
.poule-lysi.bleumid .lysi {
    fill: var(--bleumid);
}
.poule-lysi.bleunuit .lysi {
    fill: var(--bleunuit);
}


.page-item.active .page-link {
    background: var(--bleulysi);
    border-color: var(--bleulysi);
}
.page-link, .page-link:hover {
    color: var(--bleulysi);
}


.white {
    background-color: var(--blanc);
}

.fondbleu {
    background-color: var(--background)
}

.liste .card .edit {
    font-size: 2rem;
    line-height: 1.8rem;
}

@font-face {
    font-family: 'Open Sans';
    /*src: url('fonts/OpenSans-Bold.eot');
    src: url('fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/OpenSans-Bold.woff2') format('woff2'),
        url('fonts/OpenSans-Bold.woff') format('woff'),
        url('fonts/OpenSans-Bold.ttf') format('truetype');*/
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

[data-ratio] {
    display: block;
    max-width: 100%;
    position: relative
}

[data-ratio]:before {
    content: '';
    display: block;
}

[data-ratio] > * {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

[data-ratio='1:1']::before {
    padding-top: 100%;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Open sans', 'Arial', sans-serif;
    font-size: 1rem;
    margin: 0;
    background-color: var(--background);
    padding: 0;
}



.header .logo-footer {
    width: 90%;
    max-width: 200px;
    display: block;
}

.boutonfixe {
    position: fixed;
    bottom: 0;
    right: 0;
}

.boutonfixe button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.recherche {
    background-color: var(--bleumed);
}

input#recherche {
    background-color: var(--blanc);
    width: 100%;
}

a {
    text-decoration: none;
    color: var(--bleulysi);
}

a:hover {
    color: var(--gris)
}

footer {
    background-color: #fff;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 0.6rem;
}

footer .logo-footer {
    width: 70%;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

h1, h2, h3 {
    color: var(--bleulysi);
    font-weight: bold;
}

h1 {
    text-transform: uppercase;
    font-weight: normal
}

h4 {
    color: var(--bleulysi);
}

a.small-btn {
    color: var(--bleulysi);
    font-weight: bold;
    display: inline-block;
}

.header {
    background-color: #f0f4f8;
}

a.vue-menu {
    width: 50px;
    height: 50px;
    display: inline-block;
}

a.vue-menu svg {
    width: 100%;
    height: auto;
}

.ronde {
    border-radius: 50%;
    width: 20px;
}

input[type=text] {
    background-color: transparent;
    border: none;
    /*border-bottom: 1px solid var(--gris);*/
    border-radius: 0;
    padding: 0.5rem 0.2rem;
}

input {
    border-style: hidden hidden solid hidden;
}

.form-registration input, .form-registration select,
.form-registration textarea {
    border-bottom: 1px solid #aaa;
    background:rgba(255, 255, 255, .7);
    padding:.2rem .4rem;
}

#audit select option[disabled], #audit select optgroup[disabled], #audit select optgroup[disabled] option {
    display: none;
}

#addon-wrapping {
    border-style: hidden hidden hidden hidden;
    background: #f5f5f5
}

.btn-primary {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bleulysi);
    border: 2px solid var(--bleulysi);
    border-radius: 0.75rem;
    color: var(--blanc);
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.btn-ok {
	display: inline-block;
	padding: 0.5rem 0.75rem;
	background: var(--bleulysi);
	border-radius: 0.75rem;
	color: var(--blanc);
	max-height: 41px;
}
@media screen and (min-width: 768px) {
	.btn-ok {
		display: inline-block;
		padding: 0.5rem 0.75rem;
		background: var(--bleulysi);
		border-radius:  0 0.75rem 0.75rem 0;
		color: var(--blanc);
		max-height: 41px;
	}
}

@media screen and (min-width: 992px) {
	.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bleulysi);
    border: 2px solid var(--bleulysi);
    border-radius: 0.75rem;
    color: var(--blanc);
    margin: 0.5rem 0.5rem 0.5rem 0;
  }
}

.btn:hover {
    background-color: var(--gris);
    color: var(--blanc);
    border-color: var(--gris)
}

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

.btn-s {
    padding: 6px 10px;
    font-size: 1rem;
    line-height: 2rem;
    border-radius: 3px;
}

.btn-xs {
    padding: 4px 8px;
    font-size: 0.9rem;
    line-height: 1.5rem;
    border-radius: 3px;
}

form[name=audit] {
    width: 90%;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
}
form[name=audit] div.mb-3 {
    position: relative;
}


.logo-home {
    width: 80%;
    max-width: 300px;
    margin: 6vw auto 2rem auto;
}

.logo-home img {
    width: 100%;
    height: auto;
}

.no-count {
    font-size: 0.8rem;
    margin: 3rem 0;
}

.no-count a {
    display: inline-block;
    white-space: nowrap
}

.connexion form {
    width: 80%;
    max-width: 295px;
    margin: 1rem auto;
}

.connexion form input {
    border: none;
    border-bottom: 1px solid var(--gris);
    padding: 0.5rem 2rem 0.5rem 0.2rem;
    background-color: transparent;
    margin-bottom: 1.5rem;
    background-position: right center;
    background-size: 20px;
    background-repeat: no-repeat;
    width: 100%;
}

.connexion form input#username {
    background-image: url(img/icone/person.svg);
}

.form-registration {
    width: 80%;
    max-width: 400px;
    margin: 1rem auto;
}

.form-date {
    align-content: stretch;
}

.form-date input[type="month"] {
    display: flex;
    align-self: auto;
    flex: 1 1 70%;
}

.form-date input[type="submit"] {
    display: flex;
    align-self: auto;
    flex: 1 1 30%;
}

.intercalage {
    width: 80%;
    max-width: 400px;
    margin: 1rem auto;
}


.image-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.text-body-secondary {
    font-size: 0.75rem;
    text-align: center
}

#dateEntityForm .form-content input {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gris)
}

#dateEntityForm {
    width: 90%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center
}

@media screen and (min-width: 992px) {
    .text-body-secondary {
        text-align: left
    }
}

@media screen and (min-width: 992px) {
    .w-100 {
        width: 90% !important;
    }
}

.disable-view {
    display: none;
}
.coulbleu {
    color: var(--bleulysi);
}

h5.coulbleu {
    padding: 2rem 0;
    font-weight: bold
}

div.autocomplete input:nth-of-type(1) {
    background: url("img/icone/chevron-down-grey.svg") right / contain no-repeat;
}

.card {
    border-radius: 0.75rem
}

.card .vs {
    width: 80px;
}

.card .card-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.card a {
    color: var(--bleulysi);
}

.card a:hover {
    color: var(--gris);
}

.liste {
    width: 80%;
    max-width: 580px;
    padding-top: 1rem;
}
.liste .card:hover{
    background:#1BA7E205;
}

#deroulant .btn {
    background: #fff;
}

.col-form-label.required:not(.pane-title):after {
    content: "*";
    color:#d00;
    padding-left: .6rem;
}

.pane-title {
    background-color: var(--gris);
    color: var(--blanc);
    font-weight: bold;
    text-align: center;
    padding-top: .8rem;
    padding-bottom: .8rem;
    cursor: pointer;
    text-transform: uppercase;
}

.accordion-item.active .pane-title {
    background-color: var(--bleulysi);
}

.pane > div.hidden{
    height:0;
    margin:0;
    padding:0;
    opacity: 0;
    /*visibility: hidden;*/
}
.pane .hidden .sousDiv {
    display: none;
}

.pane > div {
    padding: 0 1rem 1rem 1rem;
}
.pane {
    position:relative;
}
.pane.error::before {
    content: attr(data-error-count);
    position: absolute;
    background: #dd000090;
    color: #fff;
    font-weight: bold;
    padding: 1rem;
    right: .75rem;
    height: 3.1rem;
    line-height: 1.2rem;
}

.question:first-child {
	border-top: none;
}

.question {
    border-top: 1px dashed var(--gris);
    padding-top: 1rem;
}

fieldset.question {
    font-style: italic;
}

.image-legende .preview canvas, .image-legende .preview img {
    margin: 0 auto;
}

.preview {
    text-align: center;
}

.preview span {
    font-size: .8rem;
    margin: .4rem 0;
}

.preview p {
    margin: .4rem 0;
}

.preview.active .bi {
    color: #146c43;
}

.topblack {
    background-color: var(--bleumed);
    border-top: 1px solid var(--bleulysi);
    border-bottom: 1px solid var(--bleulysi);
}

.example-wrapper {
    margin: 2em auto;
    max-width: 800px;
    width: 95%;
		padding-bottom: 50px;
}

.code-unique {
    background: url("/logo/cle.svg") no-repeat right center / contain;
    width: 60%;
}

.username {
    background: url("/logo/petitbonhomme.svg") no-repeat right center / contain;
    width: 60%;
}

.autocomplete .awesomplete {
    display: inherit;
}

.awesomplete mark {
    padding: 0;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #3d5e93;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #3d5e93;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #3d5e93;
}

/*
* Pour le tableau des pdf
*/

.pdfG {
    width: 100%;
    border-collapse: collapse;
}

.pdfG td,
.pdfG th {
    border: 1px solid #999;
    padding: 8px;
    text-align: center;
}

.pdfG tr:nth-child(even) {
    background-color: #f2f2f2;
}

.pdfG tbody tr:hover {
    background-color: #ddd;
}

.pdfG thead {
    color: #fff;
    background-color: #009FE3;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
}

.pdfG thead tr:nth-child(even) {
    background-color: transparent;
}

.pdfglob {
    border-collapse: collapse;
    font-size: 0.68rem;
}

.pdfglob td,
.pdfglob th {
    border: 1px solid #999;
    padding: 8px;
    text-align: center;
}

.pdfglob tr:nth-child(even) {
    background-color: #f2f2f2;
}

.pdfglob tbody tr:hover {
    background-color: #ddd;
}

.pdfglob thead {
    color: #fff;
    background-color: #333;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
}

.pdfglob thead tr:nth-child(even) {
    background-color: transparent;
}

.page {
    overflow: hidden;
    page-break-after: always;

    position: relative;
    overflow: visible;
    width: 100%;
    height: 100%;
}


.watermark{

}
.watermark:before{
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 7rem;
    color: rgba(0, 0, 0, 0.3);
    opacity:0.7;
    pointer-events: none;
    z-index:9999;
    text-transform: uppercase;
    content: url(/brouillon.png);
    text-align: center; */
}


/*
* Pour la liste des utilisateurs
*/

#listeUtilisateurs {
    width: 100%;
    border-collapse: collapse;
}

#listeUtilisateurs td,
#listeUtilisateurs th {
    border: 1px solid #999;
    padding: 8px;
}

#listeUtilisateurs tr:nth-child(even) {
    background-color: #f2f2f2;
}

#listeUtilisateurs tbody tr:hover {
    background-color: #ddd;
}

#listeUtilisateurs thead {
    background-color: #333;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
}

nav#account {
    width: 150px;
    margin: 0 auto;
    background-color: white;
    position: relative;
    top: 100%;
    left: 0;
    transform: translateX(calc(-100% + 40px));
    z-index: 100
}

@media screen and (min-width: 992px) {
    nav#account {
        transform: translateX(0);
    }
}

nav#account ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

nav#account ul li {
    width: 100%;
    text-align: center;
}

nav#account ul li .btn {
    margin: 0.2rem 0;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8rem;
}
nav#account ul li .btn:hover {
    color:var(--gris);
}

#labelstory,
textarea {
    font-size: 1rem;
}

#story {
    max-width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 1px #999;
}

#labelstory {
    display: block;
    margin-bottom: 4px;
}

#labelsignature {
    display: block;
    margin-bottom: 4px;
}

.logo-responsive {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
}

.lancement {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.5rem;
	background: linear-gradient(to right,  var(--bleulysi) 0%,#042f78 50%,var(--bleulysi) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
.lancement-audit {
	margin: .5rem 0 0 0;
}
.boutons{
	margin: 1.75rem 0;
	text-align: center;
}

.input-group-select{
	height: 41px;
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #3d5e93;
  text-align: center;
  white-space: nowrap;
  background-color: var(--blanc);
	border: none;
	/*border-bottom: solid thin #7d8fa2;*/
}

.largeur75{
	width:100%;
}

.borddroit{
	border-right: none;
}

@media screen and (min-width: 768px) {
	.borddroit{
		border-right: thin solid var(--bleulysi);
	}
	.example-wrapper{
		min-height: 400px;
	}
}

@media screen and (min-width: 992px) {
	.largeur75{
		width:75%;
	}
}

@media screen and (min-width: 992px) {
	.lancement-audit {
		margin: .5rem 0 .5rem 0;
	}
}

@media (max-width: 640px) {
    .liste, form[name=audit] {
        width: 100%;
        max-width: 100%;
    }
}

.pane .form-control {
	border: solid 1px var(--gris);
}

svg text {
    background: #fff;
}

/**
 * surcharge de la validation des champs Bootstrap
 */
.was-validated .form-control:valid.is-invalid, .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:valid:focus.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.was-validated .form-select:valid:not([multiple]):not([size]).is-invalid, .was-validated .form-select:valid:not([multiple])[size="1"].is-invalid, .form-select.is-invalid:not([multiple]):not([size]).is-invalid, .form-select.is-invalid:not([multiple])[size="1"] {
    padding-right: 4.125rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-position: right 0.75rem center, center right 2.25rem;
    background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-select:valid.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
}
.was-validated .form-control:valid:focus.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.was-validated .form-control:invalid.is-valid, .form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .form-control:valid:focus.is-invalid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}
