@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Patua+One');

/* IDC Calculators - BRIGHSPOT */

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  box-sizing: content-box;
}

/* Reset `button` and button-style `input` default styles */
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  -webkit-appearance: button; /* for input */
  user-select: none; /* for button */
}
input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input#dTipo{
  box-shadow: inherit;
}

.cal-table-inputs, .cal-table-results{
  padding:20px 0;
}

.cal-results-g{
  margin: 0 auto;
  width:500px;
}
.cal-results th, .cal-results-g th{
  color:#2774ab;
  font-size: 12px;
}
.cal-results td, .cal-results-g td{
  font:12px;
  text-align:right;
}

.cal-subtitulo{
  font-family: 'Patua One';
  font-size: 1.3rem;
}

.oculto{
  display:none;
}

.tip{
  position: relative;
  padding: 5px 10px;
  margin-left: 5px;
  font-family: Arial;
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  color: #000000;
  background: #FFD800;
  border-radius: 5px;
  box-shadow: 4px 4px #eeeeee;
}
.tip:after, .tip:before{
  right:100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136,183,213,0);
  border-right-color: #FFD800;
  border-width: 5px;
  margin-top: -5px;
}

/* Table calculators */

.cal-content table td a {
  color:#CD1F3A;
  text-decoration: underline;
}

.cal-content table td {
  border: 1px solid white;
  font-family: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  color: #444;
  text-align: left;
  vertical-align: middle;
  font-weight: 300;
  font-size: 14px;
  word-wrap: break-word;
}
.cal-content table p,
.cal-content table span {
  font-size: 14px;
  font-family: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.5;
}


.cal-content{
  font-family: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  margin: 0 auto;
  max-width:634px;
}

.cal-content table tbody:first-child tr:first-child {
  background-color: #eee;
}
.cal-content table tbody:first-child tr:first-child td {
  font-size: 20px;
}
@media screen and (max-width: 767px) {
  .cal-content table tbody:first-child tr:first-child td {
    font-size: 16px;
  }
}
.cal-content table th {
  background-color: #E9E9E9;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
  text-align: left;
  vertical-align: middle;
  text-transform: uppercase;
}
.cal-content table th span {
  font-weight: bold;
}
.cal-content table tr {
  color: black;
  font-size: 14px;
  font-weight: normal;
}

/* Calculators */

.cal-content table {
  border: 1px solid white;
  border-collapse: collapse;
  margin: 0 auto 10px;
  max-width: 100%;
  padding: 5px;
}

.cal-content table td {
  font-family: 'Roboto Condensed', 'Lucida Sans', Helvetica, Arial, sans-serif !important;
}

.cal-content table td  input.onlynum.percent{
    width: 70%;
}

.cal-content table td  span.pesos {
    margin-right: 5px;
}
.cal-content table td  span.porcentaje {
    margin-left: 5px;
}
/* Inputs */

.cal-inputs tr, .cal-inputs-p tr{
  background-color:#eee;
}

.cal-content table td input {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ddd;
  font-size: 14px;
  padding: 7.5px 15px;
  text-align:right;
}

.cal-content table td input#calcular, .cal-content #ver-detalles {
  background-color: #FFD800;
  border: 1px solid #F8C900;
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  color: #1D1C1A;
  min-width: initial;
  margin-right: 10px;
}
.cal-content #ver-detalles {
  max-width: 210px;
  margin: auto;
  display: block;
}
.cal-content table.cal-inputs td,
.cal-content table.cal-inputs-p td{
  text-align: right;
  padding: 5px 10px;
}
@media screen and (max-width: 767px) {
  .cal-content table{
    table-layout: fixed;
    width: 100%;
  }


  .cal-content table td input#calcular {
    margin: 10px auto;
    min-width: 50%;
  }
  .cal-content table.cal-inputs-p tr td:first-child {
    padding-bottom: 0;
  }
  .cal-content .cal-table-inputs table tr td input {
    box-sizing: border-box;
    max-width: 70%;
  } 
}

.cal-table-inputs .notas{
  line-height: 1.5;
}

.cal-table-inputs .notas tbody:first-child tr:first-child{
  background-color: transparent;
}
.cal-table-inputs .notas tbody:first-child tr:first-child td{
  font-size: 14px;
}

/* Results */

.cal-content .cal-table-results table{
  margin: 0 auto;
  max-width: 400px;
  margin-bottom: 20px;
  width: 100%;
}

.cal-content .cal-table-results td {
  background-color: #edfdfd;
  border: 1px solid #ddd;
  padding: 5px;
}

.cal-content .cal-table-results td img {
  display: none;
}

.cal-content .cal-table-results table tbody:first-child tr:first-child td {
  background-color: #eee;
}

.cal-table-results span.cal-resaltado{
  font-family: 'Roboto Condensed', 'Lucida Sans', Helvetica, Arial, sans-serif;
  font-weight:bold;
}
.cal-table-results span.cal-resaltado2{
  color:#CD1F3A;
  font-family: 'Roboto Condensed', 'Lucida Sans', Helvetica, Arial, sans-serif;
  font-weight:bold;
}
.cal-table-results span.cal-resaltadoAz{
  color:#2774ab;
  font-family: 'Roboto Condensed', 'Lucida Sans', Helvetica, Arial, sans-serif;
  font-weight:bold;
}
.cal-table-results span.cal-resaltadoAz2{
  color:#2774ab;
  font-family: 'Roboto Condensed', 'Lucida Sans', Helvetica, Arial, sans-serif;
  font-weight:bold;
}

.div-btn-imprimir{
  text-align: right;
}

select,
button#borrar,
.div-btn-imprimir span button {
  cursor: pointer;
  background-color: #444;
  color: white;
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-block;
  font-family: 'Roboto Condensed', 'Lucida Sans', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  max-width: 100%;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
