/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/*
CSS FOR FILTERED-CONTENTS-CAROUSEL
*/
.filtered-contents-carousel{
	padding-bottom: 36px;
}

.filtered-contents-carousel div.rss
{
	float: right;
}

.filtered-contents-carousel .carousel-container {
	margin: 0 auto;
}
.filtered-contents-carousel .carousel-container.js {
	position: relative;
}

.filtered-contents-carousel .carousel-wrap,
.filtered-contents-carousel ul {
	margin: 0 auto;
}

.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li {
	display: block;
	float: left;
	position: relative;
}

.filtered-contents-carousel{ position: relative; }

#main-content.index .filtered-contents-carousel .link{
  margin-right: auto;
  margin-left: auto;
  overflow:hidden;
  font-size: 1.6em;
/*   position: absolute; */
/*   top: 16px; */
  text-align:right;
/*   right: 0; */
  display: inline;
}

.filtered-contents-carousel .carousel-pagination p{
    display: inline-block;
}

.filtered-contents-carousel.filtered-contents-link h1,
.filtered-contents-carousel.filtered-contents-link h2,
.filtered-contents-carousel.filtered-contents-link h3{
	white-space: nowrap;
}

/* #header */
#header .filtered-contents-carousel > h1{
   	position: absolute;
	color: rgb(255, 255, 255);
	width: 1094px;
	text-align: center;
	z-index: 10;
	left: 50%;
	margin-top: 18px;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

#header .filtered-contents-carousel .content-illustration{
    overflow: hidden;
    position: relative;
    height: 588px;
}

#header .filtered-contents-carousel .ametys-cms-content .content-illustration img{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
	max-width: none;
}

#header .filtered-contents-carousel .link-bottom{
	padding-left: 15px;
  	padding-right: 15px;
  border-width:0;
  margin-top:0;
  padding-top:0;
  text-align: right;
  width:100%;
  position: absolute;
  z-index:100;
  top: 18px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

#header .center-wrap{
    position: absolute;
    top: 29px;
    text-align: center;
    left: 0;
    right: 0;
}

#header .center-wrap button,
#header .center-wrap input{
    border: 0;
}

#header .center-wrap p{
    margin: 0;
}
#header .center-wrap .carousel-pagination{ top: 0; text-align: center; right: 0; }

#header .center-wrap .carousel-pagination p a{ display: none; }


#header .center-wrap .pause{
    display: inline-block;
    background:transparent url("../../img/slider_pause.png") no-repeat scroll center center;
    width: 25px;
    height: 43px;
    margin: 0 10px;
}

#header .center-wrap .play{
    display: inline-block;
    background:transparent url("../../img/slider_play.png") no-repeat scroll center center;
    width: 25px;
    height: 43px;
    margin: 0 10px;
}

#header .center-wrap .carousel-next{
    display: inline-block;
    background:transparent url("../../img/slider_next.png") no-repeat scroll center center;
    width: 28px;
    height: 43px;
    margin: 0 10px;
}

#header .center-wrap .carousel-previous{
    display: inline-block;
    background:transparent url("../../img/slider_prev.png") no-repeat scroll center center;
    width: 28px;
    height: 43px;
    margin: 0 10px;
}

#header .center-wrap .carousel-next[disabled=disabled],
#header .center-wrap .carousel-previous[disabled=disabled]{ opacity: 0.3; }

#header .filtered-contents-carousel .link a:link,
#header .filtered-contents-carousel .link a:visited{
    color: #ffffff;
}

#header .prev_site, #header .next_site {
    display: none;
}

/* /#header */

/* .filtered-contents-link */
.ametys-cms-service.filtered-contents-link.filtered-contents-carousel h1,
.ametys-cms-service.filtered-contents-link.filtered-contents-carousel h2{
    color: #0084BB /* AMETYS ("default.default.bgcolor.main") */;
    font-size: 2.8em;
    font-weight: 800;
    line-height: 1em;
    margin-top: 36px;
    margin-bottom: 36px;
}

#sidebar .ametys-cms-service.filtered-contents-link.filtered-contents-carousel h2,
#sidebar .ametys-cms-service.filtered-contents-link.filtered-contents-carousel h3{
	font-size: 2.4em;
	line-height: 1.1;
	color: #0084BB /* AMETYS ("default.default.bgcolor.main") */;
	margin-top:0;
}

.filtered-contents-carousel.filtered-contents-link .link{
	padding: 0;
    position: static;
    transform: none;
    text-align: left;
}

.filtered-contents-carousel.filtered-contents-link .ametys-cms-content{ padding-top: 0; padding-bottom: 0; }

/* .filtered-contents-abstract - .filtered-contents-succinct */
.ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-abstract,
.ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-succinct{
  position: relative;
  min-height: 1px;
/*   padding-left: 15px; */
/*   padding-right: 15px; */
  float: left;
  width: 100%; 
}

@media screen and (min-width: 768px) {
    
    .filtered-contents-carousel .link {
/*         width:768px; */
/*       padding-left: 35px; */
/*       padding-right: 35px; */
      left: 50%;
      right: auto;
	  -webkit-transform: translateX(-50%);
	  -ms-transform: translateX(-50%);
	  transform: translateX(-50%);
	}
	
	#header .prev_site,
    #header .next_site{
        display: block;
        position: absolute;
        top: 190px;
        z-index: 3;
        background-color: rgba(160,160,160, 0.3);
        height: 64px;
        width: 47px;
        -webkit-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
    
    #header .prev_site{
        left: 0;
    }
    
    #header .next_site{
        right: 0;
    }
    
    #header .prev_site{
        border-radius: 0 18px 18px 0;
    }
    
    #header .next_site{
        border-radius: 18px 0 0 18px;
    }
    
    #header .prev_site a,
    #header .next_site a{
        display: inline-block;
        color: white;
        line-height: 64px;
        font-size: 1.5em;
        font-weight: 400;
        white-space: nowrap;
        width: 100%;
        text-align: center;
    }
    
    #header .prev_site a span,
    #header .next_site a span{
        display: none;
        margin: 0 20px;
        float: left;
    }
    
    #header .prev_site:hover,
    #header .next_site:hover{
        background-color: #aacb39;
        text-decoration: none;
        display: block;
        width: auto;
    }
    
    #header .prev_site i,
    #header .next_site i{
        font-size: 30px;
        float: left;
        display: inline-block;
        line-height: 64px;
    }
    
    #header .next_site i {
        float: right;
    }
    
    #header .prev_site:hover a span,
    #header .next_site:hover a span{
        display: block;
    }
    
    #header .prev_site a{
        padding-left: 11px;
    }
    
    #header .next_site a{
        padding-right: 11px;
    }
	
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list>ul>li{ float: left; width: 100%; }

	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x2>ul>li{ width: 50%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x3>ul>li{ width: 33%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x4>ul>li{ width: 25%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x5>ul>li{ width: 20%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x6>ul>li{ width: 16%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x7>ul>li{ width: 14%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x8>ul>li{ width: 12.5%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x9>ul>li{ width: 11%; }
	.filtered-contents-carousel .carousel-container.js .carousel-wrap>ul>li.content-list.x10>ul>li{ width: 10%; }
	
	/* #header */
	#header .filtered-contents-carousel .link-bottom{
		width: 768px;
		margin: 0 auto;
	}
	
	#header .center-wrap{
    	top: -30px;
	}
	
	#header .center-wrap .carousel-pagination{ top: 80px; }
	
/*     #header .filtered-contents-carousel .center-wrap{ */
/*         top: 155px; */
/*     } */
    
    #header .filtered-contents-carousel .carouselDetails{
        top: 200px;
    }
    /* /#header */

    /* .filtered-contents-link */
    .filtered-contents-carousel.filtered-contents-link.ametys-cms-service .service-title > h1, 
    .filtered-contents-carousel.filtered-contents-link.ametys-cms-service .service-title > h2, 
    .filtered-contents-carousel.filtered-contents-link.ametys-cms-service .service-title > h3{ padding-bottom:0; margin-bottom:15px; }
    
    .ametys-cms-service.filtered-contents-link.filtered-contents-carousel h1,
	.ametys-cms-service.filtered-contents-link.filtered-contents-carousel h2{
		font-size: 2.4em;
		margin-bottom: 29px;
	}
	
	.filtered-contents-carousel.filtered-contents-link .table .table-cell .table{ display: table; }
	.filtered-contents-carousel.filtered-contents-link .table .table-cell .table-row{ display: table-row; }
	.filtered-contents-carousel.filtered-contents-link .table .table-cell .table-cell{ display: table-cell; }
    
    .filtered-contents-carousel.filtered-contents-link .carousel-control.previous,
    .filtered-contents-carousel.filtered-contents-link .carousel-control.next{
        width: 15px;
        height: 25px;
        background-size: 100% 100%;
        top: 0;
    }
    
    .filtered-contents-carousel.filtered-contents-link .carousel-control.previous{
        left: 280px;
    }
    
    .filtered-contents-carousel.filtered-contents-link .carousel-control.next{
        left: 295px;
    }
    
    .filtered-contents-carousel.filtered-contents-link button.slide-control{
        width: 12px;
        height: 17px;
        left: auto;
        right:0;
        top: 48px;
        background-size: 100% 100%;
    }
    
    #top .filtered-contents-carousel.filtered-contents-link .link-bottom,
    #default .filtered-contents-carousel.filtered-contents-link .link-bottom,
    #bottom .filtered-contents-carousel.filtered-contents-link .link-bottom{ float:left; border-width: 0; margin-top:0; padding-top:0; }
    
    /* filtered-content-abstract - .filtered-contents-succinct */
    .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-abstract{
    	float: left;
    	width:50%;
    }
    .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-abstract,
    .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-succinct{
   	  position: relative;
	  min-height: 1px;
/* 	  padding-left: 35px!important; */
	  padding-right: 70px!important;
    }
    
    #top .ametys-cms-service.filtered-contents-carousel.filtered-contents-abstract .link-bottom,
    #top .ametys-cms-service.filtered-contents-carousel.filtered-contents-succinct .link-bottom,
    #default .ametys-cms-service.filtered-contents-carousel.filtered-contents-abstract .link-bottom,
    #default .ametys-cms-service.filtered-contents-carousel.filtered-contents-succinct .link-bottom,
    #bottom .ametys-cms-service.filtered-contents-carousel.filtered-contents-abstract .link-bottom,
    #bottom .ametys-cms-service.filtered-contents-carousel.filtered-contents-succinct .link-bottom{
    	bottom: auto;
		top: 36px;
		border-width: 0;
		position: absolute;
		right: 0;
		padding-top: 0;
    }
    
/*     .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-abstract, */
/* 	.ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-succinct{ padding-bottom: 56px; } */
    
}

@media screen and (min-width: 1094px) {
	
	.filtered-contents-carousel h2 {
        margin-bottom: 21px;
    }
    
    .filtered-contents-carousel .link{
        top: 36px;
/*         width:100%; */
        right: 0;
        left: auto;
        -webkit-transform: none;
	  -ms-transform: none;
	  transform: none;
    }
    .col-lg-9 .filtered-contents-carousel .link{
    	/*width:820px;  1094 x 75% */
    }
    
    .filtered-contents-carousel {
        position: relative;
        z-index: 2;
        overflow: hidden;
    }
    
    /* #header */
	#header .filtered-contents-carousel .link-bottom{
		width: 1094px;
	}
	
	#header .center-wrap{
    	top: 29px;
	}
	
    /* /#header */
    
    /* .filtered-content-link */
    .filtered-contents-carousel.filtered-contents-link .carousel-control.previous {
        left: 245px;
    }
    
    .filtered-contents-carousel.filtered-contents-link .carousel-control.next {
        left: 262px;
    }
    
    .filtered-contents-carousel.filtered-contents-link .carousel-wrap p {
        margin: 0;
    }
    
    .filtered-contents-carousel.filtered-contents-link button.slide-control{
        top: 0;
    }
    
    .filtered-contents-carousel.filtered-contents-link {
        padding-bottom: 20px;
    }
    
    .index .filtered-contents .table-cell+.table-cell,
	#default .filtered-contents .table-cell+.table-cell{ text-align: right; }
    
    .filtered-contents-carousel.filtered-contents-link .table-cell.service-title{ width: 5px; vertical-align: top; }
	.filtered-contents-carousel.filtered-contents-link .table-cell .ametys-cms-content{ margin-top:36px; padding-top: 0; }
    
    .filtered-contents-carousel.filtered-contents-link .table-cell+.table-cell{ padding-left: 20px; padding-right: 100px; }
    .filtered-contents-carousel.filtered-contents-link .table-cell .table-cell+.table-cell{ padding-left: 5px; padding-right: 5px; width:10%; }
    
    .filtered-contents-carousel.filtered-contents-link .ametys-cms-content.news.view-link,
    .filtered-contents-carousel.filtered-contents-link .ametys-cms-content.news.view-link .content-link a{ padding-bottom:0; margin-bottom:15px; }
    
    /* .filtered-content-abstract - .filtered-contents-succinct */
    .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-abstract,
    .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-succinct{
   	  position: relative;
	  min-height: 1px;
/* 	  padding-left: 15px!important; */
	  padding-right: 30px!important;
    }
    /* filtered-content-abstract - .filtered-contents-succinct */
    .ametys-cms-service.filtered-contents-carousel .ametys-cms-content.view-abstract{
    	width:100%;
    }
}