@import url('https://fonts.googleapis.com/css?family=Skranji');

body {
    padding: 0;
    margin: 0;
    font-family:Arial, sans-serif;
}

#header {
    width: 100%;
    z-index: 999;
    position: relative;
}

#header > #navone {
    width: 100%;
    height: 24px;
    text-align: right;
    background-color: #232323;
    color: white;
    font-size: 12px;
}

#header > #navone b {
    cursor: pointer;
}

#header > #navone > img {
    width: 20px;
    margin: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: all, .5s;
}

#header > #navone > img:hover {
    opacity: 1;
}

#header > #navone > img:last-child {
    margin-right: 25px;
}

#header > #navone > img#lg_checked {
    opacity: 1;
}

#header > #navtwo {
    width: 100%;
    height: 100px;
    text-align: right;
    background-color: white;
    box-shadow: 0 5px 10px -5px gainsboro;
}

#header > #navtwo > #logo {
    width: 320px;
    height: 72px;
    float: left;
    background-image: url('../images/logo.png');
    background-size: 640px 72px;
    background-repeat: no-repeat;
    margin-top: 15px;
    margin-left: 25px;
    cursor: pointer;
}

#header > #navtwo > #logo:hover {
    background-position: -320px 0;
}

/* MENU */
#navtwo > ul {
    list-style-type:none;
    margin:0;
    padding:0;
    float: right;
}

#navtwo > #menu {
    margin-top: 25px;
}

#navtwo > #menu > li {
    display:inline-block;
    float: left;
}
li a {
    display:block;
    height: 75px;
    text-align: center;
    line-height: 50px;
    color: #4E9942;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 15px;
    text-transform: uppercase;
    margin: 0 25px;
    transition: all, .6s;
}

li a:hover {
    color: darkgreen;
}

li:hover ul a {
    background: white;
    color: #4E9942;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 10px;
}

li:hover ul a:hover {
    background: #4E9942;
    color: #fff;
}

li ul {
    display: none;
    position: absolute;
}

li ul li {
    display: block;
    float: none;
    margin: 0;
    margin-left: -50px;
}

li ul li a {
    min-width: 100px;
    padding: 0 10px;
}

ul li a:hover + .hidden, .hidden:hover {
    display: block;
}

.show-menu {
    fill: #4E9942;
    text-align: center;
    display: none;
    width: 32px;
    height: 32px;
    float: right;
    margin-top: 2px;
    margin-right: 10px;
    cursor: pointer;
}
input[type=checkbox]{
    display: none;
}
input[type=checkbox]:checked ~ #menu{
    display: block;
}
/* FIN MENU */

#marge {
    width: 100%;
    height: auto;
    display: none;
}

#slide {
    width: 100%;
    height: 80vh;
    position: relative;
}

.slide_pict {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    text-align: center;
    overflow: auto;
}

.slide_title {
    -vendor-animation-duration: 3s;
    min-width: 20px;
    height: 20px;
    padding: 12px 20px;
    position: absolute;
    bottom: 100px;
    left: 5%;
    color: white;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.5);
}

.stright {
    left: initial;
    right: 5%;
}

.title2 {
    bottom: 50px;
    height: 20px;
}

#list_slide_page {
    position:absolute;
    bottom: 0;
    text-align: center;
    width: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide_page {
    width: 15px;
    height: 15px;
    background: rgba(255,255,255,0.5);
    display: inline-block;
    z-index: 1;
    margin: 15px;
    margin-bottom: 2px;
    border-radius: 5px;
    transition: all, 1s;
    cursor: pointer;
}

#selected {
    background: rgba(255,255,255,0.9);
}

#content {
    max-width: 75%;
    min-height: 340px;
    margin: 40px auto;
}

h1 {
    color: darkgreen;
}

h2 {
    color: #4E9942;
}

#content > p {
    font-size: 17px;
    line-height: 26px;
    text-align: justify;
    color: #51595d;
    font-family: Arial, sans-serif;
}

/* INDEX */

.bloc_index {
    width: 280px;
    max-width: 100%;
    display: inline-block;
    margin: 1.4%;
    transition: all, .5s;
    font-family: 'Skranji', cursive;
    color: #4E9942;
}

.bloc_index > p {
    font-size: 14px;
    text-align: center;
    color: #51595d;
    font-family: Arial, sans-serif;
}

.icon_index {
    width: 60px; 
    height: 60px;
    background-size: 60px 60px;
    margin: 10px auto;
    border-radius: 50%;
    transition: all, .5s;
}

.icon_index:hover {
    width: 75px; 
    height: 75px;
    background-size: 75px 75px;
}

.big_bloc_index {
    width: 100%;
    min-height: 300px;
    margin-bottom: 40px;
    background: rgba(214, 233, 198, 0.14);
    border-radius: 3px;
}

.big_bloc_index:hover {
    background: rgba(214, 233, 198, 0.4);
}

.big_bloc_index_pict {
    width: 320px;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    float: left;
    border-radius: 3px;
}

.big_bloc_index:nth-child(2n+1) > .big_bloc_index_pict {
    float: right;
}

.big_bloc_index > .text {
    text-align: center;
    color: #51595d;
    font-size: 18px;
    padding-top: 10px;
    line-height: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

/* FIN INDEX */

/* ENTREPRISE */

.img_entreprise {
    width: 280px;
    max-width: 100%;
    display: inline-block;
    box-shadow: 0 0 5px gainsboro;
    margin: 1.4%;
    transition: all, .5s;
}

.img_entreprise:hover {
    transform: scale(1.2);
}

#liste_ent {
    text-align: left;
    list-style-type: square;
    color: #51595d;
}

/* FIN ENTREPRISE */

#footer {
    width: 100%;
    height: 200px;
    background-color: #232323;
    color: white;
    padding-top: 10px;
    box-shadow: 0 0 5px #232323;
    letter-spacing: 1px;
}

#footer_left {
    float: left;
    width: 50%;
}

#footer_right {
    float: right;
    width: 50%;
    padding-top: 10px;
    text-align: justify;
}

#footer .fa {
    background-color: #33383b;
    color: #ffffff;
    font-size: 23px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
    transition: all, .5s;
}

#footer .fa:hover {
    background-color: #FFF;
    color: #33383b;
}

#footer .fb {
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
}

#footer p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
    font-size: 13px;
    color: gainsboro;
    text-align: left;
}

#footer b {
    color: white;
}

#footer a {
    color: white;
    text-decoration: none;
}

#contact {
    float: left; 
    width: 50%;
}

#googlemap {
    float: right;
    min-height: 320px;
    width: 50%;
}

#contact > .fa {
    background-color: #33383b;
    color: #ffffff;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    margin: 10px 15px;
    vertical-align: middle;
    transition: all, .5s;
}

#contact > .fa:hover {
    background-color: #FFF;
    color: #33383b;
}

#contact > p {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    font-size: 20px;
    color: #51595d;
    text-align: left;
}

#contact > p a {
    color: #51595d;
    transition: all, 0.4s;
}

#contact > p a:hover {
    color: #4E9942;
    text-decoration: none;
}

#actu {
    display: flex;
    margin: auto;
    justify-content: center;
    text-align: center;
}

.actu {
    display: inline-block;
    width: 250px;
    height: 300px;
    background: #0b5c1a;
    color: white;
    margin: 30px;
    box-shadow: 0 10px 10px gainsboro;
    transition: .5s;
}

.actu a {
    color: #b5d0b2;
    text-decoration: none;
}

.actu a:hover {
    color: white;
}

.date {
    background: #4E9942;
    text-transform: uppercase;
    font-family: 'Skranji', cursive;
    letter-spacing: 2px;
    width: 50px;
    height: 20px;
    padding: 5px;
    float: left;
}

.photo_act {
    width: 250px;
    height: 160px;
    border-bottom: 1px solid white;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.actu:hover {
    box-shadow: 0 10px 10px silver;
    background: #4E9942;
}

#video {
    text-align: center;
}
#video object,
#video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#index {
    margin-top: 20px;
    margin-bottom: 20px;
    color: white;
}

#index .div {
    display: inline-block;
    width: 40%;
    height: 260px;
    border-radius: 3px;
    cursor: pointer;
    margin: 10px;
}

#index img {
    width: 100%;
    min-height: 260px;
    border-radius: 0 0 3px 3px;
}

#index div.title {
    padding-top: 5px;
    padding-bottom: 5px;
    background: rgba(0,0,0,0.8);
    border-radius: 3px 3px 0 0;
}

#list_pdt  {
    float: right;
    font-size: 30px;
    margin-right: 20px;
}

#list_pdt li {
    text-align: left;
    list-style: none;
}

.description {
    color: #51595d;
    text-align: justify;
    width: 80%;
    margin: auto;
    padding: 15px;
    padding-top: 5px;
    background: rgba(214, 233, 198, 0.14);
}

.description h2 {
    text-align: center;
}

@media screen and (max-width : 1112px){

    .description {
        width: 95%;
        padding: 5px;
        margin: auto;
    }

    #slide {
        height: 40vh;
    }

    #index .div {
        display: block;
        width: 95%;
        height: 320px;
        margin: auto;
        margin-bottom: 20px;
    }

    #actu{
        display: block;
    }
    #navtwo > #menu {
        margin:0px;
    }
    ul#menu {
        position: static;
        display: none;
        width: 100%;
        background: white;
        box-shadow: 0 10px 10px gainsboro;
        border-top: 1px solid gainsboro;
        text-align: center;
    }
    li {
        margin-bottom: 1px;
    }
    ul#menu li, li a {
        text-align: center;
        width: 100%;
    }
    li ul li a {
        padding: 0;
    }
    .show-menu {
        display:block;
    }
    li ul li {
        margin-left: -40px;
    }
    li ul {
        width: 100%;
        position: initial;
    }
    li a {
        height: 50px;
        margin: 0;
    }
    #header > #navtwo > #logo {
        width: 250px;
        height: 50px;
        background-size: 500px 60px;
        margin-top: 0px;
        margin-left: 5px;
    }
    #header > #navtwo > #logo:hover {
        background-position: -250px 0;
    }
    #header > #navtwo {
        width: 100%;
        height: 50px;
    }
    .show-menu {
        margin-top: 8px;
    }
    #footer {
        height: auto;
    }
    #footer_left, #footer_right {
        float: none;
        width: 100%;
        text-align: center;
        margin: auto;
    }
    #footer_right p {
        text-align: justify;
    }
    #footer_left {
        text-align: left;
    }
    #footer_left > div {
        margin: auto;
        width: 230px;
    }
    #footer .fa {
        margin: 10px 0px;
    }

    #contact {
        width: 100%;
        float: none;
        text-align: left;
    }
    #googlemap {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    #content {
        max-width: 90%;
        margin: auto;
        margin-top: 20px;
        padding: 0;
        text-align: center;
    }

    .big_bloc_index {
        width: 100%;
        margin-bottom: 20px;
    }

    .big_bloc_index_pict {
        width: 100%;
        height: 50vh;
        background-size: cover;
        background-position: center;
        float: none;
    }

    .actu { 
        margin: 10px auto;
    }

    #list_pdt  {
        float: none;
    }

    .marge {
        height: 0px;
    }
}

#choice_img_pict {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    margin-bottom: 15px;
}

#choice_img {
    padding: 14px 45px;
    background: #4E9942;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}

#choice_img:hover {
    background: #119939;
}

#valid_upImg {
    padding: 10px 85px;
    background: #355e32;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    border: 0;
}

#update_img {
    cursor: pointer;
    width: 100%;
    height: 90%;
    transition: all 0.4s;
    padding-top: 10%;
    text-align: center;
}

#update_img:hover {
    background: rgba(0,0,0,0.6);
}

#update_img img {
    display: none;
    width: 50px;
    margin: auto;
    transition: all 0.8s;
}

#update_img:hover img {
    display: block;
}

.popup {
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    text-align: center;
    display: none;
}

/* Modal Content/Box */
.popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

table.cinematique {
    border: 0;
    background-color: #F9FFF7;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}
table.cinematique tbody td {
    font-size: 13px;
    color: #000000;
    padding: 10px;
}
table.cinematique tr:nth-child(even) {
    background: #E0EDD8;
}

table.cinematique td:nth-child(odd) {
    background: #749837;
    width: 10%;
    color: white;
}

table.spetech {
    border: 0;
    background-color: #F9FFF7;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}
table.spetech tbody td {
    font-size: 13px;
    color: #000000;
    padding: 10px;
}
table.spetech tr:nth-child(even) {
    background: #E0EDD8;
}

hr {
    border: 1px solid rgba(73, 152, 59, 0.32);
    margin-top: 20px;
    margin-bottom: 20px;
}

.bulle {
    padding: 10px 20px;
    height: 9px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    visibility : hidden;
}

.update_text {
    cursor: pointer;
}

.update_text:hover {
    opacity: 0.5;
    background: rgba(0,0,0,0.3);
}

textarea{  
    overflow:hidden;
    padding:10px;
    width:250px;
    min-height: 200px;
}

#contact_form > textarea, input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid gainsboro;
    font-size: 14px;
}

.g-recaptcha {
    margin: auto;
    text-align: center;
}

.linkpdf {
    text-decoration: none;
    color: #0b5c1a;
    font-weight: bold;
}