.price-calculator{
    padding: 24px 40px 36px 40px !important;
}
.price-calculator #calc_form .title-calc{
    margin-bottom: 8px;
}
.price-calculator #calc_form .col-price .title-calc{
    white-space: nowrap;
    margin-bottom: 0;
}
.price-calculator .row-price{
    margin-top: 12px;
}
.price-calculator #calc_form .btn-group-level .btn-custom{
    padding: 9px 10px;
    border: 1px solid transparent;
}
.price-calculator #calc_form .btn-group-level .btn-custom.active{
    border-color: #3c92f6;
    line-height: 30px;
}
.price-calculator #pages, .price-calculator #words{
    min-width: 60px;
}
.price-calculator #calc_form .btn-group-lenght .btn-custom.problems-calculator{
    background: transparent;
    border: none;
}
.price-calculator #calc_form #datetimepicker{
    padding-left: 15px!important;
}
.price-calculator #calc_form .btn-group-lenght{
    margin-left: 5px;
}
.price-calculator #calc_form .btn-group-lenght .btn-custom.active, 
.price-calculator #calc_form .btn-group-lenght .btn-custom.problems-calculator,
.price-calculator #calc_form .btn-group-lenght .btn-custom.questions-calculator{
    height: 50px;
}
.price-calculator .close-mob-tooltip{
    background: url(https://essaywriter.pro/wp-content/themes/essaywriterPro/img/tooltip-close-icon.svg) no-repeat center;
}
.price-calculator input[type=text]{
    box-shadow: none;
}
.info-tooltip-calc {
    background: url(https://essaywriter.pro/wp-content/themes/essaywriterPro/img/tooltip-icon.svg) no-repeat;
    background-size: cover;
    top: 0;
}
#calc_form [data-tooltip] {
    cursor: pointer;
    position: relative;
    z-index: 9;
}
#calc_form [data-tooltip]:after, #calc_form [data-tooltip]:before {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
#calc_form [data-tooltip]:focus:after, 
#calc_form [data-tooltip]:focus:before, 
#calc_form [data-tooltip]:hover:after, 
#calc_form [data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
}
#calc_form [data-tooltip]:before {
    background: rgba(53,56,57,.9);
    border-radius: 8px;
    bottom: 110%;
    color: #fff;
    content: attr(data-tooltip);
    font-size: 10px;
    left: 50%;
    line-height: 15px;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 9px 10px;
    position: absolute;
    text-align: center;
    width: 160px;
}
#calc_form [data-tooltip]:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(53,56,57,.9);
    bottom: 110%;
    content: " ";
    font-size: 0;
    left: 50%;
    line-height: 0;
    margin-left: -5px;
    position: absolute;
    width: 0;
}
#calc_form #subject-tos{
    cursor: pointer;
    height: 46px;
    padding: 0 52px 0 10px;
    padding-left: 10px;
    padding-left: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 46px;
    color: #333;
    box-shadow: none;
    -webkit-appearance: none;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    z-index: 5;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border: 1px solid #d0d0d0;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgNiA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNiAwLjQ2MDY5M0wzIDUuNDA1NjZMMCAwLjQ2MDY5M0w2IDAuNDYwNjkzWiIgZmlsbD0iI0JEQkRCRCIvPgo8L3N2Zz4K);
    background-repeat: no-repeat;
    background-position: right 15px top 22px;
}
 #calc_form .subject_error_place {
    color: #df3131;
    font-size: 12px;
    line-height: 16px;
    padding-top: 2px;
    position: absolute;
}
#calc_form .subject-area-error select{
    border-color: #df3131 !important;
}
#calc_form .price-calculator input[type=text] {
    box-shadow: none;
}
#calc_form .btn-group-toggle.group-type-services {
    flex-wrap: nowrap;
    position: relative;    
    background: transparent;
    margin-bottom: 36px;
}
#calc_form .calc-new .btn-group-toggle.group-type-services label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: none;
    background: 0 0;
    height: 40px;
}
#calc_form .btn-group-toggle.group-type-services label.active {
    color: #282828;
    background: 0 0;
    height: 40px;
    position: relative;
}
#calc_form .btn-group-toggle.group-type-services .btn-custom.active {
    color: #282828;
    border-radius: 6px!important;
    text-transform: capitalize;
    border: none;
}
#calc_form .btn-group-toggle.group-type-services:before {
    content: "";
    display: block!important;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #282828;
    opacity: .1;
    border-radius: 6px;
    -webkit-transform: matrix(1,0,0,-1,0,0);
    -ms-transform: matrix(1,0,0,-1,0,0);
    transform: matrix(1,0,0,-1,0,0);
}
#calc_form .btn-group-toggle.group-type-services label.active:before {
    content: "";
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #282828;
    border-radius: 6px;
}
#calc_form .btn-group-toggle.group-type-services .btn-custom {
    width: 100%;
    height: 40px;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    border: 1px solid rgba(58,58,58,.2);
    border-radius: 6px!important;
    background: 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: rgba(58,58,58,.7);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-transform: capitalize;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    border: none;
}
.datepricker-new-addon .deadline-button.disabled,
.datepricker-new-addon .deadline-button.disabled-button-deadline {
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}

/*responsive*/
@media (max-width: 767px){
    .price-calculator {
        height: 100% !important;
        padding: 36px 20px 50px 20px !important;
        margin: 23px auto 105px !important;
    }
    .topCta h1{
        font-weight: 700;
        font-size: 30px;
        line-height: 36px;
    }
    .topCta .topCtaText{
        margin: 9px auto 0;
    }
    .deadline-row .col-xs-6{
        width: 100%;
    }
    .price-calculator #calc_form .btn-group-level .btn-custom{
        width: 50%;
    }
    .price-calculator #calc_form .btn-group-lenght .btn-custom.problems-calculator{
        max-width: 60px;
    }
    .price-calculator .btn-group-lenght.work-calculations-active{
        width: 90px;
        justify-content: center;
    }
    .info-tooltip-wrap.info-tooltip-wrap-show{
        display: block !important;
    }
}
