/**
 * CSS DOCUMENT
 */
/** CSS DOCUMENT */
html,
body {
  /* background-color: #F8F8F8; */
  background-color: #ecf0f1;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 22px;
	/*color: #666;*/
	position: relative;
	-webkit-text-size-adjust: none;
	   -moz-text-size-adjust: none;
	    -ms-text-size-adjust: none;
	        text-size-adjust: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* Quitar el borde amarillo / azul */
*:focus {
  outline: none;
}
a {
	color: inherit;
	text-decoration: none;
}

.fnt-mono {
  font-family: monospace !important;
}

/** ESTADOS COLORES **/
.bg-success,
.btn-success {
  background: rgb(28, 184, 65) !important; /* this is a green */
}
.bg-error,
.btn-error {
  background: rgb(202, 60, 60) !important; /* this is a maroon */
}
.bg-warning,
.btn-warning {
  background: rgb(223, 117, 20) !important; /* this is an orange */
}
.bg-secondary,
.btn-secondary {
  background: rgb(66, 184, 221) !important; /* this is a light blue */
}

/** COLOR TXT **/
.txt-success {
  color: rgb(28, 184, 65) !important; /* this is a green */
}
.txt-error {
  color: rgb(202, 60, 60) !important; /* this is a maroon */
}
.txt-warning {
  color: rgb(223, 117, 20) !important; /* this is an orange */
}
.txt-secondary {
  color: rgb(66, 184, 221) !important; /* this is a light blue */
}
.txt-white {
  color: rgb(255,255,255) !important;
}

/** SIGN **/
.sign-positive:after {
  content:"+";
  display:inline-block;
}
.sign-negative:after {
  content:"-";
}

/** BORDERS **/
.bb-bottom {
  border-bottom: 1px solid black;
}



/** PAGE */
  .page {
    margin-top: 10px;
    padding: 5px;
    position: relative;
  }
  .result {
    position: relative;
    overflow: auto;
  }
  .content {
    position: relative;
    border: 1px solid #d4d4d4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .15);
    border-radius: 5px;
    padding: 10px;
    max-width: 97%;
    margin-top: 10px;
    overflow-x: auto;
    /*max-width: 1200px;*/
    margin-left: auto;
    margin-right: auto;
    background-color: white;
  }

  .pointer {
    cursor: pointer;
  }

  .hide {
    display: none !important;
  }
  .bold {
    font-weight: bold;
  }
  .center {
    text-align: center;
  }
  .left {
    text-align: left;
  }
  .right {
    text-align: right;
  }
  .date-print {
    font-size: 10px;
    font-style: italic;
    padding: 4px;
    display: none;
  }
  .radius5 {
    border-radius: 5px;
  }

  .dp-inline {
    display: inline-block;
  }

  .w50 {
    width: 50px !important;
  }
  .w75 {
    width: 75px !important;
  }
  .w100 {
    width: 100px !important;
  }
  .w150 {
    width: 150px !important;
  }
  .w255 {
    width: 255px !important;
  }
  .w300 {
    width: 300px !important;
  }
  .w350 {
    width: 350px !important;
  }
  .w400 {
    width: 400px !important;
  }
  .w450 {
    width: 450px !important;
  }
  .w500 {
    width: 500px !important;
  }
  .wmax100 {
    max-width: 100px;
  }
  .wmax250 {
    max-width: 250px;
  }
  .wmax300 {
    max-width: 300px;
  }
  .wmax350 {
    max-width: 350px;
  }
  .wmax500 {
    max-width: 500px;
  }
  .wmax550 {
    max-width: 550px;
  }
  .wmax750 {
    max-width: 750px;
  }
  .wmax850 {
    max-width: 850px;
  }
  .wmax950 {
    max-width: 950px;
  }

/** ACCORDION **/
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}
  .active, .accordion:hover {
    background-color: #ccc;
  }
  .accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  .active:after {
    content: "\2212";
  }
  .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    /*display: none;*/
    transition: max-height 0.2s ease-out;
  }

/** FORM **/
.form {
  color: grey;
}

  .label {
    display: block;
  }
  .label-inline {
    display: inline-block;
  }

  .input,
  .select {
    margin: 3px;
  }
  .input,
  .textarea {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #C2C2C2;
    -webkit-box-shadow: 1px 1px 4px #EBEBEB;
            box-shadow: 1px 1px 4px #EBEBEB;
    border-radius: 8px;
    padding: 5px;
    outline: none;
  }

  .textarea {
    height: 80px;
    width: 100%;
  }
  .input {
    width: 150px;
  }

  .input-w50 {
    width: 50px;
  }
  .input-w75 {
    width: 75px;
  }
  .input-w100 {
    width: 100px;
  }
  .input-w200 {
    width: 200px;
  }

  .input:focus,
  .select:focus,
  .textarea:focus {
    border: 1px solid #0C0;
  }

  .select {
    font-size: 14px;
    color: #444;
    line-height: 1.3;
    padding: .4em 1.5em .4em .3em;
    width: 150px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    -webkit-box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
            box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    /* background-color: rgb(125, 201, 110); */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%);
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    -webkit-gradient(linear, left top, left bottom, from(#ffffff),to(#e5e5e5));
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
  }
  .select-block {
    display: block;
  }
  .select option {
    font-weight:normal;
  }

  .btn-container {
    margin-top: 10px;
  }

  .btn {
    border-radius: 50px;
    /* text-shadow: 0 0px 1px rgba(0, 0, 0, 0.6); */
    -webkit-box-shadow: 0px 0px 2px black;
            box-shadow: 0px 0px 2px black;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    padding: .7em 1em;
    color: rgba(0,0,0,.8);
    border: 1px solid #999;
    border: transparent;
    /*background-color: rgb(125, 201, 110);*/
    text-decoration: none;
    cursor: pointer;

    font-size: 0.8125rem;
    text-align: center;
  }

  .btn:focus {
    border: none;
    -webkit-box-shadow: 0px 0px 4px black;
            box-shadow: 0px 0px 4px black;
  }
  .btn-inline {
    display: inline-block;
  }

  button:disabled {
    -webkit-box-shadow: none;
            box-shadow: none;
    /* background: #E6E6E6; */
    /* color: white; */
    opacity: 0.6;
  }

/** TABLE */
.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.table thead tr,
.table tfoot tr,
.table tr.head {
  background: #36304a;
}
.table tr.head td {
  color: white;
}
.table thead tr th,
.table tfoot tr th {
  font-size: 1em;
  color: #fff;
  line-height: 1.45em;
  font-weight: 700;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 6px;
  padding-bottom: 6px;
  position: relative;
  text-align: inherit;
  vertical-align: inherit;
}
.table thead tr th {
  padding-right: 20px;
}
.table tr.header {
  cursor:pointer;
}
.table .header .sign:after {
  content:"+";
  display:inline-block;
}
.table .header.expand .sign:after {
  content:"-";
}

.table tbody tr {
  line-height: 1.2;
  padding-top: 10px;
  padding-bottom: 10px;
}
.table tbody tr td {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
}
.table th.center,
  .table td.center {
    text-align: center;
  }
.table th.right,
  .table td.right {
    text-align: right;
  }
.table th.left,
  .table td.left {
    text-align: left;
  }
.table.striped tbody tr:nth-child(even) {
  background-color: #f1f1f1;
}
.table.striped tbody tr:nth-child(odd) {
  background: white;
}
.table.striped tbody tr:hover {
  background-color: #a5f499  !important;
  cursor: pointer;
}
.table tbody tr.even {
  background-color: #f1f1f1 !important;
}
.table tbody tr.odd {
  background-color: white !important;
}
.table tbody tr.even:hover,
.table tbody tr.odd:hover {
  background-color: #a5f499  !important;
  cursor: pointer;
}
.table.border thead th,
  .table.border td {
    border: 1px solid #ddd;
  }


/* Si el th tiene class right y es ordenable hacer espacio a los iconos */
.table.sort th[data-sort].right {
  padding-right: 30px;
}
.table.sort th[data-sort]:after,
.table.sort th[data-sort]:before {
  border: 9px solid transparent;
	content: "";
	display: block;
	height: 0;
	right: 5px;
	top: 50%;
	position: absolute;
	width: 0;
}
.table.sort th[data-sort]:before {
	border-bottom-color: #666;
	margin-top: -18px;
}
.table.sort th[data-sort]:after {
	border-top-color: #666;
	margin-top: 1px;
}
.table.sort th[data-sort].sorting-desc:before {
  border-bottom-color: #a5f499;
}
.table.sort th[data-sort].sorting-asc:after {
  border-top-color: #a5f499;
}

/** LOADER FULL PAGE */
.loading #loader-wrapper {
  background-color: rgba(125, 201, 110, 0.3);
}
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
}
#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;

  -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

  #loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;

    -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: 3px solid transparent;
    border-top-color: #e74c3c;

    -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%   {
      transform: rotate(0deg);
      -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    }
    100% {
      transform: rotate(360deg);
      -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    }
  }
  @keyframes spin {
    0%   {
      transform: rotate(0deg);
      -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    }
    100% {
      transform: rotate(360deg);
      -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
    }
  }