.filter-form {
    background: #635856;
    padding: 10px;
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 0px;

    border-radius: 10px;
    background-color: #ece8e2;
    padding: 20px;
    margin: 10px -10px;
    margin-bottom: 20px;
    
    position: relative;
}

.filter-form form:before {
    content: "Расширенный поиск";
    display: block;
    margin-bottom: 20px;
    font-size: 19px;
    text-transform: uppercase;
    color: #635856;
}

.filter-form:before
{
    content: "";
    position: absolute;
    z-index: -1;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.4);
    top: 5px;
    bottom: 5px;
    left: 0;
    right: 10px;
    border-radius: 100px / 10px;
} 


.filter-group {
    display: inline-block;
    font-size: 15px;
    vertical-align: top;
    color: #584F4D;
    padding-bottom: 10px;
}

.f25 {
    width: 24%;
    margin-right: 1%;
}

.f50 {
    width: 49%;
    margin-right: 1%;
}

.filter-group .title {
    display: block;
    font-weight: normal;
    color: #000;
    
}


.f50 input[type="text"], .f25 input[type="text"] {
    width: 98%;
    padding: 3px 0.5%;
}

.f25 .short-input, .f50 .short-input {
    width: 50px !important;
}

.filter-group.submit {
    padding-top: 19px;
}

.filter-group .up-submit {
    display: inline-block;
}


.filter-group .only-photo {
    display: inline-block;
    padding-top: 2px;
}

.filter-group .only-photo span {
    border-radius: 3px;
    font-size: 11px;
    background: none;
    color: #584F4D;
    border: 1px dotted #584F4D;
    padding: 2px 5px;
    display: inline-block;
    margin-right: 5px;
}

.filter-group select {
    width: 98%;
    padding: 3px 0.5%;
    font-size: 15px;
    -webkit-appearance: menulist-button;
}

.check-option {
    width: 25px;
    height: 25px;
    float: left;
    position: relative;
    margin-right: 4px;
}

.check-option label {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    text-align: center;
    background: #3A3333;
    color: #bbb;
    border: 1px solid #ccc;
    text-align: center;
    font: 15px tahoma;
    line-height: 25px;
    cursor: pointer;
    cursor: hand;
}

.check-option input:checked + label {
    background: #FFAA00;
    color: #fff;
    border: 1px solid #FFCC66;
    font-weight: bold;
}

.submit input[type="submit"] {
    
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    line-height: 17px;
    display: inline-block;
    position: relative;
    top: -10px;
    text-transform: uppercase;
    font-family: arial;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 0;
    vertical-align: top;
    text-align: center;
    cursor: pointer;
}

.sorters {
    margin: 0 -10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #eee;
    font-size: 0;
}

.sorters * {
    font-size: 13px;
}

.sorters select {
    margin-left: 10px;
}

.sorters a {
    padding: 5px 15px;
    border: 1px solid #ece8e2;
    border-right: none;
    
    
    text-decoration: none;
}

.sorters a.first {
    border-radius: 5px 0 0 5px;
    margin-left: 10px;
}

.sorters a.last {
    border-radius: 0 5px 5px 0;
    border: 1px solid #ece8e2;
}
.sorters a.active {
    color: #332d2d !important;
    font-weight: bold;
}

.sorters a.passive {
    color: #ad9a96 !important;
}

@media screen and (max-width: 767px) {

    .f25 {
        width: 99%;
        margin-right: 1%;
    }

    .f50 {
        width: 99%;
        margin-right: 1%;
    }
    
}
