﻿.ProductWrapper .AmountWrapper
{
}


.ProductWrapper
{
}

    .ProductWrapper .ProductItem
    {
        grid-template-areas: "image" "content" "command";
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 1fr;
        display:grid;
    }

        .ProductWrapper .ProductItem .ProductImagePlaceholder
        {
            grid-area: image;
        }
        .ProductWrapper .ProductItem .ProductContentPlaceholder
        {
            grid-area: content;
        }
        .ProductWrapper .ProductItem .ProductCommandPlaceholder
        {
            grid-area: command;
        }

    .ProductWrapper h1
    {
        margin-bottom: 5px;
    }

    .ProductWrapper h4
    {
        margin-top: 20px;
        color: #444;
        padding: 10px;
        padding-bottom: 5px;
        text-transform: uppercase;
        background-color: #fafafa;
        border-bottom: 2px solid #aaa;
        font-weight: 600;
    }

    .ProductWrapper .ArticleNo
    {
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .ProductWrapper .ProductImagePlaceholder
    {
        /*float: right;
        width: 40%;
        box-sizing: border-box;
        text-align: center;
        padding-left: 40px;*/
        margin-bottom: 40px;
    }

        .ProductWrapper .ProductImagePlaceholder .ImageWrapper
        {
            box-sizing: border-box;
            white-space: nowrap;
        }

            .ProductWrapper .ProductImagePlaceholder .ImageWrapper .VericalAlignHelper
            {
                display: inline-block;
                height: 100%;
                vertical-align: middle;
            }

            .ProductWrapper .ProductImagePlaceholder .ImageWrapper img
            {
                max-width: 90%;
                max-height: 90%;
                /*display: inline-block;*/
                display:block;
                vertical-align: middle;
                margin: auto;
            }

        .ProductWrapper .ProductImagePlaceholder .ExtraImages
        {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(60px, 100px));
            grid-gap: 20px;
        }

            .ProductWrapper .ProductImagePlaceholder .ExtraImages a
            {
                border: 1px solid #aaa;
                transition: linear border 200ms;
            }

                .ProductWrapper .ProductImagePlaceholder .ExtraImages a:hover
                {
                    border: 1px solid #444;
                }

            .ProductWrapper .ProductImagePlaceholder .ExtraImages img
            {
                max-width: 100%;
            }

    .ProductWrapper .ProductContentPlaceholder
    {
        /*float: left;
        width: 60%;
        box-sizing: border-box;
        padding: 10px;*/
        position: relative;
    }

        .ProductWrapper .ProductContentPlaceholder h4
        {
        }

    .ProductWrapper .ProductCommandPlaceholder
    {
        /*float: left;
        width: 60%;
        box-sizing: border-box;
        padding: 10px;*/
    }



    /* VARIANTS */
    .ProductWrapper .VariantsWrapper
    {
        position: relative;
    }

.ShowLeftoversWrapper
{
    position: absolute;
    right: 10px;
    margin-top: -35px;
}

.ProductWrapper .VariantsWrapper button
{
    font-size: 1.2rem;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border: 2px solid #444;
    -webkit-appearance: button;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 3px;
    margin-left: 10px;
    margin-right: 10px;
}

    .ProductWrapper .VariantsWrapper button:hover
    {
        border-color: #FBAD17;
    }

    .ProductWrapper .VariantsWrapper button.Selected
    {
        border: 2px solid #FBAD17;
        background-color: #01476B;
        color: #fff;
    }

    .ProductWrapper .VariantsWrapper button[data-default='0']
    {
        display: none;
    }

/* ADD TO CART */
.CalcWrapper
{
    clear: both;
    padding: 0px;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: background-color 200ms linear;
    box-sizing: border-box;
    padding-bottom: 20px;
    /* width: 60%;*/
    /*padding-right: 20px;*/
    display: grid;
}

    .CalcWrapper .Row
    {
        
    }

        .CalcWrapper .Row label
        {
            float: left;
            width: 120px;
            padding: 10px;
        }

        .CalcWrapper .Row .AutoTextWrapper
        {
            width: auto;
            margin-left: 145px;
            margin-bottom: 10px;
        }

            .CalcWrapper .Row .AutoTextWrapper input:disabled > .CalcWrapper .Row .AutoTextWrapper
            {
                background: #eee;
            }

        .CalcWrapper .Row:not(.AmountWrapper) input
        {
            color: #444;
            font-size: 0.9rem;
            padding: 5px;
            line-height: 25px;
            width: 100%;
            text-align: right;
            border: 0px;
            padding-left: 10px;
            padding-right: 10px;
            position: relative;
            border-radius: 3px;
            box-sizing: border-box;
            border: 1px solid #c6c6c6;
        }

            .CalcWrapper .Row:not(.AmountWrapper) input:disabled
            {
                background: #eee;
            }



.CutWrapper.Row {
    display:none;
}
.CalcWrapper .AmountWrapper .TextWrapper
{
    padding: 5px;
    color: #444;
    padding-left: 35px;
    padding-right: 30px;
    font-size: 0.9rem;
    float: left;
    background: #fff;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    position: relative;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 10px;
}

        .CalcWrapper .AmountWrapper .TextWrapper input
        {
            border: 0px;
            width: 100%;
            padding: 5px;
            text-align: right;
            float: left;
            box-sizing: border-box;
            padding-right: 5px;
        }

    .CalcWrapper .ChangeAmountItem.AddItem
    {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 2px;
    }

        .CalcWrapper .ChangeAmountItem.AddItem:before
        {
            content: '\f067';
            font-family: FontAwesome5;
            font-size: 20px;
            color: #8a8a8a;
        }

        .CalcWrapper .ChangeAmountItem.AddItem:hover:before
        {
            color: #444;
        }

    .CalcWrapper .ChangeAmountItem.RemoveItem
    {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 2px;
    }

        .CalcWrapper .ChangeAmountItem.RemoveItem:before
        {
            content: '\f068';
            font-family: FontAwesome5;
            font-size: 20px;
            color: #8a8a8a;
        }

        .CalcWrapper .ChangeAmountItem.RemoveItem:hover:before
        {
            color: #444;
        }

.CalcWrapper .selAddition, .CalcWrapper .selUnitType
{
    width: 100% !important;
    margin-bottom: 10px;
}

    .CalcWrapper .selAddition .CustomDropDownListInnerWrapper .Selected span, .CalcWrapper .selUnitType .CustomDropDownListInnerWrapper .Selected span
    {
        text-align: right;
        padding-right:5px;
    }

.CustomDropDownListOuterWrapper.selUnitType.SingelValue
{
    background: #eee !important;
}

/*CustomDropDownListOuterWrapper selUnitType */

    .CalcWrapper .PriceWrapper
    {
        font-weight: bold;
    }

    .CalcWrapper .AddToCartWrapper
    {
        margin-top: 20px;
        clear: both;
        float: left;
        position: relative;
        width: 100%;
    }

    .CalcWrapper .AddToCartCustom, .CalcWrapper .AddToCartCustomDisabled
    {
        margin-top: 20px;
        margin: 0;
        border-radius: 3px;
        float: left;
        clear: none;
        font-size: 1.2rem;
        padding: 11px;
        padding-left: 20px;
        padding-right: 20px;
        text-transform: uppercase;
        font-family: 'Cairo';
        padding-right: 67px;
        position: relative;
        transition: background-color 200ms linear;
        color: #fff;
        background-color: #01476B;
        border: 1px #444 solid;
        box-sizing: border-box;
        width: 100%;
    }

        .CalcWrapper .AddToCartCustom:hover:not(.AddToCartCustomDisabled)
        {
            background-color: #CDE1E9;
            color: #444;
        }

    .CalcWrapper .AddToCartCustomDisabled
    {
        background-color: #aaa;
        color: #ccc;
        cursor: default;
    }

    .CalcWrapper .AddToCartCustom:hover:before
    {
        background-color: #01476B;
        color: #fff;
    }

    .CalcWrapper .AddToCartCustomDisabled:hover:before
    {
        background-color: #bbb;
        color: #ddd;
    }

    .CalcWrapper .AddToCartCustom:before, .AddToCartWrapper .AddToCartCustomDisabled:before
    {
        content: '\f07a';
        font-family: FontAwesome5;
        position: absolute;
        font-size: 24px;
        right: 0px;
        top: 0;
        bottom: 0;
        float: left;
        padding: 10px;
        padding-top: 11px;
        padding-right: 12px;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        transition: background-color 200ms linear;
        background-color: #CDE1E9;
        color: #444;
    }

    .CalcWrapper .AddToCartCustomDisabled:before
    {
        background-color: #bbb;
        color: #ddd;
    }

.AddToCartPopup
{
    opacity: 1;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: #dff0d8;
    display: inline-block;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
    color: #444;
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
}

    .AddToCartPopup.SUCCESS
    {
    }

/* QUANTUM INFO */
.QuantumInfoWrapper
{
    margin-top: 10px;
}

    .QuantumInfoWrapper table
    {
        width: 100%;
    }

        .QuantumInfoWrapper table, .QuantumInfoWrapper table thead th, .QuantumInfoWrapper table tbody td
        {
            border: 1px solid #ccc;
            border-collapse: collapse;
        }

            .QuantumInfoWrapper table thead
            {
                background-color: #CDE1E9
            }

                .QuantumInfoWrapper table thead th
                {
                    width: 50%;
                    text-align: center;
                    padding: 5px;
                }

            .QuantumInfoWrapper table tbody td
            {
                border-top: 1px;
                text-align: center;
                padding: 5px;
            }

            .QuantumInfoWrapper table tbody
            {
            }


/* POPUP PICTURE */
.PopupPictureOuterWrapper
{
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(52,73,94,0.5);
    text-align: center;
}

.PopupPictureInnerWrapper
{
    width: 200px;
    height: 200px;
    display: inline-block;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.5);
    border: 10px solid #444;
    background-color: #fff;
    padding: 0px;
    position: relative;
    transition: all 500ms ease-in-out;
}

    .PopupPictureInnerWrapper .PopupPictureContent.Hidden
    {
        display: none;
    }

    .PopupPictureInnerWrapper .PopupPictureContent
    {
        display: inline;
    }

        .PopupPictureInnerWrapper .PopupPictureContent img
        {
            width: 100%;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonClose
        {
            position: absolute;
            right: -20px;
            top: -20px;
            width: 30px;
            height: 30px;
            background-color: #fff;
            padding-left: 5px;
            padding-top: 2px;
            border: 1px solid #ccc;
            border-radius: 20px;
            box-sizing: border-box;
            cursor: pointer;
            z-index: 10001;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonPrev
        {
            position: absolute;
            left: 0px;
            top: 0px;
            bottom: 0;
            width: 100px;
            opacity: 1;
            cursor: pointer;
            transition: opacity 300ms ease-in-out;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonNext
        {
            position: absolute;
            right: 0px;
            top: 0px;
            bottom: 0;
            width: 100px;
            opacity: 1;
            cursor: pointer;
            transition: opacity 300ms ease-in-out;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonPrev:hover:before
        {
            display: inline-block;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonNext:hover:before
        {
            display: inline-block;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonClose:before
        {
            content: '\f00d';
            font-family: FontAwesome5;
            font-size: 20px;
            float: left;
            padding-left: 3px;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonPrev:before
        {
            display: none;
            content: '\f137';
            font-family: FontAwesome5;
            font-size: 32px;
            left: 5px;
            top: 50%;
            margin-top: -16px;
            position: absolute;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonNext:before
        {
            display: none;
            content: '\f138';
            font-family: FontAwesome5;
            font-size: 32px;
            right: 5px;
            top: 50%;
            margin-top: -16px;
            position: absolute;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonPrev:hover
        {
            opacity: 1;
        }

        .PopupPictureInnerWrapper .PopupPictureContent .ButtonNext:hover
        {
            opacity: 1;
        }

    .PopupPictureInnerWrapper .PopupLoader
    {
        position: absolute;
        top: 10px;
        left: 10px;
        bottom: 10px;
        right: 10px;
        z-index: 10000;
        background-color: #fff;
    }

        .PopupPictureInnerWrapper .PopupLoader .Loader:before
        {
            content: 'Loading...';
            position: absolute;
            top: 75px;
            left: 50%;
            margin-top: -10px;
            margin-left: -16px;
        }

        .PopupPictureInnerWrapper .PopupLoader .Loader:not(:required):before
        {
            content: '\f110';
            font-family: FontAwesome5;
            font-size: 32px;
            animation: spinner 2s linear infinite;
        }

.CustomProductListWrapper button
{
    font-size: 1.2rem;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border: 2px solid #444;
    -webkit-appearance: button;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 3px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom:10px;
}

    .CustomProductListWrapper button:hover
    {
        border-color: #FBAD17;
    }

    .CustomProductListWrapper button.Selected
    {
        border: 2px solid #FBAD17;
        background-color: #01476B;
        color: #fff;
    }

.selDropDownProducts .Item
{
    font-size: 0.9rem;
    line-height: 1rem;
    padding: 5px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    -webkit-appearance: button;
    cursor: pointer;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 3px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
    border-bottom: 0px solid #eee !important;
    width: 95% !important;
    border: 1px solid #444 !important;
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */
}
.selDropDownProducts .CustomDropDownListInnerWrapper .Selected span
{
    
}

    .selDropDownProducts .Item[data-value='0']
    {
        display:none;
    }
    .selDropDownProducts .Item:hover
    {
        border-color: #FBAD17;
    }

    .selDropDownProducts .Item.Selected
    {
        border: 1px solid #FBAD17;
        background-color: #01476B;
        color: #fff;
    }

@media screen and (min-width:768px)
{
    .ProductWrapper .ProductItem
    {
        grid-template-areas: "content image" "command image";
        grid-template-rows: 1fr 100px;
        grid-template-columns: 1fr 30%;
    }

    .ProductWrapper .ProductImagePlaceholder .ImageWrapper
    {
        padding-left:40px;
    }

    .ShowLeftoversWrapper
    {
       
    }
}
@media screen and (min-width:980px)
{
    .ProductCommandPlaceholder
    {
        display: grid;
        grid-template-areas: "header header" "calc quantum";
        grid-template-columns: 1fr 200px;
    }

        .ProductCommandPlaceholder h4
        {
            grid-area: header;
        }

    .CalcWrapper
    {
        
        grid-area: calc;
        box-sizing:border-box;
        padding-right:20px;
    }

        .CalcWrapper .Row label
        {
            width: 160px;
        }

        .CalcWrapper .Row .AutoTextWrapper
        {
            width: auto;
            margin-left: 185px;
            margin-bottom: 10px;
        }

    .QuantumInfoWrapper
    {
        grid-area: quantum;
        margin-top: 0;
    }
}

@media screen and (min-width:1280px)
{    
    .ShowLeftoversWrapper
    {
        position: absolute;
        right: 10px;
        margin-top: -39px;
    }

    .ProductCommandPlaceholder
    {
        grid-template-columns: 1fr 260px;
    }
}

@media screen and (min-width:1640px)
{
}
