/***** CSS POUR RECHERCHE AVANCEE ARTICLE ******/

#S_familles {
	float: left;
	height: 100%;
	width: 30rem;
	/* border-right: solid 2px rgba(0,0,0,0.2); */
	overflow: hidden;
}

#S_familles .scroller {
	border-right: solid 1px rgba(0,0,0,0.2);
}

#S_content {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#S_content div {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

#S_content .titre {
	font-size: 1.6rem;
	/* text-transform: uppercase; */
	background: rgb(159, 173, 182);
	text-align: left;
	height: 5rem;
	overflow: hidden;
	padding: 0 1rem;
	line-height: 5rem;
	display: block;
	color: white;
	z-index: 5;
}

#S_content .titre::before {
	padding-right: 1rem
}

#S_content .switchview {
	position: absolute;
	height: 5rem;
	width: 5rem;
	/* background-color: red; */
	top: 0;
	right: 5rem;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.8);
	z-index: 7;
}

#S_content .allview {
	position: absolute;
	height: 5rem;
	width: 15rem;
	/* background-color: red; */
	top: 0;
	right: 10rem;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.8);
	z-index: 7;
	font-size:  1.7rem;
	line-height: 5rem;
}

#S_content .switchview:hover {
	background-color: rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.8);
}

#S_content .allview:hover {
	background-color: rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.8);
}

#S_content .switchview::before {
	font-size: 2.5rem;
	text-align: center;
	line-height: 5rem;
	display: inline-block;
	width: 5rem;
	
}

#S_content .allview::before {
	font-size: 2rem;
	text-align: center;
	line-height: 5rem;
	display: inline-block;
	width: 5rem;
	
}

#S_content .search {
	position: absolute;
	height: 5rem;
	width: 25rem;
	/* background-color: red; */
	top: 0;
	right: 27rem;
	color: rgba(255, 255, 255, 0.8);
	z-index: 1000;
	font-size:  1.7rem;
	line-height: 5rem;
}

#S_content .search .field {
	width: 20rem;
	background-color: rgba(255,255,255,0.8);
}

#S_content .search .btnsearch {
	width: 5rem;
	float: right;
	background-color: transparent;
	text-align: center;
	cursor: pointer;
}

#S_content .scroller {
	height: calc(100% - 5rem);
	overflow-y: auto;
}

#S_content .item {
	/* padding-left: 2rem; */
	font-size: 1.4rem;
	/* line-height: 5rem; */
	vertical-align: middle;
	overflow: hidden;
	height: 5rem;
	cursor: pointer;
	transition: height 0.2s;
}

#S_content .item .lib {
	line-height: 5rem;
	/* vertical-align: middle; */
	height: 5rem;
	padding-left: 2rem;
	/* display: inline-block; */
}

#S_content .item .lib span {
	line-height: 1.5rem;
	vertical-align: middle;
	display: inline-block;
	width: calc(100% - 4rem);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#S_content .item.open > .lib {
	font-weight: bold;
}

#S_content .item.open > .lib::after {
	content: "\f139";
	font-family: SWGicon2;
	font-size: 1.8rem;
	float: right;
	margin-right: 1rem
}

#S_content.new .item.open > .lib::after {
	content: ""; /*\f00d*/
	font-size: 1.5rem;
}

#S_content .item.close > .lib {
	height: 5rem;
}

#S_content .item.close > .lib::after {
	content: "\f13a";
	font-family: SWGicon2;
	font-size: 1.8rem;
	float: right;
	margin-right: 1rem
}

#S_content.new .item.close > .lib::after {
	content: ""; /*\f078*/
	font-size: 1.5rem;
}

#S_content .item.sel > .lib {
	background-color: rgba(113, 189, 0, 1);
	font-weight: bold;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	color: white;
}

#S_content.new .item.sel > .lib {
	font-weight: 400;
	text-shadow: none;
	color: initial;
	background-color: rgba(231, 184, 75, 1);
	text-shadow: 0;
}

#S_content .item.sel > .lib::after {
	content: "\f138";
	font-family: SWGicon2;
	font-size: 1.8rem;
	float: right;
	margin-right: 1rem
}

#S_content.new .item.sel > .lib::after {
	content: "\f054";
	font-size: 1.5rem;
}

#S_content .item.lvl1 {
    background: rgba(34, 45, 52, 0.61);
    border-top: solid 1px rgba(255,255,255,0.2);
    border-bottom: solid 1px rgba(0,0,0,0.15);
    color: white;
}

#S_content.new .item.lvl1 {
    background: rgba(255,255,255,1);
    border-top: 0;
    border-bottom: 0;
    color: initial;
}

#S_content .item.lvl1:nth-child(odd) {
    background: rgba(34, 45, 52, 0.5);
}

#S_content.new .item.lvl1:nth-child(odd) {
    background: rgba(255,255,255,1);
}

#S_content .item.lvl1 .lib { 
	padding-left: 2rem;
	font-weight: 400;
	font-size: 1.5rem;
}

#S_content .item.lvl2 {
    border-bottom: solid 1px rgba(0,0,0,0.15);
    border-top: solid 1px rgba(255,255,255,0.2);
}

#S_content.new .item.lvl2 {
    border-bottom: none;
    border-top: none;
}

#S_content .item.lvl2 .lib {
	padding-left: 4rem;
	font-weight: 300;
}

#S_content .item.lvl3 {
    border-top: solid 1px rgba(255,255,255,0.2);
    border-bottom: solid 1px rgba(0,0,0,0.15);
}

#S_content.new .item.lvl3 {
    border-bottom: none;
    border-top: none;
}

#S_content .item.lvl3 .lib { 
	padding-left: 6rem; 
	/*font-weight: 200;*/
	font-size: 1.4rem;
}

#S_content .item.lvl4 {
	
}

#S_content .item.lvl4 .lib {
	padding-left: 8rem;
}

#S_infos {
	position: absolute;
	height: 100%;
	width: calc(100% - 30rem);
	overflow: hidden;
	left: 30rem;
} 

.nocrit #S_infos {
	width: calc(100% - 240px);
} 

#S_infos .titre {
	/* padding-left: 16rem; */
}

#S_infos .scroller {
	transition: all 0.2s;
}

#S_infos .scroller.copen {
	height: calc(100% - 30rem);
	margin-top: 25rem;
} 

#S_infos .scroller.chide {
	/* height:	100%; */
	margin-top: 0rem;
}

/******************** .info_item ********************/

#S_content .info_item {
	overflow: hidden;
	font-size: 1.3rem;
	cursor: pointer;
}

#S_content .info_item.inactive {
	background-color: #EEE;
	color: #999;
}

#S_content .info_item.open {
	background-color: rgba(113, 189, 0, 1);
	color: #FFF;
}

#S_content .info_item .icon {
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/******************** .list ********************/

.sibox #S_content .list > div {
	display: table;
	width: 100%;
	height: auto !important;
}

.sibox #S_content .list > div > div {
	display: table-row;
	width: 100%;
	height: 5rem;
}

.sibox #S_content .list > div > div > div {
	display: table-cell;
	line-height: 1.5rem;
	padding: 1.75rem 1rem;
	white-space: nowrap;
	border-top: solid 1px rgba(255,255,255,0.2);
	border-bottom: solid 1px rgba(0,0,0,0.15);
}

.sibox #S_content .list .infoHead > div {
	border-bottom: solid 1px rgba(0,0,0,0.15);
}

.sibox #S_content .list .info_item > div.icon {
	width: 5rem;
	height: 5rem;
	line-height: 5rem;
	padding: 0;
	text-align: center;
}

.sibox #S_content .list .info_item > .desi {
	font-weight: 400;
}

.sibox #S_content .list .info_item .doc {
	padding: 0;
	width: 5rem;
	height: 5rem;
	line-height: 5rem;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	text-align: center;
	font-weight: 400;
	background: rgba(8, 54, 90, 0.8);
	color: #FFF;
}

/******************** .th ********************/

#S_content .th {
	padding-top: 16px;
}

#S_content .th:after {
	content: '';
	display: block;
	clear: both;
}

#S_content .th #infoHead,
#S_content .th .info_item .date {
	display: none;
}

#S_content .th .info_item {
	float: left;
	margin: 0 0 16px 16px;
	width: 136px;
	height: 136px;
	overflow: hidden;
}

#S_content .th .info_item .icon {
	width: 136px;
	height: 99px;
	line-height: 99px;
	padding: 0;
	overflow: hidden;
	text-align: center;
	font-size: 4em;
}

#S_content .th .info_item .code,
#S_content .th .info_item .desi {
	white-space: nowrap;
	text-align: center;
}

#S_content .th .info_item .code {
	padding: 4px 8px 0;
}

#S_content .th .info_item .desi {
	padding: 0 8px 8px;
	font-size: 1rem;
}

#S_content .th .info_item.open {
	-webkit-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25);
	-o-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25);
	filter:progid:DXImageTransform.Microsoft.Shadow(color=rgba(0,0,0,0.25), Direction=180, Strength=8);
}

/******************** #infoLoaded ********************/

#infoLoaded {
	position: absolute;
	top: 5rem;
	left: 100%;
	width: 100%;
	height: calc(100% - 5rem);
	max-width: 640px;
	z-index: 3;
	background-color: #FFF;
	overflow: auto;
	padding: 0 32px 16px;
	
	-webkit-transition: -webkit-transform .3s ease;
	-moz-transition: -moz-transform .3s ease;
	-ms-transition: -ms-transform .3s ease;
	-o-transition: -o-transform .3s ease;
	transition: transform .3s ease;
   	
    -webkit-transform: translateX(0);
   	-moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

#infoLoaded.open {
	-webkit-box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	-ms-box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	-o-box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	
	-webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%); 
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}

#infoLoaded #InTitre {
	line-height: 5rem;
	height: 5rem;
	font-size: 2rem;
    font-weight: 500;
    text-decoration: underline;
}

#infoLoaded #InTitre span {
	margin-right: 8px;
}

#infoLoaded #InTitre .fa-toggle-on {
	color: rgba(113, 189, 0, 1);
}

#infoLoaded #InTitre .fa-toggle-off {
	color: rgba(210, 80, 80, 1);
}

#infoLoaded .actions {
	position: absolute;
	top: 0;
	right: 0;
	text-align: right;
}

#infoLoaded .actions > * {
	display: inline-block;
	width: 5rem;
	height: 5rem;
	line-height: 5rem;
	text-align: center;
	text-decoration: none;
	font-size: 1.8rem;
	color: rgba(0,47,96,1);
	background-color: #FFF;
	cursor: pointer;
}

#infoLoaded h1 {
	margin-bottom: 32px;
}

#infoLoaded #ic {
	margin: 0 -32px;
	padding: 16px 32px;
	font-size: 1.3rem;
	display: none;
}

#infoLoaded #ic h2 {
	margin-top: 0.4em;
}

#infoLoaded #ic.open {
	display: block;
}

#infoLoaded #ic,
#infoLoaded .actions .fa-info.open {
	color: #FFF;
	background-color: rgba(0,47,96,1);
}

#infoLoaded #InDate,
#infoLoaded #InLieu,
#infoLoaded #InAuteur {
	margin: -1em 0 1.2em;
}

#infoLoaded #InTexte {
	margin: 32px 0;
	font-size: 1.3rem;
}

#infoLoaded #imgs {
	margin: 0 -32px;
	padding: 0;
}

#infoLoaded #imgs:after {
	content: '';
	display: block;
	clear: both;
}

#infoLoaded #imgs li {
	display: block;
	width: 272px;
	height: 272px;
	line-height: 272px;
	margin: 16px 0 16px 32px;
	float: left;
	list-style: none;
	text-align: center;
	vertical-align: center;
}

#infoLoaded #imgs li img {
	max-width: 100%;
	max-height: 100%;
	cursor: pointer;
}

#infoLoaded video,
#infoLoaded iframe,
#infoLoaded #flash {
	display: block;
	width: 100%;
	margin: 16px 0;
	border: none;
}

#infoLoaded button span {
	margin-right: 12px;
}
