﻿

/* PRODUCTLIST COMMON */
.ProductGroupListWrapper {
    display: grid;
    width: 100%;
}

    .ProductGroupListWrapper .ProductGroupListItemContent {
        display: grid;
        height: 100%;
    }

        .ProductGroupListWrapper .ProductGroupListItemContent .ProductImagePlaceholder {
            grid-area: image;
        }

        .ProductGroupListWrapper .ProductGroupListItemContent .ProductContentPlaceholder {
            grid-area: content;
        }

        .ProductGroupListWrapper .ProductGroupListItemContent .ProductCommandPlaceholder {
            grid-area: command;
        }

    /* PRODUCTLIST GRIDVIEW */
    .ProductGroupListWrapper.GridView {
        /*grid-template-columns: repeat(auto-fit, minmax(200px, 400px));*/
        grid-template-columns: 1fr 1fr;
        /*grid-gap: 20px;*/
        grid-gap: 10px;
        margin-bottom: 0px;
    }

        .ProductGroupListWrapper.GridView .ProductGroupListItemContent {
            box-shadow: 0 0 0 1px #ccc;
            background-color: #eee;
        }

        .ProductGroupListWrapper.GridView .ProductGroupListItemContent {
            grid-template-areas: "image" "content" "command";
            grid-template-rows: auto 1fr auto;
            grid-template-columns: 1fr;
        }

            .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductImagePlaceholder {
                /*margin: 20px;*/
                margin: 10px;
                text-align: center;
                background-color: #fff;
                height: 120px;
                white-space: nowrap;
                text-align: center;
            }

                .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductImagePlaceholder .VericalAlignHelper {
                    display: inline-block;
                    height: 100%;
                    vertical-align: middle;
                }

                .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductImagePlaceholder img {
                    max-width: 90%;
                    max-height: 90%;
                    display: inline-block;
                    vertical-align: middle;
                }

            .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductContentPlaceholder {
                /*padding: 20px;*/
                padding: 10px;
                padding-top: 0;
            }

                .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductContentPlaceholder .ArticleNo {
                    font-size: 0.8rem;
                    text-transform: uppercase;
                    display: block;
                }

                .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductContentPlaceholder .Title {
                    font-size: 1rem;
                    display: block;
                }

            .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductCommandPlaceholder {
                text-align: center;
                /*padding: 20px;*/
                padding: 10px;
            }
                .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductCommandPlaceholder .Button {
                    margin-bottom: 10px;
                }

    

/* PRODUCTS LOADER */
.ProductGroupListLoader {
    position: fixed;
    background-color: rgba(255,255,255,0.7);
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 99;
    display: none;
}
    .ProductGroupListLoader .Loader:before {
        min-width: 24px;
        min-height: 24px;
    }

    .ProductGroupListLoader .Loader:before {
        content: 'Loading...';
        position: absolute;
        top: 300px;
        left: 50%;
        width: 16px;
        height: 16px;
        margin-top: -10px;
        margin-left: -10px;
    }

    .ProductGroupListLoader .Loader:not(:required):before {
        content: '';
        border-radius: 50%;
        border: 2px solid rgba(0, 0, 0, .3);
        border-top-color: rgba(0, 0, 0, .6);
        animation: spinner .6s linear infinite;
        -webkit-animation: spinner .6s linear infinite;
    }




@keyframes spinner
{
    to
    {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner
{
    to
    {
        -webkit-transform: rotate(360deg);
    }
}
@media screen and (min-width:980px)
{
    /* PRODUCTLIST GRIDVIEW */
    .ProductGroupListWrapper.GridView
    {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));        
        grid-gap: 20px;    
    }

        .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductImagePlaceholder {
            margin: 20px;
        }

        .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductContentPlaceholder {
            padding: 20px;
        }

        .ProductGroupListWrapper.GridView .ProductGroupListItemContent .ProductCommandPlaceholder {
            padding: 20px;
        }
    

    

@media screen and (min-width:1640px)
{
}


