html{
    scroll-behavior: smooth;
}

body{
    font-family: "Monstserrat", 'Segoe UI' , Tahoma, Geneva, Verdana, sans-serif;
}

a, a:hover{
    text-decoration: none;
}

.top-contact, .sosmed {
    list-style: none;
    padding: 0;
}

/*css untuk header*/

header{
    padding: 20px 0;
}

.brand {
    display: flex;
}

.brand img {
    margin-right: 20px;
    width: 70px;
    height: 70px;
}

.brand .brand-name h1{
    font-size: 25px;
    color: #b22222;
    text-transform: uppercase;
}

.brand .brand-name h3{
    font-size: 18px;
    font-family: Releway, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
}

.pembungkus-searchbox {
    display: flex;
    align-items: center;
}

.searchbox {
    width: 100%;
}

.btn.btn-utama {
   background-color: #b22222;
   color: #fff; 
   text-transform: uppercase;
   font-weight: 600;
}

/*CSS untuk menu/ navbar*/

/*nav {
    height: 60px;
}*/

.navbar {
    padding: 0;
    border-bottom: 5px solid #f2c808;

}

.nav-link {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;    
    letter-spacing: 0.25px;

}

.bg-biru {
    background-color: #b22222!important;
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
    color: #fff;
}

.dropdown-menu{
    top: 80%;
}

.active {
    /* background-color: #fff; */
    color: #b22222;
}

li.nav-item.active a{
    color: #b22222;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 15px 20px; 
    display: inline-block;
}



/* css untuk slider hero area*/


/* banner section start */
.site-section-cover {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; }
  .site-section-cover,
  .site-section-cover .container {
    position: relative;
    z-index: 2; }
  .site-section-cover,
  .site-section-cover .container > .row {
    height: calc(100vh - 196px);
    min-height: 577px; }
    @media (max-width: 991.98px) {
      .site-section-cover,
      .site-section-cover .container > .row {
        height: calc(70vh - 196px);
        min-height: 400px; } }
  .site-section-cover.overlay {
    position: relative; }
    .site-section-cover.overlay:before {
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 1; }
  .site-section-cover.inner-page,
  .site-section-cover.inner-page .container > .row {
    height: auto;
    min-height: auto;
    padding: 2em 0; }
  .site-section-cover.img-bg-section {
    background-size: cover;
    background-repeat: no-repeat; }
  .site-section-cover h1 {
    font-size: 3rem;
    color: #fff;
    line-height: 1; }
    .site-section-cover h1 strong {
      font-weight: 900; }
    @media (max-width: 991.98px) {
      .site-section-cover h1 {
        font-size: 2rem; } }
  .site-section-cover p {
    font-size: 18px;
    color: #fff; }

.site-section {
  padding: 70px 0; }
  @media (max-width: 991.98px) {
    .site-section {
      padding: 30px 0; } }


/* banner section end */

/* css untuk section sambutan */

#sambutan {
    margin: 60px 0;
}

#sambutan h2{
    color: #b22222;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
}

#sambutan h3{
    color: #b22222;
    font-size: 28px;
    font-weight: 500;
    margin-top:10px;
}

#sambutan h5{
    color: #1f1f1f;
    font-weight: 500;
    margin-top:30px;
}

#sambutan h6{
    color: #1f1f1f;
    font-weight: 500;
    margin-top:80px;
}

#sambutan p{
    font-size: 14px;
    font-family: Raleway, sans-serif;
    font-size: 500;
    line-height: 28px;
}

/*css untuk section prestasi*/

#prestasi {
   min-height: 250px;
}

#prestasi .col-item-kanan {
    padding: 20px 30px 20px 20px;
}

.section-item{
    margin: 70px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    min-height: 260px;
    overflow: hidden;
}
.section-item-thumbnail{
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    height: 300px;
    max-height: 100%;
}
.section-title{
    margin-bottom: 80px;
    text-align: center;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin:  0 auto;
    font-size: 30px;
    text-transform: uppercase;
    color: #b22222;
    font-weight: 600;
}

.section-title h2:after {
    position: absolute;
    content: "";
    width: 60%;
    height: 3px;
    background-color: #f2c808;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.display-6{
   text-decoration: underline;
   color: #b22222;
   text-decoration-color: #f2c808;
   text-underline-offset: 10px;
   margin-bottom: 20px;
}

.section-item-title{
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin: 5px;
}

.section-item-title h3{
    font-size: 18px;
    color: #b22222;
    line-height: 25px;
    font-weight: 600;
    padding-right: 40px;
    padding-top: 10px;
}

.section-item-title span{
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.section-item-title span i{
    margin-right: 15px;
}

.section-item-title span:first-of-type {
    margin-right: 15px;
}

.section-item-body p {
    font-size: 12px;
    line-height: 25px;
    color: #666;
    margin: 3px;
}

.section-item-title span i {
    margin-right: 5px;
}

/*Css untuk tombol selanjutnya*/

#tenaga-pendidik{
  margin: 50px;
}

.tombol-selengkapnya {
    text-align: center;
}

.btn.btn-more {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #b22222;
    text-align: center;
    display: inline-block;
    border: 2px solid #b22222;
    border-radius: 0;
    padding: 10px 40px;
    transition: background-color 0.3s;
}

.btn.btn-more:hover {
    background-color: #b22222;
    color: #fff;
}


#tenaga-pendidik .tombol-selengkapnya {
    margin-top: 30px;
}


.testimonial-carousel .owl-item {
  opacity: .2;
}

.testimonial-carousel .owl-item.center {
  opacity: 1;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background: #dddddd;
}

.testimonial-carousel .owl-dot.active {
  background: #FF4800;
}

/* css untuk slider */

.owl-item{
    padding: 20px 10px;
}   


.section-item-slider {
    height: 380px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

#tenaga-pendidik .foto-guru {
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}


.section-item-caption {
    position: absolute;
    bottom: 0;
    background-color: #fff;
    color: #000;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding: 20px 10px 15px;
}

.section-item-caption h5 {
    color: #b22222;
    font-size: 18px;
    font-weight: 600;
}

.section-item-caption h6 {
    color: #f2c808;
    font-size: 16px;
    text-transform: uppercase;
}

#tenaga-pendidik .section-body {
    position: relative;
}


#slider-tools-1 .owl-next,
#slider-tools-1 .owl-prev,
#slider-tools-3 .owl-next,
#slider-tools-3 .owl-prev  {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: -60px;
    z-index: 20;
    background-color: #b22222;
    border: none;
    height: 35px;
    width: 35px;
    color: #fff;
    border-radius: 50%;
    outline: none;
    box-shadow: 0 0 20px #ddd;
    transition: background-color 0.3s;
}

#slider-tools-1 .owl-prev,
#slider-tools-3 .owl-prev {
    left: -60px;
}

#slider-tools-1 .owl-next:hover,
#slider-tools-1 .owl-prev:hover,
#slider-tools-3 .owl-next:hover,
#slider-tools-3 .owl-prev:hover {
    cursor: pointer;
    background-color: #f2c808;
    color: #000;

}    

/* css untuk galeri */
#galeri {
  margin: 50px;
}

#galeri .foto-galeri {
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}

#galeri .section-body {
    position: relative;
    margin-bottom: 50px;
}

/* CSS section ekstrakulikuler */

#ekstrakulikuler {
    /* background-color: #ddd; */
    padding: 80px 0;
   
}

  #ekstrakulikuler img{
    width: 100%;
    height: 100%;
    align-items: center;
    position: relative;
    border-radius: 5px;

  }

    #ekstrakulikuler .content{
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background: #b22222;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        opacity: 0;
        transition: 0.1s;
        border-radius: 5px;
    }


   #ekstrakulikuler .content:hover{
        opacity: 1;
    }

#ekstrakulikuler .section-body-item {
    /* display: flex; */
    border-radius: 5px;
    color: #f2c808;
    height: 200px;
    text-align: center;
    align-items: center;
    font-size: 25px;
    margin: 3px;
}

#ekstrakulikuler .section-body-item h4{
    font-weight: 500;
}

    #ekstrakulikuler .section-body .row:first-of-type {
        margin-bottom: 30px;
    }

    #ekstrakulikuler .row-2 {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

.gallery_section {
    width: 100%;
    float: left;
    padding-bottom: 90px;
}

.gallery_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #1f1f1f;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.gallery_taital::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 2px;
    background-color: #000;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    bottom: 0px;
}

.gallery_section_2 {
    width: 100%;
    float: left;
    margin-top: -20px;
}

.image_main {
    width: 100%;
    position: relative;
    margin-top: 30px;
}

.image_8 {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.text_main {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    text-transform: uppercase;
}

.image_main:hover .image_8 {
    opacity: 2;
}

.image_main:hover .text_main {
    opacity: 5;
}

.image_main:hover .seemore_text {
    color: #ffffff;
}

.seemore_text {
    width: 100%;
    float: left;
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
}

.image_main::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    left: 0px;
    right: 0px;
    margin: 0 auto;
    top: 0px;
    display: none;
}

.image_main:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    left: 0px;
    right: 0px;
    margin: 0 auto;
    top: 0px;
    display: block;
}

/* CSS untuk berita */

.section-thumbnail {
    width: 100%;
    height: 237px;
    overflow: hidden;
    position: relative;
}

.section-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-thumbnail .tanggal{
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    background-color: #b22222;
    color: #f2c808;
    padding: 5px 10px;
    border-radius: 5px;
}

.section-thumbnail .tanggal span{
    margin: 0;
    padding: 0;
}

.section-thumbnail .tanggal span.tgl {
    display: block;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: -10px;
    padding: 5px 10px;
    border-radius: 5px;
}

.section-thumbnail .tanggal span.tgl-2 {
    font-size: 10px;
}

/* CSS untuk berita */
#berita .row{
    margin-bottom: 50px;
}

#berita .section-content{
    padding: 20px 0 0;

}
#berita .section-content h3{
    font-size: 16px;
    font-weight: 600;
    color: #b22222;
    line-height: 24px;
}

#berita .section-content p{
    font-size: 14px;
    color: #777777;
    line-height: 24px;
}

#berita .section-content p .more {
    color:  #777777;
    font-weight: 400;
}

/* .section-meta a{
    background-color: #b22222;
    color: #fff;
    padding: 5px 15px;
    font-size: 11px;
} */

/* .section-meta a i {
    margin-right: 10px;
} */

#berita .tombol-selengkapnya {
    margin: 50px;
}

/* CSS section informasi */

#informasi {
    /* background-color: #ddd; */
    padding: 80px 0;
}

#informasi .section-body-item {
    /* display: flex; */
    background-color: #b22222;
    border-radius: 5px;
    padding: 20px;
    height: 100px;
    text-align: center;
    align-items: center;
    font-size: 25px;
}

#informasi .section-body-item h4{
    font-weight: 500;
    color: #fff;
}

#informasi .section-body .row:first-of-type {
    margin-bottom: 30px;
}

#informasi .row-2 {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Footer */

footer {
    color: #fff;
    background-color: #b22222;
    padding: 50px 0 0 0;
}

footer ,footer-col:first-of-type {
    padding-right: 20px;
}

footer .brand {
    display: flex;
}

footer .brand h1 {
    font-size: 25px;
    font-weight: 600;
    line-height: 25px;
    text-transform: uppercase;
}

.header-nav{
    list-style-type: none;
    color: #b22222;
}

footer .kontak {
    font-size: 14px;
    line-height: 26px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

footer.sosmed{
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .sosmed li {
    display: inline-block;
    margin-right: 20px;
}

footer .sosmed li a{
    color: #fff;
    border:  1px solid rgba(255, 255, 255, 0.5);
    height: 50px;
    width: 50px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 50px;
}

footer .sosmed li a:hover{
    color: #c7c7c7;
}

.footer-col h2{
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-col .alamat{
    font-size: 14px;
    line-height: 25px;
}

.footer-col .kontak{
    margin-right: 10px;
}

.footer-col .kontak li{
    margin: 10px 0;
}

.footer-col .kontak{
    list-style: none;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
}


.footer-col .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;   
}

.footer-col .footer-nav li {
    margin: 10px 0;   
}

.footer-col .footer-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 20px;
    transition: all 0.5s; 
}

.footer-col .footer-nav a:hover {
 border-bottom: 1px dashed #fff;
}

.footer-copyright .container{
    border-top: 1px solid #fff;
    padding: 10px 0;
}

.footer-copyright h6 {
    margin: 10px;
    font-size: 14px;
    color: #fff;
    font-weight: 300;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.footer-copyright{
    text-align: center;
}

 .map-container {
            width: 100%;
            height: 400px;
            margin: 20px 0;
        }

.gotopbtn{
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: #f2c808;
    bottom: 40px;
    right: 25px;
    padding: 12px;
    z-index: 1000;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    line-height: 10px;
    color: #b22222;
    font-size: 22px;
  }

.btn-whatsapp{
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
    position: fixed;
    bottom: 100px;
    right: 23px;
     z-index: 1000;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    display: flex;
}

/* visi dan misi */
.section-item-visi{
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    height: 450px;
    max-height: 100%;
}

/* page navigation */
.btn_mange_pagging {
	background: #f1f1f1;
	padding: 12px 5px;
	color: #b22222!important;
	font-weight: 800;
	margin: 0 5px;
	transition: 0.5s;
	font-size: 12px;
}
.btn_pagging {
	background: #f1f1f1!important;
	color: #b22222;
	padding: 12px 10px!important;
	font-weight: 800;
	margin: 0 5px;
	transition: 0.5s;
	font-size: 12px;
}
.btn_mange_pagging:hover, .btn_mange_pagging:focus {
	background: #b22222;
	color: #fff!important;
	font-weight: 800;
}
.btn_pagging:hover, .btn_pagging:focus {
	background: #b22222!important;
	color: #fff;
}

.fh5co_most_trading .img {
    width: 70px;
    height: 70px;
}


/* css untuk section tujuan */

#tujuan {
    margin: 60px 0;
}

#tujuan h2{
    color: #b22222;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
}

#tujuan h4{
    color: #b22222;
    font-size: 28px;
    font-weight: 500;
    margin-top:10px;
}

#tujuan p{
    font-size: 14px;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    line-height: 28px;
}

/* css untuk section download */

#download {
    margin: 50px 0;
}

#download .section-title h2 {
    position: relative;
    display: inline-block;
    margin:  0 auto;
    font-size: 30px;
    text-transform: uppercase;
    color: #b22222;
    font-weight: 600;
}

#download .col-lg-12{
    color: #1f1f1f;
    margin-bottom: 30px;
}

/* css untuk section pengumuman */
#pengumuman {
    margin: 50px 0;
}

#pengumuman .col-lg-12{
    color: #1f1f1f;
    margin-bottom: 30px;
}

/* css sarpras */
#sarpras{
  margin: 50px;
}

.tombol-selengkapnya {
    text-align: center;
}

.btn.btn-more {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #b22222;
    text-align: center;
    display: inline-block;
    border: 2px solid #b22222;
    border-radius: 0;
    padding: 10px 40px;
    transition: background-color 0.3s;
}

.btn.btn-saran {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #F2C808;
    text-align: center;
    display: inline-block;
    padding: 10px 40px;
}

.btn.btn-saran:hover {
    background-color: #F2C808;
    color: #b22222;
}

.btn.btn-more:hover {
    background-color: #b22222;
    color: #b22222;
}


#sarpras .tombol-selengkapnya {
    margin-top: 30px;
}


.testimonial-carousel .owl-item {
  opacity: .2;
}

.testimonial-carousel .owl-item.center {
  opacity: 1;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background: #dddddd;
}

.testimonial-carousel .owl-dot.active {
  background: #FF4800;
}

/* css untuk slider sarpras */

.owl-item{
    padding: 20px 10px;
}   


.section-item-slider {
    height: 380px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

#sarpras .foto-sarpras {
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}


.section-item-caption {
    position: absolute;
    bottom: 0;
    background-color: #fff;
    color: #000;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding: 20px 10px 15px;
}

.section-item-caption h5 {
    color: #b22222;
    font-size: 18px;
    font-weight: 600;
}

.section-item-caption h6 {
    color: #f2c808;
    font-size: 16px;
    text-transform: uppercase;
}

#sarpras .section-body {
    position: relative;
}


#slider-tools-1 .owl-next,
#slider-tools-1 .owl-prev,
#slider-tools-3 .owl-next,
#slider-tools-3 .owl-prev  {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: -60px;
    z-index: 20;
    background-color: #b22222;
    border: none;
    height: 35px;
    width: 35px;
    color: #fff;
    border-radius: 50%;
    outline: none;
    box-shadow: 0 0 20px #ddd;
    transition: background-color 0.3s;
}

#slider-tools-1 .owl-prev,
#slider-tools-3 .owl-prev {
    left: -60px;
}

#slider-tools-1 .owl-next:hover,
#slider-tools-1 .owl-prev:hover,
#slider-tools-3 .owl-next:hover,
#slider-tools-3 .owl-prev:hover {
    cursor: pointer;
    background-color: #f2c808;
    color: #000;

}    

/* pagination */
.pagination a {
  margin: 0 3px;
  text-decoration: none;
  justify-content: center;
}