body .close{
    background-image: url('../img/close.svg');
    background-size: 116%;
}
body .turquoise-theme ~ .modal .close{
    background-image: url('../img/close2.svg');
}
body .green-theme ~ .modal .close{
    background-image: url('../img/close3.svg');
}
/* + footer */
footer .footer-flex .number-f a:hover{
    color: #F39314;
}
/* - footer */
.your-project-section:last-child{
    margin-bottom: 0;
}
/* + no-table */
table.no-table{
    margin: 0;
}
table.no-table tr{
    border: none;
}
table.no-table td{
    padding: 0;
}
/* - no-table */
/* + form-table */
.project-form-wrapper{

}

.form-table{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 60px 40px;
    background-image: url("../img/mail-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: #ffffff;
    -webkit-box-shadow: 3px 0px 38px 0px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 3px 0px 38px 0px rgba(0, 0, 0, 0.09);
    box-shadow: 3px 0px 38px 0px rgba(0, 0, 0, 0.09);
    width: 100%;

}
.form-table tbody{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
      width: 100%;
}
.form-table tr{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
      width: 100%;
    border: none;
}
.form-table tr td{
    width: 100%;
    border: none;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}
.form-table tr td input{
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #c3c3c3;
    color: #000;
    font-size: 18px;
    padding: 12px 20px;
    margin-bottom: 40px;
    background-color: transparent;
    font-weight: 500;
}
.form-table tr td input::-webkit-input-placeholder {color:#818181;}
.form-table tr td input::-moz-placeholder          {color:#818181;}/* Firefox 19+ */
.form-table tr td input:-moz-placeholder           {color:#818181;}/* Firefox 18- */
.form-table tr td input:-ms-input-placeholder      {color:#818181;}
.form-required {
    color: #F39314;
}
.form-table tr td textarea{
    width: 100%;
    margin: 16px 0 40px;
    border: none;
    border-bottom: 2px solid #c5c5c5;
    background-color: #f9f9f9;
    color: #000;
    outline: none;
    padding: 12px 20px;
    font-size: 18px;
}

.form-table tfoot{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}
table.form-table th{
    border: none;
    color: #000;
    background: transparent;
    padding: 0;
}
.form-table .wrap-btn-input{
    position: relative;
}
.form-table .wrap-btn-input input[type="submit"]{
    padding: 0;
    color: #fff;
    background: transparent;
    border: none;
    font-weight: 500;
    line-height: 1.5;
    font-size: 1.375rem;
}

.form-table .inputfile-wrapper{
    position: relative;
    width: auto;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0 40px;
    cursor: pointer;
}
.form-table .inputfile-wrapper .inputfile{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}
.form-table .inputfile-wrapper .btn{
    margin-right: 32px;
    cursor: pointer;
}
.form-table .inputfile-wrapper .inputfile:hover ~ .btn{
    background-color: #E56A0F;
    border-color: #E56A0F;
}
.form-table .inputfile-wrapper .inputfile:active ~ .btn{
    background-color: #ca770a;
    border-color: #be700a;
}
.turquoise-theme .form-table .inputfile-wrapper .inputfile:hover ~ .btn {
    background-color: #009599 !important;
    border-color: #009599 !important;
}
.turquoise-theme .form-table .inputfile-wrapper .inputfile:active ~ .btn {
    background-color: #007C7F !important;
    border-color: #007C7F !important;
}
.green-theme .form-table .inputfile-wrapper .inputfile:hover ~ .btn {
    background-color: #00A36F !important;
    border-color: #00A36F !important;
}
.green-theme .form-table .inputfile-wrapper .inputfile:active ~ .btn {
    background-color: #00895D !important;
    border-color: #00895D !important;
}


.turquoise-theme ~ .modal .form-table  .btn-primary  {
    background-color: #00AEB3;
    border-color: #00AEB3;
}
.turquoise-theme ~ .modal .form-table  .btn-primary:hover  {
    background-color: #009599 !important;
    border-color: #009599 !important;
}
.turquoise-theme ~ .modal .form-table  .btn-primary:active  {
    background-color: #007C7F !important;
    border-color: #007C7F !important;
}

.green-theme ~ .modal .form-table  .btn-primary  {
    background-color: #00C083;
    border-color: #00C083;
}
.green-theme ~ .modal .form-table  .btn-primary:hover  {
    background-color: #00A36F !important;
    border-color: #00A36F !important;
}
.green-theme ~ .modal .form-table  .btn-primary:active  {
    background-color: #00895D !important;
    border-color: #00895D !important;
}
.green-theme .btn-primary:active{
    color: #fff !important;
}
.form-table .inputfile-wrapper .file-label{
    margin: 8px 0;
    font-size: 18px;
    color: #818181;
    font-weight: 500;
}

.project-form-wrapper .form-table tbody{
    display: grid;
    grid-gap:0 40px;
    width: 100%;
    grid-template-columns: repeat(6, 1fr);
}
.project-form-wrapper .form-table tr{
    order: 1;
    grid-column: span 2;
}
.project-form-wrapper .form-table tr.order2{
    order: 2;
    grid-column: span 6;
}
.project-form-wrapper .form-table tr.order3{
    order: 3;
    grid-column: span 6;
}

.select2.select2-container--select-primary{
    width: 100%;
    min-width: 100%;
    margin-bottom: 40px;
}
.select2.select2-container--select-primary .selection{
    width: 100%;
}
.select2.select2-container--select-primary .select2-selection{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #c3c3c3;
    height: auto;
}
.select2.select2-container--select-primary .select2-selection__rendered{
    font-size: 18px;
    padding: 14px 20px !important;
    font-weight: 500;
    line-height: 1;
}
.select2.select2-container--select-primary .select2-selection__arrow{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 20px;
    height: 12px;
    min-width: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 140%;
    background-image: url("../img/arr-grey.svg");
    margin: 0 12px;
}

.select2-container--select-primary .select2-dropdown{
    border-color: #c3c3c3;
}
.select2-container--select-primary .select2-dropdown.select2-dropdown--above{
    border-bottom:1px solid #c3c3c3;
}
.select2-container--select-primary .select2-results__option{
    line-height: 1;
    padding-bottom: 10px;
    transition: .3s;
}
.select2-container--select-primary .select2-results__option[aria-disabled="true"]{
    background: #fff !important;
    color: #818181 !important;
}
.select2-container--select-primary .select2-results__option[aria-selected="true"],
.select2-container--select-primary .select2-results__option:hover{
    background-color: #F39314;
    color: #fff;
}
.select2-container--select-primary .select2-results__options{
    max-height: 216px;
    overflow: auto;
}
.green-theme ~ .select2-container.select2-container--select-primary .select2-results__option[aria-selected="true"],
.green-theme ~ .select2-container.select2-container--select-primary .select2-results__option:hover{
    background-color: #00C083 !important;
}
.turquoise-theme ~ .select2-container.select2-container--select-primary .select2-results__option[aria-selected="true"],
.turquoise-theme ~ .select2-container.select2-container--select-primary .select2-results__option:hover{
    background-color: #007C7F;
}
.select2, .select2 *{
    outline: none !important;
}

body .modal-dialog {
    max-width: 640px;
}
.modal p{
    font-size: 18px;
}
.modal .form-table{
    padding: 0;
    box-shadow: none;
    background-image: none;
}
.form-body table tr {
    border-bottom: none;
}
.form-body table tr td {
    padding: 0;
}
@media (max-width: 1199px){
    .project-form-wrapper .form-table tr {
        order: 1;
        grid-column: span 3;
    }
}
@media (max-width: 767px){
    body .modal-content table tr{
        padding: 0;
    }
    .project-form-wrapper .form-table tr {
        order: 1;
        grid-column: span 6;
    }
    .form-table .wrap-btn-input input[type="submit"] {
        font-size: 16px;
    }
    .btn.btn-primary.wrap-btn-input{
        padding: 9px 12px 11px;

    }
    .btn.btn-primary.wrap-btn-input:after {
        display: none;
    }

    .form-table{
        background-image: none;
        padding: 32px 24px;
    }
    .form-table tr{
        padding: 0 !important;
    }
    .form-table tr td {
        font-size: 16px;
    }
    .form-table tr td input {
        margin-bottom: 32px;
        padding: 8px 16px;
    }
    .select2.select2-container--select-primary {
        margin-bottom: 32px;
    }
    .select2.select2-container--select-primary .select2-selection__rendered {
        padding: 10px 16px !important;
        line-height: 1;
    }

}

@media (max-width: 350px){
    .project-form-wrapper .form-table .wrap-btn-input input[type="submit"] {
        font-size: 14px;
    }
    .form-table {
        padding: 32px 12px;
    }
}
/* - form-table */

/* + calculator-section */
.calculator-section .h1 .light{
    display: block;
}
.calculator-section .h1{
    margin-bottom: 32px;
}
.calculator-section .grid{
    display: grid;
    grid-gap: 44px 100px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}
.calculator-section .select2.select2-container--select-primary {
    margin-bottom: 0;
}
.calculator-section .form-control{
    margin-bottom: 0;
}
.calculator-section .d-flex{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.calculator-section .text-wrap{
    width: calc(100% - 400px);
    max-width: 580px;
}
.calculator-section .btn-wrap{
    margin-left: auto;
}
.calculator-section hr {
    border-top: 2px solid #f39314;
    margin: 60px 0 30px;
}
.calculator-section .title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1;
}
.calculator-section .text{
    font-size: 18px;
    margin: 0;
}
.calculator-section .w-auto{
    width: auto;
    margin-right: 24px;
}
.form-item{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.form-item label{
    width: 100%;
    border: none;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.form-item label .tip-btn{
    margin-left: 8px;
}
.form-control {
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #c3c3c3;
    color: #000;
    font-size: 18px;
    padding: 12px 20px;
    margin-bottom: 40px;
    background-color: transparent;
    font-weight: 500;
}

.tip-wrap{
    position: relative;
}
.tip-wrap:hover .tip-text{
    display: block;
}
.tip-wrap:hover .tip-btn:before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 16px solid #f7f7f7;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}
.tip-btn{
    position: relative;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 100%;
    color: #fff;
    font-size: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background-color: #F39314;
    border: none;
    outline: none;
    box-shadow: none;
}
.tip-text{
    position: absolute;
    width: 700px;
    padding: 50px 24px 32px;
    background-color: #f7f7f7;
    -webkit-box-shadow: 0px 3px 38px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 3px 38px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 3px 38px 0px rgba(0,0,0,0.16);
    right: -350px;
    top: calc(100% + 24px);
    display: none;
}

.form-control.w-50{
    max-width: 220px;
    width: 50%;
    margin-right: 32px;
}
.form-control.w-50:last-child{
    margin-right: 0;
}

body .btn-wrap {
    position: relative;
}
body .btn-wrap .btn{
    padding-right: 80px;
    background-image: url('../img/arrow-white.svg');
    background-repeat: no-repeat;
    background-size: 34px;
    background-position:  calc(100% - 26px) center;
}

.range-wrap{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.scale-box{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.scale-box p{
    margin: 0;
    color: #000;
}
.scale-box p:first-child{
    max-width: 8px;
}
.scale-box p:last-child{
    width: 14px;
}

.input-wrap {
    display: flex;
    align-items: center;
}
.input-wrap .result-text{
    width: 66px;
    padding: 4px 8px;
    font-size: 18px;
    color: #000;
    border-bottom: 1px solid #c3c3c3;
    margin: 0 8px 0 0;
}
.input-wrap .grey-text{
    color: #818181;
    font-size: 18px;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 24px 0 12px;
    width: 100%;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #c3c3c3;
    border-radius: 0;
    border: 0px solid #c3c3c3;
}
input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 3px 9px 0px rgba(0,0,0,0.35);
    border: 1px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background: #f7941e;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #818181;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    background: #c3c3c3;
    border-radius: 0;
    border: 0px solid #c3c3c3;
}
input[type=range]::-moz-range-thumb {
    box-shadow: 0px 3px 9px 0px rgba(0,0,0,0.35);
    border: 1px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background: #f7941e;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 20px 0;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #c3c3c3;
    border: 1px solid #c3c3c3;
    border-radius: 0;
    box-shadow: none;
}
input[type=range]::-ms-fill-upper {
    background: #c3c3c3;
    border: 1px solid #c3c3c3;
    border-radius: 0;
    box-shadow: none;
}


input[type=range]::-ms-thumb {
    box-shadow: 0px 3px 9px 0px rgba(0,0,0,0.35);
    border: 1px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background: #f7941e;
    cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
    background: #818181;
}
input[type=range]:focus::-ms-fill-upper {
    background: #818181;
}
.required-text{
    color: #818181;
    padding: 16px 0 0;
}
.required-text .form-required{
    color:#d62669;
}
@media (max-width: 1199px){
    .calculator-section .grid {
        grid-gap: 44px 24px;
    }
    .form-control.w-50 {
        max-width: 206px;
        margin-right: 16px;
    }
}
@media (max-width: 991px){
    .calculator-section .grid {
        grid-gap: 32px 0;
        grid-template-columns: repeat(1, 1fr);
    }
    .form-control.w-50 {
        max-width: calc(50% - 8px);
    }
    .calculator-section .text-wrap {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }
    .calculator-section .form-item:nth-child(odd){
        order: 1;
    }
    .calculator-section .form-item:nth-child(even){
        order: 2;
    }
}
@media (max-width: 767px){
    .calculator-section .calc-form {
        padding: 40px 16px 45px;
    }
    .form-control.w-50 {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }
    .form-control.w-50:last-child{
        margin-bottom: 0;
    }
    .form-item label {
        font-size: 16px;
        display: block;
    }
    .tip-wrap {
        display: inline-block;
    }
    .form-control {
        padding: 8px 16px;
    }
    .calculator-section .w-auto {
        margin-right: auto;
        width: 62%;
        max-width: 162px;
    }
    .calculator-section hr {
        display: none;
    }
    .calculator-section .d-flex {
        padding-top: 32px;
    }
    .calculator-section .title {
        font-size: 20px;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f39314;
    }
    .calculator-section .text {
        font-size: 16px;
    }
    body .btn-wrap .btn {
        background-size: 24px;
    }

}
.form_text_5077 {
    height: 0;
    opacity: 0;
}
/* - calculator-section */
@media (max-width: 767px){
    #form1 .grid.new-row {grid-template-columns: repeat(1, 1fr) !important;}

    #form1.new_form input.inputtext {
        margin-bottom: 0;
    }
}
.diameter-sup {
    font-size: 11px;
    color: #a1a3a1;
    top: -0.8em;
}
.radio-wrap.prices-radio .item label {
    display: none;
}

.prices-radio .item input:checked ~ label {
    display: block;
    border: none;
    border-bottom: none !important;
    padding: 0 !important;
}

.prices-radio .item {
    margin: 0 !important;
}
.index-slider{
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}