﻿.bd-sidebar {
    border-right: 1px solid #ddd;
}

.srp-grid > div {
    -webkit-box-flex: 1;
    -webkit-flex: 1 auto;
    -ms-flex: 1 auto;
    flex: 1 auto
}

.srp-grid > li {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none
}

.srp-grid ul > li {
    border-bottom: 1px solid #ddd;
    padding: 8px 0
}

.srp-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%
}

.srp-grid > li {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none
}

.srp-grid .s-item {
    position: relative;
    padding: 8px 4px 4px 4px
}

.s-item {
    font-weight: 400;
    background: #fff;
    float: left;
    list-style: none;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    -webkit-transition-property: margin,padding,border;
    transition-property: margin,padding,border;
    border-bottom: 1px solid #ddd;
}

.srp-grid .s-item__info {
    margin: 6px 4px 3px;
    width: auto;
}


@media only screen and (min-width:768px) {
    .srp-results.srp-grid {
        padding: 0
    }

    ul.srp-results.srp-grid {
        margin-left: 1px
    }
}

.b-list__items_nofooter.srp-results.srp-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    .b-list__items_nofooter.srp-results.srp-grid > li {
        -webkit-box-flex: 0;
        -webkit-flex: none;
        -ms-flex: none;
        flex: none
    }

        .b-list__items_nofooter.srp-results.srp-grid > li .s-item__detail {
            white-space: normal
        }

@media only screen and (max-width: 768px) {
    .srp-grid .s-item {
        width: 50%;
    }
}

@media only screen and (min-width:768px) {
    .srp-grid .s-item {
        width: 50%;
        padding: 8px 8px 2px;
        border-right: 1px solid #ddd;
    }
}

@media only screen and (min-width:960px) {
    .srp-grid .s-item {
        width: 33.333%
    }
}

@media only screen and (min-width:1420px) {
    .srp-grid .s-item {
        width: 20%
    }
}

@media only screen and (min-width:768px) {
    .srp-grid .s-item:nth-of-type(3n+3) {
        border-right: 1px solid #ddd
    }

    .srp-grid .s-item:nth-of-type(2n+2) {
        border-right: 0
    }
}

@media only screen and (min-width:960px) {
    .srp-grid .s-item:nth-of-type(2n+2) {
        border-right: 1px solid #ddd
    }

    .srp-grid .s-item:nth-of-type(3n+3) {
        border-right: 0
    }
}

@media only screen and (min-width:1420px) {
    .srp-grid .s-item:nth-of-type(2n+2), .srp-grid .s-item:nth-of-type(3n+3) {
        border-right: 1px solid #ddd
    }

    .srp-grid .s-item:nth-of-type(5n+5) {
        border-right: 0
    }
}

.s-item__title {
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 5px 0;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srp-grid .s-item__title {
    height: 35px;
    width: 100%;
    -webkit-line-clamp: 2;
    display: -webkit-inline-box;
    vertical-align: middle
}

@media only screen and (max-width:600px) {
    .s-item__title .LIGHT_HIGHLIGHT {
        font-size: 10px
    }

    .s-item__title-tag {
        font-size: 11px
    }

    .srp-list .s-item__title {
        font-size: 16px;
        max-width: 800px
    }

    .srp-grid .s-item__title {
        font-size: 15px;
        height: 37px
    }
}

@media only screen and (min-width:600px) {
    .s-item__title .LIGHT_HIGHLIGHT {
        font-size: 10px
    }

    .s-item__title-tag {
        font-size: 11px
    }

    .srp-list .s-item__title {
        font-size: 16px;
        max-width: 800px
    }

    .srp-grid .s-item__title {
        font-size: 15px;
        height: 37px
    }
}

.s-item__image {
    position: relative;
}

    .s-item__image:before {
        content: "";
        display: block;
        padding-top: 100%;
    }

.s-item__image-helper {
    position: absolute;
    width: 100%;
    z-index: 10;
    left: 0;
    right: 0;
    top: 90%;
}

    .s-item__image-helper > span {
        background-color: rgba(0, 0, 0, 0.6);
        color: #FFF;
        padding: 0px 12px;
        border-radius: 5px;
        font-weight: bold;
        font-size: 1.2em;
    }

.s-item__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.s-item__image-helper {
    display: inline-block;
    vertical-align: middle;
}

.s-item__image-img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 100%;
    vertical-align: middle;
    display: inline-block;
}

.clearfix::before, .clearfix::after {
    display: table;
    content: " ";
    line-height: 0;
}

.title-arch {
    text-align: center;
    margin: 10px 0;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

a.inGreenAndRed {
    color: #090909;
    text-transform: none;
    text-decoration: none;
}
    a.inGreenAndRed:hover {
        color: #7e2914;
    }

.glup {
    text-align: center;
    font-size: 16px;
    background-color: rgb(248, 249, 250);
    padding: 1em;
    margin: 0.5em;
    border: solid 1px #482a21;
    border-radius: 10px;
}

.glup-in-one {
    text-align: center;
    font-size: 20px;
    background-color: #fff;
    padding: 1em;
    margin: 0.5em;
    border: solid 1px #ced4da;
}

    .glup-in-one.active {
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.21);
    }

.bluk {
    position: relative;
    max-height:300px;
}

    .bluk:before {
        content: "";
        display: block;
        padding-top: 100%;
    }

.bluk-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    overflow: hidden;
    max-height: 300px;
}

.bluk-img {
    width: auto;
    height: auto;
    max-width: 90%;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.5s ease;
}

.bluk-wrapper:hover .bluk-img {
    transform: scale(1.03);
    filter: sepia(80%);
}

.bluk-helper {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    width: 100%;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 15px;
}

    .bluk-helper span {
        background-color: rgba(73, 80, 87, 0.78);
        padding: 0 5px;
        border-radius: 5px;
        color: #fff;
    }

@media only screen and (max-width:768px) {
    .bluk:before {
        padding-top: 300px;
    }
}
