/* [NEW]----FORUMS CSS pour BAPTISES */

/*---------COLORS---------*/
/*
rouge : #c85040;
lien bleu :#1675AA;
*/


/* TABLE FORM */
.table-full td {
  font-size: .95rem
}
td.views-field.views-field-title {
  min-width: 115px;
  max-width: 850px;
}
td.views-field.views-field-field-agora-1 {
  min-width: 130px;
}
td.views-field.views-field-field-note-de-synthese-1 {
  background: #eee;
  max-width: 490px;
}
td.views-field.views-field-field-note-de-synthese-1 label {
  display: none;
}


td.views-field.views-field-field-feuille-route-1,
td.views-field.views-field-taxonomy-forums-1 {
  max-width: 420px;
}

/* TESTS */

.hide-for-anonymous {
  display : none;
}
option:empty {
  display: none;
}
.form-item-field-feuille-route option[value="867"] { display: none }
body.user-logged-in option[value="867"] { display: block }

#edit-taxonomy-forums--wrapper .control:nth-child(1) {
  display: none;
}
body.user-logged-in #edit-taxonomy-forums--wrapper .control:nth-child(1) {
  display: block;
}

.page-node-type-forum article > div > div {
  max-width: 920px;
  margin: auto;
}


/* DIVERS */

h3 span {display: inline-block}

.font-g {
  font-style: italic;
  color: black;
}
.font-g.size-plus {
  font-size: 1.15rem;
}
.font-g.panel {
  padding: .5rem;
}

#block-drulma-socle-page-title {
  z-index: 1
}

.path-node-add-forum main > .section {
  padding-top: 1rem;
}
#block-titrepostforumanonyme {
  padding-bottom: 1rem;
  border-bottom: #1675AA 1px dotted;
}

#block-views-block-forum-topic-entete-block-1 .field--label-inline:after {
    content: inherit;
}


/* GESTION AGORA PAGE */
/*body[class^="path-agora"] .theme-title {
  min-height: 80px;
}
body[class^="path-agora"] .hero-body > div {
    min-height: 2rem;
} */

#block-agoragestion {
  font-weight: bold;
  background: #eee;
}

body:not(.user-logged-in) .button-admin {
  display: none;
}

.section.agora-gestion {
  padding-top: 0
}
.path-agora-gestion-gestion-forums main >.section,
.path-agora-gestion-gestion-forums-tout main >.section {
  padding-top: 0
}
.agora h1 {
  color: white;
  margin-top: -3.3rem;
  margin-bottom: 1rem;
}
.table-full table {
    width: 100%;
}

#block-agoragestiontabs {
  padding-bottom: .8rem;
}
#block-agoragestiontabs ul a {
  background-color: #183861;
}
#block-agoragestiontabs a {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  border-bottom-color: #363636;
}

#block-views-block-forum-lie-block-1 li a,
#block-views-block-forum-topic-entete-block-1 .forum-entete h4 a,
#block-views-block-forum-topic-entete-block-1 p a {
  font-weight: bold;
  color: #1675AA;
}

#block-views-block-taxo-block-1 h2 a,
#block-views-block-titre-taxonomy-forum-block-1 h3 a,
#block-views-block-titre-plus-agora-block-1 h3 a,
#block-views-block-titre-plus-agora-block-2 h3 a {
  color: #1675AA
}


.field-breadcrumbs {
  border-bottom: #eee 2px solid;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  font-size: .95rem;
  font-style: italic;
  font-weight: 600;
  margin-bottom: .5rem;
}
.hero.is-primary .field-breadcrumbs a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current) {
  color: #c85040;  
}

.page-node-type-forum .hero-head,
.path-node-add-forum .hero-head,
.taxonomy_forums .hero-head,
.taxonomy_agora .hero-head,
.page-node-type-agora .hero-head,
.page-node-type-agora-synthese .hero-head {
  padding: 1rem 0;
  color: #222;
}

.page-node-type-forum .hero-body,
.path-node-add-forum .hero-body,
.taxonomy_forums .hero-body,
.taxonomy_agora .hero-body,
.page-node-type-agora .hero-body,
.page-node-type-agora-synthese .hero-body {
  padding: 0;
}

.page-node-type-forum .is-primary .title,
.path-node-add-forum .is-primary .title,
.taxonomy_forums .is-primary .title,
.page-node-type-agora .hero.is-primary .title,
.page-node-type-agora-synthese .hero.is-primary .title,
.taxonomy_agora .hero.is-primary .title {
  color: #183861;;
}


/* FORUM TOPIC */
.forum-entete h1 {
  font-size: 2rem;
  padding: 0 0 .5rem;
}
.forum-entete h4 a {
  font-size: 1.1rem;
  font-weight: normal;
}
.forum-entete .views-field-nothing i {
  color: #1675AA
}
.forum-entete i.fa-user-circle {
  font-size: 4rem;
  color: black;
}
.forum-entete .views-field-field-document i {
  font-size: 2.5rem;
}

.forum-entete .columns {
  
}
.forum-entete .column.is-2 + .column{
  font-size: 1.05rem;
  padding: 1rem 0 0;
}


.page-node-type-forum main h2:first-of-type {
  padding-bottom: 4rem
}
.page-node-type-forum main .paragraph:first-child h2:first-of-type {
  padding-bottom: 2rem;
}
.page-node-type-forum main h2:last-of-type {
  padding-top: 2.5rem
}
.page-node-type-forum main .paragraph:first-child h2:first-of-type {
  padding-top: 0rem;
}

/*.page-node-type-forum main h2:first-of-type:before {
  font-size: 3rem;
  content: "\f086";
  padding-right: 1rem;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}*/
.page-node-type-forum main section > h2:last-of-type:before {
  font-size: 3rem;
  content: "\f305";
  padding-right: 1rem;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}
.inner-content-comment h2:last-of-type:before {
  display: none;
}
.page-node-type-forum .message-header h2:last-of-type:before {
  font-size: 3rem;
  content: "\f164";
  padding-right: 1rem;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.page-node-type-forum .js-comment.columns,
.path-comment .js-comment.columns {
  margin-right: .1rem;
}
.js-comment .column:last-child {
  position: relative;
  border: 1px solid #183861;
  border-radius: 5px;
  margin-bottom: 2rem;
  padding: 2rem 2rem 2rem 4.5rem;
}
.js-comment h3 {
  font-size: 1.7rem;
}
.indented .js-comment h3 {
  font-size: 1.3rem;
}
.js-comment i {
  position: absolute;
  top: 2.5rem;
  left: 1.5rem;
  font-size: 2rem;
  color: #407db4
}
.indented .js-comment .column.is-2 {
  margin-left: 3rem;
}
.indented .js-comment i {
  font-size: 1.5rem;
}
.indented .js-comment .column:last-child {
  border: 1px dotted #183861;
  padding: 2rem 2rem 2rem 4rem;
}

.path-comment form,
.page-node-type-forum form {
  background: #eee;
  padding: 2rem;
  border: 1px solid #052122;
  border-radius: 5px;
}


mark {
  height: 30px;
  padding: .1rem 1rem;
  position: absolute;
  top: 8rem;
  left: 1rem;
}
.indented mark {
  height: 30px;
  padding: .1rem 1rem;
  position: absolute;
  top: 8rem;
  left: 3.5rem;
}

.js-comment ul.links.inline li {
  display: inline;
  background: #eee;
  padding: .3rem .7rem;
  margin-right: .3rem;
}


body.path-node-add-forum #edit-field-texte-0-format-help,
body.path-node-add-forum .js-filter-guidelines {
  display: none;
}

body.path-node-add-forum #edit-status-wrapper {
  visibility: hidden;
    height: 1px;
}
body.path-node-add-forum #edit-actions:before {
  content: "Le sujet sera validé par un administrateur du forum";
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  font-weight: bold;
}



.form-item-field-feuille-route  {
  background: #ecf3ff;
  border-radius: 5px;
  padding: 1rem;
}
body.user-logged-in .form-item-field-feuille-route label {
  display: none
}
#edit-field-auteur-forum-topic-wrapper {
  background: #eee;
  border-radius: 5px;
  padding: .1rem 1rem 1.5rem;
}


