/* Styles du site Art Cote d'Azur */
/* Versions tablette et mobile */
/* Realise par Mobiliz Me - novembre 2013 */

/* Classes 
* .ordi : visible uniquement sur ordi
* .tablette : visible sur ordinateur et tablette
* .mob : visible sur tablette et mobile
* .only-mob : visible uniquement sur mobile
* .ordietmob : visible sur ordi et mobile 
* .only-tablette : visible sur tablette uniquement
*/

/* Masquer sur ordinateur */
@media(min-width:1025px){
	.mob, .only-tablette {
		display: none !important;
	}
}
/* Masquer sur ordinateur et tablette version paysage */
@media(min-width:1024px){
	.partage-mobile {
		display: none !important;
	}
}


/* Uniquement pour tablette et ordinateur */
@media(min-width:768px){
	.only-mob {
		display: none !important;
	}
	.filter-menu.vide {
		display: none;
	}
	nav #top_menu {
		width: 546px;
	}
	nav #top_menu li {
		width: 77px;
		height: 26px;
		background-color: #000;
		float: left;
		text-align: center;
		margin-right: 1px;
	}
	nav #top_menu li.active, nav #top_menu li:hover {
		background: #fff;
	}
	nav #top_menu li.active a, nav #top_menu li:hover a {
		color: #000;
	}
	nav #top_menu li.right {
		float: right;
	}
	#main-content.full {
		width: 100%;
		float: none;
	}
	.secondary-nav {
		padding-left: 152px;
	}
	#featured {
		height: 287px;
	}
	#featured .content {
		width: 211px;
		padding: 26px 13px 0 16px;
		background: #000;
		background: rgba(0,0,0,0.61);
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
	}
	#featured .content p.copyright {
		bottom: 0;
	}
	#main-content .title h1 {
		line-height: 45px;
	}
	.event-details #main-content .title h1 {
		line-height: 58px;
	}
	.item {
		width: 229px;
		height: 369px;
		float: left;
	}
	.item.center {
		margin: 0 5px 5px 5px;
	}
	#actus-grid .item a.image-link {
		height: 203px;
	}
	#filters {
		float: left; 
		width: 542px; 
	}
	#filters p {
		padding-left: 210px;
	}
	#future-events {
		float: left; 
		width: 155px;
	}
	.horizontal-list .item .principal {
		height: 100%;
		position: relative;
	}
	.horizontal-list .item .principal h3 {
		max-height: 60px;
	}
	.horizontal-list .item .principal .bottom {
		position: absolute;
		bottom: 0;
		padding-right: 12px;
	}
	.venue-list .item .infos-lieu {
		position: absolute;
		width: 279px;
		bottom: 3px;
	}
	#evenements-lies {
		height: 128px;
		margin-left: -33px;
		margin-right: -33px;
		border-top: 1px solid #d2d2d2;
		border-bottom: 1px solid #d2d2d2;
		overflow: hidden;
	}
	#evenements-lies .bottom {
		position: absolute;
		bottom: 0;
		right: 0;
		overflow: hidden;
		width: 545px;
	}
	.magazine .item {
		width: 198px;
		margin-right: 2px;
		float: left;
	}
	.magazine #magazine-grid .item {
		height: 395px;	
	}
	.magazine #magazine-actus .item {
		height: 340px;
	}
}

/* Pour tablettes et mobiles */
@media(max-width:1024px){
	.ordi {
		display: none !important;
	}
	.partage-mobile {
		width: 25px;
		height: 25px;
		display: block;
		position: absolute;
		bottom: 0;
		right: 0;
		background: url(../../squelettes/images/partager.jpg) no-repeat;
	}
	#artistes-grid .partage-mobile {
		background: url(../../squelettes/images/partager-gris.jpg) no-repeat;
	}
	.filter-title, .filter-menu {
		border-bottom: 1px solid white;
	}
}
/* Version tablette (orientation portrait) et mobile */
@media(max-width:1023px){
	.item_rs {
		display: none !important;
	}
	/* Header */
	#top_lang {
		position: absolute;
		top: 0;
		right: 0;
		margin-top: 0;
	}
	#top_lang li {
		width: 78px;
		height: 20px;
	}
	#top_lang li a {
		line-height: 20px;
		display: block;
	}
	.top_search {
		float: right;
		margin-right: 0px;
		margin-left: 5px;
		margin-top: 4px;
	}
	#top_rs {
		padding-top: 19px;
	}
	.venue-list .item.right {
		display: none;
	}
	.magazine-details #main-content #texte {
		margin: 0;
		border-top: 0px;
	}
	.magazine-details .side-pub {
		margin: 0;
	}

	/* Sidebar */
	#sidebar .side-featured a img {
		max-width: 100%;
		height: auto;
	}
	.vscrollerbarbeg {
		width: 0;
		display: none;
	}
	#sidebar .module-title .bottom {
		position: relative;
	}
	#sidebar .module-title .bottom .title_right {
		float: none;
	}
	.nav-arrows {
		position: absolute;
		right: 0;
		top: 0;
	}
	.nav-arrows a {
		width: 37px;
		height: 27px;
		display: block;
		float: left;
		color: #000;
		font-size: 18px;
		text-align: center;
		line-height: 27px;
	}
	.nav-arrows .up {
		background-color: #9b9b9b;
	}
	.nav-arrows .down {
		background-color: #a67dc8;
	}
	.section-dernieres-breves { 
		background: #fff;
	}
	#sidebar .liste-dernieres-breves .breve {
		height: 77px;
	}
	#sidebar .liste-dernieres-breves > div {
		padding-right: 0;
		position: absolute;
		top: 0;
		padding-top: 12px;
	}
	.venue-list .item.left span.ville {
		float: right;
	}
	#sidebar .details-lieu .right {
		position: relative;
		overflow: hidden;
		height: 25px;
		width: 25px;
	}
	#sidebar .module-title {
		margin-bottom: 0;
	}
}

/* Uniquement pour tablette - portrait */
@media (min-width:768px) and (max-width:1023px) {
	.ordietmob {
		display: none !important;
	}
	#page {
		width: 697px;
		margin: 0 auto;
		position: relative;
	}
	#main-content {
		width: 697px;
		float: none;
	}
	#sidebar {
		width: 697px;
		float: none;
	}
	.sous-cats_container {
		clear: both;
	}
	#sidebar .side-featured a {
		width: 231px;
		float: left;
	}
	#sidebar .side-featured a.center {
		margin: 0 2px;
	}
	#pub-one {
		float: left;
	}
	.side-large {
		width: 395px;
		float: right;
	}
	.side-thin {
		width: 300px;
		float: left;
	}
	.section-dernieres-breves, .section-newsletter {
		float: right;
	}
	.section-dernieres-breves {
		position: relative;
	}
	.module-link.envoyer-breve {
		position: absolute;
		top: 0;
		right: 0;
	}
	#sidebar .liste-dernieres-breves {
		height: 172px;
		margin-bottom: 10px;
		overflow: hidden;
	}
	#sidebar .liste-dernieres-breves > div {
		height: 162px;
		width: 365px;
	}
	.flexcroll {
		width: 380px;
		height: 158px;
		padding-right: 0;
	}
	.side-pub {
		display: block;
	}
	#pub-two, #pub-mob-two {
		clear: both;
		float: left;
	}
	.section-derniers-jours {
		clear: both;
		width: 348px;
		float: left;
	}
	.section-vernissages-a-venir {
		width: 348px;
		float: right;
	}
	.section-newsletter {
		margin-bottom: 30px;
	}
	.details-lieu {
		overflow: hidden;
		margin-bottom: 4px;
	}
	.details-lieu .side-thin {
		border-right: 1px solid #e1e1de;
	}
	#sidebar .details-lieu div#adresse {
		border-bottom: 0;
	}
	.details-lieu .side-large {
		width: 397px;
	}
	.details-lieu .mode-acces {
		margin: 47px 45px 48px 45px;
	}
	#sidebar .details-lieu .mode-acces #bus {
		border-bottom: 0;
		padding-bottom: 0;
	}
	.event-details #sidebar .liste.evenements-alentours {
		margin-bottom: 22px;
	}
	.horizontal-list .item .principal {
		width: 183px;
	}
	.horizontal-list .item .principal p {
		font-size: 12px;
	}
	.horizontal-list .item .details {
		width: 285px;
	}
	.liste .secondary-nav .nav-info {
		width: 221px;
	}
	.filter-menu {
		width: 218px;
	}
	.filter-menu.first, .filter-menu.fourth {
		width: 259px !important;
		margin-left: 0;
	}
	.event-list .filter-menu.ou div, .event-list .filter-menu.epoque div {
		padding: 29px 15px 20px 15px;
	}
	.event-list a.rss-noir, .venue-list a.rss-noir {
		top: 190px;
		right: 46px;
	}
	.artist-list .filter-menu.medium-evenement {
		width: 259px;
	}	
	.artist-list .item {
		width: 172px;
		margin-right: 3px;
	}
	.artist-list .item .principal {
		padding: 3px 15px 12px 5px;
	}
	.liste {
		margin-bottom: 10px;
	}
	/* Artiste Details */
	#infosSupArtiste {
		overflow: hidden;
		background: #fff;
	}
	#oeuvre {
		width: 300px;
		float: left;
	}
	#sidebar .details-artiste #oeuvre img {
		border-right: 1px solid #e1e1de;
	}
	#detail-artiste {
		float: right;
		margin: 0;
	}
	#sidebar .details-artiste .style-artiste {
		border-top: 0;
	}
	#sidebar .section-expo-artiste.side-large {
		min-height: 250px;
		margin-bottom: 10px;
	}
	/* Lieux liste : venue list */
	.venue-list .item.left {
		width: 100%;
	}
	.venue-list .item.left .principal {
		width: 368px;
	}
	.venue-list .item.left .partage-mobile {
		bottom: auto;
		top: 0;
	}
	.venue-list .item .infos-lieu {
		width: 353px;
	}
	/* Magazine */
	.magazine .item {
		width: 172px;
		margin-right: 3px;
	}
	.magazine #magazine-grid .item {
		height: 366px;	
	}
	.magazine .item .date-sortie {
		margin-bottom: 5px;
	}
	.magazine-details #main-content .post-info {
		height: 25px;
		margin: 0;
	}
	.magazine-details #sidebar {
		overflow: hidden;
	}
	.articles-une {
		width: 300px;
		float: left;
	}
	.articles-une.articles-right {
		float: right;
		width: 394px;
	}
	.magazine-details #sidebar #pub-one {
		margin-bottom: 1px;
	}
	#sidebar .details-magazine h2 {
		line-height: 58px;
	}
	/* Contact */
	.contact #sidebar .details-lieu {
		background: transparent;
	}
	.contact #sidebar .details-lieu .side-thin {
		background: #fff;
	}
	.contact #sidebar .details-lieu .borders {
		background: #fff;
	}
	.contact #sidebar .details-lieu .horaires {
		padding: 16px 11px 17px 16px;
	}
	.side-large.left {
		clear: both;
		float: left;
	}
	.contact .details-lieu .mode-acces {
		margin: 2px 2px 0 0;
		padding: 38px 45px 25px 45px;
		background: #fff;
	}
	/* Footer */
	#footer {
		clear: both;
		margin-top: 15px;
		float: right;
		padding-top: 0;
		padding-right: 4px;
	}
	#footer ul li {
		padding: 10px 7px;
		width: auto;
	}
}

/* Uniquement sur ordinateur et tablette mode paysage */
@media(min-width:1024px) {
	.artist-list .filter-menu.vide {
		width: 383px;
		display: block;
	}
	.venue-list .filter-menu.vide {
		width: 191px;
		display: block;
	}
}

/* Pour mobile - paysage et ipad - portrait */
@media (min-width:480px) and (max-width:1023px) {

}

/* Pour mobile */
@media(max-width:767px){
	.tablette, .only-tablette {
		display: none !important;
	}
	
	/* CSS SPIP */
	.spip_doc_descriptif { 
	margin-right: auto; 
	margin-left: auto; 
	text-align: center; 
	font-size:12px;
	width:100% !important; 
	height:auto !important; 
	}
	
	.spip_doc_titre { 
	font-size:14px;
	width:100% !important; 
	height:auto !important;
	}
		
	.spip_logos { 
	float: none; 
	margin: 0 0px 0px 0; 
	padding: 0; 
	border: none; 
	width:100% !important; 
	height:auto !important; 
	}
	
	.spip_documents img { width:100%; height:auto; }
	.spip_documents_center { clear: both; display: block; width: 100%; }
	.spip_documents_left { float: left; margin-right: 1.5em; width: 100%; }
	.spip_documents_right { float: right; margin-left: 1.5em; width: 100%; }
	
	.formulaire_formidable li.saisie_oui_non {height:135px;}
	
	.formulaire_formidable p.explication {height: 45px;}

	/* FIN CSS SPIP */

	#page {
		width: 300px;
		margin: 0 auto;
		position: relative;
	}
	#main-content .title {
		padding-bottom: 30px;
	}
	#main-content .title h1 {
		max-width: 209px;
	}
	#main-content .categories {
		bottom: 4px;
	}
	#main-content {
		width: 300px;
		float: none;
	}
	#sidebar {
		width: 300px;
		float: none;
	}
	#top_right { 
		margin-top: 130px;
	}
	#top_lang {
		margin-top: 52px;
	}
	#top_lang li {
		float: none;
		margin-bottom: 2px;
	}
	#toggle-bar {
		width: 100%;
		height: 50px;
		background: #fff;
		margin-top: 97px;
		position: relative;
		padding-top: 8px;
	}
	#toggle-bar a {
		display: block;
		position: relative;
		z-index: 151;
		width: 33px;
		height: 33px;
		border: 1px solid #2c2c2c;
		margin: 0 auto;
		background: #424242;
		color: #fff;
		text-align: center;
		line-height: 31px;
		font-size: 17px;
	}
	nav #top_menu {
		display: none;
		margin-left: 0;
		margin-top: 0;
		width: 100%;
		padding: 18px 18px 0px 18px;
		background: #353535;
	}
	nav #top_menu li {
		width: 100%;
		border-bottom: 1px solid #3d3d3d;
	}
	nav #top_menu li a {
		line-height: 55px;
		font-size: 16px;
		border-bottom: 1px solid #292929;
		padding-left: 31px;
		background: url(../../squelettes/images/menu.png) no-repeat 10px center;
	}
	nav #top_menu li:first-child {
		border-top: 1px solid #3d3d3d;
	}
	nav #top_menu li:first-child a {
		border-top: 1px solid #292929;
	}
	#mob_rs {
		padding: 10px 0 7px 16px;
		overflow: hidden;
	}
	.sous-cats_container {
		background: transparent;
	}
	.sous-cat {
		margin-bottom: 6px;
		background: #fff;
	}
	.sous-cat ul li a {
		padding: 5px 6px 5px 7px;
	}
	.sous-cat ul li:first-child a, .sous-cat ul li:last-child a {
		padding: 5px 7px;
	}
	#future-events ul li {
		border-top: 1px solid #eeeeee;
		border-right: 1px solid #eeeeee;
	}
	.sous-cat p {
		padding-left: 10px !important;
		background: #fff;
	}
	.sous-cat#future-events {
		margin-bottom: 2px;
	}
	.top_search.only-mob {
		float: none;
		margin: 8px auto;
	}
	.event-details .top_search.only-mob {
		/* Pour event details */
		display: none;
	}
	#featured .content {
		background: #fff;
		padding: 13px 16px 8px 15px;
		border-bottom: 1px solid #cccccc;
	}
	#featured .content h1 {
		color: #333;
	}
	#featured .content p {
		color: #999999;
	}
	#featured .content p.copyright {
		top: 274px;
	}
	#barousel_thslide {
		height: 188px;
	}
	.artist-details #barousel_thslide, .venue-details #barousel_thslide {
		height: 160px;
	}
	.artist-details #main-content .title {
		padding-bottom: 12px;
	}
	.artist-details #main-content .title h1 {
		max-width: 100%;
	}
	.artist-details #evenements-lies {
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 1px;
	}
	.artist-details #main-content #evenements-lies h2 {
		min-height: 46px;
		height: auto;
		padding: 0 13px 6px 10px;
	}
	.artist-details #evenements-lies .bouton-vert {
		float: right;
	}
	.barousel_image {
		height: 122px;
	}
	.barousel_image img {
		max-width: 100%;
	}
	#thslide_barousel_nav {
		bottom: 30px;
	}
	.thslide {
		margin-top: 1px;
		height: 35px;
	}
	.thslide_list {
		width: 242px;
		margin-left: 1px;
		height: 35px;
	}
	.thslide_list li a {
		width: 40px;
		height: 35px;
	}
	.barousel_content {
		height: 30px !important;
		padding-top: 6px;
	}
	.artist-details .barousel_content, .venue-details .barousel_content {
		display: none;
	}
	.barousel_content p {
		line-height: 12px;
	}	
	.thslide_nav_previous, .thslide_nav_next {
		height: 35px;
		width: 28px;
	}
	.thslide_nav_previous a, .thslide_nav_next a {
		padding-top: 0;
		line-height: 35px;		
	}
	.thslide_nav_previous {	
		padding-left: 7px;
	}
	.thslide_nav_next {
		padding-right: 7px;
	}
	#main-content .contenu {
		padding: 13px 13px 0px 10px;
	}
	.page #main-content h2 {
		font-size: 21px;
	}
	#main-content p.dates-expo {
		font-size: 12px;
		margin: 2px 0 10px;
	}
	#main-content .post-info {
		position: relative;
		height: 46px;
	}
	.event-details #main-content .post-info .partage-mobile {
		bottom: 1px;
		right: -12px;
		position: absolute;
	}
	#main-content .module-title {
		height: 41px;
		padding: 9px 0px 0px 14px;
	}
	#main-content #artiste-details {
		padding: 15px 13px 1px 18px;
	}
	.side-pub {
		margin: 3px 0;
		display: block;
	}
	.pub {
		display: block;
		margin-top: 4px;
		margin-bottom: 6px;
	}
	.title_right p {
		margin: 1px 10px 0 0;
	}
	.module-title.artistes-selectionnes {
		height: 55px !important;
	}
	.module-title.artistes-selectionnes h2 {
		max-width: 120px;
		margin-bottom: 0;
		padding-bottom: 0;
		max-height: 40px;
	}
	.module-title.artistes-selectionnes i {
		display: block;
		float: left;
		line-height: 46px;
		margin-right: 5px;
	}
	.module-title.artistes-selectionnes .title_right {
		padding-top: 7px;
	}
	.item {
		clear: both;
	}
	.home .item {
		padding-bottom: 47px;
	}
	.artist-list .item {
		height: auto;
	}
	.item a.image-link {
		line-height: 0.9;
	}
	#sidebar .module-link.envoyer-breve {
		margin: 0px 0 2px 0;
		border-top: 3px solid #e1e1de;
	}
	#sidebar .liste-dernieres-breves {
		height: 252px;
		margin-bottom: 10px;
		overflow: hidden;
	}
	#sidebar .liste-dernieres-breves > div {
		width: 272px;
		height: 220px;
		/*height: 255px;*/
	}
	#sidebar .module-title .bottom {
		padding: 2px 0 3px 12px;
	}
	#sidebar .details-lieu div#adresse p:last-child {
		margin-bottom: 0px;
	}
	.filter-menu {
		width: 100% !important;
		float: none;
	}
	.filter-menu div {
		padding: 23px 53px 23px 47px;
	}
	.list-filters {
		padding-top: 0px;
	}
	.horizontal-list .item, .horizontal-list .item .principal, .horizontal-list .item .details {
		height: auto;
		width: 100%;
		background: #fff;
	}
	.horizontal-list .item a.image-link {
		width: 100%;
		height: auto;
	}
	.horizontal-list .item .principal {
		padding-right: 120px;
		border-bottom: 1px solid #999;
	}
	.horizontal-list .item .principal h3 {
		margin-bottom: 10px;
	}
	.horizontal-list .item .principal p {
		font-size: 12px;
	}
	.horizontal-list .item .details {
		padding-top: 5px;
		padding-bottom: 24px;
	}
	.liste .secondary-nav {
		height: auto;
	}
	.liste .secondary-nav .nav-info {
		background: #000;
		color: #fff;
		height: 34px;
		width: 100%;
		overflow: hidden;
	}
	.liste .secondary-nav .nav-info a {
		color: #fff;
		line-height: 34px;
	}
	.liste .secondary-nav .nav-info a.retour, .liste .secondary-nav .nav-info .nombre-pages {
		padding: 0px 10px 0px 10px;
	}
	.liste .secondary-nav .nav-info .nombre-pages, .liste .secondary-nav .nav-info .nombre-pages span {
		color: #fff;
	}
	.liste .secondary-nav .nav-info .nombre-pages {
		float: right;
	}
	.number-navigation {
		clear: both;
	}
	.artist-list .item {
		width: 100%;
	}
	.artist-list .item .principal {
		padding: 12px 12px 12px 11px;
		height: 120px;
	}
	.artist-list .item h3 {
		margin-bottom: 27px;
	}
	.venue-list .item.left, .venue-list .item.left .principal {
		width: 100%;
		height: auto;
		float: none;
		margin-right: 0px;
	}
	.venue-list .item.left .principal {
		padding: 0;
	}
	.venue-list .item.left img {
		max-width: 100%;
	}
	.venue-list .item .principal h3 {
		height: 85px;
		border-bottom: 1px solid #d2d2d2;
		padding: 7px 4px 3px 11px;
	}
	.venue-list .item .infos-lieu {
		overflow: hidden;
		height: 29px;
		padding: 2px 4px 0 11px;
	}
	.venue-list .item .infos-lieu p.type-lieu {
		line-height: 26px;
	}
	.venue-list .item .bottom {
		line-height: 25px;
		padding: 0 36px 0 11px;
	}
	.plus {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 36px;
		height: 36px;
		background-image: url(../../squelettes/images/plus.png);
		background-position: center;
		background-repeat: no-repeat;
	}
	.lieu .plus {
		background-color: #c31355
	}
	.venue-details #main-content .post-info {
		padding-top: 6px;
		margin-right: -13px;
		height: 30px
	}
	#evenements-lies {
		margin: 0 -13px 0 -10px;
	}
	#evenements-lies img {
		float: none;
		display: block;
		width: 100%;
		height: auto;
	}
	#main-content #evenements-lies h2 {
		height: 46px;
		padding: 0 13px 0 10px;
		margin: 6px 0;
		border-bottom: 1px solid #e5e5e5;
	}
	#evenements-lies p {
		padding: 0 13px 0 10px;
	}
	#evenements-lies .delai {
		margin-left: 10px;
		float: none;
	}
	#evenements-lies .borders {
		border-top: 1px solid #e5e5e5;
		border-bottom: 1px solid #e5e5e5;
		height: 27px;
		margin-top: 10px;
	}
	#evenements-lies .bouton-vert {
		float: left;
		padding: 0 13px;
		line-height: 25px;
	}
	#evenements-lies .partage-mobile {
		top: auto;
		bottom: 1px;
	}
	/* Magazine */
	.magazine .plus {
		background-color: #a67dc8;
		height: 41px;
		width: 41px;
	}
	.magazine .module-title {
		position: relative;
	}
	.magazine .item {
		padding-bottom: 25px;
	}
	.magazine .item .content-link, .magazine .item .content {
		padding: 8px 14px;
	}
	.magazine .item .date-sortie {
		margin-left: 14px;
	}
	.magazine-details #main-content .title h1 {
		float: none;
	}
	.magazine-details .date-sortie {
		float: none;
		padding: 0;
	}
	.magazine-details #main-content .post-info {
		margin: 0;
		height: 25px;
	}
	.magazine-details #main-content #texte {
		padding: 0 14px 14px 14px;
	}
	.magazine-details #main-content #texte h3 {
		margin-top: 14px;
	}
	.magazine-details #main-content .title {
		padding-bottom: 14px;
	}
	#sidebar .details-magazine h2 {
		line-height: 45px;
	}
	/* Contact */
	.contact #main-content #details {
		padding: 6px 0px 0px 0px;
	}
	.contact #main-content #details h1 {
		padding: 0 22px;
		margin-bottom: 12px;
	}
	.contact #main-content .ligne {
		padding: 11px 17px 18px 31px;
	}
	.contact #input_msg {
		height: 193px;
	}

	#footer {
		padding-top: 11px;
	}
	#footer ul li {
		width: 100px;
		height: 50px;
		padding: 10px 13px;
	}
	#footer ul li#item-app {
		width: 120px;
		padding: 10px 8px 10px;
	}
}