/*
    COULEURS

marron navbar: #9B6727

black texte: #000000
black lien : #000000
vert  lien hover: greenyellow


*/


@font-face {
  	font-family: 'EBGaramond-Regular';
    font-style: normal;
  	src: url('../_fonts/EB_Garamond/sttic/EBGaramond-Regular.ttf') format('truetype');
}

@font-face {
  	font-family: 'OpenSans-Regular';
 	 font-style: normal;
  	src: url('../_fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
  	font-family: 'OpenSans-Italic';
 	 font-style: normal;
  	src: url('../_fonts/Open_Sans/OpenSans-Italic.ttf') format('truetype');
}
@font-face {
  	font-family: 'OpenSans-Bold';
 	 font-style: normal;
  	src: url('../_fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
  	font-family: 'Roboto-Regular';
 	 font-style: normal;
  	src: url('../_fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}
@font-face {
  	font-family: 'Roboto-Italic';
 	 font-style: normal;
  	src: url('../_fonts/Roboto/Roboto-Italic.ttf') format('truetype');
}
@font-face {
  	font-family: 'Roboto-Bold';
 	 font-style: normal;
    src: url('../_fonts/Roboto/Roboto-Bold.ttf') format('truetype');
}

.spip-admin-float {
    z-index:10000!important;
}

/********** Template CSS **********/

:root {
    --primary: #107F40;
    --light: #F5F5F5;
    --dark: #353535;
}

body{
   font-family:'OpenSans-Regular'; 
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** SCROLL TO TOP ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.btn-greenY{
    color: green;
    background-color:greenyellow;
    border-color:green; 
}


/*** Footer ***/
.footer {
    /*! background: linear-gradient(rgba(53, 53, 53, .7)); */
    font-size:.8em;
    line-height: .5em;
    margin: 4em 0;
}
.footer p {padding:0;}
.footer a {
    color :#FFF;
    text-decoration: none;
}
.footer a:hover {
    color: greenyellow;
}
.footer .copyright {
    padding: 25px 0;
}

img {
    margin: 2em 0 0 ; 
}
    

/*** Typo***/
p {
    font-size:1.3em;
    line-height: 1.8em;
    padding:10px 20px;
}
h1,h2,h3,h4, h1.spip,h2.spip,h3.spip,h4.spip { font-family:'OpenSans-regular'; }
h1 {font-weight: 900; }
h3 { 
    font-weight: 400;
    padding:30px 0px 0px;
}
h5 {
    font-weight: 600;
    padding:10px 0px 0px;
}
.spip_mail{
    text-decoration: none;
    color: green;
}
.spip_mail:before {
  	 font-family: "FontAwesome";
   	 content: "\f003";  
	padding-right: 4px;    
}

.spip_out{
    text-decoration: none;
    /*color: greenyellow!important;*/
	color: green!important;
}
.spip_out:after { 
    font-family: "FontAwesome";
	content: "\f0c1";
    padding : 0 0 0 10px ;
}
@media (max-width: 768px) {
  p {
    font-size:1em;
    line-height: 1.3em;
    padding:5px 10px;
    } 
}
 
/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}
.btn.btn-primary,.btn.btn-secondary {
    color: #FFFFFF;
}


/*** TOOLTIP ***/
.tooltip .tooltip-inner {
  background:#9B6727;
    color: #FFF;
}
.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: #9B6727!important;
}
.tooltip.tooltip.start .tooltip-arrow::before {
  border-left-color: #9B6727!important;
}
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #9B6727!important;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #9B6727!important;
}

/*** Navbar ***/
.nav-item {margin:0 10px;}
a.nav-item,.nav-item a {color:#FFF!important;}
a:hover.nav-item, .nav-item a:hover { color:greenyellow!important;}
.navbar {
    /* background-color:#9B6727;*/
    background-color:rgba(139,132,127,1.0);
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 15px 0;
    color: #FFFFFF;
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}
.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar-light .navbar-nav {
    /*border-top: 1px solid #EEEEEE;*/
    }
}
.navbar-light .navbar-brand,.navbar-light a.btn {
    height: 75px;
}
.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}
.navbar-light.sticky-top {
    margin:0px 0;
    padding:0 40px;
    top: -100px;
    transition: .5s;
    font-size:1.5em;
}
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
@media (max-width: 1050px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 0.8em!important;
        line-height: .9em;
    }
}

.menu {
    padding:20px;
    background-color:rgba(139,132,127,1.0);
     background-color:rgba(139,132,127,.6);
    border-radius: 20px
}
.menu ul li {
    margin: 0 0 15px 0;
    font-size: 1.2em;
}
.menu ul li a {
    font-size: 1.4em;
    text-decoration: none;
    color:#000;
}
.menu ul li a:hover {
    color:greenyellow;
}


/***             ***/
/***             ***/
/***  LES PAGES  ***/
/***             ***/
/***             ***/

/***  SOMMAIRE   ***/
#artSom_1{
    padding:3em 0 4em 0;
}
#artSom_1 h1{
  font-size:1.8em;
}
@media (max-device-width: 768px) {
    #artSom_1{
    padding:0 10px;
}
    #artSom_1 h1{
        font-size:1.4em;
    }
}

/***  ARTICLE    ***/
.container.article {
    padding : 3em 0 0;
}
.page_article .menu {
    padding-top:0;
}
.page_article .menu h3{
    font-size:2.5em;
}
.page_article .menu {
    font-size:.6em;
}

/***  RUBRIQUE   ***/
/*   ACTUALITES    */
.actualites .menu_articles li {
	margin-bottom:30px;
}


.actu {
	background-color: #FFF;
	font-size:.8em;
	padding:10px 30px;
}

/***  Diaporama Galleria ***/
/*   max-device-width:480px  */
.conteneur-galleria {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0 25% ;
}
.galleria-container{
    width:100%;
    /*height:300px!important;*/
}
.galleria-image img{
    top:-30px!important;
    width:100%!important;
}

/*@media (min-width: 769px) {
    .galleria-image img{width:100%!important;}
} */
@media (max-device-width: 768px) {
    .galleria-container{
        width:640px!important;
        height:300px!important;
    }
    .galleria-images img{
         width:640px!important;
         height:300px!important;
     }
}
@media (max-device-width: 480px) {
    .galleria-container{
        width:360px!important;
        height:240px!important;
    }
     .galleria-images img{
         width:360px!important;
         height:240px!important;
     }
}
@media (max-device-width: 320px) {
    .galleria-container{
        width:260px!important;
        height:160px!important;
    }
     .galleria-images img{
         width:260px!important;
         height:160px!important;
     }
}
  
/*** PAGE 404  ***/ 
.page_404 h1 {
    font-size: 1.8em;
}
.page_404 h2 {
    font-size: 1.3em;
}    

/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}
.section-title.text-start h1 {
    padding-left: 0;
}
.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}
.section-title h1::before {
    left: 0;
}
.section-title h1::after {
    right: 0;
}
.section-title.text-start h1::before {
    display: none;
}

/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }
    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}
@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}
@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Service ***/
.service-item img {
    transition: .5s;
}
.service-item:hover img {
    transform: scale(1.1);
}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}
@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}
@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}
#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}
.portfolio-item img {
    transition: .5s;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}
.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}
.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}
.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}

/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}
@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}
@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Team ***/
.team-item img {
    transition: .5s;
}
.team-item:hover img {
    transform: scale(1.1);
}
.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}
.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}
.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}
.team-item:hover .team-social {
    left: 0;
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}
.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}
@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}
.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}
.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}
.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }
    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}
@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}
@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}
