/* Default.ctp styles */
div .userinfo {
    cursor: pointer;
}

.toprightcorner{
    position: absolute;
    float: right;
    margin-top: 0%;
}

.right{
    float: right;
}


.datewidget {
    padding: 5px 10px 26.5px;
}

@media (min-width: 1300px) and (max-width: 1500px) {
    .datewidget {
        padding: 5px 10px 27px;
    }
}

@media (min-width: 900px) and (max-width: 1300px) {
    .datewidget {
        padding: 5px 10px 26px;
    }
}

.datewidget span {
    position: absolute;
}

/* End Default.ctp */

#logo {
    position: absolute;
    height: 37px;
    margin-left: 10px;
}

.leftmenu {
    display: none;
    margin: 0;
}

.headerpanel a {
    display: none;
}

.nav {
    margin: 0;
}

@media only screen and (max-width: 767px) {
    #logo {
        display: none;
    }

    #header-hexa {
        display: none !important;
    }

    .headerpanel a {
        display: inline-flex;
    }
    .headerright .dropdown {
        top: -49px;
    }
    
    .desktopmenu {
        display: none;
    }
}

a > #logo {
    padding: 6.5px;
}

.obrigatorio {
    color: red;
    font-weight: bold;
}

/* Responsive Table */
/* no more table*/
@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables tfoot, /* Custom */
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .no-more-tables tr {
        border: 1px solid #ccc;
    }

    .no-more-tables td {
        /* Behave like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 25%;
        white-space: normal;
        text-align: left !important;
    }

    .no-more-tables tfoot th, .no-more-tables tfoot td {
        text-align: center;
    }

    .no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 5px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .no-more-tables td:before {
        content: attr(data-title);
    }
}

.escondido {
    display: none !important;
}

.no-resize {
    resize: none;
}

.text-upper {
    text-transform: uppercase;
}

.middle {
    vertical-align: middle !important;
}

.divResultado {
    overflow-x: auto;
}

.titleFrm {
    color: #999 !important;
}

.hand {
    cursor: pointer;
    cursor: hand;
}

#filter-arrow {
    margin-left: 10px;
    opacity: 0.5;
    transform: rotate(90deg);
}

.relative {
    position: relative;
}

.arquivos-checkbox {
    position: relative;
}

@media only screen and (max-width: 767px) {
    .arquivos-checkbox {
        right: -50px;
    }
}

.loginwrapper .error-list {
    color: white;
}

.loginwrapper .alert-error, .loginwrapper .alert-success {
    box-shadow: none;
    position: relative;
    /*right: -35px;
    width: 238px;*/
}

.redefinir-senha #forca_senha_descricao {
    color: #fff;
}

#gerar-senha {
    cursor: pointer;
}

/* Alert-info */

.hexa-alert .alert-info {
    background: #8c7c77 !important;
    border: none;
}

.hexa-alert #info-text {
    color: #fff;
    text-shadow: none;
}

#file-uploader-button {
    position: absolute;
    font-size: 30px;
    color: #fff;
    top: 3px;
    margin-right: 1px;
    left: -55px;
    width: 45px; 
    height: 30px;
}

.file-uploader {
    display: none;
    position: absolute;
    right: 0;
    z-index: 99;
    background: #fff;
    width: 600px;
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    border: 1px solid #ccc;
}

@media only screen and (max-width: 767px) {
    .file-uploader {
        width: 100%;
    }
}

#fileupload-mass-buttons {
    margin-top: 20px;
}

.hexa-alert #info-text {
    color: #fff;
    text-shadow: none;
}

.clonedInput .alert {
    position: absolute;
}

@media only screen and (max-width: 767px) {
    .clonedInput .alert {
        position: relative;
        margin-top: 10px;
        max-width: 200px;
    }
}

.erro-codigo {
    position: absolute;
    right: 0;
    margin-right: 120px;
    color: #953b39;
}

@media only screen and (max-width: 600px) {
    .erro-codigo {
        position: relative;
    }
}

.inline {
    display: inline-flex;
}

.values-hint {
    margin-left: 5px;
}

.fix-modal-close {
    margin-top: -20px !important;
}

.pointer {
    cursor: pointer !important;
}

label h4 {
    font-size: 12px;
    text-transform: uppercase;
    padding-bottom: 2px;
    border-bottom: 1px solid #ddd;
    color: #999 !important;
    margin-bottom: 20px;
    font-weight: bold;
}

.table {
    border-collapse: inherit;
}

/* side tabs */
.justificativas h4 {
    font-size: 12px;
    text-transform: uppercase;
    padding-bottom: 2px;
    border-bottom: 1px solid #ddd;
    color: #999 !important;
    margin-bottom: 20px;
    font-weight: bold;
}

.justificativas .tab-content .inline label {
    margin: 5px 10px 0 10px;
}


.justificativas .content {
    padding: 10px 20px 10px 20px;
    width: 400px !important;
}


@media only screen and (min-width: 1200px) {
    .justificativas .content {
        width: 85% !important;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1200px){
    .justificativas .content {
        width: 72% !important;
    }
}

@media only screen and (max-width: 600px) {
    .justificativas .content {
        width: 60% !important;
    }
}

[class*="span"] {
    float: left;
}


.justificativas .arquivos {
    margin-top: 30px;
}

.justificativas .tab-content .container button {
    float: right;
}

.justificativas .tab-content > .tab-pane {
    padding: 0;
}

#header-hexa {
    position: absolute;
    text-decoration: none;
    display: block;
    font-size: 24px;
    color: #fff;
    margin-right: 10px;
    margin-top: 15px;
    margin-left: 60px;
    background: none;
    border: none;
    cursor: pointer;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.active-button {
    color: #ffdf80 !important;
}

#hexa-header-logo a {
    display: block !important;
}


.desktopmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #8c7c77;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.desktopmenu ul li {
    display: block;
    position: relative;
    float: left;
    background-color: #8c7c77;
}

.desktopmenu li ul { display: none;
    z-index: 99;}

.desktopmenu ul li a {
    display: block;
    padding: 1em;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
}

.desktopmenu ul li a:hover {
    background-color: #f9f9f9;
    text-decoration: none;
}

.desktopmenu li:hover > ul {
    display: block;
    position: absolute;
}

.desktopmenu li:hover li { float: none; }

.desktopmenu li:hover a { background-color: #f9f9f9; color: black; }

.desktopmenu li:hover li a:hover { background-color: #f1f1f1; text-decoration: none; }

.desktopmenu .main-navigation li ul li {
    border-top: 0;
    z-index: 99;
}

.desktopmenu ul ul ul {
    left: 100%;
    top: 0;
}

.desktopmenu ul:before,
.desktopmenu ul:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.desktopmenu ul:after { clear: both; }

.desktopmenu li {
    line-height: 5px;
}

.pagetitle {
    height: 30px;
}

.pagetitle h1 {
    position: relative;
    top: -2px;
}

@media only screen and (max-width: 767px){
    .no-more-tables tr {
        margin-bottom: 10px;
    }

    .no-more-tables td {
        padding-left: 0;
    }

    .no-more-tables td::before {
        position: relative;
        top: 0;
    }

    .showhide {
        border-left: 0;
        right: -23px;
        margin-top: 2px;
    }

    .showhide:hover {
        box-shadow: none;
        background: none;
    }
    .showhide span {
        display: none;
    }

    .showhide:after {
        font-size: 30px;
        content: "\2795";
    }
    
    a.showhide.btn-adicionar {
        right: 0;
        margin-top: 0;
        content: "\2795";
    }
    
    .pagetitle {
        height: 40px;
    }

    .pagetitle h1 {
        margin-top: 4px;
        display: block;
    }
    .pagetitle span {
        display: none;
    }
}

.dropdown-menu {
    right: 0;
    left: auto;
}

@media only screen and (max-width: 767px) {
    .dropdown-menu {
        left: 0;
    }
}

.mainwrapper {
    padding-bottom: 0;
}

.mainmenu i {
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.widgetcontent.bordered {
    margin-bottom: 50px;
}

.table a {
    cursor: pointer;
}

.tabmanual{
    height: 36px;
}

.widgetcontent .tabmanual{
    margin-bottom: 0px;
}

.status-sucesso {
    color: #4B9450;
}

.status-finalizado {
    color: #4B9450;
}

.status-falha {
    color: #CA2F27;
}

.status-aguardando {
    color: #4B5494;
}

.status-expirado {
    color: #E8BD52;
}

.status-agendado {
    color: #8EB8E5;
}

.status-em-analise {
    color: #934BCA;
}

.status-criando {
    color: #4da6ff;
}

.status-duplicado {
    color: #E8BD52;
}

a.showhide.btn-adicionar {
    color: #fff;
    background: #3B6998;
    border: 1px solid #45729E;
}

a.showhide.btn-adicionar:hover {
    opacity: 0.9;
}
