.niagara-service {
    display: none;
}

.ng-selector__search {
    background-color: #eef6fa;
    padding: 20px;
}

.ng-selector__search-field {
    position: relative;
}

.ng-selector__search-field:after {
    content: "\73";
    -webkit-font-smoothing: antialiased;
    font-family: 'Niagara';
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    font-size: 20px;
    color: var(--blue-semilight);
}

.ng-selector__search-field input {
    font-size: 14px;
    border: 1px solid var(--blue-semilight);
    width: 100%;
    padding: 6px 40px 6px 8px;
}

.ng-selector__category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px -15px 0 -15px;
}

.ng-selector__category-item {
    width: 33.33%;
    padding: 15px;
}

.ng-selector__category-card {
    position: relative;
    height: 120px;
    border: 2px solid;
    border-left-width: 120px;
    border-color: var(--blue);
    padding: 20px;
    cursor: pointer;
    transition: .2s;
}

.ng-selector__category-card:hover {
    border-color: var(--blue-semilight);
}
.selected > .ng-selector__category-card,
.selected > .ng-selector__category-card:hover {
    border-color: var(--orange);
    cursor: default;
}

.ng-selector__category-card:before {
    content: "\31";
    position: absolute;
    top: 0;
    left: -120px;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    font-family: 'Niagara';
    font-size: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100%;
}
.ng-selector__category-card.van:before {
    content: "\32";
}
.ng-selector__category-card.truck:before {
    content: "\33";
}
.ng-selector__category-card.agri:before {
    content: "\34";
}
.ng-selector__category-card.industrial:before {
    content: "\35";
}

.ng-selector__category-card b {
    font-size: 18px;
    font-weight: 600;
}

.ng-selector__category-card p {
    margin: 10px 0 0;
}

.ng-selector__param {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.ng-selector__param.hide {
    display: none;
}

.ng-selector__param.blocked:after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    background-color: rgb(255 255 255 / 70%);
}

.ng-selector__select {
    width: calc(33.33% - 20px);
}

.ng-selector__select > .current {
     overflow: hidden;
    text-overflow: ellipsis; 
}

.ng-selector__select .nice-select {
    width: 100%;
}

.ng-selector {
    margin: 30px 0;
}

.ng-selector__result-data {
    background-color: #eee;
    padding: 30px;
}

.ng-selector__result-data h3 {
    font-size: 18px;
    text-transform: uppercase;
}

.ng-selector__result-data table {
    margin: 15px 0 0;
}

.ng-selector__result-data table td {
    padding: 2px 10px 2px 0;
}


.ng-selector__result-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.ng-selector__result-item {
    display: flex;
    width: 33.33%;
    padding: 15px;
}

.ng-selector__prod {
    position: relative;
    display: block;
    padding: 30px;
    border: 1px solid var(--blue);
    text-decoration: none;
    width: 100%;
}

.ng-selector__prod .mark {
    position: absolute;
    left: -1px;
    display: block;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    padding: 5px 10px;
    background-color: var(--orange);
}

.ng-selector__prod figure {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 240px;
}

.ng-selector__prod figure > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ng-selector__prod-info {
    margin: 15px 0 0;
}

.ng-selector__prod-info > b {
    display: block;
    font-size: 18px;
}

.ng-selector__prod-info > span {
    display: block;
    color: #333;
}





/*** IMPORT ***/

.ng-selector__import-form {
    display: flex;
    align-items: center;
    background-color: #eef6fa;
    padding: 20px;
}

.ng-selector__import-form-item input {
    font-size: 14px;
    border: 1px solid var(--blue-semilight);
    width: 100%;
    padding: 6px 8px;
}

.ng-selector__import-form .btn {
    padding: 8px 16px;
    margin: 0 0 0 15px;
}




.ng-selector__import-table-header {
    display: flex;
    align-items: center;
}

.ng-selector__import-table-field {
    width: 150px;
    height: 40px;
    border: 1px solid #aaa;
    border-bottom: none;
    border-right: none; 
}

.ng-selector__import-table-field::last-child {
    border-right: 1px solid #aaa;
}

.ng-selector__import-table-field input[type=checkbox] {
    display: none;
}

.ng-selector__import-table-field input[type=checkbox] + label {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    user-select: none;
}

.ng-selector__import-table-field input[type=checkbox] + label:before {
    content: "";
    display: inline-block;
    width: 16px;
    min-width: 16px;
    height: 16px;
    border: 1px solid transparent;
    margin: 10px;
}

.ng-selector__import-table-field input[type=checkbox]:checked + label:before {
    content: "\2713";
    font-weight: bold;
    background-color: var(--blue);
    border-color: var(--blue);
    color: #fff;
    text-align: center;
    line-height: 14px;
    font-size: 12px;
}

.ng-selector__import-table-field input[type=checkbox]:checked + label {
    color: #fff;
    background-color: var(--blue);
}


.ng-selector__import-table {
    border: 1px solid #ccc;
    border-collapse: collapse;
}
.ng-selector__import-table th,
.ng-selector__import-table td {
    padding: 8px;
    min-width: 150px;
    max-width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 1px solid #ccc;
    white-space: nowrap;
    height: 40px;
}
.ng-selector__import-table th {
    background-color: #eee;
}
.ng-selector__draggable {
    cursor: move;
    user-select: none;
}
.ng-selector__placeholder {
    background-color: #edf2f7;
    border: 2px dashed #cbd5e0;
    width: 150px;
    min-width: 148px;
    max-width: 148px;
}
.ng-selector__clone-list {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    display: flex;
}
.ng-selector__clone-table {
    border-collapse: collapse;
    border: none;
}
.ng-selector__clone-table th,
.ng-selector__clone-table td {
    border: 1px solid #ccc;
    border-left: none;
    border-top: none;
    padding: 8px;
    min-width: 130px;
    max-width: 130px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    height: 40px;
}
.ng-selector__dragging {
    background: #fff;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    z-index: 999;
}

.ng-selector__back {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background-color: var(--green);
    padding: 12px 30px 12px 50px;
    cursor: pointer;
    letter-spacing: 0.15px;
    transition: .1s ease-in-out;
    text-decoration: none;
    margin: 0 0 30px;
}

.ng-selector__back:hover {
    background-color: var(--green-dark);
    color: #fff;
}

.ng-selector__back:before {
    content: "\52";
    -webkit-font-smoothing: antialiased;
    font-family: 'Niagara';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 100%;
    font-size: 16px;
    transform: rotate(-180deg);
}

@media only screen and (max-width: 990px) {

    .ng-selector__category-item {
        width: 50%;
    }

    .ng-selector__param {
        flex-wrap: wrap;
    }

    .ng-selector__select {
        width: calc(50% - 20px);
        margin: 0 0 20px 0;
    }

}


@media only screen and (max-width: 768px) {

    .ng-selector__category-item {
        width: 100%;
    }

    .ng-selector__select {
        width: 100%;
    }

    .ng-selector__result-item {
        width: 50%;
    }

}

@media only screen and (max-width: 540px) {

    .ng-selector__result-item {
        width: 100%;
    }

}