.s-Administration-LanguageDialog > .size {
  width: 450px;
}
.s-Administration-LanguageDialog .caption {
  width: 120px;
}
.s-Administration-RoleDialog > .size {
  width: 450px;
}
.s-Administration-RoleDialog .caption {
  width: 120px;
}
.s-Administration-UserDialog > .size {
  width: 650px;
}
.s-Administration-UserDialog .caption {
  width: 150px;
}
.s-Administration-UserDialog .s-PropertyGrid .categories {
  height: 450px;
}
.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}
.s-UserPermissionDialog > .size,
.s-RolePermissionDialog > .size,
.s-UserRoleDialog > .size {
  min-width: 670px;
  width: 670px;
  min-height: 450px;
  height: 450px;
}
.s-UserPermissionDialog .s-DataGrid,
.s-RolePermissionDialog .s-DataGrid,
.s-UserRoleDialog .s-DataGrid {
  height: 100%;
}
.s-UserPermissionDialog .ui-dialog-content,
.s-RolePermissionDialog .ui-dialog-content,
.s-UserRoleDialog .ui-dialog-content {
  padding: 8px;
}
.s-PermissionCheckEditor .check-box {
  background-image: url(../serenity/images/tick-empty.png);
  background-position: center center;
  width: 22px;
  height: 22px;
  margin: 0;
}
.s-PermissionCheckEditor .check-box.checked {
  background-image: url(../serenity/images/tick-green.png);
  background-position: center center;
}
.s-PermissionCheckEditor .check-box.checked.revoke {
  background-image: url(../serenity/images/tick-red.png);
  background-position: center center;
}
.s-PermissionCheckEditor .check-box.partial {
  opacity: 0.8;
}
.s-PermissionCheckEditor .check-box.checked.partial {
  background-image: url(images/tick-green-partial.png);
}
.s-PermissionCheckEditor .check-box.checked.revoke.partial {
  background-image: url(images/tick-red-partial.png);
}
.s-PermissionCheckEditor .effective-permission {
  cursor: default;
  padding-left: 22px;
  background-image: url(../serenity/images/check2.png);
  background-repeat: no-repeat;
  background-position: left center;
}
.s-PermissionCheckEditor .effective-permission.partial {
  background-image: url(../serenity/images/checkbox-null.png);
}
.s-PermissionCheckEditor .effective-permission.deny {
  background-image: url(../serenity/images/slash.png);
}

.doc-symbol-ok {
  padding: 2px 0px 2px 30px;
  background: url(../site/images/check.png) no-repeat center left;
  background-size: contain;
}

.doc-symbol-no {
  padding: 2px 0px 2px 30px;
  background: url(../site/images/uncheck.png) no-repeat center left;
  background-size: contain;
}
span.slick-group-title {
  position: relative;
  left: 20px;
}

.small-box {
  padding: 5px;
  margin: 5px;
  background: #DDD;
  position: relative;
  min-height: 125px;
}
  .small-box .icon {
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    font-size: 90px;
    color: rgba(0, 0, 0, 0.15);
  }
.s-sidebar-header-logout, .s-sidebar-header-note {
  float: left;
  display: flex;
  margin-left: auto;
  color: white;
  font-size: 25px;
  display:none;
}
@media screen and (max-width: 1024px) {
  .form-horizontal .form-group {

    margin: 5px!important;
  
    margin-bottom: 7px!important;
  }
  ul.s-sidebar-header-actions {
    display: none;
  }
  button#s-sidebar-toggler {
    display: none;
  }
  .s-sidebar-header-branding {
    flex: 1;
    justify-content: center;
    display: flex;
    height: 100%;
  }
  .s-sidebar-header-logo {
    height: 100%;
  }
  .s-sidebar-header {
    height: 70px !important;
  }


  .s-sidebar-header-logout, .s-sidebar-header-note {
    color: white;
    font-size: 50px;
    display: block;
  }
  }


.orangeLine .slick-cell,
.orangeLine .slick-cell a {
  background: #F8B928;
  color: black !important;
  font-weight: 600;
}
.redLine .slick-cell,
.redLine .slick-cell a {
  background: #E76363;
  color: black !important;
  font-weight: 600;
}
.blueLine .slick-cell,
.blueLine .slick-cell a {
  background: #3984C6;
  color: black !important;
  font-weight: 600;
}

.greenLine .slick-cell, .greenLine .slick-cell a {
  background: #8AE48D;
}


.small-box:hover .icon {
  font-size: 100px;
}

.bg-yellow-active, .modal-warning .modal-header, .modal-warning .modal-footer {
  background-color: #db8b0b !important;
}
.bg-olive-active {
  background-color: #368763 !important;
}
.bg-red-gradient {
  background: #dd4b39 !important;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dd4b39), color-stop(1, #e47365)) !important;
  background: -ms-linear-gradient(bottom, #dd4b39, #e47365) !important;
  background: -moz-linear-gradient(center bottom, #dd4b39 0%, #e47365 100%) !important;
  background: -o-linear-gradient(#e47365, #dd4b39) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e47365', endColorstr='#dd4b39', GradientType=0) !important;
  color: #fff;
}
.bg-green, .callout.callout-success, .alert-success, .label-success, .modal-success .modal-body {
  background-color: #00a65a !important;
}
.bg-blue-gradient {
  background: #0073b7 !important;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0073b7), color-stop(1, #0089db)) !important;
  background: -ms-linear-gradient(bottom, #0073b7, #0089db) !important;
  background: -moz-linear-gradient(center bottom, #0073b7 0%, #0089db 100%) !important;
  background: -o-linear-gradient(#0089db, #0073b7) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0089db', endColorstr='#0073b7', GradientType=0) !important;
  color: #fff;
}
.bg-light-blue-active, .modal-primary .modal-header, .modal-primary .modal-footer {
  background-color: #357ca5 !important;
}
.bg-orange {
  background-color: #ff851b !important;
}
.bg-yellow-active, .modal-warning .modal-header, .modal-warning .modal-footer {
  background-color: #db8b0b !important;
}
.fa-file-excel-o, .fa-file-excel {
  color: green !important;
}
/*

    GRID PRESUPUESTOS
*/

.quick-filters-bar {
  /*display: none;*/
}

.divGastos {
  display: inline-flex;
  min-width: 300px;
}

#cantidadTotalGastos, #cantidadTotalCobros, #cantidadTotalBeneficios, #cantidadTotalFacturado, #cantidadTotalCoste, #cantidadTotalPendienteCobro {
  margin-left: 10px;
  margin-right: 10px;
}

.s-TabBalance .slick-viewport {
  max-height: 90px !important;
  max-width: 100vw;
}

.s-TabBalance .slick-header-columns {
  max-width: 2000px;
}
/*ENDGRIDPRESUPEUSTOS*/

.panel-heading {
  color: #333333;
  background-color: #f5f5f5;
  border-color: #ddd;
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  border-color: #ddd;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn-app {
  border-radius: 3px;
  position: relative;
  padding: 15px 5px;
  margin: 0 0 10px 10px;
  min-width: 80px;
  height: 60px;
  text-align: center;
  color: #666;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
  font-size: 12px;
}
  .btn-app .fa {
    font-size: 20px;
    display: block;
  }
.bg-purple {
  background-color: #605ca8 !important;
}
.btn-app > .badge {
  position: absolute;
  top: -3px;
  right: -10px;
  font-size: 10px;
  font-weight: 400;
}

.form-horizontal .form-group {
  margin-right: -15px;
  margin-left: -15px;
}

.form-group {
  margin-bottom: 15px;

}
.panel-body {
  padding: 20px;
}
.col-md-3,.col-md-7 {
  float: left;
}

.clearfix:after, .dl-horizontal dd:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-header:after, .modal-footer:after {
  clear: both;
}
.clearfix:before, .clearfix:after, .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-header:before, .modal-header:after, .modal-footer:before, .modal-footer:after {
  display: table;
  content: " ";
}
.box-footer {
  padding: 10px;
}
label {
  display: inline-block;
  font-weight: bold;
}
ul.dropdown-menu {
  padding: 3px;
}
  ul.dropdown-menu li div {
    padding: 4px;
  }
.fav .fa {
  cursor: pointer;
}
/*
            LOADER

            */

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  z-index: 1000;
  background: rgba(255,255,255,0.7);
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: #333;
  -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
  z-index: 1001;
}

  #loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 7px solid transparent;
    border-top-color: #CCC;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #333;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
  }

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg); /* IE 9 */
    transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
  }

  100% {
    -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg); /* IE 9 */
    transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg); /* IE 9 */
    transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
  }

  100% {
    -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg); /* IE 9 */
    transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
  }
}
.my-legend .legend-title {
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 90%;
  color: black;
}

.my-legend .legend-scale ul {
  margin: 0;
  margin-bottom: 5px;
  padding: 0;
  float: left;
  list-style: none;
}

  .my-legend .legend-scale ul li {
    font-size: 80%;
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    margin-bottom: 2px;
    color: #101010;
  }

.my-legend ul.legend-labels li span {
  display: block;
  float: left;
  height: 16px;
  width: 30px;
  margin-right: 5px;
  margin-left: 0;
  border: 1px solid #EAAF03;
}

.my-legend .legend-source {
  font-size: 70%;
  color: #999;
  clear: both;
}

.my-legend a {
  color: #777;
}

.my-legend {
  float: right;
  position: relative;
  background: white;
  border: 3px solid #CCC;
  margin: 5px;
  padding: 7px;
  top: -20px;
}

.s-Gastos-GastosInstanciaDetailsEditor {
  height: 800px;
}
.s-CuotasDetailsEditor, .s-CuotasNDetailsEditor {
  height: 400px;
}
.s-DetallefacturaclienteDetailsEditor, .s-CobrosDetailsEditor {

height:300px;
}
.s-AlbaranesproveedorDetailsEditor {
  height: 400px;
}

.s-Serenity-PropertyGrid .quick-filters-bar {
  display: none;
}
.inline-action.print-invoice {
  cursor: pointer;
}

.percent-complete-bar {
  display: inline-block;
  height: 6px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.nope {
  background: #dc3545!important;
  color:white!important;
}
.redLineBase .slick-cell.col-base {
  background: #dc3545 !important;
  color: white !important;
  font-weight: 600;
}
.small-box {
  color: black !important;
  border-radius: 15px;
}
.s-sidebar-header-logo {
  max-width: 281px;
  max-height: 90px;
}

.s-sidebar-header-logo {
  max-width: 281px;
  background: url(/Content/site/images/testSvgW.svg);
  max-height: 90px;
  width: 200px;
  height: 200px;
  background-size: contain;
  display: block;
  background-repeat: no-repeat;
}
@media screen and (max-width: 1024px) {
  .s-sidebar-header-logo {
    max-width: 250px !important;
    max-height: 65px !important;
    background: url(/Content/site/images/testSvgWxs.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center !important;
  }
}
.s-sidebar-header-note i, .s-sidebar-header-logout i {
  padding: 0px 10px;
}
[readonly*="true"], [read-only*="true"] {
  pointer-events: none;
  opacity: 0.6;
}
@font-face {
  font-family: hand;
  src: url(../../Fonts/JustAnotherHand-Regular.ttf);
}

.col-12:nth-child(odd) .note {
  /*-webkit-transform: rotate(2deg) !important;*/
  margin: -5px 0px;
  box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  left: 10px;
  font-family: hand;
  border-radius: 0;
  line-height: 1;
  text-align: center;
  position: relative;
  border: 1px solid #E8E8E8;
  border-bottom-right-radius: 60px 5px;
  background: #ffff88;
  background: -moz-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
  background: -webkit-gradient(linear, left top, right bottom, color-stop(81%,#ffff88), color-stop(82%,#ffff88), color-stop(82%,#ffff88), color-stop(100%,#ffffc6));
  background: -webkit-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  background: -o-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  background: -ms-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  background: linear-gradient(135deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff88', endColorstr='#ffffc6',GradientType=1 );
}
.col-12:nth-child(even) .note {
  /*-webkit-transform: rotate(-2deg) !important;*/
  margin: 3px 0px;
  box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  left: -10px;
  font-family: hand;
  border-radius: 0;
  border-radius: 0;
  line-height: 1;
  text-align: center;
  position: relative;
  border: 1px solid #E8E8E8;
  border-bottom-left-radius: 60px 5px;
  background: #ffff88;
  background: -moz-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
  background: -webkit-gradient(linear, left top, right bottom, color-stop(81%,#ffff88), color-stop(82%,#ffff88), color-stop(82%,#ffff88), color-stop(100%,#ffffc6));
  background: -webkit-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  background: -o-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  background: -ms-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  background: linear-gradient(135deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff88', endColorstr='#ffffc6',GradientType=1 );
}
.note .fa-note-sticky {
  display: none;
}
.note .inner {
  width: 100%;
  text-align: left;
  padding: 3px 5px 15px 5px;
}
.note h4 {
  position: absolute;
  bottom: -5px;
  left: 10px;
}
.note h3 {
  display: -webkit-box;
  max-width: 100%;
  width:100%;
  height: 75px;
  margin: 0 auto;
  font-size: 26px;
  line-height: 1;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
i.icon.fa.fa-sign-out-alt {
  transform: rotate(180deg);
}

.s-sidebar-pane {
  overflow-y: scroll;
}
.todo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
}
  .todo-list > li {
    border-radius: 2px;
    padding: 10px;
    background: #f4f4f4;
    margin-bottom: 2px;
    border-left: 2px solid #e6e7e8;
    color: #444;
    display: flex;
    align-items: center;
  }

.todo-list .handle {
  display: inline-block;
  cursor: move;
  margin: 0 5px;
}
.todo-list > li > input[type='checkbox'] {
  margin: 0 10px 0 5px;
}
.todo-list > li .text {
  display: inline-block;
  margin-left: 5px;
  font-weight: 600;
}
.todo-list > li .label {
  margin-left: 10px;
  font-size: 9px;
}
  .todo-list .text {
    width: calc(100% - 100px);
   /* overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    */
  }
.dash {
  padding: 10px;
  background: white;
}

.bg-red, .callout.callout-danger, .alert-danger, .alert-error, .label-danger, .modal-danger .modal-body {
  background-color: #dd4b39 !important;
}
.bg-yellow, .callout.callout-warning, .alert-warning, .label-warning, .modal-warning .modal-body {
  background-color: #f39c12 !important;
}
.bg-aqua, .callout.callout-info, .alert-info, .label-info, .modal-info .modal-body {
  background-color: #00c0ef !important;
}
.bg-light-blue-active, .modal-primary .modal-header, .modal-primary .modal-footer {
  background-color: #357ca5 !important;
}
.bg-gray {
  color: #000;
  background-color: #d2d6de !important;
}
.bg-gray-active {
  color: #000;
  background-color: #b5bbc8 !important;
}

  @media screen and (min-width: 768px) {
    .col-md-2 .butoner .icon {
      font-size: 10vw;
    }
    .small-box h3 {
      font-size: 2.5vw;
    }
    .small-box .inner span {
      font-size: calc(2vw);
    }
    .small-box .icon {
      font-size: 15vw;
    }
  }


.small-box {
  padding: 5px;
  margin: 5px;
  background: #DDD;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  min-height: 0;
  border-radius: 12px;
}

  .small-box .icon {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
  }

.dark .icon {
  color: rgba(255, 255, 255);
  opacity: 0.3;
}

.small-box.dark {
  color: white !important;
}

.parteBox .icon {
  right: 100px;
  font-size: 20vw;
}

.parteBox.note .icon {
  right: 11vw;
}

.parteBox {
  /*aspect-ratio: 7/2;*/

  justify-content: flex-start;
  height: 130px;
  width: 100%;
}

.butonerC {
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.butoner .icon {
  font-size: 16vw;
}

.icon.backI {
  color: rgba(26, 67, 75, 0.75);
}

.icon.partI {
  color: rgba(26, 67, 75, 0.75)
}

.butoner {
  border-radius: 15px;
}

.notF {
  BORDER: 7PX DASHED RED;
}

button.butoner.small-box {
  width: 85%;
  border: none;
}

button.butoner.small-box {
  width: -webkit-fill-available;
  border: none;
}

a {
  text-decoration: none;
}
