@import "treat_kit.css";

body {
    margin: 0;
}

#nav_container,
.sub_menu_background {
    /* background: white; */
    position: fixed;
    width: 100%;
    /* background-color: rgba(255, 255, 255, 0.93); */
    padding: 18px 20px;
    z-index: 2;
    box-sizing: border-box;
}






#collection_holder {
    font-family: 'GalanoGrotesque-Regular', sans-serif;
    width: 95%;
    margin: 250px auto 0;
    max-width: 2000px;
    position: relative;
}

#insta_link{
    position: absolute;
    top: -3px;
    right: 0;
    width: 30px;
    height: 30px;
}

#collection_title {
    font-size: 45px;
    margin-bottom: 40px;
}

#collection_intro {
    margin-top: 10px;
    margin-bottom: 60px;
    line-height: 1.5em;
    max-width: 90%;
}

div#collection_search_container {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

input#collection_search_field {
    width: calc(100% - 10px);
    height: 35px;
    border: 1px solid;
    outline: none;
    padding-left: 10px;
    font-size: 16px;
}

svg#collection_search_icon {
    width: 26px;
    position: absolute;
    top: 7px;
    right: 10px;
    cursor: pointer;
}

.filter_controler {
    margin-top: 0;
}

.arrow_down {
    margin-left: 20px;
    margin-bottom: 2px;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    transform: rotate(-45deg);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}


.filter_controler.active .arrow_down {

    transform: rotate(134deg) translate(5px, -5px);
}

.intro_title_block {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 20px;
}

.intro_text_block {
    margin: 20px 0;
}

.intro_text_block.explain {
    margin: 20px auto 10px 0;
    font-size: 0.7em;
    /* max-width: calc(100% - 400px); */
}

.section_tags_container, .tags_container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 30px;
    margin-bottom: 35px;
    border-bottom: 1px solid black;
}

.tag,
.p_tag,
.artist_tag,
.section_tag,
.section_tag_dash,
.gallery_tag {
    border: 1px solid black;
    padding: 7px 12px;
    font-size: 16px;
    margin-right: 15px;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.tag_count {
    position: relative;
    right: -7px;
}

.tag.active,
.p_tag.active,
.section_tag.active,
.section_tag_dash.active,
.artist_tag.active,
.gallery_tag.active {
    color: white;
    background: black;
}

/* no hover for touch screens */
@media screen and (min-width: 500px) {

}

@media(hover: hover) and (pointer: fine) {
    .tag:hover,
    .p_tag:hover,
    .artist_tag:hover,
    .section_tag:hover,
    .section_tag_dash:hover,
    .gallery_tag:hover {
        color: white;
        background: black;
    }
}



#collection_items_holder {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
    padding-top: 50px;
    border-top: 1px solid;
    margin-bottom: 60px;
}


#collection_items_count {
    position: absolute;
    top: 38px;
    right: 0;
    transform: translate(0, -100%);
    opacity: 0.5;
}


#to_insta_lable {
    padding: 5px;
    position: absolute;
    top: 45px;
    right: 95px;
    transform: translate(0, -100%);
    height: 30px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
}


#to_insta_btn {
    background-color: white;
    position: absolute;
    top: 38px;
    right: 60px;
    transform: translate(0, -100%);
    /* opacity: 0.5; */
    width: 30px;
    height: 30px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    z-index: 3;
}

#to_insta_btn:after {
    content: '';
    width: 40px;
    height: 40px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 5px;
}

#to_insta_btn.active {
    justify-content: center;
    border: 1px solid;
}



#to_insta_btn span {
    z-index: 1;
    width: 8px;
    height: 8px;
    box-sizing: border-box;
    border: 1px solid black;
}

#to_insta_btn.active span {
    width: 10px;
    height: 10px;
    border-top: 0;
    border-left: 0;
}





#to_insta_btn.active span.no_top {
    border-top: 1px solid black;
}

#to_insta_btn.active span.no_left {
    border-left: 1px solid black;
}




/* insta grid style */
#collection_items_holder.insta_grid {
    justify-content: flex-start;
    padding-top: 80px;
}


.collection_item.insta_grid {
    width: 33.3%;
    margin: 0;
    min-width: 0;
}

.collection_item.insta_grid .collection_item_row_col.row_image {
    border: 0;
}

.collection_item.insta_grid .row_text,
.collection_item.insta_grid .row_btn {
    display: none;
}

.subimages_container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.subimages_element{
    width: 30%;
    text-align: center;
    cursor: pointer;
    position: relative;
}
.art_add_subimage.subimages_element {
    border: 1px solid ;
}

.art_add_subimage.subimages_element:hover {
    border: 1px solid ; 
    background-color: black;
    color: white;
}
.subimages_element img{
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    -webkit-box-shadow: 4px 7px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 4px 7px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 4px 7px 5px 0px rgba(0, 0, 0, 0.2);
}
.subimage_delete {
    position: absolute;
    top: 5px;
    right: 0px;
    z-index: 2;
    background-color: rgba(255,255,255,1);
    line-height: 18px;
    padding: 6px 5px 2px;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 #d0d0d0;
    cursor: pointer;
    opacity: 0.5;
}
.subimage_delete:hover {
    opacity: 1;
}




.artist_info_icon {
    cursor: pointer;

    line-height: 16px;
    font-size: 18px;
    margin-left: 5px;
    text-align: center;

    display: inline-block;

    width: 14px;
    height: 14px;
    margin: 0px 6px 0px;
    border: 1px solid;
    border-top: 0;
    border-bottom: 0;
}

.artist_tag .artist_info_icon:hover {
    /* padding: 2px 0px; */
    /* border-radius: 5px; */
    color: #ffa3a3;
    /* background-color: white; */
}


/* show hide information */

.collection_item {
    position: relative;
}


.indi_info{
    margin: 10px auto 15px;
}


.collection_item.insta_grid .collection_hide_details_btn {
    display: none;
}

.collection_hide_details_btn:hover {
    opacity: 1;
}
.collection_hide_details_btn {
    display: none;
}
.indi_info .collection_hide_details_btn {
    display: inline;
    position: absolute;
    top: 4px;
    right: 12px;
    cursor: pointer;
    font-size: 30px;
    opacity: 0.6;
    z-index: 1;
    text-shadow: 0 0 2px white;
}



.collection_item .collection_show_details_btn.active,
.collection_item.collection_show2_details_btn.active {
    display: none;
}

/* detail before lightbox */

/* @media screen and (min-width:800px) { */
    .collection_show2_details_btn {
        display: none;
    }

    .collection_item.insta_grid .collection_show2_details_btn {
        opacity: 0.8;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        cursor: pointer;
        opacity: 0;
        display: block;
        width: 100%;
        height: 100%;
    }


    .collection_show_details_btn {
        display: none !important;
    }
/* } */

/* lightbox before detail */

/* 
@media screen and (max-width:800px) {

    .collection_show_details_btn {
        opacity: 0.8;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 100000;
        color: black;
        cursor: pointer;
        padding: 2px 10px;
        display: none;
        background-color: rgba(255, 255, 255, 0.5);
    }

    .collection_show_details_btn:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .collection_show2_details_btn {
        display: none !important;
    }
} */


/* end insta grid style */