#g-main-card{
    width: 1000px;
}

#content-d{
    margin-top: -41px;
    margin-left: 315px;
    display:flex;
    justify-content: center;
}
#panel-d{
    display:flex;
    justify-content: center;
    margin-top: -25px;
}

@media (max-width: 1050px){
    #content-d{
        margin-left: 0px;
    }
}

@media (max-width: 770px){
    #content-d{
        margin-left: 0px;
        justify-content: center;
    }
}

@media (max-width: 767px){
    #content-d{
        margin-top: -52px;
        margin-left: 0px;
        justify-content: center;
    }
}

/* TOGGLER */
@media (max-width: 767px){
    #top-menu{
      margin-top: -2px;
    }
}

/* MAIN COLUMN GROUP PAGE */

#row-main{
    display: inline-block;
    margin-top: -200px;
}

#col-g{
    background-color: #252931;
    color: black;
    padding: 25px;
}

#g-title.card-title{
    font-size: 30px;
}

#img-wrapper{
    background-repeat: no-repeat;
    background-size: 100%;
    width: 910px;
    height: 500px;
    margin-top: 30px;
}

#g-text-footer-wrapper{
    margin-top: 40px;
    margin-bottom: 40px;
}

#content-category-wrapper{
  position:absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

#group-link-wrapper{
  position:relative;
  width:100%;
  z-index: 10;
}

#group-link-g{
  text-decoration: none;
  color: white;
  position:absolute;
  display:flex;
  align-items: center;
  background-color:rgb(93, 127, 185, 0.7);
  height:30px;
  bottom:0px;
  z-index:10;
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 8px;
}

#without-news{
    color: white;
    font-size: 20px;
}
  
@media (max-width: 1300px){
    #row-main{
        display: inline-block;
        width: 720px;
    }
}

@media (max-width: 1050px){

    #row-main{
        display: inline-block;
        width: 1000px;
    }
}

@media (max-width: 1000px){
    #row-main{
        display: inline-block;
        width: 900px;
    }
}

@media (max-width: 900px){
    #row-main{
        display: inline-block;
        width: 800px;
    }
}

@media (max-width: 800px){
    #row-main{
        display: inline-block;
        width: 700px;
    }
}

@media (max-width: 700px){
    #row-main{
        display: inline-block;
        width: 600px;
    }
}

@media (max-width: 600px){
    #row-main{
        display: inline-block;
        width: 500px;
    }
}

@media (max-width: 480px){
    #row-main{
        width: 490px;
    }
}

@media (max-width: 420px){
    #row-main{
        width: 400px;
    }
}

@media (max-width: 400px){
    #row-main{
        display: inline-block;
        width: 380px;
    }
}


/* SIDE BAR GROUP PAGE */
#close-sidebar{
    display: none;
}

#checkbox-sidebar-wrapper{
    margin-top: 25px;
    display: none
}

#checkbox-sidebar-wrapper-close{
    display: none
}

#g-content-geral-wrapper{
    margin-top: 10px;
    width:100%;
    display: inline-block;
}

#g-sidebar{
    margin-top: 5px;
    background-color: #252931;
    position: fixed;
    display: inline-block;
    color: black;
    margin-left: -320px;
    height: 100%;
    width: 300px;
    z-index: 20;
}

#g-sidebar-header{
    width: 100%;
}

#g-topic-wrapper{
    width:100%;
}

#g-topic{
    display: flex;
    width: 100%;
    background-color: #131316;
    font-size: 15px;
    color: white;
    margin:0px;
    justify-content: center;
    align-items: center;
    height: 55px;
}

#g-topic h5{
    font-size: 20px;
}

#g-topic_created_at{
    font-size: 10px;
    color: white;
}

#g_title_g-topic_link{
    text-decoration: none;
    color: white;
}

#g_title_g-topic_link:hover{
    text-decoration: underline;
}

#g-body-sidebar-g-topic{
    margin-top: 12px;
    padding: 10px;
}

#g-card-body-sidebar-g-topic{
    overflow-y: auto;
    overflow-x: hidden;
    white-space: nowrap;
    width:289px;
    position: fixed;
    height: 80%;
    background-color: #252931;
    z-index: 1;
}

#checkbox{
    position: absolute;
    display: none;
}

@media (max-width: 1400px){
        #g-sidebar{
        margin-top: 6px;
        background-color: #252931;
        position: fixed;
        display: inline-block;
        color: black;
        margin-left: -320px;
        height: 100%;
        width: 300px;
        z-index:20;
    }
}


@media (max-width: 1050px){
    #g-sidebar{
        margin-top: 6px;
        background-color: #252931;
        position: fixed;
        display: inline-block;
        color: black;
        margin-left: -320px;
        height: 100%;
        width: 300px;
        display: none;
        z-index: 20;
    }

    #checkbox-sidebar-wrapper{ /*OPEN SIDE BAR*/
        display: flex;
        position:fixed;
    }
    
    #label-checkbox{ /*OPEN SIDE BAR*/
        position: absolute;
        font-size: 20px;
        background-color: rgb(36, 33, 33, 0.7);
        margin-top: -20px;
        cursor: pointer;
    }

    #label-checkbox:hover{ /*OPEN SIDE BAR*/
        position: absolute;
        font-size: 20px;
        background-color: rgb(36, 33, 33);
        margin-top: -20px;
        cursor: pointer;
    }

    #checkbox-sidebar-wrapper-close{ /*CLOSE SIDE BAR*/
        display: flex;
        position:fixed;
        margin-left:10px;
    }

    #label-checkbox-close{ /*CLOSE SIDE BAR*/
        position: absolute;
        font-size: 20px;
        background-color: rgb(0, 0, 0);
        color:white;
        margin-top: 0px;
        cursor: pointer;
        z-index:1;
    }
    #close-sidebar{ /*CLOSE SIDE BAR*/
        background-color: black;
        position: fixed;
        display: inline-block;
        width: 10px;
        margin-top:-55px;
        margin-left: 300px;
        height: 100%;
    }
}

@media (max-width: 770px){
        #g-sidebar{
        margin-top: -10px;
        background-color: #252931;
        position: fixed;
        display: inline-block;
        color: black;
        margin-left: -320px;
        height: 100%;
        width: 300px;
        display: none;
        z-index: 20;
    }

    #checkbox-sidebar-wrapper{ /*OPEN SIDE BAR*/
        display: flex;
        position:fixed;
    }

    #label-checkbox{ /*OPEN SIDE BAR*/
        position: absolute;
        font-size: 20px;
        background-color: rgb(36, 33, 33, 0.7);
        margin-top: -20px;
        cursor: pointer;
    }

    #label-checkbox:hover{ /*OPEN SIDE BAR*/
        position: absolute;
        font-size: 20px;
        background-color: rgb(36, 33, 33);
        margin-top: -20px;
        cursor: pointer;
    }

    #checkbox-sidebar-wrapper-close{ /*CLOSE SIDE BAR*/
        display: flex;
        position:fixed;
        margin-left:10px;
    }

    #label-checkbox-close{ /*CLOSE SIDE BAR*/
        position: absolute;
        font-size: 20px;
        background-color: rgb(0, 0, 0);
        color:white;
        margin-top: 0px;
        cursor: pointer;
        z-index:1;
    }
    #close-sidebar{ /*CLOSE SIDE BAR*/
        background-color: black;
        position: fixed;
        display: inline-block;
        width: 10px;
        height: 100%;
    }
}

@media (max-width: 600px){
        #g-sidebar{
        margin-top: -10px;
        background-color: #252931;
        position: fixed;
        display: inline-block;
        color: black;
        margin-left: -320px;
        height: 100%;
        width: 300px;
        display: none;
        z-index: 20;
    }
}

/* SIDEBAR COLLAPSE FUNCTION */

@media (max-width: 1050px){
    #checkbox:checked + #g-sidebar{
        margin-top: 6px;;
        background-color: #252931;
        position: fixed;
        display: inline-block;
        color: black;
        margin-left: 0px;
        height: 100%;
        width: 300px;
        display: block;
        z-index: 20;
    }
}

/* RELATED TOPIC */

#related-topic-geral-wrapper{
    display:flex;
    width: 100%;
    padding: 0px;
    background-color: #252931;
}

#related-topic-wrapper{
    width: -50px;
    padding: 0px;
    background-color: black;
}

#related-bar{
    width: 100%;
    height: 10px;
    background-color: #131316;
}

#related-topic{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 290px;
    height:60px;
    background-color: #131316;
    color: white;
    text-decoration: none;
}

#related-topic h5{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

#news-page-link-g{
    position: absolute; 
    top: 10px; 
    bottom: 10px; 
    left: 10px; right: 
    10px; 
    z-index: 1;
    text-decoration: none;
}

#row-g{
    padding: 10px;
}

#col-dinamic-g{
    position:relative;
    padding:0px;
    background-image: url('../assets/images/download.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    height: 250px;
}

@media (max-width: 400px){
    #col-dinamic-g{
        padding:0px;
        background-image: url('../assets/images/download.jpg');
        background-repeat: no-repeat;
        background-size: 100%;
        height: 170px;
    }
}

#card-text-p-g.card-text{
    font-size: 20px;
    background-color: rgba(248, 253, 255, 0.7) ;
    padding: 0px;
    color: black;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
  }

/* NO NEWS */

#no-news{
    color: white
}

span.page-link.activate{
    background-color: blue;
    color: white;
}