/* ville et nom/prénom en majuscule */
table.list-annuaire td:nth-child(2), table.list-annuaire td:nth-child(3) {
    text-transform: uppercase;
}

/* HACK : masque le message Drupal "Aucune contenu crée" quand il n'y a aucun billet de blog
 * A remettre lors de la publication du premier billet.
 */
body.page-blog .messages--status {  display: none; }



.block-menu-block { margin: 0; }

@font-face {
    font-family: "HelveticaNeue";
    src: url("../fonts/HelveticaNeueLTStd-Cn.woff") format('woff');
}

.message {
    padding: 8px 8px 8px 16px;
    margin: 4px 0;
}

.message.notice {
    background: #D9EDF7;
    color: #3A87AD;
    border: 1px solid #BCE8F1;
}

#container-main {
    margin-top: 25px;
}

/**
 * Formulaire Account
 */
label[for="edit-field-disallow-newsletter-und"],
label[for="edit-field-disallow-diffusion-tiers-und"] {
    width: auto !important;
}

.password-strength {
    visibility: hidden;
}

.form-item-profile-adherent-field-adh-annuaire-hidden-und label {
    width: auto !important;
}

body.page-user-edit #edit-group_compte_cfai .fieldset-wrapper {
    width: 290px; /* fix: le formulaire sort de la zone de contenu sur la page d'édition de l'account */
}

/**
 * Redéfinit le pager (plus compact)
 */
.pager-item, .pager-first, .pager-previous, .pager-next, .pager-last, .pager-ellipsis, .pager-current {
    padding: 0 0.2em;
}

.pager li > a, .pager li > span {
    padding: 5px 5px;
    text-decoration: none;
}

/**
 * Rédéfinit des styles spécifiques pour l'édition via CK Editor
 * cke_editable est la la zone d'édition
 * cke_ltr permet de redéfinir les arrière-plan des menu de la toolbar (Format et Style de bloc)
 */
body.cke_editable, body.cke_ltr { 
    background: #FDF9F9 !important;      
}
 
body.cke_editable {
  width: 490px !important; 
}

body.cke_editable img {
  max-width: 100%; 
}
 
/**
 * Styles disponibles via CK Editor
 */
p.exergue, .exergue {
  color: #444444;
  font-size: 16px;
  font-style: normal;
  line-height: 1.42857;
  margin-bottom: 16px;
}
 
p.annotation {
    color: #222;
    font-style: italic;
    margin: 0 0 10px;
}

/* masquage section du profil par défaut, à faire via drupal */
#user-profile-form #edit-locale, #user-profile-form #edit-timezone {
    display: none;
}

.block__title {
  display: none !important;
}
.menu__item.is-leaf {
  list-style-type: none;
  list-style-image: none;
}
html, body {
  height: 100%;
  overflow-x: hidden; /* fix bug de layout qui fait apparaître une scrollbar horizontale non nécessaire */
}
/* boostrap devrait s'en occuper, voir pourquoi */
body {
    position: relative;
    line-height: 1.4;
    padding: 0;
    /*font-family: "Myriad Pro", "Arial", sans-serif;*/
    color: #000000;
    font-size: 12px;
    /*letter-spacing : 1.4px;*/
    /*background: #8A1B0A url(../images/bkgnd-visuel.jpg) 45% 28% no-repeat;*/

    background-color: #8A1B0A;
    background-image: url(../images/bkgnd-visuel.jpg);
    background-position: 45% 28%;
    background-repeat: no-repeat;

    font-family: "Arial", sans-serif;
    font-size: 11px;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  color: #9c1a1b;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "HelveticaNeue";
  text-align: left;
}

h3.red-underlined {
    text-transform: none;
    border-bottom: 1px solid #9C1A1B;
    color: #000;
}
h3.red-underlined small {
    font-size: 11px;
    color: #000;
    font-weight: normal;
}


h2 {
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid #9c1a1b;
  padding: 10px 0 0px 0;
}

h3 {
  font-size: 16px;
  font-weight: bold;
  padding: 6px 0;
}

h4 {
  color: #574D4C;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 0;
  margin: 0;
}

/*h2 a {
    text-decoration: none;
}*/
/*body.section-blog #section-content h2 a {
    text-decoration: none;
    font-family: "Arial Black";
    color: green;
}*/

a {
  text-decoration: underline;
  outline: none !important;
}
a,
a:link,
a:visited {
  color: #9c1a1b;
}
a:focus,
a:active,
a:hover {
  color: #8e1a05;
}
footer  {
  line-height: 90px;
  background-color: #9C1A1B;
  color: #bd7c7c;
  width: 100%;
  /*position:fixed; bottom: 0; left: 0; right: 0;*/
}



.footer-top {
    background-color: #6A1A1A;
    /*margin-top: 16px;*/
    display: none;
    color: #BD7C7C;
}

.footer-top a {
    color: #BD7C7C;
    line-height: 2.8em;
    text-decoration: none;
}

.footer-top a:hover {
    color: #fff;
}

footer ul.menu {
  margin: 0;
  padding: 0;
}
footer ul.menu li {
  display: inline;
}
footer ul.menu li:before {
  content: " - ";
}
footer ul.menu li:first-child:before {
  content: none;
}
footer ul.menu a,
footer ul.menu a:link,
footer ul.menu a:visited {
  color: #bd7c7c;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

footer ul.menu a.active {
 color: #fff;
}

footer .block {
 margin: 0;
}

footer .copyright {
  margin: 0;
  font-size: 11px;
  text-align: right;
}

footer .copyright a {
    color: #BD7C7C;
    text-decoration: none;
}
footer .copyright a:hover {
    color: #fff;
}

/*footer p {
  margin: 0;
  font-size: 11px;
  text-align: right;
}*/

/**
 * Menu de niveau 1
 */
#nav-main ul.menu {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
#nav-main ul.menu li {
  margin-bottom: 1px;
}
#nav-main ul.menu li a {
    outline: none;
  display: block;
  height: 89px; /* n'inclut pas le margin-bottom de 1px */
  /*line-height: 90px;*/
  /*padding-left: 25px;*/
  color: #fff;
  font-size: 13px;
  /*font-weight: bold;*/
  text-decoration: none;
  text-transform: uppercase;
  /*background-color: rgba(87, 77, 77, 0.85);*/
  background-color: rgba(101, 27, 28, 0.9);
  text-align: center;
  
  line-height: 16px;
  
  /* avec nouvelles polices */
  font-family: "HelveticaNeue";
  letter-spacing: 2px;
  
}
#nav-main ul.menu li a span {
    font-style: normal;
    font-weight: bold;
    font-size: 17px;
    display: block !important;
    
    font-size: 19px;
}

#nav-main ul.menu li.is-active-trail a,
#nav-main ul.menu li.is-active a {
    /*background-color: rgba(101, 27, 28, 0.5) !important;*/

    background-color: /*#FDF9F9 !important;*/ rgba(255, 255, 255, 1) !important;
    color: #9C1A1B !important;
}

#nav-main ul.menu li a.active,
#nav-main ul.menu li a:hover {
  background-color: rgba(101, 27, 28, 1);
}
#nav-main ul.menu li a span {
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}
/*  */
/***********************************************************************************************
 * Style des éléments de menu spécifiques
 *
 * Certains éléments de menu doivent comporter des ID spécifiques pour être stylés correctement
 * A ajouter via les attributs d'items de menu sur Drupal
 ***********************************************************************************************/

/* Niv2: item ne comportant qu'une seule ligne */
.menu-niv2-oneline a {
    padding-top: 36px !important;
}

/* Niv2: fix chrome, il ne passe pas à la ligne donc on rajoute un petit padding ("Code des devoirs et contrat") */
.menu-niv2-narrower a {
   padding-left:4px !important;
   padding-right:4px !important;
}

/* Niv1: English version (menu latéral droit) */
#menu-item-english-version-link {
    display: block;
    color: #B66862 !important;
    height: 90px;
    margin: 0 !important;
    padding: 0 !important;
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-image: url(../images/btn-english.png);
    /*font-family: "HelveticaNeue";
    font-size: 12px !important;*/
    text-indent: -9999px;
    padding-top: 60px !important;
}
#menu-item-english-version-link:hover {
    background-position: 50% 100%;
    background-color: #6D2020;
    color: #fff !important;
}

/* Niv1: Menu Blog - Actualité CFAI */
#menu-item-blog a {
    background: transparent url(../images/menu-certif-bkgnd.png) right top no-repeat !important;
    padding: 110px 10px 26px 10px;
    height: auto !important;
}
#menu-item-blog a span {
     font-weight: bold;
}

/* Fix Safari: permet d'éviter un retour sur 3 lignes */
#menu-item-reconnaitre-ecole a {
    width: 143px !important;
}

#menu-item-blog a:hover {
    background: transparent url(../images/menu-certif-bkgnd-hover.png) right top no-repeat !important;
    /*background: transparent url(../images/menu-blog-bkgnd-hover.png) right top no-repeat !important;*/
}

/*#menu-item-blog a.is-active,
#menu-item-blog a.is-active-trail {*/
body.section-blog #menu-item-blog a {
    background: transparent url(../images/menu-blog-bkgnd-hover.png) right top no-repeat !important;
    color: #9C1A1B !important;
}

#nav-main ul.menu li#menu-item-blog.is-active-trail a, #nav-main ul.menu li#menu-item-blog.is-active a {
    background-color: transparent !important;
}

/* Niv1: Menu Item Espace adhérent  */
#menu-item-espaceadh a {
    padding-top: 26px;
    font-weight: bold;
}

/* Niv1: Histoire Transparence Organisation */
#menu-item-histoiretransporg a {
    background-color: rgba(101, 27, 28, 0.5) !important;
    padding-top: 14px;
    text-align: left !important;
    padding-left: 32px !important;
    line-height: 20px !important;
    text-transform: none !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    font-weight: normal !important;
}

#nav-main ul.menu #menu-item-histoiretransporg.is-active-trail a,
#nav-main ul.menu #menu-item-histoiretransporg.is-active  a {
    background: rgba(255, 255, 255, 0.8) !important;
}

#menu-item-histoiretransporg a:hover {
    background-color: rgba(101, 27, 28, 1) !important;
}

/* Niv1: Menu Se faire reconnaître et Se former */
#menu-item-reconnaitre a,
#menu-item-former a {
    padding-top: 20px;
}

/* Niv1: Menu Travailler avec */
#menu-item-travailler a {
    padding-top: 22px;
}

/* Niv1: Menu Rechercher (rendu invisible car on a un autre accès en haut à droite) */
#menu-item-rechercher {
    display: none;
}

/**
 * Menu de niveau 2
 **/
#nav-secondary ul {
  margin: 12px 0 6px 0;
  padding: 0;
  list-style-type: none;
}
#nav-secondary ul li {
  text-align: right;
}
#nav-secondary ul a {
  font-size: 18px;
  color: #bd7c7c;
  text-decoration: none;
  line-height: 1;
}
#nav-secondary ul a:hover {
    color: #fff;
}

#content-top-bar {
  height: 90px;

}

#content-top-bar .col-md-4 { width: 360px; } /* pourquoi est ce que je dois spécifier une taille */
#content-top-bar .col-md-1 { width: 90px; }  /*alors que je devrais respectivement avoir 40% et 3 blocs de 10% ? */
#content-top-bar .col-md-5 { width: 450px; }




#content-top-bar h1 {
  color: #fff;
  font-size: 15px;
  text-align: right;
  padding: 35px 16px 0 0;
  margin: 0;
}

/*#content-top-bar .col-md-1 { width: 90px; } */

/**
 * Sidebar right
 */
#sidebar-right .region-menu-lateral-droit ul.menu {
  margin-top: 90px;
  padding: 0;
  background: #9D3124;
  list-style-type: none;
  text-align: center;
}
#sidebar-right .region-menu-lateral-droit ul.menu a {
  line-height: 2.6;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}
#sidebar-right .region-menu-lateral-droit ul.menu a:hover {
  color: #dcd1d1;
}
/*#sidebar-right ul.content {
  margin-top: 90px;
  padding: 0;
  background: #9D3124;
  list-style-type: none;
  text-align: center;
}
#sidebar-right ul.content a {
  line-height: 2.6;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}
#sidebar-right ul.content a:hover {
  color: #dcd1d1;
}*/

/*
 * Icone English Version du menu latéral droit
 */
/* #sidebar-right .region-menu-lateral-droit ul.menu li.menu-mlid-704 a {*/
/* a.icon-english { */


a.icon-social {
    display: block;
    height: 32px;
    width: 32px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
a.icon-facebook { background-image: url(../images/btn-sociaux-facebook-big.png); }
a.icon-twitter { background-image: url(../images/btn-sociaux-twitter-big.png); }
a.icon-pinterest { background-image: url(../images/btn-sociaux-pinterest-big.png); }
a.icon-linkedin { background-image: url(../images/btn-sociaux-linkedin-big.png); }

#sidebar-right a.icon-social {
    margin: 6px 0 6px 18px;
}

/**
 * Boutons
 */
a.btn-block {
  display: block;
  width: 90px;
  height: 90px;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
a.btn-block:hover,
a.btn-block:active,
a.btn-block.active {
  background-position: 50% 100%;
}
a.btn-block#btn-block-logout {
  /*background-color: transparent !important;*/
  background-image: url(../images/btn-block-logout.png);
}
a.btn-block#btn-block-login {
  background-image: url(../images/btn-block-login.png);
}
a.btn-block#btn-block-search {
  background-image: url(../images/btn-block-search.png);
}
a.btn-block#btn-block-avatar {
  background-position: 50% 50%;
  background-color: #EDECEC;
}
.region-menu-secondaire {
    clear: both;
}
.region-menu-blog-taxonomy {
    clear: both;
}

.region-menu-blog-taxonomy  {
    margin: 0;
    padding: 0;
    width: 450px;
    height: 90px;
}
#section-nav .region-menu-blog-taxonomy .block-menu-block { margin: 0; }
#section-nav .region-menu-blog-taxonomy ul.menu { margin: 0; padding: 0; }
#section-nav .region-menu-blog-taxonomy ul.menu li a {
 color: #574D4C; font-size: 11px; width: 90px;
 background-image: url(../images/section-nav-blog-bkgnd.png);
 background-color: #CFCBCC; 
 background-position: 50% 50%;
 background-repeat: no-repeat;
 }
 #section-nav .region-menu-blog-taxonomy ul.menu li a:hover {
 color: rgba(101, 27, 28, 1) !important;
 background-image: url(../images/section-nav-blog-bkgnd-hover.png);
 }


#block-menu-block-2 { margin:0; }
/**** test */

#section-nav {
    /*background: #fff;*/
    background: #fdf9f9;
    clear: both;
}

#section-nav ul.menu {
  /*background: green;
    border:2px dashed purple;
    width: 400px;
    clear: both;*/
  padding: 0;
  /*height: 89px;*/
    margin: 0;
}
#section-nav ul.menu li {
  float: left;
  list-style-type: none;
  background: #fdf9f9;
}
#section-nav ul.menu li a {
    outline: none;
    display: block;
    width: 140px; /* 126 convient à 5 éléments de menu (126x5=630 [90x7]), on en a 4 max pour l'instant donc on agrandit légèrement */
    height: 90px;
    padding-top: 28px;
    text-align: center;
    color: #9fa6a5;
    /*font-size: 13px;*/
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    
    font-family: "HelveticaNeue";
    font-size: 14px;
    
    padding: 26px 10px 0 10px; /* 20150109 */

}
#section-nav ul.menu li a:hover {
  color: #bd7c7c;
}
#section-nav ul.menu li.active {
  background-image: url(../images/section-nav-bkgnd-right.png);
  background-position: 100% 50%;
  background-repeat: no-repeat;
}
#section-nav ul.menu li.active a {
  /*background-color: green;*/
  color: #9c1a1b;
  background: url(../images/section-nav-bkgnd-left.png) 0% 50% no-repeat;
}
#section-content {
  padding: 40px 100px 40px 40px;
  background-color: #fdf9f9;
  border-top: 1px solid #9C1A1B;
  width: 100%;

  font-size: 12px; /* 20150113 */
  text-align: justify; /* 20150113 */
}


body.section-user #section-content  {
    text-align: left;
}

#section-content table p {
    text-align: left;
}

/*#section-content img {
    max-width: 100%;
}*/

#profile-general-col {
  height: 270px;
  line-height: 270px;
  background: #fdf9f9;
  color: #9fa6a5;
  background: #fdf9f9 url(../images/profile-sep.png) 0% 100% no-repeat;
}

.profil-membre-honoraire {
    font-weight: bold;
    margin-top: -10px;
    color: #fff;
    background: #9C1A1B;
    padding: 2px 4px;
}


#container-profile {
    text-align: left;
}

.profile-avatar {
    position: absolute;
    right: 0;
    top: 0;
}
#profile-profession {
    font-size: 16px;
}
#profile-general-col .wrapper-valign {
  display: inline-block;
  vertical-align: middle;
  padding: 0 40px 0 40px;
  line-height: 1.4;
}
#profile-general-col .wrapper-valign h1 {
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 5px 0;
  width: 220px;
}

#profile-general-col .wrapper-valign .profil-societe {
  font-size: 18px;
  color: #9C1A1B;
  margin: -5px 0 5px 0;
  width: 220px;
}

#profile-general-col .wrapper-valign p:last-child {
  margin: 16px 0 0 0;
}



/* AVANT déplacement des skills hors d'un col-md- distinct
#profile-skills-col {
  background-color: rgba(133, 32, 33, 0.7);
  height: 90px;
  line-height: 90px;
}
#profile-skills-col ul {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.4;
  padding: 16px;
  margin: 0;
}
#profile-skills-col ul li {
  display: inline;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
}
#profile-skills-col ul li:before {
  content: ", ";
}
#profile-skills-col ul li:first-child:before {
  content: none;
}
#profile-skills-col ul li:last-child:after {
  content: ".";
}
*/

/*-------------------------------*/
/*#profile-skills-col {
  background-color: rgba(133, 32, 33, 0.7);
  height: 90px;
  line-height: 90px;
}*/
#profile-skills-col {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.4;
  padding: 0;
  margin: 0;
}
#profile-skills-col li {
  display: inline;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
}
#profile-skills-col li:before {
  content: ", ";
}
#profile-skills-col li:first-child:before {
  content: none;
}
#profile-skills-col li:last-child:after {
  content: ".";
}
/*-------------------------------*/
#profile-visuel {
    height: 270px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: #373434;
    position: relative;
}

/* bouton diaporama youtube like */
/*
#profile-start-gallery {
    position: absolute;
    height: 52px;
    width: 72px;
    background: url(../images/play.png) 0 0 no-repeat;
    text-indent: -9999px;
    bottom: 12px;
    right: 12px;
}
#profile-start-gallery:hover {
    background-position: 0 100%;
}*/

#profile-start-gallery {
    position: absolute;
    height: 24px;
    width: 100%;
    background: url(../images/profile-voir-diaporama-bkgnd.png) left top repeat;
    bottom: 0;
    left: 0;
    line-height: 25px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}





/*
#profile-social-links {
  padding: 16px;
  background: #dcd1d1;
  height: 90px;
}
#profile-social-links ul {
  margin: 0;
  padding: 0;
}
#profile-social-links li {
  display: inline;
  margin-left: 20px;
}
#profile-social-links li:first-child {
  margin: 0;
}
#profile-social-links li a {
  font-size: 15px;
  text-decoration: none;
  line-height: 58px;
  color: #fff;
}
#profile-social-links li a:hover {
  color: #9c1a1b;
}*/

#profile-gmap {
    width: 100%;
    height: 200px;
    display: none;
}

#profile-gmap .gm-style-cc { /* supprime les textes google de bas de carte (condition d'utilisation, etc.) */
    display: none !important;
}

#profile-gmap-unavailable {
    background: #DCD1D1;
    padding: 16px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

#profile-contact-and-skills-col {
  padding: 16px;
  background-color: rgba(133, 32, 33, 0.7);
  min-height: 320px;
}

/*#profile-contact-col {
  padding: 16px;
  background-color: rgba(133, 32, 33, 0.7);
  min-height: 450px;
}*/
#profile-contact-col * {
  color: #fff !important;
  border-color: #fff;
}
#profile-contact-col a {
  text-decoration: none;
}
#profile-contact-col a:hover {
  background: #9D3124;
}
#profile-contact-col h3 {
  font-size: 10px;
  text-transform: none;
  padding: 0;
  margin: 0;
}
#profile-contact-col p {
  border-bottom: 1px solid #fff;
  padding-bottom: 8px;
}
#profile-content-col {
  padding: 16px;
  background: #fdf9f9;
}

#profile-content-col h2 {
    margin: 0 0 1em 0;
}

#profile-content-col h3 {
    margin: 0.3em 0 0 0;
}

/**
 * Homepage
 */
.fade-groupe-1, .fade-groupe-2, .fade-groupe-3, .fade-groupe-4 { opacity: 0; visibility: visible; }

.container.home {
    margin-top: 25px;
}

#home-visuel-01 {
    /*background: url(../images/home-visuel-01.jpg) 50% 100% no-repeat;*/
    height: 270px; /* 90 * 3 */
}

#home-visuel-02 {
    background: url(../images/home-visuel-02.jpg) 0% 0% no-repeat;
    height: 270px; /* 90 * 3 */
    float: none;
}

#home-visuel-03 {
    background: url(../images/home-visuel-03.jpg) 0% 0% no-repeat;
    height: 360px; /* 90 * 4*/
    float: none;
}

.empty-block {
    display: block;
    width: 90px;
    height: 90px;
}
.home-blocklink {
    height: 90px;
    float: none;
    display: block;
    font-size: 13px;
    color: #fff !important;
    text-decoration: none;
    background-color: rgba(101, 27, 28, 0.9);
    text-align: center;
    padding: 7px 38px;
    text-transform: uppercase;
    font-family: "HelveticaNeue";
    line-height: 1.2;
    letter-spacing: 3px;
}
.home-blocklink span {
    font-weight: bold;
    font-size: 18px;
    display: block;
}

.home-blocklink:hover {
    color: #fff;
    text-decoration: none;
    /*background-color: rgba(101, 27, 28, 0.7); */
   background-color: #fff !important;
   color: #222 !important;
}
#home-blocklink-01 {
   padding-top: 18px;
}
#home-blocklink-02 {
padding-top: 16px;
}
#home-blocklink-03 {
    /*background-color: rgba(101, 27, 28, 0.9);
    color: #574D4E !important;*/
    padding-top: 16px;
}
#home-blocklink-03:hover {
    
}

/*.home-blocklink.icon-social:hover {
    background-color: #DBC5C2 !important;
}*/

.home-blocklink.icon-annonce {
    /*background-color: #6B1C1C;
    text-align: left;
    padding: 36px 0 0 9px;
    font-size: 11px;*/

    background-color: transparent !important;
    background-image: url(../images/home-btn-block-annonce.png);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-color: #D5BCB9;
    text-indent: -9999px;
}

.home-blocklink.icon-annonce:hover {
    color: #fff !important;
    background-position: 50% 100%;
}

.home-blocklink.icon-annuaire {
    background-color: transparent !important;
    background-image: url(../images/home-btn-block-annuaire.png);
    background-repeat: no-repeat;
    /*background-position: 50% 50%;*/
    background-position: 50% 0%;
    background-color: #D5BCB9;
    /*text-align: left;
    padding: 40px 0 0 9px;*/
    text-indent: -9999px;
}
.home-blocklink.icon-annuaire:hover {
    color: #fff !important;
    background-position: 50% 100%;
}

.home-blocklink.icon-twitter:hover {
    background-color: rgba(101, 27, 28, 0.9) !important;
}
.home-blocklink.icon-facebook:hover {
    background-color: rgba(101, 27, 28, 0.6) !important;
}

/* menu-item-histoiretransporg */
#home-blocklink-00:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

#home-blocklink-contact {
    background-color: transparent !important;
    background-image: url(../images/btn-block-contact.png);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-color: #D5BCB9;
    text-indent: -9999px;
}
#home-blocklink-contact:hover {
    /*background-color: #DBC5C2 !important;*/

    background-position: 50% 100%;
}

/*.home-blocklink.icon-social {
    height: 90px;
    width: 90px;
    text-indent: -9999px;
}
.home-blocklink.icon-twitter {
    background-color: rgba(101, 27, 28, 0.6);
}
.home-blocklink.icon-twitter:hover {
    background-color: rgba(101, 27, 28, 0.4);
}*/

/**
 *  page-profile-adherent
 */
/* body.page-user- #section-content { background: blue !important; }*/

body.page-user #section-content-row {
    background: none;
}

body.page-profile-adherent #section-content,
body.page-user- #section-content {
    background: transparent;
    padding: 0;
    border-top: none;
}

body.page-user-edit #section-content,
body.page-user-edit-adherent #section-content {
    padding: 40px 100px 40px 40px;
    background-color: #fdf9f9;
    /*border-top: 1px solid #9C1A1B;*/
}

body.page-user- .tabs-primary {
    margin: 0;
    background: #444;
}
body.page-user-edit .tabs-primary {
    margin: 2em 0;
}

body.page-node-8 #section-content { /* image CFAI Mode d'emploi: on force en pleine largeur */
    padding-right: 10px;
}

body.page-node-81 h4,  /* FAQ */
body.page-node-83 h4 { /* LIENS */
    border-bottom: 1px solid #574D4C;
    margin-top: 2em;
}

/**
 * Recherche adhérents
 */
#adherent-listing-gmap {
    width: 100%;
    height: 350px;
    display: none;
}

.page-search .search-advanced {
    margin-top: 2em;
}

/**
 * Annonces
 */
.list-annuaire, .list-annonces {
  width: 100%;
  margin-bottom: 20px;
}

table.annonce-header {
    width: 100%;
    margin: 0;
}

table.annonce-header td {
    vertical-align: top;
    height: 90px;
}

table.annonce-header td:first-child {
    width: 100%;
}

.annonce-content {
    padding-top: 1em;
    border-top: 1px solid #9C1A1B;
}

.annonce-content h3 {
    margin: 0;
}

/**
 * Formulaires
 */
.filter-form-two-col .form-item label {
    width: 50px;
}

#cfai-user-searchform .col-1 label, #cfai-user-searchform .col-2 label {
    width: 80px ;
}
#cfai-user-searchform select {
    max-width: 150px;
}

a.link-button, .form-submit {
    background: #8e1a05;
    border: 1px solid #6D1D1D;
    color: #fff !important;
    padding: 4px 8px;
    margin-right: 6px;
    text-decoration: none;
}
a.link-button:hover, .form-submit:hover {
    background: #6D1D1D;
    text-decoration: none;
}

.form-submit {
    margin-right: 6px;
}


/*#cfai-annonce-searchform .form-submit, #cfai-user-searchform .form-submit {
    margin-left: 153px;
}*/



.form-text {
    border: 1px solid #888;
    background: #fff;
    padding: 2px;
}

#edit-basic .form-submit { margin-top: 8px; }

/**
 * Pages de recherches avec listing
 */
body.page-recherche #section-content {
    padding-right: 20px;
}

.sticky-table {
    width: 100%;
}
.sticky-table td {
    padding: 4px;
}

.form-item { /* ligne de formulaire */
    margin: 8px 0;
}
.form-item label { /* ligne de formulaire */
    display: inline-block;
    width: 150px;
}

/**
 * Blog
 */
body.section-blog #section-nav {
    background: #FDF9F9 url(../images/blog-menu-accroche.png)  465px 50% no-repeat;
}
body.section-blog #section-nav ul.menu li.is-active-trail a,
#nav-main ul.menu li.is-active a {
    background: rgba(101, 27, 28, 1);
    color: #fff;
}

body.section-blog #section-nav ul.menu li.is-active-trail a {
color: #fff !important;
}

body.section-blog #section-nav ul.menu a {
    font-size: 11px;
    padding-top: 36px;
}
body.section-blog #section-nav ul.menu a:hover {
    color: #fff;
}
body.section-blog #section-nav ul.menu li.menu-mlid-510 a, body.section-blog #section-nav ul.menu li.first a { /* centrage vertical pour entrée de menu à deux ligne */
    padding-top: 30px;
}
body.section-blog #section-content {
    width: 450px; /* 90x5 */
    border-right: 1px solid #574D4C;
    padding-right: 0px;
    border-top: none;
}

.article-blog {
    margin-bottom: 2.5em;
}

.article-blog .field {
 padding-right: 16px;
}

/** Titre des articles de blog */
.article-blog-title {
    border-bottom: 2px solid #555;
    margin-bottom: 1em;
}
.article-blog-title h2 a {
    text-decoration: none;
}
.article-blog-title h2 {
    border: none;
    padding: 0;
}
.blog-published-info {
    color: #555;
    font-style: italic;
}
.blog-published-info a {
    text-decoration: none;
    font-weight: bold;
    color: #555;
}

.node-readmore a{
    background: #9C1A1B;
    color: #fff;
    text-decoration: none;
    padding: 4px 6px;
}

/**
 * Barre latérale (utilisée actuellement uniquement pour la vue Blog pour l'affichage du texte "Actualité".
 */
#section-content-side-title {
    background: #AF4748 url(../images/blog-sidebar-title-actu.jpg) 50% 50% no-repeat;
    line-height: 42px;
    text-indent: -9999px;
}
#section-content-right {
    width: 180px; /* 90x2 */
}
#section-content-row {
    background-color: #fdf9f9;
}
.region-content-side-right {

}

.region-content-side-right .block {
    padding: 12px 8px 12px 12px;
}

.action-links {
    background: #9C1A1B;
    color: #fff;
    margin-top: 1px;
    margin-bottom: 1.5em;
}
.action-links a {
    color: #fff;
    text-decoration: none;
}

/**
 * Restyle des onglets d'édition pour les utilisateurs avec privilège
 * Voir si ça n'affecte pas le back
 */
.tabs-primary {
    background: #9C1A1B;
    padding: 3px 0;
}

.tabs-primary li {
    border: none !important;
}
a.tabs-primary__tab-link, a.tabs-primary__tab-link {
    background: none;
    color: #fff;
    transition: none !important;
    border: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    text-decoration: none !important;
    text-shadow: none;
}

a.tabs-primary__tab-link:active, a.tabs-primary__tab-link.is-active {
    background: #fff;
    color: #9C1A1B;
}

a.tabs-primary__tab-link:hover {
    background: #9D3124;
    color: #fff;
}

/**
 * Page d'édition du profil frontend. Hack CSS pour masquer le texte d'aide sur le format
 * de saisie et agrandissement du bouton de submit.
 */
body.page-user-edit #edit-profile-adherent-field-adh-texte-und-0-format,
body.page-user-edit .wysiwyg-toggle-wrapper {
    display: none;
}

textarea { border: 1px solid #888; }

body.page-user-edit input#edit-submit {
    margin: 24px 0 12px 0;
    padding: 8px;
    width: 100%;
    font-weight: bold;
    font-size: 14px;

}

 /*
  * slideshow accueil
  */

/*.callbacks .caption { */
.rslides .caption {
  display: block;
  position: absolute;
  z-index: 2;
  font-size: 12px;
  font-style: italic;
  text-shadow: none;
  color: #fff;
  background: #000;
  background: rgba(0,0,0, .3);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 20px;
  margin: 0;
  max-width: none;
  text-align: left;
}

.callbacks_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 164px;
  left: 0;
  opacity: 0.3;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../images/themes.gif") no-repeat left top;
  margin-top: -45px;
}

.callbacks_nav:hover {
  opacity: 0.8;
}

.callbacks_nav:active {
  opacity: 1.0;
}

.callbacks_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
}

/**
 * Espace Adhérent
 */
body.page-espace-adherent #section-content {
    text-align: left;
}

#espace-adherent-bloc-edit-links-sep {
    font-weight: bold;
    float: left;
    font-size: 18px;
    padding: 0 4px;
    margin-top: 110px;
}
.espace-adherent-bloc-edit-links {
    background-color: #FDF9F9;
    border-width: 12px;
    border-style: solid;
    border-color: #FDF9F9;
    float: left;
    width: 230px;
    /*height: 225px;*/
    color: #fff !important;
}
.espace-adherent-bloc-edit-links a {
    color: #fff !important;
    text-decoration: none;
    display: block;
    background-color: #9C1A1B;
    padding: 12px;
}
.espace-adherent-bloc-edit-links a:hover {
    background-color: #6B1B1A;
}

.espace-adherent-bloc-edit-links:hover {
    border-color: #EEEEEE;
    background-color: #EEEEEE;
}

/*#espace-adherent-bloc-links-edit-profil {

}*/
#espace-adherent-bloc-links-edit-profil-1 {
    margin-bottom: 4px;
    background-image: url(../images/ea-editez-profil.png);
    background-position: 50% 8px;
    background-repeat: no-repeat;
    padding-top: 120px;
    text-align: center;
}

#espace-adherent-bloc-links-edit-profil-2 {
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
}

#espace-adherent-bloc-links-edit-compte a {
    text-align: center;
    background-image: url(../images/ea-editez-compte.png);
    background-position: 50% 8px;
    background-repeat: no-repeat;
    padding-top: 70px;
}

#espace-adherent-bloc-links-edit-compte img {
    border: 1px solid #fff;
    border-bottom: none;
    margin: 0 auto;
}

#espace-adherent-bloc-links-edit-compte p {
    margin: 0;
    padding-top: 7px;
    border-top: 1px solid #fff;
}

#espace-adherent-bloc-links-annonces {
    margin-bottom: 6px;
}

#espace-adherent-bloc-links-annonces a {
    text-align: center;
    background-image: url(../images/ea-add-annonce.png);
    background-position: 50% 8px;
    background-repeat: no-repeat;
    padding-top: 72px;
}

/**
 * Style de tables
 */
.table-download tr td:first-child {
    width: 84px; /* contient un picto de 64x64 */
    background-color: #F0F0F0;
    border-bottom: 1px solid #fff;
    text-align: center;
    padding: 4px;
}
.table-download td {
    padding: 4px 4px 4px 8px;
}

.table-lexique tr td:first-child {
    font-weight: bold;
    width: 130px;
    background-color: #F0F0F0;
    border-bottom: 1px solid #fff;
}

.table-lexique td {
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid #EDECEC;
    padding: 5px 5px 12px 5px;
}

.table-cfai tr td:first-child,
.table-ecoles tr td:first-child {
    background-color: #F0F0F0;
    border-bottom: 1px solid #fff;
    text-align: center;
    padding: 5px;
    width: 118px;
    color: #9C1A1B;
    font-weight: bold;
    vertical-align: middle;
}
.table-cfai td,
.table-ecoles td {
    padding: 5px 5px 12px 5px;
    text-align: left;
}

.table-cfai td em
.table-ecoles td em {
    color: #444;
}


/**
 * Galerie Home (front)
 */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

/**
 * Table responsive pour le contenu
 * avec 3 petites images (156x100)
 */
.contenu-3col-table {
    display:table;
    width: 100%;
    margin-bottom: 1em;
}

.contenu-3col-table div {
    display:table-cell;
    padding-right: 10px;
}

.contenu-3col-table img {
    margin-bottom: 0.8em;
    display: block;
}

/*
#archicfaicquoi-table {
    display:table;
    width: 100%;
    margin-bottom: 1em;
}

#archicfaicquoi-table div {
    display:table-cell;
    padding-right: 10px;
}

#archicfaicquoi-table img {
    margin-bottom: 0.8em;
    display: block;
}*/

#etapesclesmission-table img {
    margin-bottom: 0.4em;
}



/**
 * Trombinoscope
 * Un bloc div conteneur ".trombi-area" englobant des ".trombi", chacun contenant une image et un texte.
 */
.trombi-area {  display: table; width: 100%; }
.trombi-row {  margin-bottom: 10px; display: table-row; }
.trombi {
    border-bottom: 10px solid #FDF9F9;
    vertical-align: top;
    display: table-cell;
    width: 50%;

    background: rgb(230,230,230);
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(230,230,230,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(230,230,230,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d1d2d2',GradientType=1 );

   /* background: rgb(209,210,210);
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(209,210,210,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(209,210,210,1)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(209,210,210,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(209,210,210,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(209,210,210,1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(209,210,210,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d1d2d2',GradientType=1 ); */
}
.trombi:nth-child(odd) { border-right: 5px solid #FDF9F9; }
.trombi:nth-child(even) { border-left: 5px solid #FDF9F9;  }
.trombi img { float: left; }
.trombi p { float: left; padding: 18px 1px 0 7px; line-height: 1.1em; width: 136px; text-align: left; }
.trombi .deps { font-size: 10px; }
.trombi .tel { display: block; color: red;  }
/*.trombi .region { display: block; background: red; padding: 5px;} */



/**
 * Masquage de la zone de résumé et des informations wysiwyg pour les annonces
 */
#cfai-annonce-node-form .text-summary-wrapper .form-item-body-und-0-summary,
#cfai-annonce-node-form fieldset#edit-body-und-0-format,
#cfai-annonce-node-form .wysiwyg-toggle-wrapper {
    display: none;
}

#cfai-annonce-node-form #edit-actions {
    margin-top: 1em;
}

/**
 * Newsletter
 */
body.section-newsletter .taxonomy-term-description p { font-size: 18px; color: #888; }

/************************************************************ MOBILE */
/* http://stackoverflow.com/questions/19592968/bootstrap-3-breakpoints-and-media-queries
  http://getbootstrap.com/css/#grid-media-queries */


@media screen and (min-width: 993px) {
    .mobile-home {
        display: none;
    }
}

@media screen and (max-width: 992px) {

    #menu-item-rechercher {
        display: list-item;
    }

    body.front #home-visuel-01 {
        height: auto;
    }

    body.front .no-mobile {
        display: none;
        height: 0;
        visibility: hidden;
    }

    .footer-top {
        display: block;
        text-align: center;
    }

    body {
        background-position: right top;
        background-size: 55% 55%;
    }

    /*body.front footer {
        position: absolute;
        bottom:0;
    }*/

    #sidebar-right {
        display: none;
    }

    #sidebar-left {
        margin-bottom: 0;
        background: transparent url(../images/bkgnd-white-width-180.gif) left top repeat-y !important;
    }

    #nav-main ul.menu li a {
        height: auto !important;
        line-height: 1.4em  !important;
        text-align: center !important;
        padding: 10px 20px 10px 20px;
        background: rgba(101, 27, 28, 0.9) !important;
        color: #fff !important;
    }

    #menu-item-histoiretransporg a {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    #container-main { margin-top: 0; }
    #nav-main br, #nav-main span { display: inline !important; display: none !important; }
    #content-top-bar { display: none; }
    #sidebar-right ul.menu { margin: 0 !important; }

    footer { padding: 12px; line-height: 2em; text-align: center;  }
    footer .copyright { text-align: center; }

    #profile-general-col {
        line-height: 1.4;
        padding-top: 30px;
        padding-bottom: 30px;
        background: #FDF9F9;
        float: left;
    }

    #profile-visuel-general-row {
        background: #FDF9F9;
    }

    #profile-visuel {
        width: 270px;
        float: left;
        background-size: contain;
    }

    #profile-contact-and-skills-col {
        min-height: 0 !important;
    }

}

@media screen and (max-width: 768px) {

    /** Fix blog */
    body.section-blog #section-content img {
        max-width: 300px !important;
        display: block;
        margin: 1em 0 1em 0;
    }
    body.section-blog #section-nav.count-gte-4 ul.menu a {
        padding-left: 0 !important;
    }
    body.section-blog #section-nav.count-gte-4 ul.menu li {
        padding-right: 0 !important;
    }
    body.section-blog #section-content {
        width: auto;
        border-right: none;
        float: right;
    }

     body.section-blog #section-content-right {
        width: auto;
        clear:both;
    }
    /* END fix blog */


    /*#archicfaicquoi-table {*/
    .contenu-3col-table {
        display: block;
    }
    /*#archicfaicquoi-table div {*/
    .contenu-3col-table div {
        display: block;
        margin-bottom: 1.5em;
    }

    body.page-recherche #section-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* START Logo et menu stackés sur front */
    body.front .mobile-home#sidebar-left #logo,
    body.front .mobile-home#sidebar-left #nav-main {
        display: block;
        width: 100%;
    }
    body.front .mobile-home#sidebar-left #logo img {
        width: 100px;
    }

    /*OKbody.front #sidebar-left {
        margin: 0;
    }*/

    body.front {
        background-position: right -50px;
        background-size: 300px;
    }
    /* END */


    body {
        background-position: -15px -15px;
        background-size: 50% 50%;
        /*background-attachment: fixed;*/
    }

    #section-nav ul.menu li a {
        width: 116px;
        padding-left: 4px;
        padding-right: 4px;
        font-size: 12px;
    }

    #sidebar-left {
        /*margin-bottom: 0.5em;*/
        background: none !important;
    }

    #nav-main ul.menu li a {
        line-height: 1.2em  !important;
        padding: 8px 14px 6px 14px;
        font-size: 12px;
    }

    #nav-main ul.menu li a span {
        font-size: 14px;
    }

    #profile-visuel {
        height: 180px;
        width: 180px
    }

    #profile-general-col {
       min-height: 0;
       height: auto;
    }

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

    footer .footer-menu a { font-size: 13px; }
    footer .copyright { font-size: 9px; }

}

/* Pour les très petits écrans, oblige les items de #section-nav à passer en 2x2
 * quand il y en >= 4 (note: on devrait gérer ça avec un display:table)
 */
@media screen and (max-width: 476px) {

    #section-nav.count-gte-4 ul.menu a {
        padding-left: 50px !important;
    }
    #section-nav.count-gte-4 ul.menu li {
        padding-right: 50px !important;
    }

    #cfai-user-searchform label {
        display: block !important;
    }
}

#browser-alert {
    background: #FFF6C4;
    border: 1px solid #D4C483;
    padding: 25px;
    margin-bottom: 1em;
    color: #A09462;
    text-align: center;
    font-size: 13px;
}
