﻿@media (min-width:768px) {
    /*.modalPopupLarge a.btn.btn-outline-secondary.float-right {
        right: 17px !important;
    }*/
    .col-md-1 {
        -ms-flex: none;
        flex: none;
        max-width: 8.333333%;
        float: left
    }

    .col-md-2 {
        -ms-flex: none;
        flex: none;
        max-width: 16.666667%;
        float: left
    }

    .col-md-3 {
        -ms-flex: none;
        flex: none;
        max-width: 25%;
        float: left
    }

    .col-md-4 {
        -ms-flex: none;
        flex: none;
        max-width: 33.333333%;
        float: left
    }

    .col-md-5 {
        -ms-flex: none;
        flex: none;
        max-width: 41.666667%;
        float: left
    }

    .col-md-6 {
        -ms-flex: none;
        flex: none;
        max-width: 50%;
        float: left
    }

    .col-md-7 {
        -ms-flex: none;
        flex: none;
        max-width: 58.333333%;
        float: left
    }

    .col-md-8 {
        -ms-flex: none;
        flex: none;
        max-width: 66.666667%;
        float: left
    }

    .col-md-9 {
        -ms-flex: none;
        flex: none;
        max-width: 75%;
        float: left
    }

    .col-md-10 {
        -ms-flex: none;
        flex: none;
        max-width: 83.333333%;
        float: left
    }

    .col-md-11 {
        -ms-flex: none;
        flex: none;
        max-width: 91.666667%;
        float: left
    }
}

@media screen and (max-height:450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px
    }
}

@media (min-width:992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .7rem;
        padding-left: .7rem
    }

    .ArticleListNDI .Product {
        height: 136px
    }

    .ArticleListNDI .ProductMisc {
        height: 94px
    }

    .artCols {
        justify-content: center;
        -webkit-justify-content: center;
        -ms-flex-align: center
    }

    .productInfo .py-1 {
        padding-top: 35px !important;
        padding-bottom: 5px !important
    }

    .col-lg-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

    @media(max-width:1024px) {
        .panelSearchReg, .pnlSearchRegActive {
            right: -15px !important;
        }

        .Button.NetPrice {
            left: 9px;
        }
        .svSE .Button.NetPrice.Active {
            left: -31px;
        }
        .Basket .Button.NetPrice {
            left: auto;
            right: 15px;
        }
        .SectionDeliveryMethod .col-form-label {
            position: absolute;
            left: 90px;
            top: -25px;
            display: block;
            font-size: 12px;
            color: #000000;
        }

        .SectionDeliveryMethod select {
            left: 89px;
            width: 80px;
        }
        .SelectionPriceList .col-form-label {
            position: absolute;
            left: 5px;
            top: -42px;
            display: block;
            font-size: 12px;
            color: #000000;
        }

        .SelectionPriceList select {
            left: 4px;
            width: 80px;
        }
        .UniqueFilter .Row .Group {
            margin-right: 11px;
        }
        .UniqueFilter.Generic .Row .Group {
            width: 196px !important;
            /*width: 100px !important;*/
        }
    }

    @media(max-width: 992px) {
        .modalPopupLarge {
            background-color: #fff;
            height: -webkit-fill-available;
            padding: 0;
            height: auto;
        }

        .form-control-n {
            border-radius: 4px !important;
            display: block;
            width: 100%;
            height: calc(2.25rem + 2px);
            padding: .375rem .75rem;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #495057;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            border-radius: .25rem;
            transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        }

        .UniqueFilter .Row .Group {
            margin-right: 13px;
            width: 15%;
        }

        .divGrossNet {
            position: absolute;
            top: 25px;
            font-size: 11px;
            right: 45%;
            right: calc(50% - 60px);
            float: right;
            text-align: right;
        }
        .topicons {
            padding: 24px 15px;
        }
    }

    @media(max-width:768px) {
        .HeaderFrame {
            z-index: auto !important;
        }
        .divAxItemIDMisc {
            width: auto;
        }
        .overlayButton {
            position: absolute;
            width: 127px;
            background-color: rgba(0, 0, 0, .5);
            margin: 0 auto;
            padding: 8px;
            text-align: center;
            border-radius: 4px !important;
        }

        .overlayButtonGrid {
            position: absolute;
            width: 48%;
            background-color: rgba(0, 0, 0, .5);
            margin: 0 auto;
            padding: 8px;
            text-align: center;
            border-radius: 4px !important;
            right: 0;
            top: 16px;
            z-index: 100000;
        }

        .SearchRegNoBoxInputModal {
            padding: 10px 5px 10px 20px !important;
            border: none;
            width: 150px;
            font-size: 12px !important;
            font-family: 'Open Sans',sans-serif !important;
            background-repeat: no-repeat;
            background-size: 150px;
            background-color: transparent;
            color: #000;
            text-transform: uppercase;
        }

            .SearchRegNoBoxInputModal:-webkit-autofill, .SearchRegNoBoxInputModal:-webkit-autofill:focus, .SearchRegNoBoxInputModal:-webkit-autofill:hover, .SearchRegNoBoxInputModal:-webkit-autofill:active {
                -webkit-transition-delay: 99999s;
            }

            .SearchRegNoBoxInputModal:focus {
                text-transform: uppercase;
            }

        .input-wrapper-snug-modal {
            display: inline-block;
            background-repeat: no-repeat;
            background-size: 150px;
            background-size: 100%;
        }

        /***REG SEARCH LANGUAGES***/
        .daDK .SearchRegNoBoxInputModal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/nummerpladeramme60procent.png');}
        .daDK .input-wrapper-snug-modal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/nummerpladeramme60procent.png');}

        .svSE .SearchRegNoBoxInputModal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/senummerpladeramme60procent.png');}
        .svSE .input-wrapper-snug-modal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/senummerpladeramme60procent.png');}

        .nnNO .SearchRegNoBoxInputModal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/nonummerpladeramme60procent.png');}
        .nnNO .input-wrapper-snug-modal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/nonummerpladeramme60procent.png');}

        .fiFI .SearchRegNoBoxInputModal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/finummerpladeramme60procent.png');}
        .fiFI .input-wrapper-snug-modal {background-image: url('/App_Themes/shop.ndias.com/Images/RegNo/finummerpladeramme60procent.png');}
        /***END:REG SEARCH LANGUAGES***/

        .UniqueFilter .FilterCol {
            width: 100%;
            float: none;
            margin-left: 0;
        }
        .UniqueFilter .Row .Group {
            display: inline-block;
            width: 49%;
            max-width: none;
            margin-bottom: 10px;
            margin-right: 2px;
        }

            .UniqueFilter .Row .Group .ComboBoxFrame {
                margin-right: 0px !important;
            }

        .UniqueFilter .SearchButton {
            position: static;
            float: right;
        }

        .UniqueFilter.Generic .Row .Group {
            width: 49% !important;
            /*float: left;*/
            display: inline-block;
            
        }

        .UniqueFilter div:last-of-type:before {
            display: block;
            width: 100%;
            visibility: hidden;
            display: block;
            content: "";
            clear: both;
            height: 0;
        }

        .UniqueFilter .ClearButton {
            clear: both;
            white-space: pre-wrap;
        }

        .UniqueFilter .FastSearch {
            width: 100% !important;
        }
        .UniqueFilter .ButtonCol {
            width: 100%;
        }


        /*.ndi80 .Button.NetPrice {
            right: -11px;
            top: -115px;
            left: auto;
        }*/
        .ndi80 .Button.NetPrice {
            right: 20px;
            top: 3px;
            left: auto;
        }



        .modalPopupLarge {
            background-color: #fff;
            height: -webkit-fill-available;
            padding: 0;
            overflow: auto;
            height: auto;
            top: 110px !important;
            padding-top: 0 !important;
        }

        .modalImageBox {
            padding: 30px;
            box-sizing: border-box;
            width: 100%;
            border: 1px solid #ececec;
            float: left;
        }

        .modalInfoBox {
            box-sizing: border-box;
            padding: 0;
            width: 100%;
            float: left;
        }

        .removeItemFromBasket {
            top: -70px !important;
        }

        .productInfo .py-1 {
            max-width: 50% !important;
            flex: 0 0 49% !important;
            padding-right: 10px !important;
        }

        .modalPopupLarge a.btn.btn-outline-secondary.float-right {
            top: 3px !important;
            right: 5px !important;
        }
    }

@media(max-width:767px) {
    .ndi20 {
        max-width: 100% !important;
        width: 100%;
        float: none;
    }

    .ndi80 {
        max-width: 100% !important;
        width: 100%;
    }

    .SectionDeliveryMethod .col-form-label {
        position: static;
    }
    .SelectionPriceList .col-form-label {
        position: static;
    }

    .Basket .Button.NetPrice {
        position: absolute;
        right: 15px;
        left: auto;
        z-index: 100;
    }

    .SectionDeliveryMethod select {
        position: static;
        width: 170px;
    }
    .SelectionPriceList select {
        position: static;
        width: 170px;
    }

    .Button.NetPrice {
        position: absolute;
        left: 165px;
        top: 58px;
        z-index: 100;
    }

    .UniqueFilter .Row .Group .Option {
        border-right: 1px solid #dee2e6;
        width: 50px;
        text-align: center;
    }

    .divAxItemID {
        float: right;
        text-align: right;
    }

    .divAxItemIDMisc {
        float: right;
        text-align: right;
    }
    .productInfo .py-1 {
        max-width: 50% !important;
        flex: 0 0 50% !important;
        padding-right: 10px !important;
    }
}

    @media(max-width:666px) {
        .productInfo .py-1 {
            max-width: 50% !important;
            flex: 0 0 45% !important;
            padding-right: 10px !important;
        }
    }

    @media (max-width: 576px) {
        .productInfo .py-1 {
            max-width: 49% !important;
            flex: 0 0 49% !important;
        }
        .divGrossNet {
            position: absolute;
            top: 53px;
            font-size: 11px;
            right: 10px;
            float: right;
            text-align: right;
        }
        .topicons {
            padding: 24px 5px;
        }
        .BasketQuantity {
            right: 15px;
        }
    }

    @media (max-width: 335px)
    {
        .TotalsLine small {
            display: block;
            position: relative;
            top: -2px;
        }
    }