:root {
    --smaller: 0.929rem;
    --x-small: 0.7857rem;
    --padding-top: 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

input[type=date] {
    -webkit-appearance: none; /* даты на iOS имели узкую ширину */
}

input[type="search"] {
    -webkit-appearance: none; /* на iOS у поля скруглялась рамка и border-radius не работал */
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

*:focus {
    outline: none !important;
}


a:hover, a:active, a:focus {
    text-decoration: none !important;
}

table {
    font-size: inherit;
}


@media screen and (min-width: 576px) {
    small, .small {
        font-size: 0.857rem;
    }
}

@media screen and (max-width: 575px) {
    small, .small {
        font-size: 0.75rem;
    }
}

.smaller {
    font-size: var(--smaller)
}

.dropdown-item.disabled {
    opacity: 0.65 !important;
}

.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
}

.icon.centered {
    position: relative;
    top: calc(var(--input-height) / 4)
}

.text-info {
    color: #1bb0ce !important;
}

/* calc layout */

.calc-form {
    display:block;
    margin-bottom: 0;
    padding-top: 20px;
    position: relative;
}

.calc-form[data-history="0"] .calc-history-btn {
    display: none;
}

.calc-form a {
    text-decoration: none;
    color: var(--calc-link-color);
}

.calc-form a.dropdown-item {
    color: inherit;
}

.calc-form svg {
    vertical-align: middle;
}

.calc-form a:focus {
    border-bottom: 1px solid;
}

.calc-form a.dropdown-item:focus, .calc-form a.dropdown-toggle:focus {
    border: none;
}

.calc-frow {
    padding: 0 15px 20px;
}

.calc-frow:after {
    display: block;
    clear: both;
    content: "";
}

.calc-frow.separator {
    height: 0;
    line-height: 0;
    font-size: 0;
    border-top: 1px solid #dde5e7;
    /* border-top: 1px dashed #c5d5d9; /* 7calc */
}

.calc-frow.separator-bottom {
    border-bottom: 1px solid #dde5e7;
    margin-bottom: 20px;
}

.calc-frow.surround-with-borders {
    padding-top: 15px;
    padding-bottom: 25px;
    border-top: 1px solid #dde5e7;
    border-bottom: 1px solid #dde5e7;
}

.calc-frow.surround-with-borders + .calc-frow.surround-with-borders {
    border-top: none;
}

.calc-frow.sep-top {
    border-top: 1px solid #f6f8f8;
    box-shadow: 0 -1px 0 #dde4e5;
    padding-top: 1rem;
}

.calc-frow.ad-row {
    padding: 1rem 0;
}

.calc-frow.error-row {
    padding-top: 20px;
}

.calc-footer {
    position: relative;
    padding-top: 18px;
    padding-bottom: 18px;
}

.calc-frow.calc-subtitle {
    padding-top: 10px;
    font-weight: bold;
    color:#444;
    text-shadow: 1px 1px 1px #fff;
}

.error-row > div {
    background: #fbfcfc;
    color: #dc3545;
    border:1px solid #dce2e6;
    padding: 10px;
    border-radius: 3px;
}

@media only screen and (max-width: 480px) {
    .calc-footer {
        padding-top: 15px;
        padding-bottom: 15px !important;
        margin-top: 8px;
    }
}

.calc-fleft {
    width: 25%;
    padding-top: var(--padding-top);
    float: left;
}

@media screen and (min-width: 576px) {
    .calc-fleft {
        text-align: right;
    }
}

.calc-fleft ul {
    padding-left: 1rem;
    font-weight: 400;
}

.calc-fleft svg.icon {
    vertical-align: sub;
    margin-left: 0.25rem;
    color: rgba(0, 0, 0, 0.5);
}

.tooltip-icon {
    margin-left: 0.25rem;
    color: rgba(0, 0, 0, 0.5);
}


.calc-fright {
    margin-left: 28%;
}

.calc-fleft, .calc-frow.result-row .calc-fright, .top-padding-normal, .print-empty {
    padding-top: var(--padding-top);
}

.loading-row {
    display: none;
    padding-top: 1rem;
}

.loading-row .spinner-border {
    color: var(--submit-background);
    width: 4rem;
    height: 4rem;
    border-width: 2px;
}

.calc-footer .calc-fright {
    display: flex;
    align-items: end;
}

.result-sep {
    display: none;
    padding-bottom: 0;
    margin-bottom: 20px;
    border-top: 1px solid #dde5e7;
    box-shadow: 0 1px 1px #fff;
}

.calculated .result-sep {
    display: block;
}


.calc-result-split {
    display: flex;
    flex-wrap: wrap;
}

.calc-result-col {
    flex-basis: 100%;
}

@media screen and (min-width: 769px) {
    .calc-result-col {
        flex-basis: 50%;
        max-width: 50%;
    }
    .calc-result-split .calc-frow {
        padding-right: 0;
    }
    .calc-result-split .calc-fleft {
        width: 50%;
    }

    .calc-result-split .calc-fright {
        margin-left: 56%;
    }
}


@media only screen and (min-width: 0px) and (max-width: 575px) {

    .calc-form {
        padding-top: 12px;
    }

    .calc-frow {
        padding-left: var(--bs-gutter-x, 0.75rem);
        padding-right: var(--bs-gutter-x, 0.75rem);
    }

    .calc-fleft {
        width: 100%;
        float: none;
        padding-bottom: 8px;
        padding-top: 0;
        font-weight: bold;
    }

    .calc-frow.result-row .calc-fleft {
        font-weight: 400;
    }

    .calc-fright {
        width: 100%;
        float: none;
        margin-left: 0;
    }
}


/* calc elements */

.calc-input {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
    position: relative;
}

.calc-result-value {
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
}

.calc-result-value.raw {
    font-weight: normal;
    font-size: 1em;
}

.calc-result-big {
    display: inline-block;
    color: #333;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
    background-color: #fbfcfc;
    border: 1px solid #dde5e7;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1.5rem;
    margin: 0.5rem 1rem 0.5rem 0;
    cursor: pointer;
    position: relative;
}

.calc-result-big > .order {
    font-weight: normal;
    display: none;
    position: absolute;
    left: 3px;
    top: 3px;
    font-size: 10px;
    color: #aaa;
}

.calc-result-big:hover > .order {
    display: block;
}

.calc-input-desc {
    display: inline-block;
    color: #758a9a;
    font-weight: 400;
    margin-left: 3px;
    padding-top: 1px;
}

.row-centered {
    display: inline-block;
    padding-top: 8px;
}

.calc-text-desc {
    color: #758a9a;
}

a.calc-text-desc {
    border-bottom: 1px solid #ccc;
}

.calc-input-notice {
    margin-top: 4px;
    font-size: 0.9em;
    color: #999999;
}

.calc-inp, .calc-select {
    box-sizing: border-box;
    min-width: var(--input-height);
    height: var(--input-height);
    line-height: var(--input-height);
    display: inline-block;
    max-width: 100%;
    padding: 0 8px;
    background-color: #fff;
    transition: border 0.3s ease;
    text-align: left;
    color: rgb(54,54,54);
    border: 1px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
    /*font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;*/
}

.calc-inp:focus {
    border-color: var(--input-border-color-focused);
}

.calc-inp.error {
    border: 1px solid var(--error-border-color);
}

textarea.calc-inp {
    line-height: 1.3em;
    padding-top: 8px;
    padding-bottom: 8px;
}

.calc-inp[type="date"] {
    /*background: #fff url('../images/calendar.png') 95% 50% no-repeat;*/
}

.calc-inp-sm {
    height: 30px;
    min-width: 30px;
    line-height: 29px;
    font-size: 0.857em;
}

.calc-submit, .calc-footer-btn {
    display:inline-block;
    padding:0 20px;
    height: var(--input-height);
    line-height: 37px;
    border: none;
    cursor:pointer;
    text-decoration:none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 0.9em;
    background-color: var(--submit-background);
    border-radius: var(--input-border-radius);
}

.calc-submit:hover {
    background-color: var(--submit-background-hover);
}

.calc-submit:focus {
    box-shadow: 0 0 0 1px var(--input-border-color-focused);
}

.calc-footer-btn {
    width: 40px;
    padding: 0;
    text-align: center;
    border-radius: var(--input-border-radius);
}

.calc-footer-btn:focus {
    border: 1px solid var(--input-border-color-focused)
}

.calc-toggle {
    text-decoration: none;
    margin-right: 15px;
    white-space: nowrap;
    padding: 2px 0;
    cursor: pointer;
    line-height: 2em;
    border-bottom: 1px dashed;
}

.calc-toggle.current {
    border-bottom: 1px solid;
    font-weight: bold;
}

.calc-ul {
    padding: 0;
    padding-left: 10px;
}

.calc-ul li {
    list-style: none;
    padding: 3px 0 3px 23px;
    background: var(--dash-bg) left 7px no-repeat;
}

#reset-form {
    display: none;
}

.calc-form.calculated #reset-form {
    display: inline-block;
}

.calc-placeholder {
    display: block;
    height: var(--input-height);
    line-height: var(--input-height);
    position: absolute;
    top: 0;
    color: #758a9a;
    left: 10px;
    cursor: default;
}

.calc-placeholder.append {
    left: auto;
    right: 0;
    padding: 0 10px;
}

.calc-inp-append {
    display: block;
    position: absolute;
    top: calc(var(--input-height) / 4);
    color: rgb(54,54,54);
    right: 0;
    padding: 0 10px;
    cursor: default;

    /*
    right: 6px;
    padding: 2px 7px;
    background: #F2E688;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);*/
}

.calc-toggle-button {
    background-color: #fff;
    border: 1px solid var(--input-border-color);
    height: auto;
    line-height: normal;
    padding: 10px 8px;
    margin-top: -1px;
    margin-left: -1px;
    cursor: pointer;
    border-color: #dde0e1;
    color: #444 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calc-toggle-button .icon {
    color: var(--submit-background)
}

.calc-toggle-button.current {
    box-shadow: inset 0 0 1px 2px #85ceff;
    /*background-color: var(--toggle-button-active-bg-color);*/
    z-index: 1;
    color: inherit;
    font-weight: bold;
}

@media (max-width: 575px) {
    .calc-toggle-button {
        font-size: 14px;
    }
}

.calc-remark {
    padding: 5px 0 5px 1rem;
    border-left: 2px solid;
}

.calc-remark-warning {
    border-color: var(--bs-warning);
}

.calc-remark-danger {
    border-color: var(--bs-danger);
}

.calc-remark-success {
    border-color: var(--bs-success);
}

.calc-remark-info {
    border-color: var(--bs-info);
}

.set-global-currency {
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: var(--input-border-radius);
    color: #555;
    margin: 0.1rem 0;
}

.set-global-currency.current {
    font-weight: bold;
    color: #000;
    background-color: #eee;
}

/* tables */

.calc-form-table {
    font-size: 1em;
}

.calc-form-table td {
    padding: 3px;
    vertical-align: top;
}

.calc-form-table tr:first-child td {
    padding-top: 0;
}

.calc-form-table td:first-child {
    padding-left: 0;
}

.calc-form-table td:last-child {
    padding-right: 0;
}

.calc-form-table th {
    font-size: 0.85em;
    font-weight: 400;
}

.calc-form-table-delete-btn {
    position: relative;
    top: 8px;
}

.calc-form-table-delete-btn svg {
    width: 20px;
    height: 20px;
    color: var(--bs-danger);
}


.schedule-table-wrapper {
    overflow-x: auto;
}

.calcus-widget .schedule-table-wrapper {
    border-radius: 0;
}



.schedule-table {
    font-size: 0.9375em; /* 15px */
    border-collapse: collapse;
}


.schedule-table tr.year-sep td {
    border-top-width: 2px;
}


/* до 767 основной размер шрифта - 16, поэтому уменьшает здесь */
@media only screen and (max-width: 767px) {
    .schedule-table {
        font-size: 0.8125em; /* 13px */
    }
}


.table-offers {
    margin-bottom: 0; /* хз откуда там появился */
}

.table-offers td {
    vertical-align: middle;
}

.table-offers td:first-child {
    padding-left: 0;
}

.table-offers tr:first-child td {
    padding-top: 0;
}

@media only screen and (max-width: 575px) {
    .table-offers {
        font-size: 0.875em; /* 14px */
    }
}


/* checkboxes and radio */

.calc-form label {
    margin-bottom: 0;
}

.calc-checkbox:not(checked) {
    position: absolute;
    opacity: 0;
}

.calc-checkbox:not(checked) + label {
    position: relative;
    padding: 0 0 0 30px;
    display: inline-block;
    height: 22px;
    line-height: 22px;
}

.calc-checkbox:not(checked) + label:before {
    content: '';
    position: absolute;
    box-sizing: content-box;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #FFF;
    transition: border 0.3s ease;
    border: 1px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
}

.calc-checkbox:not(checked):focus + label:before {
    border-color: var(--input-border-color-focused);
}

.calc-checkbox:not(checked) + label:after {
    content: '';
    position: absolute;
    box-sizing: content-box;
    top: 4px;
    left: 4px;
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: all .2s;
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23758a9a%27 d=%27M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z%27/%3e%3c/svg%3e");
}

.calc-checkbox:checked + label:after {
    opacity: 1;
}

.calc-radio:not(checked) {
    position: absolute;
    opacity: 0;
}

.calc-radio:not(checked) + label {
    position: relative;
    padding: 0 0 0 30px;
    display: inline-block;
    min-height: 22px;
}

.calc-radio:not(checked) + label span {
    vertical-align: middle;
}

.calc-radio:not(checked) + label:before {
    content: '';
    position: absolute;
    box-sizing: content-box;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--input-border-color);
    background: #FFF;
    border-radius: 50%;
}

.calc-radio:not(checked):focus + label:before {
    border-color: var(--input-border-color-focused);
}

.calc-radio:not(checked) + label:after {
    content: '';
    position: absolute;
    box-sizing: content-box;
    top: 5px;
    left: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #758a9a;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5);
    opacity: 0;
    transition: all .1s;
}

.calc-radio:checked + label:after {
    opacity: 1;
}

.calc-radio:checked:disabled + label:after {
    opacity: 0.5;
}

.radio-sep {
    font-size: 0;
    height: 8px;
}

.calc-copy {
    display: inline-block;
    vertical-align: text-bottom;
    cursor: pointer;
    margin-left: 1rem;
    /* print none */
    width: 16px;
    height: 16px;
    color: green;
    background: transparent url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27currentColor%27%3e%3cpath d=%27M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z%27/%3e%3cpath d=%27M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z%27/%3e%3c/svg%3e");
    background-size: 16px 16px;
    opacity: 0.5;
}

.calc-copy:hover {
    opacity: 1;
}

/* ajax search */

.ajax-search-wrapper {
    position: relative;
}

.ajax-search {
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 2rem;
}

.search-results {
    display: none;
    position: absolute;
    z-index: 900;
    top: 100%;
    right: 0;
    left: 0;
    overflow-y: auto;
    max-height: 332px;
    border: 1px solid #ced4da;
    border-top: none;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(43, 44, 44, 0.15);
    border-radius: 0.25rem;
}

.search-result-item {
    cursor: pointer;
    padding: 10px 10px;
}

.search-result-item:hover {
    background-color: #FBFFD0;
}

.search-result-text {
    padding: 10px 10px;
    color: #6c757d;
}

.ajax-search-wrapper .spinner-border {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    margin-top: -8px;
    right: 12px;
    color: var(--submit-background);
}

.search-cancel {
    display: none;
    position: absolute;
    right: 5px;
    top: calc(50%);
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    background: transparent url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23dc3545%27%3e%3cpath d=%27M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z%27/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-size: 12px 12px;
}



/* history */

.cals-history-btn {

}




/* choices js */

.choices {
    margin-bottom: 0;
}

.choices[data-type*=select-one] > .choices__list > .choices__list > .choices__item--selectable {
    padding-right: 0;
}

.choices[data-type*=select-one] > .choices__list > .choices__list > .choices__item--selectable::after {
    display: none;
}

.choices[data-type*=select-one] .choices__inner {
    font-size: 1rem;
    padding: 0 !important;
    display: flex;
    align-items: center;
    min-height: var(--input-height);
    border-radius: var(--input-border-radius);
    border: 1px solid var(--input-border-color);
    background-color: #fff;
}

.choices[data-type*=select-one].error .choices__inner {
    border-color: var(--error-border-color) !important;
}

.choices[data-type*=select-one].is-focused .choices__inner {
    border-color: #246F91;
}

.choices__inner {
    border-radius: 0;
}

.choices__list--single {
    padding: 4px 16px 4px 8px !important;
}

.choices__list--dropdown {
    z-index: 2 !important;
}

.choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
    max-height: 200px;
}
:root {
    --input-border-color: #cbd1d5;
    --input-border-color-focused: #246F91;
    --input-border-radius: 0;
    --submit-background: #3498db;
    --submit-background-hover: #00acee;
    --toggle-button-active-border-color: #3186d1;
    --toggle-button-active-bg-color: #f5f5f5;
    --error-border-color: #f26c63;
    --input-height: 40px;
    --calc-bg-color: #ECF0F1;
    --calc-footer-bg-color: #dde5e7;
    --calc-link-color: #315677;
}

.calc-form {
    background-color: var(--calc-bg-color);
    border-color: var(--calc-footer-bg-color);
    border-width: 3px 0 0;
    border-style: solid;
}

@media screen and (min-width: 576px) {
    .calc-form {
        border-left-width: 1px;
        border-right-width: 1px;
    }
}

.calc-form.calculated {
    border-bottom-width: 3px;
}

.calc-footer {
    background-color: var(--calc-footer-bg-color);
}

.calc-inp.dropdown-toggle::after {
    vertical-align: middle !important;
}


.calc-inp:disabled {
    background-color: #fcfcfc;
}

.calc-error-message {
    background-color: #f26c63;
    padding: 3px 5px;
    color: white;
    font-size: 11px;
}

.calc-checkbox:not(checked) + label:before {
    border: 1px solid #cbd1d5;
}

.calc-checkbox:not(checked):focus + label:before {
    border: 1px solid #246F91;
}

.calc-submit {
    border-bottom: 2px solid #2980b9;
    border-top: 2px solid transparent;
}

.calc-submit:active {
    background-color: #2980b9;
    border-top-color: #206491;
}

.calc-submit.disabled, .calc-submit:disabled {
    cursor: default;
    opacity: 0.5;
    background: #3498db;
}

.calc-footer-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #2980b9;
}

.calc-loading {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #3498db;
    width: 0;
    max-width: 100%;
}

.calc-frow.calc-subtitle {
    color:#4b6273;
}


.calc-loader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-loader:after {
    background-color: #fff;
    content: "Идет загрузка...";
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: 0 1px 2px #333;
    opacity: 0.8;
    font-size: 1.2rem;
}

.offers-frow {
    padding-bottom: 12px;
    padding-top: 12px;
    margin-bottom: 1.5rem;
    margin-top: -19px;
    background-color: #fbfcfc;
    border-top: 1px solid #dde5e7;
    border-bottom: 1px solid #dde5e7;
    border-left: 2px solid #ECF0F1;
    border-right: 2px solid #ECF0F1;
}

.calc-remark {
    color: #484848;
    font-size: var(--smaller);
}

/* chosen */

.chosen-single {
    border: 1px solid #bdc3c7 !important;
    padding: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    border-radius: var(--input-border-radius) !important;
    height: auto !important;
    line-height: 1.4 !important;
    color: #000 !important;
}

.chosen-container-single .chosen-single div b {
    background-position: 0 8px !important;
}

.chosen-drop li {
    background: none;
    color: #000;
}


/* buttons */

.button-offer, .button-offer-sm, .button-offer-xs {
    background-color: #45bb60;
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    line-height: 1.5;
    border: none;
    border-bottom: 2px solid #4aa860 !important;
    color: #fff !important;
}



.button-offer {
    border-radius: .25rem;
    padding: .375rem .75rem;
}

.button-offer-sm {
    padding: 0.4rem 0.5rem 0.25rem 0.5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

.button-offer-xs {
    padding: 0.3rem 0.5rem 0.2rem 0.5rem;
    font-size: .8rem;
    border-radius: .2rem;
}

.button-offer:hover, .button-offer-sm:hover, .button-offer-xs:hover {
    background-color: #5cc473;
}

.button-offer:active, .button-offer-sm:active, .button-offer-xs:active {
    background-color: #4aa860;
}


/* tooltips */

/*
.calc-tooltip {
    display: inline-block;
    box-sizing: content-box;
    opacity: 0.5;
    cursor: pointer;
    margin: 0 3px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    border: 2px solid #95a5a6;
    border-radius: 12px;
    color: #95A5A6;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.calc-tooltip:hover {
    opacity: 1;
}
*/

.tooltip-inner {
    text-align: center;
    background-color: #505050;
    border-color: #303030;
    color: #f3f3f3;
    font-size: 1rem;
    border-radius: 0;
    box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);
    padding: 0.5rem 0.75rem;
    max-width: 300px;
}

.tooltip-arrow::before {
    display: none;
}


/* todo SCHEDULE AND SOLUTION TABLE  */

.schedule-table td, .schedule-table th {
    border: 1px solid #ecf0f1;
    padding: 7px;
    background-color: #fbfcfc;
}

.schedule-table th {
    color: #566473;
    font-weight: 400;
    vertical-align: top;
    text-align: left;
    border-bottom-width: 2px;
}

.schedule-table tr:hover td, .schedule-table tr.checked td {
    background-color: #f5f5f5;
}

.schedule-table .text-muted {
    color: #838b94 !important;
}

.calc-solution {
    display: inline-block;
    padding: 7px;
    background-color: #fbfcfc;
    border: 1px solid #ecf0f1;
    line-height: 1.8;
}

.calc-solution-table td, .calc-solution-table th {
    border: 1px solid #ecf0f1;
    padding: 7px;
    background-color: #fbfcfc;
}

.calc-solution-table th {
    color: #566473;
    font-weight: normal;
}
html {
    font-size: 14px !important;
}

a, a:hover {
    color: #2b77aa;
}

.calc-form {
    background-color: #fff;
    border: none !important;
}


.calc-frow.calc-footer {
    background-color: transparent;
    padding-top: 10px;
}

.calc-inp {
    border-radius: 0.25rem;
}

.calc-error-message {
    border-radius: 0.25rem;
    margin-top: 1px;
}



.calc-submit {
    border: none;
    border-radius: 0.25rem;
}


.calc-backlink {
    margin-top: 15px;
    font-size: 0.85em;
    color: #888;
}

/* choices */

.chosen-single {
    border-radius: 0.25rem !important;
}

.choices[data-type*=select-one] .choices__inner {
    border-radius: 0.25rem;
}
