@charset "UTF-8";

* {
    /* background: blue; */
}

/************** body container *******************/

body {
    background: #ffffff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
    color: #4c4d4d;
    line-height: 1.3;
}

#wrapper {
    max-width: 1200px;
    padding: 0;
    margin: 0 auto 0 auto;
    height: auto !important;
    min-height: 600px;
    position: relative;

}

/************** typography *******************/

h1 {
    font-size: 19px;
    font-weight: bold;
    color: #2BA34C;
    line-height: 1.2;
    padding-bottom: 20px;

}

h2 {
    color: #2BA34C;
    font-size: 17px;
    font-weight: bold;
    line-height: 14px;
    padding-bottom: 18px;
}

h3 {
    font-size: 15px;
    font-weight: bold;
    color: #575757;
    padding-bottom: 16px;
    line-height: 14px;
}

h4 {
    color: #575757;
    padding-bottom: 14px;
    line-height: 14px;
    font-weight: bold;
    font-size: 13px;
}

strong {
    font-weight: bold;
}

li {
    list-style: none;
}

a {
    color: #0072B7;
    text-decoration: none;
    line-height: 14px;
}

p {
    padding-bottom: 15px;
}

.btn {
    border: 0 none;
    padding: 10px 10px;
    cursor: pointer;
}

.btn-primary {
    background: #e0e0e0;
    color: #575757;
}

.btn:hover {
    cursor: pointer;
}

#main-content a:hover {
    text-decoration: underline;
}

/************** layout *******************/
#header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(auto-fit, minmax(50px, 1fr));
    grid-template-areas:
        "logo banner banner banner"
        "menuleft menuright menuright menuright";
}

#logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center;
}

#banner {
    grid-area: banner;
}

#banner img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

#rightmenu {
    grid-area: menuright;
}

#content>div:not(#system-message-container) {

    padding: 36px 20px;
}

/************** left menu *******************/
#leftmenu {
    background: #1a9f44;
    grid-area: menuleft;
}

#leftmenu li {
    display: inline-block;
    margin: 0;
    padding: 0 8px 0 42px;
}

#leftmenu li a {
    color: #FFFFFF;
    display: block;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

#leftmenu li a:hover {
    color: #000;
}

#leftmenu li.active a {
    color: #000;
    font-weight: bold;
}

/*********** right menu *********************/
#rightmenu {
    background: #dfdfdf;
    padding: 20px 40px;
}

#rightmenu ul {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

#rightmenu li a {
    color: #404040;
    display: block;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

#rightmenu li a:hover {
    color: #000;
}

#rightmenu li.active a {
    color: #005AAF;
    font-weight: bold;
}

/************ content layout ***************/



.right {
    flex: 1 0 25%;
    background: none repeat scroll 0 0 #1a9f44;
}

.left {
    flex: 1 0 25%;
    background: none repeat scroll 0 0 #EFEFEF;
}

@media (max-width: 500px) {
    #header {
        grid-template-areas:
            "logo       logo      banner      banner"
            "menuleft  menuright   menuright   menuright"
        ;
    }

    .left {
        visibility: hidden;
        position: absolute;
        grid-area: menuleft;
        right: 0;
        left: 0;
    }

    .left:before {
        content: "Menu";
        visibility: visible;
        position: absolute;
        grid-area: menuleft;
        width: 20%;
        height: 34px;
        line-height: 35px;
        top: -54px;
        left: 0;
        text-align: center;
        text-transform: uppercase;
        padding: 10px 12px;
        background: #e0e0e0;
    }

    .left:hover {
        visibility: visible;
    }
}

/************ menu left ****************/
#menuleft {
    background: #f3f5f4;
}

#menuleft ul li {
    margin: 2px 0;
}

#menuleft li a:hover {
    color: black;
    text-decoration: none;
}

#menuleft ul li ul {
    margin: 5px;
}

#menuleft li {
    list-style: none;
    display: block;
}

#menuleft ul li a {
    background: #e0e0e0;
    display: inline-block;
    padding: 10px 12px;
    width: 100%;
    color: #575757;
    font-size: 12px;
    text-transform: uppercase;
}

#menuleft ul li.active a {
    background: #e0e0e0;
    color: #005aaf;
    font-weight: bold;

}

#menuleft ul li.active ul li a {
    background: #f3f5f4;
    color: #575757;
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
}

#menuleft ul li ul li.active a,
#menuleft ul li ul li.active a:before {
    content: "-";
    color: #005aaf !important;
}

#menuleft ul li.active li a:hover {
    color: black;
}

#menuleft li li a:before {
    content: "+";
    margin-right: 5px;
}

#menuleft ul ul li {
    margin: -5px;
}

/*************** right news **********/
#rightnews {
    padding: 20px;
}

#rightnews h3 {
    border-bottom: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 12px 15px 9px;
}

#rightnews h4 {
    border-bottom: 2px dotted #FFFFFF;
    color: white;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 0;
}

.newsright p {
    color: #FFFFFF;
    font-size: 11px;
    font-weight: normal;
    line-height: 14px;
    padding-top: 8px;
}

.newsright a {
    color: #FFFFFF;
    font-size: 11px;
    text-decoration: none;
}

/*************** content *********************/
#main-content {
    display: flex;
    flex-wrap: wrap;
}

#content {
    background: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    flex: 2 0 50%;
    min-width: 300px;
}

#main-content #content a {
    color: #0072B7;
}

#main-content #content a:hover {
    text-decoration: underline;
}

#main-content #content li {
    list-style-image: url(../images/puce.png);
    padding: 2px 0;
    margin-left: 27px;
    line-break: anywhere;
}

#main-content #content p {
    padding-bottom: 12px;
}

#main-content #content .pic img {
    border: 3px solid #FFFFFF;
    box-shadow: 1px 1px 10px #555555;
}

.equipe-table img {
    border: 4px solid #fff;
    box-shadow: 1px 1px 10px #555;
}

.equipe-table td {
    vertical-align: middle;
}

.equipe-table p {
    margin-left: 20px;
}

/************ adresse ***************/
#adresse {
    color: #404040;
    font-size: 11px;
    position: relative;
}

/************ recherche ****************/
#rechercher {
    color: #8C9092;
    font-size: 11px;
    padding: 14px;
}

#mod-search-searchword {
    color: #8c9092;
}

.form-search {
    vertical-align: middle;
}

.input-group {
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    margin-bottom: 10px;
}

.form-search .input-group {
    justify-content: space-between;
}

input {
    position: relative;
    border: 0 none;
    padding: 10px 10px;
    width: 100%;
    min-width: none;
}

.form-search .btn {
    background: transparent;
}

#content input,
textarea {
    max-width: 300px;
    border: 1px solid #e0e0e0;
}

#content input[type='checkbox'] {
    max-width: 10px;
}

.form-inline .btn {
    border: 1px solid #e0e0e0;
}

.m-0 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.com-contact__container {
    margin-bottom: 40px;
}


/***************email et print *******************/
.actions li {
    display: inline;
}

.print-icon a {
    background: url(../images/print.png) no-repeat;
    display: block;
    height: 16px;
    margin: 0;
    margin-right: 10px;
    position: relative;
    text-indent: -9999px;
    width: 16px;
    top: -40px;
}

.email-icon a {
    background: url(../images/email.png) no-repeat;
    display: block;
    height: 16px;
    margin: 0;
    margin-right: 10px;
    position: relative;
    text-indent: -9999px;
    width: 16px;
    top: -40px;
}

/************ recherche pagenation *****************/
.pagination {
    margin-top: 20px;
}

.pagination li {
    list-style: none;
    display: inline;
}

/************ identification ****************/
.login-fields {
    margin-bottom: 10px;
}

.validate-username {
    margin-left: 20px;
}

.login .button {
    margin-left: 180px;
    margin-top: 15px;
}

.login {
    margin-left: 104px;
}

.login h1 {
    width: 271px;
}

.login ul li {
    list-style: none;
}

.login form {
    margin-top: 40px;
}

.registration legend {
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 18px;
}

.registration input {
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.registration .validate {
    margin-top: 15px;
}

.registration form {
    margin-top: 30px;
}

.registration {
    margin-left: 60px;
}

#user-registration input {
    margin-left: 0px;
    margin-bottom: 10px;
    margin-top: 10px;
}

/************ page search ***************/

#searchForm {
    margin-top: 25px;
}

.phrases {
    margin-top: 20px;
}

.searchintro strong {
    font-size: 15px;
}

.searchintro {
    margin-top: 20px;
}

.phrases legend {
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 15px;
}

.phrases .ordering-box {
    margin-top: 15px;
}

.only {
    margin-top: 20px;
}

.only legend {
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 15px;
}

.form__limit {
    margin-top: 20px;
}

#main-content #content li.result__item {
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    padding: 20px 10px;
}

.result__item:hover {
    background: #EFEFEF;
}

.result__item+.result__item {
    border: 0 none;
    margin-top: 20px;
}

.result__title {
    margin-bottom: 5px;
}

#contact-form legend {
    display: none;
}

/*********** footer ********************/
#footer {
    background: #e0e0e0;
    font-size: 12px;
}

#footer p {
    padding: 18px 40px;
}