/*
Theme Name: Astra Child
Theme URI: http://example.com/astra-child/
Description: Astra Child Theme
Author: dueclic
Author URI: https://www.dueclic.com
Template: astra
Version: 1.2.0
Text Domain: astra-child


 */

.ultraflex-file-attachments {
    padding: 20px 0;
}

.ultraflex-file-attachments ul {
    list-style: none;
    padding: 0;
    margin:0;
}

.ultraflex-file-attachments ul .featured-container {
    background: none;
    padding-left: 0;
}

.ultraflex-file-attachments ul li .file-attachment a {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.ultraflex-file-attachments ul li .file-attachment a:visited {
    color: #C71928;
}

.ultraflex-file-attachments h6 {
    color: #C71928;
    font-weight: 600 !important;
    font-size: 1.5em;
}

.ultraflex-search .dgwt-wcas-ico-magnifier {
    fill: #fff;
}

.ultraflex-search {
    margin: 20px 0;
}

.ultraflex-data table.no-header thead {
    display: none;
}

@media screen and (max-width: 767px) {
    .e-n-tabs-content {
        table.dataTable tbody td,
        table.dataTable thead th {
            padding: 2px 3px !important;
        }

        table.dataTable p {
            font-size: 12px !important;
        }
    }
}

table.dataTable > tbody > tr {
    background: #fff;
}

h3.ultraflex-product-codes-title,
h3.ultraflex-description-title {
    text-decoration: underline;
    font-family: 'Montserrat', 'Verdana', 'sans-serif';
}

.ultraflex-variations-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ultraflex-variations-container p {
    color: #C71928;
    margin-bottom: 0.25em;
}

.ultraflex-variations-container p .select-title {
    font-weight: bold;
}

ul.ultraflex-variations-switch {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
}

ul.ultraflex-variations-switch li {
    margin: 0.5em 0.5em 0 0;
}

.ultraflex-variations-switch .show-variation-btn {
    margin: 0 10px;
    background: none;
    border: 1px solid #C71928;
    border-radius: 0.25em;
    display: inline-block;
    cursor: pointer;
    transition: background-color 150ms linear;
    padding: 0;
}

.ultraflex-variations-switch .show-variation-btn span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 0.6667em;
    color: #C71928;
    text-align: center;
    line-height: 1.2;
    font-size: 0.75em;
}

.ultraflex-variations-switch .show-variation-btn:disabled {
    background: #C71928;
    opacity: 1;
}

.ultraflex-variations-switch .show-variation-btn:disabled span {
    color: #fff;
}

.ultraflex-product-variation {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.ultraflex-product-variation.active {
    display: block;
    opacity: 1;
}

.ultraflex-product-variation .ultraflex-infos,
.ultraflex-product-variation .ultraflex-infos > div {
    margin: 10px 0;
}

.ultraflex-product-variation .ultraflex-infos p {
    margin-bottom: 0;
}

.ultraflex-product-variation h2 {
    font-weight: bold;
}

#ufx-related-products {

    .upsell-title {
        text-align: center;
        color:  #C71928;
    }

    .woocommerce-LoopProduct-link {
        width: 45% !important;
        margin: 0 auto;
    }
    .woocommerce-loop-product__title {
        color:  #C71928;
        font-family: "Montserrat", sans-serif, serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 18px;
        text-align: center;
    }

    .upsells {
        margin-top: 20px;
    }

    .upsells .columns-5 {
        grid-template-columns: repeat(5,minmax(0,1fr));
        display: grid;
    }


    @media screen and (max-width: 767px) {
        .upsells .columns-5 {
            grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        }
    }

}
.ultraflex-file-attachments {
    .ultraflex-attachment-container {

        h6 {
            margin-bottom: 0;
        }

        padding: 20px;

        &:not(:first-of-type):not(:last-of-type) {
            border-bottom: 1px solid #C71928;
        }
    }
}

