body {
    color: #666;
    background: #fbfbf0;
}

/*hr {
  color: #6eb33f;
  background-color: #6eb33f;
}*/

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/*Login*/

.panel-default > .panel-heading {
    color: #fff;
    background: #6EB33F;
    background: -moz-linear-gradient(left, #20c400 0%, #b5ed3d 100%);
    background: -webkit-linear-gradient(left, #6EB33F 0%,#478E17 100%);
    background: linear-gradient(to right, #6EB33F 0%,rgb(57, 109, 22) 100%);
    border-color: #ddd;
}

.panel-heading2 {
    color: #fff;
    background-color: #6EB33F;
    border-color: #ddd;
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

/*Header*/

#logo {
    background: url(../img/logo_blanco.png) no-repeat scroll 20px 0;
    background-color: #6eb33f;
}

#logo-chico {
    background: url(../img/logo_chico_blanco.png) no-repeat scroll 0 -2px;
    background-color: #6eb33f;
}

#top-panel {
    background: #6eb33f;
}

.panel-menu i.pull-right {
    color: #fff;
}

#breadcrumb {
    background: #204401;
    -webkit-box-shadow: -1px -2px 35px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px -2px 35px 2px rgba(0,0,0,0.75);
    box-shadow: -1px -2px 35px 2px rgba(0,0,0,0.75);
}

a.show-sidebar {
    color: #9B9B9B;
}

    a.show-sidebar:hover {
        color: #d2d2d4;
    }

.nav.main-menu > li > a:hover, .nav.main-menu > li > a:focus, .nav.main-menu > li.active > a, .nav.main-menu .open > a, .nav.main-menu .open > a:hover, .nav.main-menu .open > a:focus, .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > li.active > a,
.nav.msg-menu > li > a:hover, .nav.msg-menu > li > a:focus, .nav.msg-menu > li.active > a, .nav.msg-menu .open > a, .nav.msg-menu .open > a:hover, .nav.msg-menu .open > a:focus {
    color: #fff;
}

.main-menu > .dropdown {
    background-color: #639840;
}

.nav.main-menu a.active, .nav.msg-menu a.active {
    background-color: #5A788C;
}

    .nav.main-menu a.active:hover, .nav.msg-menu a.active:hover {
        background-color: #6EB33F;
    }

.nav.main-menu a.active-parent, .nav.msg-menu a.active-parent {
    background-color: #006E2E;
}

    .nav.main-menu a.active-parent:hover, .nav.msg-menu a.active-parent:hover {
        background-color: #006E2E;
    }

/*Sub menu*/
.main-menu .dropdown-menu > li > a {
    background-color: #D4E2CA;
    color: #333;
}

    .main-menu .dropdown-menu > li > a.active {
        background-color: #6EB33F;
        color: #fff;
    }

    /*Sub menu hover*/
    .main-menu .dropdown-menu > li > a:hover {
        background-color: #6EB33F;
        color: #fff;
    }

.nav.main-menu > li > a, .nav.msg-menu > li > a {
    color: #fff;
}


.main-menu .dropdown-menu > li > a {
    border-bottom: 1px solid #aaa;
}

.breadcrumb > li > a {
    color: #f8f8f8;
}

    .breadcrumb > li > a:hover, .breadcrumb > li:last-child > a {
        color: #fff;
    }

.navbar {
    border-bottom: 1px solid #242424;
}

#sidebar-left {
    background: #EDEDED;
}

#content {
    background: #FFF;
    /*background: #FBFBF0;*/
}


/* GRILLAS */

.table.dataTable > thead > tr > th {
    color: #fff;
    background-color: #6EB33F;
}

.table.dataTable > thead > tr > th input {
    color: #000;
    border-radius: 2px;
    border: 0px;
}

table.dataTable thead th {
    position: relative;
    background-image: none !important;
}

    table.dataTable thead th.sorting:after,
    table.dataTable thead th.sorting_asc:after,
    table.dataTable thead th.sorting_desc:after {
        position: absolute;
        top: 12px;
        right: 8px;
        display: block;
        font-family: FontAwesome;
        opacity: 1;
    }

table.dataTable thead .sorting:after {
    content: "\f0dc";
    color: #fff;
    opacity: 0.5 !important;
    /* sort */
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    /* sort-by-attributes */
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    /* sort-by-attributes-alt */
}

table {
    background-color: #fff;
}

table.dataTable tbody input[type=text] {
    background-color: #fff;
    border-radius: 0px;
    border: solid 1px rgb(169, 169, 169);
    height: 22px !important;
    width: 100%;
}

table.dataTable tbody input:disabled {
    background-color: transparent;
    border: none;
}

table.dataTable tbody select {
    background-color: #fff;
    border-radius: 0px;
    border-color: solid 1px rgb(169, 169, 169);
    height: 22px !important;
    width: 100%;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: #D4E2CA;
}

.tbl-icon {
    margin-right: 10px;
}

.btn-default {
    color: #fff;
    background-color: #006e2e;
    border-color: #D8D8D8;
}

    .btn-default:hover {
        background-color: #6EB33F;
        color: #fff;
    }

.btnNew {
    background-color: #006e2e;
    color: #fff;
    border-color: #D8D8D8;
}

    .btnNew:hover {
        background-color: #6EB33F;
        color: #fff;
    }

.dtt-B {
    padding-left: 0px;
    margin-bottom: 10px;
}

.dtt-f {
    padding-right: 0px;
    line-height: 37px;
}

.dtt-l {
    padding-left: 0px;
}

.dtt-p {
    padding-right: 0px;
}

.dtt-t {
    padding-left: 0px;
    line-height: 37px;
    font-size: 16px;
    font-weight: bold;
}

.dataTables_wrapper .subtotal {
    padding-top: 8px;
    white-space: nowrap;
    text-align: right;
    font-weight: bold;
    font-size: 16px;
}

.dropdown-menu > li > a:hover {
    background-color: #6EB33F;
    color: #fff;
}

.table-first-column {
    background-color: #9B9B9B;
    color: #fff;
    font-weight: bold;
}
 
table.dataTable.compact tbody td {
    padding: 2px;
}

table.dataTable.compact thead th {
    padding: 5px
}

table.dataTable.compact thead th::after {
    top: 6px;
}

    /* Modal */
        .modal-backdrop, .modal-backdrop.fade.in {
        opacity: 0.7;
        filter: alpha(opacity=70);
        background: #333;
    }


/* Callouts */
.bs-callout {
    padding: 10px;
    margin-top: 30px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h6 {
        margin-top: 0;
        margin-bottom: 0;
    }

.bs-callout-info {
    border-left-color: #1b809e;
}

    .bs-callout-info h6 {
        color: #1b809e;
    }

.bs-callout-warning {
    border-left-color: #aa6708;
}

    .bs-callout-warning h6 {
        color: #aa6708;
    }


.selectorHeader {
    background-color: #6EB33F;
    border: 1px solid #ddd;
    padding: 10px;
    color: #fff;
    margin-bottom: 15px;
}

    .selectorHeader button {
        padding-top: 0px;
        padding-bottom: 0px;
    }
/* ===== Thumbnail ===== */

.thumbnail {
    background: none;
    position: relative;
    border: 0;
    padding: 0;
    margin-bottom: 0;
    text-align: center;
}

    .thumbnail .caption {
        padding: 0;
        text-align: left;
    }

        .thumbnail .caption.text-center {
            text-align: center;
        }

        .thumbnail .caption h6 small {
            display: block;
            margin-top: 4px;
        }


.thumbnail-boxed .caption {
    padding: 12px 12px;
}

.caption .caption-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.thumbnail-boxed {
    border: 1px solid #ddd;
    padding: 2px;
    border-radius: 2px;
    background-color: #fff;
}

    .thumbnail-boxed .item-info {
        margin-bottom: 12px;
    }

.thumbnail img,
.thumbnail a img {
    margin-right: auto;
    margin-left: auto;
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    z-index: 2;
    border-radius: 2px;
}

.thumb {
    position: relative;
    display: inline-block;
}

    .thumb:hover .thumb-options {
        opacity: 1;
    }

.thumbnail iframe {
    width: 100%;
    max-width: 100%;
    height: 250px;
    border: 0;
}


/* Thumb options on hover */

.thumb-options {
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(50,67,77,0.8);
    height: 100%;
    width: 100%;
    opacity: 0;
    text-align: center;
}

    .thumb-options i {
        padding: 0px;
    }

    .thumb-options span {
        display: block;
        top: 50%;
        position: absolute;
        margin-top: -17px;
        width: 100%;
    }

        .thumb-options span a + a {
            margin-left: 5px;
        }



legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: inherit;
    color: #6EB33F;
    border: 0;
    border-bottom: 1px solid #6EB33F;
    font-family: "Arial"
}

label {
    /*padding-right: 0px !important;*/
}

.ui-datepicker {
    z-index: 115100 !important;
}

    .ui-datepicker.dropdown-menu {
        z-index: 115100 !important;
    }

.clsDatePicker {
    z-index: 1000000;
}

#groupEstado {
    position: relative;
    top: -40px;
    float: right;
    width: 20%;
}

.dropdown-toggle > i {
    text-align: left !important;
}

.ico-estetoscopio {
    background: url(../img/estetoscopio.png) no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
}

.ico-maletin {
    background: url(../img/maletin.png) no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
}

.ico-paciente {
    background: url(../img/afiliado.png) no-repeat;
    background-size: contain;
    width: 16px;
    height: 16px;
}

.txt-default {
    color: #D8D8D8;
}

/* Buttons */

.progress-bar-primary .ui-widget-header, .bg-primary, .btn-primary, .btn-primary:focus, .btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active,
.table > thead > tr > td.primary, .table > tbody > tr > td.primary, .table > tfoot > tr > td.primary, .table > thead > tr > th.primary, .table > tbody > tr > th.primary, .table > tfoot > tr > th.primary, .table > thead > tr.primary > td, .table > tbody > tr.primary > td, .table > tfoot > tr.primary > td, .table > thead > tr.primary > th, .table > tbody > tr.primary > th, .table > tfoot > tr.primary > th {
    background-color: #006e2e;
    color: #f8f8f8;
    border-color: #006e2e;
}

.btn-primary:hover, .btn-primary:active {
    border-color: #006e2e !important;
    background-color: #6EB33F !important;
    color: #fff !important;
}

/* Pagination */

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #fff;
    cursor: not-allowed;
    background-color: #6eb33f;
    border-color: #006e2e;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #006e2e;
    border-color: #006e2e;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #8A8A8A;
    background-color: #eee;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #006e2e;
    background-color: #eee;
    border-color: #006e2e;
}

.pagination > li > a, .pagination > li > span {
    color: #fff;
    text-decoration: none;
    background-color: #6eb33f;
    border: 1px solid #006e2e;
}



.dropdown-menu > li > a:focus, .dropdown-menu > li.active > a {
    color: #000;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    color: #000;
    text-decoration: none;
    background-color: #D4E2CA;
}

thead select {
    color: grey;
}

#tblPolizas a {
    color: #204897;
    text-decoration: none;
    font-weight: 600;
}

    #tblPolizas a:hover {
        color: #f0810e;
        text-decoration: none;
        font-weight: 600;
    }

.dataTable td {
    vertical-align: middle !important;
}

.row-yellow {
    background-color: #feffa9 !important;
}

.row-red {
    background-color: #f3c5c5 !important;
}

.row-green {
    background-color: #d9f3c5 !important;
}

.reference-yellow {
    border-color: #d9d11e;
    background-color: #feffa9;
}

.reference-red {
    border-color: #b67f77;
    background-color: #f3c5c5;
    margin-left: 30px;
}


/* GRIDSTACK.JS CUSTOM */

.grid-stack-item-content {
    background: white;
    color: #2c3e50;
    font-family: 'Indie Flower', cursive;
    text-align: center;
    font-size: 20px;
}

    .grid-stack-item-content .fa {
        font-size: 64px;
        display: block;
        margin: 20px 0 10px;
    }

header a, header a:hover {
    color: #fff;
}

.dashboardSection {
    background: #FBFBF0;
    color: #fff;
}

    .dashboardSection hr.star-light::after {
        background-color: #ccc;
    }

.grid-stack-item-content {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 15px;
}

.enfasis {
    color: #555;
}

.modal-header {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #fff;
    background: #6EB33F;
    background: -moz-linear-gradient(left, #20c400 0%, #b5ed3d 100%);
    background: -webkit-linear-gradient(left, #6EB33F 0%,#478E17 100%);
    background: linear-gradient(to right, #6EB33F 0%,rgb(57, 109, 22) 100%);
    border-color: #ddd;
}

.modal-header small {
    color: #c5c5c5;
}

#resumenTitulo {
    color: #fff;
    background-color: #006E2E;
}

.nav-tabs > li > a {
    color: #6db23e;
}

.tituloDetalle {
    color: #6EB33F;
    border-bottom: 1px solid #ccc;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Colores filas grillas */
.row-exceptuada, .row-exceptuada td {
    background-color: #FFCE9D !important;
}

.row-vencida, .row-vencida td {
    background-color: #F7FBAA !important;
}

.integrarManualmente {
    margin-right: 20px;
}
