﻿@import url('normalize.css');
@import url('bootstrap.min.css');
@import url('bootstrap-switch.min.css');
@import url('igniteui/2017.2/css/themes/infragistics/infragistics.theme.css');
@import url('igniteui/2017.2/css/structure/infragistics.css');
@import url('font-awesome/css/all.min.css');


body {
    position: relative;
    background-color: #5c87b2;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #666;
    font-size: 14px;
}

.text-right {
    text-align: right
}

.color-link {
    /*font-size:medium;*/
    color: #0275d8 !important;
}

@media (max-width: 768px) {
    .color-link {
        font-size: medium;
        color: #0275d8 !important;
    }
}
.red-color-link {
    /*font-size:medium;*/
    color: #cd0200 !important;
}

.iggrid-filter-icon {
    padding-left: 10px;
}

@media (max-width: 768px) {
    .red-color-link {
        font-size: medium;
        color: #cd0200 !important;
    }
}
@media (max-width: 768px) {
    .force-xs-padding {
        padding-right: 0px!important;
        padding-left: 0px!important;
    }
}

.force-zero-padding {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.force-zero-space-top-bottom {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.exception-label {
color:red!important;
font-size:medium;
}
.medium-label {
    font-size: medium!important;
}
.warning-label {
    color: orange !important;
    font-size: medium;
    align-items: center;
}
.action-label {
    color: darkgreen !important;
    font-size: medium;
    align-items: center;
}
.steelblue-label {
    color: steelblue !important;
    font-size: medium;
    align-items: center;
}
.btn-separado {
    margin-left: 60px !important;
}

.btn-confirm-dialog {
    padding: 6px 12px;
    margin-left: 5px;
}

.btn-md-separado {
    margin-left: 30px !important;
}

.page {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.red-backGorund {
    background-color:#ff6666;
}

.toLeft {
    text-align:left;
    padding: 0.6em 0.4em;}
.toCenter {
    text-align: center;
}

.no-click {
    pointer-events: none;
}

.btn-separado {
    margin-left: 60px !important;
}

.btn-md-separado {
    margin-left: 30px !important;
}

.to-back {
    z-index:0;}

.this-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.compDashboard {
    border-width: 2px;
    border-style: solid;
    border-color: lightgray ;
}

.small-text {
    font-size: 9px;
    vertical-align:top;
    padding: 0;
    border: 0;
}

.table-filter {
    width:130px; 
    padding-left: 5px; 
    padding-right: 5px;
}

.table-filter-div {
    margin-right: 20px;
    float: right;
}

.text-pequeno {
    font-size: 11px !important;
    padding: 0;
    border: 0;
}

.btn-tbl {
    height: 50px;
    width: 50px;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.dialogCenter {
    /*position:fixed;*/
    top: 40px !important;
    left: 10% !important;
    margin: 0 auto;
}

.btnApp{
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #ffffff;
    background-color: #474949;
    background-repeat: no-repeat;
    filter: none;
    position: fixed;
    right: 1%;
    z-index: 30;
    align-content: center;
    top: 0.5%;
    width: initial;
    padding: .5rem 1rem;
    text-decoration: none;
}
.cardHeaderApp{
    position: fixed;
    left: 0;
    padding: .75rem 1.25rem;
    margin-right: 16px;
    top: 0;
    z-index: 29;
    font-size: 1rem;
    background-color: #446e9b;
    width: 100%;
    color: white;
    position: fixed;
}

.cardBackHeaderApp{
    display: inline-block;
    left: 0;
    top: 0;
    z-index: 29;
    font-size: 1rem;
    padding: .75rem 1.25rem;
    background-color: #446e9b;
    width: 100%;
    color: #446e9b;
}

.scroll-h {
    overflow-x: auto !important;
}

@media (max-width: 1500px) {
    .hidden-1500 {
        display: none !important;
    }
}

@media (max-width: 1400px) {
    .hidden-1400 {
        display: none !important;
    }
}

@media (max-width: 1300px) {
    .hidden-1300 {
        display: none !important;
    }

    .form-control-label, .col-form-label {
        font-size: 13px;
    }

    .form-control-static {
        font-size: 13px;
    }

}

@media (max-width: 1150px) {
    .hidden-1150 {
        display: none !important;
    }
}

@media (max-width: 1000px) {
    .hidden-1000 {
        display: none !important;
    }

    .table-detail {
        table-layout:fixed;
    }

    .table-detail > tbody > tr > td, th {
        overflow:hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 700px) {
    .hidden-700 {
        display: none !important;

    }

    .text-pequeno {
        font-size: 9px !important;
        padding: 0;
        border: 0;
    }

    .table-detail {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .hidden-600 {
        display: none !important;
    }

    .cld-iln {
        width: 100% !important;
        overflow: auto;
        font-size: xx-small !important;
    }
}

@media (max-width: 400px) {
    .font400px {
        font-size: 11px;
    }

    .table-detail {
        font-size: 10px;
    }
}

@media (min-width: 544px) and (max-width: 768px) {
    .navbar {
        border-radius: 4px;
    }

    .navbar-header, .navbar-header, .navbar-collapse, .navbar-collapse {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-header {
        float: left;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-collapse .collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .navbar-collapse {
        width: auto;
        border-top: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-nav {
        float: left;
        margin: 0;
    }

    .nav-item {
        float: left;
        font-size: 10px;
        margin-left: 0 !important;
    }

    .nav-link, .nav-link:hover {
        padding-right: 10px;
        padding-left: 10px;
    }

    .dropdown-item {
        font-size: 10px !important;
    }

    .dropdown-menu {
        margin-left: -10px !important;
    }
}

@media (min-width:544px) {
    .visible-portraid {
        display: none !important;
    }

    .input250px {
        max-width: 250px !important;
    }

    #Comment {
        width:400px;
    }

    .input300px {
        max-width: 300px !important;
    }
}

@media (max-width:544px) {

    .compDashboard {
        position: relative;
        min-height: 1px;
        padding-left: 0;
        padding-right: 0;
    }

    #Comment {
        width:280px;
    }

    .table-detail {
        font-size: 11px;
    }

    .ui-datepicker {
        width: 90%;
    }

    .card-block {
        padding: 5px;
        padding: 1.25rem;
    }

    /*.card-block::after {
        content: "";
        display: table;
        clear: both;
    }*/

    .font400px {
        font-size: 11px;
    }

    #title {
        display: none !important;
    }

    .nav-link, .nav-link:hover {
        font-size: 14px;
    }

    .navbar-nav .nav-item + .nav-item {
        margin-left: 0;
    }
    
    .dropdown-menu {
        margin-left: 20px !important;
    }

    #menuMaster, #menuCRM {
        clear: both;
    }

    .btn-group-mto-fix {
        margin-right: 0;
        padding-right: 5px;
    }

}


/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@media (max-width:320px) {
    /*Sobre escrbimos algunas propiedades en las clases css para resoluciones inferiores a 320px de ancho en pantalla*/

    .compDashboard {
        position: relative;
        min-height: 1px;
        padding-left: 0;
        padding-right: 0;
    }

    .btnApp{
    font-size: 11px;
    }
    .cardHeaderApp {
    font-size: 11px;
    }
    .cardBackHeaderApp {
    font-size: 11px;
    }

    .cld-iln {
        width: 100% !important;
        overflow: auto;
        font-size: smaller !important;
    }

    .btn-tbl {
        height: 50px;
        width: 50px;
    }

    .page {
        width: 100%;
        font-size: 11px;
    }

    .btn-group-mto-fix {
        right: 0;
        margin-right: 0;
        padding-right: 3px;
    }

    .card {
        margin-bottom: 0;
    }

    .btn {
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }

    .form-control{
        font-size: 11px;
    }

    .input-group-addon {
        height: 29px;
        font-size: 10px;
    } 

    #language {
        font-size: 10px;
    }

    .navbar {
        margin-bottom: 0;
    }

    .nav-link, .nav-link:hover {
        font-size: 14px;
    }

    .card-block {
        padding: 3px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .showFkey {
        display: inline-block !important;
    }

    .navbar-brand {
        padding-left: 3px;
        padding-right: 3px;
    }

    .navbar-toggler {
        margin-right: 3px;
    }

    .inline-320 {
        display: inline-block !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #dmoCantidad {
        max-width: 100px !important;
    }

    #dmoCosto {
        max-width: 100px !important;
    }

    #mmoSerie {
        max-width: 144px !important;
    }

    #ctrlSerie {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 768px) {
    .input680px {
        max-width: 680px !important;
    }
}

@media (min-width: 768px) {
    .btn-mtto {
        margin-right: 10px;
    }

    .col-form-label {
        text-align: right;
    }
}

@media (max-width: 767px) {

    .btn-separado {
        margin-left: 0 !important;
    }

    .btn-md-separado {
        margin-left: 0 !important;
    }
    
    .table-filter {
        width:100%;
    }

    .table-filter-div {
        float: none;
    }

}

/*CSS aplicado directamente a los ids de los elementos html*/
#header {
    display: inline-block;
    width: 100%;
    margin: auto;
    height: 100%;
}

#title {
    float: left;
    display: inline-block;
    color: #FFFFFF;
    font-size: 1.2em;
    margin-bottom: 0;
    overflow-wrap: break-word;
}

#brand {
    float: left;
    display: inline-block;
}

#logindisplay {
    float: right;
    display: inline-block;
    color: #FFFFFF;
}

#footerLoginDisplay {
    font-size: 12px;
    float: right;
    display: inline-block;
    color: #FFFFFF;
    clear: both;
}

.text-decoration-none {
    text-decoration: none;
}

/*Sobre escrbimos algunas propiedades generales en las clases css de Bootstrap*/
.alert {
    padding-top: 10px;
    padding-bottom: 10px;
}

.card-block {
    background: #ffffff;
    padding: 1.25rem;
}

.form-inline {
    margin-bottom: 16px;
}

label {
    font-weight: bold;
}

.row {
    margin-left: 0;
    margin-right: 0;
}


/*
    ****************************************************************************
    ************ Temporal, mientras no hay Tema para Bootstrap 4 ***************
    ****************************************************************************
*/

.nav-link {
    color: #777777 !important;
}

.nav-link:hover {
    color: #3399f3 !important;
}

.navbar {
    background-image: linear-gradient(#fff, #eee 50%, #e4e4e4);
    border: 1px solid #d5d5d5;
}

.dropdown-menu {
    border: 0;
    background-color: #e4e4e4;
    margin-left: -20px;
    box-shadow: 0 7px 10px;
}

.dropdown-item {
    font-size: 14px;
    color: #666;
    padding-top: .425rem;
    padding-bottom: .425rem;
}

.card-primary {
    background: #446e9b!important;
    border-color: #446e9b!important;
}

.card-success > .card-header {
    color: #468847;
    padding: 12px 20px 0 20px;
}

.card-success {
    background: #dff0d8;
    border-color: #dff0d8;
}

.card-info > .card-header {
    color: #fff;
    padding: 12px 20px 0 20px;
}

.card-info {
    background: #d9edf7;
    border-color: #bce8f1;
}

.card-warning > .card-header {
    color: #c09853;
    padding: 12px 20px 0 20px;
}

.card-warning {
    background: #fcf8e3;
    border-color: #fbeed5;
}

.card-danger > .card-header {
    color: #b94a48;
    padding: 12px 20px 0 20px;
}

.card-danger {
    background: #f2dede;
    border-color: #eed3d7;
}

.btn-primary {
    color: #ffffff;
    background-color: #446e9b;
    background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #345578;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #3e648d;
    background-image: linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #2e4b69;
}

.btn-secondary {
    color: #ffffff;
    background-color: #474949;
    background-image: linear-gradient(#6d7070, #474949 50%, #3d3f3f);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #2e2f2f;
}

.btn-secondary:hover {
    color: #ffffff;
    background-color: #3d3f3f;
    background-image: linear-gradient(#636565, #3d3f3f 50%, #333434);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #242525;
}

.btn-info {
    color: #ffffff;
    background-color: #3399f3;
    background-image: linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #0e80e5;
}

.btn-info:hover {
    color: #ffffff;
    background-color: #208ff2;
    background-image: linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #0c75d2;
}

.btn-success {
    color: #ffffff;
    background-color: #3cb521;
    background-image: linear-gradient(#61dd45, #3cb521 50%, #36a41e);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #287916;
}

.btn-success:hover {
    color: #ffffff;
    background-color: #36a41e;
    background-image: linear-gradient(#52da34, #36a41e 50%, #31921b);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #287916;
}

.btn-warning {
    color: #ffffff;
    background-color: #d47500;
    background-image: linear-gradient(#ff9c21, #d47500 50%, #c06a00);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #a15900;
}

.btn-warning:hover {
    color: #ffffff;
    background-color: #c06a00;
    background-image: linear-gradient(#ff930d, #c06a00 50%, #ab5e00);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #8d4e00;
}

.btn-danger {
    color: #ffffff;
    background-color: #cd0200;
    background-image: linear-gradient(#ff1d1b, #cd0200 50%, #b90200);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #9a0200;
}

.btn-danger:hover {
    color: #ffffff;
    background-color: #b90200;
    background-image: linear-gradient(#ff0906, #b90200 50%, #a40200);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #860100;
}

a.list-group-item {
    color: #555;
}

.group-item:hover, .list-group-item:hover {
    background-color: #f5f5f5;
    text-decoration: none;
} 


/*
    ****************************************************************************
    ************ Temporal, mientras no hay Tema para Bootstrap 4 ***************
    ****************************************************************************
*/

/*Sobre escrbimos algunas propiedades generales en las clases css de IgniteUI*/
.ui-state-highlight {
    background: #000000;
}

.ui-state-hover {
    color: #444444 !important;
}

.ui-widget {
    font-size: 11px !important;
}

.ui-iggrid-pagesizelabel {
    padding-top: 2px !important;
}

.ui-iggrid-footer {
    padding: 2px 5px !important;
}

/*
    Estilos que se utilizan en la firma de documentos
*/
#signatureparent {
		color:darkblue;
		background-color:darkgrey;
		/*max-width:600px;*/
		padding:20px;
	}
	
	/*This is the div within which the signature canvas is fitted*/
	#signature {
		border: 2px dotted black;
		background-color:lightgrey;
	}

	/* Drawing the 'gripper' for touch-enabled devices */ 
	/*html.touch #content {
		float:left;
		width:92%;
	}*/
	html.touch #scrollgrabber {
		/*float:right;*/
		width:4%;
		margin-right:2%;
		background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAAAAACh79lDAAAAAXNSR0IArs4c6QAAABJJREFUCB1jmMmQxjCT4T/DfwAPLgOXlrt3IwAAAABJRU5ErkJggg==)
	}
	html.borderradius #scrollgrabber {
		border-radius: 1em;
        
	}
.modal-footer {
    border-top: none !important;
}
    
 /*Aqui terminan los css de la firma*/