body {
    color: #505050;
}
/**
 * FONT COLOR
 */
.font-green {
    color: #3B5689 !important;
}

.portlet.light > .portlet-title > .caption > .caption-subject {
    color: #3B5689 !important;
    font-weight: 600 !important;
}

.portlet.light > .portlet-title > .caption > i {
    color: #3B5689 !important;
}

/**
 * BOTONES
 */
.btn.green:not(.btn-outline),
.btn.green.focus:not(.btn-outline),
.btn.green:focus:not(.btn-outline){
    background-color: #3B5689;
    border-color: #3B5689;
}

.btn.green:not(.btn-outline).disabled.focus,
.btn.green:not(.btn-outline).disabled:focus,
.btn.green:not(.btn-outline).disabled:hover,
.btn.green:not(.btn-outline)[disabled].focus,
.btn.green:not(.btn-outline)[disabled]:focus,
.btn.green:not(.btn-outline)[disabled]:hover,
fieldset[disabled] .btn.green:not(.btn-outline).focus,
fieldset[disabled] .btn.green:not(.btn-outline):focus,
fieldset[disabled] .btn.green:not(.btn-outline):hover,
.btn.green.active:not(.btn-outline),
.btn.green:active:not(.btn-outline),
.btn.green:hover:not(.btn-outline),
.btn.green-sharp:not(.btn-outline).active,
.btn.green-sharp:not(.btn-outline):active,
.btn.green-sharp:not(.btn-outline):hover,
.btn.green:not(.btn-outline).active.focus,
.btn.green:not(.btn-outline).active:focus,
.btn.green:not(.btn-outline).active:hover,
.btn.green:not(.btn-outline):active.focus,
.btn.green:not(.btn-outline):active:focus,
.btn.green:not(.btn-outline):active:hover,
.open>.btn.green:not(.btn-outline).dropdown-toggle.focus,
.open>.btn.green:not(.btn-outline).dropdown-toggle:focus,
.open>.btn.green:not(.btn-outline).dropdown-toggle:hover,
.open>.btn.green-sharp:not(.btn-outline).dropdown-toggle,
.open > .btn.green.dropdown-toggle:not(.btn-outline),
.btn.green:hover:not(.btn-outline) {
    background-color: #465f8e;
    border-color: #465f8e;
}

.btn.btn-outline.green {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border-color: #465f8e;
    color: #465f8e;
}

.btn.btn-outline.green.active,
.btn.btn-outline.green:active,
.btn.btn-outline.green:hover,
.btn.btn-outline.green:focus,
.btn.btn-outline.green.active.focus,
.btn.btn-outline.green.active:focus,
.btn.btn-outline.green.active:hover,
.btn.btn-outline.green:active.focus,
.btn.btn-outline.green:active:focus,
.btn.btn-outline.green:active:hover {
    background-color: #465f8e;
    border-color: #465f8e;
}

.btn-create {
    padding: 6px 10px 7px !important;
}

.label-green {
    background-color: #52be03;
}

/**
 * MENU STYLE
 */

.page-header.navbar .page-logo .logo-default {
    margin: 13px 0 0;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle {
    padding: 15px 6px 13px 8px;
}

.page-header.navbar .hor-menu .navbar-nav > li > a {
    padding: 15px 13px;
}

.page-header.navbar .hor-menu .navbar-nav > li.active > a > i, .page-header.navbar .hor-menu .navbar-nav > li.current > a > i {
    color: #FFF;
}
.page-header.navbar .hor-menu .navbar-nav > li.active > a, .page-header.navbar .hor-menu .navbar-nav > li.current > a {
	background-color: #465f8e !important;
}

.page-header.navbar .hor-menu .navbar-nav > li.active .selected, .page-header.navbar .hor-menu .navbar-nav > li.current .selected {
	border-top: 6px solid #465f8e;
}
.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-toggle .badge.badge-default {
	background-color: #E2A11A;
}

.page-sidebar .page-sidebar-menu > li.active.open > a,
.page-sidebar .page-sidebar-menu > li.active > a,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active.open > a,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active > a {
    background: #465f8e;
}
.page-sidebar .page-sidebar-menu > li.active.open > a:hover,
.page-sidebar .page-sidebar-menu > li.active > a:hover,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active.open > a:hover,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active > a:hover {
    background: #465f8e;
}

.control-menu-mobile {
    background: #364150;
}

.page-sidebar, .page-sidebar.navbar-collapse.in {
    margin: 0 20px;
}

/**
 * GENERIC
 */

.login {
	background: #f1f1f1 !important;
}
.page-header.navbar .page-logo {
    width: 170px;
    height: 50px;
    padding-left: 25px;
    padding-right: 20px;
    border: 1px solid #e7ecf1;
	background: #fff;
}

@media (max-width: 991px) {
    .page-header.navbar .page-logo {
        width: 170px;
        height: 50px;
        padding-left: 21px !important;
        padding-right: 20px;
        border: 1px solid #e7ecf1;
        background: #fff;
    }

    .page-header.navbar {
        padding: 0 20px 0 0;
    }
}

@media (max-width: 766px) {
    .page-header.navbar .page-logo {
        width: 125px;
        height: 50px;
        padding-left: 1px !important;
        padding-right: 0;
        border: 1px solid #e7ecf1;
        background: #fff;
        margin-right: 0;
    }

    .page-header.navbar {
        padding: 0;
    }
}

@media (max-width: 766px) {
    .page-content-wrapper .page-content .page-title {
        font-size: 24px;
    }

    .page-content-wrapper .page-content .page-title small {
        font-size: 14px;
        display: inline;
    }


}
@media (max-width: 992px) {
    .text-btn-list {
        display: none;
    }
}

@media (max-width: 766px) {
    .text-btn-list {
        display: inline;
    }

    .btn-group, .btn-group-vertical {
        width: 100%;
    }

    .portlet > .portlet-title > .actions {
        width: 100%;
    }

    .btn-on-list {
        width: 100%;
        margin-bottom: 3px;
    }

    .actions .select2-container {
        width: 100% !important;
        margin-bottom: 3px;
    }

    .control-select-view .select2-container--default .select2-selection--single {
        border-right: 1px solid #465f8e !important;
    }

    .actions .control-select-view .select2-container--default .select2-selection--single .select2-selection__rendered {
        text-align: center;
    }

    #datatable_tools,
    #datatable_tools .dropdown-toggle
    {
        width: 100%;
    }
}


.page-header.navbar .page-logo .logo-default {
	margin: 0 0 0;
}

@media (min-width: 300px) {

	.page-header.navbar .page-logo .logo-default {
		height: 25px;
		width: auto;
		margin-top: 11px;
	}
}

@media (max-width: 480px) {
    .page-header.navbar .top-menu {
        clear: none;
        float: right;
    }

}


/*PRUEBA*/
@media (max-width: 1400px) {
    .username {
        display: none !important;
    }
}

@media (max-width: 1250px) {
    .search-form {
        display: none !important;
    }
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu.fix-arrow::after {
    border-bottom: 0 none;
    border-left: 0 none;
    border-right: 0 none;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu.fix-arrow {
    margin-top: -5px !important;
    margin-right: 0 !important;
}

.dropdown-menu>li.active:hover>a,
.dropdown-menu>li.active>a,
.dropdown-menu>li:hover>a {
    background-color: #465f8e;
    color: #FFF !important;
}

.dropdown-menu>li.active:hover>a i,
.dropdown-menu>li.active>a i,
.dropdown-menu>li:hover>a i {
    color: #FFF !important;
}

#tabs-cliente .dropdown-menu>li.active:hover>a,
#tabs-cliente .dropdown-menu>li.active>a,
#tabs-cliente .dropdown-menu>li:hover>a {
    background-color: #3B5689;
    color: #FFF;
}

.fix-arrow>.active>a {
    background-color: #3B5689!important;
    color: #FFF!important;
}

.fix-arrow>.active>a:hover {
    background-color: #47596e!important;
    color: #c6cfda!important;
}

#tabclientresponsive {
    display: none;
}

@media (max-width: 1600px) {
    #tabclientresponsive {
        display: block;
    }

    .hidden-mid-lg {
        display: none !important;
    }
}

@media (max-width: 1220px) {
    .hid-md{
        display:none !important;
    }
    .show-md{

        display:block !important;
    }
}


/**
 * HEADER STYLE
 */
.page-header.navbar {
    background-color: #364150;
}

/**
 * FOOTER STYLE
 */
.page-footer {
    background-color: #364150;
}

.page-footer-inner a {
    color: #3B5689;
}
.page-footer-inner a:hover {
    color: #465f8e;
    text-decoration: none;
}
.page-footer .page-footer-inner {
    float: none;
    text-align: center;
    display: block;
}

/**
 * COLORS
 */
.primary-color {
    color: #3B5689;
}

/**
 * PAGE: LOGIN
 */
.login .content h3 {
    color: #3B5689;
}

/* === Overrides de color a azul #3b5689 === */
:root{
  --primary: #3b5689;        /* azul corporativo para enlaces/botones/foco */
}

.login .auth-card{
  color: #3b5689;            /* color de texto por defecto dentro del card */
}

/* Asegura que títulos y subtítulos usen el azul */
.login .auth-header h1,
.login .auth-header .subtitle,
.login .auth-form label.floating span,
.login .auth-footer,
.login .remember span {
  color: #3b5689;
}

/* Enlaces en el mismo azul (ya usan var(--primary)) */
.login .link{ color: var(--primary); }

/* Iconos SVG heredan el color del texto */
.login .field .icon,
.login .btn-icon { color: #3b5689; }

/* Modo claro: mantén el mismo azul (evita volver a gris) */
@media (prefers-color-scheme: light){
  .login .auth-card{ color:#3b5689; }
}


.alert-danger_incorrect {
    background-color: #fbe1e3;
    border-color: #fbe1e3;
    color: #e73d4a;
}

/**
 * PAGE CLIENT
 */
.title-top-client {
    color: #3B5689;
    font-weight: 600 !important;
    font-size: 16px;
    text-transform: uppercase;
}

.icon-title-top-client {
    font-size: 15px;
    font-weight: 300;
    margin-top: 3px;
    color: #3B5689;
}

.control-caption {
    padding-top: 6px !important;
}

.page-content-white .page-title.control-edit-view {
    margin-top: 24px;
}

.control-label-concat {
    margin-bottom: 2px;
    display: inline-block;
    padding: 3px 5px 5px !important;
    color: #e3ecf7;
    background: #364150;
    margin-right: 2px;
}

.cod-limit {
    color: #aaa;
    font-size: 5px;
    margin: 0 5px;
    opacity: 0.4;
    position: relative;
    top: -3px;
}

.badge-company {
    float: right;
    margin-left: -18px;
    margin-right: -5px;
    margin-top: -10px;
    position: relative;
    z-index: 10;
    background-color: #3B5689;
}

.search-box-client {
    margin-top: -39px;
}

.box-despacho {
    margin-top: 20px;
}

@media(max-width:991px) {
    .box-despacho {
        margin-top: -15px;
        margin-bottom: 15px;
    }
}

.client-title {
    font-weight: 300;
    font-size: 24px;
}

.client-title small {
   font-size: 14px;
}

.search-box-client .form-control {
    border: 1px solid #d2dae8;
}

.search-box-client .input-group-addon {
    border: 1px solid #d2dae8;
    border-right: 0;
}

.client-situacion-succes {
  border-bottom: 2px solid #3B5689;
}

.client-situacion-warning {
    border-bottom: 2px solid #eea236;
}

.client-situacion-danger {
    border-bottom: 2px solid #d43f3a;
}

.change-situation {
    color: #666;
}

.change-situation:hover {
    color: #666;
    text-decoration: none;
}

.change-situation:hover .fa {
    color: #3B5689;
}

.change-situation .fa {
    color: #ddd;
}
.client-situacion-danger:hover  {
    color: #d43f3a!important;
}

.portlet.light > .portlet-title .caption {
    color: #666;
    padding: 10px 0;
}
.portlet > .portlet-title .caption {
    display: inline-block;
    float: left;
    font-size: 18px;
    line-height: 18px;
    padding: 10px 0;
}
.portlet.light.portlet-fit > .portlet-sub-title {
    border-bottom: 0;
    padding: 0;
}

.portlet.light {
    background-color: transparent;
}

.porlet-subtitle {
    margin-bottom: 0;
}

.company-selector-label {
    margin-right: 5px;
    font-weight: 300;
}

@media (max-width: 580px) {
    .client-title .fa-pencil,
    .client-title .label-client {
        display: none;
    }
}

.badge.more-info {
    background: #3B5689;
    border-radius: 17px !important;
    height: 32px;
    padding: 8px 6px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.badge.more-info:hover {
    background: #465f8e;
    cursor: pointer;
}

.badge.more-info > i {
    font-size: 22px;
}

.control-more-info {
    margin-top: -72px;
}

.control-select-view .select2-container--default .select2-selection--single {
    border: 1px solid #465f8e;
    border-right: 0;
}

.control-select-view .select2-container .select2-selection--single,
.control-select-view .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
}

.control-select-view .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #465f8e;
}

/**
 * PAGE CLIENT[COMERCIAL]
 */
.control-height-left-tab {
    min-height: 365px;
}

.new-office-text {
    color: #3B5689;
}


/**
 * DATATABLE
 */
.dataTable .label-green {
    background: #465f8e;
}

.dataTable select {
    border: 1px solid #ddd;
}

.dataTable .label-sm {
    margin-bottom: 3px;
    display: inline-block;
    padding: 5px 5px 7px 5px;
}

table.dataTable {
    border-collapse: collapse !important;
}

table.dataTable hr {
    margin: 8px 0;
}

table.dataTable.no-footer {
    border-bottom: 0 !important;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    border-top: 1px solid #e7ecf1 !important;
}

.table-scrollable {
    border-top: 0 !important;
}

.table thead tr th {
    font-weight: 600 !important;
}

table.dataTable thead th, table.dataTable tfoot th {
    font-weight: 500 !important;
}

.dataTables_wrapper .dt-buttons {
    visibility: hidden;
}

div.dt-button-collection > a.dt-button.active {
    background-color: #3B5689  !important;
    border: 1px solid #3B5689  !important;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

div.dt-button-collection > a.dt-button.active:hover {
    background-color: #465f8e  !important;
    border: 1px solid #465f8e  !important;
}

div.dt-button-collection > a.dt-button.active > span {
    color: #FFF !important;
    font-size: 13px !important;
}

div.dt-button-collection > a.dt-button {
    background-color: #FFF !important;
    border: 1px solid #465f8e !important;
}

div.dt-button-collection > a.dt-button > span {
    font-size: 13px !important;
}

table.dataTable td.sorting_1,
table.dataTable td.sorting_2,
table.dataTable td.sorting_3,
table.dataTable th.sorting_1,
table.dataTable th.sorting_2,
table.dataTable th.sorting_3 {
    background: transparent !important;
}

.btn-dt {
    padding: 3px 7px;
}

.label.pull-right {
    line-height: inherit;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background: #465f8e;
    border-color: #465f8e;
}

.pagination > li > a,
.pagination > li > span {
    color: #465f8e;
}

div.dt-button-collection {
    border: 1px solid #eee;
    box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
    margin: -3px 0;
}

.displayblock {
    display:block;
}
.dataTable select{
    height: 30px;
}
@media (max-width: 1200px) {
    .dataTable .label-sm {
        display: none;
        margin-bottom: 2px;
    }

    .dataTable .label-state{
        display: inline;
        margin-bottom: 0;
    }

    .dataTable .blockstyle {
        display: block;
        margin-bottom: 2px;
    }

}
@media (max-width: 992px) {

    .dataTable .not-hidd{
        display:inline;
    }
    .dataTable .fa-calendar, .dataTable .fa-clock-o{
        display:none;
    }
    .dataTable .acciones_sm{
        display:block;

    }

}

table.dataTable thead .sorting_asc {
    background-image: url("datatables/images/sort_asc.png");
}

table.dataTable thead .sorting_desc {
    background-image: url("datatables/images/sort_desc.png");
}

/*** Toolbar Datatable  ***/

/* =========================
   DT Kebab – estilos + overflow/dropup
   ========================= */

/* Evitar recortes de wrappers solo en esta tabla */
#tablareports_wrapper,
#tablareports_wrapper .row,
.table-scrollable,
.dataTables_scroll,
.dataTables_scrollHead,
.dataTables_scrollBody,
.portlet-body,
.table { overflow: visible !important; }

/* Celdas/cabeceras no recortan el menú */
#tablareports table.dataTable thead th,
#tablareports table.dataTable tfoot th,
#tablareports table.dataTable tbody td 
#datatable table.dataTable thead th,
#datatable table.dataTable tfoot th,
#datatable table.dataTable tbody td { overflow: visible; }

/* Botón kebab: conserva aspecto (tres puntos) */
.dt-kebab{ position:relative; display:inline-flex; align-items:center; justify-content:center; }
.dt-kebab-btn{
  width:36px; height:36px; border:0; border-radius:50%;
  background:#edf0f5; color:#374151; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 1px rgba(0,0,0,.05) inset; transition:background .12s, transform .12s;
}
.dt-kebab-btn:hover{ background:#e5e9f1; transform: translateY(-1px); }
.dt-kebab-btn:focus{ outline:none; box-shadow:0 0 0 2px rgba(99,102,241,.35); }
.dt-kebab-btn i{ font-size:16px; color:inherit; }

/* Menú: posición relativa al botón, z alto y estética */
.dt-kebab .dt-menu{
  position:absolute; right:0; top:calc(100% + 6px);
  z-index:9999; min-width:220px;
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  padding:8px; display:none;
}
.dt-kebab .dt-menu.is-open{ display:block; }

/* Dropup cuando JS añade la clase */
.dt-kebab.dropup .dt-menu{ top:auto; bottom:calc(100% + 6px); }

/* Lista limpia */
.dt-menu ul{ list-style:none; margin:0; padding:0; }
.dt-menu li{ margin:0; }

/* Enlaces: texto negro, SIN subrayado, hover suave */
.dt-menu a,
.dt-menu button{
  width:100%; border:0; background:transparent; text-align:left;
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px;
  color:#1f2d3d; font-weight:500; text-decoration:none !important;
}
.dt-menu a:hover,
.dt-menu button:hover{ background:#f5f7fb; color:#1f2d3d; text-decoration:none; }

/* Iconos azules como en el ejemplo; heredan salvo overrides */
.dt-menu .icon{ width:18px; display:inline-flex; justify-content:center; color:#2e6cf6; }
.dt-menu .icon i{ color:inherit; }

/* Divider y “Eliminar” en rojo */
.dt-menu .divider{ height:1px; margin:6px 0; background:rgba(0,0,0,.08); border:0; }
.dt-menu .danger{ color:#dc2626; font-weight:700; }
.dt-menu .danger:hover{ background:#fee2e2; }
.dt-menu .danger .icon{ color:#dc2626; }

/* Estado deshabilitado (por si lo usas) */
.dt-menu .is-disabled,
.dt-menu [aria-disabled="true"]{
  opacity:.45; pointer-events:none; filter:grayscale(15%);
}

/* Responsive: ancho cómodo en móviles */
@media (max-width: 640px){
  .dt-kebab .dt-menu{ right:4px; left:auto; min-width:86vw; }
}



/**
 * TABS
 */
.tabbable-custom > .nav-tabs > li > a {
    color: #555;
}

.tabbable-custom > .nav-tabs > li > a:hover,
.tabbable-custom > .nav-tabs > li:hover > a {
    color: #3B5689;
    padding: 9px 15px 10px 15px;
}

.tabbable-custom > .nav-tabs > li.active > a:hover {
    padding: 10px 15px;
}

.tabbable-custom > .nav-tabs > li:hover {
    border-top: 3px solid #3B5689;
}

.tabbable-custom > .nav-tabs > li.active {
    border-top: 3px solid #3B5689;
}

.portlet-form .tabbable-custom {
    overflow: visible;
}

.tabs-left.nav-tabs > li > a {
    color: #555;
}

.tabs-left > li > a {
    padding: 10px 15px 10px 15px;
}

.tabs-left.nav-tabs > li > a:hover{
    color: #3B5689;
    padding: 10px 15px 10px 12px;
    background: #FFF;
}

.tabs-left.nav-tabs > li.active > a,
.tabs-left.nav-tabs > li.active > a:hover {
    padding: 10px 12px;
}

.tabs-left.nav-tabs > li:hover {
    border-left: 3px solid #3B5689;
}

.tabs-left.nav-tabs > li.active {
    border-left: 3px solid #3B5689;
}

.tabs-left.nav-tabs > li.active > a,
.tabs-left.nav-tabs > li > a:hover,
.tabs-left.nav-tabs > li.active > a:hover > li.active > a:focus {
    border-color: #ddd transparent #ddd #3B5689;
}

/*@media (max-width: 992px) {

    .nav-tabs .bootstrap-switch {
        display: none;
    }
     #tab-content .dashboard-stat {
        margin-bottom: 16px;
    }

}*/


/**
 * FORM, INPUTS
 */
textarea.form-control {
    resize: vertical;
}
.form-group.form-md-line-input .form-control::-webkit-input-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-control::-webkit-input-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-group.form-md-line-input .form-control:-moz-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-control:-moz-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-group.form-md-line-input .form-control::-moz-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-control::-moz-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-group.form-md-line-input .form-control:-ms-input-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}
.form-control:-ms-input-placeholder {
    color: #c0c0c0;
    font-weight: 300;
}

.control-label .required, .form-group .required {
    color: #3B5689;
}

.form-group.form-md-line-input .form-control.edited:not([disabled])~.form-control-focus:after,
.form-group.form-md-line-input .form-control.edited:not([disabled])~label:after,
.form-group.form-md-line-input .form-control.focus:not([disabled])~.form-control-focus:after,
.form-group.form-md-line-input .form-control.focus:not([disabled])~label:after,
.form-group.form-md-line-input .form-control:focus:not([disabled])~.form-control-focus:after,
.form-group.form-md-line-input .form-control:focus:not([disabled])~label:after {
    background: #3B5689
}

.form-group.form-md-line-input .form-control.edited:not([disabled])~.help-block,
.form-group.form-md-line-input .form-control.focus:not([disabled])~.help-block,
.form-group.form-md-line-input .form-control:focus:not([disabled])~.help-block {
    color: #3B5689;
}

.md-checkbox label>.check {
    border: 2px solid #3B5689;
}

.form-md-checkboxes .md-checkbox label > .check {
    border-style: none solid solid none;
}

.padding-vertical-false {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.padding-vertical-false .alert {
    margin-bottom: 0;
    margin-top: 10px;
}
.padding-20{
    padding:20px;
}
.padding-right-20{
    padding-right:20px;
}
.padding-10{
    padding:10px;
}

.alert-success {
    background-color: #e2ffc0;
    color: #52be03;
    border: 0;
    border-left: 4px solid #52be03;
}

.alert-danger {
    border: 0;
    border-left: 4px solid #e73d4a;
}

.portlet-form .tabbable-custom {
    padding: 0 20px;
}

.md-radio label > .check {
    background: #3B5689;
}

.form-md-radios {
    min-height: 74px;
}

.form-group.form-md-line-input .form-control[readonly] {
    border-bottom: 1px solid #c2cad8;
    cursor: text;
}

.title-input {
    margin-bottom: 0;
    color: #888;
}


#form_comercial .form-group label
{
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.col-md-offset-right-6{
    margin-right: 50%;
}
.block{
    display:block;
}

@media (max-width: 990px) {
    .col-md-offset-right-6{
        margin-right:0px;
    }
}

/*.form-group.form-md-line-input .form-control {
    border: 1px solid #efefef;
    border-bottom: 1px solid #ddd;
    padding: 6px 12px;
}
*/
/**
 * UPLOAD IMAGE
 */
.fileinput-preview.fileinput-exists.thumbnail {
    border: 5px solid #fff;
    padding: 0;
    outline: 1px solid #ddd;
}

/**
 * DATEPICKER
 */
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active.highlighted:hover,
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover,
.open > .dropdown-toggle.datepicker table tr td.active,
.open > .dropdown-toggle.datepicker table tr td.active.highlighted {
    background: #3B5689 !important;
    border-color:  #3B5689 !important;
}


/**
 * BUSCADOR
 */
.tt-menu {
    background: #3f4f62;
    border: 0;
    padding: 0;
    box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
    overflow-y: hidden;
}

.tt-menu .tt-suggestion {
    color: #bcc7d4;
    font-size: 13px;
    font-weight: 300;
    padding: 8px 12px;
}

.tt-menu .media {
    border-top: 1px solid #4b5e75;
    margin-top: 0;
}

.tt-menu .media:first-child {
    border-top: 0;
}

.tt-menu .media:hover {
    background: #47596e;
}

.tt-menu .time {
    float: right;
    font-size: 11px;
    font-weight: 400;
    max-width: 75px;
    opacity: 0.7;
    padding: 1px 5px;
    text-align: right;
    background: #354353;
}

.tt-menu .label-success {
    background: #2f3f52 none repeat scroll 0 0;
    float: left;
    padding: 2px;
    margin-right: 15px;
}

.tt-menu .details {
    display: block;
    line-height: 20px;
    margin-top: 6px;
}

.tt-menu .external {
    border-radius: 4px 4px 0 0;
    display: block;
    letter-spacing: 0.5px;
    overflow: hidden;
    padding: 15px;
    background: #2f3b49;
}

.tt-menu .external > h3 {
    display: inline-block;
    float: left;
    font-size: 13px;
    margin: 0;
    padding: 0;
    color: #adbaca;
    border-bottom: 0;
    font-weight: 300;
}

.tt-menu .external > a {
    color: #337ab7;
}
.tt-menu .external > a {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    clear: inherit;
    display: inline-block;
    font-size: 13px;
    font-weight: 300;
    margin-top: -1px;
    padding: 0;
    position: absolute;
    right: 10px;
}

/**
 * BREADCRUMB
 */
.page-bar .page-breadcrumb > li > a, .page-bar .page-breadcrumb > li > span {
    font-weight: 300;
}

/**
 * ICONS
 */
.icon-big {
    font-size: 24px;
}

/**
 * PAGINA Exportación
 */
.control-all-check {
    margin-bottom: -45px;
    z-index: 100;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 33px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #c2cad8;
}

.ui-sortable {
    list-style: none;
    margin: 0;
    padding: 0;
}

.connectedSortable {
    height: 340px;
}

.connectedSortable .ui-state-default {
    background: #364150 !important;
    color: #c6cfda!important;
    font-weight: normal!important;
    padding: 5px 5px!important;
    border: 0!important;
    margin-bottom: 1px!important;
    text-align: left!important;
}

.ui-state-highlight {
    height: 30px;
    background: #52637a;
    border: 1px solid #435165;
    margin-bottom: 1px;
}

.ui-state-default:hover {
    background: #263140;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.cursor_grabbable {
    cursor: grabbing !important;
    cursor: -moz-grabbing !important;
    cursor: -webkit-grabbing !important;
}

.mt-element-step .step-background-thin .mt-step-col {
    position: relative;
}

.control-scrolling {
    position: relative;
}

#sortable1 .ui-state-default{
    background: #e7505a !important;
    color: #FFF !important;
    text-align: left !important;
}

#sortable1.color-green .ui-state-default{
    background: #6bab3c  !important;
}

.btn-max {
    width: 100%;
    font-size: 24px;
    margin-top: 20px;
    font-weight: 100;
}

.export-subtitle {
    margin-top: 22px;
}

.btn-configuration-export {
    background: #364150;
    color: #c6cfda;
    font-weight: normal;
    padding: 5px 5px;
    border: 0;
    margin-bottom: 1px;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.btn-configuration-export:hover {
    color: #FFF;
    background: #263140;
}

.btn-dark {
    background: #2c394a;
}

.btn-dark:hover {
    background: #263140;
}

.delete-config:hover {
    color: #e7505a;
}

.control-icon-export {
    font-size: 84px !important;
    line-height: 0.92em !important;
    margin-right: 10px;
}

.control-icon-export-2 {
    font-size: 75px !important;
    line-height: 1.1em !important;
    margin-right: 10px;
}

.exclude-fields-panel {
    background: url("../img/ban.png") no-repeat center;
}

.export-conditions-control {
    margin-bottom: 5px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

/**
 * PAGINA: page
 */

.note.note-danger {
    background-color: #fbe1e3;
    color: #e73d4a;
}

.note-danger>h4 {
    font-weight: 700;
}

/**
 * FORM: STEPS
 */
.mt-element-step .step-background-thin .done .mt-element-left{
    background-color: #3B5689 !important;
}

.mt-element-step .step-background-thin .done .mt-step-number .mt-element-left {
    color: #42ae00 !important;
}



/**
 * SUPPORT CLASS
 */
.no-padding {
    padding: 0;
}
.no-padding-right {
    padding-right: 0;
}
.margin-top-3 {
    margin-top: 3px;
}
.margin-top-5 {
    margin-top: 5px;
}
.margin-top-10 {
    margin-top: 10px;
}
.margin-top-15 {
    margin-top: 15px;
}
.margin-top-20 {
    margin-top: 20px;
}
.margin-top-25 {
    margin-top: 25px;
}
.margin-top-30 {
    margin-top: 30px;
}
.margin-top-35 {
    margin-top: 35px;
}
.margin-top-40 {
    margin-top: 40px;
}
.margin-top-50 {
    margin-top: 50px;
}
.margin-top-60 {
    margin-top: 60px;
}
.margin-top-70 {
    margin-top: 70px;
}
.margin-top-80 {
    margin-top: 80px;
}
.margin-top--10 {
    margin-top: -10px;
}
.margin-left-10 {
    margin-left: 10px !important;
}
.height-150 {
    height: 150px !important;
}
.margin-bottom-140 {
    margin-bottom: 140px;
}
.margin-left {
    margin-left:20px;
}
.position-relative {
    position: relative;
}
.padding-top-70 {
    padding-top: 70px;
}

/*
* SERVICIOS
*/
.make-switch {
	visibility: hidden;
}

.shortcut-item{
  display:flex; align-items:center; gap:12px;
  padding:10px 12px; border:1px solid #eef1f5; border-radius:6px;
  background:#fff; position:relative;
}
.shortcut-item:before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px; border-radius:6px 0 0 6px;
  background:#2e6da4; /* franja azul a la izquierda */
}
.shortcut-ico{
  flex:0 0 28px; height:28px; width:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#e9f0ff; color:#2e6da4; font-size:14px;
}
.shortcut-text{ flex:1 1 auto; min-width:0; }
.shortcut-title{ font-weight:600; line-height:1.2; }
.shortcut-desc{ color:#7a869a; font-size:12px; margin-top:2px; }
.shortcut-actions{ flex:0 0 auto; }
.shortcut-actions .btn{ padding:5px 10px; }



/*
* PLUGINS
*/
.bootstrap-switch-success{
	background: #52be03 !important;
}

#tabs-services .active .bootstrap-switch {
    margin-left: -1px;
}


/**
 * SELECT2
 */
.select2-container .select2-search--inline .select2-search__field {
    margin-top: 6px;
}

.select2-container .select2-selection--multiple {
    min-height: 34px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
    border: 1px solid #c2cad8;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color:#3B5689;
}

/**
 * CIRCLE PROGRESS
 */
@media (max-width: 395px) {
    .control-circle {
        display: none;
    }
}

@media (max-width: 1270px) {
    .cod-limit,
    .badge-company,
    .company-selector-label {
        display: none !important;
    }

    .control-w-edit {
        width: 100%;
    }
}

#change-sit, .btn-size-globalview {
    height: 34px;
}

@media (max-width: 480px) {
    #change-sit,
    .btn-size-globalview {
        display: block;
        margin-bottom: 3px;
        width: 100%;
    }

    .change-sit {
        width: 100%;
    }

    .change-sit .select2-container {
        width: 100% !important;
    }
}

.circles {
    margin-bottom: -10px;
}

.circle {
    width: 100px;
    margin: 6px 6px 20px;
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 1.2;
    background: #FFF;
    border-radius: 50px !important;
}

.circle canvas {
    vertical-align: top;
}

.circle strong {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
}

.circle strong i {
    font-style: normal;
    font-size: 0.6em;
    font-weight: normal;
}

.circle span {
    display: block;
    color: #aaa;
    margin-top: 12px;
}

.control-circle {
    position: absolute;
    margin-top: -66px;
    margin-left: -111px;
    z-index: 10;
}

.control-circle-no-tab {
    margin-left: -111px;
    margin-top: 22px;
    position: absolute;
    z-index: 10;
}

.sub-tab {
    margin-left: -91px;
    margin-top: -86px;
}

/**
 * PLUGIN: Multiple-select
 */
.ms-parent {
    width: 100% !important;
}

.ms-choice {
    border: 1px solid #c2cad8;
    height: 34px;
    line-height: 34px;
}

.ms-choice > div {
    border-color: #888 transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0;
    height: 0;
    left: 100%;
    margin-left: -15px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    font-weight: 700;
}

.ms-drop.bottom {
    box-shadow: none;
}

.ms-drop {
    border: 1px solid #c2cad8;
}

.ms-drop input[type="checkbox"] {
    margin: -1px 5px 0 0;
}

.ms-drop span {
  color: #505050;
}

.ms-drop ul {
    padding: 5px 0;
}

.ms-drop li {
    padding: 0 8px;
}

/**
 * DATEPICKER - Comercial
 */
.big-datepicker .datepicker table tr td,
.big-datepicker .datepicker table tr th {
    height: 50px !important;
    width: 60px !important;
}

.big-datepicker .datepicker-inline {
    width: auto !important;
}

.datepicker table tr td.active, .datepicker table tr td.active.highlighted {
    text-shadow: none !important;
    font-weight: 500 !important;
}

/**
 * File upload
 */
.fileupload-buttonbar .progress {
    height: 35px;
    margin-bottom: 5px;
}

.btn.blue.start,
.btn.warning.cancel {
    display:none;
}

.template-upload .btn.blue.start {
    display:none !important;
}

.fileupload-progress {
    display: none;
}

.progress-bar-success {
    background-color: #3B5689;
}

.progress {
    background-color: #efefef;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    height: 33px;
    margin-bottom: 7px;
}

.btn-cancel-inline {
    padding: 5px 12px !important;
    margin-top: 40px !important;
}


/**
 * ion.rangeslider
 */
.irs-from, .irs-to, .irs-single {
    background: #3B5689 !important;
}

.irs-from::after, .irs-to::after, .irs-single::after {
    border-color: #3B5689 transparent transparent !important;
}


/**
 * LOADING
 */
.cssload-thecube {
    width: 73px;
    height: 73px;
    margin: 0 auto;
    margin-top: 49px;
    position: relative;
    transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
    position: relative;
    transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.cssload-thecube .cssload-cube:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(82,190,3);
    animation: cssload-fold-thecube 2.76s infinite linear both;
    -o-animation: cssload-fold-thecube 2.76s infinite linear both;
    -ms-animation: cssload-fold-thecube 2.76s infinite linear both;
    -webkit-animation: cssload-fold-thecube 2.76s infinite linear both;
    -moz-animation: cssload-fold-thecube 2.76s infinite linear both;
    transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
}
.cssload-thecube .cssload-c2 {
    transform: scale(1.1) rotateZ(90deg);
    -o-transform: scale(1.1) rotateZ(90deg);
    -ms-transform: scale(1.1) rotateZ(90deg);
    -webkit-transform: scale(1.1) rotateZ(90deg);
    -moz-transform: scale(1.1) rotateZ(90deg);
}
.cssload-thecube .cssload-c3 {
    transform: scale(1.1) rotateZ(180deg);
    -o-transform: scale(1.1) rotateZ(180deg);
    -ms-transform: scale(1.1) rotateZ(180deg);
    -webkit-transform: scale(1.1) rotateZ(180deg);
    -moz-transform: scale(1.1) rotateZ(180deg);
}
.cssload-thecube .cssload-c4 {
    transform: scale(1.1) rotateZ(270deg);
    -o-transform: scale(1.1) rotateZ(270deg);
    -ms-transform: scale(1.1) rotateZ(270deg);
    -webkit-transform: scale(1.1) rotateZ(270deg);
    -moz-transform: scale(1.1) rotateZ(270deg);
}
.cssload-thecube .cssload-c2:before {
    animation-delay: 0.35s;
    -o-animation-delay: 0.35s;
    -ms-animation-delay: 0.35s;
    -webkit-animation-delay: 0.35s;
    -moz-animation-delay: 0.35s;
}
.cssload-thecube .cssload-c3:before {
    animation-delay: 0.69s;
    -o-animation-delay: 0.69s;
    -ms-animation-delay: 0.69s;
    -webkit-animation-delay: 0.69s;
    -moz-animation-delay: 0.69s;
}
.cssload-thecube .cssload-c4:before {
    animation-delay: 1.04s;
    -o-animation-delay: 1.04s;
    -ms-animation-delay: 1.04s;
    -webkit-animation-delay: 1.04s;
    -moz-animation-delay: 1.04s;
}

.not-active {
   pointer-events: none;
   cursor: default;
}
.margin-top-10{
    margin-top:10px;
}
.cent-point{
    font-weight: normal;
    padding: 5px 5px;
    border: 0;
    margin-bottom: 1px;
    background: #e7505a;
    color: #FFF;
    text-align:center;
    cursor:pointer;
}
.cent-point:hover{
    cursor: pointer;
    background: #263140;
}
.mt-element-left{
    font-size: 30px;
    font-weight: 100;
    text-align: left;
    padding-left: 10%;
    z-index: 5;
    position: relative;
    color: #FFFFFF !important;
}


@keyframes cssload-fold-thecube {
    0%, 10% {
        transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-o-keyframes cssload-fold-thecube {
    0%, 10% {
        -o-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -o-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -o-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-ms-keyframes cssload-fold-thecube {
    0%, 10% {
        -ms-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -ms-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -ms-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-webkit-keyframes cssload-fold-thecube {
    0%, 10% {
        -webkit-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -webkit-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -webkit-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-moz-keyframes cssload-fold-thecube {
    0%, 10% {
        -moz-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -moz-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -moz-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

/**
 * Comercial | View
 */
.control-chart-body {
    margin-top: -20px;
    display: inline-block;
    margin-left: -102px;
    margin-right: -102px;
    width: 150%;
}

.control-chart-staff {
    margin-top: -60px;
    margin-bottom: -60px;
    display: inline-block;
    width: 100%;
}

.control-chart-legend {
    text-align: center;
}

.media-val {
    height: 3px;
    margin: 1px auto auto;
    width: 22px;
}

.media-empty {
    background-color: #dddddd;
}

.media-bad {
    background-color: #ed6b75;
}

.media-normal {
    background-color: #337ab7;
}

.media-good {
    background-color: #465f8e;
}

@media (max-width: 1700px) {
    .control-chart-body {
        margin-top: -20px;
        display: inline-block;
        margin-left: -40px;
        width: 130%;
    }
}
@media (max-width: 1400px) {
    .control-chart-body {
        margin-top: -20px;
        display: inline-block;
        width: 130%;
    }
}
@media (max-width: 1200px) {
    .control-chart-body {
        margin-top: -20px;
        display: inline-block;
        width: 130%;
        margin-left: -28px;
    }
}




/**
 * Comercial | Clientes
 */
.disabled-span {
    cursor: not-allowed;
}

.datos-facturacion {
    display: none;
}

.only-school-aicat {
    display: none;
    width: 100%;
    float: left;
}


/**
 * Comercial | Tareas
 */
.label-block {
    background: #ff6c00;
    cursor: not-allowed;
}
.control-client-label {
    margin-top: -54px;
    position: absolute;
    z-index: 1;
    color: #888;
}


/**
 * FULLCALENDAR
 */
.portlet.calendar .fc-button {
    padding: 5px 11px 35px 6px;
}
.portlet.calendar.light .fc-button.fc-state-active,
.portlet.calendar.light .fc-button.fc-state-hover {
    border-bottom: 2px solid #3B5689;
}
.external-event {
    background-color: #364150;
    color: #c6cfda;
    cursor: move;
    display: inline-block;
    margin-bottom: 1px;
    padding: 8px;
    text-align: left;
    width: 100%;
    margin-left: 0;
}
.margin-top-20-md {
    margin-top:20px;
}
@media (max-width: 1200px) {
    .control-calendar {
        /*max-height: 360px!important;*/
        margin-top: 20px;
    }
    .margin-top-20-md {
        margin-top:0;
    }
}

@media (max-width: 992px) {
    #calendar {
        margin-top: 70px!important;
    }
}

.btn-delete-task {
    float: right;
    color: #fff;
    font-size: 20px;
}
.sangria-izq{
    margin-left: 17px;
    text-indent: -17px;
}
.vistaglobal{
    padding: 10px 15px 10px 5px;
    background-color: #3B5689;
}
.no-effects{
    text-decoration: none;
    color: #FFFFFF;
}
.no-effects:hover{
    text-decoration: none;
    color: #6A6679;
}

.icon-size-globalview {
    font-size: 16px;
    margin-left: 5px;
    margin-top: 2px;
    position: absolute;
}

.btn-size-globalview {
    padding-right: 30px;
}

/*
 * NOTIFICACIONES
 */
.dropdown-menu-notify {
	min-width: 500px!important;
}
/*
 * PERFIL COMERCIAL (STAFF COMERCIAL)
 */
.profile-card{
	margin-bottom: 30px;
	border: 1px solid #e7ecf1 !important;
	min-height: 750px;
}
.profile-userpic img {
	/*border-radius: 0% !important;	*/
}
.profile-icon{
	font-size: 120px;
	margin-top: 70px;
}
.profile-icon-orange{
	background: orange none repeat scroll 0 0 !important;
}
.profile-icon-green{
	background: #3B5689 none repeat scroll 0 0 !important;
}

.profile-portlet {
    margin-bottom: 0!important;

}
.profile-widget-padding{
	padding: 0!important;
}
@media (max-width: 1725px) {
	.profile-col-fix{
		width: 100%;
	}
}

/**
 * Staff comercial | Calendar
 */
.control-calendar {
    width: 100%;
    overflow-x:scroll;
    overflow-y: hidden;
}

.content-calendar {
    width: auto;
    white-space:nowrap;
}

.col-calendar {
    display: inline-block;
    width: 300px;
}

.profile-card-calendario {
    border: 1px solid #e7ecf1;
    margin-bottom: 30px;
}

.fix-calendar {
    position: relative;
}

.mt-comments.fix-calendar .mt-comment .mt-comment-body {
    padding-left: 0;
}

.es-fecha {
    border-bottom: 1px solid #bbbbbb;
    font-weight: 400;
    margin-top: 15px;
}

.mt-comments .mt-comment .mt-comment-body .mt-comment-info .mt-comment-author {
    color: #666;
    font-weight: 500;
}

.control-calendar .portlet.light {
    padding: 12px 20px 0;
}

.my-event {
    background: #3B5689;
    color: #ffffff;
    display: block;
    padding: 5px 7px;
    width: 100%;
    margin-top: 3px;
}
.my-event:hover {
    text-decoration: none;
}

.my-event .fc-title {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-align: left;
}

.my-event .fc-time {
    color: #fff;
    font-size: 11px;
    font-weight: 300;
    padding-right: 5px;
    text-align: left;
    padding-top: 3px;
}

.pendiente {
    background: #f1c40f;
}

.realizada {
    background: #3B5689;
}

.cancelada {
    background: #ed6b75;
}

.bloqueada {
    background: #ff6c00;
}

.comerciales_combo {
    width: 180px !important;
    margin-right: 2px;
}

.comerciales_combo .ms-choice {
    height: 35px;
    line-height: 35px;
}

/**
 * Staff | view
 */
.feeds li .col2 > .date {
    font-style: normal;
    font-weight: 600;
}

/**
 * Reports | view
 */
#load_ajax {
    margin-top: 40px;
}

#load_ajax .mt-element-left {
    color: #3B5689 !important;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
}

#load_ajax .mt-element-left > span {
    font-size: 13px !important;
}

#load_ajax .bg-grey-steel.active {
    background-color: #FFF !important;
    border-top:1px solid #e7ecf1 !important;
    border-left:1px solid #e7ecf1 !important;
    border-right:1px solid #e7ecf1 !important;
    border-bottom: 0;
}

#load_ajax .bg-grey-steel {
    background: #FFF !important;
    border-bottom:1px solid #e7ecf1 !important;
    border-left:1px solid #e7ecf1 !important;
    border-right:1px solid #e7ecf1 !important;
}
.eliminar_oficina{
    cursor:pointer;
}
.eliminar_oficina:hover{
    color:#D9534F;
}

@media(min-width:992px) and (max-width:1200px){
    .username.username-hide-on-mobile
    {
        display:none;
    }
}

.detaill-course {
    list-style: none;
    color:#676B71;
    padding: 0;
}
.detaill-course li {
    position: relative;
    padding: 10px;
    border-bottom: 1px solid #F4F6F9;
}

.only-view .required {
    display: none;
}

#new-element {
    width: 100%;
    margin-bottom: 3px;
}

.num-oficina {
    display: none;
    font-weight: bold;
}

@media (max-width: 1550px) {
    .num-oficina {
        display: block;
    }

    .text-oficina {
        display: none;
    }
}

.bootstrap-switch-animate {
    float: right;
    margin-top: 1px;
}

@media (max-width: 600px) {
    .text-add-office {
        display: none;
    }
}

@media (max-width: 510px) {
    .num-oficina {
        display: none;
    }

    .text-oficina {
        display: none;
    }
}

@media (max-width: 450px) {

    .bootstrap-switch-animate {
        float: inherit;
        margin-top: 0;
    }
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown-notification .dropdown-menu .dropdown-menu-list > li a .time {
    max-width: 110px;
}

.label-strong {
    font-weight: bold;
}

.break-line {
    border-bottom: 1px solid #EFEFEF;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.input-url {
    padding: 4px 7px;
    background-color: #fff;
    border: 1px solid #e7ebf3;
    max-width: 554px;
    margin-top: 5px;
    font-size: 11px;
    font-family: Consolas, serif;
    width: 100%;
}

.sub-title {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
}

.padding-left-20 {
    padding-left: 20px;
}

.title-tab-dashboard {
    margin-top: 25px;
    color: #3B5689 ;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.title-tab-dashboard i {
    font-size: 16px;
}

.datatable-simple .dt-buttons {
    visibility: visible;
}

.datatable-simple .button.dt-button, div.dt-button, a.dt-button {
    border: 1px solid #424f62;
    background: #424f62;
    color: #fff;
}
.dataTables_length  select.input-sm {
    line-height: initial;
}


/*Quadre de mando*/
.color-danger {
    color:#FF0000 !important;
}
.color-success {
    color:#038d49 !important;
}
.color-green {
    color:#00FF00 !important;
}


/**
 * Ecommerce
 */

.float-right{
    float:right;
}


/**
 * Atencion al cliente
 */

  .attc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
  .attc-status-badge{
    display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;
    font-weight:600;font-size:12px;border:1px solid transparent;white-space:nowrap;
  }
  .attc-status-badge .attc-icon{
    width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;
    border-radius:50%;border:1px solid currentColor;font-size:10px;line-height:1;
  }
  .attc-status-inprogress{color:#2e6cf6;background:#eef4ff;border-color:#d7e2ff;}
  .attc-status-inprogress .attc-icon{color:#2e6cf6;}
  .attc-status-pending{color:#a86900;background:#fff5e5;border-color:#ffe2b8;}
  .attc-status-pending .attc-icon{color:#a86900;}
  .attc-status-closed{color:#167c43;background:#eafaf0;border-color:#c9f0d9;}
  .attc-status-closed .attc-icon{color:#167c43;}
  .cc-ellipsis{max-width:520px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;}
  /* Accesos directos (QA) */
  .qa-list{list-style:none;margin:0;padding:0;}
  .qa-list .list-group-item{border:1px solid #eef1f5;border-radius:8px;margin-bottom:10px;}
  .qa-item{display:flex;align-items:center;justify-content:space-between;gap:16px;}
  .qa-left{display:flex;align-items:flex-start;gap:12px;}
  .qa-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f5f7fb;color:#2e6cf6;}
  .qa-title{font-weight:600;margin:0;}
  .qa-desc{margin:2px 0 0;color:#6b7280;}

/**
 * Accesos directos
 */

.qa-list .list-group-item{
border:1px solid #e9edf2;
border-radius:12px;
background:#fff;
padding:16px 20px;
margin-bottom:12px;
}
.qa-item{
display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.qa-left{ display:flex; align-items:center; gap:16px; min-width:0; }
.qa-icon{
width:44px; height:44px; border-radius:10px;
display:flex; align-items:center; justify-content:center;
background:#eef4ff; color:#2e6cf6;
flex:0 0 44px;
}
.qa-text{ min-width:0; }
.qa-title{ margin:0; font-weight:600; color:#1f2d3d; }
.qa-desc{ margin:2px 0 0; color:#6b7c93; }
.qa-desc a{ color:#2e6cf6; text-decoration:none; }
@media (max-width:768px){
.qa-item{ flex-direction:column; align-items:flex-start; }
}

/* Barra de acciones de Atención al cliente */
.attc-toolbar{
  display:flex;
  width:100%;
  margin:8px 0 12px;
  align-items:center;
}
.attc-toolbar-right{
  justify-content:flex-end;   /* <-- a la derecha */
}

.table td .attc-actions{
  display: inline-flex;         /* que estén en línea */
  gap: 6px;                     /* separa botones */
  align-items: center;
  white-space: nowrap;          /* evita saltos de línea */
}
.table td .attc-actions .btn{
  padding: 2px 6px;             /* tamaño compacto */
  line-height: 1.2;
}
.table td:last-child{
  overflow: visible;            /* por si algún theme oculta overflow */
}
.dataTables_wrapper .table td{
  vertical-align: middle;       /* centra verticalmente */
}

/* Por si el tema “aplasta” .btn-default */
.attc-actions .btn.btn-default{
  background: #fff;
  border-color: #ddd;
  color: #333;
}

/* Estados disabled que sigan siendo visibles */
.attc-actions .btn[disabled]{
  opacity: .6;
  cursor: not-allowed;
}

/**
 * Notas cliente
 */

  /* Celda de acciones moderna para Notas */
  .notas-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;                /* separación entre botones */
    white-space: nowrap;     /* evita saltos de línea */
  }
  .btn-circle {
    border-radius: 50% !important;
    width: 28px;
    height: 28px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .btn-circle.btn-xs {       /* por si usas xs */
    width: 26px;
    height: 26px;
  }
  .btn-clean {               /* estilo limpio para el botón gris */
    background: #f3f6f9;
    border: 1px solid #e7ecf1;
    color: #4b5675;
  }
  .btn-clean:hover {
    background: #e9edf2;
    color: #2f3a56;
  }
  /* Icono un pelín más pequeño para que no “ahogue” el botón */
  .notas-actions i {
    font-size: 12px;
  }
  
/* ===== Módulo Tareas / Notas / Atención: estilos comunes ===== */

/* Acciones compactas (iconos redondos) */
.notas-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-circle {
  border-radius: 50% !important;
  width: 28px;
  height: 28px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-circle i { font-size: 12px; }
.btn-clean {
  background: #f3f6f9;
  border: 1px solid #e7ecf1;
  color: #4b5675;
}
.btn-clean:hover { background: #e9edf2; color: #2f3a56; }

/* Badges de estado (reutilizados) */
.attc-status-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size:12px;
  border:1px solid transparent;
}
.attc-status-pending { background:#fff7e6; color:#a06400; border-color:#ffe8bf; }
.attc-status-closed  { background:#e6ffed; color:#0f7b3e; border-color:#bdf3cf; }
.attc-icon { display:inline-flex; align-items:center; }

/* Texto con ellipsis */
.cc-ellipsis {
  display:inline-block;
  max-width: 520px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Toolbar a la derecha en portlet */
.tt-toolbar {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap: 8px;
}

/* ===== Tareas: modal bonito ===== */

.tareas-actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 8px;                /* separación entre botones */
white-space: nowrap;     /* evita saltos de línea */
}

.tareas-actions .btn-icon.finish{ color:#16a34a; } /* verde */


.tt-modal .modal-content {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.tt-modal .modal-header {
  border-bottom: 0;
  padding: 16px 22px 0 22px;
}

.tt-modal .modal-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
  padding-bottom: 20px;
}

.tt-modal .modal-body {
  padding: 6px 22px 4px 22px;
}

.tt-modal .modal-footer {
  border-top: 0;
  padding: 8px 22px 18px 22px;
}

/* Metronic form-md-line-input: separaciones + líneas más suaves */
.tt-modal .form-group.form-md-line-input {
  margin-bottom: 16px;
}
.tt-modal .form-md-line-input .form-control {
  height: 40px;
  padding-top: 8px;
}
.tt-modal .form-md-line-input > label {
  color: #62748a;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .2px;
}
.tt-modal .form-md-line-input .help-block {
  color: #9aa7b7;
  margin-top: 4px;
}

/* Textarea más agradable */
.tt-modal textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Select2 dentro de bootbox */
.tt-modal .select2-container--default .select2-selection--single {
  height: 40px;
  border-radius: 8px;
  border-color: #d7dde5;
}
.tt-modal .select2-selection__rendered {
  line-height: 40px;
  padding-left: 10px;
}
.tt-modal .select2-selection__arrow {
  height: 40px;
}
.tt-modal .select2-dropdown {
  border-color: #d7dde5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.tt-modal .select2-results__option--highlighted[aria-selected] {
  background: #eef5ff;
  color: #1f2d3d;
}

/* Input date/datetime “programada” */
.tt-modal .datetimepicker,
.tt-modal input[name="programada"] {
  border-radius: 8px !important;
}

/* Botones de footer */
.tt-modal .modal-footer .btn {
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 600;
}
.tt-modal .modal-footer .btn.default {
  background: #f3f6fa;
  color: #4b5b6b;
  border: 0;
}
.tt-modal .modal-footer .btn.green {
  background: #3bb273;
  border: 0;
}
.tt-modal .modal-footer .btn.green.disabled,
.tt-modal .modal-footer .btn.green:disabled {
  opacity: .7;
}

/* Ancho un poco mayor para formularios cómodos */
.tt-modal.tt-wide .modal-dialog {
  max-width: 920px;
}

/* Opcional: encabezados de sección dentro del formulario */
.tt-modal .tt-section-title {
  font-weight: 700;
  color: #2f3b4a;
  margin: 6px 0 2px;
}

/* Ellipsis helper (por si lo usas en tooltips/labels) */
.cc-ellipsis {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ficha-foto-api{
    width: auto!important;                /* no forzar */
    height: auto!important;               /* no forzar */
    max-width: min(100%, 417px)!important;
    max-height: 300px!important;
    display: block!important;
    margin: 0 auto!important;     
}

.auditoria-cambio{
    font-size: 15px;
    font-weight: 300;
    margin-top: 3px;
    color: #61ce08;
}

