﻿
#loadingMessage {
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0,0,0,0.5);
}

.modal-content {
    margin: 50px auto !important;
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0,0,0,0.5);
}

.modal-header {
    padding: 0px;
    padding-top: 10px;
    padding-left: 15px;
    /*background-color: #f4f4f4;*/
    background-color: #961a8d;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border: 1px solid #961a8d;
    min-height: 45px !important;
}

.modal-footer {
    background-color: #f4f4f4;
    margin-top: 0px !important;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.modal-body {
    background-color: white;
    filter: alpha(opacity=100);
    opacity: 1;
    border: 1px solid #c4c4c4;
}

.modal-title {
    color: white;
}


.box-body .padding30 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.box-body .NoMagin {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    width: auto !important;
    height: auto !important;
    max-height: 100% !important;
}

.modal-header .close {
    margin-top: 2px !important;
    margin-right: 5px !important;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .0) !important;
}

/*removido por estar desconfigurando as modals padrão do bootstrap*/
/*.modal-dialog {
    width: auto !important;
    margin: 30px;
}*/


body.loading-modal {
    overflow: hidden;
}

    body.loading-modal .modal-loading {
        display: block;
    }



.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900 !important;
    background-color: #000000;
}

#dataConfirmModal {
    top: 150px !important;
}

    #dataConfirmModal .modal-content {
        width: 50%;
    }

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* LIST GROUP RAÍZEN (COM IMAGEM) */
.list-group-raizen .list-group-item-heading {
    color: rgb(129, 0, 129);
    font-weight: 700;
}

/* MEDIA CONTAINER RAÍZEN */
.media-container > .media:not(:first-child) {
    margin-top: 0px;
}

.media-container.media-container-raizen .media-heading {
    color: rgb(129, 0, 129);
    font-weight: 700;
}

.media {
    margin-top: 15px;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

    .media:first-child {
        margin-top: 0;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
    }

    .media:last-child {
        margin-bottom: 0;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
    }

.media,
.media-body {
    zoom: 1;
    overflow: hidden;
}

.media-body {
    width: 10000px;
}

.media-object {
    display: block;
}

    .media-object.img-thumbnail {
        max-width: none;
        padding: 0;
    }

.media-right,
.media > .pull-right {
    padding-left: 10px;
}

.media-left,
.media > .pull-left {
    padding-right: 10px;
}

.media-left,
.media-right,
.media-body {
    display: table-cell;
    vertical-align: top;
}

.media-middle {
    vertical-align: middle;
}

.media-bottom {
    vertical-align: bottom;
}

.media-heading {
    margin-top: 0;
    margin-bottom: 5px;
}

.media-list {
    padding-left: 0;
    list-style: none;
}

/* ÍCONE DENTRO DE UM TEXTBOX */
.inner-addon {
    position: relative;
}

    .inner-addon .glyphicon {
        position: absolute;
        padding: 10px 20px 10px 10px;
        pointer-events: none;
    }

.right-addon .glyphicon {
    right: 0px;
}

.img-64 {
    width: 64px;
    height: 64px;
}

/* ALTERAR PADRÕES DO BOOTSTRAP */
.control-label {
    text-align: left !important;
}

textarea {
    resize: none !important;
}

.small.small-legenda-fileupload {
    position: relative;
    top: -30px;
    color: rgb(129, 0, 129);
    display: block;
}

table td {
    vertical-align: middle !important;
}

div.checkbox {
    position: relative;
    top: -5px;
}

/* OPERAÇÕES DE IMAGEM */
.img-footer {
    display: block;
    width: 100%;
    margin-top: 0px;
    padding: 0px;
    border: 1px solid #cdd2d2;
}

/* SUMMARY */
.validation-summary > ul > li {
    padding-top: 15px;
}

    .validation-summary > ul > li > ul {
        list-style-type: none;
        padding-left: 0px;
    }

/* COLUNA DE AÇÕES */
@media (min-width: 992px) {
    .coluna-acoes {
        width: 10%;
    }
}

@media (min-width:640px) {
    .coluna-acoes {
        width: 15%;
    }
}

@media (max-width:639px) {
    .coluna-acoes {
        width: 25%;
    }
}

/* CARROSSEL */
.slick-prev:before {
    color: rgb(129,0,129) !important;
    opacity: 1 !important;
}

.slick-next:before {
    color: rgb(129,0,129) !important;
    opacity: 1 !important;
}

.coluna-carrossel {
    margin-top: 30px;
}

.carrossel {
}

    .carrossel .carrossel-item .img-carrossel img {
        max-height: 50vh;
    }

.carrossel-item {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #cdd2d2;
    border-radius: 5px;
    height: 100%;
    cursor: pointer;
}

    .carrossel-item .img-carrossel {
        height: 50%;
        padding: 0px;
    }

        .carrossel-item .img-carrossel img {
            width: 100%;
            height: 100%;
        }

    .carrossel-item .texto-carrossel {
        height: 50%;
        padding: 10px;
        overflow-y: auto;
    }

        .carrossel-item .texto-carrossel h3 {
            color: rgb(129, 0, 129);
            font-weight: 700;
            font-size: 16px;
        }

        .carrossel-item .texto-carrossel small {
            font-size: 90%;
        }

.row-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    .row-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

.row-carrossel .carrossel-item {
    padding: 0;
}

.col-carrossel-categorias {
    padding: 10px 30px 10px 30px;
}

.panel-filtro-documentos {
    margin-bottom: 0px;
}

.carrossel.carrosel-categorias {
    margin-bottom: 10px;
}

    .carrossel.carrosel-categorias .carrossel-item {
        max-height: unset;
        min-height: unset;
        background-color: inherit;
        padding: 0px;
        margin: 0px 5px 0px 5px;
    }

    .carrossel.carrosel-categorias .carrossel-item {
        background-color: inherit;
        color: rgb(129,0,129);
        font-weight: 700;
        word-break: break-word;
    }

        .carrossel.carrosel-categorias .carrossel-item.slick-current {
            background-color: rgb(129,0,129);
            color: #fff;
        }

        .carrossel.carrosel-categorias .carrossel-item .texto-carrossel-categorias {
            width: 100%;
            height: 100%;
            border-color: #b053aa;
            padding: 10px;
            line-height: normal;
            display: flex;
            vertical-align: middle;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            word-break: initial;
        }

.h4-categorias {
    padding: 5px 5px 5px 0px;
    font-weight: 700;
    color: #666;
    display: inline;
}

@media (max-width: 360px) {
    .carrossel-item {
        max-height: none;
        min-height: unset;
    }

        .carrossel-item .img-carrossel {
            height: 240px;
            max-height: 240px;
            padding: 0px;
        }

        .carrossel-item .texto-carrossel {
            height: auto;
            max-height: unset;
        }
}

/**  ESTILO DO SCROLL */
::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
    border: 1px solid #ccc;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(left, #fff, #e4e4e4);
    border: 1px solid #aaa;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #fff;
    }

    ::-webkit-scrollbar-thumb:active {
        background: linear-gradient(left, #22ADD4, #1E98BA);
    }

/* LINHAS DE NEGÓCIO */
#divAtualizarImagem img {
    height: 240px;
    max-height: 240px;
    width: 360px;
}

/* ESTILO DE ERRO */
.has-error .small-legenda-fileupload {
    color: #b94a48;
}

/* CUSTOMIZAÇÕES DO MENU */
.sidebar-menu > ul > li > a {
    text-transform: none;
}

/* BOTÃO REDONDO */
.botao-redondo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgb(129,0,129);
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
    box-shadow: 0px 2px 5px #666;
    z-index: 1000 !important;
}

.conteudo-botao-redondo {
    color: white;
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 55px;
    font-size: 15px;
    font-family: 'Roboto';
    font-weight: 300;
}

/* MEDIA DE CONFIGURAÇÕES EM TELAS PEQUENAS */
@media (max-width: 540px) {
    /*.media-documentos-negocio .img-64 {
        width: 32px !important;
        height: 32px !important;
    }*/

    .media-documentos-negocio .media-heading {
        font-size: 13px;
    }
}

/* CSS PARA TELAS PEQUENAS (ESCONDER MENU E ETC) */
@media (max-width: 768px) {
    #content {
        padding-top: 15px;
    }

    #main-content.margin-left-50 {
        margin-left: 0px !important;
    }
}

/* LISTA DE DOCUMENTOS EM TELA PEQUENA */
.media-documentos-clicavel {
    cursor: pointer;
}

/* CABEÇALHO DE LINHAS DE NEGÓCIO COM DOCUMENTOS */
.cabecalho-linha-documentos {
    background-color: #fff;
    padding: 5px 5px 0px 15px;
    vertical-align: middle;
}

/* HEADER COM BOTÕES */
.botoes-header {
    position: relative;
    top: -45px;
}

/* IMAGEM DE DOCUMENTOS */
.img-doc {
    width: 75px;
    height: 90px;
}

/* LINK QUE POSSUI IMAGENS DENTRO */
.a-img-container {
    cursor: default;
}

/* HEADER FIXO */
.navbar-fixed-top {
    margin: 0px -15px 0 !important;
}

/* LISTA DE CATEGORIAS FIXA NA VERSÃO MOBILE */

@media (max-width: 768px) {
    .fixed-container-categorias {
        position: fixed;
        top: 46px;
        left: 0;
        z-index: 3000;
        background: #FFF;
        border-bottom: 1px solid #ddd;
        transition: visibility 0s, opacity 0.5s linear;
    }
}

.form-negativo {
    margin-left: -30px;
    margin-right: -30px;
}

/* BOTÃO DE RODAPÉ PARA VOLTAR AO TOPO DA PÁGINA */
.footer-tools {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

/* LISTA DE DOCUMENTOS */
#divListaDocumentos {
    margin-top: 10px;
}

/*@media (max-width: 768px) {
    #divListaDocumentos {
        padding-right: 10px;
    }
}*/

/* BOTÕES DE FORMULÁRIOS DE FILTRO */
.form-search-buttons {
    padding: 10px 15px 10px 15px;
}

/* ITEM SENDO ARRASTADO */
.tr-dragging {
    color: black;
    font-weight: 700;
    background-color: rgba(129, 0, 129, 0.5);
}

/*Datatables*/
div.dataTables_info {
    padding-top: 2px !important;
}

div.dataTables_paginate {
    margin: 8px 0 !important;
}

/*Bootbox*/
.largeWidth {
    margin: 0 auto;
    width: 45% !important;
}