.main{
    background-color: #f5f5f5;
}

.main>.wrapper{
    padding-bottom: 50px;
}

.part1{
    background-color: #fff;
    padding: 40px;
}

.conditions{
    font-size: 14px;
}

.conditions .m-select{
    width: 180px;
}

.conditions .row{
    display: flex;
    margin-left: -28px;
}

.conditions .row1{
    margin-bottom: 15px;
}

.conditions .m-input{
    width: 180px;
}

.conditions .title{
    font-size: 18px;
    margin-bottom: 10px;
}

.conditions .row1 .col{
    width: 25%;
    flex: 0 0 auto;
}

.conditions .row2 .col1{
    width: 25%;
    flex: 0 0 auto;
}

.conditions .row2 .col2{
    width: 50%;
    flex: 0 0 auto;
}

.conditions .row2 .col3{
    width: 25%;
    flex: 0 0 auto;
}

.conditions .m-input,
.conditions .m-select{
    width: calc(100% - 110px);
    flex: 0 0 auto;
}

.conditions label{
    width: 110px;
    padding-right: 10px;
    flex: 0 0 auto;
    text-align: right;
}
.conditions .col{
    display: flex;
    align-items: center;
}

.conditions .row2 .col3{
    padding-left: 20px;
}

.conditions .row2 .col3 .m-button{
    flex: 1;
}

.part2{
    margin-top: 44px;
    font-size: 14px;
}

.part2 .total-amount{
    text-align: right;
    padding-bottom: 14px;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 20px;
}

.result{
    margin-bottom: 10px;
}

.result-header .col1,
.result-header .col2,
.result-header .col3{
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    align-items: flex-start;
    padding-left: 20px;
}

.result-header{
    background-color: #ffffff;
    display: flex;
    min-height: 60px;
    line-height: 24px;
    cursor: pointer;
    transition: .3s;
}
.result:not(.expanded) .result-header:hover{
    box-shadow: 0 5px 50px rgba(0, 0, 0, .1);
}

.result-header .col1{
    width: 140px;
    flex: 0 0 auto;
}

.result-header .col2{
    width: calc(100% - 340px);
    flex: 0 0 auto;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    padding-right: 60px;
    position: relative;
}

.result-header .col2 .arr{
    position: absolute;
    width: 60px;
    right: 0;
    top: 0;
    height: 100%;
}

.result-header .col2 .arr::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 27px;
    height: 11px;
    background: url("../images/icons/arr_right_dark.svg") center/contain no-repeat;
    transition: .3s;
}

.expanded .result-header .col2 .arr::after{
    transform: rotate(90deg);
}

.result-header .col3{
    width: 200px;
    flex: 0 0 auto;
    padding-left: 0;
    justify-content: center;
}

.result-header .col3 span{
    color: #ff0000;
}

.result-header .col3 .score{
    margin-right: 15px;
}
.result-body{
    background-color: #ebebeb;
    padding: 24px 20px 30px 20px;
    min-height: 180px;
    flex-direction: column;
    align-items: stretch;
    display: none;
    position: relative;
}

.expanded .result-body{
    display: flex;
}

.labels{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.labels .label{
    background-color: #a9a9a9;
    color: #fff;
    margin-right: 10px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
    line-height: 20px;
}

.result-body .row3{
    margin-top: auto;
    margin-bottom: 0;

    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.result-body .row3 .left{
    display: flex;
    align-items: center;
}

.result-body .row3 .left input{
    background-color: #fff;
    border: 1px solid #e6e6e6;
    margin-right: 2px;
    height: 30px;
    line-height: 24px;
    padding: 2px 6px;
    width: 120px;
}

.result-body .row3 .left button{
    background-color: #ee4e5b;
    color: #fff;
    line-height: 24px;
    padding: 3px 16px;
    border: none;
    cursor: pointer;
}

.result-body .row3 .left button:hover{
    background-color: #ff5462;
}

.result-body .row3 .right{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.result-body .row3 .right .right-text{
    flex: 1 0 auto;
}

.result-body .row3 .score{
    cursor: pointer;
    display: inline-flex;
    justify-content: space-between;
    margin-top: -2px;
}

.result-body .star{
    width: 22px;
    height: 14px;
    position: relative;
}

.result-body .star::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("../images/icons/star.svg") center/contain no-repeat;
}

.result-body .star::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("../images/icons/star_gold.svg") center/contain no-repeat;
    opacity: 0;
}

.result-body .star.light::before{
    opacity: 0;
}

.result-body .star.light::after{
    opacity: 1;
}

.part2 .result-list .btn-fav{
    position: absolute;
    right: 25px;
    top: 25px;
}

@media (min-width: 961px) {
    .result-body .desc{
        min-height: 80px;
    }
}

@media (max-width: 1280px) {
    .conditions .row1,
    .conditions .row2{
        margin-bottom: 0;
        flex-wrap: wrap;
    }

    .conditions .row1 .col,
    .conditions .row2 .col{
        margin-bottom: 15px;
        width: 50%;
    }

    .conditions .row2 .col3{
        width: auto;
        justify-self: flex-end;
        margin-left: auto;
        margin-right: 0;
    }
}

@media (max-width: 960px) {

}

@media (max-width: 750px) {
    .conditions .row1 .col,
    .conditions .row2 .col,
    .conditions .row2 .col3{
        width: 100%;
    }
    .result-header{
        flex-wrap: wrap;
    }

    .result-header .col1, .result-header .col3{
        padding-top: 12px;
        padding-bottom: 12px;
        width: 50%;
    }
    .result-header .col1{
        border-right: 1px solid #e6e6e6;
    }
    .result-header .col2{
        padding-top: 12px;
        padding-bottom: 12px;
        width: 100%;
        order: 3;
        border-left: 0;
        border-right: 0;
        border-top: 1px solid #e6e6e6;
    }
    .result-body .row3{
        margin-top: 30px;
        display: block;
    }

    .result-body .row3 .right{
        margin-top: 20px;
    }

    .result-body .row3 .right .right-text{
        width: auto;
        flex: 0 0 auto;
    }
    .labels .label{
        margin-bottom: 10px;
    }
    .labels{
        margin-bottom: 4px;
    }
    .part1{
        padding: 20px;
    }
    .part2{
        margin-top: 20px;
    }

    .part1 .conditions .row{
        display: block;
        margin-left: 0;
    }

    .part1 .conditions .row .col{
        display: block;
        width: 100%;
    }

    .part1 .conditions .row .col>*{
        display: block;
        width: 100%;
    }

    .part1 .conditions .row .col label,
    .part1 .conditions .row .col .label{
        text-align: left;
        margin-bottom: 6px;
    }
    .conditions .row2 .col3{
        padding-left: 0;
    }

    .part2 .result-list .btn-fav{
        top: auto;
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .result-header .col1, .result-header .col3{
        width: 100%;
    }

    .result-header .col1{
        border-right: 0;
        border-bottom: 1px solid #e6e6e6;
    }
    .result-header .col3{
        justify-content: flex-start;
        padding-left: 20px;
    }

}



