﻿
h3, .h3 {
    font-size: 18px;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 5px;
    margin-bottom: 9.5px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
    text-rendering: optimizelegibility;
}

.h7, h7 {
    font-size: 10px;
    display: block;
    margin-top: 0px;
}

.h8, h8 {
    font-size: 8px;
    display: block;
}

hr {
    height: 1px;
    color: black;
    background-color: black;
    border: none;
}

.page-header.navbar .page-logo .logo-default {
    margin: 10px 10px 0;
}

.page-header.navbar .page-top {
    height: 74px;
    float: right;
}

.logo-default {
    width: 72px;
    height: 42px;
}

.headerLinks {
    color: white !important;
    padding-right: 20px !important;
    background-color: transparent !important;
}

.headerLinks > a, a:hover, a:focus {
    font-weight: bold;
}

.normalHeader {
    font-weight: normal;
    padding-right: 20px; 
    color: white;
}

.nav > li > a:focus, .nav > li > a:hover {
    font-weight: bold;
    color: white;
    background: #0078d4;
}

.nav > li > a {
    padding-bottom: 6px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 6px;
}

.form-horizontal {
    border: 2px solid black;
}

.modal-lg {
  width: 900px !important;
}

.panel-heading {
  padding: 0px 15px;
}

.panel-heading-normal {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    padding: 5px 15px;
}

.panel-heading > label {
    /*color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;*/
    padding-top: 4px;
}
/* 
.page-header.navbar {
    background: #0078d4;
}

.page-header.navbar .page-top {
    background: #0078d4;
} */

.page-content-wrapper .page-content {
    padding: 0px 0px 0px 20px;
}

.page-sidebar.navbar-collapse {
    min-height: 480px;
}

.text-bold {
    font-weight: bold;
}

body {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

.k-autocomplete, .k-colorpicker, .k-combobox, .k-datepicker, .k-datetimepicker, .k-dropdown, .k-dropdowntree, .k-listbox, .k-multiselect, .k-numerictextbox, .k-selectbox, .k-textbox, .k-timepicker, .k-toolbar .k-split-button {
    width: 100%;
}

.k-button.k-button-icon > a, a:hover, a:focus {
    font-weight: bold;
    color: black;
}

input.k-textbox, textarea.k-textbox {
    padding: 0px;
    margin-bottom:6px;
    margin-left:0px;
    margin-right:3px;
    margin-top:0px;
    height: 30px;
    width: calc(100% - 30px);
}

span.k-widget.k-autocomplete.k-state-default {
    padding: 0px;
    margin-bottom:6px;
    margin-left:0px;
    margin-right:3px;
    margin-top:0px;
    height: 33px;
    width: calc(100% - 30px); 
}


span.k-widget.k-datepicker {
    padding: 0px;
    margin-bottom:6px;
    margin-left:0px;
    margin-right:3px;
    margin-top:0px;
    height: 30px;
}

span.k-widget.k-datetimepicker {
    padding: 0px;
    margin-bottom:6px;
    margin-left:0px;
    margin-right:3px;
    margin-top:0px;
    height: 30px;
}

span.k-widget.k-numerictextbox {
    padding: 0px;
    margin-bottom:6px;
    margin-left:0px;
    margin-right:3px;
    margin-top:0px;
    height: 30px;
    width: calc(100% - 30px);
}

td > span.k-widget.k-numerictextbox {
    margin-right: 3px;
    margin-bottom: 6px;
    width: 100%;
}

span.k-widget.k-dropdown {
    padding: 0px;
    margin-left: 0px;
    margin-top: 3px;
    margin-bottom: 12px;
    margin-right: 3px;
    height: 24px;
    width: calc(100% - 30px);
}

td > span.k-widget.k-dropdown {
    margin-right: 3px;
    margin-bottom: 6px;
    width: 100%;
}

span.k-widget.k-maskedtextbox {
    padding: 0px;
    margin-bottom: 6px;
    margin-left: 0px;
    margin-right: 3px;
    margin-top: 0px;
    height: 28px;
    width: calc(100% - 30px);
}

td > span.k-widget.k-maskedtextbox {
    margin-right: 3px;
    margin-bottom: 6px;
    height: 28px;
    width: 100%;
}

td > span.k-widget.k-combobox.k-header.k-combobox-clearable {
    margin-right: 3px;
    margin-bottom: 6px;
    width: 100%;
}

span.k-widget.k-combobox.k-header.k-combobox-clearable {
    margin-right: 3px;
    margin-bottom: 6px;
    width: calc(100% - 30px);
}

td > span.k-widget.k-combobox {
    margin-right: 3px;
    margin-bottom: 6px;
    width: 100%;
}

span.k-widget.k-combobox {
    margin-right: 3px;
    margin-bottom: 6px;
    width: calc(100% - 30px);
}

div.k-widget.k-multiselect {
    padding: 0px;
    margin-bottom: 6px;
    margin-left: 0px;
    margin-right: 3px;
    margin-top: 0px;
    display: inline-block;
    width: calc(100% - 30px);
}

/* input.k-input {
    height:26px;
} */

span.k-widget.k-autocomplete.k-autocomplete-clearable.k-state-default {
    height:28px;
}


#searchopc {
    margin-left: 10px;
    margin-right: 0px;
    width: calc(100% - 20px);
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: #0078d4;
}


.bootstrap-dialog.type-warning .modal-header {
    background-color: #0078d4;
}

label {
    padding-top:7px;
    margin-bottom: 2px;
}

a.k-button.k-button-icontext.k-grid-downloadButton {
    background: url('Images/arrow_down.gif') center center;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;
}

a.k-button.k-button-icontext.k-grid-downloadButton:hover {
    color: #fff;
    border-color: #8ebc00;
    background-color: #8ebc00;
}

a.k-button.k-button-icontext.k-grid-deleteButton {
    background: url('Images/trash-o.png') center center;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;
}

a.k-button.k-button-icontext.k-grid-deleteButton:hover {
    color: #fff;
    border-color: #0078d4;
    background-color: #0078d4;
}


a.k-button.k-button-icontext.k-grid-gridLupaButton {
    background: url('Images/Lupa.png') center center;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;
}

a.k-button.k-button-icontext.k-grid-gridLupaButton:hover {
    color: #fff;
    border-color: #0078d4;
    background-color: #0078d4;
}

a.k-button.k-button-icontext.k-grid-searchButton {
    background: url('Images/Find.png') center center;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;
}

a.k-button.k-button-icontext.k-grid-searchButton:hover {
    color: #fff;
    border-color: #0078d4;
    background-color: #0078d4;
}

a.k-button.k-button-icontext.searchButton {
    background: url('Images/Find.png') center center;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;
}

a.k-button.k-button-icontext.searchButton:hover {
    color: #fff;
    border-color: #0078d4;
    background-color: #0078d4;
}

button.k-button.k-button-icontext.k-grid-lupaButton {
    background: url('Images/Lupa.png') center center;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;
    min-width: 30px;
}

button.k-button.k-button-icontext.k-grid-lupaButton:hover {
    color: #fff;
    border-color: #8ebc00;
    background-color: #8ebc00;
}


span.k-delete {
	background: url('Images/delete.png') center center;
}

span.k-find {
    background: url('Images/Find.png') center center;
}

span.k-edit {
    background: url('Images/pencil.png') center center;
}


.k-grid tbody .k-button {
    min-width: 40px;
    width: 40px;
}

.ms-marginTop {
    margin-top: 20px;
}

.ms-marginTopLeft {
    margin-top: 20px;
    margin-left: 3px;
}

.ms-redlabel {
    color:red;
}

.ms-redlabel2 {
    color:red;
    font-size:large;
    font-weight:bold;
}

.top5 { 
    margin-top:5px; 
}

.k-tooltip {
    background: lightyellow !important;
    border-color: #f9ee6e !important;
    color: black !important;
}

.k-callout-n {
    border-bottom-color: #f9ee6e;
}

.k-callout-w {
    border-right-color: #f9ee6e;
}

.k-callout-s {
    border-top-color: #f9ee6e;
}

.k-callout-e {
    border-left-color: #f9ee6e;
}

hlptooltip{
   background-color: #d9ecf5;
   border-color: #d9ecf5;
   color: #00435e; 
}


.fa.k-sprite,
.fa.k-sprite::before {
    font-size: 12px;
    line-height: 16px;
    vertical-align: middle;
}

.navbar {
    background-color:#0078d4;
}

.nav > li > a > i {
    margin-right: 5px;
}

.headerStyle {
    float:none;
    display:inline-block;
    margin-left:100px;
}

.form-group {
    margin-bottom: 0px;
}

.k-virtual-scrollable-wrap td
{
    white-space: nowrap;
}

.form-group-field {
    display: block;
}


span.k-switch.km-switch.k-widget.km-widget.k-switch-off.km-switch-off {
    background-color: #fafafa;
    border-color: #fafafa;
}

span.k-switch.km-switch.k-widget.km-widget.k-switch-on.km-switch-on {
    background-color: #fafafa;
    border-color: #fafafa;
}

.km-switch-container, .km-switch-wrapper {
    border-color: #0078d4;
    border-top-color: #0078d4;
    border-right-color: #0078d4;
    border-bottom-color: #0078d4;
    border-left-color: #0078d4;
}

.km-switch-background, .km-switch-handle {
    color: #0078d4;
}

.k-primary.k-state-disabled, .k-primary.k-state-disabled:active, .k-primary.k-state-disabled:hover, .k-state-disabled .k-primary, .k-state-disabled .k-primary:active, .k-state-disabled .k-primary:hover {
    border-color: #0078d4;
    background-color: #0078d4;
}

.k-clear-selected,
.k-upload-selected {
    display: none !important;
}

.displayInline {
    display: inline;
}

.displayBlock {
    display: block;
}

/*#gridIniCuentasCorrientes {
    overflow-y: scroll;
}*/

.tableHdrCC,
.tableRowCC,
.tableFdrCC,
.tableFRowCC {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.tableHdrCC {
    color: #ffffff;
    background: #428bca;
    font-weight: bold;
    font-size: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.tableFdrCC {
    color: #000;
    border-top: 1px solid #b5b5b5;
    font-weight: bold;
    font-size: 16px;
}

.tableFRowCC {
    color: #282828;
    padding-top: 20px;
    padding-bottom: 20px;    
    font-weight: bold;
}

.tableFRowCC:nth-of-type(odd) {
    background-color: #eeeeee;
}

.tableFRowCC:hover {
    color:#fff;
    background-color: #274c6c;
}

.tableRowCC {
    color: #282828;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #b5b5b5;
    font-weight: bold;
}

.cellCC {
    width: 360px;
}

.cellCC:last-of-type{
    width:150px;
}

.cellCC a {
    color: #428bca;
}

.cellCC a:hover {
    color: #1c3c57;
}

@media only screen and (max-width: 768px) {
    .displayInline {
        display: none;
    }

    .displayBlock {
        display: none;
    }
}

.validation-summary-errors {
    color: red;
}

.k-grid td{
  white-space: nowrap;
}

/* width */
::-webkit-scrollbar {
    width: 15px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: lightgray; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: darkgray; 
  }


#homepage-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-top: 3em; */
    height: 70vh;
    margin: auto;
    width: 100%;
    justify-content: center;
}

#homepage-image > span {
    display: block;
    background-image: url(Images/HomeFondo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 400px;
    height: 294px;
}

#homepage-image > h1 {
    text-align: center;
    color: #636db3;
    font-size: 3em;
}

/*#gridIniFacturaWeb {*/
    /*height: 500px !important;*/
    /*font-size: 12px;
}

#gridIniFacturaWeb td:first-of-type,
#gridIniFacturaWeb td:nth-of-type(2){
    text-align:center;
}
    
#gridIniFacturaWeb td:nth-of-type(3) {
    text-align: center;
}*/

/*#gridIniFacturaWeb > div:nth-of-type(2) {
    height: 470px !important;
}*/

/*#gridIniFacturaWeb [aria-selected='true'] {
    color: #fff !important;
}*/

#butOcultarMostrar{
    display:block;
    margin-left:auto;
}


.loader {
    width: 175px;
    height: 80px;
    display: block;
    margin: auto;
    background-image: linear-gradient(#263238 50px, transparent 0), radial-gradient(circle 25px at 25px 25px, #FFF 100%, transparent 0), radial-gradient(circle 50px at 50px 50px, #FFF 100%, transparent 0), radial-gradient(circle 25px at 25px 25px, #FFF 100%, transparent 0), linear-gradient(#FFF 50px, transparent 0);
    background-size: 64px 6px, 50px 50px, 100px 76px, 50px 50px, 120px 40px;
    background-position: 55px 60px, 0px 30px, 37px 0px, 122px 30px, 25px 40px;
    background-repeat: no-repeat;
    position: relative;
    box-sizing: border-box;
}

    .loader::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%) rotate(-180deg);
        top: 62px;
        height: 64px;
        width: 60px;
        background-color: #FFF;
        background-image: linear-gradient(#DDD 20px, transparent 0), linear-gradient(#DDD 5px, transparent 0), linear-gradient(#DDD 10px, transparent 0), linear-gradient(#DDD 10px, transparent 0);
        background-size: 50px 20px;
        background-position: 5px 36px, 5px 25px, 5px 10px;
        background-repeat: no-repeat;
        border-radius: 2px 2px 4px 4px;
        z-index: 10;
        box-shadow: 0px -4px 7px rgba(0, 0, 0, 0.5);
        box-sizing: border-box;
        animation: animloader 4s linear infinite;
    }

@keyframes animloader {
    0% {
        height: 64px;
    }

    90%, 100% {
        height: 0px;
    }
}

#rootwizard {
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    background: white;
    padding: 25px;
    border-radius: 14px;
}

/*#content {
    background: #f8f8f8;
}*/

#content > h3{
    margin-left:6px;
}
.sg-modal-header-close{
    background-image:url(~/Scripts/modal/src/components/css/icons/circle-xmark-regular.svg) !important
}

.container-form-izq {
    transition: all 1s ease-out;
}

#btnAddFactura {
    background-image: url("Images/upload-file.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    text-indent: -9999999px;
    width: 30px;
    padding: 4px 20px;
    margin-bottom: 6px;
}

/* Overlay background style */
.overlay-loading {
    display: none; /* Start hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: flex;
    align-items: flex-start; /* Align items to the top */
    justify-content: center; /* Center horizontally */
    z-index: 9999; /* High z-index to ensure it appears on top */
}

/* Loading container style */
.overlay-container {
    position: absolute; /* Position it relative to the .overlay */
    top: 20px; /* Position 20px from the top */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Shift back by half its width to fully center */
    width: 25vw; /* Set width to 1/4 of the viewport width */
    max-width: 400px; /* Optional: Limit max width for larger screens */
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Stack content vertically */
    text-align: center;
    gap: 10px;
}

/* Title bar style */
.overlay-title {
    text-align: left;
    width: 100%;
    padding: 10px;
    background-color: white; /* Blue background */
    color: black;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}