.label {
    padding: .2em .5em .2em;
}

.forum-box .forum-heading .label {
    margin-top: 4px;
}

.middle-font-size {
    font-size: 1.2em;
}

.formula-note .mjx-chtml {
    text-align: left !important;
}

hr {
    border-top: 1px solid #a7a8af !important;
    padding-bottom: 10px;
}

.forum-box > .panel-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

label {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 7px;
}

.fin-sav-bal {
    font-size: 18px;
    line-height: 1.5;
}

.form-control.input-lg {
    border-radius: 0;
    border-color: #a7a8af !important;
}

.input-group-addon.input-lg {
    border-radius: 0;
    border-color: #a7a8af !important;
}

.input-group > .form-control.input-lg {
    padding-left: 10px;
    padding-right: 5px;
}

.input-group > .input-group-addon {
    padding-left: 10px;
    padding-right: 16px;
}

.no-border-right {
    border-right: none;
}

.padding-20 {
    padding: 20px !important;
}

.calc-left-side-background {
    background-color: #f0f0f2;
}

.no-radius {
    border-radius: 0 !important;
}

a.link-action {
    font-size: 18px;
    bottom: 0;
}

.btn.dropdown-toggle.btn-default {
    height: 46px;
    font-size: 18px;
}

ul.dropdown-menu.inner {
    font-size: 16px;
}

.text-big {
    font-size: 50px;
}

div.form-group.error input.form-control, div.form-group.error span.input-group-addon {
    border-color: red !important;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}
.well {
    min-height: 20px;
    padding: 0 20px 5px;
    margin-bottom: 20px;
    border: 0;
    background-color: #fafafa;
    border-radius: 4px;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .19);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .19);
}
.well-legend {
    display: block;
    font-size: 14px;
    width: auto;
    padding: 5px 10px 5px 7px;
    margin-bottom: 10px;
    line-height: inherit;
    background-color: #fafafa;
    border: 0;
    color: #000;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .15);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .15);
}

.important-text {
    padding: 2px 4px;
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
    color: #c7254e;
    font-size: 90%;
}

.calc-content {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
}

h2 {
    margin-top: 5px;
}

h3 {
    padding-top: 5px;
    font-size: 1.1rem;
}

.calc-content p {
    margin-bottom: 18px;
}

.calc-content a {
    text-decoration: none;
    color: #0072ec;
}

.calc-content td {
    padding: 10px;
    border-bottom: 1px dotted lightgrey;
}

.calc-content img {
    width:auto !important;
    max-width:100% !important;
    height:auto !important;

    image-rendering: -moz-crisp-edges !important; /* Firefox */
    -ms-interpolation-mode: nearest-neighbor !important;  /* IE */
    image-rendering: crisp-edges !important; /* Стандартное свойство */
}

.calc-content figure > img {
    max-width: 100% !important;
}

.calc-content li {
    padding: 0 0 5px;
}

.calc-content li ul li:last-child {
    padding-bottom: 0;
}

.calc-content table {
    margin-bottom: 20px;
    border: 1px solid #000;
}

.calc-content table td,
.calc-content table th {
    word-wrap: break-word;
    white-space: normal;
    vertical-align: baseline;
}

.calc-content table td.wrap, .calc-content table th.wrap {
    word-wrap: break-word;
    white-space: normal;
}

@media (max-width: 768px) {
    .no-borders-xs {
        border: none !important;
    }

    .sub-result-col {
        padding-left: 5px;
        padding-right: 5px;
    }

    .calc-right {
        padding-left: 0 !important;
        padding-right: 0 !important;;
    }

    .hpanel .panel-body.sub-result {
        padding-left: 5px;
        padding-right: 5px;
    }

    .calc-content ul {
        margin-top: 10px;
    }

    .calc-content li {
        padding: 5px 0 8px;
    }
}

.sub-result {
    background-color: #f2f2f2 !important;
    border-radius: 5px;
}

tfoot.foot-total > tr > td {
    border-top: 2px solid #000;
    background-color: #f5f5f5;
    font-weight: bold;
}

thead.headers > tr > td {
    border-bottom: 2px solid #000;
    background-color: #f5f5f5;
    font-weight: bold;
}

table.table-results {
    text-align: right;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace
}

table.table-results > tbody > tr > td.total-cell {
    border-left: 1px solid #e4e5e7;
    background-color: #f5f5f5;
}

.dropdown-currency button.dropdown-toggle {
    border-color: #a7a8af; box-shadow: none;
}

.dropdown-currency ul.dropdown-menu .dropdown-item {
    display: block;
    padding: 3px 15px 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
}

.my-help-fake-block {
    display: inline-block;
    padding: 3px 5px;
    border: 1px dotted red;
    border-radius: 5px;
}

.my-help-fake-row {
    padding-bottom: 20px;
}

.my-help-fake-row .head > span {
    font-size: 16px;
    display: block;
}

.card {
    padding: 15px;
    font-size: 16px;
    border-radius: 7px;
    margin-top: 20px;
}

.card:hover {
    transition: transform .3s;
    transform: scale(1.025);
}

.table-contents {
    padding: 25px 15px 10px;
    background-color: #fbfbfb;
    margin-bottom: 30px;
}

ul > li > a {
    padding-bottom: 3px;
    display: inline-block;
}

ul > li > ul > li > a {
    padding-bottom: 0;
}

.calc-content td, .calc-content th {
    padding: 10px;
    border-bottom: 1px dotted lightgrey;
}

.calc-content td:nth-child(1), .calc-content th:nth-child(1) {
    text-align: center;
    width: 15%;
}

h2 {
    padding-top: 20px;
}

h3 {
    padding-top: 20px;
}
.show-formula-label {
    margin-inline-start: 5px;
}
