  #calculator {
  display: block;
  position: relative;
  max-width: 900px;
  box-sizing: border-box;
  margin: 0 auto;
  border: 1px solid #dedede;
}
#calculator .column80 {
  float: right;
  width: 79%;
  box-sizing: border-box;
}
#calculator .column50 {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

#calculator .column20 {
  float: left;
  width: 20%;
  box-sizing: border-box;
}

#calculator .row:after {
  content: "";
  display: table;
  clear: both;
}
#calculator .col-left {
  display: block;
  position: relative;
  padding: 20px;
}
#calculator .rowflex {
  display: flex;
}
#calculator .calcrow1 {
  margin: 0px 30px;
  padding: 15px 0px;
  border-bottom: 1px dashed #dadada;
}
#calculator .alright {
  text-align: right;
}
#calculator .valign {
  display: flex;
  align-items: center;
}
#calculator .calcrow2 {
  padding: 20px 30px 10px;
}
#calculator .input-write {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 3px 10px;
  margin: 0px 0px 0px 20px;
  background: #f1f1f1;
  border: 0px;
  font-size: 18px;
  max-width: 100px;
  width: 100px;
  text-align: right;
  color: #777;
}
#calculator .flexend {
  justify-content: flex-end;
}
textarea:focus,
input:focus {
  outline: none;
}
#calculator .resultcontainer {
  width: 200px;
  padding: 10px;
  text-align: right;
  background: #006dff26;
  box-sizing: border-box;
  margin-right: 0px;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

#calculator .resultcontainer.error {
  width: 200px;
  padding: 10px;
  text-align: right;
  background: #ff000026;
  box-sizing: border-box;
  margin-right: 0px;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

#calculator .resultcontainer p,
#calculator .resultcontainer span {
  font-size: 22px;
  padding: 0px;
  color: #006dff;
}

#calculator .resultcontainer.error p,
#calculator .resultcontainer.error span {
  color: #ff0000;
}

#error {
  color: #ff0000;
  font-size: 12px;
  padding: 0px 0px 3px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#result {
  font-size: 20px;
  padding: 0px 10px 0px 0px;
}
#calculator .colend p {
  font-size: 14px;
}
@media screen and (min-width: 689px) {
  #calculator .endimage {
    width: 71px;
    padding: 11px 0px 0px;
  }
}
#calculator .logoimage {
  display: block;
  position: relative;
  width: 100%;
}
@media screen and (max-width: 688px) {
  .calculator div {
    display: block !important;
  }
  #calculator .column80 {
    width: 100%;
    box-sizing: border-box;
  }
  #calculator .column20,
  #calculator .column50 {
    width: 100%;
  }
  #calculator .flexend {
    text-align: left;
  }
  #calculator .input-write {
    max-width: unset;
    width: 100%;
    margin: 10px 0px;
    padding: 7px 10px;
  }
  #calculator .cont-mobile-import {
    width: 90%;
    position: relative;
  }
  #calculator .cont-mobile-import::after {
    content: "€";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-family: "Roboto", sans-serif;
  }
  #calculator .nomob {
    display: none;
  }
  #calculator .termini {
    width: 50%;
  }
  #calculator .alright {
    text-align: left;
  }
  #calculator .colend {
    padding: 40px 0px 0px 0px;
  }
  #calculator .logoimage {
    max-width: 150px;
    padding: 0px 0px 10px 20px;
  }
  #calculator .endimage {
    max-width: 70px;
    display: block;
    position: relative;
    padding: 0px 0px 0px 40px;
  }
  #calculator .select-mesos {
    margin: 7px 0px 0px !important;
  }
  #calculator .resultcontainer {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  #calculator .calcrow2 {
    padding: 20px 0px 10px;
  }
  #calculator .calcrow1 {
    margin: 0px 0px;
  }
  #calculator .col-left {
    display: block;
    position: relative;
    padding: 20px 0px;
  }
  #alterarorden {
    display: flex !important;
    flex-direction: column !important;
  }
  .primera:first-child {
    order: 2;
  }
  .segunda:first-child {
    order: 2;
  }
  .primera > div {
    padding: 30px 0px 20px !important;
  }
}
#mesos {
  cursor: default;
}

/*-------------*/

#calculator .select-mesos {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  padding: 0.2em 1.4em 0.2em 0.8em;
  width: 100px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0px 0px 0px 20px;
  border: 1px solid #aaa;
  border-radius: 0px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #f1f1f1;
  background-image: url("/assets_bancsabadell/svg/arrow.svg");
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  border: 0px;
  font-size: 18px;
  color: #777;
}
#calculator select.select-mesos:focus {
  outline: 0px !important;
  border: 0px;
  border-color: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  outline: -webkit-focus-ring-color auto 5px;
  font-size: 18px;
  color: #777;
}
#calculator .select-mesos::-ms-expand {
  display: none;
}
#calculator .select-mesos:hover {
  border-color: #888;
}
#calculator .select-mesos:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none;
}
#calculator .select-mesos option {
  font-weight: normal;
}

#calculator .classOfElementToColor:hover {
  background-color: red;
  color: black;
}

#calculator .select-mesos option[selected] {
  background-color: orange;
}

#calculator .styled-select {
  width: 240px;
  height: 34px;
  overflow: hidden;
  background: url(/assets_bancsabadell/css/new_arrow.png) no-repeat right #ddd;
  border: 1px solid #ccc;
}

#calculator .sidebar-box select {
  display: block;
  padding: 5px 10px;
  height: 42px;
  margin: 10px auto;
  min-width: 225px;
  -webkit-appearance: none;
  height: 34px;
  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%, #f7f7f7 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}
#calculator h3 {
  color: #006dff;
  font-size: 25px;
  font-weight: 400;
}
