@import url(font.css);

body{
    background-color: #032B50;
}

.legalpublications{
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 137px;
}

    .legalpublications__header{
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    @media(min-width: 720px) {
        .legalpublications__header > div {
            display: flex;
            width: 68.125rem;
            align-items: center;
        }
    }

    .legalpublications__header--title{
        font-family: MullerExtrabold;
        font-size: 1.5625rem;
        text-align: left;
        margin-top: 1.375rem;
        color: #FFF;
    }

@media(min-width: 720px) {

    .legalpublications {
        margin-top: 0;
    }

    .legalpublications__header--title{
        font-size: 3.125rem;
    }
}

.cards{
    display: flex;
    margin-top: 2rem;
    max-width: 1088px;
    margin-right: auto;
    margin-left: auto;
}

.grid-container{
    padding-top: 36px;
    display: flex;
    flex-direction: column;
    background-color: #033059;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 162, 255, 0.3);
    box-sizing: border-box;
    width: 90vw;
    align-items: center;
    padding-bottom: 58px;
}

  .grid-item{
    position: relative;
    color: white;
    height: fit-content;
      margin-right: 35px;
      margin-left: 35px;
  }
@media(max-width: 720px) {
    .grid-item{
        min-width: 90%;
    }
}

    .grid-item.active .pubicacao__header{
        background-color: #FFF;
        color: #00315C;
    }

    .pubicacao__header{
        padding: 0 15px;
    }

  .pubicacao__header > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
      padding: 21px 0;
      border-bottom: 1px solid rgba(0, 162, 255, 0.3);
    /*width: 17.125rem;
    height: 2.625rem;*/
  }

    .grid-item.active .pubicacao__header > div {
        border-bottom: 1px solid #FFF;

    }

    .pubicacao__header--title {
        color: #FFF;
        font-family: 'HelveticaNaueBold';
        font-size: 16px;
        font-weight: 400;
    }

    .grid-item.active .pubicacao__header--title {
        color: #003059;
    }

.pubicacao__header--image{
    width: 20px;
    height: 20px;
    background-image: url(../img/site/geral/angledown.webp);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 12px;
  }

.grid-item.active .pubicacao__header--image {
    background-image: url(../img/site/geral/angleup.webp);
}

  .pubicacao__body{
      display: none;
      position: absolute;
      top: 92%;
      right: 0;
      left: 0;
      z-index: 99;
      padding: 0 15px 1px;
      background-color: #FFF;
  }

  .grid-item.active .pubicacao__body{
      display: block;
  }

  .pubicacao__body--element{
      text-decoration: none;
    display: flex;
    justify-content: space-between;
      padding: 15px 0 16px;
      border-bottom: 1px solid #00315C;
      color: #00A2FF;
      font-family: 'HelveticaNaueBold';
      font-size: 16px;
      font-weight: 700;
  }

  .pubicacao__body--element:hover{
      text-decoration: none;
      color: #00A2FF;
  }

.pubicacao__body--element:last-child{
    border-bottom: 2px solid black;
}

.pubicacao__body--element--text {
    display: block;
}

  .pubicacao__body--element--image{
      display: block;
    width: 1rem;
    height: 1rem;
    background-image: url(../img/site/geral/download-icon.webp);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 16px;
  }

@media screen and (min-width: 768px){
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

}
