a{
    color:#fff;
    text-decoration: none;
    cursor: pointer;
}

a:visited{
    color:#fff;
}

a:hover{
    color:#298ECF;
}

h2 {
    color: #C3A359;
}

h3 {
    text-transform : uppercase;
    font-size: 1.3em;
    margin: 0px;
    color:#fff;
}

#mforum{
    padding: 0px 10px;
}

#nav-mtopic-bar{
    display: flex;
    justify-content: center;
    gap:10px;
//    margin-bottom: 40px;
}

.block-mtop{
    display:flex;
    flex-direction: column;
    width: 140px;
    height: 180px;
    border-radius: 10px;
    text-align:center;
    padding :10px 0px;
}

a.block-mtop:hover{
    background-color:#C3A359;
}

.mtop-img-ct{
    display:flex;
    width:100px;
    height: 100px;
    margin:auto;
    padding: 10px;
    border-radius:100px;
    background-color:rgba(0,0,0,0.3);

}


.block-mtop img{
    width:100%;
    height:100%;
    object-fit: contain;

}

.cat-gen{
    background-color:#C3A359;
}

.cat-mot{
    background-color:#cc3d6c;
}

.cat-ent{
    background-color:#609cd9;
}

.cat-bla{
    background-color:#5db37f;
}

.cat-gsk{
    background-color:#7f5cb8;
}


.nav-mtop-title{
    height : 50px;
    vertical-align:middle;
}

.mforum-cont {
    display:flex;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
//    border: solid 3px rgba(195, 163, 89, 0.5);
}

.mforum-bab {
    flex : 25% 1 0;
    min-width : 300px;
    min-height : 120px;
    padding : 5px 5px 5px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mforum-ico{
    flex-shrink : 1;
    min-width: 100px;
//    background-color: #ff0000;
    text-align:center;
    height: 120px;
    line-height: 120px;
}

.mforum-ico img{
    width: 64px;
    vertical-align: middle;
}

.mforum-ttde {
//    background-color: #00ff00;
}

.mforum-la {
//    background-color: #0000ff;
}

.mforum-la a{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 40px;
}


/****************
*   ltopic      *
*****************/
#ltopic{
    background-color: rgba(0, 0, 0, 0.5);
    color : #000;
    padding : 10px 20px 20px 20px;
}

#ltopic a{
    color : #C3A359;
}


.ltopic-cont {
    background-color : #fff;
    display:flex;
    margin-bottom : 10px;
    border-radius:10px;
}

.ltopic-aut{
    display:flex;
    flex-direction: column;
    width: 150px;
    background-color:#e4e1da;
    text-align: center;
    border-radius: 10px 0px 0px 10px;
    padding:10px;
    gap:10px;
}

.ltopic-aut-avatar{
    width:120px;
    height:120px;
//    background-color:#ff0000;
    margin: 0px auto;
    border-radius: 20px;
}

.ltopic-aut-avatar img{
    width:100%;
    height:100%;
}

.ltopic-avdesc-member-name{
    font-weight: bold;
}

.ltopic-aut-avdesc{
    margin-bottom: 10px;
}

.ltopic-article {
    flex:1;
    display:flex;
    flex-direction: column;
//    background-color:#ffff00;
}

.ltopic-art-inf{
    height:30px;
    margin:0px 10px;
}

.ltopic-art-date {
    float:right;
    padding: 5px;
}

.ltopic-art-main{
    background-color: #fff5e3;
    height: 100%;
    margin: 0px 10px 10px 10px;
    padding:10px;
    border: solid 1px #d9def1;
    border-radius: 5px;
}

.ltopic-art-lkbar{
    height:30px;
}

.ltopic-avdesc-member-rank{
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
//    margin-bottom: 15px;
}

/****************
*   mtabtop     *
*****************/
#mtabtop{
    color:#000;
}

#mtabtop-list{
    background-color: rgba(0,0,0,0.5);
    padding:20px;
}


.mtabtop-list-cont{
    display: flex;
    justify-content:flex-end;
    min-height:100px;
    background-color:#fff;
    border-bottom: solid 1px #000;
}

.mtabtop-topics-cont{
    padding:10px;
    width:100%;
    color: #000;
    line-height: 30px;
    box-sizing:border-box;
}

.mtabtop-topics-title{
    color: #C3A359;
    font-size: 1.4em;
    font-weight: bold;
}

.mtabtop-topics {
    width:900px;
    flex-shrink: 2;
}

.mtabtop-list-icon{
    width:99px;
    padding: 0px 10px;
//    border-right: solid 1px #000;
}

.mtabtop-list-status{
    width:70px;
    height:70px;
    border-radius: 50px;
    margin: 15px auto;

}

.mtabtop-list-status img{
    width: 100%;
    height:100%;
}

.mtabtop-notif {
    width:79px;
    padding:10px;
    border-left: solid 1px #000;
}

.mtabtop-last {
    width : 229px;
    padding:10px;
    border-left: solid 1px #000;
}

.mtabtop-lano{
    text-align:center;
    margin:auto;
    font-weight: bold;
    color:#6b6b6b;
    flex-grow: 1;
    flex-shrink:2;
}

.barepc {
    width:100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding:10px;
    box-sizing:border-box;
}

#navbar {
    margin: 10px 0px;
}

/***************
*   repCont    *
****************/
#repCont{
    text-align:center;
    color:#000;
}

#repCont a{
    color:#000;
}

.repContArera{
    max-width:800px;
    border-radius: 10px;
    background-color:#fff;
    margin:auto;
    padding-bottom:10px;
}

#repArea{
    width: 100%;
    min-height: 200px;
    border: 2px solid #e0e0e0;
    resize: none;
    padding:0px;
    border:none;
    font-size:16px;
    font-family:'rubik';
    box-sizing: border-box;
    padding: 0px 10px;
}

#repArea:focus{
    border:none;
    outline: none;
}

#titleTop{
    width: 100%;
    min-height: 50px;
    border: 2px solid #e0e0e0;
    resize: none;
    padding:0px;
    border:none;
    font-size:16px;
    font-family:'rubik';
    box-sizing: border-box;
    padding: 0px 10px;
}

#titleTop:focus{
    border:none;
    outline: none;
}


.repCAFocus{
    border: solid 2px #000;
    outline: 2px solid #C3A359;
}




.repWriteOpt{
    background-color:#f3f3f3;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px 10px 0px 0px;
}

.repWriteOpt a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    padding:5px;
    width:40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.repWriteOpt a:hover{
    background-color:#e0e0e0;

}

.repWriteOpt ul{
	display: flex;
	flex-flow: row wrap;
	list-style: none;
	padding: 0;
    margin: 0 10px;
	overflow: hidden;
}

#repAreaCo{
    height:30px;
    background-color:#f3f3f3;
    border-radius: 0px 0px 10px 10px;

}

.igs-size {
  font-size: 1.2em;
}

.icStdF{
    color:#000;
}

#contpup{
    position:absolute;
    display:none;

    background-color: #f3f3f3;
    border:solid 2px #000;
}

#contpup ul{

    list-style: none;
    margin: 0px;
    padding:0px;
    overflow: hidden;
}

#contpup li{
    display:block;
    padding: 5px 10px;

}

#contpup li:hover{
    background-color: #ff0000;

}

#colorPicker{
    display:none;
}


.fcobar{
    height:30px;
    padding:0px;
}

#slfco{
    height:25px;
    padding:5px 10px 0px 10px;
}

#cslfcon{
    position: absolute;
    background-color:rgba(0,0,0,0.5);
    border: solid 1px #fff;
    border-radius: 5px;
    right:5px;
    display:none;
}

#cslfcon ul{
    list-style: none;
    padding: 0px;
    margin:5px 0px;
}

#cslfcon a:hover{
    color: #fff;
    background-color:#C3A359;
}

#cslfcon a{
    display: block;
    padding:5px;
    text-align: center;
}

#spcontco{
    display: flex;
    justify-content: center;
    flex-wrap:wrap;
    max-width:1044px;
    margin:auto;
}

.contcope{
    text-align: center;
    margin:0px 50px ;
    padding: 50px 0px;
    flex:1;
    border-bottom: solid 5px #fff;
}


.contcosess{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:auto;
    max-width:400px;
    min-width:305px;
    background-color: #a9a386;
    padding:20px;
    border-radius: 10px;
    border: solid 1px #fff;
    text-align : center;
}

.contcosess input{
    background-color: #000;
    color:#ffffff;
    border-radius: 5px;
    border: solid 2px #fff;
    box-sizing:border-box;
    gap:10px;

}

.contcosess input[type=email], input[type=password]{
    width:100%;
    height: 40px;
    padding-left: 10px;
    font-family:'rubik';
    font-size: 1.2em;

}

.contcosess input[type=submit]{
    font-family:'rubik';
    font-size: 1.8em;
    font-weight: bold;
    padding:10px 20px;

    border-radius: 30px;

}

.contcosess .btdis{
    background-color: #A3A4A3;
    color:#878484;
}

.dfl-right {
    float: right;
}

.gsbut {
//    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #ead566 0%, #a2884b 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin:12px;
}

.gsbut:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Bouton burger */
      .burger-btn {
          position: fixed;
          top: 35px;
          left: 1rem;
          z-index: 1000;
          background-color: #fff;
          border: none;
          padding: 0.75rem;
          border-radius: 8px;
          cursor: pointer;
          display: none;
          flex-direction: column;
          gap: 5px;
          transition: all 0.3s ease;
      }

      .burger-btn:hover {
          background-color: #fff;
      }

      .burger-btn span {
          display: block;
          width: 25px;
          height: 3px;
          background-color: #333;
          border-radius: 2px;
          transition: all 0.3s ease;
      }

      /* Animation du burger en X */
      .burger-btn.active span:nth-child(1) {
          transform: rotate(45deg) translate(7px, 7px);
      }

      .burger-btn.active span:nth-child(2) {
          opacity: 0;
      }

      .burger-btn.active span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -7px);
      }

      /* Overlay sombre */
      .menu-overlay {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          z-index: 998;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
      }

      .menu-overlay.active {
          opacity: 1;
          visibility: visible;
      }


/************
* reponsive *
*************/
@media (max-width: 768px) {
    .burger-btn{
        display:flex;
    }
    .mforum-ico{
        display:none;
    }
    .mtabtop-list-cont{
        font-size:12px;
    }
    .mtabtop-list-icon{
        display:none;
    }

    #nav-mtopic-bar {
     position: fixed;
     top: 0;
     left: -285px;
     width: 250px;
     height: 100vh;
//     background-color: #fff;
    background: url('../img/fondforum.png');

     z-index: 999;
     padding: 5rem 1rem 1rem;
     overflow-y: auto;
     box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
     transition: left 0.3s ease;
//     display: flex;
     flex-direction: column;
//     gap: 1rem;
    justify-content: normal;
    }

    #nav-mtopic-bar.active {
        left: 0;
    }

    .block-mtop {
         flex-direction : row;
         width:auto;
         height:auto;
         align-items: center;
         gap: 1rem;
         padding: 1rem;
         text-decoration: none;
         color: inherit;
         background-color: #f5f5f5;
         transition: all 0.3s ease;
     }


    .block-mtop:hover {
        background-color: #e8e8e8;
        transform: translateX(5px);
    }

    .mtop-img-ct {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ddd;
        border-radius: 50px;
        margin:initial;
    }


    .nav-mtop-title{
        height:auto;
        margin:auto;
    }

    .nav-mtop-title h3{
        color:#000;
        font-size: 1em;
    }

    .ltopic-cont {
        flex-direction:column;
    }

    .ltopic-aut{
        width:auto;
        flex-direction:row-reverse;
        padding:5px;
        border-radius: 10px 10px 0px 0px;
        text-align: initial;
        justify-content: space-between;

    }

    .ltopic-aut-avatar{
        width:50px;
        height:50px;
        margin:0px 10px 0px 0px;
    }

    .ltopic-aut-avdesc{
        margin:0px 0px 0px 10px;
    }

    .repWriteOpt a{
        width:30px;
        height:30px;
    }
}
