.form-container {
    margin-bottom: 10px;
}

input {
    box-sizing: content-box;
}

.invalid {
    border: 8px solid red !important;
}

.calculator {
    margin: 0 auto;
    font-size: 15px;
}

.margin-left55 {
    margin-left: 55px;
}

.calculator h1 {
    color: #1b3767;
    text-align: center;
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.title_row {
    text-align: center;
    font-weight: bold;
    background: #1a3868;
    color: white;
}

.calc_row {
    padding-bottom: 10px;
    padding-top: 10px;
}

.calc_row .calc_col {
    float: left;
    width: 50%;
}

.calc_row .calc_col3 {
    width: 30%;
}

.calc_row .calc_col3 input {
    margin: 0;
}

.calc_row .calc_col {
    padding-bottom: 7px;
}


.options-input input {
    margin-left: 10px;
}

.no-margin {
    margin: 0px;
}

.coverture-only,
.coverture-block,
#additional-periods,
#gatt-calc,
#irc-calc {
    display: none;
}

.calc_col:after,
.calc_row:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

#results_block {
    display: none;
    margin-bottom: 50px;
}

.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;
}

#results_block input {
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #000;
    width: 90%;
    text-align: center;
}

#results_block .calc_row .calc_col:first-child {
    width: 75%;
}

#results_block .calc_row .calc_col {
    width: 20%;
}

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: bold;
    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: rgb(0, 0, 0);
    background-color: rgba(0, 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: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

input,
select {
    margin-left: 20px;
}

select:disabled {
    background-color: rgb(235, 235, 228);
}

.inline-input {
    margin: 0px;
    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: seagreen;
}

.grey-font {
    /*color: rgba(102, 102, 102, 0.79)*/
}

table,
td,
th {
    border: 1px solid black;
}

#result_block,
#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: black;
    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 {
    -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: white;
    z-index: 999;
    opacity: 0.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: 0px !important;
        padding-right: 0px !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;
    }
}
