/* general */

.part-newsbox_with_image {
    padding-top:52px;
    padding-bottom:52px;
}

.part-newsbox_with_image h2.component-heading {
    margin-bottom:48px;
}

.part-newsbox_with_image .component-body .com-content {
    margin-top:-52px;
    margin-bottom:52px;
}

.part-newsbox_with_image .component-body .com-content * {
    font-size:22px;
    line-height:1.6em;
    text-align:center;
}

@media only screen and (max-width:1323px) {
    .part-newsbox_with_image .component-body .com-content {
        margin-top:-42px;
    }
}

@media only screen and (max-width:639px) {
    .part-newsbox_with_image .component-body .com-content * {
        font-size:18px;
    }
}

@media only screen and (max-width:479px) {
    .part-newsbox_with_image {
        padding-top:32px;
        padding-bottom:32px;
    }
    
    .part-newsbox_with_image h2.component-heading {
        margin-bottom:30px;
    }
    
    .part-newsbox_with_image .component-body .com-content {
        margin-top:-32px;
        margin-bottom:32px;
    }
}

/* product */

.part-newsbox_with_image.product .item {
    
}

@media only screen and (min-width:994px) {

    .part-newsbox_with_image.product .item {
        display:flex;
        flex-direction:column;
        justify-content:center;
        min-height:440px;
        position:relative;
        padding-right:calc(50% + 56px);
        padding-top:52px;
        padding-bottom:52px;
    }
    
    .part-newsbox_with_image.product .item:nth-child(1) {
        z-index:4;
    }
    
    .part-newsbox_with_image.product .item:nth-child(2) {
        z-index:3;
    }
    
    .part-newsbox_with_image.product .item:nth-child(3) {
        z-index:2;
    }
    
    .part-newsbox_with_image.product .item:nth-child(4) {
        z-index:1;
    }
    
    .part-newsbox_with_image.product .item::after {
        content:"";
        display:block;
        position:absolute;
        left:0;
        top:100%;
        width:100%;
        height:56px;
        background-repeat:no-repeat;
       background-image: url(../img/main_cat_shadow.webp);
        background-size:contain;
    }

    .part-newsbox_with_image.product .item .img {
        position:absolute;
        width:calc(50% - 56px);
        height:100%;
        top:0;
        right:0;
    }

    .part-newsbox_with_image.product .item .img img {
        display:block;
        position:relative;
        z-index:1;
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center center;
    }

    .part-newsbox_with_image.product .item .img::before {
        content:"";
        pointer-events:none;
        display:block;
        position:absolute;
        z-index:2;
        top:0;
        left:0;
        width:100%;
        height:100%;
        opacity:0;
        transition:0.5s;
        background-color:rgba(0,0,0,0.5);
    }

    .part-newsbox_with_image.product .item .img::after {
        content:"";
        display:block;
        pointer-events:none;
        transition:0.5s;
        opacity:0.5;
        width:120px;
        height:120px;
        position:absolute;
        z-index:3;
        bottom:70px;
        left:70px;
        transform:translatey(50%) translatex(-50%);
        background-size:contain;
        background-position:center center;
        background-repeat:no-repeat;
    }

    .part-newsbox_with_image.product .item .img:hover::before {
        opacity:1;
    }

    .part-newsbox_with_image.product .item .img:hover::after {
        opacity:0.7;
        width:200px;
        height:200px;
        bottom:50%;
        left:50%;
    }

    .part-newsbox_with_image.product .item *:not(a) {
        font-size:16px;
        font-weight:300;
        padding:0;
        margin:0;
        text-align:left !important;
    }

    .part-newsbox_with_image.product .item > h3:first-of-type {
        font-size:48px;
        line-height:1.4em;
        font-weight:300;
        margin-bottom:16px;
    }

    .part-newsbox_with_image.product .item > h3:first-of-type a {
        font-size:inherit;
        line-height:inherit;
        font-weight:inherit;
    }

    .part-newsbox_with_image.product .item > a {
        margin-top:32px;
        align-self:flex-start;
    }

    /* product item even */

    .part-newsbox_with_image.product .item:nth-child(odd) {
        padding-left:calc(50% + 56px);
        padding-right:0;
    }

    .part-newsbox_with_image.product .item:nth-child(odd) .img {
        right:auto;
        left:0;
    }

    .part-newsbox_with_image.product .item:nth-child(odd) .img::after {
        left:auto;
        right:70px;
        transform:translatey(50%) translatex(50%);
    }

    .part-newsbox_with_image.product .item:nth-child(odd) .img:hover::after {
        right:50%;
        left:auto;
    }

    /* product item icons */
 
    
}

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

    .part-newsbox_with_image.product {
        padding-bottom:26px;
    }

    .part-newsbox_with_image.product .component-body {
        display:flex;
        flex-wrap:wrap;
    }

    .part-newsbox_with_image.product .com-content {
        flex-basis:100%;
    }

    .part-newsbox_with_image.product .component-body > .clear,
    .part-newsbox_with_image.product .component-body > .next-btn {
        display:none;
    }

    .part-newsbox_with_image.product .item {
        width:100%;text-align: center;
        margin-bottom:48px;
    }
/*
    .part-newsbox_with_image.product .item > * {
        display:none;
    }
*/
    .part-newsbox_with_image.product .item > .img,
    .part-newsbox_with_image.product .item > h3 {
        display:block;
    }

    .part-newsbox_with_image.product .item > .img {
        width:100%;
        height:100%;
        margin-left:auto;
        margin-right:auto;
        margin-bottom:20px;
        background-repeat:no-repeat;
        background-position:center center;
        background-size:contain;
    }

    .part-newsbox_with_image.product .item > h3 {
        font-weight:300;
        text-align:center;
    }
/*
    .part-newsbox_with_image.product .item > .img img {
        display:none;
    }
*/
    .part-newsbox_with_image.product .item > .img a {
        display:block;
        width:100%;
        height:100%;
    }

    /* product item icons */

    .part-newsbox_with_image.product .item:nth-child(2) .img {
        background-image:url('../gfx/icon_belteri_color.svg');
    }
    
    .part-newsbox_with_image.product .item:nth-child(3) .img {
        background-image:url('../gfx/icon_sines_color.svg');
    }

    .part-newsbox_with_image.product .item:nth-child(4) .img {
        background-image:url('../gfx/icon_kulteri_color.svg');
    }

    .part-newsbox_with_image.product .item:nth-child(5) .img {
        background-image:url('../gfx/icon_fenyforras_color.svg');
    }

    .part-newsbox_with_image.product .item:nth-child(6) .img {
        background-image:url('../gfx/icon_smart_color.svg');
    }
    
}

@media only screen and (max-width:639px) {
    .part-newsbox_with_image.product {

    }

    .part-newsbox_with_image.product .item {
        margin-bottom:32px;
    }

    .part-newsbox_with_image.product .item > .img {
        width:100%;
        height:100%;
    }
}

@media only screen and (max-width:479px) {
    .part-newsbox_with_image.product .item {
        margin-bottom:20px;
    }

    .part-newsbox_with_image.product .item > .img {
        width:100%;
        height:100%;
    }

    .part-newsbox_with_image.product .item > h3 {
        font-size:18px;
    }
}

/* product end */

/* blog */

/* general */

.part-newsbox_with_image.blog {
    background-color:var(--blk);
    padding-bottom:52px;
}

.part-newsbox_with_image.blog * {
    color:#ffffff;
}

.part-newsbox_with_image.blog .clear {
    display:none;
}

.part-newsbox_with_image.blog .next-btn {
    padding-top:32px;
    flex-basis:100%;
}

.part-newsbox_with_image.blog h2.component-heading,
.part-newsbox_with_image.blog .component-body {
    margin-left:auto;
    margin-right:auto;
    width:1274px;
}

.part-newsbox_with_image.blog .component-body {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
}

@media only screen and (min-width:994px) and (max-width:1323px) {
    .part-newsbox_with_image.blog h2.component-heading,
    .part-newsbox_with_image.blog .component-body {
        width:960px;
    }
}

@media only screen and (min-width:640px) and (max-width:993px) {
    .part-newsbox_with_image.blog h2.component-heading,
    .part-newsbox_with_image.blog .component-body {
        width:624px;
    }
}

@media only screen and (min-width:480px) and (max-width:639px) {
    .part-newsbox_with_image.blog h2.component-heading,
    .part-newsbox_with_image.blog .component-body {
        width:460px;
    }
}

@media only screen and (max-width:479px) {
    .part-newsbox_with_image.blog {
        padding-bottom:32px;
    }
    
    .part-newsbox_with_image.blog h2.component-heading,
    .part-newsbox_with_image.blog .component-body {
        width:auto;
        padding-left:15px;
        padding-right:15px;
    }
}

/* item */

.part-newsbox_with_image.blog .item {
    width:calc(33% - 56px);
    display:flex;
    flex-direction:column;
}

.part-newsbox_with_image.blog .item > * {
    font-size:18px;
    text-align:left !important;
    font-weight:normal;
    margin:0;
}

.part-newsbox_with_image.blog .item .img {
    height:326px;
    margin-bottom:24px;
}

.part-newsbox_with_image.blog .item .img img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}

.part-newsbox_with_image.blog .item > h3 {
    font-size:32px;
    margin-bottom:15px;
    font-weight:bold;
}

.part-newsbox_with_image.blog .item .mask {
    flex-grow:1;
}

.part-newsbox_with_image.blog .item > a {
    font-weight:bold;
    margin-top:32px;
    align-self:flex-start;
}

.part-newsbox_with_image.blog .next-btn::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

.part-newsbox_with_image.blog .next-btn a {
    padding:0 56px 0 0;
    background:none;
    color:var(--pri);
    float:right;
    background-repeat:no-repeat;
    background-image:url('../gfx/nbwi_chevron.svg');
    background-size:18px;
    background-position:right 20px center;
}

.part-newsbox_with_image.blog .next-btn a:hover {
    background-position:right 0 center;
}

@media only screen and (min-width:994px) and (max-width:1323px) {
    .part-newsbox_with_image.blog .item .img {
        height:238px;
    }
}

@media only screen and (max-width:993px) {
    .part-newsbox_with_image.blog {
        padding-bottom:32px;
    }

    .part-newsbox_with_image.blog .component-body {
        /* display:block; */
    }

    .part-newsbox_with_image.blog .component-body .item {
        display:block;
        width:auto;
        margin-bottom:32px;
        width:calc(100% - 16px);
    }

    .part-newsbox_with_image.blog .next-btn a {
        padding-right:56px;
    }
}

@media only screen and (min-width:640px) and (max-width:993px) {
    .part-newsbox_with_image.blog .item .img {
        height:296px;
    }
}

@media only screen and (max-width:639px) {
    .part-newsbox_with_image.blog .item > * {
        display:none;
    }

    .part-newsbox_with_image.blog .item > h3,
    .part-newsbox_with_image.blog .item .img {
        display:block;
    }

    .part-newsbox_with_image.blog .item > h3 {
        font-size:24px;
    }

}

@media only screen and (min-width:480px) and (max-width:639px) {
    .part-newsbox_with_image.blog .item .img {
        height:214px;
    }
}

@media only screen and (max-width:479px) {
    .part-newsbox_with_image.blog .item .img {
        height:44vw;
    }
    
    .part-newsbox_with_image.blog .component-body .item {     
        width:calc(50% - 8px);
    }
}

@media only screen and (max-width:479px) {
    .part-newsbox_with_image.blog .component-body .item {
        margin-bottom:0;
    }
    
    .part-newsbox_with_image.blog .item > h3 {
        font-size:18px;
    }
}

/* blog end */




@media only screen and (min-width:992px) {
 .portlet-content.box.part-newsbox_with_image.product.container {
    flex-direction: row !important;
	flex-wrap: wrap;
}
    .portlet-content.box.part-newsbox_with_image.product.container .item {
        width: 33.3%;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: start;margin-bottom: 20px;
    }
.portlet-content.box.part-newsbox_with_image.product.container .item .img {
    position: relative;
    width: 100%;
    height: 280px;
}
	.part-newsbox_with_image.product .item::after{display:none;}
	.part-newsbox_with_image.product .item > h3:first-of-type {
        font-size: 24px;
        margin-top: 15px;
    }
 
	.part-newsbox_with_image.product .item { padding-right: 0}
	
	
}