/* -----------------------------------------------
--------------------------------------------------
COLOR THEME
--------------------------------------------------
-------------------------------------------------- */
/*
color1 = #566b7f
color2 = #778089
color3 = #9ea5ab
*/
/* -----------------------------------------------
--------------------------------------------------
GERAL
--------------------------------------------------
-------------------------------------------------- */
body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 300;
    background-color: #FFF;
}
.bold {
    font-weight: 600;
}
.divider {
    background-color: #e5e5e5;
    height: 1px;
    overflow: hidden;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.left {
    text-align: left;
}
.btn {
    transition: all 0.5s ease-out 0s;
}
/* -----------------------------------------------
--------------------------------------------------
LOGIN
--------------------------------------------------
-------------------------------------------------- */
.background-media, .background-overlay {
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.wrapForm {
    background-color: rgba(255, 255, 255, 0.9);
    width: 400px;
    margin: 15% auto auto !important;
    border: 1px solid #CCC;
    padding: 20px;
    z-index: 3;
    position: relative;
    margin-top: 15%;
    border-radius: 5px;
}
.wrapForm h2 {
    margin-top: 10px;
}
.fomulario {
    border-top: 1px solid #CCC;
    margin-top: 10px;
    padding-top: 10px;
}
.poweredBy {
    bottom: 0;
    padding: 20px 50px 20px 20px;
    position: absolute;
    text-align: right;
    width: 100%;
    z-index: 3;
}
.poweredBy p {
    margin: 0px;
    color: white;
    font-style: italic;
    font-size: 9px;
}
.btn-client {
    color: #FFF;
    background-color: #566b7f;
    border-radius: 4px;
}
.btn-client:hover, .btn-client:focus {
    background-color: #9ea5ab;
    color: #fff;
}
/*.btn-delete {
    color: #d9534f;
    transition: all 0.5s ease-out 0s;
}
.btn-delete:hover{
    color: #c9302c;
    transition: all 0.5s ease-out 0s;
    cursor: pointer;
}
.btn-edit {
    color: #f0ad4e;
    transition: all 0.5s ease-out 0s;
}
.btn-edit:hover{
    color: #ec971f;
    transition: all 0.5s ease-out 0s;
    cursor: pointer;
}*/
td.actions {
    text-align: right;
    width: 100px;
}
td.actions a {
    display: inline-block;
}
.btn-delete,
.btn-edit,
.btn-preview {
    color: #566b7f;
    transition: all 0.5s ease-out 0s;
    padding: 0px 5px;
}
.btn-delete:hover,
.btn-edit:hover,
.btn-preview:hover {
    color: #9ea5ab;
    transition: all 0.5s ease-out 0s;
    cursor: pointer;
}
/* -----------------------------------------------
--------------------------------------------------
LAYOUT
--------------------------------------------------
-------------------------------------------------- */
h1.page-header {
    margin-top: -5px;
}
.sidebar {
    padding-left: 0;
}
.sidebar {
    background-color: #566b7f;
    border-right: 1px solid #eee;
    bottom: 0;
    display: block;
    left: 0;
    padding: 14px;
    position: fixed;
    top: 51px;
    z-index: 1000;
}
.main-container { 
    background: #FFF;
    padding-top: 15px;
    margin-top: 60px;
}
.footer {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
} 
:focus {
    outline: none;
}
/* -----------------------------------------------
--------------------------------------------------
MENU NAV
--------------------------------------------------
-------------------------------------------------- */
.navbar-default .navbar-brand {
    color: #566b7f;
}
.navbar-default .navbar-brand span {
    color: #384c5e;
}
.navbar-default .navbar-nav > li > a {
    color: #384c5e;
}
.navbar-nav .dropdown-alerts,
.navbar-nav .dropdown-messages,
.navbar-nav .dropdown-tasks {
    min-width: 0;
    width: 310px;
}
.navbar-nav .dropdown-perfil {
    min-width: 0;
    width: 200px;
}
.navbar-nav .dropdown-menu li a div {
    white-space: normal;
}
ul.dropdown-alerts .dropdown-header, 
ul.dropdown-perfil .dropdown-header,
ul.dropdown-messages .dropdown-header,
ul.dropdown-tasks .dropdown-header  {
    padding: 15px;
}
ul.dropdown-alerts .divider,
ul.dropdown-perfil .divider,
ul.dropdown-messages .divider,
ul.dropdown-tasks .divider {
    margin: 0px;
}
ul.dropdown-alerts > li > a,
ul.dropdown-perfil > li > a,
ul.dropdown-messages > li > a,
ul.dropdown-tasks > li > a {
    padding: 10px;
}
ul.dropdown-alerts > li > a p,
ul.dropdown-perfil > li > a p,
ul.dropdown-messages > li > a p,
ul.dropdown-tasks > li > a p {
    margin: 0px;
}
.badge.icon {
    background-color: #d9534f;
    border-radius: 5px;
    font-size: 9px;
    font-weight: normal;
    line-height: 13px;
    padding: 1px 4px;
    position: absolute;
    right: 5px;
    top: 5px;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #e7e7e7;
    color: #384c5e;
    transition: all 0.5s ease-out 0s;
}
.dropdown-tasks .progress {
    margin: 10px 0;
}
.dropdown-menu > li > a {
    font-weight: 300;
}
/* -----------------------------------------------
--------------------------------------------------
SIDE MENU
--------------------------------------------------
-------------------------------------------------- */
.side-menu {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #566b7f;
    border-right: 1px solid #e7e7e7;
}
.side-menu .navbar {
    border: none;
    background-color: #566b7f;
}
.side-menu .navbar-header {
    width: 100%;
    border-bottom: 1px solid #e7e7e7;
}
.side-menu .navbar-nav .active a {
    background-color: transparent;
    /*border-right: 5px solid #e7e7e7;*/
    border-right: 5px solid #778089;
    padding-left: 25px;
}
.side-menu .navbar-nav li.active {
    background-color: #e7e7e7;
}
.side-menu .navbar-nav li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #e7e7e7;
}
.side-menu .navbar-nav li a {
    padding: 15px;
    color: #fff;
}
.side-menu .collapse.in li a,
.side-menu .collapsing li a {
    padding-left: 25px;
}
.side-menu .navbar-nav li a .glyphicon {
    padding-right: 10px;
}
.side-menu #dropdown {
    border: 0;
    margin-bottom: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}
.side-menu #dropdown .caret {
    float: right;
    margin: 9px 5px 0;
}
.side-menu #dropdown .indicator {
    float: right;
}
.side-menu #dropdown > a {
    border-bottom: 1px solid #e7e7e7;
}
.side-menu #dropdown .panel-body {
    padding: 0;
    /*background-color: #f3f3f3;*/
    background-color: #9ea5ab;
}

.side-menu #dropdown .panel-body .navbar-nav {
    width: 100%;
}
.side-menu #dropdown .panel-body .navbar-nav li {
    border-bottom: 1px solid #e7e7e7;
}
.side-menu #dropdown .panel-body .navbar-nav li:last-child {
    border-bottom: none;
}
.side-menu #dropdown .panel-body .panel > a {
    margin-left: -20px;
    padding-left: 35px;
}
.side-menu #dropdown .panel-body .panel-body {
    margin-left: -15px;
}
.side-menu #dropdown .panel-body .panel-body li {
    padding-left: 30px;
}
.side-menu #dropdown .panel-body .panel-body li:last-child {
    border-bottom: 1px solid #e7e7e7;
}
.side-menu #search-trigger {
    background-color: #f3f3f3;
    border: 0;
    border-radius: 0;
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px 18px;
}
.side-menu .brand-name-wrapper {
    min-height: 50px;
}
.side-menu .brand-name-wrapper .navbar-brand {
    display: block;
}
.side-menu #search {
    position: relative;
    z-index: 1000;
}
.side-menu #search .panel-body {
    padding: 0;
}
.side-menu #search .panel-body .navbar-form {
    padding: 0;
    padding-right: 50px;
    width: 100%;
    margin: 0;
    position: relative;
    border-top: 1px solid #e7e7e7;
}
.side-menu #search .panel-body .navbar-form .form-group {
    width: 100%;
    position: relative;
}
.side-menu #search .panel-body .navbar-form input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: 50px;
}
.side-menu #search .panel-body .navbar-form .btn {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    border-radius: 0;
    background-color: #f3f3f3;
    padding: 15px 18px;
}
/* Main body section */
.side-body {
    margin-left: 310px;
}
/* small screen */
@media (max-width: 768px) {
    .side-menu {
        position: relative;
        width: 100%;
        height: 0;
        border-right: 0;
    }

    .side-menu .navbar {
        z-index: 999;
        position: relative;
        height: 0;
        min-height: 0;
        background-color:none !important;
        border-color: none !important;
    }
    .side-menu .brand-name-wrapper .navbar-brand {
        display: inline-block;
    }
    /* Slide in animation */
    @-moz-keyframes slidein {
        0% {
            left: -300px;
        }
        100% {
            left: 10px;
        }
    }
    @-webkit-keyframes slidein {
        0% {
            left: -300px;
        }
        100% {
            left: 10px;
        }
    }
    @keyframes slidein {
        0% {
            left: -300px;
        }
        100% {
            left: 10px;
        }
    }
    @-moz-keyframes slideout {
        0% {
            left: 0;
        }
        100% {
            left: -300px;
        }
    }
    @-webkit-keyframes slideout {
        0% {
            left: 0;
        }
        100% {
            left: -300px;
        }
    }
    @keyframes slideout {
        0% {
            left: 0;
        }
        100% {
            left: -300px;
        }
    }
    /* Slide side menu*/
    /* Add .absolute-wrapper.slide-in for scrollable menu -> see top comment */
    .side-menu-container > .navbar-nav.slide-in {
        -moz-animation: slidein 300ms forwards;
        -o-animation: slidein 300ms forwards;
        -webkit-animation: slidein 300ms forwards;
        animation: slidein 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    .side-menu-container > .navbar-nav {
        /* Add position:absolute for scrollable menu -> see top comment */
        position: fixed;
        left: -300px;
        width: 300px;
        top: 43px;
        height: 100%;
        border-right: 1px solid #e7e7e7;
        background-color: #566b7f;
        overflow: auto;
        -moz-animation: slideout 300ms forwards;
        -o-animation: slideout 300ms forwards;
        -webkit-animation: slideout 300ms forwards;
        animation: slideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    @-moz-keyframes bodyslidein {
        0% {
            left: 0;
        }
        100% {
            left: 300px;
        }
    }
    @-webkit-keyframes bodyslidein {
        0% {
            left: 0;
        }
        100% {
            left: 300px;
        }
    }
    @keyframes bodyslidein {
        0% {
            left: 0;
        }
        100% {
            left: 300px;
        }
    }
    @-moz-keyframes bodyslideout {
        0% {
            left: 300px;
        }
        100% {
            left: 0;
        }
    }
    @-webkit-keyframes bodyslideout {
        0% {
            left: 300px;
        }
        100% {
            left: 0;
        }
    }
    @keyframes bodyslideout {
        0% {
            left: 300px;
        }
        100% {
            left: 0;
        }
    }
    /* Slide side body*/
    .side-body {
        margin-left: 5px;
        margin-top: 70px;
        position: relative;
        -moz-animation: bodyslideout 300ms forwards;
        -o-animation: bodyslideout 300ms forwards;
        -webkit-animation: bodyslideout 300ms forwards;
        animation: bodyslideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    .body-slide-in {
        -moz-animation: bodyslidein 300ms forwards;
        -o-animation: bodyslidein 300ms forwards;
        -webkit-animation: bodyslidein 300ms forwards;
        animation: bodyslidein 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    /* Hamburger */
    .navbar-toggle-sidebar {
        border: 0;
        float: left;
        padding: 18px;
        margin: 0;
        border-radius: 0;
        background-color: #f3f3f3;
    }
    /* Search */
    #search .panel-body .navbar-form {
        border-bottom: 0;
    }
    #search .panel-body .navbar-form .form-group {
        margin: 0;
    }
    .side-menu .navbar-header {
        /* this is probably redundant */
        position: fixed;
        z-index: 3;
        background-color: #f8f8f8;
    }
    /* Dropdown tweek */
    #dropdown .panel-body .navbar-nav {
        margin: 0;
    }
    .sidebar {
        left: -30px;
    }
}
/* -----------------------------------------------
--------------------------------------------------
FORMULARIOS
--------------------------------------------------
-------------------------------------------------- */
.chosen-container-multi .chosen-choices {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    height: 30px !important;
}
.chosen-container-multi .chosen-choices li.search-choice {
    padding: 5px 20px 5px 10px;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    top: 6px;
}
label {
    font-weight: 300;
}
.chosen-container {
    font-size: 12px;
}
.chosen-container-single .chosen-single {
    border-radius: 4px;
}
.panel-heading {
    font-size: 18px;
    font-weight: 600;
}
.sub-header {
    font-size: 14px;
}
/* -----------------------------------------------
--------------------------------------------------
TABELA EDIT
--------------------------------------------------
-------------------------------------------------- */
.ui-sortable tr {
    cursor:pointer;
}    
.ui-sortable tr:hover {
    background-color: #e7e7e7;
}
/* -----------------------------------------------
--------------------------------------------------
LISTAGEM TABELAS
--------------------------------------------------
-------------------------------------------------- */
.dataTables_length .chosen-container {
    min-width: 75px;
}
.panel-table .panel-body {
    padding: 0px;
}
.panel-table .panel-body .table-bordered {
    border-style: none;
    margin: 0;
}
.panel-table .panel-body .table-bordered > thead > tr > th {
    border: 1px solid #ddd;
}
.panel-table .panel-body .table-bordered > thead > tr > th:first-of-type, 
.panel-table .panel-body .table-bordered > tbody > tr > td:first-of-type {
    border-left: 0 none;
}
.panel-table .panel-body .table-bordered > thead > tr > th:last-of-type, 
.panel-table .panel-body .table-bordered > tbody > tr > td:last-of-type {
    border-right: 0 none;
}
form.tableSearch .form-group {
    margin: 15px;
}
.dataTable thead > tr > th a {
    background-color: transparent;
    background-position: 97% center;
    background-repeat: no-repeat;
}
.sorting {
    background-image: url("../images/sort_both.png");
}
.showEntries {
    width: auto;
    display: inline-block;
}
.tablePagination .pagination {
    margin: 0px;
}
/* -----------------------------------------------
--------------------------------------------------
LISTAGEM
--------------------------------------------------
-------------------------------------------------- */
.content h1 {
    text-align: center;
}
.content .content-footer p {
    color: #6d6d6d;
    font-size: 12px;
    text-align: center;
}
.content .content-footer p a {
    color: inherit;
    font-weight: bold;
}

/*  -- Filtros Tabela----------------------------------------- */
.panel {
    border: 1px solid #ddd;
    background-color: #fcfcfc;
}
.panel .btn-group {
    margin: 15px 0 30px;
}
.panel .btn-group .btn {
    transition: background-color .3s ease;
}
.table-filter {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.table-filter tbody tr:hover {
    cursor: pointer;
    background-color: #eee;
}
.table-filter tbody tr td {
    padding: 10px;
    vertical-align: middle;
    border-top-color: #eee;
}
.table-filter tbody tr.selected td {
    background-color: #eee;
}
.ckbox {
    position: relative;
}
.ckbox input[type="checkbox"] {
    opacity: 0;
}
.ckbox label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ckbox label:before {
    content: '';
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    border-radius: 2px;
    border: 1px solid #bbb;
    background-color: #fff;
}
.ckbox input[type="checkbox"]:checked + label:before {
    border-color: #2BBCDE;
    background-color: #2BBCDE;
}
.ckbox input[type="checkbox"]:checked + label:after {
    top: 3px;
    left: 3.5px;
    content: '\e013';
    color: #fff;
    font-size: 11px;
    font-family: 'Glyphicons Halflings';
    position: absolute;
}
.table-filter .media-photo {
    width: 35px;
}
.table-filter .media-body {
    display: block;
    /* Had to use this style to force the div to expand (wasn't necessary with my bootstrap version 3.3.6) */
}
.table-filter .media-meta {
    font-size: 11px;
    color: #999;
}
.table-filter .media .title {
    color: #2BBCDE;
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    margin: 0;
}
.table-filter .media .title span {
    font-size: .8em;
    margin-right: 20px;
}
.table-filter .media .title span.pagado {
    color: #5cb85c;
}
.table-filter .media .title span.pendiente {
    color: #f0ad4e;
}
.table-filter .media .title span.cancelado {
    color: #d9534f;
}
.table-filter .media .summary {
    font-size: 14px;
}
