body {
   font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
   background-color: #eaf3ff;
}
body a {
   color: #202020;
}
body a:hover {
   color: gray;
   text-decoration: none;
}
header {
   position: -webkit-sticky;
   position: sticky;
   top: 0;
   z-index: 1030;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
/* TOP BAR */
.top-bar {
   background-color: #111b51;
   background-image: url('header-bg.png');
   background-size: cover;
   background-position: center top;
   background-repeat: no-repeat;
   color: #ffffff;
   font-size: 14px;
   padding: 24px 0 24px;
}
.top-bar a {
   color: #ffffff;
}
.top-bar a:hover {
   color: #ff5a2c;
}
.top-bar i {
   margin-right: 5px;
}

/* MENU BAR */
.menu-bar {
   text-transform: uppercase;
   font-weight: bold;
   background-color: #ff5a2c;
   border-bottom: 1px solid #111b51;
}
.sticky.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.sm-clean {
   background: #ff5a2c;
}
.sm-clean ul {
   background: #111b51;
}
.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: #ff5a2c;
   color: #fff;
}

/* CAROUSEL */
.carousel-caption {
   border-top: 1px solid #fff;
   color: #fff;
   background: #111b51;
   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: #ff5a2c;
}

/*  LOGO */
.brand {
   font-family: Arial, sans-serif, "Helvetica Neue", Helvetica;
   font-weight: bold;
   text-transform: uppercase;
   color: #fff;
}

/* PAGE TITLE */
.page-title {
   font-weight: bold;
   border-bottom: 2px solid #ff5a2c;
   margin-bottom: 15px;
   padding-bottom: 10px;
   margin-top: 0px;
}
.page-title:after {
   border-bottom: 2px solid #111b51;
   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: #111b51;
}
.quote-title {
   font-size: 14px;
   font-weight: bold;
   text-transform: uppercase;
   display: inline-block;
   padding: 15px 15px;
   color: #FFF;
   float: left;
   background-color: #ff5a2c;
   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: #ff5a2c;
   font-weight: bold;
}

/*  Conten */
h5.card-title {
   font-size: 16px;
   font-weight: bold;
}
.card-text {
   overflow-wrap: break-word;
   word-wrap: break-word;
}
.card-text img, .card-text iframe, .card-text table {
   max-width: 100% !important;
}

/* Sidebar */
.sidebar .list-group-item {
   border: 1px solid #6c757d;
}

/* Footer */
footer {
   color: #fff;
   font-size: 14px;
}
footer .primary-footer {
   background-color: #111b51;
   padding: 30px 0;
}
footer .secondary-footer {
   border-top: 1px solid #fff;
   background-color: #ff5a2c;
   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: 40px;
   height: 40px;
   font-size: 15px;
   background-color: blue;
   color: #fff;
   text-align: center;
   margin-right: 10px;
   padding-top: 12px;
   border-radius: 50%;
}
.linked-in{
   background-color:#007bb6;
}
.facebook{
   background-color:#3b5998;
}
.twitter{
   background-color:#1da1f2;
}
.instagram {
   background-color:#fbbc05;
}
.youtube {
   background-color:#ef4e17;
}
.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 #ff5a2c;
   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: #ff5a2c;
   color: #fff;
}
.action-button:hover {
   background-color: #111b51;
   color: #fff;
}

/* Responsive */
/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
   .top-bar {
      background-size: 100% 100%;
      padding: 12px 0 12px;
   }
   .top-header img {
      width: 50px !important;
      height: 50px !important;
      margin-right: 15px !important;
      margin-top: 5px !important;
      margin-bottom: 5px !important;
   }
   .top-left h5 {
      font-size: 15px !important;
   }
   .top-left small {
      font-size: 10px !important;
   }
   .top-left {
      text-align: left !important;
   }
   .top-right {
      display: none;
   }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
   .top-bar {
      background-size: 100% 100%;
      padding: 14px 0 14px;
   }
   .top-header img {
      width: 55px !important;
      height: 55px !important;
      margin-right: 15px !important;
      margin-top: 5px !important;
      margin-bottom: 5px !important;
   }
   .top-left h5 {
      font-size: 16px !important;
   }
   .top-left small {
      font-size: 11px !important;
   }
   .top-left {
      text-align: left !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;
}

/* Custom Styles for SMPN 6 Pekalongan Institutional Info Layout */
.spx-wrap {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.10);
  border: 1px solid #f3f4f6;
  overflow: hidden;
  max-width: 1152px;
  margin: 0 auto;
  line-height: 1.6;
  color: #1f2937;
}

.spx-header {
  background: linear-gradient(135deg, #2563eb, #4338ca);
  padding: 38px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.spx-header::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.spx-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.spx-logo-box {
  width: 92px;
  height: 92px;
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spx-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.spx-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.spx-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.20);
}

.spx-badge.green {
  background: rgba(34,197,94,0.85);
}

.spx-badge.gold {
  background: rgba(234,179,8,0.95);
}

.spx-header h1 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.spx-header p {
  font-size: 16px;
  color: #e0e7ff;
  margin: 0;
  max-width: 650px;
}

.spx-main {
  display: flex;
  flex-wrap: wrap;
}

.spx-left {
  flex: 1 1 430px;
  padding: 38px;
  box-sizing: border-box;
}

.spx-right {
  flex: 1 1 350px;
  padding: 38px;
  background: #f9fafb;
  border-left: 1px solid #f3f4f6;
  box-sizing: border-box;
}

.spx-title {
  font-size: 21px;
  font-weight: 900;
  margin: 0 0 24px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
  color: #111827;
}

.spx-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.spx-info-item {
  flex: 1 1 210px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px;
  border-radius: 16px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 6px 14px rgba(15,23,42,0.04);
  transition: 0.25s ease;
}

.spx-info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
}

.spx-info-item.full {
  flex: 1 1 100%;
}

.spx-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.spx-icon.blue { background: #dbeafe; color: #2563eb; }
.spx-icon.indigo { background: #e0e7ff; color: #4f46e5; }
.spx-icon.green { background: #dcfce7; color: #16a34a; }
.spx-icon.red { background: #fee2e2; color: #dc2626; }
.spx-icon.orange { background: #ffedd5; color: #ea580c; }
.spx-icon.teal { background: #ccfbf1; color: #0d9488; }
.spx-icon.gold { background: #fef08a; color: #a16207; }

.spx-label {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  margin: 0 0 3px 0;
}

.spx-value {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.spx-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

.spx-ssn {
  background: #fefce8;
  border: 1px dashed #fde047;
}

.spx-ig-head {
  text-align: center;
  margin-bottom: 24px;
}

.spx-ig-icon {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, #ec4899, #fb923c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 16px auto;
  font-size: 30px;
  box-shadow: 0 10px 18px rgba(251,146,60,0.32);
}

.spx-ig-head h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 0;
  color: #1f2937;
}

.spx-ig-head p {
  font-size: 14px;
  color: #6b7280;
  margin: 8px auto 0 auto;
  max-width: 280px;
}

.spx-iframe-box {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.spx-iframe-box iframe {
  width: 100%;
  height: 550px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.spx-section {
  padding: 40px;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  border-top: 1px solid #f3f4f6;
}

.spx-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px auto;
}

.spx-mini-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 14px;
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.spx-center h2 {
  font-size: 27px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 12px 0;
}

.spx-center p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

.spx-review-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.spx-review-card {
  flex: 1 1 230px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.045);
  box-sizing: border-box;
  transition: 0.25s ease;
}

.spx-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15,23,42,0.10);
}

.spx-review-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.spx-review-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 8px 0;
}

.spx-review-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.spx-kartini {
  margin-bottom: 32px;
  background: linear-gradient(135deg, #fff7ed, #ffffff 55%, #eff6ff);
  border: 1px solid #fed7aa;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.spx-kartini-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.spx-flag {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #dc2626, #f97316);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 10px 18px rgba(220,38,38,0.22);
}

.spx-kartini-text {
  flex: 1 1 320px;
}

.spx-kartini-text h3 {
  font-size: 22px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 10px 0;
}

.spx-kartini-text p {
  font-size: 15px;
  color: #4b5563;
  margin: 0 0 14px 0;
}

.spx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.spx-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.spx-tag.orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.spx-tag.blue { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.spx-tag.green { background: #ecfdf5; color: #059669; border-color: #bbf7d0; }
.spx-tag.gold { background: #fefce8; color: #a16207; border-color: #fde68a; }

.spx-quote {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 22px;
  padding: 28px;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37,99,235,0.22);
  margin-bottom: 28px;
}

.spx-quote p:first-child {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.spx-quote p:last-child {
  font-size: 14px;
  color: #dbeafe;
  margin: 0;
}

.spx-source {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.spx-source h3 {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 16px 0;
}

.spx-source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.spx-source-tags span {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.spx-official {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ffffff 55%, #f8fafc);
  border: 1px solid #bfdbfe;
  box-shadow: 0 8px 18px rgba(37,99,235,0.08);
}

.spx-official-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  flex-shrink: 0;
  box-shadow: 0 10px 18px rgba(37,99,235,0.22);
}

.spx-official-text {
  flex: 1 1 260px;
}

.spx-official-text .label {
  font-size: 13px;
  font-weight: 900;
  color: #2563eb;
  margin: 0 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spx-official-text h4 {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 6px 0;
}

.spx-official-text p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.spx-button-box {
  flex: 0 1 245px;
}

.spx-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(37,99,235,0.24);
  transition: 0.25s ease;
}

.spx-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37,99,235,0.32);
}

.spx-footer-note {
  font-size: 13px;
  color: #64748b;
  margin: 18px 0 0 0;
}

.spx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s ease;
}

.spx-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .spx-header,
  .spx-left,
  .spx-right,
  .spx-section {
    padding: 24px;
  }

  .spx-header h1 {
    font-size: 26px;
  }

  .spx-header-inner {
    text-align: center;
    justify-content: center;
  }

  .spx-badges {
    justify-content: center;
  }

  .spx-right {
    border-left: none;
    border-top: 1px solid #f3f4f6;
  }

  .spx-center h2 {
    font-size: 23px;
  }

  .spx-official {
    text-align: center;
    justify-content: center;
  }

  .spx-button-box {
    flex: 1 1 100%;
  }

  .spx-iframe-box iframe {
    height: 520px;
  }
}

@media (max-width: 480px) {
  .spx-wrap {
    border-radius: 18px;
  }

  .spx-header,
  .spx-left,
  .spx-right,
  .spx-section {
    padding: 20px;
  }

  .spx-logo-box {
    width: 82px;
    height: 82px;
  }

  .spx-header h1 {
    font-size: 24px;
  }

  .spx-info-item,
  .spx-review-card {
    flex: 1 1 100%;
  }
}
