#portfolio .container {
    max-width: 85%;
}

@media (max-width: 999px) {
    #portfolio .container {
        max-width: 75%;
    }
}
@media (max-width: 600px) {
    #portfolio .container {
        max-width: 90%;
    }
    #produtos.owl-theme .owl-prev {
        left: -15px !important;
    }
    #produtos.owl-theme .owl-next {
        right: -15px !important;
    }
}

/**************************************/
/*          TABELA + BUSCA            */
/**************************************/
#portfolio .search_portfolio {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 50px;
}
#portfolio .search_portfolio form {
    display: flex;
    width: 100%;
}
#portfolio .search_portfolio form input {
    padding: 5px 10px 5px 10px;
    border-radius: 5px 0px 0px 5px;
    width: 100%;
    outline: none;
}
#portfolio .search_portfolio form input[type='reset'],
#portfolio .search_portfolio form button.reset-table {
    border: none;
    width: auto;
    background-color: #000066;
    color: #fff;
    border-radius: 5px;
    margin-left: 10px;
}
#portfolio .search_portfolio form button {
    padding: 0px 10px 4px;
    border: none;
    background: #000066;
    outline: none;
    color: #fff;
    border-radius: 0px 5px 5px 0px;
}
#portfolio .search_portfolio form button svg {
    width: 15px;
}

#portfolio .table_item {
    display: flex;
    align-items: center;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: 316px;
    width: 100%;
    margin-top: 50px;
}
#portfolio .table_item::-webkit-scrollbar {
    width: 3px;
}
#portfolio .table_item::-webkit-scrollbar-thumb {
    background-color: #000066;
}

#portfolio .table_item table {
    width: 100%;
    position: absolute;
    top: 0;
}
#portfolio .table_item table th {
    padding: 10px 0px;
    text-align: center;
    background-color: #000066;
    border: 1px solid #000066;
    color: #fff;
}
#portfolio .table_item table td {
    text-align: center;
    border: 1px solid #000066;
}

.error-display {
    padding: 10px 20px;
    background-color: #000066;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    margin: 50px auto 0px;
}
.error-display p {
    font-weight: bold;
    color: #fff;
    margin: 0 !important;
}

/**************************************/
/*          EFEITO NA IMAGEM          */
/**************************************/
#produtos .item {
    height: 100%;
    overflow: hidden;
    border: 3px solid #000066;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
}
#produtos .item img {
    height: 100%;
    object-fit: contain;
    transition: .5s;
}

#produtos .item .info-prod {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-color: rgba(0,0,0,.8);
    display: flex;
    align-items: end;
    padding: 20px;
    transition: .5s;
}
#produtos .info-prod h4 {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}

#produtos .item:hover img {
    transform: scale(1.2);
}
#produtos .item:hover .info-prod {
    opacity: 1;
}

/**************************************/
/*            OWL-CAROUSEL            */
/**************************************/
#produtos.owl-theme {
    position: relative;
}
#produtos.owl-theme .owl-item {
    width: 261px;
    height: 261px !important;
}

#produtos.owl-theme .owl-next,
#produtos.owl-theme .owl-prev {
    width: 35px;
    height: 40px;
    margin-top: -20px;
    position: absolute;
    top: 50%;
    background: #000066;
    color: #fff;
    border-radius: 5px;
    opacity: 1;
    transition: .5s;
}
#produtos.owl-theme .owl-prev {
    left: -70px;
}
#produtos.owl-theme .owl-next {
    right: -70px;
}

/**************************************/
/*             RESPONSIVO             */
/**************************************/
@media (max-width: 768px) {
    .corpo-table-prod tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        margin: 10px 0px;
    }
    .corpo-table-prod tr td:nth-last-child(1) {
        display: grid;
        grid-column-start: 1;
        grid-column-end: 4;
        background-color: #000066;
        color: #fff;
    }
}


/*****************************************/
/*             LOADING TABLE             */
/*****************************************/
#portfolio .table_item .load-table {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 46px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.8);
    transition: .5s;
    z-index: 10;
}
#portfolio .table_item .load-table span.spinner {
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate .7s infinite linear;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}


#portfolio .table_item .load-table.off {
    opacity: 0;
    transform: scale(0);
}