@CHARSET "UTF-8";

/***************************COMMON**********************/
body {
	font-size: 15px;
	color: #bebebe;
	background-color:#17181b;
	margin: 0 auto;
}

@font-face {
    font-family: 'champagne__limousinesregular';
    src: url('/images/nash/typo/champagne__limousines-webfont.woff2') format('woff2'),
         url('/images/nash/typo/champagne__limousines-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body p,ul,li,a,table {
	font-family: Trebuchet MS, sans-serif;
}

body a {
	color: #659c00;
	border-bottom: 1px dotted #659c00;
	text-decoration: none;
}

body a:hover {
	border-bottom: none;
	text-decoration: none;
}

body p {
	text-align: justify;
	margin-top: 5px;
}

body h1,h2,h3,h4, h1 a, h2 a, h3 a {
	font-weight: normal;
	font-family: Times New Roman;
	font-weight: normal;
	font-style:italic;
	border:none;
	text-align: left;
}

h1 {
	color: #ffffff;
	font-size: 30px;
	margin-bottom: 0;
	background: url(../../images/nash/h2-bg.png) no-repeat;
	padding: 7px 0 0 20px;
}

h2, h3 {
	color: #ab7c63;
	font-size: 23px;
	margin: 0;
}

.logo a {
	border: none;
}

.green {
	color: #659C00;
}

img{
	border:4px solid white;
}

/**********/
/* HEADER */
/**********/
header {
	border-bottom: 1px solid #d3d3d2;
	background-color:#f4f4f4;
	padding:0 20px;
	z-index: 200;
	width: 100%;
}

header .content, section .content{
	max-width:1080px;
	margin:0 auto;
	position: relative;
}

header .logo {
	display: inline-block;
}

header .logo  img{
	height: 108px;
	border: none;
}

header nav {
	display: inline-block;
}

#main_menu {
	font-size: 20px;
	margin:0 0 10px 0;
	padding:0;
}

#main_menu a {
	color: #3f3f3f;
	font-family:champagne__limousinesregular;
	text-transform:uppercase;
}

#main_menu li.main_item {
	float: left;
	margin-right: 20px;
	margin-left: 20px;
	color: #965a3b;
}

#main_menu li.main_item:last-child{
	margin-right: 0;
}

#main_menu li.main_item:hover, #main_menu li.selected {
}

#main_menu li.main_item:hover a, #main_menu li.selected a {
	color: #3f3f3f;
}

#main_menu li.main_item a {
	border-bottom: 0;
	display: block;
	height: 22px;
	margin-top: 5px;
}

#main_menu li.main_item p {
	border-bottom: 0;
	display: block;
	height: 22px;
	margin: 5px 0 0 0;
	text-align: center;
}

/************/
/* SOUS MENU*/
/************/
#main_menu li.main_item ul{
	display:none;
	background-color:#f4f4f4;
    position: absolute;
    width: 165px;
    z-index: 20;
	list-style-type:none;
	padding:10px;
}

#main_menu li.main_item:hover ul{
	display: block;
}

#main_menu li.main_item ul li.sub_item{
	text-align:left;
	margin-bottom:10px;
}

#main_menu li.main_item ul li:hover, #main_menu li.main_item ul li.selected{
	background:none;
	box-shadow:none;
	border:none;
	border-radius:0;
}

#main_menu li.main_item ul li a:hover, #main_menu li.main_item ul li.selected a{
	color:#659c00;
	font-style:bold;
}

#main_menu li.main_item ul li.sub_item a{
	text-transform:none;
	font-weight:normal;
	height:auto;
}


/*****************************/
/************ACTUS************/
/*****************************/

.homepage .title, .homepage .recents_header, .homepage #main-content .recent_articles .list .recent_item, .homepage #main-content .recent_articles .list .home .date, .homepage #main-content .recent_articles .list .home  .read_more{
	display:none;
}

.homepage .main-content, .news .main-content{
	display:table;
	vertical-align: top;
}

.homepage .recent_articles, .news .recent_articles{
	display: inline-block;
	vertical-align: top;
}

.homepage .recent_articles .list, .news .recent_articles .list{
	display:table;
}

.news #main-content .recent_articles .list .recent_item, .homepage #main-content .recent_articles .list .home{
	display:inline-block;
	margin: 0 20px 20px 0;
	vertical-align: top;
}

#main-content .recent_articles .list .recent_item{
	height: 471px;
}

.homepage #main-content .recent_articles .list .home{
	height: 368px;
}

#articles .recent_articles .list .home{
	/*display:none;*/
}


/*************/
/* CONTAINER */
/*************/

section#main-content{
	padding:20px;
}

#main-content .content .main{
}

#main-content .content .main .with_articles, #main-content .content .main .recent_articles{
	display:table-cell;
}

#main-content .content .main .with_articles{
	padding-right:20px;;
}

ul#sub_categories li{
	margin-bottom:10px;
}


/********/
/* NEWS */
/********/
.news .recents_header h3{
	display:none;
}

.recents_header{
	margin-bottom:20px;
}

.recents_header p{
	font-size: 13px;
	margin-bottom: 5px;
}

.homepage .recent_articles .list .fb_iframe_widget{
	display:inline-block;
}

.recent_articles .list .fb_iframe_widget, .news #main-content .recent_articles .list .home, .recent_articles .list .none{
	display:none;
}

.recent_articles{
	padding: 0 0 0 20px;
	width: 326px;
}

.homepage .recent_articles, .news .recent_articles{
	padding: 0;
	width: auto;
}

.recent_articles .recent_item{
	background-color:#2b3139;
	padding:14px;
	color:#f4f4f4;
	width:337px;
	text-align:center;
	margin-bottom:20px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.recent_articles .recent_item img{
	width:298px;
}

.recent_articles .recent_item p{
	text-align:center;
}

.recent_articles .recent_item a{
	border:none;
	font-family:Times new roman;
	font-style:italic;
	color:#f4f4f4;
}

.recent_articles .recent_item h5{
	margin:10px 5px 10px 5px;
}

.recent_articles .recent_item h5 a{
	font-size:30px;
	font-weight:normal;
}

.article img{
	float:right;
	margin-left:20px;
}

/**********/
/*ARCHIVES*/
/**********/
.archive_item{
	height: 135px;
	margin-bottom: 20px;
}

.archive_item img{
	float:left;
	margin-right:20px;
}

.archive_item .date{
	margin-bottom:0;
}

/***********/
/* CHEVAUX */
/***********/
.horse_list .item{
	background-color:#2b3139;
	color:#f4f4f4;
	padding:14px;
	margin-bottom:20px;
	position:relative;
}

.horse_list .visible-item{
	display:table;
	width:100%;
	vertical-align:top;
}

.horse_list .visible-item .table-inline{
	display: table-cell;
	padding-right: 20px;
	vertical-align: top;
}

.horse_list .visible-item .horse-small-desc{
	width:22%;
}

.horse_list .visible-item .table-origines{
	width:50%;
}

.horse_list .visible-item .image{
	padding-right: 0;
}

.horse_list h3 {
	color: #ffffff;
	font-size: 30px;
	margin: 0 0 20px 0;
	line-height: 25px;
	display: table-caption;
}

.horse_list .item h3 .horse_title_parents {
    font-style: normal;
	font-family: Trebuchet MS, sans-serif;
    font-size: 16px;
	color:#ab7c63;
}

.horse_list .item ul {
	padding:0;
	margin:0 0 20px 20px;
}

.horse_list .item ul li:first-letter {
text-transform: capitalize;
}

.horse_list .item table {
	font-size:13px;
}

.horse_list .item table td {
	width:170px;
}

.horse_list .item h4 {
	display:none;
}

.horse_list .item img{
	margin-bottom: 10px;
}

.horse_list .item .dropdown-horse{
	display:table;
	vertical-align:top;
	width:100%;
}

.horse_list .item .dropdown-horse iframe{
	width:100%;
	margin-bottom:20px;
}

.horse_list .item .left-col-horse, .horse_list .item .gallery{
	display: table-cell;
	vertical-align: top;
}

.horse_list .item .left-col-horse{
	padding-right: 20px;
	width: 70%;
}

.horse_list .item .visible-item .gallery a:nth-child(n+2){
	display:none;
}

.horse_list .item .dropdown-horse .gallery a:nth-child(-n+1){
	display:none;
}

.horse_list .item .gallery a{
	border:none;
}

.horse_list .item  .dropdown-content iframe{
	width: 693px;
	height: 390px;
}

.horse_list .item  .dropdown-content.gallery{
	display: inline-block;
	vertical-align: top;
}

.horse_list .item .dropdown-content .gallery img{
	margin-left:31px;
}

.horse_list .item .dropdown-horse .left-col-horse .table-origines {
		display:none;
}

/****************EFFET SUR FICHE CHEVAL************************
.dropdown-content {
	height: 0;
	overflow: hidden;
	transition: height 0.8s;
    -webkit-transition: height 0.8s;
}

.dropdown-content:target{
	height: auto;
}

.dropdown-horse .gallery a:nth-child(n+2){
	display:block;
}*/
/**********************FIN EFFET SUR FICHE CHEVAL**********************/

/***************/
/* TABLEAUX */
/***************/
table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #818080;
}

table tr,table th,table td {
	border: 1px solid #818080;
}

table th {
	background-color: #eeeeee;
	font-size: 12px;
	color:#3f3f3f;
}

table tr td {
	padding: 5px;
}

/***************/
/* BREADCRUMBS */
/***************/
#breadcrumbs {
	margin: 10px 0 15px 0;
}

#breadcrumbs span:after {
	content: ' > ';
}

#breadcrumbs span:last-child:after {
	content: '';
}

/**********/
/* FOOTER */
/**********/
footer {
	background-color: #2b3139;
	color: white;
	padding: 9px 0;
	position: relative;
	margin-top: 40px;
	bottom: 0;
	width: 100%;
	clear: both;
}

footer p {
	margin: 0;
	text-align: center;
}

footer span:after {
	content: ' | ';
}

footer span:last-child:after {
	content: '';
}

/**********/
/* GALLERY */
/**********/
#cboxTitle p {
	text-align: center;
	display: inline-block;
	font-size:12px;
}

#cboxLoadedContent .copyright {
	position: absolute;
	color: #ffffff;
	font-size: 18px;
	padding-right: 5px;
}

#cboxCurrent{
	height: 0;
	overflow: hidden;
}

/****************/
/*MODULE CONTACT*/
/****************/
.contact_module{
	font-family:"trebuchet MS";
	font-size:12px;	
}

/*1108px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 1108px) {
	/*.horse_list .item .dropdown-content iframe{
		margin-bottom:20px;
	}
	.horse_list .item .dropdown-content .gallery img{
		margin-left:0;
	}*/
	.homepage, .news{
		text-align:center;
	}
	.homepage #main-content .recent_articles .list .home:nth-child(2n+0){
		margin-right: 0;
	}
}

/*940px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 940px) {
	/*.horse_list .item .horse-small-desc{
	}
	.horse_list .item .dropdown-content iframe{
		width:100%;
		height: 100%;
	}*/
	header {
		position: inherit;
	}
	#main-content .content .main{
		padding-top:0;
	}
}

/*790px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 790px) {
	.horse_list .item  .visible-item .table-origines{
		display:none;
	}
	.horse_list .item .visible-item .table-inline{
		width:50%;
	}
	.horse_list .item .dropdown-horse .left-col-horse .table-origines {
		display:block;
		padding-bottom: 20px;
	}
	.horse_list .item .left-col-horse {
		padding-right: 0;
		width: 100%;
		display:inherit;
	}
	.horse_list .item .dropdown-horse .gallery {
		display:flex;
	}
	.horse_list .item img {
		width: 95%;
	}
	/*header {
		position: inherit;
	}
	#main-content .content .main{
		padding-top:0;
	}*/
}

/*708px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 708px) {
	.homepage #main-content .recent_articles .list .home, .news #main-content .recent_articles .list .recent_item{
		margin-right: 0;
	}
	header {
		position: inherit;
	}
	#main-content .content .main{
		padding-top:0;
	}
}

/*520px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 520px) {
	header .logo{
		display:inherit;
		text-align:center;
	}
	#main_menu li.main_item{
		float:none;
	}
	.horse_list .item .visible-item .table-inline {
		display: block;
		width:100%;
		margin-bottom:20px;
	}
	.horse_list .item .visible-item .table-origines{
		display:none;
	}
	.horse_list .item .dropdown-horse .table-origines{
		display:block;
		padding-bottom: 20px;
	}
	header {
		position: inherit;
	}
	#main-content .content .main{
		padding-top:0;
	}
	.article img {
		width: 100%;
	}
}
/*ECRAN ORDI________________________________________________________________________________________________________ */
@media only screen and (min-width : 1130px){
	.category .sub_categories{
		/*display:none;*/
	}
}

/*ECRAN TAB/MOBILE___________________________________________________________________________________________________ */
@media only screen and (max-width : 1120px){
	#main_menu li.main_item:hover ul{
		display:none;
	}
}