#result_block-or {
    display: none;
    grid-template-columns: 2fr 1fr 1fr;
    grid-row-gap: 10px;
    column-gap: 10px
}

.calculator-choice {
    font-size: 120%;
    margin-bottom: 20px
}

.calc_row,
.calc_row_three,
#inflation-section,
#option-c-warning,
.option-c {
    grid-column: 1/4
}

.mt-10 {
    margin-top: 10px
}

.mb-20 {
    margin-bottom: 20px
}

.mb-10 {
    margin-bottom: 10px
}

.mb-5 {
    margin-bottom: 5px
}

th,
td {
    padding: .3em .6em
}

select {
    font-weight: 400;
    font-size: 15px;
    border: 1px solid #d7d7d7;
    width: 80%;
    padding: 6px;
    display: block;
}

.inflation-input {
    border: 1px solid #d7d7d7;
    padding: 3px
}

.option,
.option-c {
    display: contents
}

.mask {
    grid-row: 5/17;
    border: 1px solid red;
    background-color: lightgrey;
    color: #000;
    padding: 5px;
    display: none
}

.calc_col1 {
    grid-column: 1/2
}

.calc_col2 {
    grid-column: 2/3
}

.calc_col3 {
    grid-column: 3/4
}

.calc_col23 {
    grid-column: 2/4
}

#pv-calc {
    display: none
}

.form-container {
    margin-bottom: 10px
}

.col-header {
    font-size: 110%
}

.separator {
    margin-top: 5px;
    border-bottom: 3px solid #000
}

.with-service:not(.separator) {
    background-color: #fcd8eb;
    padding: 5px 10px
}

.without-service:not(.separator) {
    background-color: #d8d7ff;
    padding: 5px 10px
}

#without-mask {
    grid-column: 2/3
}

#with-mask {
    grid-column: 3/4
}

.mini-col {
    width: 40% !important
}

.margin-left55 {
    margin-left: 55px
}

.alter-header {
    background-color: #44931b !important
}

.result-block span {
    padding: 1px
}

.calc_row_three .calc_col {
    margin-right: 7%
}

#age-notification {
    padding: 10px
}

.coverture-only,
.coverture-block,
#additional-periods {
    display: none
}

.header {
    transform: rotate(-90deg);
    white-space: nowrap;
    max-width: 5px;
    padding: 20px
}

#ages-table,
#ages-table td {
    border: 0 solid #000
}

.ages-first-column {
    border-right: 1px solid #000 !important
}

.ages-last-row {
    border-top: 1px solid #000 !important
}

.ages-colored-row {
    background-color: #d3d3d3
}

.invalid {
    border: 8px solid red !important
}

.calculator {
    margin: 0 auto;
    font-size: 15px
}

.calculator h1 {
    color: #1b3767;
    text-align: center;
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 20px
}

.title_row {
    text-align: center;
    font-weight: 700;
    background: #1a3868;
    color: #fff
}

.calc_row,
calc_row_three {
    padding-bottom: 10px;
    padding-top: 10px
}

.calc_row .calc_col {
    float: left;
    width: 50%
}

.calc_row_three .calc_col {
    float: left;
    width: 20%
}

.calc_row_three .calc_col:first-child {
    width: 40%
}

.calc_row .calc_col:first-child {
    padding-bottom: 7px
}

.calc_row_three .calc_col:first-child {
    margin-right: 15px
}

.options-input input {
    margin-left: 10px
}

.calc_col:after,
.calc_row:after,
.calc_row_three:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

.main-result {
    font-size: 20px;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
    margin-top: 30px;
    color: #003eff
}

.main-result span {
    border-bottom: 5px solid #003eff
}

.regular-result {
    margin-top: 10px
}

input:focus {
    outline: none
}

.clearbutton {
    padding: 12px;
    background-color: #4a7ad0;
    border-color: #4a7ad0;
    font-weight: 300;
    font-size: 17px;
    color: #fff;
    border: none;
    text-transform: uppercase;
    transition: all .1s ease-in-out, transform .1s ease-in-out;
    cursor: pointer
}

.clearbutton:hover {
    color: #fff;
    background-color: #1a3868;
    border-color: #1a3868
}

.row_st {
    font-weight: 700;
    color: #1a3868;
    line-height: 20px
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, .4)
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: 700
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer
}

input {
    box-sizing: content-box
}

select:disabled {
    background-color: #ebebe4
}

.inline-input {
    margin: 0;
    width: 40px
}

.vertical-separated {
    margin-bottom: 10px
}

.btn {
    font-weight: 300;
    color: #fff;
    border: none;
    text-transform: uppercase;
    transition: all .1s ease-in-out, transform .1s ease-in-out;
    cursor: pointer
}

.btn:hover {
    color: #fff
}

.btn-md {
    padding: 10px;
    font-size: 14px
}

.green {
    background-color: #2e8b57
}

.grey-font {}

table,
td,
th {
    border: 1px solid #000
}

#result_block,
#result_block-or,
#confirm_block {
    display: none
}

.tooltip {
    position: relative;
    display: inline-block;
    background-image: url(info.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 15px;
    height: 15px;
    line-height: 1em
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 320px;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1
}

.tooltip-right {
    bottom: 100%;
    left: 105%
}

.tooltip-left {
    bottom: 100%;
    right: 105%
}

.tooltip-center {
    bottom: 100%;
    left: 50%;
    margin-left: -120px
}

.error {
    margin-left: 5px;
    color: red
}

table {
    table-layout: auto
}

#afterPaymentWarning {
    border: 1px solid red;
    padding: 10px
}

#afterPaymentWarning {
    display: none
}

#check-agreement,
#check-agreement-or {
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    padding: 10px
}

#payment_code {
    padding: 0 5px;
    width: 90%
}

#payment_code::-webkit-input-placeholder {
    font-style: italic
}

#payment_code::-moz-placeholder {
    font-style: italic
}

#payment_code:-ms-input-placeholder {
    font-style: italic
}

#payment_code:-moz-placeholder {
    font-style: italic
}

.paypal-button {
    margin-top: 5px
}

#payment-block {
    position: relative
}

#payment-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    opacity: .8;
    display: none
}

#payment-start {
    font-size: 2em
}

@media(min-width:768px) {
    .tooltip:hover .tooltiptext {
        visibility: visible
    }
}

@media(max-width:767px) {
    span.step {
        line-height: 24px
    }

    .margin-left55 {
        margin-left: 32px
    }

    .hide-on-xs {
        display: none
    }
}

@media(max-width:1024px) {
    .content-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important
    }

    #welcome .name_row input {
        width: 50% !important
    }

    input,
    select {
        margin-left: 2px
    }

    .calc_row .calc_col:first-child {
        width: 45%
    }

    #welcome input[type=text] {
        width: 70%
    }

    .hide-on-small {
        display: none
    }
}
