﻿@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
    }
    .nnNO #prodInfo a.btn.btn-outline-secondary.float-right {
        right: 500px !important;
        top: -11px !important;
    }
}
@media (min-width: 992px) {
    .col-lg-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .search-container {
        left: -130px;
        min-width: 1070px;
    }
}

@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: auto
    }

    .ArticleListNDI .ProductMisc {
        height:auto;
    }

    .artCols {
        justify-content: center;
        -webkit-justify-content: center;
        -ms-flex-align: center
    }

    .productInfo .py-1 {
        /*padding-top: 35px !important;
        padding-top: 18px !important;
        padding-bottom: 5px !important;*/
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .col-lg-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg.col-6.px-1.py-1.stockNdiList.miscStock{
        min-width:170px;
    }
}

    @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;
        }
        .breadcrumbs {
            top: 0;
        }
        .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;
            }
        /***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***/
    }

    @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: 47%;
            max-width: none;
            margin-bottom: 10px;
            margin-right: 10px;
        }

            .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;
        }

        .removeBomItemsFromBasket {
            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;
        }

        .page-link{
            font-size:21px;
        }
    }

@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;
    }

    #BodyFrame > div.row.d-block > div > div:nth-child(3) > div.col-md-4 > div > div.col-md-9 {
        display: flex;
        justify-content: space-between;
    }

        #BodyFrame > div.row.d-block > div > div:nth-child(3) > div.col-md-4 > div > div.col-md-9 > div:nth-child(1) {
            width: 50%;
        }

        #BodyFrame > div.row.d-block > div > div:nth-child(3) > div.col-md-4 > div > div.col-md-9 > div:nth-child(2) {
            width: 50%;
        }

        #BodyFrame > div.row.d-block > div > div:nth-child(3) > div.col-md-4 > div > div.col-md-9 > div:nth-child(3) {
            position: absolute;
            top: 86px;
        }

    .SectionDeliveryMethod select {
        width: 100% !important;
    }

    .SelectionPriceList select {
        width: 100% !important;
    }

    .selection-price-list select {
        width: 96% !important;
    }

    .selection-price-list {
        justify-content: flex-start !important;
        padding-bottom: 8px;
        flex-direction: column;
    }

    .UniqueFilter {
        margin-top: 32px !important;
        border-top: 1px solid #ced4da;
    }

    .unique-filter {
        margin-top: 0px !important;
        border-top: none;
    }

    .cbfilter-container {
        width: 96% !important;
        padding-top: 10px !important;
    }

    .filters-hr-container {
        width: 96%;
    }

    .orderlineInfo > .divAxItemID {
        float: left;
        text-align: left;
    }

    .NDIBasket .Product {
        padding: 10px !important
    }

    .NDIBasket .quantity {
        float: left;
    }

    .infoDeliveryDate {
        margin: 20px 0 12px 0;
    }
}

@media(max-width:666px) {
    .productInfo .py-1 {
        max-width: 50% !important;
        flex: 0 0 45% !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 690px) {
    .productInfo .py-1 {
        max-width: 49% !important;
        flex: 0 0 49% !important;
    }

    .divGrossNet {
        position: absolute;
        font-size: 11px;
        float: right;
        text-align: right;
        width: 100%;
        right: 0;
        left: -10px;
        top: 62px;
    }

    .topicons {
        padding: 24px 5px;
    }

    .BasketQuantity {
        right: 36px;
    }
}

@media (min-width: 690px) and (max-width: 990px) {
    .BasketQuantity {
        right: 46px;
    }
}

@media (max-width: 335px) {
    .TotalsLine small {
        display: block;
        position: relative;
        top: -2px;
    }
}


@media (max-width: 372px) {
    .HeaderFrame .Logo {
        padding: 20px 0 0 0 !important;
    }

        .HeaderFrame .Logo img {
            height: 30px;
        }
}


@media(min-width: 768px) {
    .CarText a {
        padding: 8px 0px 8px 0px;
        color: #000;
        text-decoration: none;
        border-radius: 2px !important;
        font-size: 12.8px;
        width: 92px;
        vertical-align: top;
    }

    .delivery-label {
        position: relative;
        left: 26px;
        top: -28px;
        display: block;
        font-size: 12px;
        color: #000000;
    }

    .price-list-label {
        position: relative;
        left: 48px;
        top: -28px;
        display: block;
        font-size: 12px;
        color: #000000;
    }

    .price-list-dropdown {
        width: 175px !important;
    }

        .price-list-dropdown:nth-of-type(1) {
            margin-right: -28px;
        }
}

@media(min-width:992px) {
    .navrow .col-lg-9 {
        flex: 0 0 73%;
        max-width: 73%;
    }

    .navrow .col-lg-3 {
        -ms-flex: 0 0 27%;
        flex: 0 0 27%;
        max-width: 27%;
    }
}

@media (max-width: 992px) {
    .input-wrapper-snug-modal {
        display: inline-block;
        background-repeat: no-repeat;
        background-size: 200px;
    }

    .SearchRegNoBoxInputModal {
        padding: 14px 8px 14px 25px !important;
        border: none;
        width: 200px;
        font-size: 14px !important;
        font-family: 'Open Sans',sans-serif !important;
        background-repeat: no-repeat;
        background-size: 200px;
        background-color: transparent;
        color: #000;
        text-transform: uppercase;
    }

    .daDK .SearchRegNoBoxInputModal:focus {
        background-image: url(/App_Themes/shop.ndias.com/Images/RegNo/nummerpladeramme100procent.png);
    }

    .nnNO .SearchRegNoBoxInputModal:focus {
        background-image: url(/App_Themes/shop.ndias.com/Images/RegNo/nonummerpladeramme100procent.png);
    }

    .svSE .SearchRegNoBoxInputModal:focus {
        background-image: url(/App_Themes/shop.ndias.com/Images/RegNo/senummerpladeramme100procent.png);
    }

    .fiFI .SearchRegNoBoxInputModal:focus {
        background-image: url(/App_Themes/shop.ndias.com/Images/RegNo/finummerpladeramme100procent.png);
    }
}
@media (max-width: 992px) {
    .headerTextBlock .brk {
        display: block;
    }
}
@media (max-width: 1160px) {
    .headerTextBlock .brk {
        /*display: block;*/
    }

    .headerTextBlock {
        line-height: 1;
    }

    .HLink0.nav-link:first-of-type > a:first-of-type {
        padding-left: 15px;
    }

    .itemLink {
        padding: 0.75rem 0.45rem 0.45rem 0.45rem;
    }

    .pl-lg-0, .px-lg-0 {
        padding-left: 15px !important;
    }
}

@media(max-width:767px) {
    .CarText {
        margin-top: 10px;
    }
}

@media (max-width: 991px) {
    .SearchRegNoBoxInputModal {
        font-family: 'tt_supermolot_neue_expandedMd' !important;
        font-size: 15px !important;
        font-weight: 700;
    }

    .ComboBoxSelect {
        margin: 6px 0px 5px 0px;
        height: 33px;
        padding: 2px 0px 0 5px;
    }

    .siteheaderModalButtonGreen {
        padding: 12px 22px 13px;
        margin-top: -7px;
    }
}

@media (max-width: 575px) {
    .CarText a {
        width: 60px;
    }

    .CarText a {
        font-size: 8.8px;
    }

    #SiteHeader_sCarInfoVariant {
        margin-top: 10px;
    }

    .deliveryButtonsContainer {
        display: block;
        text-align: center;
    }

        .deliveryButtonsContainer > div:first-child {
            margin-bottom: 20px;
        }

    .deliveryInfoContainer .divAxItemID {
        float: left;
        text-align: left;
        width: 100% !important;
    }

    .deliveryInfoContainer #mainInfo {
        padding: 0 8px;
    }

    .eprel > span > img {
        width: 100%;
    }

    .orderlineInfo > div:nth-child(2) > div:nth-child(1) {
        width: 90%;
    }

}

@media(min-width: 1160px) {
    .carinfoTopline {
        padding-left: 15px;
    }
}

@media (max-width: 375px) {
    .UniqueFilter .Row .Group {
        width: 46%;
    }
}

@media (max-width: 1165px) {
    .literalPopup {
        display: none !important;
    }
}