/* calc.css - stili kalkulyatora vesa (tolko stranica /poleznoe/kalkulyator) */

/* ========== select2 ========== */
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline;list-style:none;padding:0}.select2-container .select2-selection--multiple .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;margin-left:5px;padding:0;max-width:100%;resize:none;height:18px;vertical-align:bottom;font-family:sans-serif;overflow:hidden;word-break:keep-all}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option--selectable{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px;padding-right:0px}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;padding-bottom:5px;padding-right:5px;position:relative}.select2-container--default .select2-selection--multiple.select2-selection--clearable{padding-right:25px}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;font-weight:bold;height:20px;margin-right:10px;margin-top:5px;position:absolute;right:0;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:inline-block;margin-left:5px;margin-top:5px;padding:0;padding-left:20px;position:relative;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.select2-container--default .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-right:1px solid #aaa;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#999;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px;position:absolute;left:0;top:0}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{background-color:#f1f1f1;color:#333;outline:none}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-left:1px solid #aaa;border-right:none;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear{float:left;margin-left:10px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--group{padding:0}.select2-container--default .select2-results__option--disabled{color:#999}.select2-container--default .select2-results__option--selected{background-color:#ddd}.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;padding-bottom:5px;padding-right:5px}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--classic .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#888;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;outline:none}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option--group{padding:0}.select2-container--classic .select2-results__option--disabled{color:grey}.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}

/* ========== kalkulyator, modul mod_calc ========== */

.text_new {
    padding:10px 5px;
    margin: 10px auto 30px;
    font-size: 18px;
    color: #393939;
    max-width:1366px;
}
.block_calc {
    min-height: 480px;
    border: 1px solid #b3b3b3;
    border-radius:2px;
    font-size: 18px;
    color: #393939;
    box-sizing: border-box;
    margin: 0 auto;
    background:#f6f6f6;
}
main.layout1 .block_calc, main.layout1 #mp_inform {
    width: 100%;
    margin-left: 0;
}
main.layout1 .block_calc {
    min-height: 420px;
    height: auto;
    float: none;
}
.block_calc .main_calc {
    min-height: 336px;
    padding: 14px;
    box-sizing: border-box;
}
.weight {
    height: 48px;
    border: 3px solid #0093d7;
    border-radius: 10px;
    box-sizing: border-box;
    position: relative;
    margin: 20px 14px;
}
.half {
    float: left;
    width: 50%;
}
.block_calc > .main_calc > .half:nth-child(2) {
    text-align: right;
}
.block_calc select {
    width: 240px;
    height: 40px;
    padding-left:10px;
    border: 1px solid #b3b3b3;
    border-radius:2px;
    box-sizing: border-box;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none!important;
    margin:40px 10px 20px 20px;
    font-size: 18px;
    color: #393939;
    text-indent: 0;
    cursor: pointer;
    background-position: right -4px top -2px;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA2MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTBDMSA1LjAyOTQ0IDUuMDI5NDQgMSAxMCAxSDUwQzU0Ljk3MD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px;
}
.profiles .half {
    overflow: hidden;
}
.block_calc div.active {
    color: #0093d7;
    cursor: default;
}
.ugolok, .list, .truba, .krug, .proftruba, .kvadrat, .shveller, .lenta, .balka, .shestugol {
    margin-bottom: 8px;
    cursor: pointer;
}
.profiles img {
    position: relative;
    margin-right: 10px;
    border-radius: 20px;
    cursor: pointer;
    vertical-align: middle;
}
.profiles p {
    display: inline-block;
    vertical-align: middle;
}
.half .border {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 1px;
    border-right: 2px solid #eee;
}
.parametrs {
    width: 374px;
    float: right;
}
.par {
    position: relative;
    top: 20px;
    padding-left: 14px;
}
.block_calc input {
    position: relative;
    top: 12px;
    width: 100%;
    margin-bottom: 8px;
}
input[type=text], input[type=number], input[type=email] {
    height: 40px;
    padding-left: 6px;
    outline: none;
    border: 2px solid #eee;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 18px;
    -moz-appearance: textfield;
}
.weight {
    height:50px;
    border:none;
    border-radius:2px;
    box-sizing: border-box;
    position: relative;
    margin:40px 20px;
    border-bottom:2px solid #333;
}
.result {
    width: 50%;
    max-height: 42px;
    overflow: hidden;
    font-size: 20px;
    line-height: 42px;
    text-indent: 1px;
}
.button {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0093d7;
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    color: #fff;
    border: 3px solid #0093d7;
    border-radius: 10px;
    cursor: pointer;
}
.weight .button {
    position: absolute;
    width: 20%;
    height: 100%;
    right: 0;
    top: -10px;
    color: #fff;
    text-transform:lowercase;
    border:10px solid #f6f6f6;
    background:#0093d7;
    border-radius: 2px;
    box-sizing: content-box;
}
.weight .button:hover {
    background:#333;
    color: #fff;
    border:10px solid #f6f6f6;
}
.weight .button span {
    display: block;
    line-height: 42px;
    font-size:20px;
}
.wrap_calculator_results {
    display: none;
    margin-top: 40px;
}
.wrap_calculator_results h2 {
    font-size: 24px;
    font-weight: normal;
}
.wrap_table_calculator {
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: auto;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
.wrap_table_calculator table {
    width: 100%;
    min-width: 700px;
}
.wrap_table_calculator table th {
     padding: 12px 14px;
     text-align: left;
     background-color: #eee;
     font-weight: bold;
 }
.table_calculator_results {
    border-top: 2px solid #eee;
    font-weight: bold;
}
.wrap_table_calculator table td {
    padding: 10px 14px;
    font-size: 20px;
    line-height: 2;
    vertical-align: middle;
}
.wrap_table_calculator table tr:nth-child(2) td {
    padding-top: 20px;
}
.right {
    float: right;
}
.wrap_table_calculator table tr td:last-child {
    position: relative;
}
#delete_bag_all, #delete_calc_all {
    line-height: 48px;
    font-size: 18px;
    float: left;
    margin-right: 40px;
}
a {
    color: #0093d7;
}
.open_send_request {
    width: 260px;
    height: 48px;
    font-size: 18px;
}
.in_bag {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 20px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    cursor: pointer;
}

.in_bag_label {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    padding: 14px;
    border: 2px solid #0093D7;
    border-radius: 10px;
    background: #0093D7;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    box-sizing: border-box;
    z-index: 2;
}

.delete_bag, .delete_calc_table {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 20px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50% auto;
    cursor: pointer;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjAwMDI4IDEwLjMxNzNMMS4zMjM2MiAxNy45OTk0TDAuMDEzMzQ1MyAxNi42ODgzTDcuNjg4OTQgOS4wMDcyMkwwIDEuMzI1N0wxLjMwOTE3IDAuMDEzNDUwNkw4Ljk5OTE4IDcuNjk2MDRMMTYuNjg5NyAwTDE4IDEuMzExMTRMMTAuMzEwNSA5LjAwNjEyTDE3Ljk5OTYgMTYuNjg3OEwxNi42OTA0IDE4TDkuMDAwMjggMTAuMzE3M1oiIGZpbGw9IiMwMDkzRDciLz4KPC9zdmc+Cg==');
}

.in_bag:hover, .delete_bag:hover, .delete_calc_table:hover {
    background-color: #fff;
    box-shadow: 0 0 6px #eee;
}
/*Calculator_page*/
#calc_instruction {
    display: none;
    margin-top: 28px;
}

.wrap_calculator_results {
    display: none;
    margin-top: 40px;
}

.wrap_calculator_results h2 {
    font-size: 24;
    font-weight: normal;
}

.wrap_table_calculator {
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: auto;
}

.wrap_table_calculator table {
    width: 100%;
    min-width: 700px;
}

.wrap_table_calculator table tr:not(:first-child):hover {
    background-color: #eee;
}

.wrap_table_calculator table th {
    padding: 12px 14px;
    text-align: left;
    background-color: #eee;
    font-weight: bold;
}

.wrap_table_calculator table td {
    padding: 10px 14px;
    font-size: 20px;
    line-height: 2;
    vertical-align: middle;
}

.wrap_table_calculator table td a {
    color: #393939;
}

.wrap_table_calculator table td a:hover {
    color: #0093d7;
}

.wrap_table_calculator table td input[type="number"], .wrap_catalog_item_order input[type="number"] {
    width: 100%;
    height: 100%;
    padding: 0 30px;
    font-size: 20px;
    text-align: right;
}

.wrap_table_calculator table tr:nth-child(2) td {
    padding-top: 20px;
}

.wrap_table_calculator table tr td:last-child {
    position: relative;
}

.table_calculator_results {
    border-top: 2px solid #eee;
    font-weight: bold;
}

.delete_calc_table {
    vertical-align: middle;
    float: right;
}
.btn-calc {
    padding: 10px 18px;
    background: #e1e1e1;
    border-radius: 5px;
    width: max-content;
    cursor: pointer;
}
.copy-calc.active {
    background-color: #4caf50;
    color: white;
    transition: 0.3s;
}
.mark-selectors {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:center;
}
.mark-selector-left {
    margin:0;
}
.mark-selector-right {
    margin:0;
    padding-top:18px;
    padding-left:20px;
}
.mark-selectors .select2-container--default .select2-selection--single {
    border: 1px solid #aaa;
    border-radius:2px;
    height:41px;
}
.flex-profiles {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
}
.flex-profiles-left {
    width:calc(100% / 10 * 6 - 20px);
}
.flex-profiles-right {
    width:calc(100% / 10 * 4 - 20px);
}
@media screen and (max-width:1024px) {
	.flex-profiles-left, .flex-profiles-right {width:100%;}
    .flex-profiles-right .parametrs {width:auto;max-width:960px;float:left;}
}
@media screen and (max-width:768px) {
    .calc-flex {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    width:100%;
}
.item-calc-flex {
    width:20%;
    font-size:11px;
    text-align:center;
}
.half .border {
    border-right:none;
} 
.item-calc-flex p {
    display:block;
    width:100%;
    text-align:center;
    word-break:break-all;
    line-height:100%;
}
.block_calc .half {
    padding:5px 0;
}
.profiles img {
    margin-right:0;
    max-width:32px;
}
.block_calc {
    margin:-30px auto 0;
}
 .parametrs {
     margin-top:-35px;
 }
}
@media screen and (max-width:524px) {
    .weight {
        height:40px;
        border:none;
        border-radius:2px;
        box-sizing: border-box;
        position: relative;
        margin:100px 20px 40px;
        border-bottom:2px solid #333;
    }
    .weight .button {
        position: absolute;
        width:calc(100% - 15px);
        right:0;left:-5px;
        top:-75px;
        border:none;
        background:#0093d7;
        border-radius: 2px;
        height:30px;
    }
    #bottom .open_send_request {
        margin:10px 0;
    }
    .wrap_table_calculator table td {
        padding:5px 5px;
        font-size:16px;
        line-height:1;
        vertical-align: middle;
    }
    .parametrs .half {
        width:100%;
        font-size:12px;
        line-height:100%;
    }
    .parametrs .half input {
        margin-bottom:-15px;
        height:25px;
        font-size:12px;
        text-align:center;
        padding:0 20px;
    }
    .item-calc-flex p {
    margin-top:-5px;
    font-size:10px;
}
    .block_calc select {
    width: 260px;
    height: 40px;
    margin:15px 10px 10px 15px;
   font-size:12px;
    }
    .mark-selector-right {
        font-size:12px;
}
    .mark-selector-right {
    margin:0;
    padding-top:15px;
    padding-left:15px;
}
    .weight .button span {
    font-size:14px;
}
    .weight .button:hover {
    background:#333;
    color: #fff;
    border:none;
}
}
@media screen and (max-width:355px) {
    .block_calc select {
    width: 225px;
    }
}

/* ============================================================
   Pravki dlya mobilnyh: uvelichivaem otstupy mezhdu elementami.
   Bylo skleeno: .parametrs s float i margin-top:-35px, polya input
   naezzhali na podpisi, knopka "Poschitat" stojala absolutom
   (top:-75px) i perekryvala vybor marki, .right shel vplotnuyu.
   Kommentarii tolko translitom.
   ============================================================ */
@media screen and (max-width: 768px) {

    /* 1. Ikonki form (list, truba, krug ...): otstupy po gorizontali i vertikali */
    .calc-flex {
        gap: 14px 6px;
    }
    .item-calc-flex {
        width: calc(20% - 4.8px);
        padding: 8px 2px;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    .item-calc-flex img {
        display: block;
        max-width: 34px;
        height: auto;
        margin: 0 auto;
    }
    .item-calc-flex p {
        margin-top: 8px;
        line-height: 1.15;
    }

    /* 2. Polya parametrov: ubiraem float i naezdy, daem vzdoh */
    .block_calc .parametrs {
        float: none;
        width: 100%;
        max-width: none;
        margin-top: 24px;
    }
    .parametrs .half {
        float: none;
        width: 100%;
        height: auto;
        padding: 0;
        box-sizing: border-box;
    }
    .parametrs .clear {
        display: none;
    }
    .par {
        top: 0;
        padding-left: 0;
        margin: 0 0 8px;
    }
    .block_calc input {
        top: 0;
    }
    .parametrs .half input {
        margin: 0 0 18px;
        height: 44px;
        font-size: 16px;
        text-align: left;
        padding: 0 12px;
    }

    /* 3. Vybor materiala i marki: drug pod drugom, s otstupom.
       Bokovye otstupy rovnyaem s .main_calc (padding 14px vnutri .block_calc x=5) */
    .block_calc .mark-selectors {
        display: block;
        margin: 26px 14px 0;
    }
    .mark-selector-left,
    .mark-selector-right {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .mark-selector-right {
        margin-top: 14px;
    }
    .block_calc .mark-selectors select {
        width: 100%;
        height: 44px;
        margin: 0 0 4px;
        font-size: 14px;
    }
    .mark-selectors .select2-container {
        width: 100% !important;
    }
    .mark-selectors .select2-container--default .select2-selection--single {
        height: 44px;
        border-radius: 10px;
    }
    .mark-selectors .select2-selection__rendered {
        line-height: 42px !important;
    }
    .mark-selectors .select2-selection__arrow {
        height: 42px !important;
    }

    /* 4. Blok "Ves, kg" i knopka "Poschitat": knopka v potoke, a ne navesu */
    .weight {
        height: auto;
        margin: 34px 14px 26px;
        padding: 0;
        border-bottom: 0;
    }
    .weight .result {
        width: 100%;
        max-height: none;
        overflow: visible;
        margin-bottom: 14px;
        font-size: 18px;
        line-height: 1.3;
    }
    .weight .button {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 15px 18px;
        border: 0;
        border-radius: 10px;
        box-sizing: border-box;
        background: #186bbb;
    }
    .weight .button:hover {
        border: 0;
        background: #315f8c;
    }
    .weight .button span {
        font-size: 18px;
        line-height: 1.2;
    }

    /* 5. Tablica rezultatov i knopki pod nej */
    .wrap_calculator_results {
        margin-top: 28px;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .wrap_calculator_results h2 {
        margin: 0 0 14px;
        font-size: 20px;
        line-height: 1.3;
    }
    .wrap_table_calculator {
        margin-bottom: 24px;
    }
    .right {
        float: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin: 20px 0 0;
    }
    #delete_calc_all,
    #delete_bag_all {
        float: none;
        margin: 0;
        line-height: 1.4;
        padding: 8px 0;
        text-align: center;
    }
    .open_send_request {
        width: 100%;
        height: auto;
        padding: 15px 16px;
        box-sizing: border-box;
        text-align: center;
    }
    .btn-calc,
    .copy-calc {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 13px 18px;
    }
}

@media screen and (max-width: 480px) {
    .calc-flex {
        gap: 16px 5px;
    }
    .item-calc-flex {
        width: calc(20% - 4px);
        padding: 8px 1px;
    }
    .item-calc-flex p {
        font-size: 10px;
    }
    .parametrs .half input {
        height: 46px;
        margin-bottom: 20px;
    }
    .weight {
        margin: 30px 14px 22px;
    }
    .right {
        gap: 16px;
    }
}
