.transparent-page {
    background: rgb(31 33 38 / 90%);
}

.header-container {
    position: fixed;
    top: 0;
    width: 100%;
}

/*.ourWork {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 10;
}

.ourWork-img {
    background: url('../images/house9.jpg');
    height: 400px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center;  
}

.ourWork-transparent-page {
    height: 400px;
}

.ourWork-transparent-page-text {
    color: white;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .ourWork-transparent-page-text h1 {
        font-size: var(--page-title-font-size);
        margin: var(--page-title-margin);
    }

    .ourWork-transparent-page-text h4 {
        color: #b7b7b7;
    }

.content {
    position: absolute;
    top: 500px;
    left: 0;
    right: 0;
    z-index: 10;
    background: white;   
}*/


#ourWork-container {
    margin: 75px 0;
}

.div-shape.filter {
    padding: 15px 30px;
}

.filter-title {
    display: none;
    text-align: center;   
}

    .filter-title a {
        position: relative;
        /*margin-right: 40px;*/
        width: 70%;
    }

    .filter-title a .icon {
        border: 1px solid #e1e1e1;
        border-radius: 0 5px 5px 0;
        border-left: none;
        padding: 5px;
        display: inline;
        position: absolute;
        top: 5px;
        right: 0px;
        margin: 0;
    }

    .filter-title i#filter-icon {
        margin: 5px 0;
        position: absolute;
        z-index: 2;
        top: 6px;
        left: 23px;
        margin: 5px;
    }

    .filter-title #filter-based {
        border: 1px solid #e1e1e1;
        outline: none;
        text-align: center;
        font-size: 14px;
        padding: 5px 0;
        color: #5b5757;
        cursor: pointer;
        border-radius: 5px 0 0 5px;
        border-right: none;
        width: 100%;
    }

    .filter-title #filter-icon {
        font-size:2rem;
    }


#search {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    #search .search-box {
        display: flex;
        flex-direction: row-reverse;
    }

    #search .search-box input {
        background-color: #ededed;
        border-radius: 5px 0 0 5px;
        border: none;
        height: 35px;
        width: 200px;
        padding: 0 10px;
        transition: width .35s ease-in-out;
    }
        #search .search-box input:focus {
            width: 250px;
            outline: none;
            box-shadow: 0 0 5pt 2pt #ededed;
            background-color: white;
        }

    #search .search-box .search-icon,
    #search .search-box .remove-icon {
        background-color: #ededed;
        border-radius: 0 5px 5px 0;
        border: none;
        border-left: 1px solid #d9d9d9;
        height: 35px;
        width: 35px;
        cursor:pointer;
        transition: width .35s ease-in-out;
    }

    #search .search-box .remove-icon {
        border: none;
        border-radius: 5px;
        background: var(--main-color-hover);
        margin-left: 10px;
    }
        #search .search-box .search-icon i,
        #search .search-box .remove-icon i {
            color: #757575;
            font-size: 2rem;
            margin: 7px;
        }

        #search .search-box .remove-icon i {
            margin: 8px 10px;
            color: white;
        }

.sticky {
    position: fixed;
    right: 0;
    left: 0;
    top: 100px;
    z-index: 999;
    background: white;
}

.background {
    background: #ededed;
}

.collapse1 {
    display: block;
    height: max-content;
}

.displayOrNot {
    display: none;
    font-size: 2rem;
    padding: 5px;
}

#filters .first .button {
    padding: 0;
    border: none;
    margin-right: 15px;
    padding-right: 15px;
    padding-bottom: 3px;
    border-right: 2px solid #aec9ae;
    background: transparent;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 14px;
    transition: color 1s ease;
    cursor: pointer;
    color: gray;
}

#filters .secound .button {
    color: grey;
    background: transparent;
    margin: 5px;
    padding: 3px 9px;
    border: 1px solid #ccc5c5;
    border-radius: 3px;
    transition: .6s ease;
}
#filters .secound .button:first-child {
    margin: 0px;
}
    #filters .first .button.is-checked {
        font-weight: bold !important;
        color: black !important;
        cursor: default !important;
    }

#filters .secound .button.is-checked {
    color: white !important;
    cursor: default !important;
    background: black !important;
}

#filters .first .button-group,
#filters .secound .button-group {
    text-align: center;
    padding: 15px 0;
}

    #filters.first .button-group:after {
        content: '';
        display: block;
        clear: both;
    }

    /*#filters .first .button-group .button {
        font-weight: 400;
        letter-spacing: 1px;
        font-size: 14px;
        transition: color 1s ease;
        cursor: pointer;
        color: gray;
    }*/

    #filters .first .button-group .button:last-child {
        border: none;
        padding: 0;
        margin: 0px !important;
    }

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid .element-item {
    position: relative;
    float: left;
    width: calc(33.333% - 10px);
    padding: 15px;
}

    .grid.element-item > * {
        margin: 0;
        padding: 0;
    }

.myCard .card-img {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center;
    height: 270px;
}

.myCard .card-transparent-page {
    height: 0;
    transition: var(--transition-time);
    left: 15px;
    right: 15px;
    top: 15px;
    background: rgb(135 157 31 / 90%) !important;
    text-align: center;
}

.myCard:hover .card-transparent-page {
    height: 270px;
}

.myCard:hover .card-detailes, .myCard:focus .card-detailes {
    opacity: 1;
    top: calc(50% - 50px);
}

@media screen and (max-width: 992px) {
    .grid .element-item {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    
    .grid .element-item {
        width: calc(100% - 30px);
    }
    #filters.button-group .button {
        width: 100%;
        margin-bottom: 5px;
    }
    #filter-container #items {
        display: block;
    }
    .collapse {
        display: none;
    }
    .displayOrNot {
        display: inline-block;
    }
    #filters .first .button {
        border-right: none;
        text-align: center;
        margin: 0;
        padding-right: 0;
        width: 100%;
    }
    #filters .secound .button {
        margin: 2px;
    }
    .filter-title {
        display: block;
        position:relative
    }
}

@media screen and (max-width: 600px) {

    .ourWork-img {
        height: 300px;
    }

    .ourWork-transparent-page {
        height: 300px;
    }

    .content {
        top: 400px;
    }

    #ourWork-container {
        margin: 50px 0 75px;
    }

    .filter-part .filter-title {
        font-size: 18px;
    }

    .filter-part .remove-filter img {
        height: 20px;
    }
}