/**
* 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
*/

/****************************category*********************/
.tvcmscategory-slider {
    position: relative;
    margin-bottom: 100px;
}
.tvcategory-slider-main-title-wrapper {
    position: relative;
}
.tvcategory-slider-inner-info-box {
    margin-left: -15px;
    margin-right: -15px;
}

.tvcategory-slider {
    /*display: flex;*/
    /*align-items: center;*/
    /*margin: 0 -15px;*/
}

/*.tvcategory-slider-info-box:after {
    position: absolute;
    content: "";
    background-color: #bf1c2f;
    width: 0;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}
.tvcategory-slider-wrapper-info:hover .tvcategory-slider-info-box:after {
    width: 50px;
    transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
}*/

.tvcategory-slider-bolck-btn-link.tvcategory-slider-bolck-btn {
    color: #ffffff;
    font-size: 12px;
}

.tvcategory-slider-bolck-btn-link.tvcategory-slider-bolck-btn i {
    font-size: 13px;
}

.lang-rtl .tvcategory-slider-main-title-wrapper {
    /*padding: 96px 10px;*/
}

/***** category slider *****/
.tvcmscategory-slider {
    margin-bottom: 100px;
}
.tvcategory-img-block {
    overflow: hidden;
}
.tvcategory-slider-inner-info-box {
    background-color: transparent;
    border: none;
    border-radius: 3px;
    padding: 0;
    position: relative;
}
.tvcategory-slider-wrapper-info a {
    display: block;
    cursor: pointer;
    /* background-color: red; */
}
.tvcategory-slider-items {
    font-size: 15px;
    color: #000;
    font-weight: 400;
}
.tvcategory-slider-items i {
    font-size: 17px;
    margin-left: 2px;
    line-height: 17px;
    color: #000;
}
.tvcategory-slider-info-title {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-family: 'Poppins';
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    line-height: 19px;
    text-transform: uppercase;
    -webkit-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    -ms-transition: all .3s ease-in-out 0s;
    -o-transition: all .3s ease-in-out 0s;
}
.tvcategory-slider-info-box {
    padding: 20px 20px;
    transition: all .6s ease-in-out 0s;
    -webkit-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    -ms-transition: all .3s ease-in-out 0s;
    -o-transition: all .3s ease-in-out 0s;
    z-index: 1;
    position: relative;
    background: #4E7661;
    border-radius: 0px 0px 5px 5px ;
    box-shadow: 0px 4px 18px rgb(0 0 0 / 13%);
    line-height: 1;
}
.tvcategory-slider-wrapper-info {
    margin: 0 15px;
    /* padding: 10px 10px 0 10px; */
    /* background: #fff; */
    overflow: visible;
    text-align: center;
    position: relative; 
}
.tvcategory-slider-wrapper-info:hover  .tvcategory-slider-wrapper-info .tvcategory-img-block img {
    border: #4E7661;
}
/***** end category slider *****/

.tvcategory-slider-wrapper-info:hover {
    /* box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.14); */
}
/* .tvcategory-slider-wrapper-info:hover .tvcategory-slider-content .tvcategory-slider-info-box{
    color: #4E7661;
} */


/* .tvcategory-slider-wrapper-info .tvcategory-img-block img{
    -webkit-transition: all 0.35s linear;
    -moz-transition: all 0.35s ease;
    -ms-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.tvcategory-slider-wrapper-info:hover .tvcategory-img-block img{
    transform: scale(1.08);
    -webkit-transition: all 0.35s linear;
    -moz-transition: all 0.35s ease;
    -ms-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
} */
.tvcategory-img-bg {
    position: relative;
    border-radius: 8px 8px 0 0;
}
.tvcategory-img-bg::before {
    /* content: ''; */
    position: absolute;
    top: auto;
    left: 0;
    right: -1px;
    height: 120px;
    bottom: -1px;
    background-repeat: no-repeat;
    background-image: url(../img/shape-top.png);
    opacity: 1;
    background-size: cover;
    /* -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out; */
}
.tvcategory-img-bg::after {
    /* content: ''; */
    position: absolute;
    top: auto;
    left: 0;
    right: -1px;
    height: 111px;
    bottom: -1px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../img/shape.png);
    /* opacity: 0; */
    /* -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out; */
}
.tvcategory-slider-wrapper-info a:hover .tvcategory-img-bg::before{
    opacity: 0;
}
.tvcategory-slider-wrapper-info a:hover .tvcategory-img-bg::after{
    /* opacity: 1; */
}
/* .tvcategory-slider-wrapper-info a:hover .tvcategory-img-bg::after{
  transform: ;
} */

.owl-item:nth-child(n+1) .tvcategory-img-bg  {
    /* background-color: #d2e9a9 */
}

.owl-item:nth-child(n+2) .tvcategory-img-bg  {
    /* background-color: #ffdb84 */
}

.owl-item:nth-child(n+3) .tvcategory-img-bg  {
    /* background-color: #ffa7eb */
}

.owl-item:nth-child(n+4) .tvcategory-img-bg  {
    /* background-color: #8ac3de */
}

.owl-item:nth-child(n+5) .tvcategory-img-bg  {
    /* background-color: #a96862 */
}
.tvcategory-slider-wrapper-info a .tvcategory-img-block img {
    position: relative;
    z-index: 1;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;
    -ms-transition-duration: .5s;
    -o-transition-duration: .5s;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
/* .tvcategory-slider-wrapper-info a:hover .tvcategory-img-block img {
    transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    -o-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
} */
.tvcategory-slider-wrapper-info:hover .tvcategory-slider-info-box {
    background-color: #000;
}
.tvcategory-slider-wrapper-info:hover .tvcategory-slider-info-title{
    color: #fff;
}
@media (max-width: 1200px) {
    .tvcategory-slider-info-title {
        font-size: 18px;
    }
    .tvcategory-slider-info-box {
        padding: 15px;
    }
    .tvcategory-slider-info-title {
        font-size: 16px;
    }
    }
@media (max-width: 991px) {
    .tvcmscategory-slider {
        margin-bottom: 50px;
    }
    
}
@media (max-width: 575px) {
.tvcategory-slider-info-title {
    font-size: 14px;
}
}