.finance-widget .modal-overlay {
  width: 100vw;
  height: 100vh;
  color: rgba(45, 75, 117, 1);
  background-color: rgba(45, 75, 117, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.finance-widget .athena-consulenza .modal-overlay {
  color: rgba(47, 82, 160, 1);
  background-color: rgba(47, 82, 160, 0.3);
}

.finance-widget .modal {
  background: #fff;
  border-radius: 3px;
  padding: 10px;
}

.finance-widget .athena-consulenza .modal {
  border-radius: 0;
}

.finance-widget .modal .modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(45, 75, 117, 1);
}
.finance-widget .modal .modal-head h3 {
  color: rgba(45, 75, 117, 1);
  padding-right: 10px;
}

.finance-widget .athena-consulenza .modal .modal-head h3 {
  color: rgba(47, 82, 160, 1);
}

.finance-widget .athena-consulenza .modal .modal-head {
  color: rgba(47, 82, 160, 1);
}

.finance-widget .modal .modal-body {
  overflow: scroll;
  max-width: 90vw;
  max-height: 80vh;
}

.finance-widget table {
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
}

.finance-widget table td,
.finance-widget table th {
  text-align: center;
  padding: 10px;
  border-right: 1px solid rgba(76, 118, 187, 0.2);
  color: rgba(45, 75, 117, 1);
}

.finance-widget .athena-consulenza table td,
.finance-widget .athena-consulenza table th {
  border-color: rgba(47, 82, 160, 0.2);
  color: rgba(47, 82, 160, 1);
}

.finance-widget table td:first-child,
.finance-widget table th:first-child {
  text-align: left;
}

.finance-widget table td:last-child,
.finance-widget table th:last-child {
  text-align: right;
}
.finance-widget table thead {
  font-weight: bold;
}
.finance-widget table tbody tr:nth-child(even) {
  background: rgba(76, 118, 187, 0.2);
}
.finance-widget .athena-consulenza table tbody tr:nth-child(even) {
  background: rgba(47, 82, 160, 0.2);
}
.finance-widget table tbody tr:nth-child(odd) {
  background: #fff;
}

.finance-widget .form {
  padding: 20px;
}

.finance-widget .form img.logo {
  display: block;
  margin-bottom: 50px;
}

@media screen and (max-width: 800px) {
  .finance-widget .form img.logo {
    margin: 0 auto 50px;
  }
}

.finance-widget .input-wrapper {
  margin-bottom: 10px;
}

.finance-widget .input-wrapper label {
  display: flex;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
}

.finance-widget .input-wrapper label span {
  margin-left: 10px;
  cursor: pointer;
}

.finance-widget .input-wrapper label svg {
  width: auto;
  fill: #fff;
}

.finance-widget .input-wrapper input,
.finance-widget .input-wrapper select {
  display: block;
  border-radius: 3px;
  border: 0;
  background-color: #fff;
  color: rgba(45, 75, 117, 1);
  width: 100%;
  height: 35px;
  line-height: 35px;
  padding: 0 10px;
  font-size: 16px;
}

.finance-widget .layout.athena-consulenza .input-wrapper input,
.finance-widget .layout.athena-consulenza .input-wrapper select {
  color: rgba(47, 82, 160, 1);
  border-radius: 0;
}

.finance-widget .result-boxes {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.finance-widget .result-boxes > div {
  color: #fff;
  background-color: rgba(76, 118, 187, 1);
  border-radius: 3px;
  padding: 10px;
  width: 30%;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.finance-widget .result-boxes > div h3,
.finance-widget .result-boxes > div h4 {
  color: #fff;
}

.finance-widget .result-boxes.retirement-result-boxes {
  flex-direction: column;
}

.finance-widget .result-boxes.retirement-result-boxes > div {
  width: 100%;
  margin-bottom: 5px;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.finance-widget .result-boxes.retirement-result-boxes > div h3 {
  margin: 0;
  padding: 0;
}

.finance-widget .layout.athena-consulenza .result-boxes > div {
  color: rgba(47, 82, 160, 1);
  border-radius: 0;
  background-color: #fff;
}

.finance-widget .layout.athena-consulenza .result-boxes > div h3,
.finance-widget .layout.athena-consulenza .result-boxes > div h4 {
  color: rgba(47, 82, 160, 1);
}

.finance-widget .result-boxes .result-box-bank {
  background-color: rgba(163, 184, 219, 1);
  color: #fff;
  border: 2px solid rgba(250, 250, 250, 0.5);
}

.finance-widget .result-boxes .result-box-bank h3,
.finance-widget .result-boxes .result-box-bank h4 {
  color: #fff;
}

.finance-widget .result-boxes .savings-box {
  background-color: #fff;
  color: rgba(76, 118, 187, 1);
  border: 2px solid rgba(76, 118, 187, 1);
}

.finance-widget .result-boxes .savings-box h3,
.finance-widget .result-boxes .savings-box h4 {
  color: rgba(76, 118, 187, 1);
}

.finance-widget .result-boxes .savings-box svg {
  fill: rgba(76, 118, 187, 1);
}

.finance-widget .layout.athena-consulenza .result-boxes svg {
  fill: rgba(47, 82, 160, 1);
}

.finance-widget .layout.athena-consulenza .result-boxes > div.result-box-athena {
  background-color: rgba(154, 173, 210, 1);
  color: #fff;
  border: 2px solid rgba(250, 250, 250, 1);
}

.finance-widget .layout.athena-consulenza .result-boxes > div.result-box-athena h3,
.finance-widget .layout.athena-consulenza .result-boxes > div.result-box-athena h4 {
  color: #fff;
}

.finance-widget .layout.athena-consulenza .result-boxes > div.result-box-athena svg {
  fill: #fff;
}

.finance-widget .layout.athena-consulenza .result-boxes > div.savings-box {
  background-color: #fff;
  color: rgba(47, 82, 160, 1);
  border: 2px solid rgba(47, 82, 160, 1);
}

.finance-widget .layout.athena-consulenza .result-boxes > div.savings-box h3,
.finance-widget .layout.athena-consulenza .result-boxes > div.savings-box h4 {
  color: rgba(47, 82, 160, 1);
}

.finance-widget .result-boxes .savings-box h3 {
  font-size: 16px;
}

.finance-widget .result-boxes .savings-box h4 {
  font-size: 20px;
  font-weight: bold;
}

.finance-widget .result-boxes > div.pac-result-box {
  width: 100%;
  background-color: #fff;
  color: rgba(76, 118, 187, 1);
  border: 2px solid rgba(76, 118, 187, 1);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.finance-widget .result-boxes > div.pac-result-box h3,
.finance-widget .result-boxes > div.pac-result-box h4 {
  color: rgba(76, 118, 187, 1);
}

.finance-widget .layout.athena-consulenza .result-boxes > div.pac-result-box {
  background-color: #fff;
  color: rgba(47, 82, 160, 1);
  border: 2px solid rgba(47, 82, 160, 1);
}

.finance-widget .layout.athena-consulenza .result-boxes > div.pac-result-box h3,
.finance-widget .layout.athena-consulenza .result-boxes > div.pac-result-box h4 {
  color: rgba(47, 82, 160, 1);
}

.finance-widget .result-boxes > div.pac-result-box > * {
  margin: 0;
  padding: 0;
}

.finance-widget .result-boxes .pac-result-box h3 {
  font-size: 16px;
}

.finance-widget .result-boxes .pac-result-box h4 {
  font-size: 20px;
  font-weight: bold;
}

.finance-widget .result-boxes > div h3 {
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.finance-widget .result-boxes > div h3 span {
  margin-left: 10px;
  fill: #fff;
  cursor: pointer;
}

.finance-widget .result-boxes > div h4 {
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finance-widget .results {
  padding: 20px;
}

@media screen and (max-width: 800px) {
  .finance-widget .result-boxes {
    flex-direction: column;
  }
  .finance-widget .result-boxes > div {
    width: 100%;
    margin-bottom: 5px;
  }
}

.finance-widget .layout {
  display: flex;
  background-color: rgba(45, 75, 117, 1);
  color: #fff;
  align-items: start;
}

.finance-widget .layout.athena-consulenza {
  background-color: rgba(47, 82, 160, 1);
  color: #fff;
}

.finance-widget .layout .form {
  width: 30%;
}

.finance-widget .layout .results {
  text-align: center;
  width: 70%;
}

@media screen and (max-width: 800px) {
  .finance-widget .layout {
    flex-direction: column;
  }
  .finance-widget .layout .form,
  .finance-widget .layout .results {
    width: 100%;
  }
}

.finance-widget * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
}

.finance-widget button {
  background-color: #fff;
  color: rgba(76, 118, 187, 1);
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.5s background-color, color;
  border: 1px solid #fff;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: bold;
}

.finance-widget button:hover {
  background-color: rgba(76, 118, 187, 1);
  color: #fff;
  border: 1px solid rgba(76, 118, 187, 1);
}

.finance-widget .athena-consulenza button {
  color: rgba(47, 82, 160, 1);
  border-radius: 0;
  border: 1px solid rgba(47, 82, 160, 1);
}
.finance-widget .athena-consulenza button:hover {
  background-color: rgba(47, 82, 160, 1);
  color: #fff;
  border: 1px solid #fff;
}

