.wn-n-grid,
.wn-n-grid *,
.wn-n-grid *:before,
.wn-n-grid *:after {
    box-sizing: border-box
}

.wn-n-grid a {
    text-decoration: none !important;
    border: 0 !important
}

.item-mb-0 {
    margin-bottom: 0 !important
}

.wn-n-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    line-height: 1.3
}

.wn-n-grid__item {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    transition: all .2s linear
}

.wn-n-grid--1 .wn-n-grid__item {
    width: calc(100% - 20px)
}

.wn-n-grid--2 .wn-n-grid__item {
    width: calc(50% - 20px)
}

.wn-n-grid--3 .wn-n-grid__item {
    width: calc(33.33% - 20px)
}

.wn-n-grid--4 .wn-n-grid__item {
    width: calc(25% - 20px)
}

.wn-n-grid--5 .wn-n-grid__item {
    width: calc(20% - 20px)
}

.wngrid-item-border {
    border: 1px solid #f0f0f0;
    padding: 19px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px
}

.wngrid-item-border__img {
    position: relative;
    padding-top: 100%;
    margin-bottom: 15px;
    overflow: hidden
}

.wngrid-item-border__img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: unset !important;
    object-fit: cover !important;
    object-position: center !important
}

.wngrid-item-border__image {
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}

.wngrid-item-border__content {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.wngrid-item-border__img+.wngrid-item-border__content {
    flex: 1 0 auto
}

.wngrid-item-border__text {
    margin-bottom: 15px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #818393
}

.wngrid-item-border__link,
a.wngrid-item-border__link {
    border-bottom: 1px solid #25b8dd !important;
    color: #535e9b !important;
    text-decoration: none !important
}

.wngrid-item-border__link:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5
}

.wngrid-item-border__link:hover {
    border-color: transparent !important
}

.wngrid-item-radius {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 20px
}

.wngrid-item-radius__image {
    position: relative;
    padding-top: 100%;
    margin-bottom: 15px
}

.wngrid-item-radius__img {
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}

.wngrid-item-radius__image+.wngrid-item-radius__content {
    flex: 1 0 auto
}

.wngrid-item-radius__content {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.wngrid-item-radius__text {
    width: 100%;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: rgba(32, 32, 53, 0.5);
    margin-bottom: 15px
}

.wngrid-item-radius__link {
    padding: 5px 10px;
    background: #98c24a;
    color: #fff !important;
    text-decoration: none !important;
    border: 0 !important;
    width: 100%;
    height: auto;
    display: block;
    text-align: center
}

.wngrid-item-radius__link:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5
}

.wngrid-item-radius__link:hover {
    opacity: .7
}

.wn-n-grid--1 .wngrid-item-background {
    min-height: 100%
}

.wn-n-grid--2 .wngrid-item-background {
    min-height: 290px
}

.wn-n-grid--3 .wngrid-item-background {
    min-height: 280px
}

.wn-n-grid--4 .wngrid-item-background {
    min-height: 240px
}

.wn-n-grid--5 .wngrid-item-background {
    min-height: 220px
}

.wngrid-item-background {
    padding: 15px;
    position: relative;
    cursor: pointer
}

.wngrid-item-background:hover {
    opacity: .5
}

.wngrid-item-background__img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%
}

.wngrid-item-background__content {
    position: relative;
    z-index: 6
}

.wngrid-item-background:after {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: .6;
    z-index: 5;
    content: ""
}

.wngrid-item-background__text {
    color: #fff !important;
    font-size: 15px !important
}

.wngrid-item-background__link {
    color: #fff !important;
    text-decoration: none !important;
    width: 100%;
    height: auto;
    display: table;
    text-align: left;
    margin: 10px 0 20px 0;
    padding: 0 0 20px;
    position: relative
}

.wngrid-item-background__link:after {
    content: "";
    width: 50px;
    height: 3px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block
}

.wngrid-item-product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 25px
}

.wngrid-item-product__discount {
    width: 65px;
    height: 65px;
    position: absolute;
    left: -3px;
    top: -3px;
    display: table;
    background: url(../images/template4-discount.png) 50% 50% no-repeat;
    background-size: contain
}

.wngrid-item-product__discount div {
    display: table;
    width: 65px;
    height: 65px;
    transform: rotate(-45deg);
    line-height: 36px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 15px !important
}

.wngrid-item-product__text {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    color: #444 !important;
    background: #eee;
    border-radius: 3px 3px 0 0;
    text-align: center
}

.wngrid-item-product__img {
    width: 100%;
    height: 0;
    display: table;
    position: relative;
    padding-top: 75%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: 50% 50%;
    flex: 1 0 auto
}

.wngrid-item-product__title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.wngrid-item-product__link {
    text-decoration: none;
    color: #fff !important;
    background-color: #fa8700;
    min-width: 100px;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 3px;
    margin: 10px auto 0;
    display: inline-block;
    text-align: center
}

.wngrid-item-product__link:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5
}

.wngrid-item-product__link:hover {
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3)
}

.wngrid-list-counter {
    counter-reset: listCounter
}

.wngrid-item-counter {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px !Important
}

.wngrid-item-counter__img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    min-height: 190px;
    margin-top: auto
}

.wngrid-item-counter:before {
    counter-increment: listCounter;
    content: counter(listCounter);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    width: 30px;
    height: 30px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #324b67;
    background-color: #dfe5b9;
    border-radius: 3px
}

.wngrid-item-counter__title {
    margin-bottom: 15px;
    font-size: 19px;
    font-weight: 600;
    color: #324b67;
    line-height: 1.55
}

.wngrid-item-counter__title a {
    color: inherit
}

.wngrid-item-counter__title a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5
}

.wngrid-item-counter__text {
    margin-bottom: 20px !Important;
    font-size: 14px
}

.wngrid-item-counter__img img {
    margin: 0;
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.wngrid-item-counter__img-item {
    height: 100%;
    width: 100%;
    background: no-repeat center center;
    background-size: cover;
}


/*
 start template #6
 */

.wngrid-item-light {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px !Important;
    padding: 25px 20px;
    border: 1px solid #f1f3f5;
    border-radius: 20px;
}

.wngrid-item-light__img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
    margin: -15px -10px 20px;
    width: calc(100% + 20px);
    border-radius: 20px;
    overflow: hidden;
    height: 190px;
}

.wngrid-item-light__title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.55;
}

.wngrid-item-light__title~.wngrid-item-light__text {
    margin-bottom: 15px;
}

.wngrid-item-light__title a {
    color: inherit;
}

.wngrid-item-light__title a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
}

.wngrid-item-light__text {
    font-size: 14px;
    line-height: 1.43;
}

.wngrid-item-light__img img {
    margin: 0;
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.wngrid-item-light__img-item {
    height: 100%;
    width: 100%;
    background: no-repeat center center;
    background-size: cover;
}

/*
  end template #6
  */