.margin-top-0{margin-top: 0;}
.margin-top-20{margin-top: 20px;}
.margin-top-30{margin-top: 30px;}
.margin-top-40{margin-top: 40px;}

.separador5{height: 5px;clear:both;}
.separador10{height: 10px;clear:both;}
.separador20{height: 20px;clear:both;}
.separador40{height: 40px;clear:both;}
.separador50{height: 50px;clear:both;}
.mayus{text-transform: uppercase;}
.negrita{font-weight: bold;}
.cursiva{font-style: italic;}
.linea {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #D2D6DE;
  margin: 1em 0;
  padding: 0;
}
.width5{width: 5%;}
.width10{width: 10%;}
.width15{width: 15%;}
.width20{width: 20%;}
.width25{width: 25%;}
.width30{width: 30%;}
.width40{width: 40%;}
.width45{width: 45%;}
.width50{width: 50%;}
.width60{width: 60%;}
.width70{width: 70%;}
.width75{width: 75%;}
.width80{width: 80%;}
.width90{width: 90%;}
.width100{width: 100%;}
.clickable{cursor: pointer; cursor: hand;}
.float-left{float: left;}
.float-right{float: right;}
.text-14{font-size: 14px;}

/** Elementos comunes **/
body{
  color: #333;
  background-color: #2F3575;
  font-size: 14px;
}
.form-control{border: 1px solid #ccc;}
.form-group {margin-bottom: 5px;}
.navbar-default{font-size: 14px;}
.fa-custom {font-size: 1.3em !important;}
a{color:#4a72b2;}
a:hover{color:#2F3575; text-decoration: underline;}
.alert {
  margin-bottom: 15px;
  padding: 12px 15px;
}
.alert ~ .alert {
  margin-top: -5px;
}
.alert > ul:only-child {
  margin: 1px 0;
  padding-left: 15px;
}
.alert > ul:only-child > li {
  margin-bottom: 3px;
}
.alert > ul:only-child > li:last-child {
  margin-bottom: 0;
}
.table{
  margin-bottom: 0;
}
.table>tbody>tr>td>.media img {
  width: 25px;
  height: 25px;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #ececec;
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
  border-top: 1px solid #e0e0e0;
}
hr {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 0;
  border-top: 1px solid #e0e0e0;
}
.ibox{
  margin-bottom: 15px;
}
.ibox-title,
.ibox-footer {
  padding: 12px 15px;
}
.ibox-title {
  border-color: #4a72b2;
}
.ibox-title h3 {
  line-height: 30px;
  margin: 0;
}
.ibox-content {
  padding: 15px;
}
.ibox-content > .table-responsive {
  margin: -3px 0;
}
.ibox-content > p:last-child {
  margin-bottom: 5px;
}
.img-circle {
  line-height: 1.5;
  border-radius: 3px;
  border: 1px solid #ccc;
}
.pace .pace-progress {
  background: #2F3575;
}
.img-contacto{
  cursor: pointer;
  float: left;
}
.img-contacto img {
  display: block;
  width: auto;
}
@media(min-width: 480px){
  .filtro {
    display: inline;
    width: auto !important;
  }
}
@media(max-width: 992px){
  .vmargin{margin-top: 5px;margin-bottom: 5px;}
}

/** Pié de página **/
#page-wrapper {
  min-height: 100vh;
  padding-bottom: 120px;
  position: relative;
}
#page-wrapper footer {
  bottom: 0;
  height: 120px;
  left: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: auto;
}

/** Paginador **/
.pagination {
  display: block;
  margin: 0;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #4a72b2;
  border-color: #5785ce;
  color: #fff;
}

/** Breadcrumbs **/
.breadcrumb > .active {
  font-weight: bold;
}
.page-heading {
  padding: 10px;
  font-size: 14px;
}

/** Login **/
.login-background{
  background: #f3f3f4;
  background:url(../img/fondo-login-abogaplus.jpg);
}
.loginscreen.middle-box{
  margin-top: 20px;
  border: 1px solid #5785ce;
  padding: 20px;
  background: #ffffff;
  border-radius: 5px;
}

/** Menu **/
body.mini-navbar .logo{display: none;}
.nav-header{padding: 10px;}
.nav > li.active {
  border-left: 4px solid #4a72b2;
  background: #13142d;
}
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus {
  background-color: #13142d;
  color: white;
}
.nav > li > a {
  color: #d8d8d8;
}
body.mini-navbar .nav-header {
  background-color: #2f3575;
}

/** Botón link **/
.btn-link {
  color: #4a72b2;
}

.btn-link:focus, .btn-link:hover {
  color: #23527c;
}

/** Botón default **/
.btn-default {
  color: #fff;
  background: #4a72b2;
  border: 1px solid #5785ce;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default,
.btn-default:active:focus,
.btn-default:active:hover,
.btn-default.active:hover,
.btn-default.active:focus {
  color: #fff;
  background: #476da9;
  border: 1px solid #4a72b2;
}
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset;
}
.btn-default.disabled,
.btn-default.disabled:hover,
.btn-default.disabled:focus,
.btn-default.disabled:active,
.btn-default.disabled.active,
.btn-default[disabled],
.btn-default[disabled]:hover,
.btn-default[disabled]:focus,
.btn-default[disabled]:active,
.btn-default.active[disabled],
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-default:hover,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default:active,
fieldset[disabled] .btn-default.active {
  color: #3f6094;
}
.btn-default.disabled, .btn-default.disabled.active, .btn-default.disabled.focus, .btn-default.disabled:active, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled], .btn-default[disabled].active, .btn-default[disabled].focus, .btn-default[disabled]:active, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default.active, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover{
  background: #4f7abd;
  border: 1px solid #5785ce;
  color: #fff;
}

/** Nav tabs **/
.nav-tabs-custom {
  background: #fff;
}
.nav-tabs-custom .nav > li.active {
  border-left: none;
  background: none;
}
.nav-tabs-custom > .nav-tabs {
  margin: 0;
  border-bottom: 0px;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}
.nav-tabs-custom > .nav-tabs > li {
  border-top: 3px solid transparent;
  margin-bottom: -2px;
  margin-right: 5px;
}
.nav-tabs-custom > .nav-tabs > li > a {
  color: #444;
  border-radius: 0;
}

.nav-tabs-custom > .nav-tabs > li > a.text-muted {
  color: #999;
}
.nav-tabs-custom > .nav-tabs > li > a,
.nav-tabs-custom > .nav-tabs > li > a:hover {
  background: transparent;
  margin: 0;
}
.nav-tabs-custom > .nav-tabs > li > a:hover {
  color: #999;
}
.nav-tabs-custom > .nav-tabs > li:not(.active) > a:hover,
.nav-tabs-custom > .nav-tabs > li:not(.active) > a:focus,
.nav-tabs-custom > .nav-tabs > li:not(.active) > a:active {
  border-color: transparent;
}
.nav-tabs-custom > .nav-tabs > li.active {
  border-top-color: #4a72b2;
}
.nav-tabs-custom > .nav-tabs > li.active > a,
.nav-tabs-custom > .nav-tabs > li.active:hover > a {
  background-color: #fff;
  color: #444;
}
.nav-tabs-custom > .nav-tabs > li.active > a {
  border-top-color: transparent;
  border-left-color: #e0e0e0;
  border-right-color: #e0e0e0;
  border-bottom-color: white;
}
.nav-tabs-custom > .nav-tabs > li:first-of-type {
  margin-left: 0;
}
.nav-tabs-custom > .nav-tabs > li:first-of-type.active > a {
  border-left-color: #e0e0e0;
}
.nav-tabs-custom > .nav-tabs.pull-right {
  float: none!important;
}
.nav-tabs-custom > .nav-tabs.pull-right > li {
  float: right;
}
.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type {
  margin-right: 0;
}
.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type > a {
  border-left-width: 1px;
}
.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type.active > a {
  border-left-color: #e0e0e0;
  border-right-color: transparent;
}
.nav-tabs-custom > .nav-tabs > li.header {
  line-height: 35px;
  padding: 0 10px;
  font-size: 20px;
  color: #444;
}
.nav-tabs-custom > .nav-tabs > li.header > .fa,
.nav-tabs-custom > .nav-tabs > li.header > .glyphicon,
.nav-tabs-custom > .nav-tabs > li.header > .ion {
  margin-right: 5px;
}
.nav-tabs-custom > .tab-content {
  background: #fff;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  margin-top: 5px;
}
.nav-tabs-custom .dropdown.open > a:active,
.nav-tabs-custom .dropdown.open > a:focus {
  background: transparent;
  color: #999;
}

.nav-tabs-custom .nav > li > a {
  color: #333;
  padding: 10px 15px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  color: #fff;
  background-color: #4a72b2;
}
.nav-pills>li {
  margin: 2px 0 2px 0;
}

/**Label**/
.label {
  border: 1px solid #dddddd;
}
.label-default, .badge-default {
  background-color: #4a72b2;
  color: #FFFFFF;
}
.label-success, .badge-success {
  background-color: #1ab394;
  color: #FFFFFF;
}
.label-warning, .badge-warning {
  background-color: #f8ac59;
  color: #FFFFFF;
}
.label-grey, .badge-grey {
  background-color: #d1dade;
  color: #5e5e5e;
}

/**Panel**/
.panel {
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 0;
}

.panel-heading {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.panel-footer {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.panel-heading, .panel-body, .panel-footer{padding: 7px;}

.panel-default {border-left: 3px solid #4a72b2;}
.panel-primary {border-left: 3px solid #1c84c6;}
.panel-success {border-left: 3px solid #1ab394;}
.panel-info {border-left: 3px solid #23c6c8;}
.panel-warning {border-left: 3px solid #f8ac59;}
.panel-danger {border-left: 3px solid #ec4758;}

.panel-default > .panel-heading, 
.panel-primary > .panel-heading,
.panel-success > .panel-heading,
.panel-info > .panel-heading,
.panel-warning > .panel-heading,
.panel-danger > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}

.panel-hover.panel-default:hover{ 
  border: 1px solid #4a72b2;
  border-left: 3px solid #4a72b2;
}
.panel-hover.panel-default:hover .panel-heading,
.panel-hover.panel-default:hover .panel-footer{ 
  background-color: #4a72b2 !important;
  color: #FFFFFF;
}
.panel-hover.panel-default:hover .btn{ 
  border: 1px solid #a4b8d8;
}

.panel-hover.panel-primary:hover{ 
  border: 1px solid #1c84c6;
  border-left: 3px solid #1c84c6;
}
.panel-hover.panel-primary:hover .panel-heading,
.panel-hover.panel-primary:hover .panel-footer{ 
  background-color: #1c84c6 !important;
  color: #FFFFFF;
}
.panel-hover.panel-primary:hover .btn{ 
  border: 1px solid #8dc1e2;
}

.panel-hover.panel-success:hover{ 
  border: 1px solid #1ab394;
  border-left: 3px solid #1ab394;
}
.panel-hover.panel-success:hover .panel-heading,
.panel-hover.panel-success:hover .panel-footer{ 
  background-color: #1ab394 !important;
  color: #FFFFFF;
}
.panel-hover.panel-success:hover .btn{ 
  border: 1px solid #8cd9c9;
}

.panel-hover.panel-info:hover{ 
  border: 1px solid #23c6c8;
  border-left: 3px solid #23c6c8;
}
.panel-hover.panel-info:hover .panel-heading,
.panel-hover.panel-info:hover .panel-footer{ 
  background-color: #23c6c8 !important;
  color: #FFFFFF;
}
.panel-hover.panel-info:hover .btn{ 
  border: 1px solid #91e2e3;
}

.panel-hover.panel-warning:hover{ 
  border: 1px solid #f8ac59;
  border-left: 3px solid #f8ac59;
}
.panel-hover.panel-warning:hover .panel-heading,
.panel-hover.panel-warning:hover .panel-footer{ 
  background-color: #f8ac59 !important;
  color: #FFFFFF;
}
.panel-hover.panel-warning:hover .btn{ 
  border: 1px solid #fbd5ac;
}

.panel-hover.panel-danger:hover{ 
  border: 1px solid #ec4758;
  border-left: 3px solid #ec4758;
}
.panel-hover.panel-danger:hover .panel-heading,
.panel-hover.panel-danger:hover .panel-footer{ 
  background-color: #ec4758 !important;
  color: #FFFFFF;
}
.panel-hover.panel-danger:hover .btn{ 
  border: 1px solid #f5a3ab;
}

/** Error container **/
#errorContainer {
  display: none;
  padding: 5px;
}
#errorContainer label {
  float: none;
  width: auto;
}
label.error {
  margin-bottom: 0;
}

/** Progress bar **/
.progress {
  margin-top: 5px;
}

/** Upload Documentos **/
.upload-documentos, .create-carpeta {
  border: 1px solid #5785ce;
  border-radius: 5px;
  background: #4a72b2;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #FFFFFF;
}
.upload-documentos:hover, .create-carpeta:hover {
  color: #fff;
  background: #476da9;
  border: 1px solid #4a72b2;
}
.upload-documentos.dragover {
  background: #e4e4e4;
  color: #000000;
  border: 1px solid #FFFFFF;
}
.progress {
  margin-bottom: 0;
}


/** Modal **/
.model-header, .modal-body {
  padding: 10px !important;
}
.modal {
  text-align: center;
  padding: 0!important;
}
.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
.modal-header {
  padding: 10px;
}
.bootstrap-dialog .bootstrap-dialog-title {
  font-size: 14px;
}

/** Label **/
.label {
  font-size: 12px;
}
.etiqueta {
  margin: 1px;
  padding: 5px 8px;
  display: inline-block;
}

/*Select2*/
.has-error .select2-selection {
  border: 1px solid #ed5565;
  border-radius: 4px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: solid #66afe9 1px;
}
.select2-dropdown {
  border: solid #66afe9 1px;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
  border: 1px solid #ccc;
}

/*Calendar*/
#calendar {
  margin: 10px auto;
  padding: 0 10px;
}

span.select2-container {
  z-index:10050;
  width: 50%;
}

/**************Documentos****************/

.lista-explorador{
  list-style:none;
  padding: 0;
  border: 1px solid #eee;
  overflow-x: hidden;
  overflow-y: auto;
}

.lista-explorador > li {
  padding: 5px;
}

.lista-explorador > .item-explorador{
  border-bottom: 1px solid #ebebeb;
  position: relative;
  background-color: white;
  cursor: pointer;
  vertical-align: middle;
}

.lista-explorador > .item-explorador:hover{
  position: relative;
  background-color: #e4e4e4;
  color: #000000;
}

.lista-explorador > .item-explorador-selected{
  background-color: #5e5e5e;
  color: #ffffff;
}

.lista-explorador > .item-explorador-selected:hover{
  background-color: #5e5e5e;
  color: #ffffff;
}

.item-explorador-title{
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.item-explorador-actions button, .item-explorador-actions a {
  margin-right: 5px;
  margin-bottom: 5px;
}

/* SHADES */
.shade {

  display: flex;
  justify-content: center;
  align-items: center;

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  background: rgba(243, 243, 244, 0.50);
  z-index: 10000;
}
.shade-gap {

  display: flex;
  justify-content: center;
  align-items: center;

  height: 450px;
  width: auto;
}
.shade-title,
.shade-description {
  color: #171717;
  text-align: center;
  text-shadow: 0 0 13px #606060;
}
.shade-title {
  font-size: 60px;
}
.shade-title strong {
  font-size: 72px;
}
.shade-description {
  font-size: 24px;
}

/* LOADER */
.loader {
  display: inline-block;
  position: relative;
  width: 98px;
  height: 98px;
}
.loader div {
  position: absolute;
  width: 11px;
  height: 11px;
  background: #b6b6b6;
  border-radius: 50%;
  animation: loader 1.6s linear infinite;
}
.loader div:nth-child(1) {
  animation-delay: -1.5s;
  top: 43px;
  left: 86px;
}
.loader div:nth-child(2) {
  animation-delay: -1.4s;
  top: 60px;
  left: 82px;
}
.loader div:nth-child(3) {
  animation-delay: -1.3s;
  top: 73px;
  left: 73px;
}
.loader div:nth-child(4) {
  animation-delay: -1.2s;
  top: 82px;
  left: 60px;
}
.loader div:nth-child(5) {
  animation-delay: -1.1s;
  top: 86px;
  left: 43px;
}
.loader div:nth-child(6) {
  animation-delay: -1.0s;
  top: 82px;
  left: 26px;
}
.loader div:nth-child(7) {
  animation-delay: -0.9s;
  top: 73px;
  left: 13px;
}
.loader div:nth-child(8) {
  animation-delay: -0.8s;
  top: 60px;
  left: 4px;
}
.loader div:nth-child(9) {
  animation-delay: -0.7s;
  top: 43px;
  left: 0;
}
.loader div:nth-child(10) {
  animation-delay: -0.6s;
  top: 26px;
  left: 4px;
}
.loader div:nth-child(11) {
  animation-delay: -0.5s;
  top: 13px;
  left: 13px;
}
.loader div:nth-child(12) {
  animation-delay: -0.4s;
  top: 4px;
  left: 26px;
}
.loader div:nth-child(13) {
  animation-delay: -0.3s;
  top: 0;
  left: 43px;
}
.loader div:nth-child(14) {
  animation-delay: -0.2s;
  top: 4px;
  left: 60px;
}
.loader div:nth-child(15) {
  animation-delay: -0.1s;
  top: 13px;
  left: 73px;
}
.loader div:nth-child(16) {
  animation-delay: 0s;
  top: 26px;
  left: 82px;
}
@keyframes loader {
  0%, 35%, 65%, 100% {
    background: #b6b6b6;
  }
  50% {
    background: #b9000f;
  }
}
