/*Блок Калькулятор
------------------------------------------------*/
.wrap {width: 980px;margin: 0 auto;}

.calculator h3 {
    text-align: center;
}

.calc-holder {
    margin: 40px 0;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.calc-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.calc-switch div {
    width: 150px;
    line-height: 40px;
    text-align: center;
    background: #13678A;
    color: #fff;
    margin: 5px;
    cursor: pointer;
}

.calc-switch div.active {
    background: #518da6;
}

.calc-holder .input-holder {
    margin: 15px 0;
}

.calc-holder label {
    width: 218px;
    display: block;
    float: left;
}

.calc-holder input[type="text"],
.calc-holder select {
    padding: 8px 5px;
    border: 1px solid #ccc;
    width: 210px;
    box-sizing: border-box;
    border-radius: 4px;
}

.jq-selectbox {
    width: 210px;
}

.jq-selectbox__select,
.jq-selectbox__select:hover {
    box-shadow: none;
    background: none;
    border: 1px solid #ccc;
}

.jq-selectbox__trigger {
    border-left: none;
}
.check-holder {
    margin: 15px 0 0 0;
}

.check-holder label {
    width: 250px;
    float: none;
    display: inline-block;
}

.go-calc-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 40px 0 60px;
    background: #f0f0f0;
    border-radius: 10px;
}

.go-calc {
    width: 400px;
    height: 55px;
    line-height: 55px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    background: var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all .5s;
}

.go-calc:hover {
    background: var(--secondary-color);
}

.calc-result {
    width: 430px;
    height: 0px;
    overflow: hidden;
    font-size: 32px;
    line-height: 44px;
    font-weight: 500;
    text-align: center;
    transition: all 1s ease-in;
}

.gifts-section {
    display: none;
}

.order-gifts {
    position: relative;
    padding: 0 0 50px 0;
    display: none;
    background: url(../images/bg-service-big-light.jpg) no-repeat center center;
    color: #fff;
    overflow: visible;
}


.order-gifts .gifts-image {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 780px;
    height: 635px;
    background: url(../images/gift-image.png) no-repeat left bottom;
    background-size: cover;
    opacity: 0.3;
}

.order-gifts .flag {
    box-sizing: border-box;
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -205px;
}

.order-gifts .flag:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 208px solid transparent;
    border-right: 208px solid transparent;
    border-top: 10px solid #bd110a;
}

.order-gifts .flag span {
    position: relative;
    color: #fff;
    display: block;
    text-align: center;
    background: #bd110a;
    font: 700 28px Roboto;
    text-transform:uppercase;
    line-height: 1;
    padding: 12px 8px 10px;
    border-top-right-radius: 8px;
    width: 410px;
}

.order-gifts .flag span:before, .order-gifts .flag span:after {
    position: absolute;
    content: "";
}

.order-gifts .flag span:before {
    height: 6px;
    width: 6px;
    left: -6px;
    top: 0;
    background: #bd110a;
}

.order-gifts .flag span::after {
    height: 6px;
    width: 8px;
    left: -8px;
    top: 0;
    border-radius: 8px 8px 0 0;
    background: #9f0d08;
}

.order-gifts .wrap {
    padding: 80px 0 0 313px;
    padding: 80px 0 0 537px;
    position: relative;
    z-index: 10;
}

.gift-item {
    width: 100%;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    margin: 15px 0 0 0;
}

.gift-item .gift-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    color: #fff;
    margin: 10px 0;
}

.gift-item .gift-img {
    width: 95px;
    height: 95px;
    margin: 0 20px 0 0;
    float: left;
    flex-shrink: 0;
}

.gift-item .gift-img img {
    width: 100%;
    height: 100%;
}

.gift-item .gift-text {
    margin: 0;
    padding: 0;
}

.delivery-price-discount,
.hangar-price-discount {
    font-weight: bold;
    font-size: 18px;
}

.order-gifts .green-button,
.gifts-section .green-button {
    display: block;
    width: 375px;
    line-height: 60px;
    margin: 50px auto 20px ;
    color: #fff;
    font-size: 19px;
    background: #09730e;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.green-button:hover {
    background: #0c8a12;
}

@media only screen and (max-width : 768px) {
    .wrap{width: 100%;}
    .order-gifts .flag span {
        font-size: 26px;
    }
    .order-gifts .wrap {
        padding: 80px 10px 0 10px;
    }
    .order-gifts .gifts-image{
        width: 100%;
    }
    .calc-holder, .gift-items {
        display: block;
    }
    .jq-selectbox, .calc-holder input[type="text"] {
        width: 100%;
    }
    .gift-items {
        margin: 0;
    }
    .gift-item {
        margin: 10px auto;
    }
    .result-holder .green-button {
        width: 95%;
    }
}

.simple-gifts {
    padding: 0 0 50px 0;
}

.simple-gifts h3 {
    text-align: center;
    margin-bottom: 30px;
}

.sg-holder {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.sg-item {
    width: 310px;
    height: 120px;
    padding: 15px;
    margin: 8px;
    border-radius: 20px;
    display:flex;
    align-items: center;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
    transition: all .25s;
}

.sg-item:hover {
    transform: translate(0, -6px);
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .sg-item {box-shadow: 0px 4px 10px rgb(0 0 0 / 25%);}
}

.sg-item .gift-img {
    width: 90px;
    height: 90px;
    margin-right: 15px;
}

.sg-item .gift-img img{
    width: 100%;
    height: 100%;
}

.sg-item .gift-text {
    width: 170px;
    height: auto;
}

/*
Блок Сравнение заборов
------------------------------------------------*/

.fense-compare {
    padding: 0 0 80px 0;
}

.fense-compare h3 {
    text-align: center;
    margin-bottom: 30px;
}

.fense-compare .text-title {
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

.fense-compare .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.cell {
    padding: 10px 20px;
    width: 340px;
    border-top: 1px solid #d4dcbc;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 19px;
}

.fense-compare .row:first-child .cell {
    display: block;
    border: none;
}

.cell:first-child {
    display: flex;
    background: #d4dcbc;
    width: 300px;
    border-top: 1px solid #fff;
    font-weight: 600;
    align-items: center;
    justify-content: flex-start;
}

.fense-compare .row:nth-child(2) .cell:first-child {
    border-top: 1px solid #d4dcbc;
}

.cell.no-bg {
    background: none;
}

.cell.green {
    color: #248912;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.cell.red {
    color: #bd110a;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.fense-compare .row:first-child img {
    margin-top: 20px;
    height: 200px;
}

.fense-compare .row:last-child .cell{
    border-top: 1px solid #d4dcbc;
    padding-top: 20px;
}

.cell.we,
.cell.they {
    position: relative;
    padding-left: 50px;
}

.cell.we:before {
    content: "";
    width: 28px;
    height: 28px;
    background: url(../images/svg/check-ring.svg) no-repeat;
    background-size: 100%;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -14px;
}

.cell.they:before {
    content: "";
    width: 28px;
    height: 28px;
    background: url(../images/svg/close-ring.svg) no-repeat;
    background-size: 100%;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -14px;
}

@media only screen and (max-width : 768px) {
    .fense-compare .text-title {
        display: none;
    }
    .cell {
        width: 50%;
    }
    .cell-title {
        height: 100px;
    }
    .cell:first-child {
        width: 100%;
        justify-content: center;
    }
    .cell:last-child {
        color: #bd110a;
    }
    .fense-compare .row:last-child .cell:first-child {
        display: none;
    }
}