.collection_container {
    margin-top: 85px;
    padding: 85px 20px 85px 20px;
}

form#collection__form {
    padding: 0 10px;
    position: relative;
}

select#category_id {

    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #000;
    border-radius: 0px;

    cursor: pointer;
    padding: 5px 10px;
    width: 75%;

}

select#category_id {
    color: #000 !important;
    background-color: #fff !important;
}

select#category_id option {
    color: #000 !important;
    background-color: #fff !important;
}

.select_arrow_cont {
    position: relative;
    display: inline;
}

.select_arrow_cont:after {
    position: absolute;
    content: '';
    border: 2px solid #000;
    border-left: none;
    border-top: none;
    right: 12px;
    top: 24%;
    height: 7px;
    width: 7px;
    transform: rotate(45deg);
}

.view_photo_container {
    padding: 50px 0;
}

.flex_contaienr {
    display: flex;
    align-items: flex-start;
}

.photo_card_box {
    padding-top: 30px;
}

.photo_card_box .photo_card_item {
    width: 30%;
}
.photo_card_border {
    width: auto;
    min-height: 295px;
    padding: 10px;
    border: 1px solid #000;
}

.photo_card_box .photo_card_item:nth-child(2) {
    margin: 0 auto;
}

.photo_card_item .image_card {
    text-align: center;
    height: 150px;
}

.photo_card_item .image_card img {
    width: 100%;
    height: auto;
    cursor: pointer;
    max-height: 100%;
    object-fit: cover;
    object-position: center center;
}

.photo_card_item .p_over_cut {
    overflow: hidden;
}

.photo_card_item p {
    padding-top: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.collection_mordal_area {
    /* opacity: 1; */
    /* visibility: hidden; */
    /* transition: .3s; */
    display: none;
}
/* .collection_mordal_area.active {
    transform: translateX(0%);
    opacity: 1;
    visibility: inherit;
    z-index: 3;
    display: block;
} */

button#collection__btn {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #000;

    cursor: pointer;
    background-color: #000;
    color: #fff;
    padding: 3px 10px;
    margin-left: 10px;
}

.collection_mordal_area {
    height: auto;
    background-color: #00000091;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 40px 0;
}

.mordal_back_dark {
    width: 80%;
    height: 60%;
    max-width: 800px;
    margin: 0 auto;
}

.mordal_back_dark p {
    text-align: right;  
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.pop_close_btn {
    -webkit-tap-highlight-color:rgba(0,0,0,0);   
}

.mordal_white_back {
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.mordal_white_back div {
    position: relative;
}


.mordal_white_back div img {
    max-width: 90%;
    height: auto;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 767px) {


    .flex_contaienr {
        display: inherit;
    }

    .photo_card_box {
        padding-top: 30px;
    }

    .select_arrow_cont:after {
        top: 45%;
        height: 7px;
        width: 7px;
    }

    .photo_card_box .photo_card_item {
        width: auto;
        padding: 10px;
    }
    .photo_card_box .photo_card_item:nth-child(2) {
        margin: 0 auto;
    }

    .photo_card_item .image_card img {
        width: 100%;
    }


    .collection_container {
        margin-top: 85px;
        padding: 65px 15px;
    }

    .collection_mordal_area {
        top: 75px
    }

    .mordal_back_dark {
        width: 85%;
        height: 60%;
        max-width: 800px;
        margin: 0 auto;
    }

    .photo_card_item p {
        padding-top: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

}

@media (max-width: 560px) {
    .select_arrow_cont:after {
        top: 24%;
        height: 5px;
        width: 5px;
    }
}