/*
    LOADING
*/
.loader {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 990;
    background: rgba(0, 0, 0, 0.35);
}

    .loader * {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -30px;
        margin-left: -30px;
    }

/*Galeria de imagens*/
.ibox-title-override, .ibox-content-override {
    border: none !important;
    padding: 8px !important;
}

.ibox-title-override {
    min-height: 15px;
}

/* Mensagens de erro*/
.error-messages {
    color: #ed5565;
}

/* Customização da barra do topo */

#custom-navbar {
    background-color: #004870 !important;
    border: none !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

    #custom-navbar .btn-primary {
        background-color: #004870;
        border-color: #004870;
        color: #FFFFFF;
    }

        #custom-navbar .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:hover, .btn-primary.active:focus {
            background-color: #137cc1;
            border-color: #137cc1;
            color: #FFFFFF;
        }

    #custom-navbar .nav.navbar-right > li > a {
        color: #fff !important;
    }

/*Customização do switch ON/OFF*/

.active-switch:before {
    content: "SIM" !important;
    height: 25px;
    line-height: 23px;
}

.active-switch:after {
    content: "N\00c3O" !important;
    height: 25px;
    line-height: 23px;
}

/*Customização do switch PF/PJ*/
.type-switch:before {
    content: "PF" !important;
    height: 25px;
    line-height: 23px;
}

.type-switch:after {
    content: "PJ" !important;
    height: 25px;
    line-height: 23px;
}


/* Galeria de imagens */
.lightBoxGallery img {
    margin: 0 !important;
}

.wrap {
    overflow: hidden;
    margin: 10px;
}

.box {
    float: left;
    position: relative;
    width: 50%;
    padding-bottom: 50%;
}

.boxInner {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    overflow: hidden;
}

    .boxInner img {
        width: 100%;
        height: 100%;
    }

.titleBox {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 10px;
    text-align: center;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    margin-bottom: -60px;
}

.boxInner:hover .titleBox, .boxInner.touchFocus .titleBox {
    margin-bottom: 0;
}

@media only screen and (max-width : 480px) {
    /* Smartphone view: 1 tile */
    .box {
        width: 100%;
        padding-bottom: 100%;
    }
}

@media only screen and (max-width : 650px) and (min-width : 481px) {
    /* Tablet view: 2 tiles */
    .box {
        width: 50%;
        padding-bottom: 50%;
    }
}

@media only screen and (max-width : 1050px) and (min-width : 651px) {
    /* Small desktop / ipad view: 3 tiles */
    .box {
        width: 33.3%;
        padding-bottom: 33.3%;
    }
}

@media only screen and (max-width : 1290px) and (min-width : 1051px) {
    /* Medium desktop: 4 tiles */
    .box {
        width: 25%;
        padding-bottom: 25%;
    }
}

/* btn responsivo*/

@media (max-width: 768px) {
    .btn-responsive {
        padding: 4px 6px;
        font-size: 100%;
        line-height: 1;
        border-radius: 3px;
        border-radius: 3px;
    }
}

@media (min-width: 768px) and (max-width: 1366px) {
    .btn-responsive {
        padding: 4px 5px;
        font-size: 90%;
        line-height: 1.2;
    }
}


/*Altera cor da fonte de campos disabled*/
input:disabled, select:disabled, textarea:disabled {
    color: black;
}

/* Aumenta o tamanho dos íconoes nos buttons do datatables*/
.html5buttons i {
    font-size: 14px;
}

.agile-body {
    min-height: 25px;
    margin-top: 10px;
}

.agile-progress {
    width: 15%;
    float: left;
    margin-right: 5px;
}

.board-header {
    height: 50px;
    border: 1px solid #d3d9de;
    border-bottom: none;
    padding: 5px;
    color: white;
}

.header-open {
    background-color: #ff4d4d;
}

.header-attendance{
    background-color:#00cc66;
}

.header-treatment{
    background-color:#ff944d;
}

.header-awaiting_closure{
    background-color:#ffd11a;
}

.header-closed{
    background-color:#668cff;
}

.header-blocked{
    background-color:#e60000;
}





.board-header h3 {
    margin-top: 10px;
}

.agile-column {
    padding: 5px;
    max-height: 430px;
    overflow: auto;
    border: 1px solid #d3d9de;
    min-height: 430px;
    min-width: 330px;
}

@media (min-width: 992px) {
    .modal-extra-lg {
        width: 85%;
    }
}

.carousel-control {
    padding-top: 10%;
    width: 5%;
}

.high {
    border-left: 7px solid #ed5565 !important;
}

.medium {
    border-left: 7px solid #f8ac59 !important;
}

.low {
    border-left: 7px solid #137cc1 !important;
}

.modal-title .percentage {
    float: left;
    margin-top: 10px;
    width: 20%;
}

.tasks-done {
    color: #004870;
}

.button-pressed {
    -webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.5) !important;
    -moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.5) !important;
    box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.5) !important;
    color: black !important;
    font-weight: bold !important;
}

.modal-high {
    background-color: #ed5565;
    color: #FFFFFF;
}

.modal-medium {
    background-color: #f8ac59;
    color: #FFFFFF;
}

.modal-low {
    background-color: #137cc1;
    color: #FFFFFF;
}

.board-column {
    width: 350px;
    float: none;
    display: inline-block;
    white-space: normal;
    vertical-align: top;
    margin-right: 15px;
}

    .board-column:first-child {
        padding-left: 15px;
    }

.notifications-list {
    max-height: 500px;
    overflow: auto;
}

.new-notification {
    color: #262626;
    text-decoration: none;
    background-color: rgba(237,239,245,.98);
}

.ticket {
    height:96px;
}

.dashboard-row {
    /*display: none;*/
}

.ct-chart-container {
    min-height: 540px !important;
}

.ct-chart-container-extra {
    min-height: 760px !important;
}
.ct-chart-half-container {
    min-height: 227px !important;
}

.first-bar {
    white-space: nowrap;
    position: relative;
    text-align: left;
}
.second-bar {
    white-space: nowrap;
    text-align: right;
    direction: rtl;
}