.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 16px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}
.calculator-container > h4 {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

#calculator {
    margin-top: 25px;
}

#calculator label {
    display: block;
    margin-bottom: 5px;
}

#calculator .input-container {
    display: flex;
    align-items: stretch;
    box-shadow: 0 0 0 2px transparent;
    transition: all 0.15s ease-in-out;
    border-radius: 7px;
}

#calculator .currency-symbol {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #aaa;
    font-weight: 600;
}

#calculator .input-number {
    border: 1px solid #aaa;
    background: #f4f8ff;
    padding: 11px !important;
    border-radius: 0;
    width: 100%;
    max-width: 100% !important;
    border-radius: 4px 0 0 4px;
}

#calculator .input-number {
    border: 1px solid #aaa;
    background: #f4f8ff;
    padding: 11px !important;
    border-radius: 0;
    width: 100%;
    max-width: 100% !important;
    transition: all .15s ease-in-out;
}
#calculator .input-number {
    border-radius: 4px 0 0 4px;
}
#calculator .currency-symbol {
    border-radius: 4px 0 0 4px;
    transition: all .15s ease-in-out;
}
#calculator .currency-symbol + .input-number {
    border-radius: 0 4px 4px 0;
}
#calculator .input-number + .currency-symbol {
    border-radius: 0 4px 4px 0;
}



#calculator .input-number:focus {
    outline: #273157;
}

#calculator .input-container:last-child .currency-symbol {
    border: 1px solid #aaa;
    border-right: 1px solid #aaa;
}

#calculator .input-container:hover {
    box-shadow: 0 0 0 2px #273157;
}

#calculator .input-container:hover .currency-symbol,
#calculator .input-container:hover .input-number {
    box-shadow: 0 0 0 2px #273157;
}

#calculator p {
    margin: 5px;
}

#calculator h2,
#calculator .title {
    color: #273157;
    margin-top: 10px;
    font-weight: 700;
}

#calculator .subtitle {
    color: #313131;
    font-weight: 500;
}

#calculator .value {
    color: #273157;
    font-weight: 700;
    font-size: 1.75em;
}

#calculator hr {
    color: #27315752;
    margin: 15px 0;
}

#calculator .flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

#calculator .flex > div {
    flex: 1;
}

#calculator .small {
    margin: 5px 0;
    font-size: 0.9em;
}

#calculator .input-group {
    margin-bottom: 15px;
}

#calculator .result {
    background: #eef1ff;
    border-radius: 0 25px 0 0;
    padding: 15px;
}

#calculator .result .inner-results {
    background: #fff;
    padding: 10px;
}

#calculator table {
    width: 100%;
}

#calculator th {
    text-align: left;
    background: #f5f7fe;
    padding: 10px 12px;
    border-left: 1px solid #f5f7fe;
    border-right: 1px solid #f5f7fe;
    border-top: 2px solid #3a6aef;
}

#calculator tbody {
    border: 1px solid #ddd;
    background: #f5f7fe;
}

#calculator td {
    padding: 10px 12px;
}

#calculator form {
    margin-top: 15px;
}

#calculator [data-tip] {
    position: relative;
}

#calculator [data-tip]:before {
    content: '';
    display: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #1a1a1a;
    position: absolute;
    top: 54px;
    left: 35px;
    z-index: 8;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
}

#calculator [data-tip]:after {
    display: none;
    content: attr(data-tip);
    position: absolute;
    top: 59px;
    left: 0px;
    padding: 5px 8px;
    background: #1a1a1a;
    color: #fff;
    z-index: 9;
    font-size: 0.75em;
    height: auto;
    line-height: 18px;
    border-radius: 3px;
    width: 85%;
    word-wrap: normal;
}

#calculator [data-tip]:hover:before,
#calculator [data-tip]:hover:after {
    display: block;
}
