@font-face {
	font-family: 'AvenirNextCyr';
	src: url('/sites/all/themes/cgt/fonts/AvenirNextCyr-Regular.ttf');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'AvenirNextCyr';
	src: url('/sites/all/themes/cgt/fonts/AvenirNextCyr-Italic.ttf');
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: 'AvenirNextCyr';
	src: url('/sites/all/themes/cgt/fonts/AvenirNextCyr-Bold.ttf');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'AvenirNextCyr';
	src: url('/sites/all/themes/cgt/fonts/AvenirNextCyr-BoldItalic.ttf');
	font-weight: bold;
	font-style: italic;
}


body, a {font-family: "AvenirNextCyr"; text-align: justify; padding-top: 0px; margin-left: 0; margin-right: 0;}
h1, h2, h3 {text-align: left;}

img, media {
  max-width: 100%; height: auto;
}
.img-h25 img {height: 25px; width: auto;}

a {text-decoration: none; color: #DF0101;}
a:hover {text-decoration: underline;}

h2 {color: #f03e3e;}
h2 a {}

*/ generique*/
.droite {float: right;}
.gauche {float: left;}
.taille50pc {width: 50%;}
.taille100pc {width: 100%;}
.rouge {background-color: #f03e3e; color: white; padding: 5px; text-align: center; vertical-align: middle;}
.rouge a {color: white;}
.rouge a:hover {}
references {background-color: yellow;}




/* en tête */
body {margin-top: 0;}
.l-header {background-color: #f03e3e;}
/*.l-branding { width: 100%;}*/
.l-region--header  {padding: 0;}

/* Recherche*/
.block--search img {height: 25px; width: auto; }
.form-item-search-block-form input {border: 1;}

/*flexslider*/
#flexslider-1 {position: relative;}
#flexslider-1 .views-field-title {position:absolute; bottom: 0px; padding: 3px; }
#flexslider-1 .views-field-title h1 {margin: 0;}
#flexslider-1 .views-field-title a {color: white;}

/*Articles*/
.field--name-field-tags a {background-color: #f03e3e; color: white; padding: 2px; margin-right: 2px;}
.field--type-taxonomy-term-reference .field__item { display: inline;}
.submitted-by {font-style: italic; margin-top: 3px;}
article .field__item even img { width: 100%; }
.field--name-field-copyright {font-size: x-small; margin-bottom: 3px;}
.field field--name-field-tags, .l-main .l-content .submitted-by {margin-top: 2px;}


/* mobile */
body.mobile {margin: 0;}
.mobile .l-header .l-constrained {margin: 0; width: 100%;}
.mobile .l-main {margin: 0px; width: 100%;}
.mobile .l-main .l-content h1, .mobile .l-main .l-content .field--name-field-copyright, .mobile .l-main .l-content .field--name-field-tags, .mobile .l-main .l-content .submitted-by, .mobile .l-main .l-content .field--name-body, .mobile #sharebarx, .mobile.front .views-field-title, .mobile.front .views-field views-field-nothing, .mobile.front .views-field-body {margin-left: 3px; margin-right: 3px;} /* width: 98%;}*/
/*.mobile .l-main img { margin: 0px -3px; }*/
/*.mobile .view-articles {margin: 3px; }*/
.site-branding {background-color: #f03e3e;}
.mobile .site-branding__logo img {width: 40%; height: auto; margin-left: 10%;}
.mobile #flexslider-1 {border: 0;}
.mobile table {width: 100%;}
.mobile h1 {font-size: }
.desktop #block-superfish-1 {display: none;}
/*.mobile .l-header {position: relative;}*/
/*.mobile .site-branding {position: relative;}*/
.mobile .site-branding #block-superfish-1 {position: absolute; top:0; left: 0; width: 100%;}
.mobile .site-branding .sf-accordion-toggle {padding: 5px;}
.mobile .site-branding #block-superfish-1 a {color: white; font-size: xx-large; background-color: #f03e3e; width: 100%; }
.mobile .site-branding #block-superfish-1 a:hover {text-decoration: none;}
.mobile .site-branding #block-superfish-1 ul li a {font-size: larger; padding: 5px; }
.mobile .site-branding #block-superfish-1 .sf-clone-parent {display: none;}
.mobile .site-branding #block-superfish-1 ul li ul a {font-size: smaller; padding-left: 10px;}
.mobile .l-header #block-search-form {position: absolute; top:20px; right: 0; }
.mobile .l-header #block-block-2 {position: absolute; top:0px; right: 1px; padding-left: 8px; }
.mobile .l-header #block-block-2 .adherer img { height: 8%; width: auto; }
.mobile .block--search img {height: 18px; width: auto; }
.mobile .search-block-form input { top: 2px; }
.mobile table {font-size: x-small;}
