﻿
.main h1 {
    padding: 20px;
    font-size: 20px;
}

#divLoading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    background-color: #000;
    opacity: .6;
}

.imageLoading {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -15px; /* -1 * image width / 2 */
    margin-top: -15px; /* -1 * image height / 2 */
    display: block;
}

#cTiles {
    float: left;
    width: 100%;
}

.categoryPanel {
    width: 227px;
    background-color: #f1f0ee;
    font-size: 13px;
    color: #918e89;
    margin: 0 0 10px 10px;
    float: left;
    position: relative;
    overflow: hidden;
}

.categoryImage {
    background-color: #FFFFFF;
    clear: both;
    height: 227px;
    width: 227px;
    background-size: 227px 227px;
    cursor: pointer;
}

.categoryTitle {
    background: #ED5B44;
    color: #fff;
    display: table-cell;
    float: left;
    font-size: 15px;
    margin: 0;
    padding: 5px 10px;
    text-align: left;
    text-decoration: none;
    width: 208px;
    vertical-align: middle;
    cursor: pointer;
}

.divProductCategory {
    clear: both;
    border-bottom: 1px solid #d0cdc7;
    padding: 4px 5px 0;
    height: 19px;
    margin: 0 5px;
    cursor: default;
}

    .divProductCategory a {
        color: #918e89;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

        .divProductCategory a:hover {
            color: #211e19;
        }

@media (max-width:490px) {

    #catTiles:after {
        content: '';
        display: table;
        clear: both;
    }

    .categoryPanel {
        min-width: 227px;
        width: 100%;
        margin: 0 10px 10px 10px;
    }

    .categoryImage {
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .categoryTitle {
        display: block;
        width: auto;
        float: none;
        background-position-x: right;
    }
}

.categoryTitle {
    background: #fff;
    color: #333333;
    font-family: 'Catamaran', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 33px;
    background-color: #eeeeee;
    width: 93%;
    padding: 10px 0;
    border-bottom: 1px solid #d9d9d9;
    margin: 0 10px;
    display: inline-block;
}

    .categoryTitle span {
        width: 150px;
        display: block;
        white-space: nowrap;
        float: left;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.categoryPanel {
    float: none !important;
    width: 300px !important;
    height: initial !important;
    overflow: initial;
    padding-bottom: 22px;
    margin: 0 0 20px 20px !important;
}

    .categoryPanel .categoryImage {
        width: 300px !important;
        height: 157px !important;
        background-size: 100% 100%;
    }

.divProductCategory {
    border-bottom: 0;
    margin: 5px 5px !important;
}

.categoryPanel .dep_button {
    display: inline-block;
    color: #ffffff;
    width: 100px;
    font-family: 'Catamaran', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #ed5b44;
    background-color: #ed5b44;
    background-image: linear-gradient(to top, rgba(235, 92, 74, 0) 0%, rgba(235, 92, 74, 0.5) 100%);
    float: right;
}

.divProductCategory a {
    color: #333333;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
}

    .divProductCategory a:after {
        content: " ▶";
        font-size: 7px;
        position: relative;
        top: -2px;
    }


.masonry {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}

.masonry .item {
    display: inline-block;
    width: 100%;
    box-sizing: border-box; /* Изменения алгоритма расчета ширины и высоты элемента.*/
    -moz-box-sizing: border-box; /* Для Firefox */
    -webkit-box-sizing: border-box; /* Для Safari, Chrome, iOS иAndroid */
}

@media(max-width: 780px){
    .masonry .item{
        text-align: left;
    }
}

.masonry img, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        text-align: center;
    }

    .categoryPanel {
        margin: 0 0 20px 0px !important;
    }
}

.categoryTitle span {
    font-weight: 600;
}

.divProductCategory a {
    text-align: left;
}

.common-section-styles{
    border-top: 0;
}