﻿/* CSS Reset */
div, img, span {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.left-arrow-container {
    position: absolute;
    bottom: 34px;
    left: 17px;
    background-color: rgba(0,0,0, 0.2);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .left-arrow-container i {
        color: rgba(255,255,255,0.5);
        font-size: 20px;
        z-index: 2;
    }

        .left-arrow-container i span {
            color: rgba(255,255,255,0.5);
        }

.left-arrow-container-cardfile {
    position: absolute;
    bottom: 30px;
    left: 68px;
    background-color: rgba(0,0,0, 0.2);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .left-arrow-container-cardfile i {
        color: rgba(255,255,255,0.5);
        font-size: 20px;
        z-index: 2;
    }

    .left-arrow-container-cardfile.wide {
        left: 12px;
    }

.right-arrow-container-cardfile {
    position: absolute;
    bottom: 30px;
    right: 68px;
    background-color: rgba(0,0,0, 0.2);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 3em;
    display: flex;
    /* Align the content both horizontally and vertically */
    justify-content: center;
    align-items: center;
}

    .right-arrow-container-cardfile i {
        color: rgba(255,255,255,0.5);
        font-size: 20px;
        z-index: 2;
    }

    .right-arrow-container-cardfile.wide {
        right: 12px;
    }

.right-arrow-container {
    position: absolute;
    bottom: 34px;
    right: 17px;
    background-color: rgba(0,0,0, 0.2);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 3em;
    display: flex;
    /* Align the content both horizontally and vertically */
    justify-content: center;
    align-items: center;
}

    .right-arrow-container i {
        color: rgba(255,255,255,0.5);
        font-size: 20px;
        z-index: 2;
    }

        .right-arrow-container i span {
            color: rgba(255,255,255,0.5);
        }

.carousel-outer-container {
    position: relative;
    background-color: #3399ff;
}

.carousel-price-box {
    background-color: rgba(51,153,255,0.7);
    width: 10%;
    height: 6%;
    position: absolute;
    left: 8px;
    bottom: 8px;
    border-radius: 10px;
}

.carousel-price-value {
    color: white;
    font-size: 14px;
    font-weight: 600;
    /*    line-height:30px;*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    font-family: Lato,Helvetica,Arial,sans-serif;
    white-space: nowrap;
}

.carousel-duplex-box {
    background-color: rgba(152,152,152,0.7);
    width: 15%;
    height: 6%;
    position: absolute;
    left: 13%;
    bottom: 8px;
    border-radius: 10px;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto; /* Use 'overflow-x: auto' to enable horizontal scrolling */
    white-space: nowrap; /* Prevent the items from wrapping to the next line */
    overflow-y: hidden;
}

.carousel-container-cardfile {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto; /* Use 'overflow-x: auto' to enable horizontal scrolling */
    white-space: nowrap; /* Prevent the items from wrapping to the next line */
    background-color: white;
}

.carousel-linkbutton {
    display: inline-block; /* Use inline-block instead of flex */
    vertical-align: top; /* Align items to the top (if needed) */
}

    .carousel-linkbutton span {
        display: block !important;
        width: 100%; /* Ensure images fill the container width */
        height: auto; /* Maintain aspect ratio */
        margin-left: 20px;
        text-decoration: none;
        color: #333;
        font-weight: bold;
        cursor: pointer;
        /*overflow-clip-margin:content-box;*/
        overflow: clip;
    }

.carousel-cardfile-boxout {
    border: 1px solid #ccc;
}

    .carousel-cardfile-boxout.lighter {
        border: 1px solid #eee;
    }

.carousel-cardfile-title {
    /*border-left: 1px solid #ccc;*/ /* Faint grey border on the left */
    /*border-right: 1px solid #ccc;*/ /* Faint grey border on the right */
    /*border-bottom: 1px solid #ccc;*/ /* Faint grey border on the bottom */
    padding: 10px;
    display: flex;
}

    .carousel-cardfile-title .item1 {
        /*background-color:red;*/
        flex-grow: 3;
        text-align: left;
    }

    .carousel-cardfile-title .item2 {
        /*background-color:green;*/
        flex-grow: 1;
        text-align: right;
        font-weight: 500;
        font-size: 0.9em;
    }

    .carousel-cardfile-title a {
        /*background-color:green;*/
        flex-grow: 1;
        text-align: right;
        font-weight: 800;
        font-size: 0.9em;
        color: #3399ff !important;
    }

.carousel-image {
    display: inline-block; /* Use inline-block instead of flex */
    vertical-align: top; /* Align items to the top (if needed) */
    position: relative;
}

    .carousel-image img {
        width: 100%; /* Ensure images fill the container width */
        height: auto; /* Maintain aspect ratio */
        /*      width:450px;
height:279px;*/
    }

    .carousel-image a {
        color: black;
        width: 100%; /* Ensure images fill the container width */
        height: auto; /* Maintain aspect ratio */
    }

@media only screen and (max-width:640px) {
    .left-arrow-container-cardfile {
        left: 5px;
    }

    .right-arrow-container-cardfile {
        right: 5px;
    }
}

@media only screen and (max-width:479px) {
    .left-arrow-container-cardfile {
        left: 2px;
    }

    .right-arrow-container-cardfile {
        right: 2px;
    }
}
