@font-face {
    font-family: "DM_Sans";
    font-weight: 400;
    src: url('../fonts/DM_Sans/DMSans-Regular.ttf');
}

@font-face {
    font-family: "DM_Sans";
    font-weight: 500;
    src: url('../fonts/DM_Sans/DMSans-Medium.ttf');
}

@font-face {
    font-family: "DM_Sans";
    font-weight: 700;
    src: url('../fonts/DM_Sans/DMSans-Bold.ttf');
}

* {
    font-family: DM_Sans !important;
}

html {
    scroll-behavior: smooth;
}

.animation-03s {
    transition-property: all;
    transition-duration: 0.3s;
}

.animation-05s {
    transition-property: all;
    transition-duration: 0.5s;
}

.pagination-group .swiper-pagination-bullet {
    transition-property: all;
    transition-duration: 0.3s;
}

.pagination-group .swiper-pagination-bullet-active {
    width: 30px !important;
    border-radius: 10px !important;
    background: #6B7280 !important;
}

.menu {
    animation-name: menu;
    animation-duration: 2s;
}

.menu-inside {
    height: 48px;
    overflow: hidden;
    animation-name: menuInside;
    animation-duration: 3s;
}

.container-menu-item {
    transition-property: all;
    transition-duration: 0.5s;
    animation-name: menuItem;
    animation-duration: 3.5s;
}

@keyframes menu {
    0% {
        top: -100px;
    }
    80% {
        top: -100px;
    }
    100% {
        top: 1.25rem;
    }
}

@keyframes menuInside {
    0% {
        overflow: hidden;
        width: 48px;
        height: 48px;
    }
    70% {
        overflow: hidden;
        width: 48px;
        height: 48px;
    }
    100% {
        overflow: hidden;
        width: 100%;
        height: 48px;
    }
}

@keyframes menuItem {
    0% {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.show-menu {
    animation-name: showMenu;
    animation-duration: 1s;
}

.show-menu .menu-inside {
    animation-name: showMenuInside;
    animation-duration: 1s;
}

.close-menu-container {
    animation-name: closeMenuContainer;
    animation-duration: 1s;
}

.close-menu {
    height: 48px;
    overflow: hidden;
    animation-name: closeMenu;
    animation-duration: 1s;
}

@keyframes closeMenuContainer {
    0%,
    40% {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-items: center;
        top: 50%;
        transform: translateY(-50%);
    }
    70%,
    100% {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-items: center;
        top: 1.25rem;
        transform: translateY(0%);
    }
}

@keyframes closeMenu {
    0% {
        width: 100%;
        height: 100%;
    }
    40% {
        width: 48px;
        height: 48px;
    }
    70% {
        width: 48px;
        height: 48px;
    }
    100% {
        width: 100%;
        height: 48px;
    }
}

@keyframes showMenu {
    0% {
        top: 1.25rem;
        transform: translateY(0%);
    }
    40% {
        top: 1.25rem;
        transform: translateY(0%);
    }
    70% {
        top: 50%;
        transform: translateY(-50%);
    }
    100% {
        top: 50%;
        transform: translateY(-50%);
    }
}

@keyframes showMenuInside {
    0% {
        width: 100%;
        height: 48px;
        overflow: hidden;
    }
    40% {
        width: 48px;
        height: 48px;
        overflow: hidden;
    }
    100% {
        width: 48px;
        height: 48px;
        overflow: hidden;
    }
}

.show-menu .container-menu-item {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.1s;
}

.close-menu .container-menu-item {
    opacity: 1;
    transition-property: all;
    transition-duration: 0.2s;
    transition-delay: 1s;
}

.menu-item {
    transition-property: all;
    transition-duration: 0.3s;
}

.menu-full {
    display: block !important;
    animation-name: menuFull;
    animation-duration: 1.2s;
}

@keyframes menuFull {
    0% {
        display: block;
        border-radius: 50%;
        transform: scale(0, 0);
    }
    50% {
        display: block;
        border-radius: 50%;
        transform: scale(0, 0);
    }
    80% {
        display: block;
        border-radius: 0px;
        transform: scale(1, 1);
    }
    100% {
        display: block;
        border-radius: 0px;
        transform: scale(1, 1);
    }
}

.slide-home .next::after {
    content: '';
}

.slide-home .prev::after {
    content: '';
}

.slide-home .next {
    right: 20px !important;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    align-items: center;
    justify-items: center;
    border-radius: 100%;
    transform: translateY(-70%);
    transition-property: all;
    transition-duration: 0.3s;
}

.slide-home .prev {
    left: auto !important;
    right: 20px !important;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    align-items: center;
    justify-items: center;
    border-radius: 100%;
    transform: translateY(70%);
    transition-property: all;
    transition-duration: 0.3s;
}

.slide-home .next::before,
.slide-home .prev::before {
    position: absolute;
    z-index: -1;
    content: '';
    width: 50px;
    height: 50px;
    background-color: #6B7280;
    opacity: 0;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
}

.slide-home .next::after,
.slide-home .prev::after {
    position: absolute;
    z-index: -1;
    content: '';
    width: 60px;
    height: 60px;
    background-color: #6B7280;
    opacity: 0;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
}

.slide-home .next:hover,
.slide-home .prev:hover {
    background-color: #6B7280;
    border: 1px solid #6B7280;
}

.slide-home .next:hover::before,
.slide-home .prev:hover::before {
    opacity: 0.5;
}

.slide-home .next:hover::after,
.slide-home .prev:hover::after {
    opacity: 0.2;
}

.group-pln .next,
.group-pln .prev {
    width: 40px;
    height: 40px;
    border: 1px solid #6B7280;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
    position: relative;
    cursor: pointer;
}

.group-pln .next:hover,
.group-pln .prev:hover {
    background-color: #6B7280;
    color: white;
}

.group-pln .next::before,
.group-pln .prev::before {
    position: absolute;
    z-index: 1;
    content: '';
    width: 50px;
    height: 50px;
    background-color: #6B7280;
    opacity: 0;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
}

.group-pln .next::after,
.group-pln .prev::after {
    position: absolute;
    z-index: 1;
    content: '';
    width: 60px;
    height: 60px;
    background-color: #6B7280;
    opacity: 0;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
}

.group-pln .next:hover::before,
.group-pln .prev:hover::before {
    opacity: 0.5;
}

.group-pln .next:hover::after,
.group-pln .prev:hover::after {
    opacity: 0.2;
}

.go-top {
    cursor: pointer;
}

.go-top::before {
    position: absolute;
    z-index: 1;
    content: '';
    width: 50px;
    height: 50px;
    background-color: #6B7280;
    opacity: 0;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
}

.go-top::after {
    position: absolute;
    z-index: 1;
    content: '';
    width: 60px;
    height: 60px;
    background-color: #6B7280;
    opacity: 0;
    border-radius: 100%;
    transition-property: all;
    transition-duration: 0.3s;
}

.go-top:hover::before {
    opacity: 0.5;
}

.go-top:hover::after {
    opacity: 0.2;
}

.content-texteditor {
    font-family: 'DM_Sans' !important;
    text-align: justify;
}

.content-texteditor ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.content-texteditor ul li {
    list-style-type: disc;
}

.content-texteditor ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.content-texteditor h1 {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
    font-weight: bold !important;
}

.content-texteditor h2 {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
    font-weight: bold !important;
}

.content-texteditor h3 {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
    font-weight: bold !important;
}

.content-texteditor h4 {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    font-weight: bold !important;
}

.content-texteditor h5 {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    font-weight: bold !important;
}

.content-texteditor h6 {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
    font-weight: bold !important;
}

.content-texteditor p {
    margin-top: 1rem !important;
    font-family: DM_Sans !important;
}

.content-texteditor span {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

.pagin {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0px;
}

.pagin nav .pagination {
    font-size: 0.9rem;
}

.pagin nav .pagination .disabled .page-link {
    font-family: Montserrat-Bold;
    color: #5f5f5f;
    margin: 0px 5px;
    background-color: transparent;
    border: 1px solid transparent;
}

.pagin nav .pagination .page-item a {
    color: #5f5f5f;
    margin: 0px 5px;
    background-color: transparent;
    border: 1px solid transparent;
}

.pagin nav .pagination .active .page-link {
    font-family: Montserrat-Bold;
    color: #fff;
    margin: 0px 5px;
    background-color: red;
    border: 1px solid transparent;
}

.berita-home {
    background-size: 100%;
    background-position: center top;
    transition: background-size 0.3s linear;
}

.berita-home:hover {
    background-size: 110%;
}

.share-social::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0A8CCC;
    z-index: 999;
    bottom: 0;
    transform: translateY(100%);
    z-index: 99999;
}

@media (min-width: 640px) {
    .menu-inside {
        height: 58px;
    }
    .close-menu {
        height: 58px;
    }
    @keyframes menuInside {
        0% {
            overflow: hidden;
            width: 58px;
            height: 58px;
        }
        70% {
            overflow: hidden;
            width: 58px;
            height: 58px;
        }
        100% {
            overflow: hidden;
            width: 100%;
            height: 58px;
        }
    }
    @keyframes closeMenu {
        0% {
            width: 100%;
            height: 100%;
        }
        40% {
            width: 58px;
            height: 58px;
        }
        70% {
            width: 58px;
            height: 58px;
        }
        100% {
            width: 100%;
            height: 58px;
        }
    }
    @keyframes showMenuInside {
        0% {
            width: 100%;
            height: 58px;
            overflow: hidden;
        }
        40% {
            width: 58px;
            height: 58px;
            overflow: hidden;
        }
        100% {
            width: 58px;
            height: 58px;
            overflow: hidden;
        }
    }
}

@media (min-width: 768px) {
    .menu-inside {
        height: 70px;
    }
    .close-menu {
        height: 70px;
    }
    .content-texteditor span {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
    }
    @keyframes menuInside {
        0% {
            overflow: hidden;
            width: 70px;
            height: 70px;
        }
        70% {
            overflow: hidden;
            width: 70px;
            height: 70px;
        }
        100% {
            overflow: hidden;
            width: 100%;
            height: 70px;
        }
    }
    @keyframes closeMenu {
        0% {
            width: 100%;
            height: 100%;
        }
        40% {
            width: 70px;
            height: 70px;
        }
        70% {
            width: 70px;
            height: 70px;
        }
        100% {
            width: 100%;
            height: 70px;
        }
    }


    .content-texteditor h1 {
        font-size: 2.25rem !important;
        line-height: 2.5rem !important;
        font-weight: bold !important;
    }

    .content-texteditor h2 {
        font-size: 1.875rem !important;
        line-height: 2.25rem !important;
        font-weight: bold !important;
    }

    .content-texteditor h3 {
        font-size: 1.5rem !important;
        line-height: 2rem !important;
        font-weight: bold !important;
    }

    .content-texteditor h4 {
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
        font-weight: bold !important;
    }

    .content-texteditor h5 {
        font-size: 1.125rem !important;
        line-height: 1.75rem !important;
        font-weight: bold !important;
    }

    .content-texteditor h6 {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
        font-weight: bold !important;
    }
}
