@charset "utf-8";

/*
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
*/

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Roman.eot');
    src: url('../fonts/Avenir-Roman.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Roman.woff2') format('woff2'),
    url('../fonts/Avenir-Roman.woff') format('woff'),
    url('../fonts/Avenir-Roman.ttf') format('truetype'),
    url('../fonts/Avenir-Roman.svg#Avenir-Roman') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Black Oblique';
    src: url('../fonts/Avenir-BlackOblique.eot');
    src: url('../fonts/Avenir-BlackOblique.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-BlackOblique.woff2') format('woff2'),
    url('../fonts/Avenir-BlackOblique.woff') format('woff'),
    url('../fonts/Avenir-BlackOblique.ttf') format('truetype'),
    url('../fonts/Avenir-BlackOblique.svg#Avenir-BlackOblique') format('svg');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Book';
    src: url('../fonts/Avenir-BookOblique.eot');
    src: url('../fonts/Avenir-BookOblique.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-BookOblique.woff2') format('woff2'),
    url('../fonts/Avenir-BookOblique.woff') format('woff'),
    url('../fonts/Avenir-BookOblique.ttf') format('truetype'),
    url('../fonts/Avenir-BookOblique.svg#Avenir-BookOblique') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-HeavyOblique.eot');
    src: url('../fonts/Avenir-HeavyOblique.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-HeavyOblique.woff2') format('woff2'),
    url('../fonts/Avenir-HeavyOblique.woff') format('woff'),
    url('../fonts/Avenir-HeavyOblique.ttf') format('truetype'),
    url('../fonts/Avenir-HeavyOblique.svg#Avenir-HeavyOblique') format('svg');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Black.eot');
    src: url('../fonts/Avenir-Black.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Black.woff2') format('woff2'),
    url('../fonts/Avenir-Black.woff') format('woff'),
    url('../fonts/Avenir-Black.ttf') format('truetype'),
    url('../fonts/Avenir-Black.svg#Avenir-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-MediumOblique.eot');
    src: url('../fonts/Avenir-MediumOblique.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-MediumOblique.woff2') format('woff2'),
    url('../fonts/Avenir-MediumOblique.woff') format('woff'),
    url('../fonts/Avenir-MediumOblique.ttf') format('truetype'),
    url('../fonts/Avenir-MediumOblique.svg#Avenir-MediumOblique') format('svg');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Book';
    src: url('../fonts/Avenir-Book.eot');
    src: url('../fonts/Avenir-Book.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Book.woff2') format('woff2'),
    url('../fonts/Avenir-Book.woff') format('woff'),
    url('../fonts/Avenir-Book.ttf') format('truetype'),
    url('../fonts/Avenir-Book.svg#Avenir-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-LightOblique.eot');
    src: url('../fonts/Avenir-LightOblique.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-LightOblique.woff2') format('woff2'),
    url('../fonts/Avenir-LightOblique.woff') format('woff'),
    url('../fonts/Avenir-LightOblique.ttf') format('truetype'),
    url('../fonts/Avenir-LightOblique.svg#Avenir-LightOblique') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Medium.eot');
    src: url('../fonts/Avenir-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Medium.woff2') format('woff2'),
    url('../fonts/Avenir-Medium.woff') format('woff'),
    url('../fonts/Avenir-Medium.ttf') format('truetype'),
    url('../fonts/Avenir-Medium.svg#Avenir-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Heavy.eot');
    src: url('../fonts/Avenir-Heavy.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Heavy.woff2') format('woff2'),
    url('../fonts/Avenir-Heavy.woff') format('woff'),
    url('../fonts/Avenir-Heavy.ttf') format('truetype'),
    url('../fonts/Avenir-Heavy.svg#Avenir-Heavy') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Light.eot');
    src: url('../fonts/Avenir-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Light.woff2') format('woff2'),
    url('../fonts/Avenir-Light.woff') format('woff'),
    url('../fonts/Avenir-Light.ttf') format('truetype'),
    url('../fonts/Avenir-Light.svg#Avenir-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Oblique.eot');
    src: url('../fonts/Avenir-Oblique.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Avenir-Oblique.woff2') format('woff2'),
    url('../fonts/Avenir-Oblique.woff') format('woff'),
    url('../fonts/Avenir-Oblique.ttf') format('truetype'),
    url('../fonts/Avenir-Oblique.svg#Avenir-Oblique') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
/*
@font-face {
    font-family: 'Avenir1';
    src: url('../fonts/AvenirLTStd-Roman.eot');
    src: local('☺'), url('../fonts/AvenirLTStd-Roman.woff') format('woff'), url('../fonts/AvenirLTStd-Roman.ttf') format('truetype'), url('../fonts/AvenirLTStd-Roman.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Avenir2';
    src: url('../fonts/AvenirLTStd-Book.eot');
    src: local('☺'), url('../fonts/AvenirLTStd-Book.woff') format('woff'), url('../fonts/AvenirLTStd-Book.ttf') format('truetype'), url('../fonts/AvenirLTStd-Book.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
*/
.noevent {
    cursor: default;
    pointer-events: none;
}

@-ms-viewport { width: device-width; }
*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.svg{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.svg>svg{
    width: 100%;
    height: 100%;
}
.svg.white>svg g,.svg.white>svg path{
    fill: var(--white);
}

.svg.primary>svg g,.svg.primary>svg path{
    fill: var(--primary);
}

html{
    margin: 0 0;
    padding: 0 0;
    width: 100% !important;
    height: 100% !important;
    letter-spacing: 0px;
}
.note-editable
{
    font-weight: normal !important;
}
.note-editable p{
    margin: 0 0 0 0;
}
.note-editable ol>li{
    list-style: auto;
    margin-left: -22px;
}
.note-editable ul>li{
    list-style: inside;
    margin-left: 0px;
}
.note-editor .note-dropzone { opacity: 0 !important; }


#toast-container{
    top: 90px;
}
#toast-container>div{
    opacity: 1;
}
body{
    font: normal normal 900 16px/19px Avenir, "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0px;
    text-align: left;
    color: #2E2E2E;
    background-color: #F1F1F1;
    margin: 0 0;
    padding: 0 0;
    width: 100% !important;
    height: 100% !important;
    letter-spacing: 0px;
}
a{
    text-decoration: none;
    /*font: normal normal normal 16px/22px Avenir;*/
    color: #AF1318;
}
a:hover{
}
a:link,a:visited,a:focus{
    text-decoration: none;
    color: #AF1318;
}
input[type='checkbox']{
    width: 22px;
    height: 22px;
    border: 1px solid #A6A6A6;
    vertical-align: bottom;
}
.form-control{
    height: 41px;
}
input[type='text'],input[type='mail'],input[type='email'],input[type='number'],input[type='datetime-local'],input[type='date'],select{
    border: 1px solid #A6A6A6;
    height: 41px;
    font: normal normal normal 16px/22px Avenir;
}
input.aftericon{
    padding-right: 30px;
}
label{
    margin-top: 0px;
    font: normal normal normal 16px/22px Avenir;
    color: #343437;
}
.swal2-styled.swal2-confirm{
    background-color: #AF1318;
}
.swal2-styled.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(175, 19, 24, 0.5);
}

.swal2-success{
}
.select2-results__option, .select2-selection--single{
    font: normal normal normal 16px/22px Avenir;
}
.select2-container .select2-selection--single{
    height: 41px !important;
}
.select2-selection__rendered {
    white-space: normal !important;
    line-height: 41px !important;
}

.full-width{
    width: 100%;
}
.FileContainer{
    width: 100%;
    max-width: none;
}
.help-block{
    color: #EC1F1F;
}
.uppercase{
    text-transform: uppercase;
}
ul{
    margin: 0 0;
    padding: 0 0;
}
li{
    list-style: none;
}

img{
    width: 100%;
    display: inline-block;
}
.header{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: min-content min-content 1fr auto;
    padding: 0px 0px 0px 20px;
    width: 100%;
    height: 120px;
    line-height: 120px;
    background-color: #8B1D21;
    text-align: left;
    font: normal normal 100 28px/37px Avenir;
    color: #FFFFFF;
}
body.auth .header{
}
.HeaderLogo{
    width: 90px;
}
.HeaderLogoAgence{
    width: 160px;
    margin-right: 30px;
}
.header.commune{
    padding: 0px 5% 0px 0px;
    grid-template-columns: 260px 1fr auto auto;
    background-color: #AF1318;
}
.header.commune>div:nth-child(1){
    background-color: #8B1D21;
}
.header.commune>div:nth-child(3){
    width: 69px;
}
.header.commune>div:nth-child(4){
    font: normal normal 900 20px/27px Avenir;
}

.header>div{
    display: inline-grid;
    justify-items: center;
    align-items: center;
}
body.auth{
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
body.auth.bg1{
    background-image:url(../images/BG1.jpg);
}
body.auth.bg2{
    background-image:url(../images/BG2.jpg);
}
body.auth.bg3{
    background-image:url(../images/BG3.jpg);
}
body.auth.bg4{
    background-image:url(../images/BG4.jpg);
}
body.auth.bg5{
    background-image:url(../images/BG5.jpg);
}
body.auth.bg6{
    background-image:url(../images/BG6.jpg);
}
body.auth.bg7{
    background-image:url(../images/BG7.jpg);
}
body.auth.bg8{
    background-image:url(../images/BG8.jpg);
}
body.auth.bg9{
    background-image:url(../images/BG9.jpg);
}
body.auth.bg10{
    background-image:url(../images/BG10.jpg);
}


.button{
    font: normal normal normal 22px/30px Avenir;
    text-align: center;
    padding: 10px 25px;
    background: #8B1D21 0% 0% no-repeat padding-box;
    color: #FFFFFF;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border:0 none;
    cursor: pointer;
}
.button.small{
    font: normal normal normal 18px/22px Avenir;
    padding: 6px 12px;
}
.button.xs{
    font: normal normal normal 14px/16px Avenir;
    padding: 6px 10px;
}
.nocursor{
    cursor: default;
}
.button:hover{
    background: #8b3336 0% 0% no-repeat padding-box;
}
.button.notif{
    display: inline-block;
    font: normal normal normal 20px/26px Avenir;
    text-align: center;
    padding: 5px 16px;
    background: #8B1D21 0% 0% no-repeat padding-box;
    cursor: pointer;
}
.button.notif:hover{
    background: #8b3336 0% 0% no-repeat padding-box;
}

h1{
    margin-bottom: 30px;
}

.authContainer{
    position: absolute;
    top:120px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: fit-content;
    width: 536px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 1px 6px #00000029;
    padding: 30px 60px;
    color: #2E2E2E;
    font: normal normal normal 16px/22px Avenir;
}
.authContainer h1{
    font: normal normal 900 22px/22px Avenir;
}
.authContainer .pswd{
    display: block;
    text-align: center;
    font: normal normal normal 18px/24px Avenir;
    color: #AF1318;
}
.authContainer .error{
    display: block;
    text-align: center;
    font: normal normal normal 16px/20px Avenir;
    color: #AF1318;
}
.authContainer .done{
    display: block;
    text-align: center;
    font: normal normal normal 16px/20px Avenir;
    color: #35B249;
}
.authContainer .connect{
    margin: 12px 0;
    width: 100%;
}
.pagecontainer{
    display: grid;
    grid-gap: 2px;
    grid-template-columns: auto 1fr;
    margin: 0 auto;
    padding-bottom: 50px;
}
.page{
    margin: 40px 3.5vw 20px 3.5vw;
    padding: 40px 5vw 80px 5vw;
    background: #FFFFFF;
    box-shadow: 0px 1px 6px #00000029;
    max-width: 1400px;
}
.menuside{
    width: 260px;
    padding: 40px 20px 10px 20px;
}
.menuside.gestionnaire{
    background: #FFFFFF;
}
.menuside>ul{
    display: block;
    width: 100%;
}
.menuside>ul>li{
    display: block;
    margin-bottom: 10px;
}
.menuside>ul>li:last-child{
    margin-bottom: 10px;
}
.menuside a{
    display: block;
    font: normal normal normal 18px/24px Avenir;
}
.menuside a:hover{
    color: #af363a;
}
.circle{
    display: inline-block;
    border: 1px solid #AF1318;
    border-radius: 50%;
    text-align: center;
    color: #AF1318;
}
.menuside .circle{
    width: 30px;
    height: 30px;
}
.menuside i{
    display: inline-block;
    font-size: 16px;
    line-height: 28px;
}
.menuside hr{
    margin: 8px 0;
    height: 1px;
    color: #A6A6A6;
}
.menu{
    display: inline-grid;
    margin: min(5vw, 80px) auto;
    justify-items: center;
    align-items: center;
}
.menu1{
    grid-gap: min(2vw, 52px);
    grid-template-columns: 1fr 1fr 1fr;
}
.menu2{
    grid-gap: min(2vw, 52px);
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.menu>a{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    width: min(12.5vw, 256px);
    height: min(12.5vw, 256px);
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
    text-align: center;
    justify-items: center;
    align-items: center;
}
.menu>a:hover{
    box-shadow: 0px 1px 16px rgba(0, 0, 0, 0.16);
}
.menu>a>div:nth-child(3){
    align-self: start;
}
.menu .circle{
    width: 56px;
    height: 56px;
}
.menu .circle i{
    display: inline-block;
    font-size: 26px;
    line-height: 56px;
}


.wrapper-center{
    display: block;
    width: 100%;
    text-align: center;
}

.inputawesome{
    position: relative;
    left: -32px;
    top: 2px;
    z-index: 2;
    color: #AF1318;
    font-size: 22px;
}

.head{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 1fr 1fr;
    font: normal normal normal 16px/22px Avenir;
    color: #343437;
    margin: 30px 0 15px 0;
    align-items: center;
}
.head a{
    display: inline-block;
    color: #35B249;
    line-height: 41px;
}
.head input[name=search]{
    width: calc(100% - 30px);
}

.head{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 1fr 1fr;
    font: normal normal normal 16px/22px Avenir;
    color: #343437;
    margin: 30px 0 15px 0;
    align-items: center;
}
.head a{
    display: inline-block;
    color: #35B249;
    line-height: 41px;
}
.head input[name=search]{
    width: calc(100% - 30px);
}

.cantons{

}
.cantons>li{
    display: block;
    border-top:1px solid #D3D3D3;
    padding: 4px 0px 4px;
}
.cantons>li:last-child{
    border-bottom:1px solid #D3D3D3;
}
.cantons>li a{
     font: normal normal 900 16px/22px Avenir;
     color: #AF1318;
}
.communeRow {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 100px 1fr 1fr;
    font: normal normal normal 16px/22px Avenir;
    color: #343437;
}
.communeRow>div:nth-child(1),.communeRow>div:nth-child(4){
    font: normal normal 900 16px/22px Avenir;
    color: #AF1318;
}
.page.communes {
}

.page.communes h2{
    font: normal normal 900 22px/22px Avenir;
    color: #2E2E2E;
}
/*
.page.communes .form-control-feedback{
    top: 46px;
    right: 12px;
}
*/


/* GESTIONNAIRES */
.gestionnaires{

}
.gestionnaires>li{
    display: block;
    border-top:1px solid #D3D3D3;
    padding: 4px 0px 4px;
    cursor: pointer;
}
.gestionnaires>li:last-child{
    border-bottom:1px solid #D3D3D3;
}
.gestionnaires>li:hover{
    background: #E8E8E8;
}
.gestionnaireRow {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
    font: normal normal normal 16px/22px Avenir;
    color: #343437;
}
.gestionnaireRow>div:nth-child(1),.gestionnaireRow>div:nth-child(5){
    font: normal normal 900 16px/22px Avenir;
    color: #AF1318;
}


.list{

}
.list>li{
    display: block;
    border-top:1px solid #D3D3D3;
    padding: 4px 0px 4px;
    cursor: pointer;
}
.list>li:last-child{
    border-bottom:1px solid #D3D3D3;
}
.list>li:hover{
    background: #E8E8E8;
}
.listRow {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: auto 1fr auto;
    font: normal normal 900 16px/22px Avenir;
    color: #2E2E2E;
    cursor: pointer;
}
.listRow .fa{
    color: #A6A6A6;
}
.listRow.brouillon{
    color: #A6A6A6;
}
.button.listStatus{
    position: relative;
    background-color: #0B8900;
    font: normal normal normal 10px/14px Avenir;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 5px 0px;
    width: 80px;
}
.listRow.brouillon .button.listStatus{
    background-color: #e590d8;
}
.listRow.agendee .button.listStatus{
    background-color: #e5a555;
}
.listRow.archive .button.listStatus{
    background-color: #D3D3D3;
}
.listRow.contributeur .button.listStatus{
    background-color: #9299e5;
}


.headlist{
    display: grid;
    grid-gap: 20px;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    justify-items: right;
}
.headitem1>a{
    display: block;
    font: normal normal normal 16px/22px Avenir;
    color: #35B249;
}
.headitem2{
    font: normal normal normal 12px/22px Avenir;
    color: #707070;
}

.listimages_cat{
    font: normal normal normal 16px/22px Avenir;
    color: #2E2E2E;
    display: block;
}
.listimages{
    margin-bottom: 10px;
}
.listimages>li{
    display: inline-block;
    margin: 0px 6px 6px 0px;
    cursor: pointer;
}
.listimages>li.selected{
    outline: 5px dashed #AF1318;
}
.listimages>li:last-child{
    margin: 0px;
}
.listimages>li>img{
    width: 70px;
    height: 70px;
}

.listimages>li.category{

}
.Help{
    display: none;
}

section .imageShow{
    display: none;
    width:100%;
    height: 100px;
    text-align: center;
    margin: 10px auto 10px 0;
}

section>.title{
    font: normal normal 900 16px/22px Avenir;
    color: #AF1318;
    cursor: pointer;
}
section.disabled>.contain{
    display: none;
}
section .contain{
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 5px 5px;
}

.idm_media_image,.idm_media_file,.idm_media_picto{
    width: auto;
    height: 60px;
}


.btn-primary{
    background-color: #AF1318;
    border-color: #801318;
}
.btn-primary:hover {
    color: #fff;
    background-color: #da1419;
    border-color: #801318;
}
.table>thead{
    background-color: #efefef;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    background-color: #AF1318;
    border-color: #801318;
}

.BAddRight{
    float: right;
}
.BAddRight a{
    display: inline-block;
    float: right;
    color: #35B249;
    line-height: 40px;
}
.SearchContainer{
    border-radius: 10px;
    max-width: 800px;
    border: 1px dashed #BFBFBF;
    padding: 10px 20px;
    margin: 10px 0;
}
.BoolY{
    color:#35B249;
}
.BoolN{
    color:#AF1318;
}
.hachure{
    background: linear-gradient(-45deg, #AAA 1%, #FFF 1%, #FFF 49%, #AAA 49%, #AAA 51%, #FFF 51%, #FFF 99%, #AAA 99%);
    background-size: 12px 12px;
    opacity: 0.5;
}
#Burger{
    display: none;
}

.headcustom{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.BUrl{
    background-color: #F1F1F1;
    padding: 6px 20px;
    font: normal normal normal 16px/22px Avenir;
    letter-spacing: 0px;
    color: #9C9C9C;
    opacity: 1;
}
.BCopy{
    cursor: pointer;
    font: normal normal normal 12px/22px Avenir;
    color: #AF1318;
}

.pleaseWaitContainer{
    text-align: center;
    margin: 20px auto;
}
.pleaseWait {
    display: none;
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: pleaseWaitSpin 1s linear infinite;
    margin: 20px auto;
}

@keyframes pleaseWaitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
