/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
#module-productdownloadspage-pdpfront #content-wrapper{
    min-height: 40vh;
}

#module-productdownloadspage-pdpfront h1 {
    margin-bottom: 30px;
}

#module-productdownloadspage-pdpfront #search {
    max-width: 600px;
}

#module-productdownloadspage-pdpfront .fa-light.fa-search{
    position: absolute;
    color: #151517;
    font-size: 25px;
    font-weight: 300;
    margin-left: -50px;
    top: 22px;
    cursor: pointer;
}

.side-tabs.download-page-tabs li {
    display: flex;
    border: 1px solid black;
    padding: 21px 26px;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    cursor: pointer;
}

.side-tabs.download-page-tabs li.active {
    background-color: #151517;
    color: #FFFFFF;
}

#module-productdownloadspage-pdpfront input#search {
    padding: 21px;
    width: 100%;
}

.downloadable-product{
    border: 1px solid #151517;
    padding: 10px;
    margin-bottom: 15px;
}

.downloadable-product .downloadable-product-title p{
    margin-bottom: 10px;
}

.downloadable-product .downloadable-product-content{
    display: flex;
    margin: 0px;
    padding-top: 0px;
}

.downloadable-product .downloadable-product-content .btn-secondary{
    background-color: transparent;
    color: #151517;
    border: 1px solid #151517;
    padding: 10px 20px;
    text-align: center;
    transition: all 0.3s;
    max-width: 23.5%;
    cursor: pointer;
    margin-right: 10px;
}

.downloadable-product .downloadable-product-content .btn-secondary:hover{
    background-color: #151517;
    color: #FFFFFF;
}

.downloadable-product .downloadable-product-content-toggle, .downloadable-product a.view-product-btn.btn-secondary{
    background: #151517;
    color: #ffffff !important;
    border: solid 1px #151517;
    padding: 10px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
}

.downloadable-product .downloadable-product-content-toggle{
    margin-left: 0px;
}

.downloadable-product .downloadable-product-content-toggle:hover, .downloadable-product .view-product-btn.btn-secondary:hover{
    background: #ffffff !important;
    color: #151517 !important;
}

.downloadable-product .downloadable-product-images-container, .downloadable-product .downloadable-product-videos-container{
    margin-top: 15px;
    position: relative;
}

.downloadable-product .downloadable-product-images-container .image-link, .downloadable-product .downloadable-product-images-container .image-link img{
    max-width: 60px;
    max-height: 90px;
    width: 100%;
    height: 100vh;
    object-fit: contain;
}

.downloadable-product .downloadable-product-videos-container .video-link, .downloadable-product .downloadable-product-videos-container .video-link video{
    max-width: 160px;
    max-height: 90px;
}

.downloadable-product .downloadable-product-images-container .image-link, .downloadable-product .downloadable-product-videos-container .video-link{
    display: contents;
    border: 1px solid #151517;
    padding: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.downloadable-product .downloadable-product-images-container .image-link img, .downloadable-product .downloadable-product-videos-container .video-link video{
    border: 1px solid #151517;
    background-color: #FFFFFF;
    padding: 5px;
    cursor: pointer;
    position: relative;
    margin-right: 5px;
    transition: all 0.3s;
}

.downloadable-product .downloadable-product-images-container .image-link:hover img, .downloadable-product .downloadable-product-videos-container .video-link:hover video{
    filter: brightness(0.5);
    transition: all 0.3s;
}

.downloadable-product .downloadable-product-images-container .image-link:hover::before, .downloadable-product .downloadable-product-videos-container .video-link:hover::before{
    transition: all 0.3s;
    content: '\f56d';
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    font-size: 20px;
    color: #ffffff;
    position: absolute;
    top: 40%;
    z-index: 1;
}

.downloadable-product .downloadable-product-images-container .image-link:hover::before{
    padding-left: 22px;
} 

.downloadable-product .downloadable-product-videos-container .video-link:hover::before{
    padding-left: 4.7%;
}

@media (max-width: 768px){
    #module-productdownloadspage-pdpfront h1{
        margin-top: 40px;
    }

    .downloadable-product .downloadable-product-content .btn-secondary{
        max-width: 47.5%;
        margin-right: 5px;
        margin-top: 5px;
    }
}