/*****
GLOBAL
*****/
html {
    background-color: #2c2c2c;
}

body {
    background-color: white;
}

.myTable {
    border-collapse: collapse !important;
}

.myTable td, .myTable th {
    padding: 4px;
    text-align: center;
    border: solid 1px #aaa;
}

.site-main {
    margin-top: 136px;
    margin-bottom: 50px;
}

.site-main-home {
    margin-top: 50px;
    margin-bottom: 50px;
}

.tab {
    display: table;
    width: 100%;
    height: 100%;
}

.cell {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

h1 {
    font-size: 2em;
    text-align: left !important;
    font-weight: normal;
}

h3 {
    font-size: 1.5rem;
    line-height: 1;
}

a.btn {
    color: white;
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.nav-news a {
    color: white;
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0.25rem;
    background-color: #1a8247;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 1.5;
    transition: 0.25s;
    padding: .375rem .75rem;
}

.nav-news a:hover {
    text-decoration: none;
    background-color: #115730;
}

.nav-news a:active {
    text-decoration: none;
    background-color: #6c757d;
}

.bg-gray {
    background-color: rgb(222, 222, 222);
}

.bg-green {
    background-color: #115730;
}

.white {
    color: white;
}

.black {
    color: black;
}

.valid-message {
    color: green;
}

.invalid-message {
    color: red;
}

.btn {
    font-size: 1.2rem;
}

.green {
    color: #1a8247 !important;
}

.white {
    color: white;
}

.black {
    color: black;
}

/*****
HEADER
*****/
#wpadminbar {
    position: fixed;
    top: 0;
}

.logo-link-screen img {
    height: 70px;
    width: auto;
}

.navbar {
    background-color: #1a8247;
    position: fixed;
    z-index: 2000;
    width: 100%;
    top: auto;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-nav a {
    font-size: 1.2rem;
}

.dropdown-menu {
    border-radius: 0;
    border: none;
    border-top: solid 2px rgb(222, 222, 222);
    margin: auto;
    width: auto;
    left: auto;
    right: auto;
}

.dropdown-item {
    padding-left: 15px;
    padding-right: 15px;
}

.nav-link {
    color: white !important;
    transition: 0.25s;
}

.nav-link:hover {
    color: #2c2c2c !important;
}

.nav-link .bi, .nav-link .fa-brands {
    font-size: 1.4em;
    color: white;
    transition: 0.25s;
}

.nav-link .bi:hover, .nav-link .fa-brands:hover {
    color: #2c2c2c;
}

.nav-icon {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.first-icon {
    padding-left: 0.5rem !important;
}

.box-slider {
    margin-top: 86px;
}

.tab-slider {
    position: absolute;
    display: table;
    width: 100%;
    height: 100%;
}

.cell-slider {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-slider {
    color: white;
    font-size: 4rem;
    font-weight: normal;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px black;
}

.content-slider {
    color: white;
    font-size: 2rem;
    font-weight: normal;
    text-shadow: 2px 2px 4px black;
}

/*****
ACCUEIL
*****/
.box-edito p {
    margin-bottom: 0;
    text-align: center;
}

.box-documents {
    background-image: url('../img/bg-doc.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: 300px;
}

.box-documents a {
    text-decoration: none;
}

.doc-icon {
    text-align: center;
    background-color: #1a8247;
    border-radius: 0.25rem;
    color: white;
    transition: 0.25s;
}

.doc-icon:hover {
    background-color: #115730;
}

.doc-icon:active {
    background-color: #6c757d;
}

.doc-icon i {
    font-size: 4em;
}

.news-link {
    overflow: hidden;
    position: relative;
    display: block;
}

.news-title {
    position: absolute;
    /* top: -100px; */
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    transition: 0.25s;
    color: black;
}

.news-content {
    position: absolute;
    /* bottom: -100px; */
    background-color: rgba(255, 255, 255, 0.75);
    width: 100%;
    transition: 0.25s;
    color: black;
}

/*****
NEWS
*****/
.nav-news a {
    display: inline-block;
    font-size: 1.2rem;
}

.nav-filter-archive {
    text-align: left !important;
}

/*****
CONTACT
*****/
.maps iframe {
    height: 510px;
}

/*****
FOOTER
*****/
.link-payment {
    display: block;
    position: absolute;
    z-index: 1000;
    height: 100%;
    width: 100%;
}

.link-payment:hover {
    text-decoration: none;
}

.tab-payment {
    display: table;
    width: 100%;
    height: 100%;
}

.cell-payment {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    padding-left: 15px;
    padding-right: 15px;
}

.title-payment {
    text-shadow: 2px 2px 4px black;
}

.btn-payment {
    display: inline;
    box-shadow: 2px 2px 4px black;
}

.bg-payment {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 300px;
    transition: 0.25s;
}

.box-footer .contact-icon {
    background-color: #1a8247;
    border-radius: 0.25rem;
    transition: 0.25s;
    color: white;
}

.box-footer .contact-icon:hover {
    /* box-shadow: 2px 2px 4px black; */
    background-color: #115730;
}

.box-footer .contact-icon:active {
    background-color: #6c757d;
}

.box-footer .row {
    height: 100%;
}

.box-footer i {
    font-size: 4em;
}

.box-footer a {
    text-decoration: none;
}

.bloc-footer-2 .bi {
    font-size: 1.2em;
}

/*****
RESPONSIVE
*****/
@media (max-width: 991px) {
    h1 {
        font-size: 1.5rem;
        text-align: left !important;
    }

    .logo-link-mobil img {
        height: 70px;
        width: auto;
    }

    .navbar-nav a {
        font-size: 1rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .nav-filter-archive {
        text-align: left !important;
    }

    .dataTables_length, .dataTables_filter {
        text-align: left !important;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn {
        font-size: 1rem;
    }

    .nav-icon {
        display: inline;
    }

    .first-icon {
        padding-left: 0 !important;
    }

    .nav-news a {
        display: block;
        font-size: 1rem;
    }

    .title-slider {
        font-size: 1.5rem;
        line-height: 1.5;
        padding-left: 15px;
        padding-right: 15px;
    }

    .content-slider {
        font-size: 1rem;
        padding-left: 15px;
        padding-right: 15px;
        line-height: 1.5;
    }

    .btn-payment {
        display: block;
    }

    .news-title {
        bottom: 0;
    }

    .navbar-toggler {
        border-color: white !important;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}