﻿
@media (max-width: 575.99px) {
  

    main {
        margin-top: 40px;
    }

    .main-margin-top {
        margin-top: 45px;
        margin-bottom: 10px;
    }

    .galllery-section .button-group {
        bottom: 50px;
    }

    .galllery-section .row > div:first-child {
        padding: 15px;
    }

    .Survery-section .bavk-image-div {
        display: none;
    }

    .Survery-section .Survey-item {
        position: relative;
        bottom: initial;
        width: 100%;
        padding: 15px;
        border-radius: 0;
        right: 0;
    }

    .Survery-section .row {
        margin: 0;
    }

    footer h5:first-child {
        margin-top: 0;
    }

    footer h5 {
        margin-top: 30px;
    }

    .active-services .service-item .icon {
        top: 15px;
    }
    .SearchForm {
        margin-bottom: 5px;
        padding: 10px 0;
    }
    .SearchForm .row > div {
        padding-left: 0;
        margin-bottom: 10px;
    }

        .SearchForm .row:last-child > div:last-child {
            margin-bottom: 0;
        }
    .document-items .doc-item figure{
        padding:10px;
    }
        .document-items .doc-item figure figcaption{
            padding-left:0;
        }
            .document-items .doc-item figure figcaption .title {
                margin-bottom: 5px;
                white-space: initial;
                overflow: initial;
                text-overflow: initial;
            }
            .document-items .doc-item figure figcaption .summery{
                margin-bottom:10px;
            }

    .document-items .col-md-6:nth-child(2n+1) .doc-item {
        padding-left: 0;
    }

    .document-items .col-md-6:nth-child(2n+2) .doc-item {
        padding-right: 0;
    }

    .FillterAndSortMobileDiv {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        border-top: 2px solid #eee;
        display: flex;
        align-items: stretch;
        background-color: #fff;
        z-index: 2000;
    }

        .FillterAndSortMobileDiv div {
            width: 50%;
            padding: 15px 10px;
            display: inline;
            float: right;
            cursor: pointer;
            text-align: center;
        }

        .FillterAndSortMobileDiv .FillterDiv {
            border-left: 1px solid #eee;
        }


    .SortDiv {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 2000%;
        background-color: #fff;
        z-index: 2005;
        overflow: auto;
    }

        .SortDiv .headerfilter {
            background-color: #c92228;
            position: relative;
            height: 50px;
            display: flex;
            align-items: center;
        }

            .SortDiv .headerfilter span {
                color: #fff;
                padding-right: 15px;
            }

            .SortDiv .headerfilter a {
                color: #fff;
            }

                .SortDiv .headerfilter a:hover {
                    color: #fbfbfb;
                }

        .SortDiv .ClosesortDivBtn {
            display: inline-block;
            position: absolute;
            left: 15px;
            top: 15px;
        }

        .SortDiv .SortItemList > div {
            padding: 15px 15px;
        }

            .SortDiv .SortItemList > div label {
                display: flex;
                align-items: center;
                cursor: pointer;
            }

    .FilterListdiv {
        position: fixed;
        top: 0px;
        right: 0px;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 2002;
        overflow-y: auto;
        padding-bottom: 50px;
    }

        .FilterListdiv .SearchResultProduct {
            position: fixed;
            bottom: 0px;
            right: 0px;
            width: 100%;
            z-index: 2003;
            text-align: center;
            padding: 15px;
            background-color: #337ab7;
            color: #fff;
        }

            .FilterListdiv .SearchResultProduct:hover {
                background-color: #3d8cd0;
                color: #fefefe;
            }

        .FilterListdiv > section {
            padding: 10px 15px;
            position: relative;
            border-top: 1px solid #eee;
        }

            .FilterListdiv > section:last-child {
                border-bottom: 1px solid #eee;
            }

        .FilterListdiv .headerfilter {
            background-color: #c92228;
            position: relative;
            height: 50px;
        }

            .FilterListdiv .headerfilter a {
                color: #fff;
                display: flex;
                align-items: center;
            }

                .FilterListdiv .headerfilter a img {
                    padding-left: 5px;
                    width: 15px;
                }

                .FilterListdiv .headerfilter a:hover {
                    color: #fbfbfb;
                }

        .FilterListdiv .Title {
            font-weight: bold;
        }

        .FilterListdiv .PriceRangeDiv {
            padding: 20px 20px 0px 20px;
        }

        .FilterListdiv .CategoryDiv {
            margin-top: 5px;
            position: relative;
            cursor: pointer;
        }

            .FilterListdiv .CategoryDiv:hover {
                color: #3a71be;
            }

            .FilterListdiv .CategoryDiv .CategoryName {
                color: #c92228 !important;
                font-size: 0.8em;
            }

            .FilterListdiv .CategoryDiv .fa-angle-left {
                position: absolute;
                left: 10px;
                top: 8px;
                font-weight: bold;
                font-size: 1.1em;
            }

        .FilterListdiv .FiltersLeftDiv, .FilterListdiv .FiltersCategoryDiv {
            position: relative;
            cursor: pointer;
        }

            .FilterListdiv .FiltersLeftDiv:hover, .FilterListdiv .FiltersCategoryDiv:hover {
                color: #3a71be;
            }

            .FilterListdiv .FiltersLeftDiv .fa-angle-left, .FilterListdiv .FiltersCategoryDiv .fa-angle-left {
                position: absolute;
                left: 10px;
                top: 8px;
                font-weight: bold;
                font-size: 1.1em;
            }

            .FilterListdiv .FiltersLeftDiv > .check-box-list li {
                padding-top: 5px;
                padding-bottom: 5px;
            }

                .FilterListdiv .FiltersLeftDiv > .check-box-list li label {
                    display: flex;
                    align-items: center;
                }

        .FilterListdiv .CloseFilterBtn {
            display: inline-block;
            position: absolute;
            left: 15px;
            top: 15px;
        }

        .FilterListdiv .SelectedItem {
            font-size: 0.8em;
            color: #4676db;
        }

    .notscroll {
        overflow: hidden;
    }

}
