/*  
Theme Name: Normand'Innov
Theme URI: http://www.normandinnov.fr/
Description: Thème Wordpress pour Normand'Innov
Author: CCE
Author URI: www.cce-organisation.fr
*/

#header {
	position: relative;
}
.navbar {
	position:relative;
	background-color:#97C234;
	height:100px;
	border-radius: 0px;
	border:0px;
	padding:0px;
	position: fixed;
	top:0px;
	z-index: 20;
	width: 100%;
	transition: background-color 0.4s ease-in;
	-webkit-box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.16);
	-moz-box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.16);
	box-shadow:0px 3px 15px 0px rgba(0,0,0,0.16);
}
.navbar::before {
	content:"";
	position:absolute;
	z-index:2;
	background-image:url(../img/pattern-haut-gauche.png);
	background-position:top left;
	background-repeat: none;
	left:0px;
	top:0px;
	height:120px;
	width:309px;
	background-size:100% 100%;
}
.navbar .container {
	position: relative;
	height: 100%;
}
@media(max-width:992px) {
	.navbar .container {
		width:100%;	
		max-width:100%;
		position:relative;
		margin-left:auto;
		margin-right:auto;
		padding:0px 15px;
	}
}
.navbar .logo-menu-container {
	width:20%;
}
.navbar .logo-menu-container h1,
.navbar .logo-menu-container h2 {
	position: absolute;
	left: 15px;
	top: 22px;
	z-index: 2;	
}
.sitename {
	display:none;
}
.navbar .navbar-brand .logo {
	max-height:32px;
}

.hamburger {
	position: absolute;
	right: 20px;
	width: 40px;
	height: 30px;
	text-align: center;
	border: none;
	top: 10px;
	transition:all 0.2s;
	background-color:transparent;
	cursor:pointer;
	z-index:4;
}
.hamburger .str-only {
  opacity: 0;
  float: left;
  color: #fff;
  background-color:#fff;
  width: 0px;
  overflow: hidden;
  transition:opacity 0.2s;
}
.hamburger .icon-bar {
  position:absolute;
  margin:6px auto;
  width:30px;
  background-color:#fff;
  height:3px;
  transition:all 0.1s;
}
.hamburger .icon-bar:first-child {
  top:2px;
  right:5px;
}
.hamburger .icon-bar:nth-child(2) {
  top:12px;
  right:5px;
}
.hamburger .icon-bar:nth-child(3) {
  top:22px;
  right:5px;
}
.hamburger.closemenu {
	width:80px;
	height:40px;
	width:100px;
	background-color:transparent;
}
.hamburger.closemenu .str-only {
	opacity: 1;
	width: 50px;
	color:#fff;
}

.hamburger.closemenu .icon-bar:nth-child(2) {
  opacity:0;
}
.hamburger.closemenu .icon-bar:nth-child(1) {
  top:12px;
  right:5px;
	background-color:#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);  
}
.hamburger.closemenu .icon-bar:nth-child(3) {
  top:12px;
  right:5px;
	background-color:#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);  
}


@media (min-width: 360px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
  .hamburger {
  	display: none;
  }
	.menu-container {
		display:block;
		opacity:1;
		width:80%;
		font-weight: 700;
		text-align:right;
		margin-top:30px;
	}
	.menu-container ul {
		padding:0px;
		list-style:none;
	}
	.menu-container a {
		text-transform: uppercase;
		color:#fff;
		text-decoration: none;
		padding-bottom:4px;
	}
	.menu-container a:hover,
	.menu-container .current-menu-item a {
		border-bottom:solid 3px #E62A34;
	}
	.menu-container a:hover {
		color:#e62a34;
	}
	.menu-container ul li {
		position:relative;
		padding:0 10px;
		display: inline-block;
		vertical-align: top;
		font-size:14px;
	}
	.menu-container li::after {
		content:"";
		position:absolute;
		right:-3px;
		top:4px;
		height:10px;
		width:3px;
		background-color:#FAF3AA;
	}
	.menu-container li::first-child {
		padding-left:0;
	}
	.menu-container li::last-child {
		padding-right:0;
	}
	.menu-header {
		display:inline-block;
		vertical-align:top;
		width:90%;
	}
	.menu-languages {
		display:inline-block;
		vertical-align:top;
		width:60px;
		height:60px;
		text-align:right;
		position:relative;
	}
	.menu-languages .languages {
		position:absolute;
		top:0px;
		right:0px;
		width:60px;
		min-height:33px;
	}
	.menu-languages .languages::after {
		content:"\f107";
		font-family:"FontAwesome";
		position:absolute;
		right:12px;
		top:0px;
		font-size:14px;
		color:#fff;
	}
	.menu-languages ul.languages li {
		display:none;
		text-align:left;
		padding-top:0px;
		padding-right:6px;
		padding-left:10px;
		margin-bottom:10px;
	}
	.menu-languages ul.languages li::after {
		display:none;
	}
	.menu-languages ul.languages li:first-child {
		padding-bottom:0px;
	}
	.menu-languages ul.languages li:last-child {
		padding-top:0px;
	}
	.menu-languages ul.languages li.current-lang {
		display:block;
		color:#fff;
	}
	.menu-languages ul.languages li.current-lang a {
		color:#fff;
	}

}

.teasing {
  bottom: -144px;
  position: absolute;
  z-index: 5;
  right: 0;
  background-color: #fff;
  height: 44px;
  padding: 10px 20px 10px 40px;
  border-bottom-left-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
  font-style: italic;
  color: rgb(74, 181, 193);
}
.teasing a,
.teasing .fil-texte {
  color: rgb(74, 181, 193);
  text-decoration: none;
  min-width: 800px;
  white-space: nowrap;
  float: left;
  text-align: left;
}
.teasing .prochainement::before {
	content: "//////";
	color: #e22e3a;
	margin-right: 5px;
	font-size: 14px;
}
.teasing .date {
	color: rgb(156, 202, 88);
}
.teasing .titre {
	color: #e22e3a;
}
.teasing-container {
  display: block;
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 23px;
  width: 500px;
}
.teasing-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 40px;
	height: 23px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100 */
	background: -moz-linear-gradient(left,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}
.teasing-container::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 40px;
	height: 23px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}
.teasing-content {
	opacity: 0;
}

/*
.defileParent {
	display: block;
	margin: 3em auto;
	overflow: hidden;
	position: relative;
	table-layout: fixed;
	width: 700px;
}
.defile {
	display:block;
	-webkit-animation:linear marqueelike 20s infinite ;
	-moz-animation:linear marqueelike 20s infinite ;
	-o-animation:linear marqueelike 20s infinite ;
	-ms-animation:linear marqueelike 20s infinite ;
	animation:linear marqueelike 20s infinite ;
	margin-left:-100%;
	padding:0 5px;
	text-align:left;
	height:25px;
}


.defile:after {
	content:attr(data-text);
	position:absolute;
	white-space:nowrap;
	padding-left:10px;
}

@-webkit-keyframes marqueelike {
	0%, 100% {margin-left:0;}
	99.99% {margin-left:-100%;}
 }
@-moz-keyframes marqueelike {
	0%, 100% {margin-left:0;}
	99.99% {margin-left:-100%;}
 }
@-o-keyframes marqueelike {
	0%, 100% {margin-left:0;}
	99.99% {margin-left:-100%;}
 }
@-ms-keyframes marqueelike {
	0%, 100% {margin-left:0;}
	99.99% {margin-left:-100%;}
 }
@keyframes marqueelike {
	0%, 100% {margin-left:0;}
	99.99% {margin-left:-100%;}
 }

@media only screen and (max-width: 860px) {
.defileParent {
	display: block;
	margin: 3em auto;
	overflow: hidden;
	position: relative;
	table-layout: fixed;
	width: 100%;
}

.defile {
	display:block;
	-webkit-animation:linear marqueelike 15s infinite ;
	-moz-animation:linear marqueelike 15s infinite ;
	-o-animation:linear marqueelike 15s infinite ;
	-ms-animation:linear marqueelike 15s infinite ;
	animation:linear marqueelike 15s infinite ;
	margin-left:-100%;
	padding:0 5px;
	text-align:left;
	height:25px;
}
}
*/

.teasing-container div.ruban {
  min-width: 100%; 
  overflow: hidden;
}
 
.teasing-container div.ruban span.texte {
  position: absolute;
  top:0; left:0;
  display: inline-block;
  white-space: nowrap;
}
.teasing-container div.ruban span.texte .teasing-content { 
	opacity: 1;
}
.teasing-container div.ruban span.texte:first-child {
  animation: defilement 10s infinite linear;
}
 
/*
@keyframes defilement {
  0% { left: 100%; }
  100% { left: -175%; }
}
*/
@keyframes defilement {
	0% {transform: translate3d(500px,0,0);}
	100% {transform: translate3d(-100%,0,0);}
}


@media (max-width: 1499px) {
	.teasing-container {
		width: 400px;
	}
}

@media (max-width:1199px) {
	.navbar .navbar-brand .logo {
		max-height:26px;
	}
  .navbar {
  	height:60px;
  }
  .navbar .logo-menu-container h1, 
  .navbar .logo-menu-container h2 {
  	top:6px;
  }
  .navbar::before {
  	height:70px;
  	width:160px;
  }
	.menu-burger .close {
		display:none!important;
	}
	.menu-header {
		display:none;
	}
	.menu-responsive {
		position:fixed;
		width:100%;
		height:100vh;
		z-index:1000;
		background-color:#97c234;
		display:none;
		opacity:0;
		top:0;
		left:0;
	}	
	.menu-responsive-header {
		height:60px;
	}
	.menu-responsive-header h2 {
		position: absolute;
		left: 15px;
		top: 6px;
		z-index: 2;
	}
	.menu-responsive-header::before {
    content: "";
    position: absolute;
    z-index: 2;
    background-image: url(../img/pattern-haut-gauche.png);
    background-position: top left;
    background-repeat: none;
    left: 0px;
    top: 0px;
    height: 70px;
    width: 160px;
    background-size: 100% 100%;
	}	
	.menu-responsive .sitename {
		display:none;
	}
	.menu-responsive .logo {
		max-height:26px;
	}
	.menu-responsive .close {
		font-size:0;
		position: absolute;
		right: 20px;
		width: 40px;
		height: 30px;
		text-align: center;
		border: none;
		top: 12px;
		cursor:pointer;
		opacity:1;
		transition:opacity 0.2s;
	}
	.menu-responsive .close:hover {
		opacity:0.6;
	}
	.menu-responsive .close::before {
    background: #fff;
    position: absolute;
    display: block;
    content: '';
    width: 30px;
    height: 3px;
    top: 15px;
    left: calc(50% - 15px);
    transform: rotate(-45deg);
	}
	.menu-responsive .close::after {
    background: #fff;
    position: absolute;
    display: block;
    content: '';
    width: 30px;
    height: 3px;
    top: 15px;
    left: calc(50% - 15px);
    transform: rotate(45deg);
	}
	.menu-responsive .menu-responsive-container {
		margin-top:60px;
	}
	.menu-responsive-container ul {
		list-style:none;
		margin:0px;
		padding:0;
		height:calc(100vh - 220px);
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}
	.menu-header-responsive li {
		padding:0px 0;
		font-size:16px;
		text-transform:uppercase;
		height:50px;
		display:block;
	}
	.menu-header-responsive li:first-child {
		padding-top:0px;
	}
	.menu-header-responsive li:last-child {
		padding-bottom:0px;
	}
	.menu-header-responsive li a {
		color:#fff;
		text-decoration:none;
		font-weight:700;
		display:inline-block;
	}
	.menu-header-responsive li a:hover {
		color:#e62a34;
	}
	.menu-header-responsive li a:hover,
	.menu-header-responsive .current-menu-item a {
		border-bottom:solid 3px #E62A34;
	}
	.menu-responsive-languages {
		display:inline-block;
		vertical-align:top;
		width:100%;
		height:60px;
		text-align:center;
		position:relative;
	}
	.menu-responsive-languages .languages {
		position:relative;
		display:inline-block;
	}
	.menu-responsive-languages ul.languages li {
		display:inline-block;
		vertical-align:top;
		position:relative;
		text-align:left;
		padding-top:0px;
		padding-right:10px;
		padding-left:10px;
		margin-bottom:10px;
	}
	.menu-responsive-languages ul.languages li::before {
		content: "";
		position: absolute;
		left: -3px;
		top: 4px;
		height: 14px;
		width: 3px;
		background-color: #FAF3AA;
	}
	.menu-responsive-languages ul.languages li:first-child::before {
		display:none;
	}
	.menu-responsive-languages ul.languages li a {
		color:#fff;
		text-decoration: none;
		font-weight:700;
		text-transform: uppercase;
	}	
	.menu-responsive-languages ul.languages li.current-lang {
		display:inline-block;
		color:#fff;
	}
	.menu-responsive-languages ul.languages li.current-lang a {
		color:#e62a34;
	}
	.teasing {
		bottom: -104px;
	}
	.teasing-container {
		font-size: 14px;
	}
}

@media (max-width:991px) {

}
@media (max-width: 767px) {
	.teasing {
		bottom: -96px;
		height: 36px;
		padding: 6px 20px 6px 40px;
	}
	.teasing-container {
		font-size: 12px;
		width: 300px;
	}
	@keyframes defilement {
	  0% { left: 100%; }
	  100% { left: -190%; }
	}
}