.seco-products{
    color: #000000;
    display: inline-block;
    margin: auto;
    width: 100%;
}
.seco-products__list{
    list-style: none;
    margin: 0;
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    justify-content: start;
}
.seco-products__list__item{
    flex: 1;
    display: flex;
    flex-direction: row;
    min-width: 185px;
    max-width: 185px;
}

.seco-products__list__item:nth-child(even) .seco-product{
    background-color: #FFFFFF;
}
.seco-products__list__item:nth-child(odd) .seco-product{
    background-color: #CCCCCC;
}
.seco-products__list__item__container{
    position: relative;
    width: 100%;
    padding-top: 200%; /* 1:2 Aspect Ratio */
}

.seco-product-info{
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.seco-product-info.items-6{
    left: calc(100%/6);
}
.seco-product-info.items-5{
    left: calc(100%/5);
}
.seco-product-info.items-4{
    left: calc(100%/4);
}

.seco-product-info__wrapper{
    background-color: #343434;
    padding: 2rem;
    text-align: center;
    height: 100%;
}
.seco-product-info__wrapper__content{
    opacity: 0;
}
.seco-product-info__wrapper__content__title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.seco-product-info__wrapper__content__button{
    margin-top: 2rem;
}
.seco-product{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.seco-product__poster{
    width: 100%;
    height: 50%;
}
.seco-product__poster > img{
    width: 100%;
}

.seco-product__info{
    text-align: center;
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem .75rem .75rem .75rem;
}


.seco-product__info__title{
    font-size: 24px;
    font-weight: bold;
    flex: 3;
}


.seco-button{
    display: block;
    margin: 0 auto 20px;
    width: 95px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    background: #e60012;
    color: white;
    text-align: center;
    vertical-align: middle;
    text-shadow: none;
    transform: skew(-20deg);
    -webkit-transform: skew(-20deg);
}

.seco-button:hover{
    color: white !important;
}

.seco-button__text{
    display: inline-block;
    transform: skew(20deg, 0deg);
    -webkit-transform: skew(20deg, 0deg);
}



@-webkit-keyframes product-info-in {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes product-info-in-wrapper {
    from {opacity: 0; width: 50%;}
    to {opacity: 1; width: 100%;}
}

@-webkit-keyframes product-info-in-content {
    0%   {opacity: 0;}
    80%  {opacity: 0;}
    100% {opacity: 1;}
}

@-webkit-keyframes product-info-out {
    from {
        opacity: 1;
        width: 100%;
    }
    to {
        opacity: 0;
        width: 0;
    }
}
@media only screen and (max-width: 1199px) {
    .seco-products__list {
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media only screen and (min-width: 1200px) {
    .seco-products__list__item{
        min-width: auto;
        max-width: inherit;
    }
    .seco-products__list:hover .seco-products__list__item:not(:hover){
        display: none;
        width: 0;
        opacity: 0;
        /*-webkit-animation-name: product-info-out; !* Safari 4.0 - 8.0 *!*/
        /*-webkit-animation-duration: .75s; !* Safari 4.0 - 8.0 *!*/
        /*animation-name: product-info-out;*/
        /*animation-duration: .75s;*/
    }
    .seco-products__list__item:hover{
        z-index: 100;
    }
    .seco-products__list__item:hover .seco-products__list__item__container{
        width: 100%;
    }
    .seco-products__list__item:hover .seco-products__list__item__container.items-6{
        padding-top: calc(100%/3);
    }
    .seco-products__list__item:hover .seco-product.items-6{
        width: calc(100%/6);
    }
    .seco-products__list__item:hover .seco-products__list__item__container.items-5{
        padding-top: calc(100%/2.5);
    }
    .seco-products__list__item:hover .seco-product.items-5{
        width: calc(100%/5);
    }
    .seco-products__list__item:hover .seco-products__list__item__container.items-4{
        padding-top: calc(100%/2);
    }
    .seco-products__list__item:hover .seco-product.items-4{
        width: calc(100%/4);
    }
    .seco-products__list__item:hover .seco-product-info{
        display: block;
        -webkit-animation-name: product-info-in; /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: .75s; /* Safari 4.0 - 8.0 */
        animation-name: product-info-in;
        animation-duration: .75s;
    }
    .seco-products__list__item:hover .seco-product-info .seco-product-info__wrapper{
        display: block;
        -webkit-animation-name: product-info-in-wrapper; /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: .75s; /* Safari 4.0 - 8.0 */
        animation-name: product-info-in-wrapper;
        animation-duration: .75s;
    }
    .seco-products__list__item:hover .seco-product-info .seco-product-info__wrapper__content{
        display: block;
        opacity: 1;
        -webkit-animation-name: product-info-in-content; /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: .9375s; /* Safari 4.0 - 8.0 */
        animation-name: product-info-in-content;
        animation-duration: .9375s;
    }
}

/**
.disable-animation
 */

.disable-animation .seco-products__list__item{
    /*min-width: auto;*/
    /*max-width: inherit;*/
}
.disable-animation .seco-products__list:hover .seco-products__list__item:not(:hover){
    display: block !important;
    opacity: 1;
}
.disable-animation .seco-products__list__item:hover .seco-products__list__item__container{
    width: 100%;
    padding-top: auto !important;
}
.disable-animation .seco-products__list__item:hover .seco-product{
    width: 100%;
}
.disable-animation .seco-products__list__item:hover .seco-product-info{
    display: none;
}

/**
.dark-mode
 */

.dark-mode .seco-products__list__item:nth-child(even) .seco-product{
    background-color: #343434;
    color: #FFFFFF;
}
.dark-mode .seco-products__list__item:nth-child(odd)  .seco-product{
    background-color: #1C1B1B;
    color: #FFFFFF;
}

.dark-mode .seco-product-info__wrapper{
    background-color: #343434;
    color: #FFFFFF;
}
