/* #region custom block */
.nat-custom-list-posts {
    display: flex;
    width: 100%;
    margin: 15px 0 0 0;
    padding: 0;
    flex-wrap: wrap;
}

.ncb-1-images img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.nat-custom-main-block-2 .clearfix {
    display: none !important;
}

.nat-custom-list-posts > li:first-child,
.nat-custom-list-posts > li:nth-child(7),
.nat-custom-list-posts > li:nth-child(8) {
    width: 66.66%;
}

.nat-custom-list-posts > li {
    margin: 0;
    width: 33.33%;
    display: grid;
}

.card-body .card-header h2 a {
    padding-left: 35px;
}

a:active,
a:focus {
    text-decoration: none;
}

.card-body .collapse .card-body ul {
    margin-left: 10px;
}

.nat-custom-block-1 {
    background: #eaf0f5;
    height: 550px;
    position: relative;
}

.nat-custom-list-posts > li:nth-child(8) .nat-custom-block-1 {
    margin-right: 15px;
}

@media screen and (min-width: 980px) {
    .nat-custom-list-posts > li:first-child > div {
        margin: 0 15px 0 0;
        height: auto;
    }

    .nat-custom-main-block-2 {
        padding-left: 0;
    }
}

.ncb-1-images a {
    height: 180px;
    display: block;
    overflow: hidden;
    opacity: 1 !important;
}

@media screen and (max-width: 979px) {
    .nat-custom-block-sidebar {
        display: none;
    }

    .ncb-1-images a {
        height: 180px;
    }

    .ncb-1-images img {
        height: 100%;
        object-fit: cover;
    }

    .nat-custom-list-posts li:first-child .ncb-1-images a,
    .nat-custom-list-posts li:nth-child(7) .ncb-1-images a,
    .nat-custom-list-posts li:nth-child(8) .ncb-1-images a {
        height: 244px !important;
    }
}

.nat-custom-list-posts > li:nth-child(3) .nat-custom-block-1,
.nat-custom-list-posts > li:nth-child(4) .nat-custom-block-1 {
    margin: 15px 15px 0 0;
}

.ncb-1-tag {
    margin: 15px 0 0px 15px;
    font-size: 13px;
    background: #2680eb;
    display: inline-block;
    padding: 3px 8px;
}

    .ncb-1-tag a {
        color: #fff;
    }
	
	.ncb-1-tag a h3 {
        margin: unset;
		font-size: 13px;
    }

.ncb-1-page-title {
    padding: 15px;
    font-family: GoogleSans Medium, Arial, sans-serif;
}

.nat-custom-list-posts > li:first-child .ncb-1-page-title,
.nat-custom-list-posts > li:nth-child(7) .ncb-1-page-title,
.nat-custom-list-posts > li:nth-child(8) .ncb-1-page-title {
    font-size: 22px;
    font-family: GoogleSans Medium, Arial, sans-serif;
}

.nat-custom-list-posts li:nth-child(6) .nat-custom-block-1 {
    margin: 15px 15px 15px 0;
}

.nat-custom-list-posts li:nth-child(7) .nat-custom-block-1 {
    margin-top: 15px;
}

.nat-custom-list-posts li:nth-child(5) {
    margin-top: 15px;
    background: url(/sites/amis-blog/images/pages/home/bg-main-register.jpg) no-repeat center;
    background-size: cover;
}

.ncb-1-created-date {
    padding: 0 0 15px 15px;
    position: absolute;
    bottom: 0;
}

.highlight-title {
    background: #2680eb;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
}

.block-highlight-contaner {
    padding: 10px 15px;
    margin-bottom: 10px;
    background: #eaf0f5;
}

li .block-highlight-contaner:last-child {
    margin-bottom: 0;
}

.ncb-1-page-title a {
    color: #002856;
    font-size: 22px;
}

.ncb-1-sumary {
    font-size: 16px;
    padding: 0 15px;
    font-family: GoogleSans, Arial, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.block-highlight-title {
    font-size: 15px;
    color: #002856;
    font-family: GoogleSans Medium, Arial, sans-serif;
}

.block-category {
    font-size: 11px;
    padding-top: 10px;
}

.ncb-1-images {
    border-bottom: solid 2px #FED800;
    overflow: hidden;
}

.nat-custom-list-posts li:first-child .ncb-1-images a,
.nat-custom-list-posts li:nth-child(7) .ncb-1-images a,
.nat-custom-list-posts li:nth-child(8) .ncb-1-images a {
    height: 330px;
    display: block;
    overflow: hidden;
}

.block-highlight-contaner:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

a:active,
a:focus {
    text-decoration: none !important;
}

.nat-custom-list-posts > li .ncb-1-page-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/*#region block-highlight */

.cat-highlight-block-wrap {
	display: flex;
    flex-direction: column;
}

.cat-highlight-block {
	height: 100%;
	border: solid 2px #FF7F00;
}

.cat-highlight-title {
    padding: 15px;
}

    .cat-highlight-title a {
        font-family: GoogleSans, Arial, sans-serif;
        font-size: 16px;
        display: inline-block;
        background: #FF7F00;
        color: #fff;
        text-align: center;
        padding: 7px 12px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cat-highlight-title .ic_newsletter {
        width: 30px;
        margin-right: 10px;
    }

.post-highlight {
    padding: 15px;
    position: relative;
}

.post-highlight-title {
    font-family: GoogleSans Medium, Arial, sans-serif;
    color: #002856;
    font-size: 16px;
    opacity: 1 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

	.post-highlight-title span {
		color: #FF7F00;
	}

.post-highlight:not(:first-child) .post-highlight-title:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
}

.post-highlight-date {
    padding-top: 6px;
}

@media (max-width: 768px) {
    .post-highlight-title {
        -webkit-line-clamp: 2;
    }
	
	.banner-horizontal-wesign {
		display: none;
	}
}

/*#endregion */

@media (min-width: 980px) {
    .nat-custom-list-posts > li:first-child .ncb-1-page-title a, .nat-custom-list-posts > li:nth-child(7) .ncb-1-page-title a, .nat-custom-list-posts > li:nth-child(8) .ncb-1-page-title a {
        -webkit-line-clamp: 2;
    }

    .nat-custom-list-posts li:first-child .ncb-1-sumary, .nat-custom-list-posts li:nth-child(7) .ncb-1-sumary, .nat-custom-list-posts li:nth-child(8) .ncb-1-sumary {
        -webkit-line-clamp: 2;
    }

    .nat-custom-block-1 .ncb-1-images img,
    .nat-custom-block-2 .ncb-2-images img {
        transition: transform 0.2s ease, opacity 0.2s;
        -webkit-transition: -webkit-transform 0.2s ease, opacity 0.2s;
        transition-timing-function: ease;
    }

    .nat-custom-block-1:hover .ncb-1-images img,
    .nat-custom-block-2:hover .ncb-2-images img {
        transform: scale3d(1.08, 1.08, 1);
        -webkit-transform: scale3d(1.08, 1.08, 1);
        -moz-transform: scale3d(1.08, 1.08, 1);
        -o-transform: scale3d(1.08, 1.08, 1);
        -ms-transform: scale3d(1.08, 1.08, 1);
    }
}

@media screen and (max-width: 979px) and (min-width: 768px) {
    .nat-custom-list-posts > li:nth-child(1) .nat-custom-block-1 {
        margin-right: 15px;
        height: auto;
    }
}

@media screen and (max-width: 979px) {
    .nat-custom-block-1 {
        height: 450px;
    }

    .ncb-1-page-title {
        font-size: 20px;
    }

    .nat-custom-list-posts > li:first-child .ncb-1-page-title,
    .nat-custom-list-posts > li:nth-child(7) .ncb-1-page-title,
    .nat-custom-list-posts > li:nth-child(8) .ncb-1-page-title {
        font-size: 24px;
    }

    .nat-custom-list-posts li:first-child img,
    .nat-custom-list-posts li:nth-child(7) img,
    .nat-custom-list-posts li:nth-child(8) img {
        height: 246px;
    }

    .nat-custom-list-posts > li .ncb-1-page-title a {
        -webkit-line-clamp: 4;
        font-size: 20px;
    }

    .ncb-1-sumary {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .nat-custom-block-1 {
        height: 400px;
    }

    .ncb-1-images a {
        height: 180px !important;
    }

    .nat-custom-list-posts li:first-child .ncb-1-images a,
    .nat-custom-list-posts li:nth-child(7) .ncb-1-images a,
    .nat-custom-list-posts li:nth-child(8) .ncb-1-images a {
        height: 180px !important;
    }

    .nat-custom-list-posts li:first-child .nat-custom-block-1 {
        margin-bottom: 15px;
    }

    .nat-custom-list-posts li:first-child img,
    .nat-custom-list-posts li:nth-child(7) img,
    .nat-custom-list-posts li:nth-child(8) img {
        height: 100%;
        object-fit: cover;
    }

    .nat-custom-list-posts li {
        width: 100%;
    }

    .nat-custom-list-posts > li:first-child,
    .nat-custom-list-posts > li:nth-child(7),
    .nat-custom-list-posts > li:nth-child(8) {
        width: 100%;
    }

        .nat-custom-list-posts > li:nth-child(8) .nat-custom-block-1,
        .nat-custom-list-posts li:nth-child(6) .nat-custom-block-1,
        .nat-custom-list-posts > li:nth-child(3) .nat-custom-block-1 {
            margin: 15px 0 15px 0;
        }

        .nat-custom-list-posts > li:nth-child(4) .nat-custom-block-1,
        .nat-custom-list-posts > li:nth-child(7) .nat-custom-block-1 {
            margin-right: 0;
            margin-top: 0;
        }

    .page-title {
        font-size: 32px;
    }

    .nat-custom-list-posts > li:first-child .ncb-1-page-title,
    .nat-custom-list-posts > li:nth-child(7) .ncb-1-page-title,
    .nat-custom-list-posts > li:nth-child(8) .ncb-1-page-title,
    .ncb-1-page-title {
        font-size: 22px;
    }
}

.clearfix {
    display: none !important;
}
/*#endregion*/
/* banner slider category  */
.right-banner .owl-dots {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    position: absolute;
    bottom: 0px;
}
.owl-carousel.right-banner{
    width: 346px;
    margin-top: 10px;
}
.right-banner .owl-nav {
    display: none;
}
/* end  */