@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Baloo+Bhaina:wght@400;700&family=Paytone+One&family=Roboto:wght@400;700&family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.font-h{
    font-family: "Baloo Bhaina", sans-serif;
    font-style: normal;
    padding-top: 10px;
}
.font-h-400{
    font-family: "Baloo Bhaina", sans-serif;
    font-style: normal;
    font-weight: 400;
}
a {
    transition: opacity 150ms linear, color 150ms linear, background 150ms linear;
}
:root {
    --primary: #1e73be;
    --second: #ff2d37;
  }
 .scrollbar {
     overflow-y: overlay;
 }

 .scrollbar::-webkit-scrollbar-track {
     -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
     border-radius: 10px;
     background-color: #F5F5F5;
 }

 .scrollbar::-webkit-scrollbar {
     width: 6px;
     background-color: #F5F5F5;
 }

 .scrollbar::-webkit-scrollbar-thumb {
     border-radius: 10px;
     -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
     background-color: #D62929;
 }
.clamp-1 {
    text-overflow: ellipsis;
    line-height: 20px;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-2{
    text-overflow: ellipsis;
        line-height: 20px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
            overflow: hidden;
}
.clamp-3 {
    text-overflow: ellipsis;
    line-height: 20px;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.box_content img {
    margin: 10px auto;
    max-width: 100%;
    height: auto !important;
}

.box_content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 10px;
    font-style: 16px
}

.box_content p {
    margin-bottom: 10px;
    /*word-break: break-all;*/
}

.box_content h2,
.box_content h3,
.box_content h4,
.box_content h5 {
    margin-bottom: 10px;
}
.box_content iframe{
    margin: 0px auto;
    max-width: 100% !important;
}
.box_content h2 {
    font-size: 18px;
    font-weight: bold;
}

.box_content h3 {
    font-size: 16px;
    font-weight: 600;
}
.box_content h4,
.box_content h5{
    font-weight: 500;
}

/* Site header sticky */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Desktop menu header */
.menu-header > li > a {
    color: #000;
}
.menu-header > li.active > a {
    color: #00a651;
}
.menu-header > li.active > a > span::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #00a651;
    margin-top: 4px;
}
.menu-header-child li:last-child {
    border-bottom: 0px;
}
.menu-header-child {
    -moz-transition: .3s ease-in;
    -o-transition: .3s ease-in;
    -webkit-transition: .3s ease-in;
    -ms-transition: .3s ease-in;
    transition: .3s ease-in;
    -moz-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 0;
    visibility: hidden;
}
.menu-header li:hover .menu-header-child {
    opacity: 1;
    visibility: visible;
}

/* Image hover zoom */
.zoom-effect img {
    transition: transform 0.3s ease-in-out;
}
.zoom-effect:hover img,
.group:hover .zoom-effect img {
    transform: scale(1.1);
}
.date_label {
    position: absolute;
    left: 0;
    top: 30px;
    z-index: 20;
    background-color: #f8f8f8;
    border-radius: 4px;
    font-size: 12px;
    line-height: 18px;
    display: inline-block;
    padding: 2px 5px;
}
.date_label:after {
    border-left-color: #f8f8f8;
    content: "";
    display: block;
    position: absolute;
    right: -5px;
    top: 6px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5.5px 0 5.5px 5px;
    border-color: transparent;
    border-left-color: #f8f8f8;
}
.pagination {
    display: inline-block;
}
.pagination li {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    background: #f3f5f7;
    font-weight: 600;
    margin: 0px 2px;
}

.pagination li.active {
    background-color: #20b200;
    color: white;
}

.pagination li:hover:not(.active) {
    background-color: #ddd;
}
