.main{
    background-color: #f5f5f5;
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 14px;
}

.main .section-title{
    margin-bottom: 0;
}

.main .title-row{
    padding-bottom: 20px;
    border-bottom: 2px solid #ff0000;
    margin-bottom: 20px;
}

.top-box{
    border: 1px solid #d5d5d5
}

.box-title{
    background-color: #fff;
    font-size: 16px;
    line-height: 30px;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
}

.box-title .right{
    background-color: #f8f8f8;
    height: 30px;
    font-size: 12px;
    line-height: 20px;
    padding: 4px 14px;
    border: 1px solid #ff0000;
}

.file-type-row{
    background-color: #e7e7e7;
    padding: 10px 20px;
}

.file-types{
    border: 1px solid #d5d5d5;
    display: flex;
}

.file-types a{
    width: calc(12.5%);
    flex: 0 0 auto;
    border-right: 1px solid #d5d5d5;
    background-color: #f3f3f3;
    text-align: center;
    line-height: 23px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.file-types a:last-of-type{
    border-right: none;
}

.file-types a.active{
    background-color: #ffffff;
}

.file-types a::before{
    content: "";
    border-left: 6px solid #ff0000;
    border-top: 3.5px solid transparent;
    border-bottom: 3.5px solid transparent;
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 5px;
    vertical-align: middle;
    margin-top: -2px;
}

.condition-row{
    padding: 15px 18px 0;
}

.condition-row>*{
    border-bottom: 1px solid #dfdfdf;
}

.search-form{
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 15px;
}

.search-form .hint{
    margin-bottom: 4px;
}

.search-form .search-input-ctn{
    width: 400px;
    position: relative;
    right: auto;
}

.search-form .search-input-ctn input{
    background-color: #fff;
    line-height: 24px;
    padding: 3px 40px 3px 8px;
    border: 1px solid #a6a6a6;
    display: block;
    width: 100%;
}

.search-form .search-input-ctn .btn-search{
    width: 40px;
    z-index: 240;
    height: 100%;
    background: transparent url("../images/icons/search.svg") center/auto 18px no-repeat;
    cursor: pointer;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
}

.row{
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.row .left{
    width: 150px;
    flex: 0 0 auto;
}
.row .right{
    width: calc(100% - 150px);
    flex: 0 0 auto;
}

.conditions{
    display: flex;
    flex-wrap: wrap;
}

.condition{
    width: 250px;
    flex: 0 0 auto;
    line-height: 24px;
    padding: 2px 15px;
    background-color: #fafafa;
    margin-right: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    margin-bottom: 2px;
}

.condition:hover{
    border: 1px solid #ee4e5b;
    color: #ee4e5b;
}

.condition::before{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #c1c1c1;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.condition:hover::before,
.condition.selected::before{
    background-color: #fff;
    border: 4px solid #ee4e5b;
    box-sizing: border-box;
}

.condition-text{
    margin-bottom: 4px;
}

.top-box{
    margin-bottom: 34px;
}

.total-amount{
    text-align: right;
    color: #000;
    margin-bottom: 20px;
}
.result-list{
    border-top: 1px solid #d5d5d5;
    padding-top: 20px;
}
.no-result-hint{
    border-top: 1px solid #d5d5d5;
    padding-top: 20px;
    min-height: 200px;
    margin-top: 0;
}

.img-format{
    display: inline-block;
    font-size: 10px;
    border: 1px solid #333;
    line-height: 14px;
    padding: 0 3px;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 3px;
}
a:hover .img-format{
    border-color: #e60012;
}

.result-list .block{
    position: relative;
}

.result-list .block .btn-fav{
    right: 20px;
    top: 16px;
    position: absolute;
}

@media (max-width: 1280px) {
    .row .right{
        width: calc(100% - 152px);
        flex: 0 0 auto;
    }
    .condition{
        width: calc(100% / 3 - 2px);
        margin-right: 2px;
    }
}
