@charset "utf-8";
/*########################################
  Oficina Legislativa
  ########################################*/


 .oficina-legislativa {
  --cor-cinza: #e3e3e3;
}

.oficina-header {
    background-color: var(--link-color);
    color: #FFF;
    padding: .2em 0;
    border-radius: 30px;
    margin: auto 0.5em 3em 0.5em;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.oficina-legislativa h3 {
    text-align: center;
    font-weight: bold;
    margin: auto auto;
    width: max-content;
}
.oficina-legislativa h5 {
	font-size: 20px;
	font-weight: bold;
	color: var(--cor-ideia-legislativa);
	padding: 5px 0;
	border-bottom: 2px solid var(--cor-cinza);
	margin-bottom: 20px;
}

.oficina-legislativa #material-didatico,
.oficina-legislativa .material {
    width: 100%;
    margin-bottom: 40px;
}

.oficina-legislativa #material-didatico a,
.oficina-legislativa .material a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.oficina-legislativa #material-didatico.flex-start a,
.oficina-legislativa .material.flex-start a {
    justify-content: flex-start;
}

.oficina-legislativa #material-didatico a,
.oficina-legislativa #material-didatico a:active ,
.oficina-legislativa #material-didatico a:hover,
.oficina-legislativa .material a,
.oficina-legislativa .material a:active ,
.oficina-legislativa .material a:hover {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.oficina-legislativa #material-didatico h3,
.oficina-legislativa .material h3 {
    font-size: 21px;
    margin: 0;
    color: var(--link-color);
}

.oficina-legislativa .material h3 {
    width: fit-content;
}

.oficina-legislativa .material .material-header {
    margin-bottom: 1em;
}

.oficina-legislativa #material-didatico a[data-toggle="collapse.se"] .icon-chevron,
.oficina-legislativa .material a[data-toggle="collapse.se"] .icon-chevron {
  height: 20px;
  width: 20px;
  margin-left: 15px;
  fill: var(--link-color);
  transition: transform .2s ease;
}

.oficina-legislativa #material-didatico a[data-toggle="collapse.se"]:not(.collapsed) .icon-chevron,
.oficina-legislativa .material a[data-toggle="collapse.se"]:not(.collapsed) .icon-chevron {
  transform: rotate(90deg);
}

.oficina-legislativa #material-didatico a[data-toggle="collapse.se"].collapsed .icon-chevron,
.oficina-legislativa .material a[data-toggle="collapse.se"].collapsed .icon-chevron {
  transform: rotate(0deg);
}

.oficina-legislativa #material-didatico > section {
    margin-left: 18%;
    margin-right: 5%;
}
.oficina-legislativa #material-didatico > section > header {
    margin-bottom: 15px;
    margin-top: 1.5em;
}
.oficina-legislativa #material-didatico .ol-file {
    font-size: 17px;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
    display: flex;
}
.oficina-legislativa #material-didatico .ol-file i {
    font-size: 23px;
    margin-right: 8px;
}

.oficina-legislativa .video section {
    margin-bottom: 5px;
}
.oficina-legislativa .video a, .oficina-legislativa #ideia-legislativa .video a:visited {
    display: block;
    font-size: 15px;
    text-align: right;
    margin-bottom: 15px;
}
/* Link para download sobreposto */
/* .oficina-legislativa .video a, */
/* .oficina-legislativa #ideia-legislativa .video a:visited { */
/*     position: absolute; */
/*     right: 20px; */
/*     top: 5px; */
/*     color: white; */
/*     font-size: 28px; */
/*     padding: 12px; */
/*     border-radius: 8px; */
/*     z-index: 1; */
/* } */

.colecao-turma {
}
.colecao-turma .table {
    border-collapse: collapse;
    /* table-layout: fixed; */
}
.colecao-turma .table .tr {
    border: 1px solid var(--cor-cinza);
}
.colecao-turma .th {
    font-weight: bold;
}
.colecao-turma .table .td,
.colecao-turma .table .th {
    background-color: white;
    padding: 10px 5px;
}
.colecao-turma .table .th:last-child {
    background-color: transparent;
    border: 1px solid var(--cor-cinza);
    border-top-color: transparent;
    border-right-color: transparent;
}
.colecao-turma .tr:last-child {
    height: 85px;
}
.colecao-turma header {
    font-size: 18px;
    font-weight: bold;
}
.colecao-turma header img {
    width: 68px;
    margin-right: 15px;
}
.colecao-turma section h4 {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.colecao-turma footer {
    margin-top: -45px;
    margin-bottom: 25px;
    text-align: center;
}
.colecao-turma .btn-excluir-escola {
	cursor: pointer;
}
.colecao-turma .table .btn-excluir-turma {
	font-size: 20px;
    /* color: black; */
	cursor: pointer;
}

.colecao-turma-ideia > header {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    padding: 5px 0;
    border-bottom: 2px solid var(--cor-ideia-legislativa);
}
.colecao-turma-ideia section {
	padding: 15px;
}
.colecao-turma-ideia section > header {
    background: var(--cor-ideia-legislativa);
    color: white;
    padding: 5px 20px;
    font-weight: bold;
}
.colecao-turma-ideia .table {
	table-layout: fixed;
    border: 1px solid var(--cor-ideia-legislativa);
}
.colecao-turma-ideia .td,
.colecao-turma-ideia .th {
    padding: 5px 15px;
}

/* Formulário */
.form-painel form {
    background: var(--cor-cinza);
    padding: 12px 15px;
    border-radius: 9px;
}
.form-painel .formControls {
    background-color: transparent;
    text-align: center;
    margin-bottom: -34px;
}
.form-painel .formControls input[type="submit"] {
    /* display: inline-block; */
    vertical-align: middle;
    touch-action: manipulation;
    padding: 10px 16px;
    font-size: 18px;
    color: #fff;
    line-height: 1.3333333;
    border-radius: 6px;
    border: 0;
    background-color: #2874a6;
    background-color: var(--cor-produto);
}
/*
.oficina-legislativa .form-painel input[type="text"],
.oficina-legislativa .form-painel select {
    border-radius:8px;
    border: none;
} 
.oficina-legislativa .form-painel select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearence: none;
    background: var(--cor-cinza) url("++resource++img/seta-down.png") no-repeat scroll 88% center;
    background-position: 98% center;
    text-indent: 0.01px;
    text-overflow: "";
}
*/


.foto-wrapper {
    position: relative;
}

.foto-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 40px;
    margin: 10px 0;
    scrollbar-width: none;
}

.foto-scroll::-webkit-scrollbar {
    display: none;
}

.foto-item {
    flex: 0 0 calc((100% - 24px) / 3);
}

.post-wrapper {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.post-item {
    flex: 0 0 calc((100% - 24px) / 5);
}

.foto-item img,
.post-item img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.foto-item img {
    height: 220px;
}

button.nav  {
    display: none;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 999px;
    background-color: transparent;
    background: #fff;
    border: none;

    line-height: 0;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    z-index: 5;
}

.nav .icon-chevron {
    height: 20px;
    width: 20px;
    fill: var(--link-color)
}

.nav.left .icon-chevron {
    transform: rotate(180deg);
}

.nav.left {
    left: 5px;
}

.nav.right {
    right: 5px;
}

.foto-wrapper::before,
.foto-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.foto-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.foto-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.foto-wrapper.no-left-fade::before {
    opacity: 0;
}

.foto-wrapper.no-right-fade::after {
    opacity: 0;
}

.foto-item.partially-hidden {
    pointer-events: none;
}


.conteudo-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.conteudo-item {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conteudo {
    border: 1px dotted #007bb12b;
    padding: 9px;
    border-radius: 16px;
    background-color: #007bb12b;
}

.conteudo:hover {
    background-color: #00466529;
}

.conteudo img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    display: block;
    background: var(--color-background-secondary);
}

.conteudo-meta {
    width: 100%;
    text-align: center;
}

.conteudo-nome {
    display: block;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conteudo-size {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.oficina-legislativa .material {
    display: flex;
    flex-direction: column;
}

.vertodos {
    flex: 0 0 100%;
    display: block !important;

    margin-top: 10px;

    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: var(--cor-oficina-legislativa);
    text-decoration: underline !important;
}

.file-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 158px;
    height: 120px;
}

.file-placeholder i {
    font-size: 80px;
    color: var(--cor-oficina-legislativa);
}

.data-grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));

    gap: 8px;

    grid-auto-flow: dense;
    grid-auto-rows: 10px;
}

.data-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f2f2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    grid-row: span 12;
}

.data-display:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 2;
}

.data-display img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-data p {
    color: var(--cor-oficina-legislativa);
    font-size: 30px;
}

@media (max-width: 768px) {
    .foto-wrapper::before,
    .foto-wrapper::after {
        height: 101%;
    }

    .foto-wrapper::before {
        left: -2px;
    }

    .foto-wrapper::after {
        right: -2px;
    }

    .foto-item {
        flex: 0 0 calc((100% - 12px));
    }

    .post-wrapper {
        flex-wrap: wrap;
    }

    .post-item {
        flex: 0 0 calc((100% - 6px) / 2);
    }

    .conteudo-wrapper {
        flex-wrap: wrap;
    }

    .conteudo-item {
        flex: 0 0 calc((100% - 16px) / 2);
        margin-bottom: 32px;
    }

    .collapse .vertodos {
        margin: auto;
        flex: 0 0 auto;

        text-align: center;
        align-self: center;

    }

    .foto-scroll {
        padding: 0 10px;
    }

    .foto-wrapper::before,
    .foto-wrapper::after {
        width: 10%;
    }

    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-display:nth-child(n) {
        grid-row: span 20;
    }
}

@media (max-width: 480px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}