/*
 * custom style for 
 * software and font pages
 */

h2.select-terms {
    font-size: 18px;
    font-weight: 600;
}

.inner-card.Discontinued,
.inner-card.Unsupported

/*, .inner-card.Maintenance.only */
    {
    background: #e9e9e9;
}

i.fa.fa-external-link {
    font-size: 20px;
    color: black;
    margin-top: 6px;
}

.inner-card {
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}


@media(min-width:769px) {
    h2.select-terms {
        display: inline-block;
    }

    .sub-container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .select-container {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sub-container {
        margin-right: 15px;
    }
}

@media(max-width:768px) {
    select#camera-filter {
        width: 100%;
    }

}

@media(max-width:768px) {
    .cust-card-style {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .card {
        /*         margin: 14px; */
        width: 46%;
    }

    .cust-card-style {
        display: flex;
    }

    h1.title-text,
    h2.title-text {
        /*         font-size: 14px; */
        font-family: system-ui;
    }

    .title-img img {
        width: 35px;
    }

    h1.sub-txt {
        font-size: 15px;
    }
}

@media(min-width:1025px) {
    .card {
        flex-basis: 33.33333%;
        padding: 15px;
    }
}

/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) and (min-width: 769px) {

    /* @media (max-width: 780px) { */
    .card {
        flex-basis: 50%;
        padding: 15px;
    }

    .title {
        font-size: 30px;
    }
}

/* Small screens (large phones, small tablets) */
@media (max-width: 768px) and (min-width: 501px) {
    .card {
        flex-basis: 50%;
        /* 2 cards per row */
        padding: 10px;
    }
}

/* Extra small screens (phones) */
@media(max-width:500px) {

    .card {
        margin-bottom: 20px !important;
        flex-basis: 100%;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .sub-icon {
        max-width: 100%;
    }

    /*     .sub-icon {
        width: 27%;
    }
    .sub-txt {
        width: 32%;
    } */
}

/* @media (max-width: 500px) {
    .card {
        flex-basis: 5100%;
    }

    .box .close-btn {
        margin-left: 0;
        left: 80%;
        top: -12%;
    }
}

@media (max-width: 580px) {
    .third-section .sub-icon {
        order: 1;
        width: 70%
    }

    .third-section .sub-txt {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .third-section .per-link {
        order: 2;
        width: 30%;
    }
} */

.Discontinued .sub-txt,
.Unsupported .sub-txt,
.Maintenance.only .sub-txt {
    font-style: italic;
    font-weight: 100;
}

.inner-card.Supported .sub-txt {
    opacity: 0;
}

.third-section .sub-icon img {
    padding: 0 !important;
}

/* part 2 */

.table-of-contents>.sub-container {
    margin: 2rem;
}

.table-of-contents>.sub-container>a {
    margin-top: 1rem;
}

.fonts .first-section {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.fonts.cust-card {
    padding: 2rem 0rem;
}

.fonts .card>.inner-card {
    min-height: 250px;
}

.fonts .first-section .title-txt {
    min-width: fit-content;
}

.inner-wrapper.cust-card.all-cards.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.inner-card {
    cursor: pointer;
    text-decoration: none !important;
}

.first-section {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    gap: 8px;
    justify-content: space-between;

}

.per-link {
    margin-left: auto;
}

.title-img img {
    width: 80px
}

/* .title-icon{
	margin-left: auto
} */
.title-icon img {
    width: 25px
}

.third-section {
    display: flex;
    padding-top: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

h1.title-text,
h2.title-text {
    text-align: center;
    font-size: 20px;
    font-family: system-ui;
    margin: 0;

}

.first-section .title-img img {
    padding: 0px;
}

.cust-card-style .card .inner-card .content p {
    margin: 0
}

.first-section .title-img {
    max-width: 60px;
}

.first-section .title-icon {
    max-width: 45px;
    width: 45px;
    text-align: right;
}

.first-section .title-txt {
    width: 100%;
}

div.sub-txt {
    flex: 1
}

h1.sub-txt {
    font-size: 19px;
    font-family: system-ui;
    width: 100%;
    text-align: center;
    margin: 0;
}

.cust-card {
    padding-top: 50px;
}

.card {
    padding: 10px;
}

.card>.inner-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #0000002d;
    padding: 20px;
    min-height: 275px
}

.cust-card-style {
    display: flex;
    flex-wrap: wrap;
}

.sub-icon {
    max-width: 45%;
}

.sub-icon>img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sub-txt {
    /*     max-width: 24%; */
}

.per-link {
    /*     max-width: 20%; */
    text-align: right;
}

.title-txt {
    max-width: 175px;
}

.select-container>.sub-container {
    flex: 1;
}

.navbar {
    margin-bottom: 0px !important
}

/* select#camera-filter {
    width: 200px;
    height: 50px;
    padding: 14px;
    margin-left: 15px;
    margin-bottom: 20px;
} */
.inner-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.card {
    /*   flex-basis: 33.33333%; */
    padding: 15px;
}

.inner-card {
    background-color: #fff;
    padding: 15px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 32%);
}

.img-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.content {
    margin-bottom: 20px;
}

.content h1 {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

.content p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.btn-wrapper {
    display: block;
    text-align: center;
}

a.btn.btn-danger.card-btn {
    color: #fff;
    background-color: #0168a7;
    border-color: #055f96;
}

a.btn.btn-danger.card-btn:hover {
    color: #000;
    background-color: transparent;
    border-color: #055f96;
}

.inner-wrapper.all-cards.cards .inner-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}

a.inner-card.Supported .sub-txt {
    display: none;
}

.cust-card-style .card {
    display: flex;
}


.cust-card.all-cards .card {
    display: flex;
}

.container.font-page .card {
    padding: 0;
    margin: 10px 10px;
}

.font-page .card {
    flex-basis: 23%;
    padding: 15px;
}



.container.font-page .title-img img {
    width: 80px;
}

.container.font-page h1.title-text,
.container.font-page h2.title-text {
    text-align: center;
    font-size: 16px;
}

.container.font-page .article-body img {
    padding-top: 0px;
    padding-bottom: 0px;

}

a.inner-card {
    width: 100%;
}

.sub-icon {
    display: flex;

}

.sub-icon img {
    margin-right: 5px;
}

.cust-card-style .card .inner-card .content p {
    font-weight: normal;
}

.software-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 18px;
}

.software-filter-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.software-search-container {
    position: relative;
    margin-top: 24px;
    margin-bottom: 12px;
    min-width: 50%;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 16px 10px 48px;
    font-size: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
}

.select2-selection {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 6px 16px 6px 16px !important;
    font-size: 15px;
}

.select2-container .select2-selection__choice {
    background: #eef4ff;
    border: none;
    border-radius: 999px;
    padding: 2px 10px;
    margin-top: 6px;
    /*color: #1f3b5c;*/
    color: orange;
    font-size: 14px;
}

.select2-container .select2-selection__choice__remove {
    /*color: #1f3b5c;*/
    color: orange;
    margin-right: 6px;
}

.search-input:focus {
    border-color: #BFDEFF;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder,
input::placeholder {
    color: #9ca3af;
}

.select-container {
    margin-top: 2rem;
}

.select-terms {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .software-filter-container {
        flex-direction: column;
        align-items: center;
    }

    .software-search-container {
        min-width: 80%;
    }
}