body {
   font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
   background-color: #eaf3ff;
}
body a {
   color: #202020;
}
body a:hover {
   color: gray;
   text-decoration: none;
}
/* TOP BAR */
.top-bar {
   background-color: #2A7FBD;
   color: #ffffff;
   font-size: 14px;
   padding: 16px 0 0;
}
.top-bar a {
   color: #ffffff;
}
.top-bar a:hover {
   color: #58B9F3;
}
.top-bar i {
   margin-right: 5px;
}

/* MENU BAR */
.menu-bar {
   text-transform: uppercase;
   font-weight: bold;
   background-color: #58B9F3;
   border-bottom: 1px solid #2A7FBD;
}
.sticky.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.sm-clean {
   background: #58B9F3;
}
.sm-clean ul {
   background: #2A7FBD;
}
.sm-clean ul a {
   color: #fff;
}
/* Dropdown hover background Menu */
.sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {
   background: #58B9F3;
   color: #fff;
}

/* CAROUSEL */
.carousel-caption {
   border-top: 1px solid #fff;
   color: #fff;
   background: #2A7FBD;
   opacity: 0.7;
   right: 0;
   left: 0;
   bottom: 0;
   text-align: left;
   padding: 30px;
}
.carousel-caption h2 {
   color: #fff;
}
.carousel-indicators li {
   background-color: #fff;
}
.carousel-indicators .active {
   background-color: #fbbc05;
}

a.brand-logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
	border: 0;
}
a.brand-logo-link img {
	border: 0;
	vertical-align: middle;
}

/* Geser logo sedikit ke kanan agar lebih dekat ke nama sekolah */
.top-header a.brand-logo-link img {
	margin-left: 8px;
}

/*  LOGO */
.brand {
   font-family: Arial, sans-serif, "Helvetica Neue", Helvetica;
   font-weight: bold;
   text-transform: uppercase;
   color: #fbbc05;
}
/* Warna kuning judul sekolah — harus mengalahkan .top-bar a { color: #fff } */
.top-bar a.brand-home-link,
.top-bar a.brand-home-link:focus {
   color: #fbbc05 !important;
   text-decoration: none;
}
.top-bar a.brand-home-link:hover {
   color: #ffd666 !important;
   text-decoration: none;
}

/* PAGE TITLE */
.page-title {
   font-weight: bold;
   border-bottom: 2px solid #fbbc05;
   margin-bottom: 15px;
   padding-bottom: 10px;
   margin-top: 0px;
}
.page-title:after {
   border-bottom: 2px solid #58B9F3;
   width: 30%;
   display: block;
   position: absolute;
   content: '';
   padding-bottom: 10px;
}
footer .page-title:after {
   border-bottom: 2px solid #fff;
}
/* TESTIMONI */
.quote {
   overflow: hidden;
   background-color: #2A7FBD;
}
.quote-title {
   font-size: 14px;
   font-weight: bold;
   text-transform: uppercase;
   display: inline-block;
   padding: 15px 15px;
   color: #FFF;
   float: left;
   background-color: #fbbc05;
   left: 0px;
   top: 0px;
   height: 50px;
}
ul.quote {
   display: block;
   padding: 0;
   margin: 0;
   list-style: none;
   line-height: 1;
   position: relative;
   overflow: hidden;
   height: 50px;
   background-color: transparent;
}
ul.quote li {
   color: #fff;
   position: absolute;
   top: -950em;
   left: 0;
   display: block;
   white-space: nowrap;
   font: 14px Helvetica, Arial, sans-serif;
   padding: 17px 15px 15px 15px;
}
ul.quote li span {
   color: #fbbc05;
   font-weight: bold;
}
ul.quote li a {
   color: #fff;
   text-decoration: none;
   font-weight: 700;
}
ul.quote li a:hover {
   color: #fbbc05;
   text-decoration: underline;
}

/*  Conten — judul tulisan/berita (detail + daftar) */
/* !important: timpa Bootstrap h1–h6 { font-weight: 500 } pada halaman baca tulisan */
.card-body > h4.card-title {
   font-weight: 700 !important;
}
h4.card-title {
   font-weight: 700 !important;
}
h5.card-title {
   font-size: 16px;
   font-weight: 700 !important;
}
.card-body .card-title a {
   font-weight: 700 !important;
}

/* Sidebar */
.sidebar .list-group-item {
   border: 1px solid #6c757d;
}

/* Sidebar - Daftar Berita (bergerak bawah -> atas) */
.sidebar-news-card,
.sidebar-news-card .card-header {
   background-color: #2A7FBD !important;
   color: #ffffff !important;
}
.sidebar-news-card .card-header {
   border-bottom: 1px solid rgba(255,255,255,0.35);
}
.sidebar-news-card .card-body {
   background-color: #ffffff !important;
   color: #000000 !important;
}
.sidebar-news-card .card-header i {
   color: #ffffff !important;
}
.sidebar-news-card .sidebar-news-item a,
.sidebar-news-card .sidebar-news-item a:hover,
.sidebar-news-card .sidebar-news-item small,
.sidebar-news-card .text-muted {
   color: #000000 !important;
}
.sidebar-news-ticker {
   height: 280px;
   overflow: hidden;
   position: relative;
}
.sidebar-news-list {
   list-style: none;
   margin: 0;
   padding: 0;
   will-change: transform;
   transform: translate3d(0, 0, 0);
   animation: sidebarNewsScroll 14s linear infinite;
}
.sidebar-news-ticker:hover .sidebar-news-list {
   animation-play-state: paused;
}
.sidebar-news-item {
   padding: 10px 12px;
   border-bottom: 1px solid rgba(0,0,0,0.12);
}
.sidebar-news-item a {
   display: block;
   font-weight: 700;
   text-decoration: none;
   color: #000000;
}
.sidebar-news-item a:hover {
   text-decoration: underline;
   color: #000000;
}
@keyframes sidebarNewsScroll {
   0% { transform: translate3d(0, 0, 0); }
   100% { transform: translate3d(0, -100%, 0); }
}

.sidebar-calendar .card-header {
   background-color: #2A7FBD;
   color: #fff;
   border-color: #6c757d;
}
.sidebar-calendar .card-header a {
   color: #fff !important;
   opacity: 0.9;
}
.sidebar-calendar .card-header a:hover {
   opacity: 1;
   color: #fbbc05 !important;
}
.sidebar-calendar-table thead th {
	font-size: 11px;
}
.sidebar-calendar-day {
	display: inline-block;
	min-width: 1.75rem;
	height: 1.75rem;
	line-height: 1.75rem;
	border-radius: 50%;
	text-align: center;
	vertical-align: middle;
}

/* Footer */
footer {
   color: #fff;
   font-size: 14px;
}
footer .primary-footer {
   background-color: #2A7FBD;
   padding: 30px 0;
}
footer .secondary-footer {
   border-top: 1px solid #fff;
   background-color: #58B9F3;
   padding: 10px 0;
}
footer .copyright {
   color: #fff;
   /* border-top: 1px solid #fff; */
}
footer a {
   color: #ffffff;
}
footer a:hover {
   color: yellow;
}
footer .page-title {
   color: #ffffff;
}
.social-icon {
   width: 52px;
   height: 52px;
   font-size: 22px;
   background-color: blue;
   color: #fff;
   text-align: center;
   margin-right: 12px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 0;
}
.linked-in{
   background-color:#007bb6;
}
.facebook{
   background-color:#3b5998;
}
.twitter{
   background-color:#1da1f2;
}
.instagram {
   background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.youtube {
   background-color:#ef4e17;
}
.social-follow-icons .social-follow-link {
   display: inline-block;
   margin-right: 12px;
   line-height: 0;
   vertical-align: middle;
}
.social-follow-icons img.social-icon-img {
   width: 52px;
   height: 52px;
   object-fit: contain;
   display: block;
}
.primary-footer nav ol.breadcrumb {
   background-color: transparent;
}

/* Tags */
.tag-content-block {
   display:block;
}
.tag a {
   border: 1px solid #fff;
   padding:12px 10px 8px 10px;
   color:#fff;
   display:inline-block;
   font-size:12px;
   text-transform:uppercase;
   line-height:11px;
   margin-bottom:5px;
   margin-right:2px;
   text-decoration:none;
}
.tag a:hover {
   border: 1px solid #fbbc05;
   color: #fff;
}

/* Fullscreen Search */
#search_form {
   z-index: 999999;
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.9);
   -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.5s ease-in-out;
   -o-transition: all 0.5s ease-in-out;
   -ms-transition: all 0.5s ease-in-out;
   transition: all 0.5s ease-in-out;
   -webkit-transform: translate(0px, -100%) scale(0, 0);
   -moz-transform: translate(0px, -100%) scale(0, 0);
   -o-transform: translate(0px, -100%) scale(0, 0);
   -ms-transform: translate(0px, -100%) scale(0, 0);
   transform: translate(0px, -100%) scale(0, 0);

   opacity: 0;
}

#search_form.open {
   -webkit-transform: translate(0px, 0px) scale(1, 1);
   -moz-transform: translate(0px, 0px) scale(1, 1);
   -o-transform: translate(0px, 0px) scale(1, 1);
   -ms-transform: translate(0px, 0px) scale(1, 1);
   transform: translate(0px, 0px) scale(1, 1);
   opacity: 1;
}

#search_form input[type="search_form"] {
   position: absolute;
   top: 50%;
   width: 100%;
   color: rgb(255, 255, 255);
   background: rgba(0, 0, 0, 0);
   font-size: 60px;
   font-weight: 300;
   text-align: center;
   border: 0px;
   margin: 0px auto;
   margin-top: -51px;
   padding-left: 30px;
   padding-right: 30px;
   outline: none;
}
#search_form .btn {
   position: absolute;
   top: 50%;
   left: 50%;
   margin-top: 61px;
   margin-left: -45px;
}

.action-button {
   background-color: #58B9F3;
   color: #fff;
}
.action-button:hover {
   background-color: #2A7FBD;
   color: #fff;
}

/* Responsive */
/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
   .top-left{
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
   .top-left{
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
   .top-left{
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
}

/* Overide Toastr color */
.toast {
  background-color: #030303;
}
/* custom toastr success */
.toast-success {
  background-color: #00cb18;
}
/* custom toastr error */
.toast-error {
  background-color: #ef5137;
}
/* custom toastr info */
.toast-info {
  background-color: #4b8df8;
}
/* custom toastr warning */
.toast-warning {
  background-color: #ffb848;
}
.toast-title, .toast-message {
   text-align: left;
}
.top-header {
  display: flex;
  align-items: center/* vertical alignment */
}
/* return to top */
#return-to-top {
   opacity: 0.7;
   z-index: 10000;
   position: fixed;
   bottom: 15px;
   right: 15px;
   background: #fbbc05;
   width: 30px;
   height: 30px;
   display: block;
   text-decoration: none;
   display: none;
   -webkit-transition: all 0.3s linear;
   -moz-transition: all 0.3s ease;
   -ms-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}
#return-to-top i {
   color: #fff;
   margin: 0;
   position: relative;
   left: 9px;
   top: 5px;
   font-size: 19px;
   -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
   -ms-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}
#return-to-top:hover {
   background: #000;
}
#return-to-top:hover i {
   color: #fff;
}

/* Isi artikel/halaman: gambar & media tidak melampaui kartu/kolom */
.post-entry {
	max-width: 100%;
	overflow-x: auto;
}
.post-entry img {
	max-width: 100%;
	height: auto;
	display: block;
}
.post-entry figure {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
.post-entry iframe {
	max-width: 100%;
}
.post-entry video {
	max-width: 100%;
	height: auto;
}

/* Header biru langit — timpa SmartMenus/Bootstrap (harus di akhir file) */
header .top-bar {
	background-color: #0284c7 !important;
}
header .top-bar a:hover {
	color: #e0f2fe !important;
}
header .menu-bar {
	background-color: #0ea5e9 !important;
	border-bottom-color: #0369a1 !important;
}
header .menu-bar .sm-clean,
header .menu-bar #main-menu.sm-clean {
	background: #0ea5e9 !important;
}
header .menu-bar .sm-clean ul {
	background: #0369a1 !important;
}
header .menu-bar .sm-clean ul a:hover,
header .menu-bar .sm-clean ul a:focus,
header .menu-bar .sm-clean ul a:active,
header .menu-bar .sm-clean ul a.highlighted {
	background: #38bdf8 !important;
	color: #fff !important;
}

/* Panah submenu (Kategori, PPDB, dll.) — putih, jelas */
@media (min-width: 768px) {
	header .menu-bar .sm-clean a .sub-arrow {
		position: absolute !important;
		top: 50% !important;
		margin-top: -3px !important;
		right: 10px !important;
		left: auto !important;
		width: 0 !important;
		height: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		font-size: 0 !important;
		line-height: 0 !important;
		text-shadow: none !important;
		background: transparent !important;
		border-style: solid dashed dashed dashed !important;
		border-width: 6px !important;
		border-color: #ffffff transparent transparent transparent !important;
		color: transparent !important;
	}
	header .menu-bar .sm-clean a .sub-arrow::before {
		display: none !important;
		content: none !important;
	}
	header .menu-bar .sm-clean ul a .sub-arrow {
		right: 8px !important;
		margin-top: -5px !important;
		border-style: dashed dashed dashed solid !important;
		border-width: 6px !important;
		border-color: transparent transparent transparent #ffffff !important;
		background: transparent !important;
		width: 0 !important;
		height: 0 !important;
	}
	header .menu-bar .sm-clean ul a .sub-arrow::before {
		display: none !important;
	}
}
@media (max-width: 767.98px) {
	header .menu-bar .sm-clean a .sub-arrow {
		background: #ffffff !important;
		color: #1a1a1a !important;
		border: 1px solid rgba(255, 255, 255, 0.35) !important;
		width: 2em !important;
		height: 1.4em !important;
		font: bold 1.15rem/1.25em monospace !important;
		border-radius: 0.25rem !important;
		text-shadow: none !important;
	}
}
