﻿
.common-counter-text-custom {
    line-height: 30px;
    font-weight: bold;
    font-size: 14px;
    color: black;
}
.common-counter-symbol-custom > svg {
    stroke: var(--primary-color);
}
.common-counter-symbol-custom {
    font-size: 14px;
    color: var(--primary-color);
}
.loader-container {
    display: flex;
    place-content: center;
}
.common-counter-custom {
    align-items: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    column-gap: 5px;
    display: flex;
}


.like-counter {
    padding-left: 10px !important;
}

.card-bottom {
    margin-top: auto;
    padding-left: 20px;
    display: flex;
    flex-direction: row;
    column-gap: 5px;
    width: 100%;
}

.titles-container {
    padding-bottom: 40px;
}

.titles-container > h1 {
    text-align: center;
    font-weight: normal;
    font-size: 20px !important;
}

.titles-container > h2 {
    text-align: center;
    font-weight: normal;
    font-size: 16px !important;
}

.the-tabs > li > div::first-letter {
    text-transform: capitalize;
}

.card-title-container::first-letter {
    text-transform: capitalize;
}

.card-description-container::first-letter {
    text-transform: capitalize;
}


.card-title-container {
    font-weight: bold;
    font-size: 18px !important;
    color: var(--primary-hover);
    margin: 0;
    text-align: left;
}


.card-title {
    text-wrap-mode: wrap;
    text-transform: capitalize;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-description-container {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    overflow-wrap: break-word;
    font-weight: normal;
    font-size: 14px !important;
    color: var(--primary-hover);
    text-align: left;
}

.card-description {
    text-wrap-mode: wrap;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.a-section {
    padding: 2% 3% 2% 3%;
    border-radius: 20px;
}

.template-box {
    height: 100%;
    position: relative;
}

.section-content {
    background-image: linear-gradient(white,#f2f2f2);
    padding: 40px 40px 40px 40px !important;
    border-radius: 10px !important;
    border: solid !important;
    border-width: thin !important;
    border-color: lightgrey !important;
    justify-content: center !important;
    box-shadow: 1px 5px 5px lightgray !important;
}

.template-container {
    padding: 0px !important;
    row-gap: 40px !important;
    width: 100% !important;
    column-gap: 10px !important;
    align-items: center !important;
}

.template-card-template > a {
    width: 100%;
    text-decoration: none;
}

.the-tabs > li > div {
    display: block;
    caret-color: transparent;
    line-height: 40px;
    font-weight: bold;
    font-size: 16px;
    color: black;
}

.the-tabs > li {
    width: -moz-fit-content;
    width: fit-content;
    min-width: 150px;
    height: 40px;
    text-align: center;
    border-bottom: 0 !important;
}

.liActive {
    border: 1px solid lightgray !important;
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    border-bottom: 0;
}

.liActive > div {
    font-size: 16px !important;
    color: var(--primary-hover) !important;
}

.the-tabs > li > div {
    text-decoration: none;
    font-weight: normal;
}

.the-tabs > li > div:focus {
    font-size: 16px;
}


.first-container-template {
    display: flex;
    flex-direction: row;
}

.card-body {
    height: 80%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.thumbnail-template {
    object-fit: cover;
    min-height: 150px;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0px 0px;
    border: solid 1px transparent !important;
}
.template-card-template:hover {
    border-color: var(--primary-color);
    border-style: solid;
    border-width: 1px;
}
.template-card-template {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05) !important;
    gap: 10px;
    transition: all 0.1s linear;
    border-radius: 10px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    color: white !important;
    background: var(--primary-color-reflection);
}

.image-container-template {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-container-template {
    height: 20%;
}

.thumbnail-template-not-available {
    width: 250px !important;
    height: 150px !important;
    border-radius: 10px 10px 0px 0px !important;
    border: solid 1px transparent !important;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail-template-not-available > span {
    color: black;
    opacity: 0.4;
    font-size: 40px;
        
}

.section-container-template {
    border-radius: 0 !important;
}

.image_icon_product_list {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 60px;
    height: 60px;
}

.card-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    padding-top: 10px;
    padding-bottom: 10px;
    column-gap: 30px;
    row-gap: 40px;
    justify-content: center;
}

.card-container-small {
    display: grid;
    grid-auto-flow: row;
    padding-top: 10px;
    padding-bottom: 10px;
    column-gap: 30px;
    row-gap: 40px;
    justify-content: center;
}

.the-tabs {
    list-style-type: none;
    display: flex;
    border-bottom: 1px solid lightgray;
}

.select-category {
    text-transform: capitalize;
    outline: none;
    padding-right: 5px !important;
    padding-left: 5px !important;
    width: 100%;
    font-size: 16px;
    padding: 0;
    height: 95%;
    width: 100%;
    border: none;
    border-radius: 10px;
}

.control-container {
    display: flex;
    column-gap: 20px;
}

.filter-container > .control-container > span {
    font-size: 16px;
    color: black;
}

.filter-column {
    column-gap: 20px;
    display: inline-flex;
    align-items: center;
}

.sub-tab-separator {
    align-self: center;
    height: 50%;
    border-right: 2px solid rgb(240,240,240);
}

.search-button:hover {
    animation-name: common-button-filling-reverse;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

input[type="text"]:focus {
    border: none;
}

.control-border {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px var(--primary-color) solid;
    color: var(--primary-color);
    width: 100%;
    height: 40px;
}

.search-button {
    border-radius: 10px;
    display: flex;
    color: var(--primary-color);
    border: solid;
    border-width: 1px;
    cursor: pointer;
    background-color: var(--primary-color-reflection);
    height: 40px;
    width: 40px;
    text-align: center;
    
}

    .search-button > div {
        filter: grayscale(100);
        caret-color: transparent;
        width: 40px;
        height: 40px;
        display: block;
        color: var(--primary-hover);
        line-height: 40px;
        text-decoration: unset;
    }

.thumbnail-template {
    object-fit: cover !important;
    min-height: 150px !important;
    max-height: 150px !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px 10px 0px 0px !important;
    border: solid 1px transparent !important;
}

@media (max-width: 950px) {
    .card-container {
        display: grid !important;
        grid-template-columns: unset !important;
        grid-auto-flow: row !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        column-gap: 30px !important;
        row-gap: 40px !important;
        justify-content: center !important;
    }
    .filter-column {
        display: flex !important;
        flex-direction: column !important;
        row-gap: 20px !important;
    }

    .control-container {
        display: flex !important;
        flex-direction: column !important;
        row-gap: 20px !important;
        column-gap: 20px !important;
    }

    #templateListSection {
        flex-direction: column !important;
        column-gap: 10px !important;
    }

    .the-tabs {
        list-style-type: none;
        padding-left: 0px !important;
        align-items: center !important;
    }
}

@media (min-width: 950px) {
    .card-container {
        display: grid !important;
        grid-template-columns: auto auto auto auto !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        column-gap: 30px !important;
        row-gap: 40px !important;
        justify-content: center !important;
    }

    .filter-column {
        column-gap: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .control-container {
        display: flex !important;
        column-gap: 20px !important;
    }

    #templateListSection {
        flex-direction: row !important;
        column-gap: 10px !important;
    }

    .the-tabs {
        list-style-type: none;
        align-items: unset !important;
    }
}
