/* Addition */
/* Apply a natural box layout model to all elements */
/* Read this post by Paul Irish: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
 * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.ch-grid a{
  color:#fff;
}

.ch-grid a .ch-item {
	width: 100%;
	height: 100%;	
	position: relative;	
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  margin: 30px 0;
		
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.ch-grid a .ch-item .ch-info {
	position: absolute;
	background: rgba(17,17,17,0.7);
	width: inherit;
	height: inherit;	
	opacity: 1;
  top:0;
  left:0;
	


}

@media (min-width: 1200px) {
  .ch-grid a .ch-item .ch-info {
    opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  
  -webkit-backface-visibility: hidden;
  }
}

.ch-grid a .ch-item img {
  width: 100%;
}

.ch-grid a:hover .ch-item {
	box-shadow: 
		inset 0 0 0 1px rgba(255,255,255,0.1),
		0 1px 2px rgba(0,0,0,0.1);
}

.ch-grid a:hover .ch-item .ch-info {
	opacity: 1;
}

@media (min-width: 1200px) {
  .ch-grid a:hover .ch-item .ch-info {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.ch-grid a:hover .ch-item .ch-info p {
	opacity: 1;
}

.ch-info h3  {
 font-size: 18px;
 margin: 0;
 padding: 25px 0 0;
}

.ch-info p {
 font-size: 14px;
 margin: 0 12px;
 padding: 5px 0 10px 0;
}

.ch-info p.descr {
 display:block;
}

@media (min-width: 768px) {
  .ch-info p.descr  {
   display:none;
  }
}

@media (min-width: 992px) {
  .ch-info p.descr  {
   display:block;
  }
}

.ch-grid {
  list-style: outside none none;
  padding: 0 0 50px;
  text-align: center;
}

.ch-grid:after,
.ch-item:before {
	content: '';
  display: table;
}

.ch-grid:after, .ch-grid:after {
	clear: both;
}


/****************************************************************/

.view {
  width: 250px;
  height: 170px;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  margin:10px auto;
  background: #fff;
}
.view .mask,.view .content {
  width: 250px;
  height: 167px;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}
.view img {
  display: block;
  position: relative;
}
.view h2 {
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 24px;
  padding: 10px;
  /*background: rgba(0, 0, 0, 0.8);*/
  margin: 20px 0 0 0;
}
.view p {
 color: #fff;
 font-size: 54px;
 line-height: 32px;
 padding: 0;
 position: relative;
 text-align: center;
}
.view a.info {
 color: #fff;
 display: inline-block;
 font-size: 32px;
 line-height: 30px;
 padding: 2px 12px 6px;
 text-decoration: none;
 border: 2px solid #fff;
}
.view a.info:hover {
  background: #2087c2;
}


.view-third .mask {
  background-color: rgba(0,0,0,0.6);

}

.btn-accueil {
 margin: 30px 0;
}


@media (min-width: 768px) {
	.view {
	  width: 249px; /*220*/
	  height: 164px; /*146*/
	  float: left;
	  margin: 10px 0;
	}
	.view .mask,.view .content {
	  width: 249px; /*220*/
	  height: 164px; /*146*/
	}
	
	
	.centre {
	 margin: 10px 20px;
	}
	
	.view h2 {
	 margin: 7px 0 0;
	}
	
	.btn-accueil {
	 margin: 20px auto;
	 width: 818px; /*730*/
	}
}


@media (min-width: 1200px) {
	.btn-accueil {
	 margin: 30px auto;
	 width: 1170px;
	}

.view {
  width: 370px;
  height: 245px;
}
.view .mask,.view .content {
  width: 370px;
  height: 245px;
}

.centre{
	margin:10px 15px;
}

.view h2 {
 font-size: 35px;
 margin: 22px 0 0;
}

.view p {
 font-size: 78px;
 line-height: 46px;
 padding: 0 0 14px;
}

.view-third img {
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.view-third .mask {
  background-color: rgba(0,0,0,1);
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transform: translate(460px, -100px) rotate(180deg);
  -moz-transform: translate(460px, -100px) rotate(180deg);
  -o-transform: translate(460px, -100px) rotate(180deg);
  -ms-transform: translate(460px, -100px) rotate(180deg);
  transform: translate(460px, -100px) rotate(180deg);
  -webkit-transition: all 0.2s 0.4s ease-in-out;
  -moz-transition: all 0.2s 0.4s ease-in-out;
  -o-transition: all 0.2s 0.4s ease-in-out;
  -ms-transition: all 0.2s 0.4s ease-in-out;
  transition: all 0.2s 0.4s ease-in-out;
}
.view-third h2 {
  -webkit-transform: translateY(-100px);
  -moz-transform: translateY(-100px);
  -o-transform: translateY(-100px);
  -ms-transform: translateY(-100px);
  transform: translateY(-100px);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.view-third p {
  -webkit-transform: translateX(300px) rotate(90deg);
  -moz-transform: translateX(300px) rotate(90deg);
  -o-transform: translateX(300px) rotate(90deg);
  -ms-transform: translateX(300px) rotate(90deg);
  transform: translateX(300px) rotate(90deg);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.view-third a.info {
  -webkit-transform: translateY(-200px);
  -moz-transform: translateY(-200px);
  -o-transform: translateY(-200px);
  -ms-transform: translateY(-200px);
  transform: translateY(-200px);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.view-third:hover .mask {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  -ms-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}
.view-third:hover h2 {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  -ms-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.view-third:hover p {
  -webkit-transform: translateX(0px) rotate(0deg);
  -moz-transform: translateX(0px) rotate(0deg);
  -o-transform: translateX(0px) rotate(0deg);
  -ms-transform: translateX(0px) rotate(0deg);
  transform: translateX(0px) rotate(0deg);
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.view-third:hover a.info {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  -ms-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
}
				