/*---COLOR---*/
$red: #e01348;
$white: #ffffff;
$grey53: #787878;
$grey60: #999999;
$grey67: #555555;
$grey80: #333333;
$grey85: #222222;
$black: #000000;

@font-face {
	font-family: 'dekar';
	src: url('./dekar.eot');
	src: local('dekar'), url('../font/dekar.woff') format('woff'), url('../font/dekar.ttf') format('truetype');
}

@font-face {
    font-family: 'trebuchet_msregular';
    src: url('../font/trebuchet_ms-webfont.eot');
    src: url('../font/trebuchet_ms-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/trebuchet_ms-webfont.woff') format('woff'),
         url('../font/trebuchet_ms-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

.aui .table_url {
	color:black;
	&:hover {
		color:$red;
	}
}
.aui .table_url .active {
	color:$red;
}
.aui .row-fluid [class*="span"] {
	margin-left:10px;
}

.view_table_column1 {
	border: solid;
	border-color: #EEEEEE;
	width: 20%;
	min-width: 250px;
	margin-right: 2px;
	-moz-border-radius: 10px 10px 10px 10px;
	background-color: #EEEEEE;
}

.view_table_column2 {
	border: solid;
	border-color: #EEEEEE;
	max-width: 1020px;
    width: 72%;
	-moz-border-radius: 10px 10px 10px 10px;
}

.aui .table_title {
	font-family: dekar;
	font-size: 14px;
}

.header_div {
	display: block;
	width:995px;
	height:162px;
	margin-bottom:30px;
	background:$black;
	background-image:url("../images/btn_search.png");
	background-repeat: no-repeat;
}

.search {
	background: #e01348;
	padding: 0px;
	margin-bottom: 20px;
}

.first_select {
	width: 100%;
	background: #e01348;
	color: $white;
	padding-left: 20px;
	vertical-align: center;
}

.first_select .control-group label {
    display: inline;
    font-size: 24px;
    padding-top: 10px;
    vertical-align: middle;
}

.first_select .control-group .select {
    width:790px;
    margin-top: 20px;
    height: 35px;
}

.first_select .control-group input {
    width:790px;
    margin-top: 20px;
    height: 35px;
}

.other_select {
	width: 100%;
	background: #e01348;
	color: $white;
	margin-bottom: 20px;
	margin-top: -11px;
	display: inline-block;
	position: relative;
	padding-bottom: 10px;
}

.other_select .row {
    width: 90%;
}

.other_select .control-group {
	display: inline-block;
	margin-bottom: -1px;
	width:100%;
}

.other_select .control-group label {
}

.other_select .control-group select {
	width: 100%;
	height: 35px;
}

.other_select .ressources {
	float: left;
	padding-left: 10px;
	width: 20%;
}
.other_select .control-group input {
	width: 100%;
	height: 35px;
}

.aui .select {
	width: 790px;
}
/*---- TABLE CHRONOLOGIES + TABLE RESSOURCES -----*/
.common-front-end-portlet {
	.column50-50 {		
		.full-article {
			margin-bottom:0;
			padding-left:40px;
			padding-right:40px;
			.col-left.row {
				margin-top: 50px;
				.value {
					margin-bottom: 35px;
				}
			}
			.image {
				float:none !important;
				height:auto;
			    margin:auto;
			    text-align:center;
				#imageLightbox {
					img {
						height:auto !important;
					}					
				}
				.abstract {
					background-color:#fff;
				    bottom:0;
				    color:#555555;
				    font-weight:normal;
				    font-size:14px;
				    font-style:italic;
				    padding:20px 30px;
				    position:relative;
				    width:100%;
				    text-align:left;
				}				
			}
			
			.maire-title {
				text-align:left;
				font-family:dekar;
				font-size:32px !important;
				font-weight:bold !important;
			}
			.title {
				margin-top:0 !important;
				text-align:center;
			}
			.sub-title {
				margin-top:40px !important;
				margin-bottom:10px !important;
			}
			.content {				
			    margin:0;
			    padding:0;
			    font-size:14px;
			    iframe {
			    	float:right;
			    }					
				ul {
				    margin:0 0 0 80px;
					li {
					    line-height:30px !important;
					    list-style:none;
					    background-image:url("../images/list_style.png");
					    background-position:left 9px;
					    background-repeat:no-repeat;
					    padding-left:20px !important;
					}
				}				
			}
			.value {
					.observation, .description {
						font-size: 16px !important;
					    font-style: italic;
					    padding-bottom: 10px;
					}
					.observation {
					    padding-top: 50px;
					}
					.description {
					    padding-top: 30px;
					}
					.abstract, .content {
						font-weight:normal;
						font-size:14px;
						font-family:'trebuchet_msregular',sans-serif;
					}
			}
			.left-block {
				float:left;
				width:60%;
				padding-right:20px;
				.value {
					margin-bottom:10px;
					p {
						margin-bottom:0px;
						font-style:italic;
					}
					strong {
					}
					.observation {
						font-style:italic;
						font-size:16px !important;
					}
					.description {
						font-style:italic;
						font-size:14px;
					}
					.abstract {
						font-weight:normal;
						font-size:19px;
						font-family:'trebuchet_msregular',sans-serif;
					}
					.content {
						font-size:16px;
					}
				}				
			}
			.right-block {
				float:right;
				width:40%;
				padding-left:20px;
				.image {
					float:right;
					margin-right:0;
					position:relative;
					max-width:100% !important;
					img {
						height:auto;
					}
				}
			}
		}
	}
	.values {
		padding-left:20px;
		padding-right:20px;
		padding-top:30px;
		margin-left:0;
		height:60px;
		list-style:none;
		width:80%;
		.col-left {
			float:left;
			width:50%;
			.value {
				float:left;
				clear:both;			
				strong {
					float:left;					
				}
				p {
					float:right;			
					margin:0;				
					padding-left:5px;
				}
			}
		}
		.col-right {
			float:right;
			width:50%;
			.value {
				float:left;
				clear:both;			
				strong {
					float:left;					
				}
				p {
					float:left;				
					margin:0;				
					padding-left:5px;
				}
			}
		}
		.keyword {
			color:$red;
			padding-top: 30px;
			strong {
				float:left;
				text-transform:uppercase;
				background-image: url("../images/icon_next.png");
			    background-position: left center;
			    background-repeat: no-repeat;   
			    padding-left: 20px;
    
			}
			p {
				color:$red !important;
				float:left;
				text-transform:uppercase;				
			}
		}
	}
	.navigation-container {
		background-color:white;
		margin-top:70px;
		height:60px;
		padding:20px;
		width:auto;
		.alert-info {
			display:none;
		}
		.backurl {
/* 			float:left;		 */
		}
		.taglib-page-iterator {
			float:right;
			.lfr-pagination-config {
				display:none;
			}
			.search-results {
				display:none;
			}
			.lfr-pagination-buttons {
				width:250px;
				.first {
					display:none;
				}
				.last {
					display:none;
				}
				.previous {
					background-image: url("../images/icon_prev.png");
				    background-position: left center;
				    background-repeat: no-repeat;
				    float: left;
				    padding-left: 10px;
				    a {
				    	color: #e01348;
	    				padding-left: 20px;
	    				text-transform: uppercase;
	    				border: medium none;
	    				&:hover {
					    	background-color:white;
					    }
				    }
				    &.disabled {
				    	background-image: url("../images/icon_prev_disabled.png");
				    	a {
				    		color:#999;
				    	}
				    }
				    
				}
				.next {
					background-image: url("../images/icon_next.png");
				    background-position: right center;
				    background-repeat: no-repeat;
				    float: right;
				    padding-right: 10px;
				    a {
				    	color: #e01348;
	    				padding-left: 20px;
	    				text-transform: uppercase;
	    				border: medium none;
	    				&:hover {
					    	background-color:white;
					    }
				    }
				     &.disabled {
				     	background-image: url("../images/icon_next_disabled.png");
				    	a {
				    		color:#999;
				    	}
				    }
				}
			}
			
		}
		.navigation-block {
			float:right;
			ul {
				list-style:none;
				.previous {
					background-image:url("../images/icon_prev.png");
	    			background-position:left center;
	    			background-repeat:no-repeat;	    			
	    			float:left;
	    			padding-right:50px;
					a {
						padding-left:20px;
						color:#e01348;
						text-transform:uppercase;
						&:hover {
							text-decoration:none;
							color:black;
						}
					}
				}
				.next {
					background-image:url("../images/icon_next.png");
	    			background-position:right center;
	    			background-repeat:no-repeat;
	    			float:right;
	    			padding-left:20px;
					a {
						padding-right:20px;
						color:#e01348;
						text-transform:uppercase;
						&:hover {
							text-decoration:none;
							color:black;
						}
					}
				}
			}	
		}
	}
}
.common-front-end-portlet .button_row .btn-primary {
	border:none;
	background:#000;
	color:#000;
	width:70px;
	height:64px;
	text-indent: 99999px;
	background-image:url("../images/btn_search.png");
	background-repeat: no-repeat;
}

.common-front-end-portlet .button_row .btn-primary:hover {
	border:none;
	background-color: transparent;
	color:#000;
	width:70px;
	height:64px;
	background-image:url("../images/btn_search.png");
	background-repeat: no-repeat;
	background-position: 0 0;
}

.common-front-end-portlet .push-news figure.image {
    background-color: $grey60;
	float:left;
    height: 140px;
    overflow: hidden;
    width: 246px;
}

.common-front-end-portlet .column50-50 .push-news .link .content-image {
    float: left;
    height: auto;
    max-width: 100%;
    min-height: 100%;
    width: auto;
}

.common-front-end-portlet .column50-50 .push-news .link .maires-content-image {
    float: none;
    top: 50%;
    left: 50%;
    max-height: 100%;
    min-height: auto;
    position: relative;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}

.common-front-end-portlet .column50-50 .push-news .link .filigranes-content-image {
    float: left;
    height: 140px !important;
    width: 246px !important;
}

.button_row {
    bottom: 0;
    height: 70px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    width: 70px;
}

/*---- IMAGE VIEWER ----*/
.ekko-lightbox {		
	.modal-dialog {		
		padding-bottom:20px !important;
		height:auto;
		position:static !important;
	}
}	

/*---- TABLE FILIGRANNE ----*/
.result-filigranes {
	padding-left:20px;
	padding-right:20px;
	h2.title {
		padding: 0 10px;
	}
	.image-container {
		
		.image {
			img {				
			}
		}
		p {
			color:grey !important;
			font-style:italic;
			text-align:right;
		}
	}
	.image {
		display: table-cell;	    
	    padding-right: 20px;	    
		img {			
		}
	}
	.title, .col-left, .col-right, .value, .other_fields {
		position:relative;
		z-index:2;
	}
	.description {
		display: table-cell;
		h2.title {
		}
		h3.sub-title {
		}
		.abstract {
		}
	}
	.content {
			padding:0;
		}
	.others_fields {
		margin-top: 20px;
	}
	
	.col-left, .col-right {	    
		
		.value {
			margin-bottom: 20px;
			p {
				margin: 0px;
			}
		}
	}
}

/*---- TABLE MAIRES ----*/
.maires-content {
	.observation, .biography {
		font-size: 25px;
		font-family:dekar;
	    font-weight:bold;
	    margin-bottom:15px;
	    padding-top:20px; 	    
	}
	.biography {
		padding-top:50px;
	}
	.value {
		div {
	    	div {
	    		font-size:14px !important;  		
	    	}
	    }
	}
	.content {
		font-size:14px !important;   		
	}	
}


.aui .backurl {
	color:$red;
	&:hover {
		color:black;
		text-decoration:none;
	}
	&:active, &:focus {
		color:red;
	} 
}