/********** Template CSS **********/
:root {
    --primary: #800000;
    --light: #f0fbfc;
    --dark: #181d38;
    --yellow: #fcb016;
    --hrefColor: #ed4606;
}

a {
    color: #800000;
}

a:hover {
    color: #fcb016 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Widget Sidebar ***/
.widget {
    padding-top: 2em;
    border-top: 1px solid;
    border-top-color: rgb(201 201 205);
}

* + .widget-body {
    margin-top: 20px;
    position: relative;
}

.widget-list {
    list-style: none;
}

.widget-list > li {
    position: relative;
    /* max-width: 280px; */
    display: flex;
    justify-content: space-between;
    font-weight: 400;
}

.widget-list > li + li {
    margin-top: 11px;
}

.widget-list > li::before {
    content: "";
    position: absolute;
    top: 0.64em;
    left: -0.84em;
    border: 0.13em solid;
    border-radius: 50%;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 15px;
    padding: 25px 0;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--yellow);
}

@media (max-width: 991.98px) {
    #list-about {
        padding: 0px !important;
    }

    .footer h4 {
        font-size: 1rem !important;
    }

    .footer a {
        font-size: 0.8rem !important;
    }
    .footer p {
        font-size: 0.8rem !important;
    }

    h3.section-title::before {
        top: 4px !important;
    }

    h3.section-title::after {
        bottom: 4px !important;
    }

    .section-title,
    .section-title-widget {
        font-size: 1rem !important;
    }

    .img-berita {
        height: 55% !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
    }
    .button-mobile {
        color: #fff !important;
    }

    .navbar-brand {
        margin-right: 0;
    }
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #eeeeee;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 70px;
}

.navbar-light .navbar-brand img {
    max-height: 85px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--light);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    font-size: 22px;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, 0.7), rgba(24, 29, 56, 0.7)),
        url(../../foto/file_1698818605tentang_foto_conten_.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, 0.7);
}

#content-berita .breadcrumb-item + .breadcrumb-item::before {
    /* color: var(--light); */
    color: black;
}

/*** Start About ***/
.content-about {
    font-family: serif;
}

#list-about {
    background: #fffdf7;
    box-shadow: inset 0px -1px 15px 1px #fff6dd;
    font-family: serif;
}

#list-about .list-group-item,
#list-about .list-group-item:hover {
    background: none;
}

#list-about .list-group-item {
    color: #545454;
}

#list-about .list-group-item:hover {
    color: #ff8507;
}

#list-about .list-group-item:hover span {
    margin-left: 0.7em;
    transition: 0.5s;
}

#list-about .list-group-item i {
    font-size: smaller;
    color: #ffc107;
}

#content_sambutan {
    /* background-color: #ed4606; */
    background: rgb(177, 40, 13);
    background: linear-gradient(
        90deg,
        rgba(177, 40, 13, 1) 0%,
        rgba(194, 56, 4, 1) 10%,
        rgba(237, 70, 6, 1) 24%
    );
}

.speech-space {
    padding-top: 3em;
    padding-bottom: 3em;
    padding-left: 3em;
    padding-right: 1em;
    color: white;
}

.speech-space .title-name {
    color: white;
    font-family: system-ui;
    letter-spacing: 1px;
    filter: drop-shadow(0px 1px 2px black);
}

.speech-space .rector-name {
    color: #ffeb01;
    font-family: monospace;
    filter: drop-shadow(2px 2px 3px black);
}

#angka_ukri .card .card-body .card-title {
    font-size: xxx-large;
}

#angka_ukri .card .card-body .card-title i {
    color: #ff672d;
    filter: drop-shadow(3px 1px 1px black);
}

#angka_ukri .card .card-body .card-text {
    font-family: fantasy;
    letter-spacing: 3px;
    color: #ed4606;
    font-weight: initial;
}

#angka_ukri .card .card-body .card-info {
    font-family: monospace;
    font-style: italic;
}

#chartLegend ul {
    padding-left: 0;
}

#chartLegend ul li {
    list-style: none;
}

#chartLegend .shape-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 15px;
}

/*** End About ***/

/*** Section Title ***/
.section-title,
.section-title-widget {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before,
.section-title-widget::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: #800000;
    z-index: -1;
}

h3.section-title::before {
    top: 8px;
}

.section-title-widget::before {
    width: calc(100% + 20px);
    left: 0;
}

.section-title::after,
.section-title-widget::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: #800000;
    z-index: -1;
}

h3.section-title::after {
    bottom: 8px;
}

.section-title-widget::after {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Post ***/
.post-item {
    margin-top: 2em;
}

.post-item + .post-item {
    padding-top: 2em;
    border-top: 1px solid #e8e8e9;
}

.post-headline {
    letter-spacing: 0.3px;
    font-size: 15px;
}

/*** Service ***/
.service-item {
    background: #ffc107;
    transition: 0.5s;
}

.col .service-item {
    height: 100%;
}

.service-item:hover {
    margin-top: -10px;
    background: #800000;
}

.service-item * {
    transition: 0.5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: 0.5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}

.category .thumb-text {
    background-color: rgb(128, 2, 2);
}

.category .thumb-text h5 {
    color: white;
    text-align: left;
}

.category .thumb-text small {
    color: #f7c15f;
}

.category .thumb-text span {
    font-size: smaller;
    color: #f39111;
}

.berita-list {
    position: relative;
}

.meta-berita li {
    border: none;
    font-family: monospace;
}

.berita-list:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.berita-list img {
    position: absolute;
    /* Take your picture out of the flow */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* Make the picture taking the size of it's parent */
    width: 100%;
    /* This if for the object-fit */
    height: 100%;
    /* This if for the object-fit */
    object-fit: cover;
    /* Equivalent of the background-size: cover; of a background-image */
    object-position: center;
}

.isi-berita {
    font-family: sans-serif;
    text-align: justify;
    font-size: 14px;
}

#beritaSidebar .list-group-item:hover,
#agendaSidebar .list-group-item:hover {
    color: #f7c15f;
    background-color: #800202cc;
    box-shadow: inset 0px 0px 6px 1px;
    transition: all 0.3s ease;
}

#beritaSidebar .list-group-item:hover span {
    color: #f7c15f;
}

#agendaSidebar .list-group-item span:first-child {
    font-size: 48px;
    width: 40%;
    border-right: 1px solid #ccc;
    line-height: 1;
}

#agendaSidebar .list-group-item span:first-child strong {
    font-size: small;
}

#agendaSidebar .list-group-item span:last-child {
    font-size: 16px;
}

/*** Team ***/
.team-item img {
    transition: 0.5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: #800000 !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #ffffff !important;
}

.testimonial-carousel .owl-item .testimonial-text {
    background: none !important;
    box-shadow: inset 0px 0px 15px 0px #ccc;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #cccccc;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #ffffff;
    border-radius: 35px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.text-merah {
    color: #800000;
}

.bg-merah {
    background: #800000;
}

.btn-merah {
    background: #800000;
    color: #ffffff;
}
