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

.nheader .header__title {
    float: left;
}

.nheader .header__print {
    float: right;
    padding-top: 100px;
}

.print {
    float: right;
    color: #FFFFFF;
    padding-right: 90px;
}

.download {
    float: left;
    color: #FFFFFF;
    padding-left: 90px;
}

.download span {
    display: inline-block;
    height: 31px;
    line-height: 31px;
    padding-left: 5px;
}

.nheader .header__print span,
.print span {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding-left: 5px;
}

.clear_block {
    display: table;
}

.clear_block .container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.clear_block .container .block {
    width: 19px;
    height: 19px;
    margin: 0 auto;
    display: block;
    position: relative;
    background: url(../images/clear.png) 0px -20px no-repeat;
    cursor: pointer;
}

.clear_block .container .block:hover {
    background: url(../images/clear.png) 0px 1px no-repeat;
}

.clear_block .container .alert {
    position: absolute;
    top: -55px;
    left: 50%;
    background-color: #ffffff;
    line-height: normal;
    font-weight: 700;
    font-size: 12px;
    color: #1047a1;
    display: none;
    width: 130px;
    padding: 15px 20px;
    margin-left: -65px;
    border-radius: 15px;
    box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.1);
}

.clear_block .container .alert:after {
    content: '';
    position: absolute;
    bottom: -24px;
    margin-left: -12px;
    left: 50%;
    border: 12px solid transparent;
    border-top: 12px solid #FFFFFF;
}

.clear_block_mobile,
.day_block_mobile {
    display: none;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #ffffff;
    padding: 60px 30px;
    z-index: 9991;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 200ms ease;
}

.popup.exist {
    z-index: 9993;
}

.popup_info {
    position: absolute;
    top: 100px;
    transform: translateX(-50%);
    padding: 60px 90px 0 90px;
    margin-bottom: 40px;
}

.popup button.hidden_btn {
    display: none;
}

.popup.visible,
.popup_info.visible {
    opacity: 1;
    visibility: visible;
    display: block;
}

.popup.exist .links .link {
    margin: 0 0 20px 0;
    display: block;
    text-align: center;
}

.popup.exist .links .link:last-child {
    margin-bottom: 0;
}

.popup.exist .links .link:hover {
    text-decoration: underline;
}

.popup .heading {
    font-size: 36px;
    color: #1047a1;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.popup label {
    color: #666666;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.popup .close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: block;
    width: 19px;
    height: 19px;
    background: url(../images/clear.png) 0 -20px no-repeat;
    cursor: pointer;
}

.popup button {
    background-color: #23b57c;
    border-radius: 20px;
    display: block;
    color: #fff;
    text-align: center;
    padding: 15px;
    width: 170px;
    font-size: 16px;
    margin: 30px auto 0 auto;
    transition: all 200ms ease;
}

.popup button:hover {
    background-color: #1e9265;
}

.popup .content {
    color: #666666;
}

.popup .content .heading {
    color: #1047a1;
    font-size: 36px;
}

.popup_info .content .heading {
    font-weight: 500;
    margin-bottom: 60px;
}

.popup .content p {
    margin-bottom: 20px;
}

.popup .content ul {
    margin-bottom: 20px;
}

.popup .content .mark {
    position: relative;
    padding-left: 25px;
}

.popup .content .mark:before {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1047a1;
}

.popup .content ul li {
    margin-bottom: 5px;
}

.popup .content ul li:last-child {
    margin-bottom: 0;
}

.popup .content .attention {
    color: red;
}

.popup .content .bold {
    font-weight: 500;
}

.popup .content .footer {
    height: 80px;
    margin: 70px -90px 0 -90px;
    padding: 25px 0;
    background-color: #1047a1;
}

.layer,
.layer2level {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms ease;
}

.layer2level {
    z-index: 9991;
}

.layer.visible,
.layer2level.visible {
    opacity: 1;
    visibility: visible;
}

.calculation {
    padding: 50px 34px;
}

.calculation.detail {
    padding: 0;
    margin-top: 30px;
}

.calculation .weight,
.calculation .weight_text {
    padding: 0 45px 0 15px;
    height: 50px;
    float: left;
    width: 450px;
    background-color: #fff;
    border: 1px solid #b1c2d3;
}

.calculation .weight.input_error {
    border-color: #ff3030;
}

.calculation.detail .weight_text {
    width: auto;
    height: auto;
    padding: 0 15px;
    font-size: 14px;
}

.calculation .weight_text .text {
    display: inline-block;
}

.calculation .weight_text .text.error_color {
    color: #ad1010;
}

.calculation .weight_text {
    line-height: 50px;
    float: left;
}

.calculation .info {
    padding: 25px 20px;
    background-color: #f7f9fb;
    position: relative;
}

.calculation .info .block,
.calculation.detail .info {
    display: flex;
    align-items: center;
}

.calculation .info label {
    color: #666666;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.calculation .info img {
    margin: 0 15px 0 35px;
}

.calculation .info .text {
    display: inline-block;
}

.calculation .info .text p:first-child {
    margin-bottom: 2px;
}

.calculation .info .text p span {
    font-weight: 700;
    display: inline-block;
}

.calculation .info .block_error {
    z-index: 100;
    position: absolute;
    top: 115px;
    border-radius: 5px;
    color: #ffffff;
    background: #ff3030;
    padding: 25px;
    box-shadow: 0 2px 18px 0 rgba(51,51,51,.21);
    display: none;
}

.calculation .info .block_error.visible {
    display: block;
}

.calculation .result {
    background-color: #1047a1;
    overflow: hidden;
    height: 124px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.calculation .result li {
    text-align: center;
    color: #FFFFFF;
}

.calculation .result li p {
    text-transform: uppercase;
}

.calculation .result li span {
    display: block;
    font-weight: 700;
    font-size: 24px;
    margin-top: 15px;
}


.calculation .table {
    width: 100%;
    margin: 30px 0;
}

.calculation .table .list li {
    float: left;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    width: 5%;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.calculation .table .list li .cell {
    width: 85%;
    height: 34px;
    border: 1px solid #b1c2d3;
    border-radius: 10px;
    text-align: center;
    display: inline-block;
}

.calculation .table .header {
    background-color: #1047a1;
    height: 70px;
}

.calculation .table .header .heading {
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    width: 13%;
    padding: 15px 20px 0 20px;
    float: left;
    border-right: 1px solid #b1c2d3;
    height: 100%;
    font-size: 15px;
}

.calculation .table .header .heading.mobile {
    display: none;
}

.calculation .table .header .content {
    width: 87%;
    float: right;
}

.calculation .table .header .heading_mobile {
    display: none;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 2em;
    line-height: 38px;
    padding: 20px;
}

.calculation .table .header .content .top {
    background-color: #23b57c;
    height: 20px;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
}

.calculation .table .header .content .list {
    width: 100%;
    height: 50px;
    padding-left: 10px;
    box-sizing: border-box;
}

.calculation .table .header .content .list li span {
    border: none;
}

.calculation .table .line {
    height: 70px;
    border-bottom: 1px solid #b1c2d3;
    border-left: 1px solid #b1c2d3;
    border-right: 1px solid #b1c2d3;
}

.calculation .table .line .heading {
    text-align: left;
    width: 13%;
    padding: 0 0 0 15px;
    float: left;
    border-right: 1px solid #b1c2d3;
    height: 100%;
    line-height: 70px;
}

.calculation .table .line .heading .mobile {
    display: none;
}

.calculation .table .line .heading .desktop {
    display: block;
}

.calculation .table .line .list {
    display: block;
    float: right;
    width: 87%;
    height: 100%;
    padding-left: 10px;
    box-sizing: border-box;
}

.calculation .table .line .list li {
    height: 100%;
    line-height: 70px;
}

.calculation .table .line .list li input {
    color: #666666;
}

.calculation .table .line .container .block:hover + .alert {
    display: block;
}

.calculation .table .line.readonly {
    background-color: #f7f9fb;
}

.calculation .table .line.readonly .heading {
    line-height: normal;
    padding: 15px 0 0 15px;
}

.calculation .table .line.readonly .list li input {
    background-color: #b1c2d3;
    color: #1047a1;
    font-weight: 500;
}


.calculation .footer {
    margin-top: 50px;
}

.calculation .footer a {
    float: left;
    display: block;
    height: 42px;
    line-height: 42px;
    text-decoration: underline;
    color: #1047a1;
    font-weight: 500;
}

.calculation .footer a:hover {
    text-decoration: none;
}

.calculation .footer button,
.calculation .footer_link {
    float: right;
    padding: 10px 20px;
    width: 316px;
    border-radius: 50px;
    color: #1047a1;
    font-weight: 500;
    border: 2px solid #1047a1;
    transition: all .15s ease-in-out;
}

.calculation .footer_link {
    text-align: center;
    float: none;
    margin: 30px auto 0 auto;
}

.calculation .footer button:hover,
.calculation .footer_link:hover {
    background-color: #1047a1;
    color: #ffffff;
}

@media screen and (min-width: 1024px) {
    .start__container .window__foot {
        padding: 0 25px 25px;
        display: flex;
        flex-direction: column-reverse;
    }
    .window__options {
        margin-top: 0;
        margin-bottom: 11px;
    }
    .window__options:nth-child(2) {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 1023px) {

    .start__container {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 0;
        z-index: 9991;
        transform: unset;
        transition: all 200ms ease;
    }
    .start__container .gate__body {
        margin: 0;
    }
    .start__container .gate__head {

        padding-bottom: 1.5em;
        background-color:#1047a1;
    }
    .start__container .window__title {
        font-size: 28px;
    }
    .start__container .window__head {
        padding: 30px 15px 20px;
    }
    .start__container .window__body {
        padding: 25px;
    }
    .start__container .checkbox__label {
        text-align: left;
    }
    .start__container .plane-button_color_blue.plane-button_state_disabled {
        font-size: 15px;
    }
    .start__container .window__foot {
        padding: 0 25px 80px;
        display: flex;
        flex-direction: column-reverse;
    }
    .start__container .auth__row-half:first-child {
        padding-right: 0;
        margin: 0 0 18px;
    }
    .auth__row-half:last-child {
        padding-left: 0;
    }
    .start__container .auth__row-half {
        width: 100%;
    }
    .start__container .window__options {
        margin-top: 0;
        margin-bottom: 25px;
        flex-direction: column;
        align-items: center;
    }
    .start__container .window__options-left a {
        text-decoration: underline;
        color: #1047a1;
        padding: 0 0 6px;
        display: block;
    }

    .start__container form,
    .start__container form .auth  {
        width: 100%;
    }

    .popup {
        width: 90%;
        padding: 50px 20px 20px 20px;
    }

    .popup .jq-selectbox {
        width: 100%;
    }

    .nheader .header__print {
        display: none;
    }

    .calculation .info {
        padding: 0;
        background-color: transparent;
    }

    .calculation .info .block,
    .calculation.detail .info {
        display: block;
    }

    .calculation .info .block_error {
        position: fixed;
        top: 60px;
    }

    .calculation.detail {
        padding: 50px 35px;
    }

    .calculation .weight,
    .calculation.detail .weight_text {
        width: 100%;
        margin-bottom: 25px;
    }

    .clear_block {
        display: none;
    }

    .calculation .info img {
        margin: 0 40px 20px 0;
        float: left;
    }

    .calculation .info .text p span {
        display: block;
    }

    .calculation .info .text p:first-child {
        margin-bottom: 15px;
    }

    .calculation .table {
        width: auto;
        margin: 30px -34px 0 -34px;
        overflow: hidden;
    }

    .calculation .table .header {
        padding-top: 0;
        height: auto;
    }

    .calculation .table .line {
        height: auto;
    }

    .calculation .table .line.readonly {
        background-color: transparent;
    }

    .calculation .table .line .heading {
        border: none;
        width: 100%;
        min-height: 102px;
        margin: 0 auto;
        padding: 0;
        float: none;
        display: flex;
        line-height: normal;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .calculation .table .line .heading .mobile {
        display: block;
    }

    .calculation .table .line .heading .desktop {
        display: none;
    }


    .calculation .table .line.readonly .heading {
        padding: 15px 10px;
    }

    .clear_block_mobile {
        width: 25%;
        display: block;
        float: left;
        margin-top: 102px;
    }

    .clear_block_mobile .clear {
        width: 100%;
        height: 80px;
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        cursor: pointer;
    }

    .clear_block_mobile .clear div {
        width: 50%;
        height: 50%;
    }

    .clear_block_mobile .clear div img {
        width: 100%;
        height: auto;
    }

    .day_block_mobile {
        display: block;
        float: left;
        width: 25%;
        padding-top: 102px;
        text-align: center;
        font-size: 30px;
        color: #004a9f;
    }

    .day_block_mobile li {
        width: 100%;
        height: 80px;
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        cursor: pointer;
    }

    .calculation .table .header .content,
    .calculation .table .header .heading {
        display: none;
    }

    .calculation .table .header .heading_mobile {
        display: block;
    }

    .calculation .table .line .list {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        float: none;
    }

    .calculation .table .line .list li {
        width: 100%;
        height: 80px;
        margin: 0 auto;
        float: none;
        line-height: normal;
        margin-bottom: 15px;
    }

    .calculation .table .line .list li .cell {
        width: 80%;
        height: 100%;
        font-size: 30px;
    }

    .calculation .table .wrap_line {
        width: 60%;
        float: left;
        border: none;
    }

    .calculation .table .wrap_line .line {
        width: 25%;
        float: left;
        border: none;
    }

    .calculation .table .wrap_result_line .line {
        width: 50%;
        float: left;
        border: none;
        background-color: #f7f9fb;
    }

    .calculation .table .wrap_result_line {
        width: 40%;
        float: right;
    }


    .calculation .result {
        width: auto;
        margin: 0 -34px;
        padding: 50px 30px;
        display: block;
        height: auto;
    }

    .calculation .result li {
        display: block;
        overflow: hidden;
        text-align: left;
        margin-bottom: 30px;
    }

    .calculation .result li:last-child {
        margin-bottom: 0;
    }

    .calculation .result li p {
        float: left;
    }

    .calculation .result li span {
        float: right;
    }

    .calculation .footer {
        position: relative;
    }

    .calculation .footer button {
        float: none;
        position: absolute;
        top: 0;
        left: 50%;
        width: 326px;
        margin-left: -163px;
    }

    .calculation .footer a {
        float: none;
        line-height: 26px;
        width: 326px;
        height: auto;
        margin: 55px auto 0 auto;
    }

    .popup .content .footer {display: none;}
}

@media screen and (max-width: 459px) {
    .calculation .table .header .heading_mobile {
        font-size: 1.2em;
    }

    .calculation .result li p {
        font-size: 12px;
    }

    .calculation .result li span {
        font-size: 20px;
    }

    .clear_block_mobile .clear,
    .calculation .table .line .list li,
    .day_block_mobile li {
        height: 60px;
    }

    .calculation .table .line .list li .cell {
        font-size: 20px;
    }

    .day_block_mobile li span {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .calculation .footer a,
    .calculation .footer_link {
        width: 100%;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1720px) {
    .calculation .weight,
    .calculation.detail .weight_text {
        width: 100%;
        margin-bottom: 25px;
    }

    .calculation .info .block,
    .calculation.detail .info {
        display: block;
    }

    .calculation .info img {
        margin: 0 40px 20px 0;
        float: left;
    }

    .calculation .table .header .heading.desktop {
        display: none;
    }

    .calculation .table .header .heading.mobile {
        display: flex;
        font-size: 12px;
        padding: 0 0 0 15px;
        align-items: center;
    }

    .calculation .table .line .heading {
        padding: 0;
        display: flex;
        align-items: center;
        padding-left: 15px;
    }

    .calculation .table .line .heading .mobile {
        display: block;
        font-size: 14px;
        line-height: normal;
    }

    .calculation .table .line .heading .desktop {
        display: none;
    }

    .calculation .table .line.readonly .heading {
        padding: 0 0 0 15px;
    }
}
