/* #PRODUIRE{fond=css/prive_perso.css}
   md5:a35b97774fcfc15cca8290b046a7a699 */
// ------ Couleurs ------

@black:         						#000;
@white:             				#fff;

@gris-base:         	 	#000;
@gris-darker:       		lighten(@gris-base, 13.5%); // #222
@gris-dark:          	 	lighten(@gris-base, 40%);   // #333
@gris:                  	 	lighten(@gris-base, 70%); // #555
@gris-light:          		#f0f1f2; // #777
@gris-lighter:       	 	lighten(@gris-base, 90.9%); // #e8e8e8
@gris-extralighter:  	#F5F5F5; // #e8e8e8

// Adaptateur BS2
@grisDarker: 					@gris-darker;
@grisDark:    					@gris-dark;
@grisLight:    					@gris-light;
@grisLighter: 				@gris-lighter;
@grisExtraLighter:	@gris-extralighter;

@bleu:            				#005977;
@bleuLight:        		#D9E7F0;
@bleuDark:    				#005977;
@vert:          					#2B8E12;
@vertLight:        		#BED444;
@rougeLight:      		#ec1e24;
@rouge:              		#DC1E39;
@rougeDark:      		#B30005;
@jaune:         					#EB9E05;
@orange:        				#DD6E00;
@orangeLighter:  	lighten(@orange, 30%);
@orangeLight:      	lighten(@orange, 15%);
@orangeDark:   			darken(@orange, 15%);
@rose:              			#FF5798;
@violet:           				#A65EE3;
@turquoise:						#3ABCA2;

@bleu_fb:								#4D68A1;
@bleu_tw:							#25AAE1;

@couleur-defaut : 						@rouge;
@couleur-secondaire : 		@bleuLight;
@couleur-defautLight: 			lighten(@couleur-defaut, 15%);
@couleur-defautDark: 				darken(@couleur-defaut, 15%);

// Scaffolding
@bodyBackground:         @white;
@textColor:                     @grisDark;

// Links
@linkColor:                   @rouge;
@linkColorHover:          @rouge;

// Adaptateur BS2
@brand-defaut:   				@rouge;
@brand-primary:   			@bleu;
@brand-vert:   						@vert;
@brand-jaune:         			@jaune;
@brand-orange:     		@orange;
@brand-rouge:      			@rouge;
@body-bg:                 @bodyBackground;
@text-color:              	@textColor;
@link-color:              	@linkColor;
@link-hover-color:     @bleuDark;
@link-hover-decoration: none;

// ===  Typography ===

@sansFontFamily: 			   	'Nunito Sans', Verdana, sans-serif;
@serifFontFamily:  			 	Georgia, Cambria, Times New Roman, Times, serif;
@monoFontFamily:    		"Courier New", Courier, monospace;

@baseFontSize:     			18px;
@baseFontFamily: 			@sansFontFamily;
@baseLineHeight:     		24px;
@altFontFamily:     			@sansFontFamily;
@labeur: 											@baseFontFamily;

@headingsFontFamily:    @baseFontFamily; // empty to use BS defaut, @baseFontFamily
@headingsFontWeight: 		normal;    // instead of browser defaut, bold
@headingsColor:         			inherit; // empty to use BS defaut, @textColor
@titraille: 												@baseFontFamily;

// Adaptateur BS2
@font-family-sans-serif:  			@sansFontFamily;
@font-family-serif:       				@serifFontFamily;
@font-family-monospace:   	@monoFontFamily;
@font-family-base:  						  @font-family-serif;
@font-size-base:          				@baseFontSize;
@font-size-large:     							@fontSizeLarge; // ~18px
@font-size-small:     						@fontSizeSmall; // ~12px

@font-size-h1:            floor((@font-size-base * 2));
@font-size-h2:            floor((@font-size-base * 1.5));
@font-size-h3:            ceil((@font-size-base * 1.25));
@font-size-h4:            ceil((@font-size-base * 1.1));
@font-size-h5:            @font-size-base;
@font-size-h6:            @font-size-base;

//** Unit-less `line-height` for use in components like buttons.
@line-height-base:        unit(@baseLineHeight / @baseFontSize);
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
@line-height-computed:    @baseLineHeight; // ~20px

//** By defaut, this inherits from the `<body>`.
@headings-font-family: 		@headingsFontFamily;
@headings-font-weight: 	@headingsFontWeight;
@headings-line-height: 		1.1;
@headings-color:          		@headingsColor;

//== Iconography
//
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.

//** Load fonts from this directory.
@icon-font-path:          "../fonts/";
//** File name for all font files.
@icon-font-name:          "glyphicons-halflings-regular";
//** Element ID within SVG icon file.
@icon-font-svg-id:        "glyphicons_halflingsregular";

// ==== Component sizing ====

@fontSizeLarge: 									@baseFontSize * 1.25; // ~18px
@fontSizeSmall: 									@baseFontSize * 0.85; // ~12px
@fontSizeMini:    									@baseFontSize * 0.75; // ~11px

@paddingLarge: 									.2em .5em; // 44px
@paddingSmall: 									2px 10px;  // 26px
@paddingMini:   									0 6px;   // 22px

@baseBorderRadius:     				.2em;
@borderRadiusLarge:    			.2em;
@borderRadiusSmall:    			.4em;

@padding-base-vertical:   		0.4em;
@padding-base-horizontal:  12%;

@padding-large-vertical:    	0.2em;
@padding-large-horizontal: .7em;

@padding-small-vertical:    	.4em;
@padding-small-horizontal: .6em;

@padding-xs-vertical:       		1px;
@padding-xs-horizontal:     	5px;

@line-height-large:         1.3333333; // extra decimals for Win 8.1 Chrome
@line-height-small:         1.5;

// Adaptateur BS2
@border-radius-base:   				@baseBorderRadius;
@border-radius-large:  				@borderRadiusLarge;
@border-radius-small:  				@borderRadiusSmall;

//** Global color for active items (e.g., navs or dropdowns).
@component-active-color:    #fff;
//** Global background color for active items (e.g., navs or dropdowns).
@component-active-bg:       @brand-primary;

//** Width of the `border` for generating carets that indicator dropdowns.
@caret-width-base:          4px;
//** Carets increase slightly in size for larger components.
@caret-width-large:         5px;


// Tables
@tableBackground:               @grisLighter; // overall background-color
@tableBackgroundAccent:    #f9f9f9; // for striping
@tableBackgroundHover:     #f5f5f5; // for hover
@tableBorder:                       #ddd; // table and cell border

//** Padding for `<th>`s and `<td>`s.
@table-cell-padding:            8px;
//** Padding for cells in `.table-condensed`.
@table-condensed-cell-padding:  5px;

// Adaptateur BS2
@table-bg:                      		@tableBackground;
@table-bg-accent:     				  @tableBackgroundAccent;
@table-bg-hover:              	@tableBackgroundHover;
@table-bg-active:      				@table-bg-hover;
@table-border-color: 					@tableBorder;


// Buttons

@btnBackground:                							@couleur-defaut;
@btnBackgroundHighlight:  							darken(@couleur-defaut, 10%);
@btnBorder:                        							#bbb;

@btnPrimaryBackground:                	@linkColor;
@btnPrimaryBackgroundHighlight:  	spin(@btnPrimaryBackground, 20%);

@btnJauneBackground:             						lighten(@bleu, 5%);
@btnJauneBackgroundHighlight:  				darken(@bleu, 5%);

@btnVertBackground:              		lighten(@vert, 5%);
@btnVertBackgroundHighlight:   darken(@vert, 5%);

@btnOrangeBackground:            			lighten(@orange, 15%);
@btnOrangeBackgroundHighlight: 	@orange;

@btnRougeBackground:               		@rouge;
@btnRougeBackgroundHighlight:    darken(@rouge, 5%);

@btnBleuBackground:               		@bleu;
@btnBleuBackgroundHighlight:     darken(@bleu, 5%);

@btnVioletBackground:               		@violet;
@btnVioletBackgroundHighlight:     darken(@violet, 5%);

@btnInverseBackground:              #444;
@btnInverseBackgroundHighlight:   @grisDarker;

// Adaptateur BS2
@btn-font-weight:              				normal;
@btn-defaut-color:            					#fff;
@btn-defaut-bg:               					@btnBackground;
@btn-defaut-border:        					darken(@btn-defaut-bg, 5%);
@btn-primary-color:           			  #fff;
@btn-primary-bg:              			  @btnPrimaryBackground;
@btn-primary-border:        			  darken(@btn-primary-bg, 5%);
@btn-vert-color:           			  			#fff;
@btn-vert-bg:              			  			@btnVertBackground;
@btn-vert-border:        			  			darken(@btn-vert-bg, 5%);
@btn-jaune-color:                 			#fff;
@btn-jaune-bg:                    			@brand-jaune;
@btn-jaune-border:              			darken(@btn-jaune-bg, 5%);
@btn-orange-color:          			  	#fff;
@btn-orange-bg:              			  	@btnOrangeBackground;
@btn-orange-border:        			  	darken(@btn-orange-bg, 5%);
@btn-rouge-color:            			  	#fff;
@btn-rouge-bg:                			 		@btnRougeBackground;
@btn-rouge-border:         			  	darken(@btn-rouge-bg, 5%);
@btn-bleu-color:            			  		#fff;
@btn-bleu-bg:                			 			@btnBleuBackground;
@btn-bleu-border:         			  			darken(@btn-bleu-bg, 5%);
@btn-violet-color:            			  	#fff;
@btn-violet-bg:                			 		@btnVioletBackground;
@btn-violet-border:         			  		darken(@btn-violet-bg, 5%);
@btn-link-disabled-color:   			  @gris-light;
@btn-border-radius-base:  			  @border-radius-base;
@btn-border-radius-large: 			  @border-radius-large;
@btn-border-radius-small: 			  @border-radius-small;

// ==== Filigrane ====

@filigrane : 																url('');

// ==== Forms ====

// --- Couleurs ---
@formActionsBackground:        #f5f5f5;
@inputBackground:            				@white;
@inputBorder:                   					#ccc;
@inputDisabledBackground:     @grisLighter;
@placeholderText:         						@grisLight;
@input-border-focus:             #66afe9;
@legend-color:                   				@gris-dark;
@legend-border-color:            		#e5e5e5;
@input-group-addon-bg:           @gris-lighter;

// --- Hauteurs ---
@inputHeight:                   					@baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
@input-height-base:              (@line-height-computed + (@padding-base-vertical * 2) + 2);
@input-height-large:             (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
@input-height-small:             (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
@form-group-margin-bottom:   0;

@cursor-disabled:                not-allowed;

// Adaptateur BS2
@input-group-addon-border-color: @input-border;
@input-bg:                       					@inputBackground;
@input-bg-disabled:              			@inputDisabledBackground;
@input-color:                    					@gris;
@input-border:                   				@inputBorder;
@input-border-radius:            		@inputBorderRadius;
@input-color-placeholder:        @placeholderText;
@input-border-radius-large:      @border-radius-large;
@input-border-radius-small:      @border-radius-small;
@inputBorderRadius:             		@baseBorderRadius;


// ==== Dropdowns ====
@dropdownBackground:            	@white;
@dropdownBorder:                			rgba(0,0,0,.2);
@dropdownDividerTop:            		#e5e5e5;
@dropdownDividerBottom:         @white;

@dropdownLinkColor:             			@grisDark;
@dropdownLinkColorHover:        	@white;
@dropdownLinkColorActive:       	@white;

@dropdownLinkBackgroundActive:  	@linkColor;
@dropdownLinkBackgroundHover:   	@dropdownLinkBackgroundActive;

// Adaptateur BS2
@dropdown-bg:                    				@dropdownBackground;
@dropdown-border:                			@dropdownBorder;
@dropdown-fallback-border:       #ccc;
@dropdown-divider-bg:            		@dropdownDividerTop;
@dropdown-link-color:            			@dropdownLinkColor;
@dropdown-link-hover-color:      	@dropdownLinkColorHover;
@dropdown-link-hover-bg:         	@dropdownLinkBackgroundHover;
@dropdown-link-active-color:     	@dropdownLinkColorActive;
@dropdown-link-active-bg:        	@dropdownLinkBackgroundActive;
@dropdown-link-disabled-color:  @gris-light;
@dropdown-header-color:          	@gris-light;
@dropdown-caret-color:           		#000;



// ==== Z-index master list ====
@zindexDropdown:          				1000;
@zindexPopover:           					1010;
@zindexTooltip:           						1030;
@zindexFixedNavbar:       				1030;
@zindexModalBackdrop:   				1040;
@zindexModal:             						1050;

// Adaptateur border-style: 2px;
@zindex-navbar:            					1000;
@zindex-dropdown:          				@zindexDropdown;
@zindex-popover:           					@zindexPopover;
@zindex-tooltip:           						@zindexTooltip;
@zindex-navbar-fixed:      				@zindexFixedNavbar;
@zindex-modal-background:  	@zindexModalBackdrop;
@zindex-modal:             					@zindexModal;

// ============================= GRILLE =============================

// Grille par defaut
@gridColumns:             							12;
@gridColumnWidth:      							60px;
@gridGutterWidth:         						50px;
@gridRowWidth:            						(@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
@fluidGridColumnWidth: 						percentage(@gridColumnWidth/@gridRowWidth);
@fluidGridGutterWidth:    					percentage(@gridGutterWidth/@gridRowWidth);
// Adaptateur BS2
@grid-columns:              						@gridColumns;
@grid-gutter-width:         						@gridGutterWidth;
@grid-float-breakpoint:     					@navbarCollapseDesktopWidth;
@grid-float-breakpoint-max: 			(@grid-float-breakpoint - 1);

// Extra small screen / phone
@screen-xs:                  		480px;
@screen-xs-min:             @screen-xs;
@screen-phone:              @screen-xs-min;

// Small screen - 768px max ( tablette debout )
@screen-sm:                  	768px;
@screen-sm-min:            	@screen-sm;
@screen-tablet:              	@screen-sm-min;

// Medium screen - 992 max ( tablettes paysage )
@screen-md:                  	992px;
@screen-md-min:            	@screen-md;
@screen-desktop:           	@screen-md-min;

// Large - 1280px max ( petits écrans tradi )
@screen-lg:                  		1280px;
@screen-lg-min:              	@screen-lg;
@screen-lg-desktop:       	@screen-lg-min;

// Extra Large - 1366px max ( petits écrans 16:9 )
@screen-xl:                  		1366px;
@screen-xl-min:              	@screen-xl;
@screen-xl-desktop:       	@screen-xl-min;

// So media queries don't overlap when required, provide a maximum
@screen-xs-max:            	(@screen-sm-min - 1);
@screen-sm-max:           	(@screen-md-min - 1);
@screen-md-max:           	(@screen-lg-min - 1);
@screen-lg-max:           		(@screen-xl-min - 1);

// Small screen / tablet
@container-tablet:             				(720px + @grid-gutter-width);
@container-sm:                 					@container-tablet;

// Medium screen / desktop
@container-desktop:            			(950px + @grid-gutter-width);
@container-md:                 				@container-desktop;

// Large screen / wide desktop
@container-large-desktop:      		(1200px + @grid-gutter-width);
@container-lg:                 					@container-large-desktop;

// Trés largeLarge screen / wide desktop
@container-treslarge-desktop:   (1306px + @grid-gutter-width);
@container-xl:                 						@container-treslarge-desktop;

@navbarCollapseWidth:             			767px;
@navbarCollapseDesktopWidth:     @navbarCollapseWidth + 1;
@navbarHeight:                    						140px;
@navbarBackgroundHighlight:       #ffffff;
@navbarBackground:       								@bleu;
@navbarBorder:               								lighten(@navbarBackground, 12%);
@navbarText:                   								@white;
@navbarLinkColor:           								@white;
@navbarLinkColorHover:  								@grisDark;
@navbarLinkColorActive:  								@gris;
@navbarLinkBackgroundHover:       transparent;
@navbarLinkBackgroundActive:      darken(@navbarBackground, 5%);
@navbarBrandColor:                				@navbarLinkColor;

// ------ Menu navba: r negatif ------

@navbarInverseBackground:                					#111111;
@navbarInverseBackgroundHighlight:       		#222222;
@navbarInverseBorder:                    							#252525;
@navbarInverseText:                    									@grisLight;
@navbarInverseLinkColor:             								@grisLight;
@navbarInverseLinkColorHover:   									@white;
@navbarInverseLinkColorActive:   								@navbarInverseLinkColorHover;
@navbarInverseLinkBackgroundHover:       	transparent;
@navbarInverseLinkBackgroundActive:      		@navbarInverseBackground;
@navbarInverseSearchBackground:          		lighten(@navbarInverseBackground, 25%);
@navbarInverseSearchBackgroundFocus:    @white;
@navbarInverseSearchBorder:              				@navbarInverseBackground;
@navbarInverseSearchPlaceholderColor:    	#ccc;
@navbarInverseBrandColor:                					@navbarInverseLinkColor;

// Ajout Laurent
@navbarsupHeight:                    			42px;

// Adaptateur BS2
// Basics of a navbar
@navbar-height:                    @navbarHeight;
@navbar-margin-bottom:             @line-height-computed;
@navbar-border-radius:             @border-radius-base;
@navbar-padding-horizontal:        floor((@grid-gutter-width / 2));
@navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2);
@navbar-collapse-max-height:       340px;
@navbar-defaut-color:             @navbarText;
@navbar-defaut-bg:                @navbarBackground;
@navbar-defaut-border:            @navbarBorder;
// Navbar links
@navbar-defaut-link-color:               					@navbarLinkColor;
@navbar-defaut-link-hover-color:          		@navbarLinkColorHover;
@navbar-defaut-link-hover-bg:             		@navbarLinkBackgroundHover;
@navbar-defaut-link-active-color:    					@navbarLinkColorActive;
@navbar-defaut-link-active-bg:        					@navbarLinkBackgroundActive;
@navbar-defaut-link-disabled-color:       	#ccc;
@navbar-defaut-link-disabled-bg:    					transparent;
// Navbar brand label
@navbar-defaut-brand-color:               @navbarBrandColor;
@navbar-defaut-brand-hover-color:         darken(@navbar-defaut-brand-color, 10%);
@navbar-defaut-brand-hover-bg:            transparent;
// Navbar toggle
@navbar-defaut-toggle-hover-bg:       				#ddd;
@navbar-defaut-toggle-icon-bar-bg:   				#888;
@navbar-defaut-toggle-border-color:  				#ddd;

//=== Inverted navbar
// Reset inverted navbar basics
@navbar-inverse-color:                    						@navbarInverseText;
@navbar-inverse-bg:                        						@navbarInverseBackground;
@navbar-inverse-border:                  						@navbarInverseBorder;
// Inverted navbar list-style: 						;
@navbar-inverse-link-color:              						@navbarInverseLinkColor;
@navbar-inverse-link-hover-color:    						@navbarInverseLinkColorHover;
@navbar-inverse-link-hover-bg:            				@navbarInverseLinkBackgroundHover;
@navbar-inverse-link-active-color:        			@navbarInverseLinkColorActive;
@navbar-inverse-link-active-bg:           				@navbarInverseLinkBackgroundActive;
@navbar-inverse-link-disabled-color:    				#444;
@navbar-inverse-link-disabled-bg:        			transparent;
// Inverted navbar brand label
@navbar-inverse-brand-color:            					@navbarInverseBrandColor;
@navbar-inverse-brand-hover-color:  					#fff;
@navbar-inverse-brand-hover-bg:      					transparent;
// Inverted navbar toggle
@navbar-inverse-toggle-hover-bg:     					#333;
@navbar-inverse-toggle-icon-bar-bg: 					#fff;
@navbar-inverse-toggle-border-color:					#333;


//== Tabs
@nav-tabs-border-color:                     #ddd;
@nav-tabs-link-hover-border-color:          @gris-lighter;
@nav-tabs-active-link-hover-bg:             @body-bg;
@nav-tabs-active-link-hover-color:          @gris;
@nav-tabs-active-link-hover-border-color:   #ddd;
@nav-tabs-justified-link-border-color:            #ddd;
@nav-tabs-justified-active-link-border-color:     @body-bg;

//== Pills
@nav-pills-border-radius:                   @border-radius-base;
@nav-pills-active-link-hover-bg:            @component-active-bg;
@nav-pills-active-link-hover-color:         @component-active-color;


// ==== Pagination =====
@paginationBackground:                #fff;
@paginationBorder:                    #ddd;
@paginationActiveBackground:          #f5f5f5;

// Adaptateur BS2
@pagination-color:                 						@link-color;
@pagination-bg:                     						@paginationBackground;
@pagination-border:               						@paginationBorder;
@pagination-hover-color:       						@link-hover-color;
@pagination-hover-bg:           						@gris-lighter;
@pagination-hover-border:     						#ddd;
@pagination-active-color:       						#fff;
@pagination-active-bg:           						@brand-primary;
@pagination-active-border:    						@brand-primary;
@pagination-disabled-color:   						@gris-light;
@pagination-disabled-bg:       						#fff;
@pagination-disabled-border:						#ddd;


// ==== Pager (BS2) ====

@pager-bg:                    									@pagination-bg;
@pager-border:             									  @pagination-border;
@pager-border-radius:   									15px;
@pager-hover-bg:          									@pagination-hover-bg;
@pager-active-bg:         									@pagination-active-bg;
@pager-active-color:     									  @pagination-active-color;
@pager-disabled-color:  									@pagination-disabled-color;

/* ==== Form states and alerts ==== */

@orangeText:             				#c09853;
@orangeBackground:       	#fcf8e3;
@orangeBorder:           			darken(spin(@orangeBackground, -10), 3%);
@rougeText: 													#b94a48;
@rougeBackground: 							#f2dede;
@rougeBorder: 											darken(spin(@rougeBackground, -10), 3%);
@vertText: 										#468847;
@vertBackground: 				#dff0d8;
@vertBorder: 								darken(spin(@vertBackground, -10), 5%);
@jauneText: 													#3a87ad;
@jauneBackground: 								#d9edf7;
@jauneBorder: 												darken(spin(@jauneBackground, -10), 7%);

/* Adaptateur BS2 */

@state-vert-text: 					@vertText;
@state-vert-bg: 					    @vertBackground;
@state-vert-border: 			@vertBorder;
@state-jaune-text: 					     		@jauneText;
@state-jaune-bg: 					       		@jauneBackground;
@state-jaune-border: 					   	@jauneBorder;
@state-orange-text: 					@orangeText;
@state-orange-bg: 					  @orangeBackground;
@state-orange-border: 			@orangeBorder;
@state-rouge-text: 					  @rougeText;
@state-rouge-bg: 					    @rougeBackground;
@state-rouge-border: 				@rougeBorder;

/* ==== Tooltips and popovers ==== */

@tooltipColor:            					#fff;
@tooltipBackground:      			#000;
@tooltipArrowWidth:      			5px;
@tooltipArrowColor:       			@tooltipBackground;
@popoverBackground:   			#fff;
@popoverArrowWidth:   			10px;
@popoverArrowColor:    			#fff;
@popoverTitleBackground: 	darken(@popoverBackground, 3%);

/* Adaptateur BS2 */
@tooltip-max-width:           	200px;
@tooltip-color:               			@tooltipColor;
@tooltip-bg:                  				@tooltipBackground;
@tooltip-opacity:             			.9;
@tooltip-arrow-width:         	@tooltipArrowWidth;
@tooltip-arrow-color:         	@tooltipArrowColor;


/* ==== Special enhancement for popovers ==== */
@popoverArrowOuterWidth:  @popoverArrowWidth + 1;
@popoverArrowOuterColor:  rgba(0,0,0,.25);

/* Adaptateur BS2 */
@popover-bg:                          							@popoverBackground;
@popover-max-width:                   					276px;
@popover-border-color:               					fadeout(@popoverArrowOuterColor, 5%);
@popover-fallback-border-color:     				#ccc;
@popover-title-bg:                    							@popoverTitleBackground;
@popover-arrow-width:                 				@popoverArrowWidth;
@popover-arrow-color:                 					@popover-bg;
@popover-arrow-outer-width:         				@popoverArrowOuterWidth;
@popover-arrow-outer-color:          				@popoverArrowOuterColor;
@popover-arrow-outer-fallback-color:  	darken(@popover-fallback-border-color, 20%);

/* ==== Labels (BS2) ==== */

@label-defaut-bg:            		@gris-light;
@label-primary-bg:            	@brand-primary;
@label-vert-bg:           	 	@brand-vert;
@label-jaune-bg:               			@brand-jaune;
@label-orange-bg:            	@brand-orange;
@label-rouge-bg:             	@brand-rouge;
@label-color:                 				#fff;
@label-link-hover-color:      	#fff;

/* ==== Modals (BS2) ==== */

// Padding applied to the modal body
@modal-inner-padding:         15px;
// Padding applied to the modal title
@modal-title-padding:         15px;
// Modal title line-height
@modal-title-line-height:     @line-height-base;
// Background color of modal content area
@modal-content-bg:                             #fff;
// Modal content border color
@modal-content-border-color:                   rgba(0,0,0,.2);
// Modal content border color **for IE8**
@modal-content-fallback-border-color:          #999;
// Modal backdrop background color
@modal-backdrop-bg:           #000;
// Modal backdrop opacity
@modal-backdrop-opacity:      .5;
// Modal header border color
@modal-header-border-color:   #e5e5e5;
// Modal footer border color
@modal-footer-border-color:   @modal-header-border-color;
@modal-lg:                    			900px;
@modal-md:                    		600px;
@modal-sm:                    			300px;


/* ==== Alerts (BS2) ==== */

@alert-padding:              			15px;
@alert-border-radius:         	@border-radius-base;
@alert-link-font-weight:      	bold;

@alert-vert-bg:           		@state-vert-bg;
@alert-vert-text:         		@state-vert-text;
@alert-vert-border:     		@state-vert-border;

@alert-jaune-bg:               			@state-jaune-bg;
@alert-jaune-text:             			@state-jaune-text;
@alert-jaune-border:         			@state-jaune-border;

@alert-orange-bg:            	@state-orange-bg;
@alert-orange-text:          	@state-orange-text;
@alert-orange-border:      	@state-orange-border;

@alert-rouge-bg:             		@state-rouge-bg;
@alert-rouge-text:           	@state-rouge-text;
@alert-rouge-border:         @state-rouge-border;


/* ==== Progress bars (BS2) ==== */

// Background color of the whole progress component
@progress-bg:                 #f5f5f5;
// Progress bar text color
@progress-bar-color:          #fff;
// Variable for setting rounded corners on progress bar.
@progress-border-radius:      @border-radius-base;
// Defaut progress bar color
@progress-bar-bg:             @brand-primary;
// Vert progress bar color
@progress-bar-vert-bg:     @brand-vert;
// Orange progress bar color
@progress-bar-orange-bg:     @brand-orange;
// Rouge progress bar color
@progress-bar-rouge-bg:      @brand-rouge;
// Info progress bar color
@progress-bar-jaune-bg:        @brand-jaune;

/* ==== Thumbail (BS2) ==== */

@thumbnail-padding:           			4px;
@thumbnail-bg:                					@body-bg;
@thumbnail-border:            				#ddd;
@thumbnail-border-radius:     		@border-radius-base;
@thumbnail-caption-color:     		@text-color;
@thumbnail-caption-padding:   	9px;


/* ==== Wells ===== */
@wellBackground:                  #f5f5f5;

// Adaptateur BS2
@well-bg:                     							@wellBackground;
@well-border:                 						darken(@well-bg, 7%);


/* ==== Badges (BS2) ==== */

@badge-color:                 						#fff;
@badge-link-hover-color:      			#fff;
@badge-bg:                    						@gris-light;
@badge-active-color:          				@link-color;
@badge-active-bg:             				#fff;
@badge-font-weight:           			bold;
@badge-line-height:           				1;
@badge-border-radius:         			10px;

/* ==== Carousel (BS2) ==== */

@carousel-text-shadow:                			 0 1px 2px rgba(0,0,0,.6);
@carousel-control-color:                			#fff;
@carousel-control-width:               			 15%;
@carousel-control-opacity:            			.5;
@carousel-control-font-size:          			 20px;
@carousel-indicator-active-bg:      			#fff;
@carousel-indicator-border-color:  			#fff;
@carousel-caption-color:               			#fff;


/* ==== Close (BS2) ==== */

@close-font-weight:           bold;
@close-color:                 #000;
@close-text-shadow:           0 1px 0 #fff;


/* ==== Code  (BS2) ==== */

@code-color:                  #c7254e;
@code-bg:                     #f9f2f4;

@kbd-color:                   #fff;
@kbd-bg:                      #333;

@pre-bg:                      #f5f5f5;
@pre-color:                   @gris-dark;
@pre-border-color:            #ccc;
@pre-scrollable-max-height:   340px;

/* ==== Type  (BS2) ==== */

/* Horizontal offset for forms and lists. */
@component-offset-horizontal: 180px;
/* Text muted color */
@text-muted:                  @gris-light;
/* Abbreviations and acronyms border color */
@abbr-border-color:           @gris-light;
/* Headings small color */
@headings-small-color:        @gris-light;
/* Blockquote small color */
@blockquote-small-color:      @gris-light;
/* Blockquote font size */
@blockquote-font-size:        inherit;
/* Blockquote border color */
@blockquote-border-color:     @gris-lighter;
/* Page header border color */
@page-header-border-color:    @gris-lighter;
/* Width of horizontal description list titles */
@dl-horizontal-offset:        @component-offset-horizontal;
/* Point at which .dl-horizontal becomes horizontal */
@dl-horizontal-breakpoint:    @grid-float-breakpoint;
/* Horizontal line color. */
@hrBorder:                @grisLighter;
@hr-border:                @hrBorder;


/* ==== Sprite icons path ==== */
@iconSpritePath:          "../img/glyphicons-halflings.png";
@iconWhiteSpritePath:     "../img/glyphicons-halflings-white.png";

/* ==== Horizontal forms & lists ==== */
@horizontalComponentOffset:       180px;

/* ==== Hero unit ==== */
@heroUnitBackground:              @grisLighter;
@heroUnitHeadingColor:            inherit;
@heroUnitLeadColor:               inherit;

/* Typo SPIP */
@emFontSize : 1em * (@font-size-base / 16);
@emLineHeight : 1em * (@line-height-base);
@emVertMargin : @emLineHeight;

@indentStep : (@container-md / @grid-columns) / 2;
@indentStep1200 : (@container-lg / @grid-columns) / 2;
@indentStep768 : (@container-sm / @grid-columns) / 2;

@font-size-large-em : 1em * @font-size-large / @font-size-base;
@font-size-small-em : 1em * @font-size-small / @font-size-base;
@font-size-h1-em: 1em * @font-size-h1 / @font-size-base;
@font-size-h2-em: 1em * @font-size-h2 / @font-size-base;
@font-size-h3-em: 1em * @font-size-h3 / @font-size-base;
@font-size-h4-em: 1em * @font-size-h4 / @font-size-base;
@font-size-h5-em: 1em * @font-size-h5 / @font-size-base;
@font-size-h6-em: 1em * @font-size-h6 / @font-size-base;
/*  */

@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i&display=swap');
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: local('Fira Sans Thin Italic'), local('FiraSans-ThinItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9A4kDNxMZdWfMOD5VvkrCqUT7fcWTP.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: local('Fira Sans Thin Italic'), local('FiraSans-ThinItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9A4kDNxMZdWfMOD5VvkrCqUTDfcQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: local('Fira Sans ExtraLight Italic'), local('FiraSans-ExtraLightItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrAGQCf2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: local('Fira Sans ExtraLight Italic'), local('FiraSans-ExtraLightItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrAGQCf4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: local('Fira Sans Light Italic'), local('FiraSans-LightItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrBiQyf2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: local('Fira Sans Light Italic'), local('FiraSans-LightItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrBiQyf4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Fira Sans Italic'), local('FiraSans-Italic'), url(https://fonts.gstatic.com/s/firasans/v10/va9C4kDNxMZdWfMOD5VvkrjHYTLHdQ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Fira Sans Italic'), local('FiraSans-Italic'), url(https://fonts.gstatic.com/s/firasans/v10/va9C4kDNxMZdWfMOD5VvkrjJYTI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local('Fira Sans Medium Italic'), local('FiraSans-MediumItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrA6Qif2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local('Fira Sans Medium Italic'), local('FiraSans-MediumItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrA6Qif4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: local('Fira Sans SemiBold Italic'), local('FiraSans-SemiBoldItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrAWRSf2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: local('Fira Sans SemiBold Italic'), local('FiraSans-SemiBoldItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrAWRSf4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local('Fira Sans Bold Italic'), local('FiraSans-BoldItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrByRCf2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local('Fira Sans Bold Italic'), local('FiraSans-BoldItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrByRCf4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: local('Fira Sans ExtraBold Italic'), local('FiraSans-ExtraBoldItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrBuRyf2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: local('Fira Sans ExtraBold Italic'), local('FiraSans-ExtraBoldItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrBuRyf4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: local('Fira Sans Black Italic'), local('FiraSans-BlackItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrBKRif2VFn2lg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: local('Fira Sans Black Italic'), local('FiraSans-BlackItalic'), url(https://fonts.gstatic.com/s/firasans/v10/va9f4kDNxMZdWfMOD5VvkrBKRif4VFk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local('Fira Sans Thin'), local('FiraSans-Thin'), url(https://fonts.gstatic.com/s/firasans/v10/va9C4kDNxMZdWfMOD5Vn9LjHYTLHdQ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local('Fira Sans Thin'), local('FiraSans-Thin'), url(https://fonts.gstatic.com/s/firasans/v10/va9C4kDNxMZdWfMOD5Vn9LjJYTI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local('Fira Sans ExtraLight'), local('FiraSans-ExtraLight'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnWKneSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local('Fira Sans ExtraLight'), local('FiraSans-ExtraLight'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnWKneRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Fira Sans Light'), local('FiraSans-Light'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnPKreSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Fira Sans Light'), local('FiraSans-Light'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnPKreRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Fira Sans Regular'), local('FiraSans-Regular'), url(https://fonts.gstatic.com/s/firasans/v10/va9E4kDNxMZdWfMOD5VvmYjLeTY.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Fira Sans Regular'), local('FiraSans-Regular'), url(https://fonts.gstatic.com/s/firasans/v10/va9E4kDNxMZdWfMOD5Vvl4jL.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Fira Sans Medium'), local('FiraSans-Medium'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnZKveSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Fira Sans Medium'), local('FiraSans-Medium'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnZKveRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Fira Sans SemiBold'), local('FiraSans-SemiBold'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnSKzeSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Fira Sans SemiBold'), local('FiraSans-SemiBold'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnSKzeRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Fira Sans Bold'), local('FiraSans-Bold'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnLK3eSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Fira Sans Bold'), local('FiraSans-Bold'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnLK3eRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Fira Sans ExtraBold'), local('FiraSans-ExtraBold'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnMK7eSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Fira Sans ExtraBold'), local('FiraSans-ExtraBold'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnMK7eRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local('Fira Sans Black'), local('FiraSans-Black'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnFK_eSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local('Fira Sans Black'), local('FiraSans-Black'), url(https://fonts.gstatic.com/s/firasans/v10/va9B4kDNxMZdWfMOD5VnFK_eRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#contenu .preview, #conteneur .contenu_texte, .chapo {
	font-family: @labeur, sans-serif;
	//
// Mixins
// --------------------------------------------------

// Vendor Prefixes
//
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
// Autoprefixer in our Gruntfile. They have been removed in v4.

// - Animations
// - Backface visibility
// - Box shadow
// - Box sizing
// - Content columns
// - Hyphens
// - Placeholder text
// - Transformations
// - Transitions
// - User Select


// Animations
.animation(@animation) {
  -webkit-animation: @animation;
       -o-animation: @animation;
          animation: @animation;
}
.animation-name(@name) {
  -webkit-animation-name: @name;
          animation-name: @name;
}
.animation-duration(@duration) {
  -webkit-animation-duration: @duration;
          animation-duration: @duration;
}
.animation-timing-function(@timing-function) {
  -webkit-animation-timing-function: @timing-function;
          animation-timing-function: @timing-function;
}
.animation-delay(@delay) {
  -webkit-animation-delay: @delay;
          animation-delay: @delay;
}
.animation-iteration-count(@iteration-count) {
  -webkit-animation-iteration-count: @iteration-count;
          animation-iteration-count: @iteration-count;
}
.animation-direction(@direction) {
  -webkit-animation-direction: @direction;
          animation-direction: @direction;
}
.animation-fill-mode(@fill-mode) {
  -webkit-animation-fill-mode: @fill-mode;
          animation-fill-mode: @fill-mode;
}

// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Defaut value is `visible`, but can be changed to `hidden`

.backface-visibility(@visibility) {
  -webkit-backface-visibility: @visibility;
     -moz-backface-visibility: @visibility;
          backface-visibility: @visibility;
}

// Drop shadows
//
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
// supported browsers that have box shadow capabilities now support it.

.box-shadow(@shadow) {
  -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
          box-shadow: @shadow;
}

// Box sizing
.box-sizing(@boxmodel) {
  -webkit-box-sizing: @boxmodel;
     -moz-box-sizing: @boxmodel;
          box-sizing: @boxmodel;
}

// CSS3 Content Columns
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
  -webkit-column-count: @column-count;
     -moz-column-count: @column-count;
          column-count: @column-count;
  -webkit-column-gap: @column-gap;
     -moz-column-gap: @column-gap;
          column-gap: @column-gap;
}

// Optional hyphenation
.hyphens(@mode: auto) {
  word-wrap: break-word;
  -webkit-hyphens: @mode;
     -moz-hyphens: @mode;
      -ms-hyphens: @mode; // IE10+
       -o-hyphens: @mode;
          hyphens: @mode;
}

// Placeholder text
.placeholder(@color: @input-color-placeholder) {
  // Firefox
  &::-moz-placeholder {
    color: @color;
    opacity: 1; // Override Firefox's unusual defaut opacity; see https://github.com/twbs/bootstrap/pull/11526
  }
  &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
  &::-webkit-input-placeholder  { color: @color; } // Safari and Chrome
}

// Transformations
.scale(@ratio) {
  -webkit-transform: scale(@ratio);
      -ms-transform: scale(@ratio); // IE9 only
       -o-transform: scale(@ratio);
          transform: scale(@ratio);
}
.scale(@ratioX; @ratioY) {
  -webkit-transform: scale(@ratioX, @ratioY);
      -ms-transform: scale(@ratioX, @ratioY); // IE9 only
       -o-transform: scale(@ratioX, @ratioY);
          transform: scale(@ratioX, @ratioY);
}
.scaleX(@ratio) {
  -webkit-transform: scaleX(@ratio);
      -ms-transform: scaleX(@ratio); // IE9 only
       -o-transform: scaleX(@ratio);
          transform: scaleX(@ratio);
}
.scaleY(@ratio) {
  -webkit-transform: scaleY(@ratio);
      -ms-transform: scaleY(@ratio); // IE9 only
       -o-transform: scaleY(@ratio);
          transform: scaleY(@ratio);
}
.skew(@x; @y) {
  -webkit-transform: skewX(@x) skewY(@y);
      -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
       -o-transform: skewX(@x) skewY(@y);
          transform: skewX(@x) skewY(@y);
}
.translate(@x; @y) {
  -webkit-transform: translate(@x, @y);
      -ms-transform: translate(@x, @y); // IE9 only
       -o-transform: translate(@x, @y);
          transform: translate(@x, @y);
}
.translate3d(@x; @y; @z) {
  -webkit-transform: translate3d(@x, @y, @z);
          transform: translate3d(@x, @y, @z);
}
.rotate(@degrees) {
  -webkit-transform: rotate(@degrees);
      -ms-transform: rotate(@degrees); // IE9 only
       -o-transform: rotate(@degrees);
          transform: rotate(@degrees);
}
.rotateX(@degrees) {
  -webkit-transform: rotateX(@degrees);
      -ms-transform: rotateX(@degrees); // IE9 only
       -o-transform: rotateX(@degrees);
          transform: rotateX(@degrees);
}
.rotateY(@degrees) {
  -webkit-transform: rotateY(@degrees);
      -ms-transform: rotateY(@degrees); // IE9 only
       -o-transform: rotateY(@degrees);
          transform: rotateY(@degrees);
}
.perspective(@perspective) {
  -webkit-perspective: @perspective;
     -moz-perspective: @perspective;
          perspective: @perspective;
}
.perspective-origin(@perspective) {
  -webkit-perspective-origin: @perspective;
     -moz-perspective-origin: @perspective;
          perspective-origin: @perspective;
}
.transform-origin(@origin) {
  -webkit-transform-origin: @origin;
     -moz-transform-origin: @origin;
      -ms-transform-origin: @origin; // IE9 only
          transform-origin: @origin;
}


// Transitions

.transition(@transition) {
  -webkit-transition: @transition;
       -o-transition: @transition;
          transition: @transition;
}
.transition-property(@transition-property) {
  -webkit-transition-property: @transition-property;
          transition-property: @transition-property;
}
.transition-delay(@transition-delay) {
  -webkit-transition-delay: @transition-delay;
          transition-delay: @transition-delay;
}
.transition-duration(@transition-duration) {
  -webkit-transition-duration: @transition-duration;
          transition-duration: @transition-duration;
}
.transition-timing-function(@timing-function) {
  -webkit-transition-timing-function: @timing-function;
          transition-timing-function: @timing-function;
}
.transition-transform(@transition) {
  -webkit-transition: -webkit-transform @transition;
     -moz-transition: -moz-transform @transition;
       -o-transition: -o-transform @transition;
          transition: transform @transition;
}


// User select
// For selecting text on the page

.user-select(@select) {
  -webkit-user-select: @select;
     -moz-user-select: @select;
      -ms-user-select: @select; // IE10+
          user-select: @select;
}
// Form validation states
//
// Used in forms.less to generate the form validation CSS for warnings, errors,
// and successes.

.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
  // Color the label and help text
  .help-block,
  .control-label,
  .radio,
  .checkbox,
  .radio-inline,
  .checkbox-inline,
  &.radio label,
  &.checkbox label,
  &.radio-inline label,
  &.checkbox-inline label  {
    color: @text-color;
  }
  // Set the border and box shadow on specific inputs to match
  .form-control {
    border-color: @border-color;
    .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
    &:focus {
      border-color: darken(@border-color, 10%);
      @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
      .box-shadow(@shadow);
    }
  }
  // Set validation states also for addons
  .input-group-addon {
    color: @text-color;
    border-color: @border-color;
    background-color: @background-color;
  }
  // Optional feedback icon
  .form-control-feedback {
    color: @text-color;
  }
}


// Form control focus state
//
// Generate a customized focus state and for any input with the specified color,
// which defauts to the `@input-border-focus` variable.
//
// We highly encourage you to not customize the defaut value, but instead use
// this to tweak colors on an as-needed basis. This aesthetic change is based on
// WebKit's defaut styles, but applicable to a wider range of browsers. Its
// usability and accessibility should be taken into account with any change.
//
// Example usage: change the defaut bleu border and shadow to white for better
// contrast against a dark gris background.
.form-control-focus(@color: @input-border-focus) {
  @color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
  &:focus {
    border-color: @color;
    outline: 0;
    .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
  }
}

// Form control sizing
//
// Relative text size, padding, and border-radii changes for form controls. For
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
// element gets special love because it's special, and that's a fact!
.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
  height: @input-height;
  padding: @padding-vertical @padding-horizontal;
  font-size: @font-size;
  line-height: @line-height;
  border-radius: @border-radius;

  select& {
    height: @input-height;
    line-height: @input-height;
  }

  textarea&,
  select[multiple]& {
    height: auto;
  }
}

// WebKit-style focus

.tab-focus() {
  // Defaut
  outline: thin dotted;
  // WebKit
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
// MIXINS Button variants
//
// Easily pump out defaut styles, as well as :hover, :focus, :active,
// and disabled options for all buttons

.button-variant(@color; @background; @border) {
  color: @color;
  background-color: @background;
  border-color: @border;

  &:focus,
  &.focus {
    color: @color;
    background-color: darken(@background, 10%);
        border-color: darken(@border, 25%);
  }
  &:hover {
    color: @color;
    background-color: darken(@background, 10%);
        border-color: darken(@border, 12%);
  }
  &:active,
  &.active,
  .open > .dropdown-toggle& {
    color: @color;
    background-color: darken(@background, 10%);
        border-color: darken(@border, 12%);

    &:hover,
    &:focus,
    &.focus {
      color: @color;
      background-color: darken(@background, 17%);
          border-color: darken(@border, 25%);
    }
  }
  &:active,
  &.active,
  .open > .dropdown-toggle& {
    background-image: none;
  }
  &.disabled,
  &[disabled],
  fieldset[disabled] & {
    &:hover,
    &:focus,
    &.focus {
      background-color: @background;
          border-color: @border;
    }
  }

  .badge {
    color: @background;
    background-color: @color;
  }
}

// Button sizes
.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
  padding: @padding-vertical @padding-horizontal;
  font-size: @font-size;
  line-height: @line-height;
  border-radius: @border-radius;
}

// Base styles
// --------------------------------------------------

.btn {
  display: inline-block;
  margin-bottom: 0; // For input.btn
  font-weight: @btn-font-weight;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none; // Reset unusual Firefox-on-Android defaut style; see https://github.com/necolas/normalize.css/bootstrapleger/issues/214
  border: 1px solid transparent;
  white-space: nowrap;
  .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base);
  .user-select(none);

  &,
  &:active,
  &.active {
    &:focus,
    &.focus {
      .tab-focus();
    }
  }

  &:hover,
  &:focus,
  &.focus {
    color: @btn-defaut-color;
    text-decoration: none;
  }

  &:active,
  &.active {
    outline: 0;
    background-image: none;
    .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
  }

  &.disabled,
  &[disabled],
  fieldset[disabled] & {
    cursor: @cursor-disabled;
    .opacity(.65);
    .box-shadow(none);
  }

}

@media screen and (max-width: @screen-xs-max) {
	// RETAR
	.btn{white-space: normal; }
}

// Alternate buttons
// --------------------------------------------------

.btn-defaut {
  .button-variant(@btn-defaut-color; @btn-defaut-bg; @btn-defaut-border);
}
.btn-secondaire {
  .button-variant(@btn-defaut-color; @btn-defaut-bg; @btn-defaut-border);
}
// Vert appears as vert
.btn-vert {
  .button-variant(@btn-vert-color; @btn-vert-bg; @btn-vert-border);
}
// Info appears as bleu-vert
.btn-jaune {
  .button-variant(@btn-jaune-color; @btn-jaune-bg; @btn-jaune-border);
}
// Orange appears as orange
.btn-orange {
  .button-variant(@btn-orange-color; @btn-orange-bg; @btn-orange-border);
}
// Rouge and error appear as red
.btn-rouge {
  .button-variant(@btn-rouge-color; @btn-rouge-bg; @btn-rouge-border);
}

.btn-bleu {
  .button-variant(@btn-bleu-color; @btn-bleu-bg; @btn-bleu-border);
}

.btn-violet {
  .button-variant(@btn-violet-color; @btn-violet-bg; @btn-violet-border);
}

.btn-blanc{
  .button-variant(@couleur-defaut; #fff; darken(#fff, 5%));
  color: black;
}

// Button Sizes
// --------------------------------------------------

.btn-petit {
  // line-height: ensure even-numbered height of button next to large input
  .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);
}
.btn-moyen {
  // line-height: ensure proper height of button next to small input
  .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base);
}
.btn-grand {
  .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @btn-border-radius-large);
}

// /* boutons admin forum */
// .boutons.modererforum .submit {.btn-petit}
// .boutons.modererforum .poubelle .submit {.btn-rouge;}
// .boutons.modererforum .spam .submit {.btn-orange;}

/* boutons action de Spip */

.bouton_action_post.btn{
	.submit{
		background-color: transparent;
		border: none;
	}
}


/* boutons d'admin */
body .spip-admin-bloc, body .spip-admin-float {z-index: @zindex-navbar-fixed + 1;}
// 

// Layout
// Clearfix
//
// For modern browsers
// 1. The space content is one way to avoid an Opera bug when the
//    contenteditable attribute is included anywhere else in the document.
//    Otherwise it causes space to appear at the top and bottom of elements
//    that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
//    `:before` to contain the top-margins of child elements.
//
// Source: http://nicolasgallagher.com/micro-clearfix-hack/

.clearfix() {
  &:before,
  &:after {
    content: " "; // 1
    display: table; // 2
  }
  &:after {
    clear: both;
  }
}
// Framework grid generation
//
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `@grid-columns`.

.make-grid-columns() {
  // Common styles for all sizes of grid columns, widths 1-12
  .col(@index) { // initial
    @item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
    .col((@index + 1), @item);
  }
  .col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
    @item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
    .col((@index + 1), ~"@{list}, @{item}");
  }
  .col(@index, @list) when (@index > @grid-columns) { // terminal
    @{list} {
      position: relative;
      // Prevent columns from collapsing when empty
      min-height: 1px;
      // Inner gutter via padding
      padding-left:  ceil((@grid-gutter-width / 2));
      padding-right: floor((@grid-gutter-width / 2));
    }
  }
  .col(1); // kickstart it
}

.float-grid-columns(@class) {
  .col(@index) { // initial
    @item: ~".col-@{class}-@{index}";
    .col((@index + 1), @item);
  }
  .col(@index, @list) when (@index =< @grid-columns) { // general
    @item: ~".col-@{class}-@{index}";
    .col((@index + 1), ~"@{list}, @{item}");
  }
  .col(@index, @list) when (@index > @grid-columns) { // terminal
    @{list} {
      float: left;
    }
  }
  .col(1); // kickstart it
}

.calc-grid-column(@index, @class, @type) when (@type = width) and (@index > 0) {
  .col-@{class}-@{index} {
    width: percentage((@index / @grid-columns));
  }
}
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {
  .col-@{class}-push-@{index} {
    left: percentage((@index / @grid-columns));
  }
}
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {
  .col-@{class}-push-0 {
    left: auto;
  }
}
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {
  .col-@{class}-pull-@{index} {
    right: percentage((@index / @grid-columns));
  }
}
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {
  .col-@{class}-pull-0 {
    right: auto;
  }
}
.calc-grid-column(@index, @class, @type) when (@type = offset) {
  .col-@{class}-offset-@{index} {
    margin-left: percentage((@index / @grid-columns));
  }
}

// Basic looping in LESS
.loop-grid-columns(@index, @class, @type) when (@index >= 0) {
  .calc-grid-column(@index, @class, @type);
  // next iteration
  .loop-grid-columns((@index - 1), @class, @type);
}

// Create grid for specific class
.make-grid(@class) {
  .float-grid-columns(@class);
  .loop-grid-columns(@grid-columns, @class, width);
  .loop-grid-columns(@grid-columns, @class, pull);
  .loop-grid-columns(@grid-columns, @class, push);
  .loop-grid-columns(@grid-columns, @class, offset);
}
// Grid system
//
// Generate semantic grid columns with these mixins.

// Centered container element
.container-fixed(@gutter: @grid-gutter-width) {
  margin-right: auto;
  margin-left: auto;
  padding-left:  floor((@gutter / 2));
  padding-right: ceil((@gutter / 2));
  &:extend(.clearfix all);
}

// Creates a wrapper for a series of columns
.make-row(@gutter: @grid-gutter-width) {
  margin-left:  ceil((@gutter / -2));
  margin-right: floor((@gutter / -2));
  &:extend(.clearfix all);
}

// Generate the extra small columns
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
  position: relative;
  float: left;
  width: percentage((@columns / @grid-columns));
  min-height: 1px;
  padding-left:  (@gutter / 2);
  padding-right: (@gutter / 2);
}

// Ajout Laurent : crée une marge supplementaire
// égale au pourcentage que prend la goutière sur un portable;
.margesup{
  width: calc( 100% - percentage( @grid-gutter-width / @screen-xs-min )  );
  margin-left: auto;
  margin-right: auto;
}
.make-xs-column-offset(@columns) {
  margin-left: percentage((@columns / @grid-columns));
}
.make-xs-column-push(@columns) {
  left: percentage((@columns / @grid-columns));
}
.make-xs-column-pull(@columns) {
  right: percentage((@columns / @grid-columns));
}

// Generate the small columns
.make-sm-column(@columns; @gutter: @grid-gutter-width) {
  position: relative;
  min-height: 1px;
  padding-left:  (@gutter / 2);
  padding-right: (@gutter / 2);

  @media (min-width: @screen-sm-min) {
    float: left;
    width: percentage((@columns / @grid-columns));
  }
}
.make-sm-column-offset(@columns) {
  @media (min-width: @screen-sm-min) {
    margin-left: percentage((@columns / @grid-columns));
  }
}
.make-sm-column-push(@columns) {
  @media (min-width: @screen-sm-min) {
    left: percentage((@columns / @grid-columns));
  }
}
.make-sm-column-pull(@columns) {
  @media (min-width: @screen-sm-min) {
    right: percentage((@columns / @grid-columns));
  }
}

@media (min-width: @screen-sm-min) {
  .margesup{
    width: calc( 100% - percentage( @grid-gutter-width / @screen-sm-min ) * 4  );
    margin-left: auto;
    margin-right: auto;
  }
}

// Generate the medium columns
.make-md-column(@columns; @gutter: @grid-gutter-width) {
  position: relative;
  min-height: 1px;
  padding-left:  (@gutter / 2);
  padding-right: (@gutter / 2);

  @media (min-width: @screen-md-min) {
    float: left;
    width: percentage((@columns / @grid-columns));
  }
}
.make-md-column-offset(@columns) {
  @media (min-width: @screen-md-min) {
    margin-left: percentage((@columns / @grid-columns));
  }
}
.make-md-column-push(@columns) {
  @media (min-width: @screen-md-min) {
    left: percentage((@columns / @grid-columns));
  }
}
.make-md-column-pull(@columns) {
  @media (min-width: @screen-md-min) {
    right: percentage((@columns / @grid-columns));
  }
}

@media (min-width: @screen-md-min) {
  .margesup{
    width: calc( 100% - percentage( @grid-gutter-width / @screen-md-min ) * 4  );
    margin-left: auto;
    margin-right: auto;
  }
}

// Generate the large columns
.make-lg-column(@columns; @gutter: @grid-gutter-width) {
  position: relative;
  min-height: 1px;
  padding-left:  (@gutter / 2);
  padding-right: (@gutter / 2);

  @media (min-width: @screen-lg-min) {
    float: left;
    width: percentage((@columns / @grid-columns));
  }
}
.make-lg-column-offset(@columns) {
  @media (min-width: @screen-lg-min) {
    margin-left: percentage((@columns / @grid-columns));
  }
}
.make-lg-column-push(@columns) {
  @media (min-width: @screen-lg-min) {
    left: percentage((@columns / @grid-columns));
  }
}
.make-lg-column-pull(@columns) {
  @media (min-width: @screen-lg-min) {
    right: percentage((@columns / @grid-columns));
  }
}

@media (min-width: @screen-lg-min) {
  .margesup{
    width: calc( 100% - percentage( @grid-gutter-width / @screen-lg-min ) * 4  );
    margin-left: auto;
    margin-right: auto;
  }
}

// ============== IMAGES ===============

// Responsive image
.img-responsive(@display: block) {
  display: @display;
  max-width: 100%; // Part 1: Set a maximum relative to the parent
  height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}

// Retina image
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
  background-image: url('https://ericbocquet.fr/@{file-1x}');
  @media
  only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (   min--moz-device-pixel-ratio: 2),
  only screen and (     -o-min-device-pixel-ratio: 2/1),
  only screen and (        min-device-pixel-ratio: 2),
  only screen and (                min-resolution: 192dpi),
  only screen and (                min-resolution: 2dppx) {
    background-image: url('https://ericbocquet.fr/@{file-2x}');
    background-size: @width-1x @height-1x;
  }
}

// ============== OPACITE ===============

.opacity(@opacity) {
  opacity: @opacity;
  // IE8 filter
  @opacity-ie: (@opacity * 100);
  filter: ~"alpha(opacity=@{opacity-ie})";
}

// ============== BORDS ARRONDIS ===============

// Border Radius
.border-radius(@radius) {
  -webkit-border-radius: @radius;
     -moz-border-radius: @radius;
          border-radius: @radius;
}

// Center-align a block level element

.centrer {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.centrerflex {
	align-self: center;
	align-items: center;
	justify-content: center;
	display: flex;
}
.centrervertical {
	align-self: center;
	align-items: center;
	display: flex;
}


// Single Corner Border Radius
.border-top-left-radius(@radius) {
  -webkit-border-top-left-radius: @radius;
      -moz-border-radius-topleft: @radius;
          border-top-left-radius: @radius;
}
.border-top-right-radius(@radius) {
  -webkit-border-top-right-radius: @radius;
      -moz-border-radius-topright: @radius;
          border-top-right-radius: @radius;
}
.border-bottom-right-radius(@radius) {
  -webkit-border-bottom-right-radius: @radius;
      -moz-border-radius-bottomright: @radius;
          border-bottom-right-radius: @radius;
}
.border-bottom-left-radius(@radius) {
  -webkit-border-bottom-left-radius: @radius;
      -moz-border-radius-bottomleft: @radius;
          border-bottom-left-radius: @radius;
}

// Single Side Border Radius
.border-top-radius(@radius) {
  .border-top-right-radius(@radius);
  .border-top-left-radius(@radius);
}
.border-right-radius(@radius) {
  .border-top-right-radius(@radius);
  .border-bottom-right-radius(@radius);
}
.border-bottom-radius(@radius) {
  .border-bottom-right-radius(@radius);
  .border-bottom-left-radius(@radius);
}
.border-left-radius(@radius) {
  .border-top-left-radius(@radius);
  .border-bottom-left-radius(@radius);
}

// Drop shadows
.box-shadow(@shadow : 4px 4px 4px rgba(0, 0, 0, 0.2) ) {
  -webkit-box-shadow: @shadow;
     -moz-box-shadow: @shadow;
          box-shadow: @shadow;
}

// Transitions
.transition(@transition) {
  -webkit-transition: @transition;
     -moz-transition: @transition;
       -o-transition: @transition;
          transition: @transition;
}
.transition-delay(@transition-delay) {
  -webkit-transition-delay: @transition-delay;
     -moz-transition-delay: @transition-delay;
       -o-transition-delay: @transition-delay;
          transition-delay: @transition-delay;
}
.transition-duration(@transition-duration) {
  -webkit-transition-duration: @transition-duration;
     -moz-transition-duration: @transition-duration;
       -o-transition-duration: @transition-duration;
          transition-duration: @transition-duration;
}

.animation(@temps:1s, @quoi: all, @apres:0.01s ){
	.transition(@quoi @temps cubic-bezier(.25,.46,.45,.94) @apres);
}

// Transformations
.rotation(@degrees) {
  -webkit-transform: rotate(@degrees);
     -moz-transform: rotate(@degrees);
      -ms-transform: rotate(@degrees);
       -o-transform: rotate(@degrees);
          transform: rotate(@degrees);
}
.scale(@ratio) {
  -webkit-transform: scale(@ratio);
     -moz-transform: scale(@ratio);
      -ms-transform: scale(@ratio);
       -o-transform: scale(@ratio);
          transform: scale(@ratio);
}
.translate(@x, @y) {
  -webkit-transform: translate(@x, @y);
     -moz-transform: translate(@x, @y);
      -ms-transform: translate(@x, @y);
       -o-transform: translate(@x, @y);
          transform: translate(@x, @y);
}
.skew(@x, @y) {
  -webkit-transform: skew(@x, @y);
     -moz-transform: skew(@x, @y);
      -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885
       -o-transform: skew(@x, @y);
          transform: skew(@x, @y);
  -webkit-backface-visibility: hidden; // See https://github.com/twbs/bootstrap/issues/5319
}
.translate3d(@x, @y, @z) {
  -webkit-transform: translate3d(@x, @y, @z);
     -moz-transform: translate3d(@x, @y, @z);
       -o-transform: translate3d(@x, @y, @z);
          transform: translate3d(@x, @y, @z);
}
.transform-origin(@pos) {
  -webkit-transform-origin: @pos;
  	-ms-transform-origin: @pos;
    	transform-origin: @pos;
}

// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Defaut value is `visible`, but can be changed to `hidden
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
.backface-visibility(@visibility){
  -webkit-backface-visibility: @visibility;
     -moz-backface-visibility: @visibility;
          backface-visibility: @visibility;
}

// Background clipping
// Heads up: FF 3.6 and under need "padding" instead of "padding-box"
.background-clip(@clip) {
  -webkit-background-clip: @clip;
     -moz-background-clip: @clip;
          background-clip: @clip;
}

// Background sizing
.background-size(@size) {
  -webkit-background-size: @size;
     -moz-background-size: @size;
       -o-background-size: @size;
          background-size: @size;
}

// Box sizing
.box-sizing(@boxmodel) {
  -webkit-box-sizing: @boxmodel;
     -moz-box-sizing: @boxmodel;
          box-sizing: @boxmodel;
}

// User select
// For selecting text on the page
.user-select(@select) {
  -webkit-user-select: @select;
     -moz-user-select: @select;
      -ms-user-select: @select;
       -o-user-select: @select;
          user-select: @select;
}

// Resize anything
.resizable(@direction) {
  resize: @direction; // Options: horizontal, vertical, both
  overflow: auto; // Safari fix
}

// CSS3 Content Columns
.content-columns(@columnCount, @columnGap: @gridGutterWidth) {
  -webkit-column-count: @columnCount;
     -moz-column-count: @columnCount;
          column-count: @columnCount;
  -webkit-column-gap: @columnGap;
     -moz-column-gap: @columnGap;
          column-gap: @columnGap;
}

// Optional hyphenation
.cesure(@mode: auto) {
  word-wrap: break-word;
  -webkit-hyphens: @mode;
     -moz-hyphens: @mode;
      -ms-hyphens: @mode;
       -o-hyphens: @mode;
          hyphens: @mode;
}

// Opacity
.opacity(@opacity) {
  opacity: @opacity / 100;
  filter: ~"alpha(opacity=@{opacity})";
}

// =========  BACKGROUNDS  ==========

// Add an alphatransparency value to any background or border color (via Elyse Holladay)

.transparentbg(@color: @white, @alpha: 1) {
  background-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
}
.transparentbd(@color: @white, @alpha: 1) {
  border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
  .background-clip(padding-box);
}

// Laurent : background image transparent
// ex : transparentbgimage( url('https://ericbocquet.fr/squ/sites/senateurs.lhumaindabord.fr/ergo/bg.jpg'), @bleuDark);
.transparentbgimage(@image, @couleur) {
	position:relative;
	background-color: @couleur;
	&>* {
		z-index: 1;
		position: relative;
	}
	&:before {
			content:"";
			position:absolute;
			width:100%;
			height:100%;
			top:0;
			left:0;
			background: @image 0 0 no-repeat;
			background-size:cover;
			opacity: .2;
			z-index: 0;
	}
}

// =========  DEGRADES  ==========

// Pour annuler un dégradé sous IE9
.reset-filter() {
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
}

.deg_h(@startColor: #555, @endColor: #333, @debut:0, @fin:100%, @image : rien) {
  background-image: -moz-linear-gradient(left, @startColor @debut, @endColor @fin), url('https://ericbocquet.fr/@{image}'); // FF 3.6+
  background-image: -webkit-gradient(linear, 0 0, 100% 0, from(@startColor @debut), to(@endColor @fin), url('https://ericbocquet.fr/@{image}')); // Safari 4+, Chrome 2+
  background-image: -webkit-linear-gradient(left, @startColor @debut, @endColor @fin), url('https://ericbocquet.fr/@{image}'); // Safari 5.1+, Chrome 10+
  background-image: -o-linear-gradient(left, @startColor @debut, @endColor @fin), url('https://ericbocquet.fr/@{image}'); // Opera 11.10
  background-image: linear-gradient(to right, @startColor @debut, @endColor @fin), url('https://ericbocquet.fr/@{image}'); // Standard, IE10
  background-repeat: repeat-x;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@startColor),argb(@endColor))); // IE9 and down
}
.deg_v(@startColor: #555, @endColor: #333, @debut:0, @fin:100%) {
  background-image: -moz-linear-gradient(top, @startColor @debut, @endColor @fin); // FF 3.6+
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor @debut), to(@endColor @fin)); // Safari 4+, Chrome 2+
  background-image: -webkit-linear-gradient(top, @startColor @debut, @endColor @fin); // Safari 5.1+, Chrome 10+
  background-image: -o-linear-gradient(top, @startColor @debut, @endColor @fin); // Opera 11.10
  background-image: linear-gradient(to bottom, @startColor @debut, @endColor @fin); // Standard, IE10
  background-repeat: repeat-x;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down
}
.deg_dir(@startColor: #555, @endColor: #333, @deg: 45deg) {
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(@deg, @startColor, @endColor); // FF 3.6+
  background-image: -webkit-linear-gradient(@deg, @startColor, @endColor); // Safari 5.1+, Chrome 10+
  background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10
  background-image: linear-gradient(@deg, @startColor, @endColor); // Standard, IE10
}
.deg_hor3(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
  background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
  background-image: -webkit-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
  background-image: -moz-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
  background-image: -o-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
  background-image: linear-gradient(to right, @startColor, @midColor @colorStop, @endColor);
  background-repeat: no-repeat;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
}
.deg_ver3(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
  background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
  background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
  background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
  background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
  background-repeat: no-repeat;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
}
.deg_dir3(@startColor: transparent, @midColor: #fff, @colorStop: 50%, @endColor: transparent, @dir: 45deg) {
  background-image: -webkit-gradient(@dir, linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
  background-image: -webkit-linear-gradient(@dir, @startColor, @midColor @colorStop, @endColor);
  background-image: -moz-linear-gradient(@dir, @startColor, @midColor @colorStop, @endColor);
  background-image: -o-linear-gradient(@dir, @startColor, @midColor @colorStop, @endColor);
  background-image: linear-gradient(@dir, @startColor, @midColor @colorStop, @endColor);
  background-repeat: no-repeat;
}
.deg_hor5(@color1: #00b3ee, @color2: #7a43b6, @colorStop2: 25%, @color3: #7a43b6, @colorStop3: 50%, @color4: #7a43b6, @colorStop4: 25%, @color5: #c3325f) {
  background-image: -webkit-linear-gradient(left, @color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-image: -moz-linear-gradient(left, @color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-image: -o-linear-gradient(left, @color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-image: linear-gradient(to right, @color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-repeat: no-repeat;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@color1),argb(@color2),argb(@color3),argb(@color4),argb(@color5))); // IE9 and down, gets no color-stop at all for proper fallback
}
.deg_ver5(@color1: #00b3ee, @color2: #7a43b6, @colorStop2: 25%, @color3: #7a43b6, @colorStop3: 50%, @color4: #7a43b6, @colorStop4: 25%, @color5: #c3325f) {
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@color1), color-stop(@colorStop2, @color2), color-stop(@colorStop3, @color3), color-stop(@colorStop4, @color4), to(@color5));
  background-image: -webkit-linear-gradient(@color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-image: -moz-linear-gradient(top, @color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-image: -o-linear-gradient(@color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-image: linear-gradient(@color1, @color2 @colorStop2, @color3 @colorStop3, @color4 @colorStop4, @color5);
  background-repeat: no-repeat;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@color1),argb(@color2),argb(@color3),argb(@color4),argb(@color5))); // IE9 and down, gets no color-stop at all for proper fallback
}



.deg_radial(@innerColor: #555, @outerColor: #333) {
  background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
  background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
  background-image: -moz-radial-gradient(circle, @innerColor, @outerColor);
  background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
  background-repeat: no-repeat;
}
.deg_hachures(@color: #555, @angle: 45deg) {
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
}

// Boutons
// ------------------
.buttonBackground(@startColor, @endColor, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
  // gradientBar will set the background to a pleasing blend of these, to support IE<=9
  .gradientBar(@startColor, @endColor, @textColor, @textShadow);

  // in these cases the gradient won't cover the background, so we override
  &:hover, &:focus, &:active, &.active, &.disabled, &[disabled] {
    color: @textColor;
    background-color: @endColor;
    *background-color: darken(@endColor, 5%);
  }

  // IE 7 + 8 can't handle box-shadow to show active, so we darken a bit ourselves
  &:active,
  &.active {
    background-color: darken(@endColor, 10%) e("\9");
  }
}

.titencadre() {
	display: table;
	overflow: hidden;
	background: @couleur-defaut;
	color: #fff;
	padding: .2em 2.5%;
	a { color: #fff; }
}

.titencadre{ .titencadre() }

.carre(@cote) {
	width: @cote;
	height: @cote;
}

.pucecarre(@taille: .8em, @couleur: @couleur-defaut){
	&::before{
		content: "";
		.carre(@taille);
		display: inline-block;
		background-color: @couleur-defaut;
		margin: 0 3% 0 -8%;
		line-height: 100%;
		top: .05em;
		position: relative;
	}
}

.pucecarre{ .pucecarre(); }

.pucetriangle(@taille: .4em, @couleur: @couleur-defaut){
	&:before{
		content: '';
		display: block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: @taille 0 @taille @taille * 1.5 ;
		border-color: transparent transparent transparent @couleur;
		position: absolute;
		left: 0;
		top: .1em;
	}
}

.pucefleche(@taille: .5em, @couleur: @couleur-defaut, @epaisseur: 2px){
	&::before {
	  content: " ";
	  display: block;
	  overflow: hidden;
	  background: transparent;
	  height: @taille;
	  width: @taille;
	  border: @epaisseur solid @couleur;
	  border-width: 2px 2px 0 0;
	  transform: rotate(45deg);
	  float: left;
	  margin: 0.5em 0.9em 0 0;
	}
}

.filetapres(@hauteur:2px,@largeur:@container-treslarge-desktop - @grid-gutter-width,@couleur:@couleur-defaut) {
	position: relative;
	&:after{
		content: "";
		display: block;
		width: @largeur;
		height: @hauteur;
		background: @couleur;
		bottom: 0;
		position: absolute;
		left: 50%;
		transform: translate(-50%);
	}
}
	/* --------- mixins --------- */

@font-face {
	font-display: block;
  font-family: 'bootstrap-icons';
  src: 	url(https://ericbocquet.fr/squ/squelettes/css/bootstrapleger/fonts/bootstrap-icons.woff2) format('woff2'),
       		url(https://ericbocquet.fr/squ/squelettes/css/bootstrapleger/fonts/bootstrap-icons.woff) format('woff');
}

.gradient-directional(@startColor: #555, @endColor: #333, @deg: 45deg) {
  background-color: @endColor;
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(@deg, @startColor, @endColor); // FF 3.6+
  background-image: -webkit-linear-gradient(@deg, @startColor, @endColor); // Safari 5.1+, Chrome 10+
  background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10
  background-image: linear-gradient(@deg, @startColor, @endColor); // Standard, IE10
}

// Catchall baseclass
.icon {
  position: relative;
  &::before {
  	display: inline-block;
	  font-style: normal;
	  line-height: 1;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
		margin-right: 0.5em;
	  font-family: bootstrap-icons !important;
	  font-weight: normal !important;
	  font-variant: normal;
	  text-transform: none;
  }
}
.icon-box-arrow-up-right, .icon-box-fleche-bas-droite    { &:before { content: "\f1c5"; } }

/*--------------- Texte spip --------------*/

strong, b 												{ font-weight: 600; }
i, em, .italique 								{ font-style: italic; }
strong i 													{ font-weight: bold;}
.spip_document iframe 	{ margin: 0; }
a																			{ line-height: 120%; }
img {
	// Important pour éviter les images trop grandes dans la partie privée
	max-width: 100%;
	height: auto;
}
sup.typo_exposants { line-height: 99%; }
sup a {
	font-weight:bold;
	color:#CF0911;
}

span + .autobr 	{ display: none; }

/*--------------- Marges   --------------*/

// Marge pou séparer les paragraphes des titres sauf en tête d'article
p, ul.spip, ol.spip, table, .texteencadre-spip, .spip_cadre, .spip_code {
	margin-bottom: calc( ~"@baseLineHeight * 1.5" );
}

/* --------- Titres --------- */

h2.spip, h3.spip, h4.spip, h5.spip, h6.spip, .titre.h3, .titre.h4, .titre.h5, .titre.h6 {
	line-height: 120%;
	overflow: hidden;
	hyphens: none;
	margin: .5em 0 1.1em;
	border-left: 0 solid #fff;
	a { padding: 0; }
	font-weight: 500;
	font-style: normal;
	font {
		font-weight: 600;
		line-height: 120%;
		margin-left: 5px;
	}
}
h2.spip, .titre.h2, h3.spip, .titre.h3 {
	display: table;
	border-bottom: 3px solid @couleur-defaut;
	margin-bottom: .8em;
	font-size: 2em;
	padding: 0 0 0.15em;
	font, font * {font-weight: bold;}
}
h4.spip, .titre.h4, h5.spip, .titre.h5 {
	border-bottom: 1px solid @gris;
	margin: .7em 0;
}
h4.spip, .titre.h4 {
	border-bottom: 1px solid @gris;
	display: table;
	font: normal 500 1.8em/1.5em @labeur;
	padding: 4px 2px 6px 0;
	a { padding: 0; }
}
h5.spip, .titre.h5 {
	display: table;
	font: normal 500 1.4em/1.65em @labeur;
	margin: .5em 0 1em;
	padding: .4em 0 .3em ;
	color: @grisDarker;
	background-color: transparent;
	.spip_dic {color: #fff; }
}
h6.spip, .titre.h6 {
		border-bottom: 1px solid @grisLighter;
		display: table;
		font: 500 1.2em/120% @labeur;
		overflow: hidden;
		padding: 3px 0 4px;
}
/*--------------- Marges   --------------*/

// Marge pou séparer les paragraphes des titres sauf en tête d'article
p, ul.spip, ol.spip, table, .texteencadre-spip, .spip_cadre,
.spip_code, .spip-block-right, .spip-block-center {
	margin-bottom: calc( @baseLineHeight * 1.2 );
	font-weight: inherit;
}
p, ul.spip, ol.spip, div, table {
	& + h3.spip, & + h4.spip, & + h5.spip, & + h6.spip {
		margin-top: 1.8em ;
	}
}

* .spip_dic {
	margin: 0 0 0 6px;
	line-height: 95%;
}

/*--------------- Listes   --------------*/

li, p { line-height: 1.6em; }

ul.spip {
	border-width: 0;
	padding-left: 0.5em;
	& > li {
		padding-left : 1.2em;
		list-style: none;
		position: relative;
		padding-top: .4em;
		margin: 0 0 9px;
		&::before{
			content: " ";
			display: block;
			width: 0.5em;
			height: .5em;
			position: absolute;
			border-radius: 50%;
			float: left;
			left: 0;
			top: 0.4em;
			margin: 0.5em .1em 0 0;
			background-color: @couleur-defaut;
		}
	}
	& > li { margin-left: 0; }
}

ul.spip ul.spip, ol.spip ul.spip, ul.spip ol.spip {
	margin-left: 10px;
	margin-bottom: 1.7em;
	li {
		padding-top: 0.2em;
		margin: 0 0 .1em;
	}
}

ol { list-style: decimal inside !important;}
ol.spip {
		counter-reset: repas;
	  margin: 0.5em 0 1.9em 1.9em;
		&>li {
				list-style-type: none;
				counter-increment: repas; /* on incrémente le compteur à chaque nouveau li */
				margin-bottom: 10px;
		}
		& li:before {
				content: counter(repas); /* on affiche le compteur */
				padding: 2px 8px 2px;
				margin-right: 1em;
				vertical-align: top;
				background: @couleur-defaut;
				font-weight: bold;
				font-size: 1em;
				color: white;
		}

		& ul li:before {content: none; }
}
li.spip ul.spip {margin: 0;}

/*--------------- Liens  --------------*/

a.spip_out, a.spip_in, a.spip_glossaire, p.spip_note a, p.spip a, .spip_in, .spip_note, .spip_dic sup, .larticle a {
	font-weight:500;
	color: @couleur-defaut;
}
.spip_out:hover, p.spip_note a:hover, p.spip a:hover, .spip_in:hover, .spip_glossaire:hover, .spip_out:hover {
	text-decoration:underline;
}
.spip_out {
	.icon;
	.icon-box-arrow-up-right;
	padding-right: 0.3em;
	&::before {
		font-size: .6em;
		vertical-align: baseline;
	}
}

/*--------------- Mise en forme de caractères  --------------*/

.caractencadre-spip     { color: @rouge; }
.caractencadre2-spip   { color: @jaune; }
sc, .sc								   					{ font-variant: small-caps; }

/*--------------- Mise en forme de paragraphes  --------------*/

.spip_cadre, .spip_code {
	padding: .6em 1em .7em;
	display: block;
}
code, kbd, pre, samp {font-family: @font-family-monospace; }
.spip_code, code {
	font-family: @font-family-monospace !important;
	color: #fff;
	font-weight: 500;
	font-size: .85em;
  background-color: @code-bg;
	white-space:inherit;
}

// User input typically entered via keyboard
kbd {
  padding: 2px 4px;
  font-size: 90%;
  color: @kbd-color;
  background-color: @kbd-bg;
  border-radius: @border-radius-small;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);

  kbd {
    padding: 0;
    font-size: 100%;
    font-weight: bold;
    box-shadow: none;
  }
}

// Blocks of code
pre {
  display: block;
  overflow: auto;
  padding: ((@line-height-computed - 1) / 2);
  margin: 0 0 (@line-height-computed / 2);
  font-size: (@font-size-base - 1); // 14px to 13px
  line-height: @line-height-base;
  word-break: break-all;
  word-wrap: break-word;
  color: @pre-color;
  background-color: @pre-bg;
  border: 1px solid @pre-border-color;
  border-radius: @border-radius-base;
  /* Cf.: http://perishablepress.com/press/2010/06/01/wrapping-content/ */
  white-space: pre;           /* CSS 2.0 */
  white-space: pre-wrap;      /* CSS 2.1 */
  white-space: pre-line;      /* CSS 3.0 */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -hp-pre-wrap;  /* HP Printers */
  word-wrap: break-word;      /* IE 5+ */

  // Account for some code outputs that place code tags in pre tags
  code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
  }
}

.texteencadre-spip		{
	color: #fff;
	border: 0px solid #fff;
	padding: 0.6em 1em 0.8em;
	a { color: #fff;}
}

.cs_blocs {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-top: 1px solid #ddd ;
	border-bottom: 1px solid #ccc;
	padding: 0.8em 0.9em;
	background-color: #e8e8e8;
	clear: both;
	.gradient-directional( @grisDark, #fff, 180deg );
	.blocs_titre {
		font-size: 1.2em;
		background-image: none;
		padding: 0 0 0 33px;
		position: relative;
		a {
			text-decoration: none;
			color: @couleur-defaut;
		}
		&:before {
			transition-property: all;
			transition-duration: .3s;
			transition-timing-function: cubic-bezier(.25,.46,.45,.94);
			content: url();
			display: inline-block;
			transform: rotate(90deg);
			display: inline-block;
			position: absolute;
			left: 7px;
		}
	}
	.blocs_replie:before { transform: rotate(0); }
	&:last-of-type 					{ border-bottom: 1px solid #ddd; }
	.blocs_destination 		{ padding: .7em 2.1em ; }
}

a[href*="javascript:"] 												 {
	background-color: inherit;
	&::before, &::after { display: none; }
}

/*--------------- Encadrés  --------------*/

blockquote.spip, blockquote.spip_poesie {
	background-color: #F2F1F1;
	font-size: 1.4em;
	line-height: 144%;
	font-style:italic;
	margin: 1em 0 ;
	padding: 0.7em 1.3em 1em ;
	min-height: 40px;
	position: relative;
	p:last-of-type {margin-bottom: 0; }
}
blockquote.spip {
	padding: 1em 3em ;
	text-align: center;
	&:before {
		color: @couleur-defaut;
		content: "«";
		font-size: 2.6em;
		left: .3em;
		position: absolute;
		top: .2em;}
	&:after {
		bottom: .35em;
		color: @couleur-defaut;
		content: "»";
		font-size: 2.6em;
		position: absolute;
		right: .3em;
	}
}

/*--------------- Filets et tableaux  --------------*/

hr.spip {
	border-bottom: 1px solid #DDDDDD;
	margin: 27px 0;
}

/* -------- Tableaux ------- */

table {
	cellpadding: 0;
	cellspacing: 0;
	border-collapse:collapse;
	border-spacing:0
}

table.spip, table.spip td, table.spip th {
	border-collapse: collapse;
	font-size: 14px;
	margin: 20px 0 25px;
	padding: 3px 10px;
	text-align: center;
}

table.spip {
	width:100%;
	display:table;
	margin: 2px 0 8px;
	border-width: 1px 1px 1px;
 	border: 1px solid @couleur-defaut;
	th {
		color: #FFFFFF;
		font-size: 1.1em;
		font-weight: 600;
		line-height: 120%;
		padding: 8px 5px 7px;
		text-align: center;
		strong { margin:4px 10px; }
	}
	th 												{ background-color: @couleur-defaut; }
	td 												{ border: 0 solid #fff; }
	.row_odd, .odd			{ background-color: #fff; }
	.row_even						{ background-color: @grisLighter; }
	.row_odd:hover 		{ background-color: @grisLight; }
	.row_even:hover 	{ background-color: @grisLight; }
}

/*--------------- Formulaires  --------------*/

.boutons 	{ margin-top: 1.3em; }
textarea 	{ border: 1px solid #ddd; }

/* ---- Notes ---- */

.note, .notes {
	.pintertitre {
		font-size: 1.5em;
		border-bottom: 1px solid #ddd;
		padding: 0.7em 0 0.5em;
		margin-bottom: 1.5em;
		color: @couleur-defaut;
	}
	padding: .4em 0 .8em;
	margin: .8em 0 0;
	border-top: 1px solid @couleur-defaut;
	display:block;
	zoom :1;
  color: @grisDark;
	overflow:hidden;
	width:100%;
	font-size: 1em;
	max-width: 100%;
	div > p  { font-weight: 400; }
}

/* ---- Documents ---- */

.spip_documents {
	background:@grisExtraLighter;
	color: #333333;
	display: inline-block;
	padding: 0.2em;
	margin: 0 auto;
	text-align:center;
	&.spip_documents_left,
	&.spip_documents_right,
	&.spip_documents_center{
		// Distinction entre images alignées et images non alignés qui peuvent se caser entre les caractères.
		margin-top: 1em;
		margin-bottom: 1em;
		padding: 1em;
	}
	.spip_doc_legende {
		margin: 1.1em 0 0.2em;
		width: 100%;
		max-width: 100%;
	}
	.spip_doc_titre {
		margin: 0 17px;
		padding: 0 0 .5em;
		line-height: 1.2em;
		display: block;
	}
	.spip_doc_descriptif, .spip_doc_credits {
		line-height: 140%;
		padding: 0;
		margin: .4em .5em 0;
		p {
			margin-bottom: 1em;
			&:last-of-type { margin-bottom: 0; }
		}
	}
	.spip_doc_credits {
		font-size: 0.8em;
		font-style: italic;
		font-weight: 400;
	}
	dt.spip_doc_titre + dd.spip_doc_descriptif {margin: 0 .5em 0; }
	&.oembed_video {
		margin: 5px;
		min-width: 200px;
	}
	&.audio audio {
		margin-left: auto;
  	margin-right: auto;
	}
	&.spip_documents_center{
		margin : 15px auto;
		padding: 15px;
		width: 100%;
		display: block;
		overflow: hidden;
		* 	{ text-align:center; }
		.spip_doc_descriptif, .spip_doc_titre 	{ width: auto !important;}
		.spip_doc_titre 	{
			font: 1.2em;
			margin-top: 1em;
			strong {
				line-height: 1.2em;
				display: block;
			}
		}
	}
	&.spip_documents_left 							{
		margin : .2em 4% 2.5em 0;
		float: left;
	}
	&.spip_documents_right 						{
		margin : .2em 0 2.5em 4%;
		float: right;
	}
	&.spip_documents_left, &.spip_documents_right	{
		max-width: 46%;
		.oe-video { float: none; }
	}
	&.spip_documents_center.oembed_video {
		width: auto;
		padding: 40px 15px;
		margin: 2em 0;
		.oembed{
			width: 100%;
			max-width: 700px !important;
			padding: 0;
		}
	}
	.oe-play-button button{
		margin-left: -33px;
		margin-top: -33px;
		left : calc(~"50%");
		top : calc(~"50%");
	}
	&.oembed_twitter {
		width: auto;
		display: block;
		padding-bottom: 1.3em;
		margin: 2em auto;
		.twitter-tweet {
			text-align: left;
			padding-left: 16%;
			background:url() no-repeat 2.4% .3em;
			background-size: 11%;
			p {
				font-size: 1.5em;
				padding: 1px 4% 0;
				text-align: left;
				border-left: 1px solid #ddd;
				margin: 0.8em 0;
			}
		}
		.oembed 		{ padding-bottom: 1em; }
	}
	img 							{ max-width: 100%; }
	p.spip 					{ margin: 0 !important;}
}
.spip_documents.lecteurpdf { width: 100%; }
.toutlargeur {
	width: auto;
	.oembed_video{ width: 100%; }
}

.minivideo {width: 100%; }

/* Cartes GIS */

.carte_gis {margin-bottom: 1.5em; }

/* ---- Colorisation par défaut ----- */

h3.spip ,h6.spip 																	{ border-bottom-color: @couleur-defaut; }
h5.spip, li:before, ol li:before,
.spip_code, .texteencadre-spip 						{
	background-color: @couleur-defaut;
	a {
		color : contrast(@couleur-defaut, #000000, #ffffff);
		text-decoration: underline;
	}
}
.spip_out, .spip_in, .spip_ancre  					{ color: @couleur-defaut; }
.larticle table.spip {
 	border: 1px solid @couleur-defaut;
	td 		 																									{ 	border-right: 1px solid @couleur-defaut; }
	thead 			 																					{ 	background-color: @couleur-defaut;  }
}
.note .pintertitre, .notes .pintertitre			{ color: @couleur-defaut; }

/* --------- Listes --------- */
ul.spip li { margin: 0 0 .3em; }

/* --------- Styles FAQ --------- */
dl.faq.js {
	dt {
		background-position: 0.5em 0.6em;
		padding-left: 2.2em;
	}
	dd {
		margin-top: 1em;
		padding: 0.4em 0 0 1.1em;
	}
}

/* ---------- pas de marges devant les premiers éléments */

.spip, blockquote, p {&:first-child{ margin-top:0; } }

@media screen and (max-width: @screen-xs-max ) {
	.texte {
		.spip_documents.spip_documents_left, .spip_documents.spip_documents_right, .cs_blocs {
			max-width: 100%;
			margin-left: 0;
			margin-right: 0;
		}
		.cs_blocs { width: 100%; }
	}
	.spip_documents.oembed_video { min-width: 0; }
}

@media screen and (max-width: @screen-lg) and (min-width: @screen-xs) {
	.texte {
		.spip_documents.spip_documents_right, .cs_blocs { margin-left: 5%; }
		.spip_documents.spip_documents_left { margin-right: 5%; }
	}
}

/*  */
/*--------------- Texte spip --------------*/

text-align: left;
font-family: @labeur;

/* --------- Titres --------- */

h5.spip, .titre.h5 {
	font-size: 1.4em;
	font-style: normal;
	padding: .4em 0 .3em ;
	margin-bottom: 1em;
	color: @gris-darker;
	background-color: transparent;
}
h6.spip, .titre.h6 {
		border-bottom: 1px solid #D60712;
		font-size: 1.4em;
		padding: 3px 0 4px;
}

/*--------------- Listes   --------------*/

ul.spip {
	ul.spip, ol.spip {
		.spip_documents { vertical-align: top; }
	}
	ol.spip {
		left: 1em;
		margin-bottom: 2.3em;
		margin-top: 0.5em;
	}
}

ol.spip, ul.spip {
	ol.spip {
		li {
			padding: 0.4em 1.2em 0.5em 1.3em;
			margin-bottom: 0.1em;
			box-shadow: none;
			border: none;
			background-color: transparent;
			&:before {
				border-radius: 50%;
				margin-top: -0.1em;
				width: 1.8em;
				height: 1.8em;
				line-height: 1.8;
				text-align: center;
				padding: 0;
				font-size: 0.9em;
			}
		}
	}
}
ol.spip {
	margin-top: 1em;
	margin-bottom: 2.5em;
	position: relative;
	padding-left: 0.1em;
	& > li {
		display: table;
		margin: 0 0.5em 1.2em 0.2em;
		background: @grisLighter;
		padding: 1em 1.4em 1.1em 1.2em;
		border-left: 6px solid @couleur-defaut;
		box-shadow: #ddd 6px 5px 5px;
		&:before {
			padding: 0.1em 0.3em 0 0.7em;
			line-height: 1.55em;
		  position: absolute;
		  // margin-right: 0;
		  margin-top: -1em;
		  left: -1.1em;
		  border-radius: 0.8em 0 0 0.8em;
		  height: 1.7em;
		}
		&:hover {
			box-shadow: #ddd 2px 2px 6px;
			transition: .2s;
		}
	}
	/* La liste dans la numerotation */
	ul.spip {
		margin: 0.2em 0;
		padding-left: 0;
		& > li {
			padding: 0.4em 1.2em 0.5em 1.3em;
			margin-bottom: 0.1em;
			box-shadow: none;
			border: none;
			background-color: transparent;
			&::before{
				content: " ";
				height: .5em;
				padding: 0;
				border-radius: 50%;
				left: 0;
				margin: 0.5em .1em 0 0;
			}
		}
	}
	ol.spip {
		margin: .6em 0 0 1.3em;
	}
}

/*--------------- Liens  --------------*/

a.spip_out, a.spip_in, a.spip_glossaire, p.spip_note a, p.spip a, .spip_in, .spip_note, .spip_dic sup, .larticle a {
	&::after { content: none; }
}
.spip_note_ref a, .spip_note a {
	position: relative;
	padding-top: calc(@navbarHeight + 80px);
}

/*--------------- Mise en forme de caractères  --------------*/

.caractencadre-spip, .caractencadre2-spip     {
	color: @couleur-defaut;
	font-style: italic;
	font-size: .95em;
	font-weight: 500;
	border-bottom: 4px solid #fff;
	background-color: #fff;
	padding: 0.2em 0.4em 0;
	border-radius: 0.3em;
	margin: 0 0.3em 0;
	box-shadow: 0 0 5px #0003;
}
.caractencadre2-spip {color: @grisDarker; }

/*--------------- Mise en forme de paragraphes  --------------*/

.texteencadre-spip		{ background-color: @couleur-defaut; }
.spip_code, code {
  color: @code-color;
  background-color: @code-bg;
	font-weight: 600;
	margin-bottom: 1.8em;
	padding: 0.4em 1em 0.4em;
	display: inline-block;
	vertical-align: unset;
}
code {border-radius: @border-radius-base; }
p > .spip_code, p > code { margin-bottom: 0; } // Si le code est sur une seule ligne
.spip_code > code {
	border: none;
	padding: 0;
	background: none;
	color:inherit
}

samp { 	font-weight: bold; }
var {			font-style: italic; }

@media print {
  pre { page-break-inside: avoid; }
}

.cs_blocs {
	background: transparent;
	border-width: 0 0 0 8px;
	margin-bottom: 1.5em;
	padding: 0 0 0 33px;
	.blocs_titre {
		font-size: 1.5em;
		text-transform: uppercase;
		font-weight: 600;
		color: @couleur-defaut;
		p:last-of-type{ padding-bottom:0; }
		&:before {content: url(https://ericbocquet.fr/squ/squelettes/ergo/fleche/d_moyen.png); }
	}
}

/*--------------- Encadrés  --------------*/

blockquote{
	&.spip, &.spip_poesie {
		line-height: 160%;
		margin: 1.5em auto ;
	}
}

/*--------------- Filets et tableaux  --------------*/

hr.spip {width: 100%; }

/* -------- Tableaux ------- */

caption, .tablesorter-default > caption {
	background-color: #fff;
	padding: 1.8em 1em 1.8em;
	text-align: center;
	font-size: 1.5em;
	color: #000;
	font-weight: 600;
	font-family: @labeur;
}
table.spip {
	margin: .1em 0 .3em;
	border-width: 1px 1px 1px 2px;
	&, td,  th {
		border-collapse: collapse;
		font-size: 14px;
		margin: 20px 0 25px;
		padding: .6em .4em;
		border: 1px solid #ddd;
		text-align: center;
		vertical-align: middle;
	}
}

/* ---- Notes ---- */

.note, .notes {
	.pintertitre {color: @couleur-defaut; }
  border-top: 1px solid @couleur-defaut;
  padding-top: 3em;
  color: @grisDark;
  font-size: 1em;
}

/* ---- Documents ---- */

.spip_documents {
	img 							{ max-width: 100%; }
	p.spip 						{ margin: 0 !important;}
	.spip_doc_titre {
		padding: 0 0 .1em;
		line-height: 1.2em;
		display: block;
	}
	.spip_doc_credits {font-size: .85em; }

	// Vidéos

	.oe-play-button button{
		margin-left: -33px;
		margin-top: -33px;
		left : calc(~"50%");
		top : calc(~"50%");
	}

	// Alignements

	&.spip_documents_center{
		margin : 3em auto;
		padding: 1em;
		& > * { text-align:center; }
		img 	{ margin : 0 auto;	}
		.spip_doc_legende {	margin: 1.5em 0 0.6em;	}
	}
	&.spip_documents_left, &.spip_documents_right	{
		max-width: calc(~"46%");
		// On s'arrange que les liens sur les doc soient cliquables en les positionnant au dessus :;
		position: relative;
		z-index: 1;
		&.oembed_video 	{ width: calc(46%); }
	}
	&.inline {
		&, figure, img {
			display: inline;
			float: inherit;
			overflow: inherit;
			margin: 0;
			padding: 0;
			vertical-align: top;
		}
	}
	.oembed_video { margin-bottom: 2em; }

	// Tweets

	&.lecteurpdf 	{ padding: 30px; }
	&.spip_document_text {
		display: block; // Permet au tableau csv de prendre toute la largeur
		.table { margin-bottom: 0; }
	}
	&.spip_document_file {
		box-shadow: 2px 2px 13px #0003;
		background-color: #fff;
		display: table;
		width: auto;
		padding: 20px 22px 20px 12px;
		figure {
			  display: flex;
			  align-items: center;
			  .spip_doc_legende {
			  	margin: 0 0 0 10px;
			  	div {
			  		text-align: left;
			  		margin-left: 0;
			  		margin-right: 0;
			  		margin-top: 0;
			  	}
			  	.spip_doc_descriptif  { font-size: .9em; }
			  	.spip_doc_credit  { font-size: .8em; }
			  }
		}
		&.spip_documents_left { margin: .2em calc(~"4% - 13px") 2.5em 13px; }
		&.spip_documents_right { margin: .2em 13px 2.5em calc(~"4% - 13px"); }
	}

}

/* --------- formidable --------- */

.item_picker img { width: inherit; }

/* --------- Iframe --------- */

iframe 			{ padding: 0 0 2.5em; }

/* ---------- Responsive ------------ */

@media screen and (max-width: @screen-xs-max ) {
		blockquote {&.spip, &.spip_poesie { font-size: 1em; } }
	  code, pre, samp {
	  	word-wrap: break-word;
	  	white-space: pre-line; /* passage a la ligne specifique pour les elements a chasse fixe */
	  }
	  blockquote.spip, blockquote.spip_poesie {font-size: 1.2em; }
		blockquote.spip {
			&::before, &::after { font-size: 2.2em; }
		}
		table.spip { width: auto; }
}

/*  */
/*--------------- Texte spip --------------*/

p{
	font-size: 1em;
	font-weight: inherit;
}

.autobr { margin-bottom: 1em; }

/* --------- Titres --------- */

h2.spip, h3.spip, .titre.h3 {
	font-size: 2em;
	margin-bottom: .8em;
	padding: 0 0 0.15em;
}
h4.spip { font-size: 1.8em; }
h5.spip { font-size: 1em; }

/*--------------- Listes et liens  --------------*/

ul.spip {
	border-width: 0;
	padding-left: 0.4em;
	& > li { margin-left: 0; }
	li { padding-top: .4em; }
}

ol.spip > li {margin-bottom: 1em; }
ol.spip {
	position: relative;
	padding-left: 0.1em;
	margin: 1em 0 1.9em 4em;
	li {
	margin: 0 0.5em 1.3em 0.2em;
	background: @grisLighter;
	padding: 1em 1.4em 1.1em 1.2em;
	border-left: 6px solid @couleur-defaut;
	box-shadow: #ddd 6px 5px 5px;
	&:before {
	  position: absolute;
	  margin-right: 0em;
	  margin-top: -1em;
	  left: -1.1em;
	  border-radius: 0.8em 0 0 0.8em;
	  height: 1.7em;
		padding: 0.1em 0.3em 0 0.7em;
		line-height: 1.55em;
	}
	&:hover {
		box-shadow: #ddd 2px 2px 6px;
		transition: .2s;
	}
	}
	& > li {margin-bottom: 1em; }
}

/*--------------- Code  --------------*/

.spip_code {
	&:extend(code);
	background-color: @grisLighter;
	color: @grisDarker;
	padding: 0.4em 0.9em 0.4em;
}
.spip_code >code {
	border: none;padding: 0;
	background: none;color:inherit
}

.cs_blocs  {
	padding-left: 2%;
}

.blocs_titre  {
	margin-bottom: .6em;
}

/*--------------- Filets et tableaux  --------------*/

hr.spip { margin: 2.7em 0; }

table.spip {
	width:100%;
	display:table;
}

/* ---- Documents ---- */

.spip_documents {
	// &.spip_documents_left, &.spip_documents_right	{ max-width: 48%; }
	&.portrait{
		max-width: 39.5%;
		&.spip_documents_left			{ margin-right: 5.6%; }
		&.spip_documents_right	{ margin-left: 5.6%; }
	}
	.spip_doc_titre, .spip_doc_descriptif 	{	margin: 0 auto; }
	.spip_doc_titre 																		{	font-size: 1em; }
	.spip_doc_descriptif {
		font-size: 0.9em;
		font-weight: 400;
		font-style: italic;
	}
	&.media_file{
		padding: 0.6em 0.9em;
		margin-top: 1.5em;
		.logo {
			float: left;
			padding-right: 0.8em;
			img { max-height: 6em; }
		}
		.spip_doc_titre, .spip_doc_descriptif, .credits 	{
			text-align: left;
			margin-left: 143px;
		}
		.spip_doc_titre + .spip_doc_descriptif {margin: 0 0 0 143px; }
		.spip_doc_titre 		{ margin-top: 0; }
		dt 											{ padding-bottom: .35em; }
		dd 											{ padding-bottom: .6em; }
	}
}
.spip_documents.spip_documents_center.oembed_video { padding: 15px 15px; }

iframe {
	overflow: hidden;
	html { overflow: hidden; }
}
}