.calc-section + .calc-section {
    margin-top: 3px;
}

.calc-section__head {
    font: normal 14px/17px Arial, Helvetica, sans-serif;
    text-align: center;
    background: #666;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    color: #FFF;
    padding: 9px 15px;
    margin-bottom: 3px;
}

#Calculator_WP_plugin {
    display: block;
    font: 21px/25px Arial, regular;
    position: relative;
}

#calculator {
    font: 21px/25px Arial, regular;
    margin: 0 auto 40px;
}

.gbtn__wrap {
    background: #a2a2a2;
    margin: 3px auto;
    padding: 10px;
}

#calculator .gbtn {
    background: #5b974e;
    text-align: center;
    border-radius: 22px;
    margin: 0 auto;
    padding: 4px;
    width: auto;
    min-width: 200px;
    max-width: 325px;
    list-style: none;
}

#calculator a.calc-btn:hover {
    color: #FFF;
    background: #3c7b2e;
}

#calculator a.calc-btn:focus {
    color: #FFF;
}

#fence_calculator {
    position: relative;
}

.calculator_total table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    width: 100%;
}

.calculator_total table th, .calculator_total table td {
    padding: 0;
    border: none;
    border-collapse: collapse;
    vertical-align: middle;
}

#calculator_heading {
    min-height: 50px;
    padding: 10px;
    background: #666;
    border-radius: 5px 5px 0 0;
}

#calculator_heading h1 {
    text-align: center;
    font: normal 24px/30px Arial, Helvetica, sans-serif;
    color: #FFF;
    margin: 0;
    padding: 0;
}

#calculator_heading h2 {
    text-align: center;
    font: normal 24px/24px Arial, Helvetica, sans-serif;
    color: #FFF;
    margin: 0;
    padding: 0;
}

#calculator_heading p {
    text-align: center;
    font: normal 12px/17px Arial, Helvetica, sans-serif;
    color: #FFF;
    margin: 0;
    padding: 0;
}

#calculator_form .calc_params {
    color: #030303;
}

.calc_forms .calc_params {
    margin-top: 10px;
}

.calculator_heading {
    min-height: 50px;
    padding: 5px 10px;
    background: #666;
    border-radius: 3px 3px 0 0;
    text-align: center;
    font: normal 18px/1 Arial, Helvetica, sans-serif;
    color: #FFF;
    margin: 0 1px;
}

.calculator-start-btn {
    color: #fff;
    display: block;
    text-transform: uppercase;
    border: 1px solid #fff;
    border-radius: 19px;
    padding: 7px 15px;
    font-family: 'Montserrat', sans-serif;
}

.calculator-start-btn:hover {
    color: #fff;
}

.calc_left {
    background: #FFF;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
}

.calc_right {
    background: #FFF;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
}

.col-md-6.calc_left {
    padding-right: 3px;
}

.col-md-6.calc_right {
    padding-left: 3px;
}

.calc_params h3 {
    font: normal 14px/17px Arial, Helvetica, sans-serif;
    text-align: center;
    background: #666;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    color: #FFF;
    margin: 0;
}

.calc_params h3.swing_gate {
    margin: 0 0 3px 0;
}

.calc_params h3.delivery {
    margin: 3px 0 3px 0;
}

.calc_params h3.base {
    margin: 0 0 3px 0;
}

.calc_params h3.calc-bottom-head {
    margin: 3px 0 3px 0;
}

#calculator .phonelink {
    text-decoration: none;
    vertical-align: baseline !important;
}

.row_Calculator {
    clear: both;
    position: relative;
    height: 37px;
    margin: 0;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
}

.row_Calculator + .row_Calculator {
    margin: 3px 0 0 0;
}

.calc-bottom .row_Calculator {
    float: left;
    width: 50%;
    clear: none;
    background: #FFF;
}

.sel_wrap {
    width: 50%;
    background-image: none;
    padding: 0;
    float: right;
    border-radius: 1px;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
}

.row_Label + .input {
    width: 50%;
    display: table;
    float: right;
    padding: 2px 2px 2px 1px;
    position: relative;
}

.row_Calculator .ui-input-text {
    width: 50%;
    display: table;
    float: right;
    padding: 2px 2px 2px 1px;
}

.sel_wrap select {
    display: none;
}

.sel_wrap .sel_imul {
    height: 31px;
    margin: 2px;
    position: relative;
    cursor: pointer;
}

.sel_wrap .selected-text, .sel_wrap .selected-text b {
    display: inline-block;
    font: normal 12px/12px Arial, Helvetica, sans-serif;
    vertical-align: middle;
}

.sel_wrap .sel_options .sel_option b {
    display: inline-block;
    font-weight: normal;
    line-height: 1.2;
    vertical-align: middle;
}

#installation_method.sel_imul {
    text-transform: lowercase;
}

.sel_wrap .sel_imul .sel_selected {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    line-height: 27px;
    padding: 1px 52px 1px 10px;
    position: relative;
}

.sel_wrap .sel_imul.act .sel_selected {
    background-image: none;
}

.sel_wrap .sel_selected .sel_arraw {
    height: 100%;
    padding: 1px 2px;
    background: #f4fff2;
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap;
    font-size: 11px;
    border: 1px solid grey;
}

.sel_wrap .sel_imul:hover .sel_selected .sel_arraw {
    background-color: #e0e0e0;
}

.sel_wrap .sel_imul.act .sel_selected .sel_arraw {
    background-color: #e0e0e0;
    border-left: 1px solid #bbb;
}

.sel_wrap .sel_options .sel_option {
    padding: 3px 4px 3px 10px;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
    border: 1px solid #fff;
    border-right: none;
    border-left: none;
    position: relative;
    -webkit-transition: background 150ms ease-in;
    -moz-transition: background 150ms ease-in;
    -ms-transition: background 150ms ease-in;
    -o-transition: background 150ms ease-in;
    transition: background 150ms ease-in;
}

.sel_wrap .sel_options .sel_option.disabled {
    background: #fff;
    color: #ccc;
}

.sel_wrap .sel_options .sel_option:hover {
    border-color: #dbdbdb;
    cursor: pointer;
}

.sel_wrap .sel_imul.act .sel_selected {
    background: #fff;
    border: 1px solid #ffd105;
}

.sel_wrap .sec .sel_imul:hover .sel_selected .sel_arraw {
    background-color: #e1e8ed;
}

.sel_wrap .sec .sel_imul.act .sel_selected .sel_arraw {
    background-color: #e1e8ed;
    border-left: 1px solid #d2dbe0;
}

.sel_wrap .sel_imul .sel_options {
    background: #fff;
    border: 1px solid #d2dbe0;
    border-top: none;
    overflow: auto;
    position: absolute;
    font-weight: normal;
    max-height: 200px;
    width: 100%;
    display: none;
    z-index: 10;
}

.sel_wrap .sec.overf .sel_imul .sel_options {
    height: 100px;
}

.sel_wrap .sel_options .sel_option:hover, .sel_wrap .sel_options .sel_option.sel_ed {
    color: #fff;
    cursor: pointer;
    font-weight: normal;
}

.sel_wrap .sel_options .sel_option.sel_ed {
    background: #5b5b5b;
    border-color: #5b5b5b;
}

.sel_wrap .sel_options .sel_option:hover {
    background: #6b6b6b;
    border-color: #8b8b8b;
}

.sel_wrap .sel_options .sel_option.disabled:hover {
    border-color: #fff;
    border-left: 0;
    border-right: 0;
    color: #ccc;
    background: #fff;
    cursor: default;
}

/*green*/
.sel_wrap .sec.green .sel_imul .sel_selected {
    border-color: #FFAD99;
}

.sel_wrap .sec.green .sel_imul:hover .sel_selected .sel_arraw, .sel_wrap .sec.green .sel_imul.act .sel_selected .sel_arraw {
    background-color: #FFD6CC;
    border-left: 1px solid #FFAD99;
}

.row_Label {
    width: 50%;
    height: 100%;
    display: table;
    padding: 0 20px 0 52px;
    float: left;
    position: relative;
}

.row_Label:before {
    content: "";
    width: 40px;
    height: 35px;
    display: table-cell;
    padding: 0;
    float: left;
    position: absolute;
    left: 6px;
    background-image: url("../img/calc-icons.png");
}

.sel_wrap .canopy .row_Label:before {
    content: "";
    width: 40px;
    height: 35px;
    display: table-cell;
    padding: 0;
    float: left;
    position: absolute;
    left: 6px;
    background-image: url("../img/canopy/calc-icons.png");
}

.row_Label.label1:before {
    background-position: 0 0;
}

.row_Label.label2:before {
    background-position: 0 -35px;
}

.row_Label.label3:before {
    background-position: 0 -70px;
}

.row_Label.label4:before {
    background-position: 0 -105px;
}

.row_Label.label5:before {
    background-position: 0 -140px;
}

.row_Label.label6:before {
    background-position: 0 -175px;
}

.row_Label.label7:before {
    background-position: 0 -210px;
}

.row_Label.label8:before {
    background-position: 0 -245px;
}

.row_Label.label9:before {
    background-position: 0 -280px;
}

.row_Label.label10:before {
    background-position: 0 -315px;
}

.row_Label.label11:before {
    background-position: 0 -350px;
}

.row_Label.label12:before {
    background-position: 0 -385px;
}

.row_Label.label13:before {
    background-position: 0 -420px;
}

.row_Label.label14:before {
    background-position: 0 -455px;
}

.row_Label.label15:before {
    background-position: 0 -490px;
}

.row_Label.label16:before {
    background-position: 0 -525px;
}

.row_Label.label17:before {
    background-position: 0 -560px;
}

.row_Label.label18:before {
    background-position: 0 -595px;
}

.row_Label.label19:before {
    background-position: 0 -630px;
}

.row_Label.label20:before {
    background-position: 0 -665px;
}

.row_Label.label21:before {
    background-position: 0 -700px;
}

.row_Label.label22:before {
    background-position: 0 -735px;
}

.row_Label.label23:before {
    background-position: 0 -770px;
}

.row_Label.label24:before {
    background-position: 0 -805px;
}

.row_Label.label25:before {
    background-position: 0 -840px;
}

.row_Label.label26:before {
    background-position: 0 -873px;
}

.row_Label.label27:before {
    background-position: 0 -910px;
}

.row_Label.label28:before {
    background-position: 0 -945px;
}

.row_Label.label29:before {
    background-position: 0 -975px;
}

.row_Label.label30:before {
    background-position: 0 -1010px;
}

.row_Label.label31:before {
    background-position: 0 -1045px;
}

.sel_wrap .sec.green .sel_options .sel_option:hover, .sel_wrap .sec.green .sel_options .sel_option.sel_ed {
    background: #5b5b5b;
    border: 1px solid #FF704D;
    color: #fff;
    cursor: pointer;
}

.row_Calculator label {
    font: normal 12px/12px Arial, Helvetica, sans-serif;
    display: table-cell;
    vertical-align: middle;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

.row_Calculator label.error {
    position: absolute;
    background: #fefefe!important;
    padding: 3px 5px;
    box-shadow: 1px 1px 3px 0 #443838;
    z-index: 1;
}

.row_Calculator input:focus {
    border: 1px solid #ffd105;
}

.row_Calculator input {
    background: none repeat scroll 0 0 rgb(255, 255, 255);
    border: 1px solid #e6e6e6;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
    border-radius: 2px;
    display: block;
    height: 31px;
    width: 100%;
    padding: 6px 10px;
}

.row_Calculator_text_info li {
    margin: 0 0 0 5px;
    list-style: disc inside none;
}

.row_Calculator h4 {
    font-size: 20pt;
    line-height: 1;
    margin: 0;
}

.row_Calculator p {
    line-height: 1;
    font: 11pt Arial, regular;
    margin: 7px 0 0;
}

.row_Calculator_first {
    padding-left: 20px;
    margin-bottom: 10px;
    padding-bottom: 3px;
    width: 553px;
}

.row_Calculator_first h4 {
    margin: 0 !important;
    font-size: 16pt !important;
    font-weight: normal;
}

.row_Calculator_first label {
    font-size: 14px;
}

.sel_wrap #row_Calculator_last strong, .row_Calculator_last strong {
    font-size: 20px;
}

.row_Calculator_last h3 {
    margin: 25px;
    padding: 0 !important;
    font-size: 1.14286rem;
}

.sel_wrap #row_Calculator_last, .row_Calculator_last {
    line-height: 45px !important;
    padding: 1px 16px !important;
    background: #f8cf11 !important;
    text-align: center !important;
    font-size: 16px !important;
    margin-top: 30px !important;
}

#row_Calculator_discount h3 {
    color: red;
}

.sel_wrap .sel_options div, .sel_wrap .sel_selected {
    font-family: Arial, sans-serif;
}

.sel_wrap .delivery_price {
    width: 836px;
}

.sel_wrap .delivery_price td, .sel_wrap .delivery_price th {
    border-right: 1px solid #DDDDDD !important;
}

.sel_wrap .calc_plugin_cell input[type=text] {
    width: 412px;
}

.sel_wrap .calc_plugin_cell {
    display: inline-block;
    vertical-align: top;
    width: 420px;
}

.row_Calculator_link a:visited, .row_Calculator_link a, .row_Calculator_link a:link, .row_Calculator_link a:link:hover, .sel_wrap #row_Calculator_callbackrow a:hover, .row_Calculator_link a:hover {
    color: #5a8cb1 !important;
    vertical-align: baseline !important;
}

.calc_header {
    background: #3c7b2e;
    border-radius: 5px 5px 0 0;
    min-height: 56px;
}

.material-heading-logo img {
    display: none
}

.calc_header h3 {
    color: #FFF;
    font: bold 18px/1.2 Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 16px;
    text-align: center;
}

.calc_header h4 {
    color: #FFF;
    font: normal 20px/20px Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 10px;
    text-align: center;
}

.calculator_total #fence_len, .calculator_total #fence_wid, .calculator_total #fence_hgt, .calculator_total #fence_mount, .calculator_total #fence_gap, .calculator_total #estimate {
    font-style: normal
}

#calculator_outer {
    width: 1000px;
    margin: 30px auto;
}

.calculator_total .calc_box {
    color: #030303;
    font: normal 12px/20px Arial, Helvetica, sans-serif;
    border-style: solid;
    border-width: 6px 1px;
    border-color: #36c551 #e6e6e6;
    padding: 1.5px;
    border-radius: 0 0 5px 5px;
    margin-bottom: 4px;
}

.calculator_total .calc_box + .calc_box {
    border-radius: 5px 5px;
}

.calculator_total span {
    border: 1px solid #e6e6e6;
    display: block;
    text-align: right;
    border-radius: 2px;
    margin: 1px;
    padding: 1px 5px 1px 15px;
    color: #000;
    height: 37px;
    vertical-align: middle;
    font: normal 12px/35px Arial, Helvetica, sans-serif;
    white-space: nowrap;
}

.calc_box tfoot td span {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    height: auto;
    white-space: normal;
    line-height: normal;
    min-height: 37px;
}

.calculator_total .left span {
    text-align: left;
}

.calculator_total .center span {
    text-align: center;
}

.calculator_total .right span {
    text-align: right;
}

.calculator_total span.number {
    border: 1px solid #e6e6e6;
    display: block;
    background: #5b974e;
    text-align: center;
    border-radius: 2px;
    margin: 1px auto;
    width: 38px;
    padding: 1px 9px;
    color: #FFF;
    font: normal 12px/33px Arial, Helvetica, sans-serif;
}

.calculator_total span.quantity {
    /* border-color: #28943d; */
}

.calculator_total .green span {
    background: #28943d;
}

.calculator_total .grey span {
    background: #666666;
    color: #FFF;
    font-size: 13px;
    /* height: auto; */
}

.calculator_total .red span {
    background: #ba0000;
    color: #FFF;
    font-size: 13px;
    font-weight: bold;
    white-space: normal;
    line-height: normal;
    padding: 1px 5px 1px 5px;
    text-align: center;
    width: 100%;
}

.calculator_total tr + tr .red.plus {
    text-align: center;
    display: inline-block;
    position: absolute;
    margin-left: 4px;
    margin-top: -159px;
    left: 0;
}

.calculator_total button {
    background: #ba0000;
    border-width: 1px;
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
    height: 35px;
    padding: 0 10px;
    width: 38px;
    line-height: 35px;
}

.calculator_total .summ span {
    border-color: #38c552;
}

.calculator_total .summ .full_summ {
    color: #1b6329;
    font-size: 13px;
    font-weight: bold;
}

.calc_box.calc_box--active .full_summ {
    color: #1b6329;
    font-size: 13px;
    font-weight: 700;
}

.calculator_total .red + .summ .full_summ {
    color: #ba0000;
}

.calculator_total span#material_discount_summ {
    border-color: #bb0404;
    color: #ba0000;
    font-weight: bold;
}

.calculator_total span#all_summ {
    border-color: #6d6d6d;
    color: #666666;
    font-size: 14px;
    font-weight: bold;
}

.calculator_total span#total_summ {
    border-color: #6d6d6d;
    color: #666666;
    font-size: 14px;
    font-weight: bold;
}

.calculator_total span#full_summ {
    border-color: #bb0404;
    color: #ba0000;
    font-size: 16px;
    font-weight: bold;
}

.calculator_total thead span {
    border: 1px solid #e6e6e6;
    background: #666666;
    display: block;
    text-align: center;
    border-radius: 2px;
    margin: 1px;
    padding: 1px 15px;
    color: #FFF;
    font: normal 12px/33px Arial, Helvetica, sans-serif;
}

.calculator_total thead span .rub {
    display: inline-block;
    border: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
    line-height: 37px;
}

.calculator_total span.count {
    background: #28943d;
    line-height: 16px;
    white-space: normal;
}

#thicknes, #proflistTypeName, #gateTypeName, #columnHeight {
    font-weight: normal;
    text-transform: lowercase;
}

.calc-btn {
    font: bold 18px/20px Arial, Helvetica, sans-serif;
    color: #000;
    text-align: center;
    background: #5b974e;
    display: block;
    padding: 17px;
    border-radius: 3px;
    border: 2px solid #28943d;
    border-top-width: 1px;
    border-bottom-width: 3px;
}

#calc_btn_wrap {
    background: #666;
    border-radius: 0 0 5px 5px;
}

.grbtn {
    background: url(../img/grbtn.png) 0 100%;
    width: 150px;
    height: 32px;
    border: medium none;
    color: #000;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    font-family: "BebasNeueCyrillic", "Arial Bold", Arial, sans-serif !important;
    font-size: 18px;
    white-space: nowrap;
    padding: 5px 8px 5px 28px;
    transition: 10ms linear;
    display: inline-block;
}

.grbtn:hover {
    background-position: 0 0;
}

.grbtn:after {
    content: "";
    display: inline-block;
    position: absolute;
}

#calculator_print {
    margin-top: 6px;
    margin-bottom: 27px;
    display: flex;
}

#calculator_print .calc-btn {
    width: 33.3333%;
    margin: 1px;
}

.calc_box {
    overflow: hidden;
    position: relative;
}

.calculator_total .add span {
    padding: 0;
}

.calculator_total .add .summ span {
    padding: 1px 5px 1px 15px;
}

.calc_box input {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 1px 5px 1px 15px;
    text-align: right;
}

.calc_box .left input {
    text-align: left;
}

tbody {
    overflow: hidden;
}

.calc_box .right input {
    text-align: right;
}

.calc_box .center input {
    text-align: center;
}

.calc_box .disabled {
    opacity: 0.3;
}

.calculator_total {
    margin-top: 38px;
    display: none;
}

.calc-description {
    margin-top: 30px;
}

.total_discount {
    border: 1px solid #e6e6e6;
    border-radius: 3px;
}

.total_discount b {
    font: normal 18px/30px Arial, Helvetica, sans-serif;
    color: #000;
    margin: 0;
    text-align: left;
}

.total_discount b.label {
    width: 300px;
    display: inline-block;
    white-space: normal;
}

.total_discount b.price {
    width: 155px;
    display: inline-block;
}

.total_box, .discount_box, .delivery_box {
    padding: 14px 5px 14px 75px;
}

.total_box {
    background: #fff url("../img/total_box.png") 14px center no-repeat;
    border-radius: 3px 3px 0 0;
}

#total_price {
    font: bold 22px/30px Arial, Helvetica, sans-serif;
    color: #28943d;
}

#discount_price {
    font: bold 22px/30px Arial, Helvetica, sans-serif;
    color: #ff6600;
}

div.unit-price {
    font: normal 18px/30px Arial, Helvetica, sans-serif;
    color: #666666;
    display: inline-block;
}

div.unit-price i {
    color: #28943d;
    font-style: normal;
}

#unit {
    font: normal 18px/30px Arial, Helvetica, sans-serif;
    color: #666666;
}

#unit-price {
    font: bold 18px/30px Arial, Helvetica, sans-serif;
    color: #ba0000;
}

.discount_box {
    background: #fff url("../img/discount_box.png") 14px center no-repeat;
    border-radius: 0 0 3px 3px;
    border-top: 1px solid #e6e6e6;
}

.delivery_box {
    background: #fff url("../img/delivery_box.png") 14px center no-repeat;
    border-radius: 0 0 3px 3px;
    border-top: 1px solid #e6e6e6;
}

#delivery_price, #delivery_unit {
    font: bold 22px/30px Arial, Helvetica, sans-serif;
    color: #000;
}

#send_mail_form {
    border: 1px solid #e6e6e6;
    min-height: 66px;
    border-radius: 3px;
    padding: 12px 20px 12px 95px;
    background: #fff url("../img/mail.png") 16px center no-repeat;
    position: relative;
    text-align: center;
}

#send_mail {
    border: 1px solid #ffd205;
    border-radius: 2px;
    text-align: center;
    height: 40px;
    width: 39%;
    padding: 9px 10px;
    margin-left: 35px;
    margin-right: 15px;
    font: normal 18px/20px Arial, Helvetica, sans-serif;
}

#send_mail::-webkit-input-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
}

#send_mail::-moz-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
}

/* Firefox 19+ */
#send_mail:-moz-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
}

/* Firefox 18- */
#send_mail:-ms-input-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
}

.calculator_total span#email_message {
    position: absolute;
    box-shadow: 5px 5px 0.5em -0.1em rgba(0, 0, 6, 0.5);
    background: #EDEDED;
    border-radius: 3px;
    border: 1px solid #ccc;
    color: #000;
    font: normal 500 14px Trebuchet MS;
    text-align: left;
    text-shadow: 0 1px 2px #fff, 0 0 10px #E0F1FF;
    text-decoration: none;
    padding: 5px;
    right: 40px;
    top: -25px;
    height: 30px;
    display: none;
}

#send_mail.valid {
    border-color: #36c551;
}

#send_mail.error {
    border-color: #ff0000;
}

#send_mail_form span.label {
    height: 40px;
    font: normal 18px/40px Arial, Helvetica, sans-serif;
    border: 0;
    margin: 0;
    float: left;
    text-align: left;
    padding: 0;
    white-space: nowrap;
}

#send_mail_form a {
    padding: 8px;
    font-size: 14px;
    height: 40px;
    width: 26%;
    float: right;
    white-space: nowrap;
}

.questions {
    border: 1px solid #e6e6e6;
    border-top-width: 2px;
    border-bottom-width: 2px;
    margin-top: 24px;
    border-radius: 3px;
    padding: 12px 20px 12px 95px;
    background: #fff url("../img/attention.png") 16px center no-repeat;
    text-align: center;
}

.questions .q-wrap {
    margin: 0;
    text-align: center;
}

.questions .q-wrap a.calc-btn {
    margin: 0;
}

.questions .q-desc {
    color: #ff6600;
    font: bold 24px/24px Arial, Helvetica, sans-serif;
    margin: 5px auto;
    text-align: center;
}

.questions .q-phones {
    font: bold 24px/24px Arial, Helvetica, sans-serif;
    margin: 5px auto;
    color: #ff6600;
    text-align: center;
}

.questions .q-phones a {
    font: bold 24px/24px Arial, Helvetica, sans-serif;
    margin: 5px auto;
    color: #ff6600;
    white-space: nowrap;
}

.calc_bottom {
    font-size: 0;
    line-height: 0;
}

.calc_bottom_left {
    width: 50%;
    height: 100%;
    display: inline-block;
    padding-right: 15px;
}

.calc_bottom_right {
    width: 50%;
    height: 100%;
    display: inline-block;
    padding-left: 15px;
}

.row_Calculator .calc_bottom_right input.w100 {
    width: 100%;
}

.answer {
    width: auto;
    min-width: 160px;
    box-shadow: 1px 3px 0.9em -0.1em rgba(0, 0, 6, 0.5);
    top: 11px;
    right: 0;
    padding: 5px 7px 7px 28px;
    white-space: nowrap;
    text-align: right;
}

#blink1 {
    font-weight: bold;
    -webkit-animation: blink1 1s linear infinite;
    animation: blink1 1s linear infinite;
}

@-webkit-keyframes blink1 {
    50% {
        color: rgba(255, 34, 34, 1);
    }

    51% {
        color: rgba(255, 34, 34, 0);
    }

    100% {
        color: rgba(255, 34, 34, 0);
    }
}

@keyframes blink1 {
    50% {
        color: rgba(255, 34, 34, 1);
    }

    51% {
        color: rgba(255, 34, 34, 0);
    }

    100% {
        color: rgba(255, 34, 34, 0);
    }
}

.answer:before {
    color: #000;
    font-family: FontAwesome, sans-serif;
    content: "\f04b";
    background-image: none;
    left: initial;
    right: -12px;
}

.answer > i {
    color: #000;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    left: 0;
    line-height: 16px;
    margin: -11px 4px 0 4px;
    opacity: 0.7;
    padding: 2px 4px;
    position: absolute;
    top: 50%;
    vertical-align: middle;
}

.answer > i:hover {
    opacity: 1;
}

#send_mail_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.7);
}

#send_mail_loader {
    position: absolute;
    width: 116px;
    height: 66px;
    left: 50%;
    top: 50%;
    margin-left: -58px;
    margin-top: -33px;
    background-image: url("../img/tenor.gif");
    z-index: 1;
    opacity: 0;
}

#screw_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1;
    display: none;
    -moz-opacity: 0.1;
    -khtml-opacity: 0.1;
    opacity: 0.1;
}

#screw_popup {
    width: 100%;
    min-height: 65px;
    background: #fff;
    position: absolute;
    top: 45%;
    left: 0;
    display: none;
    opacity: 0;
    z-index: 2;
    padding: 20px 10px;
    text-align: center;
    -webkit-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.3);
}

#screw_content {
    color: red;
}

#screw_close {
    display: inline-block;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 24px;
    height: 24px;
    font-style: normal;
    color: red;
    font-size: 24px;
    cursor: pointer;
}

.icons .selected-text {
    padding-left: 20px;
}

.icons .selected-text:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    padding: 0;
    float: left;
    position: absolute;
    top: 50%;
    margin-top: -10px;
    left: 6px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.icons .sel_options .sel_option:before {
    background-size: cover;
    content: "";
    width: 100px;
    height: 100px;
    display: inline-block;
    padding: 0;
    position: absolute;
    top: 10px;
    left: 5px;
}

/* Тип штакетника */
.picket .defm .selected-text:before {
    background-image: url("../img/picket/m11-shtak.png");
}

.picket .defp .selected-text:before {
    background-image: url("../img/picket/p11-shtak.png");
}

.picket .defk .selected-text:before {
    background-image: url("../img/picket/k12-shtak.png");
}

.picket .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.picket .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.picket .sel_options .sel_option:before {
    left: 0;
}

.picket .sel_options .sel_option.defm:before {
    background-image: url("../img/picket/m11-shtak.png");
}

.picket .sel_options .sel_option.defp:before {
    background-image: url("../img/picket/p11-shtak.png");
}

.picket .sel_options .sel_option.defk:before {
    background-image: url("../img/picket/k12-shtak.png");
}

/* Варианты секций */
.sections .defsection1 .selected-text:before {
    background-image: url("../img/sections/1.png");
}

.sections .defsection2 .selected-text:before {
    background-image: url("../img/sections/2.png");
}

.sections .defsection3 .selected-text:before {
    background-image: url("../img/sections/3.png");
}

.sections .defsection4 .selected-text:before {
    background-image: url("../img/sections/4.png");
}

.sections .defsection5 .selected-text:before {
    background-image: url("../img/sections/5.png");
}

.sections .defsection6 .selected-text:before {
    background-image: url("../img/sections/6.png");
}

.sections .defsection7 .selected-text:before {
    background-image: url("../img/sections/7.png");
}

.sections .defsection8 .selected-text:before {
    background-image: url("../img/sections/8.png");
}

.sections .defsection9 .selected-text:before {
    background-image: url("../img/sections/9.png");
}

.sections .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px;
}

.sections .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.sections .sel_option.defsection1:before {
    background-image: url("../img/sections/1.png");
}

.sections .sel_option.defsection2:before {
    background-image: url("../img/sections/2.png");
}

.sections .sel_option.defsection3:before {
    background-image: url("../img/sections/3.png");
}

.sections .sel_option.defsection4:before {
    background-image: url("../img/sections/4.png");
}

.sections .sel_option.defsection5:before {
    background-image: url("../img/sections/5.png");
}

.sections .sel_option.defsection6:before {
    background-image: url("../img/sections/6.png");
}

.sections .sel_option.defsection7:before {
    background-image: url("../img/sections/7.png");
}

.sections .sel_option.defsection8:before {
    background-image: url("../img/sections/8.png");
}

.sections .sel_option.defsection9:before {
    background-image: url("../img/sections/9.png");
}

/* Марка профнастила */
.decking_mark .defc8 .selected-text:before {
    background-image: url("../img/decking_mark/C8.png");
}

.decking_mark .defc20 .selected-text:before {
    background-image: url("../img/decking_mark/C20.png");
}

.decking_mark .defc21 .selected-text:before {
    background-image: url("../img/decking_mark/C21.png");
}

.decking_mark .deffigure .selected-text:before {
    background-image: url("../img/decking_mark/figure.png");
}

.decking_mark .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.decking_mark .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.decking_mark .sel_option.defc8:before {
    background-image: url("../img/decking_mark/C8.png");
}

.decking_mark .sel_option.defc20:before {
    background-image: url("../img/decking_mark/C20.png");
}

.decking_mark .sel_option.defc21:before {
    background-image: url("../img/decking_mark/C21.png");
}

.decking_mark .sel_option.deffigure:before {
    background-image: url("../img/decking_mark/figure.png");
}

/* Покраска каркаса */
.painting .defno .selected-text:before, .painting .def0 .selected-text:before {
    background-image: url("../img/painting/no.png");
}

.painting .defgrunt .selected-text:before {
    background-image: url("../img/painting/grunt.png");
}

.painting .defhammerayt .selected-text:before, .painting .defenamel .selected-text:before {
    background-image: url("../img/painting/emal.png");
}

.painting .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.painting .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.painting .sel_option.defno:before, .painting .sel_option.def0:before {
    background-image: url("../img/painting/no.png");
    background-size: cover;
}

.painting .sel_option.defgrunt:before {
    background-image: url("../img/painting/grunt.png");
    background-size: cover;
}

.painting .sel_option.defhammerayt:before, .painting .sel_option.defenamel:before {
    background-image: url("../img/painting/emal.png");
    background-size: cover;
}

/* Укрепление ворот съемной перемычкой */
.jumper .def0 .selected-text:before {
    background-image: url("../img/jumper/jumper0.png");
}

.jumper .def1 .selected-text:before {
    background-image: url("../img/jumper/jumper1.png");
}

.jumper .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.jumper .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.jumper .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.jumper .sel_option.def0:before {
    background-image: url("../img/jumper/jumper0.png");
}

.jumper .sel_option.def1:before {
    background-image: url("../img/jumper/jumper1.png");
}

/* Наличие накладного замка */
.rim_lock .def0 .selected-text:before {
    background-image: url("../img/rim_lock/rim_lock0.png");
}

.rim_lock .def1 .selected-text:before {
    background-image: url("../img/rim_lock/rim_lock1.png");
}

.rim_lock .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.rim_lock .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.rim_lock .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.rim_lock .sel_option.def0:before {
    background-image: url("../img/rim_lock/rim_lock0.png");
}

.rim_lock .sel_option.def1:before {
    background-image: url("../img/rim_lock/rim_lock1.png");
}

/* Наличие врезного замка с ручкой для калитки откатных ворот */
.sliding_lock .def0 .selected-text:before, .lock .def0 .selected-text:before {
    background-image: url("../img/sliding_lock/sliding_lock0.png");
}

.sliding_lock .def1 .selected-text:before, .lock .def1 .selected-text:before {
    background-image: url("../img/sliding_lock/sliding_lock1.png");
}

.sliding_lock .sel_options .sel_option, .lock .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.sliding_lock .sel_options .sel_option b, .lock .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.sliding_lock .sel_options .sel_option:hover, .lock .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.sliding_lock .sel_option.def0:before, .lock .sel_option.def0:before {
    background-image: url("../img/sliding_lock/sliding_lock0.png");
}

.sliding_lock .sel_option.def1:before, .lock .sel_option.def1:before {
    background-image: url("../img/sliding_lock/sliding_lock1.png");
}

/* Наличие декоративной п-образной планки */
.decor .def0 .selected-text:before {
    background-image: url("../img/decor/decor_0.png");
}

.decor .def1 .selected-text:before {
    background-image: url("../img/decor/decor_1.png");
}

.decor .defplank .selected-text:before {
    background-image: url("../img/decor/decor_plank.png");
}

.decor .deffigure .selected-text:before {
    background-image: url("../img/decor/decor_figure.png");
}

.decor .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.decor .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.decor .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.decor .sel_option.def0:before {
    background-image: url("../img/decor/decor_0.png");
}

.decor .sel_option.def1:before {
    background-image: url("../img/decor/decor_1.png");
}

.decor .sel_option.defplank:before {
    background-image: url("../img/decor/decor_plank.png");
}

.decor .sel_option.deffigure:before {
    background-image: url("../img/decor/decor_figure.png");
}

/* Фотоэлементы  */
.automatic_photocells .def0 .selected-text:before, .sliding_automatic_photocells .def0 .selected-text:before {
    background-image: url("../img/automatic_photocells/photocells0.png");
}

.automatic_photocells .def1 .selected-text:before, .sliding_automatic_photocells .def1 .selected-text:before {
    background-image: url("../img/automatic_photocells/photocells1.png");
}

.automatic_photocells .sel_options .sel_option, .sliding_automatic_photocells .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.automatic_photocells .sel_options .sel_option b, .sliding_automatic_photocells .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.automatic_photocells .sel_options .sel_option:hover, .sliding_automatic_photocells .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.automatic_photocells .sel_option.def0:before, .sliding_automatic_photocells .sel_option.def0:before {
    background-image: url("../img/automatic_photocells/photocells0.png");
}

.automatic_photocells .sel_option.def1:before, .sliding_automatic_photocells .sel_option.def1:before {
    background-image: url("../img/automatic_photocells/photocells1.png");
}

/* Сигнальная лампа  */
.automatic_signal_lamp .def0 .selected-text:before, .sliding_automatic_signal_lamp .def0 .selected-text:before {
    background-image: url("../img/automatic_signal_lamp/signal_lamp0.png");
}

.automatic_signal_lamp .def1 .selected-text:before, .sliding_automatic_signal_lamp .def1 .selected-text:before {
    background-image: url("../img/automatic_signal_lamp/signal_lamp1.png");
}

.automatic_signal_lamp .sel_options .sel_option, .sliding_automatic_signal_lamp .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.automatic_signal_lamp .sel_options .sel_option b, .sliding_automatic_signal_lamp .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.automatic_signal_lamp .sel_options .sel_option:hover, .sliding_automatic_signal_lamp .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.automatic_signal_lamp .sel_option.def0:before, .sliding_automatic_signal_lamp .sel_option.def0:before {
    background-image: url("../img/automatic_signal_lamp/signal_lamp0.png");
}

.automatic_signal_lamp .sel_option.def1:before, .sliding_automatic_signal_lamp .sel_option.def1:before {
    background-image: url("../img/automatic_signal_lamp/signal_lamp1.png");
}

/* Вид крепления и размер столбов, мм 3d заборов  */
.panel-calc .clamping .def1 .selected-text:before {
    background-image: url("../img/clamping/1.png");
}

.panel-calc .clamping .def2 .selected-text:before {
    background-image: url("../img/clamping/2.png");
}

.panel-calc .clamping .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.panel-calc .clamping .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.panel-calc .clamping .sel_options .sel_option:hover {
    background-color: #8b8b8b;
}

.panel-calc .clamping .sel_option.def1:before {
    background-image: url("../img/clamping/1.png");
}

.panel-calc .clamping .sel_option.def2:before {
    background-image: url("../img/clamping/2.png");
}

/* Панели 3D */
.panel_thickness .def30 .selected-text:before {
    background-image: url("../img/panel_thickness/1.png");
}

.panel_thickness .def32 .selected-text:before {
    background-image: url("../img/panel_thickness/1.png");
}

.panel_thickness .def38 .selected-text:before {
    background-image: url("../img/panel_thickness/2.png");
}

.panel_thickness .def40 .selected-text:before {
    background-image: url("../img/panel_thickness/3.png");
}

.panel_thickness .def50 .selected-text:before {
    background-image: url("../img/panel_thickness/4.png");
}

.panel_thickness .sel_options .sel_option {
    line-height: 120px;
    padding: 0 10px 0 120px
}

.panel_thickness .sel_options .sel_option b {
    font-size: 15px;
    line-height: 20px;
}

.panel_thickness .sel_option.def30:before {
    background-image: url("../img/panel_thickness/1.png");
}

.panel_thickness .sel_option.def32:before {
    background-image: url("../img/panel_thickness/1.png");
}

.panel_thickness .sel_option.def38:before {
    background-image: url("../img/panel_thickness/2.png");
}

.panel_thickness .sel_option.def40:before {
    background-image: url("../img/panel_thickness/3.png");
}

.panel_thickness .sel_option.def50:before {
    background-image: url("../img/panel_thickness/4.png");
}

#all_unit_label, #all_summ_label {
    display: inline-block;
    font-style: normal;
}

#all_unit_label {
    color: #ffb4b4;
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    display: none;
}

.actuality {
    color: #FFB4B4;
    font-size: 20px;
    text-align: center;
    margin: 0;
    padding: 15px 0;
}

.add input::placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
    text-transform: none;
}

.add input::-webkit-input-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
    text-transform: none;
}

.add input::-moz-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
    text-transform: none;
}

.add input:-moz-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
    text-transform: none;
}

.add input:-ms-input-placeholder {
    font: normal 14px/18px Arial, Helvetica, sans-serif;
    text-transform: none;
}

.select-combi-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-combi-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    position: relative;
}

.select-combi-inner {
    position: absolute;
    top: 0;
    z-index: 12;
}

.select-combi-calc {
    background-color: #1A2D3F;
    margin: 0 -15px!important;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    list-style: none;
    display: none;
    padding: 0;
}

.select-combi-calc .active {
    background: #3c7b2ea6;
    cursor: default;
}

.active .select-combi-calc {
    display: block;
}

.gbtn .select-combi-calc li, .gbtn .select-combi-calc a {
    text-align: left;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
}

.select-combi-calc .calc-ico {
    margin: 10px 20px 10px 25px;
}

#inline-calcs-menu.active .select-combi-calc {
    display: block;
}

.calc_buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.start-btn-wrap {
}

.add-btn-wrap {
    position: relative;
    height: 62px;
    width: 25%;
}

#calculator_start.combi-start {
    line-height: 1;
    padding: 5px 10px;
    border-radius: 18px;
}

.calc_forms {
    position: relative;
}

.calc_forms.loading {
    min-height: 300px;
}

.calc_forms.loading:after {
    background: #fff url("../img/loading-animation.gif") 50% 50% no-repeat;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.add-calcs-menu__wrap {
    position: absolute;
    top: 0;
    z-index: 11;
}

.select-calcs-menu, .add-calcs-menu {
    border: 1px solid #fff;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    position: relative;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    line-height: 1;
    padding: 8px 20px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.select-calcs-menu::after, .add-calcs-menu::after {
    content: "\e313";
    font-family: "Material Icons",sans-serif;
    font-size: 20px;
    margin-top: -10px;
    position: absolute;
    right: 5px;
    transition: transform .3s;
    top: 26px;
}

.select-calcs-menu.active::after,.add-calcs-menu.active::after {
    transform: rotate(-180deg)
}

.select-calcs-menu__title, .add-calcs-menu__title {
    font-size: 18px;
    display: block;
    padding-right: 10px;
}

.add-calcs-menu.active .add-calcs-menu__title {
    margin-bottom: 5px;
}

.select-calcs-menu__name, .add-calcs-menu__name {
    margin-bottom: 0;
    font-size: 16px;
    padding-right: 10px;
}

.select-calcs-menu.active .select-calcs-menu__name, .add-calcs-menu.active .add-calcs-menu__name {
    border-bottom: 1px solid #33863D;
    margin-bottom: 5px;
}

.add-calcs-menu.active .add-combi-calc {
    display: block;
}

.add-combi-calc {
    background-color: #1A2D3F;
    margin: 0 -15px!important;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    list-style: none;
    display: none;
    padding: 0;
    font-size: 14px;
}

.add-combi-calc a {
    border: 0;
    border-radius: 0;
    text-transform: none;
    text-align: left;
    color: #fff;
    padding-right: 10px;
}

.add-combi-calc .calc-ico {
    margin: 10px 15px 10px 20px;
}

@media print {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    *, :before, :after {
        background: transparent !important;
        color: #000 !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .fences {
        width: 100%;
    }

    #calculator {
        display: block;
    }

    .calc_block.calculator_total {
        margin-top: 0;
    }

    .calc_header {
        margin-top: 0;
    }

    .calc_header h3 {
        font-size: 20px;
    }

    .calculator_total #fence_len, .calculator_total #fence_hgt {
        color: #FFF;
        font-size: 20px;
    }

    table {
        overflow: hidden!important;
        border: solid #000 !important;
        border-width: 1px 0 0 1px !important;
    }

    .calc_box th, .calc_box td, .calc_box tbody td, .calc_box tbody tr td:first-child, .calc_box tbody td.summ, .calc_box tfoot td {
        overflow: hidden!important;
        border: solid #000 !important;
        border-width: 0 1px 1px 0 !important;
        display: table-cell;
    }

    td.summ::before {
        display: none;
    }

    .calculator_total span.quantity, .calculator_total .center span {
        border: 0!important;
    }

    .calc_box tfoot td span {
        min-height: unset;
        justify-content: flex-end;
    }

    #all_unit_label {
        display: inline-block;
    }

    #all_summ_label {
        margin-left: auto;
    }

    .calc_box tfoot td.grey span {
        justify-content: space-between;
    }

    #calculator a[href]:after {
        content: "";
    }

    .calculator_total {
        display: block;
        margin-top: 0;
    }

    .calculator_total span.number {
        border: 0;
        padding: 1px 5px;
    }

    .calculator_total thead span .rub {
        width: auto;
    }

    .calc_box {
        overflow: hidden;
    }

    .calculator_total .red.plus, .calculator_total tr + tr .red.plus {
        display: none;
    }

    .calculator_total th.number {
        width: 3.5%;
    }

    .calculator_total th.name {
        width: 61%;
    }

    .calculator_total th.count {
        width: 6%;
    }

    .calculator_total th.unit {
        width: 8.5%;
    }

    .calculator_total th.price {
        width: 9.5%;
    }

    .calculator_total th.total, .calc_box tfoot tr td.summ {
        width: 11.5%;
    }

    #calculator table th, #calculator table td {
        padding: 0;
        border: 1px solid #000;
        vertical-align: middle !important;
        height: 24pt;
        line-height: 24pt;
    }

    .calculator_total span {
        padding: 1px 5px 1px 10px;
        height: auto;
        min-height: 15pt;
        line-height: 12pt;
        white-space: normal;
        display: inline-block;
        width: 100%;
        border: 0;
        vertical-align: middle !important;
    }

    .calculator_total span.number {
        height: 24pt;
        line-height: 24pt;
    }

    tr {
        page-break-inside: avoid;
    }

    td {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group
    }

    tfoot {
        display: table-footer-group
    }

    .calculator_total thead span, .calculator_total .green span, .calculator_total .grey span, .calculator_total .red span, .calculator_total span.number, .calculator_total span#total_summ, .calculator_total span#work_full_summ, .calculator_total #fence_len, .calculator_total #fence_hgt, .questions p b {
        border: 0;
        color: #000
    }

    .calculator_total .calc_box {
        border: 0;
    }

    .calc_box--active {
        overflow: hidden;
    }

    section, section *, .emodal, .emodal *, .calc-btn, .title-block, .pages-header, .scrollUp, #scrollUp, #ypt_wrapper {
        /* display: none !important; */
    }

    .material-heading-logo img {
        display: none;
        margin: 0 auto;
    }

    .questions {
        padding: 12px 20px 12px 20px;
    }

    .questions p {
        text-align: center;
    }
}

@media screen and (min-width: 768px) {
    #screw_popup {
        width:640px;
        left: 50%;
        min-height: 65px;
        margin-left: -320px;
        padding: 20px 10px;
    }

    .calculator_total th.number {
        width: 3.5%;
    }
    
    .calculator_total th.name {
        width: 61%;
    }
    
    .calculator_total th.count {
        width: 6%;
    }
    
    .calculator_total th.unit {
        width: 8.5%;
    }
    
    .calculator_total th.price {
        width: 9.5%;
    }
    
    .calculator_total th.total, .calc_box tfoot tr td.summ {
        width: 11.5%;
    }
}

@media screen and (max-width: 1200px) {
    .row_Label {
        width:45%;
    }

    .sel_wrap {
        width: 55%;
    }

    .row_Calculator .ui-input-text, .row_Label + .input {
        width: 55%;
    }
}

@media screen and (max-width: 992px) {
    .row_Label {
        width:50%;
    }

    .sel_wrap {
        width: 50%;
    }

    .row_Calculator .ui-input-text, .row_Label + .input {
        width: 50%;
    }

    .calc_forms .calc_params .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col-md-6.calc_left {
        padding-right: 10px;
        padding-left: 10px;
    }

    .col-md-6.calc_right {
        padding-left: 10px;
        padding-right: 10px;
    }

    #send_mail {
        width: 35%;
        font: normal 16px/18px Arial, Helvetica, sans-serif;
    }

    #send_mail_form a {
        font-size: 13px;
        width: 24%;
    }
}

@media screen and (max-width: 768px) {
    #send_mail {
        margin-left:15px;
    }

    #send_mail_form a {
        width: auto;
    }

    .questions .q-desc, .questions .q-phones, .questions .q-phones a {
        font-size: 20px;
    }

    #screw_close {
        top: 4px;
        right: 4px;
    }
}

@media screen and (max-width: 650px) {
    #send_mail_form span.label {
        float:none;
        width: auto;
        display: inline-block;
        vertical-align: middle;
        margin: 10px;
    }

    #send_mail {
        float: none;
        width: auto;
        display: inline-block;
        vertical-align: middle;
        margin: 10px;
    }

    #send_mail_form a {
        float: none;
        width: auto;
        display: inline-block;
        vertical-align: middle;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .row_Calculator {
        height:initial;
    }

    .answer {
        width: 100%;
        top: 11px;
        right: initial;
        text-align: center;
        left: 0;
    }

    .answer:before {
        left: 50%;
        right: initial;
        content: "\f0d7";
        bottom: -12px;
        margin-left: -8px;
    }

    .row_Calculator input {
        float: none;
        height: initial;
        width: 100%;
    }

    .row_Label {
        float: none;
        width: 100%;
        height: 36px;
    }

    .sel_wrap {
        float: none;
        width: 100%;
    }

    .row_Calculator .ui-input-text, .row_Label + .input {
        float: none;
        width: 100%;
    }

    .sel_wrap .sel_imul {
        width: initial;
    }

    .sel_wrap .sec .sel_imul .sel_options {
        width: 100%;
    }

    .total_discount b.label {
        width: auto;
    }

    #send_mail_form {
        padding: 10px;
        background: 0;
    }

    .questions {
        padding: 10px;
        background: 0;
    }

    .calc-btn {
        padding: 8px;
        font-size: 15px;
    }
}

@media(max-width: 576px) {
    .calc_box table {
        max-width: 480px;
    }

    .calculator_total thead span {
        cursor: pointer;
    }
}

@media screen and (min-width: 576px) {
    .calc_header h3 {
        font-size: 24px;
        padding: 16px;
    }

    .calc_box table th.left > span {
        background: #666666;
        border: 1px solid #e6e6e6;
    }

    .calculator_total .summ .full_summ {
        border: 1px solid #e6e6e6;
    }

    .calculator_total .red + .summ .full_summ {
        border-color: #bb0404;
        color: #ba0000;
    }

    .calculator_total .grey + .summ .full_summ {
        border-color: #38c552;
    }

    .calc_box.calc_box--active td.left > span {
        line-height: 35px;
    }

    .calc_box th.left::after {
        display: none;
    }

    .calc_box th.name {
        background: 0;
        /* display: table-cell; */
        /* width: auto; */
    }

    .calc_box th.left {
        cursor: default;
        text-decoration: none;
    }

    .calculator_total span.quantity {
        text-align: right;
    }

    .calculator_total th.count {
        /* align-items: center; */
    }

    .calculator_total span.count {
        line-height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calc_box tfoot td {
        display: table-cell;
        width: auto;
    }

    .calc_box tfoot td span {
        justify-content: flex-end;
        width: auto;
    }

    .calc_box tfoot td.grey span {
        justify-content: space-between;
    }

    .calc_box .red span {
        width: auto;
    }

    #all_unit_label {
        display: inline-block;
    }

    #all_summ_label {
        margin-left: auto;
    }

    .calc_box.calc_box--active tbody td.center + td > span, .calc_box.calc_box--active tbody td.summ > span {
        text-align: right;
        padding-top: 0;
    }

    .calc_box.calc_box--active tbody td.center + td::before, td.summ::before {
        display: none;
    }

    .calc_box tfoot tr td.summ {
        border: 0;
        position: relative;
    }

    .calculator_total tr + tr .red.plus {
        margin-top: 2px;
    }
}
