.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

.clearfix {
    display: block
}

.clearfix:after,.clearfix:before {
    content: " ";
    display: table
}
.blk th {
    background: #EEE
}

.d-excl {
    font-size: 80%;
    line-height: 1.2em;
    text-align: center;
}

.blk input[type="text"] {
    display: inline;
    width: 100px;
    padding: 10px;
    margin: 0 8px;
    text-align: right;
    background: #eeeeee;
    border: 1px solid #dddddd;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 5px;
}

input:focus {
    background: #f2f2f2
}

.blk h2 {
    text-align: center;
    margin-bottom: 20px;
    margin-left: 0;
}

.blk td.v_arr {
    background: url(/wp-content/uploads/calc2/img/arr_v.gif) center center repeat-y;
    background: url(/wp-content/uploads/calc2/img/arr_t.gif) center top no-repeat, url(/wp-content/uploads/calc2/img/arr_b.gif) center bottom no-repeat, url(/wp-content/uploads/calc2/img/arr_v.gif) center center repeat-y
}

.blk td.h_arr {
    background: url(/wp-content/uploads/calc2/img/arr_h.gif) center center repeat-x;
    background: url(/wp-content/uploads/calc2/img/arr_r.gif) right center no-repeat, url(/wp-content/uploads/calc2/img/arr_l.gif) left center no-repeat, url(/wp-content/uploads/calc2/img/arr_h.gif) center center repeat-x
}

.blk table {
    border-collapse: collapse
}

.blk td, .blk th {
    vertical-align: baseline;
    padding: 5px 0
}

.blk th {
    text-align: center;
    padding: 5px
}

.blk td {
    text-align: center
}

.blk table.nol {
    border-collapse: collapse;
    border: 0 solid #770;
    margin-bottom: 10px;
    width: auto;
}

.blk table.nol input {
    font-size: 90%
}

#tl,#t,#tr, #ll, #rr, #r, #l, #ll1, #rr1, #r1, #l1, #bl,#b,#tb {
    cursor: pointer
}

.blk .nol td {
    vertical-align: middle;
    text-align: center;
    border: 0 solid #f00;
    padding: 0 !important
}

.blk .nol div {
    display: block
}

.blk input {
    display: none
}

#sS, #st ,#sh, #sb {
    display: inline;
    position: relative;
    border: none;
    padding: 2px;
    margin: 0;
    text-align: center;
    width: 28px
}

#sh, #sb {
    width: 30px;
    margin: 2px
}

#res {
    position: relative;
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px;
    width: 50%;
    margin: 15px 5px;
    float: right;
}

#res1 {
    float: right;
    width: 65%;
    margin-bottom: 40px
}

#res2 {
    float: left;
    width: 35%;
    margin-bottom: 40px
}

#ptm, #op, #pp1, #ppt, #narD, #tolS {
    display: inline;
    border: none;
    padding: 5px;
    margin: 5px;
    font-size: 16px;
    text-align: right;
    width: 75px
}

#polD, #polT, #stenD, #stenS {
    display: inline;
    border: 1px solid #CCC;
    padding: 5px;
    margin: 5px;
    font-size: 16px;
    text-align: right;
    width: 75px;
}

#ptm {
    font-weight: bold;
}

#all {
    text-align: center;
    float: left;
    width: 45%;
    margin: 15px 5px;
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    border-radius: 5px;
}

#inpt span {
    /*display: inline-block;*/
    text-align: right;
    width: 140px;
}

#chg {
    border: 0;
    width: 100%;
    clear: both;
}

#chg td, #chg th {
    border: 0;
}

#chg th {
    line-height: 130%;
    vertical-align: middle;
}

.blk .prof {
    margin: 0 2px;
    padding: 5px;
    display: block;
    cursor: pointer;
    border-radius: 6px;
}

.blk .prof:hover {
    background: #EEE;
}

.blk .menu_calc, #kraski td span {
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    color: #404040;
    display: inline-block !important;
    padding: 10px 7px !important;
    margin: 5px 5px;
    cursor: pointer;
    background: #eeeeee;
    border-bottom: 1px solid #aaaaaa;
    border-radius: 5px;
}

#kraski td span{
    width: 100%;
    margin: 0;
    padding: 10px 0!important;
}

.blk .menu:hover {
    background: #CCC;
}

.blk .org:hover {
    border: 1px solid #FFF !important;
    background: #AAA !important;
    color: #FFF;
}

.blk .act, #kraski td span.active {
    background: #007788 !important;
    color: #FFF !important;
}

.blk span.menu_p {
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    display: inline-block;
    padding: 10px 10px 10px 40px;
    margin: 5px;
    background: 8px center no-repeat;
    border-radius: 5px;
    float: left
}

.blk span.pic_dt {
    background-image: url(/wp-content/uploads/calc2/img/pic_dt.png)
}

.blk span.pic_kt {
    background-image: url(/wp-content/uploads/calc2/img/pic_kt.png)
}

.blk span.pic_sh {
    background-image: url(/wp-content/uploads/calc2/img/pic_sh.png)
}

.blk span.pic_t {
    background-image: url(/wp-content/uploads/calc2/img/pic_t.png)
}

.blk span.pic_u {
    background-image: url(/wp-content/uploads/calc2/img/pic_u.png)
}

.blk span.pic_l {
    background-image: url(/wp-content/uploads/calc2/img/pic_l.png)
}

#tableres {
    position: relative;
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    border-radius: 5px;
    width: 52%;
    margin: 5px 5px;
    float: right;
}

#kraska {
    text-align: center;
    color: #007788;
    margin: 25px 0 25px 0;
}

#kraska_button {
    display: inherit;
    text-align: center;
}

#fire-m {
    display: initial;
    color: #404040;
    padding: 10px 15px !important;
    margin: 5px 5px;
    cursor: pointer;
    background: #eeeeee;
    border-bottom: 1px solid #aaaaaa;
    border-radius: 5px;
}

#fire-om {
    display: initial;
    color: #404040;
    padding: 10px 15px !important;
    margin: 5px 5px;
    cursor: pointer;
    background: #eeeeee;
    border-bottom: 1px solid #aaaaaa;
    border-radius: 5px;
}

#obm-met {
    display: initial;
    color: #404040;
    padding: 10px 15px !important;
    margin: 5px 5px;
    cursor: pointer;
    background: #eeeeee;
    border-bottom: 1px solid #aaaaaa;
    border-radius: 5px;
}
.dub-res-all {
    width: 100%;
    margin-bottom: 40px
}

.dub-res-all td {
    padding: 10px 5px !important
}
.dub-res-all tr td {
    cursor: pointer;
}
.dub-res-all tr {
    padding: 1px;
}
.dub-res-all tr:hover {
    padding: 0;
    border: 1px solid #007788;
}
.dub-res-all tr:active {
    border: 1px solid #007788;
    background: #007788;
    color: #fff;
}
#kraski table{
    border: none;
    width: 100%;
}
#kraski td{
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
    border: none;
    padding: 0;
}
.calc__download{
    display: none;
}
.calc__download table{
    width: 100%;
}
.calc__download table td{
    border: 1px solid #000;
    padding: 5px 10px;
}
.calc__download__link{
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    color: #ffffff;
    background: #0170b9;
    border-radius: 2px;
    padding-top: 15px;
    padding-right: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
    font-family: inherit;
    font-weight: inherit;
    line-height: 1;
    cursor: pointer;
}