body {
    background-color: lightgray;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.wrapper {
    overflow-x: hidden;
    overflow-y: auto;
}

/*Styles Gritter*/
.gritter-light .gritter-title,.gritter-title{
    text-shadow:none
}

.gritter-item-wrapper{
    background-image:none!important;
    box-shadow:0 2px 10px rgba(50,50,50,.5);
    background:rgba(50,50,50,.92)
}

.gritter-item-wrapper.gritter-info{
    background:rgba(49,81,133,.92)
}

.gritter-item-wrapper.gritter-error{
    background:rgba(153,40,18,.92)
}

.gritter-item-wrapper.gritter-success{
    background:rgba(89,131,75,.92)
}

.gritter-item-wrapper.gritter-warning{
    background:rgba(190,112,31,.92)
}

.gritter-item-wrapper.gritter-light{
    background:rgba(245,245,245,.95);
    border:1px solid #BBB
}

.gritter-item-wrapper.gritter-light.gritter-info{
    background:rgba(232,242,255,.95)
}

.gritter-item-wrapper.gritter-light.gritter-info .gritter-item{
    color:#4A577D
}

.gritter-item-wrapper.gritter-light.gritter-error{
    background:rgba(255,235,235,.95)
}

.gritter-item-wrapper.gritter-light.gritter-error .gritter-item{
    color:#894A38
}

.gritter-item-wrapper.gritter-light.gritter-success{
    background:rgba(239,250,227,.95)
}

.gritter-item-wrapper.gritter-light.gritter-success .gritter-item{
    color:#416131
}

.gritter-item-wrapper.gritter-light.gritter-warning{
    background:rgba(252,248,227,.95)
}

.gritter-bottom,.gritter-close,.gritter-item,.gritter-top{
    background-image:none
}

.gritter-item-wrapper.gritter-light.gritter-warning .gritter-item{color:#946446}
.gritter-item p{line-height:1.8}
.gritter-close{
    left:auto !important;
    right:4px;
    width:18px;
    height:18px;
    line-height:17px;
    text-align:center;
    border:2px solid transparent;
    border-radius:16px;
    color:#E17B67;
    font-size:0;
    text-indent:0
}

.gritter-close:before{
    font-family:FontAwesome;
    font-size:16px;
    content:"\f00d"
}

.gritter-info .gritter-close{color:orange}
.gritter-error .gritter-close,.gritter-success .gritter-close,.gritter-warning .gritter-close{color:#FFEA07}
.gritter-close:hover{
    color:#FFF!important;
    text-decoration:none
}
.gritter-light .gritter-bottom,.gritter-light .gritter-close,.gritter-light .gritter-item,.gritter-light .gritter-top{
    background-image:none;
    color:#444
}

.gritter-light .gritter-close:hover{color:#8A3104!important}
.gritter-center{
    position:fixed;
    left:33%;
    right:33%;
    top:33%
}
.wysiwyg-style1 .btn-group,.wysiwyg-style2 .btn-group,.wysiwyg-toolbar{position:relative}
@media only screen and (max-width:767px){
    .gritter-center{
        left:16%;
        right:16%;
        top:30%
    }
}
@media only screen and (max-width:480px){
    .gritter-center{
        left:30px;
        right:30px
    }
}
@media only screen and (max-width:320px){
    .gritter-center{
        left:10px;
        right:10px
    }
}

.center{
    text-align:center!important
}

.table > thead > tr {
    color: #707070;
    font-weight: 400;
    background: repeat-x #F2F2F2;
    background-image: none;
    background-image: -webkit-linear-gradient(top,#F8F8F8 0,#ECECEC 100%);
    background-image: -o-linear-gradient(top,#F8F8F8 0,#ECECEC 100%);
    background-image: linear-gradient(to bottom,#F8F8F8 0,#ECECEC 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8', endColorstr='#ffececec', GradientType=0);
}

.table > thead > tr > th {
    border-color: #ddd;
    border-top-color: rgb(221, 221, 221);
    font-weight: 700;
    text-align: center;
    padding: 5px;
}

/* Colores */
.dark{color:#333!important}
.white{color:#FFF!important}
.red{color:#DD5A43!important}
.red2{color:#E08374!important}
.light-red{color:#F77!important}
.blue{color:#478FCA!important}
.light-blue{color:#93CBF9!important}
.green{color:#69AA46!important}
.light-green{color:#B0D877!important}
.orange{color:#FF892A!important}
.orange2{color:#FEB902!important}
.light-orange{color:#FCAC6F!important}
.purple{color:#A069C3!important}
.pink{color:#C6699F!important}
.pink2{color:#D6487E!important}
.brown{color:brown!important}
.grey{color:#777!important}
.light-grey{color:#BBB!important}

.bg-dark{background-color:#333!important}
.bg-white{background-color:#FFF!important}
.bg-red{background-color:#DD5A43!important}
.bg-red2{background-color:#E08374!important}
.bg-light-red{background-color:#F77!important}
.bg-blue{background-color:#478FCA!important}
.bg-light-blue{background-color:#93CBF9!important}
.bg-dark-green{background-color:#2E8965!important}
.bg-green{background-color:#69AA46!important}
.bg-light-green{background-color:#B0D877!important}
.bg-orange{background-color:#FF892A!important}
.bg-orange2{background-color:#FEB902!important}
.bg-light-orange{background-color:#FCAC6F!important}
.bg-purple{background-color:#A069C3!important}
.bg-pink{background-color:#C6699F!important}
.bg-pink2{background-color:#D6487E!important}
.bg-brown{background-color:brown!important}
.bg-grey{background-color:#777!important}
.bg-light-grey{background-color:#BBB!important}
/* ######################### */

.page-content{ z-index: 10; background-color: transparent !important; }
.dataTable, .ui-tabs-panel { background: #ffffff !important; }
.bordered-left { border-left: 1px solid #E3E3E3; }
.bordered-right { border-right: 1px solid #E3E3E3; }
.sidebar .sidebar-shortcuts { min-height: 50px !important; }
.sidebar .sidebar-shortcuts-large { line-height: 45px !important; }
textarea.noresize { resize: none; }
.nav-list > li > a {height: auto !important;}
.nav-list > li > a:before {height: 50px !important;}
.ui-datepicker{z-index: 10000 !important;}
.box-title { font-size: 14px !important; }

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 300px)
and (max-device-width : 640px) {
    .bordered-left { border-left: none; }
    .bordered-right { border-right: none; }
    div.dataTables_wrapper div.dataTables_info { white-space: normal !important; }
    .modal-dialog { width: auto !important; }
    .nav-search-input { width: 120px !important;  }
    .ui-tabs-nav > li.ui-state-default{ width: 100%}
    .ui-tabs-nav > li > a.ui-tabs-anchor{ width: 100%}
    .box-title { font-size: 12px !important; }
    /*.widget-header > .widget-title {*/
        /*max-width: 210px;*/
        /*overflow: hidden;*/
        /*white-space: nowrap;*/
        /*text-overflow: ellipsis;*/
        /*display: inline-block !important;*/
    /*}*/
}


/* Skins */
.skin-blue div.table-header,
.skin-blue-light div.table-header {
    background-color: #3c8dbc;
}

/*.skin-green div.table-header,*/
/*.skin-green-light div.table-header {*/
/*    background-color: #00a65a;*/
/*}*/

.skin-black div.table-header,
.skin-black-light div.table-header {
    background-color: #222;
}

.skin-red div.table-header,
.skin-red-light div.table-header {
    background-color: #dd4b39;
}

.skin-purple div.table-header,
.skin-purple-light div.table-header {
    background-color: #605ca8;
}

.skin-yellow div.table-header,
.skin-yellow-light div.table-header  {
    background-color: #f39c12;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span.menu-text {
    border: 1px solid #CCC;
    background-color: #F5F5F5;
    -webkit-box-shadow: 2px 1px 2px 0 rgba(0,0,0,.1);
    box-shadow: 2px 1px 2px 0 rgba(0,0,0,.1);
}
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a .arrow {
    display: none !important;
}
.sidebar-mini.sidebar-collapse .sidebar-menu > li .treeview-menu {
    background-color: #FFF;
    border: 1px solid #CCC;
    border-top-color: #e6e6e6;
    -webkit-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, .1);
}

.sidebar-menu > li.active::after {
    display: block;
    content: "";
    position: absolute;
    right: -2px;
    top: -1px;
    bottom: 0;
    z-index: 1;
    border: 2px solid transparent;
    border-width: 0 2px 0 0;
}

.sidebar-menu li.treeview > a::after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    border: 8px solid transparent;
    border-width: 14px 10px;
}

.skin-blue .sidebar-menu > li.active > a::after,
.skin-blue-light .sidebar-menu > li.active > a::after  {
    border-right-color: #2B7DBC;
}

/*.skin-green .sidebar-menu > li.active > a::after,*/
/*.skin-green-light .sidebar-menu > li.active > a::after  {*/
/*    border-right-color: #00a65a;*/
/*}*/

.skin-red .sidebar-menu > li.active > a::after,
.skin-red-light .sidebar-menu > li.active > a::after  {
    border-right-color: #dd4b39;
}

/*.skin-black .sidebar-menu > li.active > a::after,*/
/*.skin-black-light .sidebar-menu > li.active > a::after  {*/
/*    border-right-color: #ffffff;*/
/*}*/

/*.skin-blue .sidebar-menu > li.active::after,*/
/*.skin-blue-light .sidebar-menu > li.active::after {*/
/*    border-right-color: #2B7DBC;*/
/*}*/

/*.skin-green .sidebar-menu > li.active::after,*/
/*.skin-green-light .sidebar-menu > li.active::after {*/
/*    border-right-color: #00a65a;*/
/*}*/

/*.skin-red .sidebar-menu > li.active::after,*/
/*.skin-red-light .sidebar-menu > li.active::after {*/
/*    border-right-color: #dd4b39;*/
/*}*/

/*.skin-black .sidebar-menu > li.active::after,*/
/*.skin-black-light .sidebar-menu > li.active::after {*/
/*    border-right-color: #ffffff;*/
/*}*/

/*!* Color de letra y border left hover SKINS *!*/
/*.skin-blue .sidebar-menu > li:hover > a,*/
/*.skin-blue-light .sidebar-menu > li:hover > a {*/
/*    border-left-color: #3c8dbc;*/
/*}*/

.skin-blue .sidebar-menu > li.active > a,
.skin-blue-light .sidebar-menu > li.active > a  {
    color: #3c8dbc;
}

/*.skin-green .sidebar-menu > li:hover > a,*/
/*.skin-green-light .sidebar-menu > li:hover > a {*/
/*    border-left-color: #00a65a;*/
/*}*/

/*.skin-green .sidebar-menu > li.active > a,*/
/*.skin-green-light .sidebar-menu > li.active > a  {*/
/*    color: #00a65a;*/
/*}*/

.skin-red .sidebar-menu > li:hover > a,
.skin-red-light .sidebar-menu > li:hover > a {
    border-left-color: #dd4b39;
}

.skin-red .sidebar-menu > li.active > a,
.skin-red-light .sidebar-menu > li.active > a  {
    color: #dd4b39;
}

.skin-black .sidebar-menu > li.active > a,
.skin-black-light .sidebar-menu > li.active > a  {
    color: #ffffff;
}

.no-border-top {
    border-top: none !important;
}

div.table-header {
    min-height: 2px;
}

/* Styles Tree */
ul.fancytree-container{
    border: none;
    overflow: inherit;
    font-size: 12px;
}

.nav-search .nav-search-input {
    border: 1px solid #6FB3E0;
    width: 152px;
    height: 28px !important;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 4px !important;
    font-size: 13px;
    line-height: 1.3;
    color: #666 !important;
    z-index: 11;
    -webkit-transition: width ease .15s;
    -o-transition: width ease .15s;
    transition: width ease .15s;
}

.nav-search .nav-search-icon {
    color: #6FB3E0 !important;
    font-size: 14px !important;
    background-color: transparent;
}

.input-icon > input {
    padding-left: 27px;
    padding-right: 6px;
}

.input-icon > i {
    padding: 0 3px;
    z-index: 2;
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 4px;
    line-height: 30px;
    display: inline-block;
    color: #909090;
    font-size: 16px;
}

.box-header > .box-tools {
    top: 3px !important;
}

.ace-icon {
    min-width: 15px;
}

.nav > li > a {
    padding: 15px !important;
}

.nav > li > a {
    position: relative;
    display: block;
    /*padding: 10px 15px;*/
}

section.content-header > h1 {
    /*border-bottom: 1px dotted #AFADAD;*/
    font-size: 22px;
}

.accordion-style1.panel-group .panel {
    border-radius: 0;
    border-color: #CDD8E3;
    background-color: #FFF;
    box-shadow: none;
}

.panel {
    border: 1px solid transparent;
}

.accordion-style1.panel-group .panel-heading {
    padding: 0;
}
.panel-default > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-title {
    margin-top: 0;
    font-size: 16px;
    margin-bottom: 0;
    color: inherit;
}

.accordion-style1.panel-group .panel-heading .accordion-toggle.collapsed {
    color: #478FCA;
    font-weight: 400;
    background-color: #F9F9F9;
}

.accordion-style1.panel-group .panel-heading .accordion-toggle {
    color: #4C8FBD;
    background-color: #EEF4F9;
    position: relative;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    padding: 10px;
    display: block;
}

.accordion-style1.panel-group .panel + .panel {
    margin-top: 2px;
}

.accordion-style1.panel-group .panel-heading .accordion-toggle:active,
.accordion-style1.panel-group .panel-heading .accordion-toggle:focus {
    outline: 0;
    text-decoration: none;
}

.accordion-style1.panel-group .panel-heading .accordion-toggle:hover{
    color:#6EA6CC;
    background-color:#F1F8FD;
    text-decoration:none
}

.accordion-style1.panel-group .panel-heading .accordion-toggle.collapsed{
    color:#478FCA;
    font-weight:400;
    background-color:#F9F9F9
}

.accordion-style1.panel-group .collapse.in > .panel-body, .accordion-style1.panel-group .panel-body {
    border-top: 1px solid #CDD8E3;
    border-top-color: rgb(205, 216, 227);
}
.accordion-style1.panel-group .panel-heading + .panel-collapse .panel-body {
    border-top-color: #CDD8E3 !important;
    padding: 15px;
}

a:active,
a:hover,
a:focus{
    text-decoration:none;
}

/*Chosen Select*/
.chosen-single div b {
    background: 0 0 !important;
}

.chosen-single div b::before {
    content: "\f0d7";
    display: inline-block;
    color: #888;
    font-family: FontAwesome;
    position: relative;
    top: -1px;
    left: 1px;
}

.chosen-container-active.chosen-with-drop .chosen-single div b::before {
    content: "\f0d8";
}

.chosen-container, .chosen-container + .help-inline, [class*="chosen-container"] {
    vertical-align: middle !important;
}

.chosen-container > .chosen-single, [class*="chosen-container"] > .chosen-single {
    line-height: 28px !important;
    height: 32px !important;
    box-shadow: none !important;
    background: #FAFAFA !important;
}

.chosen-container-single .chosen-single {
    border-radius: 0 !important;
}

.payment-form .icon{
    top: 6px !important;
}

.steps {
    list-style: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-left: 0px;
    position: relative;
}
.steps > li {
    display: table-cell;
    text-align: center;
    width: 1%;
}
.steps > li.active .step, .steps > li.active::before, .steps > li.complete .step, .steps > li.complete::before {
    border-color: #5293C4;
}
.steps > li:first-child::before {
    max-width: 51%;
    left: 50%;
}
.steps > li:last-child::before {
    max-width: 50%;
    width: 50%;
}
.steps > li .step {
    border: 5px solid #CED1D6;
    color: #546474;
    font-size: 15px;
    border-radius: 100%;
    position: relative;
    z-index: 2;
    display: inline-block;
    width: 40px;
    height: 40px;
}
.steps > li::before {
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    font-size: 0;
    overflow: hidden;
    border-top: 4px solid #CED1D6;
    position: relative;
    top: 21px;
    z-index: 1;
}
.steps > li .step, .steps > li.complete .step::before {
    line-height: 30px;
    background-color: #FFF;
    text-align: center;
}
.steps > li.active .title, .steps > li.complete .title {
    color: #2B3D53;
}
.steps > li .title {
    display: block;
    margin-top: 4px;
    max-width: 100%;
    color: #949EA7;
    font-size: 14px;
    z-index: 104;
    text-align: center;
    table-layout: fixed;
    word-wrap: break-word;
}
.step-content, .tree {
    position: relative;
}
.step-content .step-pane.active {
    display: block;
}
.step-content .step-pane {
    display: none;
    min-height: 200px;
    padding: 4px 8px 12px;
}
.steps > li.complete .step::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 100%;
    content: "\f00c";
    z-index: 3;
    font-family: FontAwesome;
    font-size: 17px;
    color: #87BA21;
}

.page-header {
    border-bottom: 1px solid #eee;
}

input.upper, textarea.upper {
    text-transform: uppercase;
}

input.lower, textarea.lower  {
    text-transform: lowercase;
}

.content-register {
    padding: 100px 60px 0 !important;
}

.body-register {
    padding: 20px 50px;
}

.with-custom {
    max-width: inherit !important;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 300px)
and (max-device-width : 640px) {
    ul.steps > li > span.title {
        display: none;
    }
    div.step-pane > h5 {
        display: block !important;
    }
    .hidden-xs-down{
        display: none;
    }
    .content-register {
        padding: 100px 10px 0 !important;
    }
    .body-register {
        padding: 10px !important;
    }
}

.box-header.with-border{
    border-bottom: 1px solid #e1d5d5 !important;
}

.box.box-primary {
    border: 1px solid #e1d5d5;
    border-top: 3px solid #d2d6de;
    border-top-color: #3c8dbc;
}

span.reloj {
    color: #FFFFFF;
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 20px;
}

.width-35 {
    width: 35px;
}

.margin-5 {
    margin-right: 5px;
}

.input-icon {
    display: block;
    position: relative;
}

table.table-autocomplete > thead > tr > th {
    text-align: center;
    background: #687980;
    color: #ffffff;
    vertical-align: middle !important;
}
table.table-autocomplete th,
table.table-autocomplete td {
    padding: 5px;
}
.ui-front {
    z-index: 2000 !important;
    height: 250px;
    overflow: auto;
}

.profile-picture {
    /*border: 1px solid #CCC;*/
    width: 100%;
    height: 100%;
    min-height: 230px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    padding: 4px;
    max-width: 100%;
    /*-webkit-box-sizing: border-box;*/
    /*-moz-box-sizing: border-box;*/
    /*box-sizing: border-box;*/
    /*box-shadow: 1px 1px 1px rgba(0,0,0,.15);*/
}

.div-dataTable {
    overflow: auto;
}

.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

td.column_descripcion > p:first-child {
    padding-right: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .btn-outline-secondary {
        color: #6c757d !important;
        border-color: #6c757d;
    }
    .input-group-append button span {
        display: none;
    }
    .pagination > li {
        display: inline;
        float: left;
    }
    .pagination {
        display: inline-block;
    }
    .texto-del-boton {
        display: none;
    }
    th.column_descripcion {
        width: 280px;
    }
    .content-header > h1 {
        margin: 0;
        font-size: 16px !important;
    }
}

.dd {
    margin: 0;
    max-width: 600px;
    line-height: 20px;
}
.dd, .dd-item > button, .dd-list {
    position: relative;
}

.dd-list {
    margin: 0;
}
.dd, .dd-list {
    display: block;
    padding: 0;
    padding-left: 0px;
    list-style: none;
}
.dd-empty, .dd-item, .dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    line-height: 20px;
}
.dd2-item.dd-item > button {
    margin-left: 34px;
}
.dd-item > button {
    display: block;
    z-index: 1;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 1px 5px 5px;
    margin-left: 5px;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: 0 0;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: 700;
    top: 4px;
    left: 1px;
    color: #707070;
}
.dd-item > button[data-action="collapse"]::before {
    content: '\f068';
}
.dd-item > button::before {
    font-family: FontAwesome;
    content: '\f067';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
    font-weight: 400;
    font-size: 14px;
}
.dd-dragel > li > .dd2-handle, .dd2-handle {
    left: 0;
    top: 0;
    width: 36px;
    margin: 0;
    text-align: center;
    padding: 0 !important;
    line-height: 38px;
    height: 38px;
    background: #EBEDF2;
    border: 1px solid #DEE4EA;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    z-index: 1;
}
.dd2-handle + .dd2-content, .dd2-handle + .dd2-content[class*="btn-"] {
    padding-left: 44px;
}
.dd-handle, .dd2-content {
    display: block;
    min-height: 38px;
    /*margin: 5px 0;*/
    padding: 8px 2px;
    padding-left: 12px;
    background: #F8FAFF;
    border: 1px solid #DAE2EA;
    color: #7C9EB2;
    text-decoration: none;
    font-weight: 700;
    box-sizing: border-box;
}
li.item-padre {
    margin-top: 3px;
    box-shadow: 1px 1px 6px #888;
}

#processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
    z-index: 1200;
}

/* Ícono más grande */
.processing-icon {
    font-size: 4rem !important; /* antes era 3rem */
}

/* Texto más grande */
.processing-text {
    font-size: 1.5rem; /* antes era ~1rem */
}

/* Animación de puntos */
.processing-text span {
    animation: blink 1.5s infinite;
}
.processing-text span:nth-child(1) { animation-delay: 0s; }
.processing-text span:nth-child(2) { animation-delay: 0.3s; }
.processing-text span:nth-child(3) { animation-delay: 0.6s; }
@keyframes blink {
    0%, 20%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Styles Datatables */
table.dataTable > thead > tr > th {
    text-align: center !important;
    /*background: #687980;*/
    /*color: #ffffff;*/
    vertical-align: middle !important;
    padding: 8px 5px !important;
}
table.dataTable td {
    padding: 5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    /*max-width: 330px;*/
}

table.dataTable td, th {
    vertical-align: middle !important;
    border: 1px solid #ddd !important;
}

table.dataTable{
    table-layout: fixed;
}
/*table.dataTable > thead > tr > th:last-child {*/
/*    border-right-color: #ddd !important;*/
/*}*/
/*table.dataTable > thead > tr > th {*/
/*    text-align: center !important;*/
/*    background: #687980;*/
/*    color: #ffffff;*/
/*    vertical-align: middle !important;*/
/*    padding: 8px 5px !important;*/
/*}*/
/*table.dataTable td, th {*/
/*    vertical-align: middle !important;*/
/*    border: 1px solid #ddd !important;*/
/*}*/
/*table.dataTable td {*/
/*    padding: 5px !important;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    font-size: 12px;*/
/*    !*max-width: 330px;*!*/
/*}*/
/*.dataTables_wrapper .row:first-child {*/
/*    padding-top: 12px;*/
/*    padding-bottom: 12px;*/
/*    background-color: #D5E8FF;*/
/*}*/
/*.dataTables_wrapper .row {*/
/*    margin: 0 !important;*/
/*}*/
/*.table-header {*/
/*    color: #FFF;*/
/*    font-size: 14px;*/
/*    line-height: 38px;*/
/*    padding-left: 12px;*/
/*    margin-bottom: 1px;*/
/*}*/
.pagination > li.active > a, .pagination > li.active > a:focus, .pagination > li.active > a:hover {
    background-color: #343a40 !important;
    border-color: #cccdce !important;
    color: #FFF;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    z-index: 2;
}
.pager > li.disabled > a, .pager > li.disabled > a:hover, .pagination > li.disabled > a, .pagination > li.disabled > a:hover {
    background-color: #F9F9F9;
    border-color: #cccdce;
    z-index: auto;
}

.pager > li > a, .pagination > li > a {
    border-width: 1px;
    border-color: #cccdce;
    color: #687980;
    background-color: #FAFAFA;
    margin: 0 -1px 0 0;
    position: relative;
    z-index: auto;
}
input[type=radio][disabled]{
    cursor: not-allowed;
}
div.radio {
    padding: 2px;
}
div.radio > label {
    margin: 0;
}
div.radio.disabled,
div.radio.disabled > label{
    cursor: not-allowed;
    background-color: lightgrey;
}
.width-dialog {
    overflow: auto !important;
}
.hide {
    display: none !important;
}
.nav-tabs-custom {
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    border-radius: 3px;
}
.nav-tabs-custom > .nav-pills {
    border-bottom: 1px solid #dee2e6;
}
.sidebar-dark-lightblue .nav-tabs-custom > .nav-pills > li > a.active {
    border-bottom: 3px solid;
    border-color: transparent;
    background-color: #3c8dbc;
}
.sidebar-dark-success .nav-tabs-custom > .nav-pills > li > a.active {
    /*border-bottom: 3px solid;*/
    /*border-color: transparent;*/
    border: 1px solid #28a745;
    background-color: #28a745;
    color: #FFFFFF !important;
}
.sidebar-dark-success .nav-tabs-custom > .nav-pills > li > a:hover {
    border: 1px solid #28a745;
    color: #28a745;
}
.nav-tabs-custom > .nav-tabs > li > a {
    color: #495057 !important;
}

.form-group.has-error label {
    color: #dd4b39;
}

.form-group.has-error .form-control,
.form-group.has-error .input-group-addon,
.form-group.has-error .select2-container--bootstrap4 .select2-selection
{
    border-color: #dd4b39;
    box-shadow: none;
}

.position-relative {
    cursor: pointer;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}
.position-relative:hover .overlay {
    opacity: 1;
}

hr.divider {
    border: none;
    border-top: 1px solid #ccc;
    color: #212529;
    text-align: center;
    position: relative;
}

hr.divider::after {
    content: attr(data-content);
    display: inline-block;
    background: #fff; /* color de fondo de tu página */
    padding: 0 1rem;
    position: relative;
    top: -0.7em;
    font-size: 14px;
    font-weight: 700;
}

hr.divider-left {
    border: none;
    border-top: 1px solid #ccc;
    color: #212529;
    text-align: left;
    position: relative;
}

hr.divider-left::after {
    content: attr(data-content);
    display: inline-block;
    background: #fff; /* color de fondo de tu página */
    padding: 0 1rem 0 0;;
    position: relative;
    top: -0.7em;
    font-size: 14px;
    font-weight: 700;
}

.table-sistema td, .table th {
    padding: 5px !important;
}

.btn-app {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 5px !important;
}

.btn-app > .fa {
    margin-bottom: 4px !important;
}

.bg-light-green {
    color: #527a19 !important;
}

.bg-light-orange {
    color: #8c5106 !important;
}

.bg-light-blue {
    color: #06538c !important;
}

/* ACTIVIDADES LEADS */
.pipeline {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pipeline li {
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #e9ecef; /* gris por defecto */
    color: #495057;
    font-weight: 500;
    flex: 1;
    text-align: center;
    border-right: 2px solid #fff;
    height: 40px;
}

.pipeline li > a {
    color: #495057;
}

.pipeline li.completed > a,
.pipeline li.lost > a,
.pipeline li.seguimiento > a{
    color: #FFFFFF;
}

.pipeline li:first-child {
    /*padding-left: 20px;*/
    border-radius: 5px 0 0 5px;
}

.pipeline li:last-child {
    border-radius: 0 5px 5px 0;
    border-right: none;
}

.pipeline li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -15px;
    width: 31px;
    height: 31px;
    z-index: 1;
    border-radius: 0 0 0 25px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 4px solid #f3f4f6;
    border-top: 4px solid #f3f4f6;
    background: #e9ecef;
}

.pipeline li:last-child::after {
    display: none;
}

/* Estado completado (verde) */
.pipeline li.completed {
    background: #28a745;
    color: #fff;
}

.pipeline li.completed::after {
    background: #28a745;
}

.pipeline li.lost {
    background: #ef4444;
    color: #fff;
}

.pipeline li.lost::after {
    background: #ef4444;
}

.pipeline li.seguimiento {
    background: #3c8dbc;
    color: #fff;
}

.pipeline li.seguimiento::after {
    background: #3c8dbc;
}

/* Estado activo (azul o el que quieras) */
.pipeline li.active {
    background: #0d6efd;
    color: #fff;
}

.pipeline li.active::after {
    background: #0d6efd;
}

@media (max-width: 767.98px) {
    .pipeline {
        flex-direction: column;
        align-items: stretch;
    }
    .pipeline li {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        border-right: 0 !important;
        flex: none !important;
        border-radius: 5px;
        height: 40px;
    }
    .pipeline li a {
        display: block;
        width: 100%;
    }
    .pipeline li::after {
        content: none !important;
        display: none !important;
    }
    .pipeline li:first-child,
    .pipeline li:last-child {
        border-radius: 5px;
    }
    .pipeline li:last-child {
        margin-bottom: 0;
    }
    .activity-item .icon-circle {
        position: absolute;
        left: 15px;
        width: 24px !important;
        height: 24px !important;
        font-size: 9px;
        margin: 0 !important;
    }

}


.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.icon-circle.llamada {
    background-color: #A5F3FC;
    color: #448fa1;
}

.icon-circle.correo {
    background: #ffdc9a;
    color: #b05300;
}

.icon-circle.cita {
    background-color: #bfdbfe;
    color: #2548b2;
}

.icon-circle.mensaje {
    background: #fcc;
    color: #950e0e;
}

.icon-circle.nota {
    background: #fcac6f;
    color: #8c5106;
}

.icon-circle.bitacora {
    background: #fce66f;
    color: #8c5106;
}

.icon-circle.archivo {
    background: #93cbf9;
    color: #06538c;
}

.icon-circle.cotizacion {
    background: #B0D877;
    color: #527a19;
}

.activity-item:hover {
    background-color: #caf1a5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown .btn-link {
    color: #6c757d;
}

.dropdown .btn-link:hover {
    color: #000;
    text-decoration: none;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-bottom {
    margin: 0 !important;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #AFADAD;
    margin-bottom: 10px;
}

.avatar-usuario,
.avatar-usuario-md {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-usuario {
    width: 40px;
    height: 40px;
    font-size: 16px;
    background-color: #f4f6f9;
    color: #343a40;
    margin-right: -5px;
    margin-top: -8px;
}

.avatar-usuario-md {
    width: 80px;
    height: 80px;
    font-size: 20px;
    margin: 0 auto;
    background-color: #bbf7d0;
    color: #36754e;
}