﻿.WithoutFilter .filters {
    display: none;
}

.WithFilter .filters {
    display: block;
    width: 100%;
}

.filters {
    display: none;
}

.ItemsContainer, .refineFilter, .detail {
    width: 100%;
}

.item {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.grid .item {
    /*height: 420px;*/
}



.list .item {
    margin: 6px;
    padding: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.grid .item .ItemImage {
    max-width: 100%;
    height: 150px;
    text-align: center;
}

    .grid .item .ItemImage img {
        max-height: 150px;
    }

.list .item .ItemImage {
    max-width: 100%;
    /*max-height: 260px;*/
    text-align: center;
}

.ItemImage img {
    max-width: 100%;
    /*max-height: 150px;*/
    margin: 0 auto;
    border:1px solid black;
}

.item .ItemInfo {
    width: 100%;
    /*max-height: 150px;*/
}

/*.ItemHeading {
    height: 88px;
    overflow: hidden;
    text-overflow: clip;
}*/

.ItemText {
    /*max-height: 54px;
    overflow: hidden;
    text-overflow: clip;*/
}

.box {
    padding: 10px;
    margin: 5px;
    background-color: #1e73be;
    color: white;
    min-height: 47px;
}

.filterbox1 {
    padding: 10px;
    margin: 0px 5px;
    background-color: #1e73be;
    color: white;
    min-height: 47px;
}

.filterbox2 {
    padding: 10px;
    margin: 0px 5px;
    background-color: #f1f1ef;
    color: black;
    min-height: 47px;
}

    .filterbox2 ul {
        list-style-type: none;
        padding: 20px;
    }

.box .dropdown-menu {
    top: 87%;
    left: 20px;
    width: 93%;
}

.PagingButton {
    background-color: #e2f3ff;
    border: 1px solid #80c4f4;
    color: #0468b1;
    padding: 5px;
    min-width: 40px;
}

.WithoutFilter .filters {
    display: none;
}

.WithFilter .filters {
    display: block;
    width: 100%;
}

.filters {
    display: none;
}

.ItemsContainer, .refineFilter, .detail {
    width: 100%;
}

.item {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.grid .item {
    /*height: 420px;*/
}

/*.list .ItemBox {
    margin: 10px;
}*/



.item .ItemImage {
    max-width: 100%;
    /*max-height: 150px;*/
    text-align: center;
}

.list .item .ItemImage {
    max-width: 100%;
    /*max-height: 260px;*/
    text-align: center;
}

.ItemImage img {
    max-width: 100%;
    /*max-height: 150px;*/
    margin: 0 auto;
}

.item .ItemInfo {
    width: 100%;
    /*max-height: 150px;*/
}

/*.ItemHeading {
    height: 88px;
    overflow: hidden;
    text-overflow: clip;
}*/

.ItemText {
    /*max-height: 54px;
    overflow: hidden;
    text-overflow: clip; ;*/
}

.box {
    padding: 10px;
    margin: 5px;
    background-color: #1e73be;
    color: white;
    min-height: 47px;
}

.filterbox1 {
    padding: 10px;
    margin: 0px 5px;
    background-color: #1e73be;
    color: white;
    min-height: 47px;
}

.filterbox2 {
    padding: 10px;
    margin: 0px 5px;
    background-color: #f1f1ef;
    color: black;
    min-height: 47px;
}

    .filterbox2 ul {
        list-style-type: none;
        padding: 20px;
    }

.box .dropdown-menu {
    top: 87%;
    left: 20px;
    width: 93%;
}

.PagingButton {
    background-color: #e2f3ff;
    border: 1px solid #80c4f4;
    color: #0468b1;
    padding: 5px;
    min-width: 40px;
}

@media (max-width:768px) {
    /*.list .item {
        height: 420px;
    }*/

    .grid .ItemBox img {
        max-height: 160px;
    }

    .list .ItemBox img {
        /*max-height: 160px;*/
    }

    .grid .item {
        margin: 10px 5px;
        padding: 10px;
    }

    .ItemBox {
        float: left;
        width: 100%;
    }

    .item {
        /*height: 420px;*/
        margin: 15px;
        padding: 15px;
    }

        .item .ItemImage {
            max-width: 100%;
            max-height: 150px;
            text-align: center;
        }

            .item .ItemImage img {
                max-width: 100%;
                max-height: 150px;
                text-align: center;
            }

        .item .ItemInfo {
            width: 100%;
            /*max-height: 150px;*/
        }

    /*.list .item {
        height: 420px;
    }*/

    .grid .ItemBox img {
        max-height: 160px;
    }

    .list .ItemBox img {
        /*max-height: 160px;*/
    }

    .grid .item {
        margin: 10px 5px;
        padding: 10px;
    }

    .ItemBox {
        float: left;
        width: 100%;
    }

    .item {
        /*height: 420px;*/
        margin: 15px;
        padding: 15px;
    }

        .item .ItemImage {
            max-width: 100%;
            /*max-height: 150px;*/
            text-align: center;
        }

    .ItemImage img {
        max-width: 100%;
        /*max-height: 150px;*/
        margin: 0 auto;
    }

    .item .ItemInfo {
        width: 100%;
        /*max-height: 150px;*/
    }
}

@media (min-width:768px) {
    .ItemBox {
        float: left;
        width: 50%;
    }

    .grid .item {
        /*height: 420px;*/
        margin: 15px;
        padding: 15px;
    }

        .grid .item .ItemImage {
            max-width: 100%;
            max-height: 150px;
            text-align: center;
        }

    .ItemImage img {
        max-width: 100%;
        /*max-height: 150px;*/
        margin: 0 auto;
    }

    .grid .item .ItemInfo {
        width: 100%;
        /*max-height: 150px;*/
    }

    .list item {
        width: 100%;
        margin: 15px;
        padding: 15px;
        /*height: 250px;*/
    }

    .list .item .ItemImage {
        float: left;
        width: 40%;
    }

    .list .item .ItemInfo {
        float: left;
        max-width: 60%;
        /*height: 150px;*/
    }

    .grid .ItemBox {
        float: left;
        width: 50%;
    }

    .list .ItemBox {
        float: left;
        width: 99%;
    }

    .grid .item {
        /*height: 430px;*/
        margin: 15px;
        padding: 15px;
    }

        .grid .item .ItemImage {
            max-width: 100%;
            max-height: 150px;
            text-align: center;
        }

    .ItemImage img {
        max-width: 100%;
        /*max-height: 150px;*/
        margin: 0 auto;
    }

    .grid .item .ItemInfo {
        width: 100%;
        /*max-height: 150px;*/
    }

    .list item {
        width: 100%;
        margin: 15px;
        padding: 15px;
        /*height: 250px;*/
    }

    .list .item .ItemImage {
        float: left;
        width: 40%;
    }

    .list .item .ItemInfo {
        float: left;
        max-width: 60%;
        /*height: 150px;*/
    }
}

@media (min-width:992px) {
    .refineFilter, .detail {
        float: right;
    }

    .refineFilter {
        width: 20%;
    }

    .detail {
        width: 80%;
    }

    .filters, .ItemsContainer {
        float: left;
    }

    .WithoutFilter .filters {
        display: none;
    }

    .WithoutFilter .ItemsContainer {
        width: 100%;
    }

    .WithFilter .filters {
        display: block;
        width: 20%;
    }

    .WithFilter .ItemsContainer {
        width: 80%;
    }

    .ItemBox {
        float: left;
    }

    .grid .ItemBox {
        width: 25%;
    }

    .grid .item {
        /*height: 420px;*/
        margin: 15px;
        padding: 15px;
    }

        .grid .item .ItemImage {
            max-width: 100%;
            max-height: 150px;
            text-align: center;
        }

    .ItemImage img {
        max-width: 100%;
        /*max-height: 150px;*/
        margin: 0 auto;
    }

    .grid .item .ItemInfo {
        width: 100%;
        /*max-height: 150px;*/
    }

    .list .ItemBox {
        width: 100%;
    }

    .list item {
        /*height: 250px;*/
        margin: 15px;
        padding: 15px;
    }

    .list .item .ItemImage {
        float: left;
        width: 40%;
    }


    .list .item .ItemInfo {
        float: left;
        max-width: 60%;
        /*height: 150px;*/
    }

    .refineFilter, .detail {
        float: right;
    }

    .refineFilter {
        width: 20%;
    }

    .detail {
        width: 80%;
    }

    .filters, .ItemsContainer {
        float: left;
    }

    .WithoutFilter .filters {
        display: none;
    }

    .WithoutFilter .ItemsContainer {
        width: 100%;
    }

    .WithFilter .filters {
        display: block;
        width: 20%;
        margin-top: 10px;
    }

    .WithFilter .ItemsContainer {
        width: 80%;
    }

    .ItemBox {
        float: left;
    }

    .grid .ItemBox {
        width: 33.33%;
    }

    .grid .item {
        /*min-height: 430px;*/
        margin: 15px;
        padding: 15px;
    }

    .list .ItemImage img {
        max-width: 100%;
        max-height: 250px;
        margin: 0 auto;
    }

    .grid .item .ItemImage {
        max-width: 100%;
        max-height: 150px;
        text-align: center;
    }



    .grid .item .ItemInfo {
        width: 100%;
        /*max-height: 150px;*/
    }

    .list .ItemBox {
        width: 99%;
    }

    .list item {
        height: 250px;
        margin: 15px;
        padding: 15px;
    }

    .list .item .ItemImage {
        float: left;
        width: 40%;
    }


    .list .item .ItemInfo {
        float: left;
        max-width: 60%;
        /*height: 150px;*/
    }
}

.Atachment-Icon{
    padding:10px;
}