
.calc_block {
    background-color: #daf2fa;
    margin: 60px 0;
    padding: 40px 50px 40px 270px;
    
    background-image: url(/img/calc/small_bg.jpg);
    background-position: left top;
    background-repeat: no-repeat;
}

.calc_block_left {
    float: left;
    width: 560px;
    width: 60%;
}

.calc_block_title {
    font-size: 22px;
    color: #12b7f5;
    font-weight: 900;
    margin-bottom: 12px;
}

.calc_block_descr {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
}

.calc_block_right {
    float: right;
    width: 25%;
    min-width: 200px;
    max-width: 250px;
}

.calc_block_button {
    font-size: 16px;
    color: #fffefe;
    text-transform: uppercase;
    font-weight: 900;
    height: 50px;
    line-height: 50px;
    background-color: #2ac3fc;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(to bottom, #2ac3fc, #02aff0);
    
    margin-top: 30px;
    
    box-shadow: 0 16px 32px 0 rgba(89,175,207,0.75), inset 0 -4px 0 0 #0097cf;
}

.calc_block_button:hover {
    background-color: #02aff0;
    background: linear-gradient(to bottom, #02aff0, #2ac3fc);
}

@media only screen and (max-width: 940px) {
    .calc_block_left {
        float: none;
        width: auto;
    }
    .calc_block_right {
        float: none;
        width: auto;
    }
    
}

@media only screen and (max-width: 640px) {
    .calc_block {
        padding: 20px 20px 40px 240px;
    }
}

.page_content .calc_block {
    padding: 50px 50px 60px 340px;
    background-image: url(/img/calc/big_bg.jpg);
    margin: 0;
}

.page_content .calc_block_left, .page_content .calc_block_right {
    float: none;
    width: auto;
}

.page_content .calc_block_title {
    font-size: 24px;
    margin-bottom: 22px;
}

@media only screen and (max-width: 680px) {
    .page_content .calc_block {
        padding: 20px 20px 40px 240px;
        background-image: url(/img/calc/small_bg.jpg);
    }
}

@media only screen and (max-width: 560px) {
    .calc_block, .page_content .calc_block {
        padding: 30px 30px;
        background-image: none;
    }
}

/*пошла чисто модаль*/
.popup_block.calc_modal {
    padding: 0 65px;
    padding: 0;
    background-color: transparent;
    margin: 0;
    
    height: 100%;
    
    width: 100%;
    max-width: 90%;
}

.calc_modal_fade {
    background-color: #252525;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    
}

.calc_modal_fade_inner {
    opacity: 0.12;
    background-image: url(/img/calc/bg_def.jpg);
    background-size: cover;
    width: 100%;
    height: 100%;
    background-position: center;
    position: relative;
    
}

.calc_modal_close {
    width: 62px;
    height: 62px;
    position: fixed;
/*    right: 8px;*/
    top: 8px;
    border: 1px solid #ffffff;
    z-index: 333335;
    background-image: url(/img/calc/close.png);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0.56;
}

.calc_modal_close:hover {
    opacity: 1;
    border: 1px solid #a8a49f;
    background-color: rgba(255,255,255,0.16);
}

.calc_modal_content_wrapper {
    width: 100%;
    position: relative;
    
}

.calc_modal_content {
    min-height: 100%;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    
    color: #ffffff;
    padding: 90px 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.calc_modal_percent {
    height: 8px;
    background-color: rgba(255,255,255,0.08);
    width: 100%;
    position: relative;
    margin-bottom: 115px;
}

.calc_modal_percent_fill {
    background-color: rgba(255,255,255,0.8);
    height: 100%;
    width: 0;
}

.calc_modal_percent_value {
    position: absolute;
    height: 24px;
    width: 40px;
    background-color: #5d5750;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    top: 15px;
    margin-left: -20px;
    left: 0;
    display: none;
}

.calc_modal_percent_treug {
    background-image: url(/img/calc/percent_treug.png);
    background-repeat: no-repeat;
    width: 12px;
    height: 8px;
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -6px;
}

.calc_modal_title {
    text-transform: uppercase;
    font-size: 34px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.calc_modal_descr {
    font-size: 14px;
    line-height: 24px;
    font-style: italic;
    font-weight: 300;
    text-align: center;
    margin-bottom: 80px;
}

.calc_ask_list {
    
}

.calc_ask_item {
    display: none;
    
}

.calc_ask_content {
    padding-bottom: 30px;
    min-height: 320px;
}

.calc_ask_title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 50px;
}

.calc_ask_field {
    padding-left: 24px;
    float: left;
}

.calc_ask_field_text {
    margin-bottom: 40px;
}

.calc_inputtext {
    border: 0;
    height: 50px;
    line-height: 50px;
    background-color: #ffffff;
    padding: 0 15px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    font-size: 16px;
}

.calc_ask_field .calc_inputtext {
    width: 370px;
}

.calc_ask_field .calc_inputtext_withunit {
    width: 220px;
}
    
.calc_ask_unit {
    float: left;
    line-height: 50px;
    font-size: 16px;
    font-weight: 900;
    margin-left: 8px;
}

.calc_ask_hint {
    padding-left: 24px;
    font-size: 16px;
    line-height: 26px;
    
}

.calc_ask_hint_radio, .calc_ask_hint_check {
    margin-top: 20px;
}

.calc_ask_buttons {
    padding-left: 24px;
}

.calc_modal_prev {
    width: 50px;
    height: 50px;
    display: inline-block;
    background-color: rgba(212,212,212,0.33);
    opacity: 0.72;
    cursor: pointer;
    line-height: 50px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin-right: 16px;
    background-image: url(/img/calc/prev_arrow.png);
    background-position: center;
    background-repeat: no-repeat;
}

.calc_modal_prev:hover {
    opacity: 1;
    background-color: rgba(212,212,212, 0.4);
}

.calc_modal_button {
    height: 50px;
    line-height: 50px;
    background-color: #2ac3fc;
    cursor: pointer;
    display: inline-block;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 0 25px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
    min-width: 85px;
    text-align: center;
    font-family: inherit;
    background: linear-gradient(to bottom, #2ac3fc, #00aeef);
    border: 0;
    color: #ffffff;
}

.calc_modal_button:hover {
    background-color: #00aeef;
    background: linear-gradient(to bottom, #00aeef, #2ac3fc);
}

.calc_radio_container {
    margin-top: -20px;
}

.calc_radio_container .form_buttons_item {
    margin-top: 25px;
}

.calc_radio_container .form_buttons_item:first-child {
    margin-top: 0;
}

.calc_radio_container input[type="radio"] {
    display: none;
}

.calc_radio_container label  {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    padding-left: 35px;
    display: inline-block;
    cursor: pointer;
    background-position: left;
    background-repeat: no-repeat;
    background-image: url(/img/calc/radio.png);
}

.calc_radio_container input[type="radio"]:checked ~ label  {
    background-image: url(/img/calc/radio_a.png);
}



.calc_check_container {
    margin-top: -20px;
}

.calc_check_container .form_buttons_item {
    margin-top: 18px;
}

.calc_check_container .form_buttons_item:first-child {
    margin-top: 0;
}

.calc_check_container input[type="checkbox"] {
    display: none;
}

.calc_check_container label  {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    padding-left: 35px;
    display: inline-block;
    cursor: pointer;
    background-position: left;
    background-repeat: no-repeat;
    background-image: url(/img/calc/check.png);
}

.calc_check_container input[type="checkbox"]:checked ~ label  {
    background-image: url(/img/calc/check_a.png);
}

/*перебьем стили ошибок*/
.calc_ask_item .calc_inputtext.field_error {
    border: 0;
}

.calc_ask_item .field_error_item {
    color: #ffaaaa;
    margin-top: 12px;
    font-size: 14px;
}

/*верстка сани верстальщика*/
.hands_up {
    position: fixed;
    bottom: 0px;
    left: 10%;
    display: block;
    display: none;
    width: 390px;
    height: 67px;
    background: linear-gradient( 360deg,#71a86b  0%, #507b4c 100%);
    border-radius: 5px 5px 0 0;
    box-shadow: 2.5px 4.33px 24px 0px rgba(0, 0, 2, 0.24);
    z-index: 11;
}
.hands_up__wrapper {
    cursor: pointer;
    position: relative;
}
.hands_up__wrapper::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    margin-top: -19px;
    display: block;
    width: 99px;
    height: 20px;
    background: url(/img/hands-up/hand-like_1.png) ;
    background-repeat: no-repeat;
    background-size: contain;
}
.hands_up__item {
    display: inline-block;
    align-items: center;
    height: 100%;
    padding: 21px 0px 23px 27px;
}
.hands_up__link {
    position: relative;
}
.hands_up__link::before,
.hands_up__link::after {
    content: '';
    position: absolute;
    top: 26%;
    display: block;
    width: 19px;
    height: 16px;
    background-image: url(/img/hands-up/hands-up-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all .25s ease-in-out;
}
.hands_up__link::before {
    left: 0;
}
.hands_up__link::after {
    right: 0;
    transform: rotate(0.5turn);;
}
.hands_up__link span {
    position: relative;
    font-size: 21px;
    color: rgb(255, 252, 221);
    line-height: 1.2;
    text-decoration: none;
    padding: 0 30px;
    transition: all .25s ease-in-out;
}
.hands_up__link span::after {
    content: '';
    position: absolute;
    width: 75%;
    height: 1px;
    left: 0;
    right: 0;
    bottom: 1px;
    background-color: rgba(255, 252, 221, 0.5);
    margin: 0 auto;
}
.hands_up__like {
    position: absolute;
    right: 0;
    top: 0;
}
.hands_up__close {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    padding: 5px;
    background-color: #fff;
    background-image: url(/img/slider_float_close_black.png);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all .25s ease-in-out;
}
/* Hover effect */
.hands_up__wrapper:hover .hands_up__link::before {
    left: 5px;
    transition: all .25s ease-in-out;
}
.hands_up__wrapper:hover .hands_up__link::after {
    right: 5px;
    transition: all .25s ease-in-out;
}
/* media */
@media screen and (max-width: 450px) {
    .hands_up {
        width: 340px;
        left: 0;
    }
    .hands_up__item {
        padding: 21px 0px 23px 10px;
    }
    .hands_up__like {
        width: 82px;
        top: 9px;
    }
    .hands_up__wrapper::before {
        margin-top: -6px;
        width: 81px;
    }
}