/*
Theme Name: Saint Joseph Montessori Elementary School
Theme URI: https://saintjosephmontessori.sch.id/
Author: PT Magnum Infinitas Indonesia
Author URI: https://www.magnuminity.com
Description: Website
Version: 2023
*/

@import url('https://fonts.googleapis.com/css2?family=Brawler:wght@400;700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('css/normalize.css');
@import url('css/main.css');
@import url('css/skeleton.css');
@import url('css/smartmenus.css');
@import url('css/bxslider.css');

.button,
.buttonwrapper a{
  border-radius: 30px;
  padding: 10px 30px;
  color: #ffd200;
  background: #281f58;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.button:hover,
.buttonwrapper a:hover{
  background: #ffd200;
  color: #281f58;
}

#navigation ul#menu-main-navigation > li:last-child{
  margin-left: 3%;
}

#navigation ul#menu-main-navigation > li:last-child a{
  color: #ffd200;
  background: #281f58;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 40px;
}

#navigation ul#menu-main-navigation > li:last-child a:hover{
  background: #ffd200;
  color: #281f58;
}

#sjms-cdd{
  position: relative;
  background: #8c899a;
  width: 100%;
  padding: 3% 0 5% 0;
  float: left;
  text-align: center;
  margin-top: 5%;
}

#sjms-cdd p:first-child{
  font-size: 2rem;
  line-height: 2.4rem;
  margin-bottom: 5%;
  color: #FAF9F6;
}

.post-item-compact{
  border-bottom: 1px solid #F8D000;
}

.post-item-compact:last-child{
  border-bottom: 0;
}

.post-item-compact h4{
}

.post-item-compact h4 a{
  display: inline-block;
  width: 80%;
  padding: 2% 20% 2% 0;
  position: relative;
}

.post-item-compact h4 a:hover{
}

.post-item-compact a span{
  font-size: 2rem;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

.post-item-compact a:hover span{
  right: 0;
}

#home-post-list .post-item{
  width: 47%;
}

#home-post-list .post-item:last-child{
  float: right;
}

.post-item{
  float: left;
  background: #F4F3F7;
  border-radius: 20px;
  overflow: hidden;  
  position: relative;
  margin-bottom: 3%;
  transition: all 0.5s;
}

.post-item:hover{
  background: #EAEAF9;
}

.post-item a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  float: left;
  z-index: 99;
  font-size: 0;
}

.post-item .post-image{
  float:left;
  width:100%;
  position: relative;
  overflow: hidden;
}

.post-item .post-image:before{
  content: "";
  display: block;
  padding-top: 56% !important;
}

.post-item .post-image img{
    transition: all 0.5s;
    display: block;
    margin-top: 0;
    position: absolute;
    width: 100%;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
}

.post-item:hover .post-image img{
    transition: all 0.5s;
    display: block;
    margin-top: 0;
    position: absolute;
    width: 105%;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
}


.post-item h4{
    margin-bottom: -1% !important;
}

.post-item .post-caption{
    width:80%;
    padding:3% 10%;
    float:right;
    position: relative;
    min-height: 300px;
}

.post-item small{
    position: absolute;
    bottom: 7%;
    left: 10%;
    text-transform: uppercase;
    position: absolute;
    font-weight: 900;
    font-size: 0.5rem;
}

#category-pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0 20px;
}

#category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 5px;
    border: 1px solid #ffd200;
    border-radius: 50%;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all .25s ease;
}

#category-pagination .page-numbers:hover {
    background: #281f58;
    color: #ffd200;
    border-color: #281f58;
}

#category-pagination .page-numbers.current {
    background: #281f58;
    color: #fff;
    border-color: #ffd200;
    cursor: default;
}

#category-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    width: auto;
    transform: none;
}

#category-pagination .prev,
#category-pagination .next {
    width: auto;
    padding: 0 18px;
    border-radius: 999px;
}

#category-pagination .prev:hover,
#category-pagination .next:hover {
    background: #0073aa;
    border-color: #0073aa;
}

header{
  width: 100%;
  z-index: 100;
  padding-top: 20px;
  padding-bottom: 30px;
  height: 80px;
}

header .container,
header .columns{
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

header #site-title{
  height: 90px;
}

header #site-title a{
  float: left;
  height: 90px;
}

header #site-title img{
  height: 100%;
  float: left;
}

footer{
  width: 100%;
  float: left;
  background: #281f58;
  background: linear-gradient(to bottom, #281f58, #15102d);
  color: #fff;
  padding-top: 4%;
  padding-bottom: 0;
  text-align: center;
}

footer *{
  font-size: 0.9rem;
}

footer h3{
  color: #FAF9F6  ;
}

footer a{
  color: #FAF9F6 ;
}

footer a:hover{
  color: #ffd200;
}

footer ul{
  list-style-type: none;
  padding-left: 0;
}

footer li{
  padding-bottom: 5px;
}

footer .footer-logo img{
     filter:
        drop-shadow(1px 0 0 #fff)
        drop-shadow(-1px 0 0 #fff)
        drop-shadow(0 1px 0 #fff)
        drop-shadow(0 -1px 0 #fff);

}

footer #social-links a{
  float: left;
  width: 32px;
  height: 32px;
  line-height: 32px;
}

footer #social-links a:hover{
    filter: invert(100%) sepia(100%) saturate(1000%) hue-rotate(60deg);
}


footer #social-links img{
  height: 20px;
}

footer ul#menu-footer-menu{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer ul#menu-footer-menu li{
  margin-bottom: 5px;
}

footer .container{
}

footer .container .columns{
}

footer .container .columns *{
}

#bottom{
  border-top:1px solid #8c899a;
  float: left;
  width: 100%;
  margin-top: 2%;
  padding: 2.5% 0 2% 0;
}

#bottom {
  color: #fff;
  font-size: 0.9rem;
}

#bottom a{
  color: #fff;
}

#bottom a:hover{
  color: #ffd200;
}

#bottom p{
  margin: 0;
}

#bottom .six.columns:last-child{
  text-align: right;
}

#container{
  z-index: 1;
  position: relative;
}

/* Style for the blockquote */
.wp-block-quote {
    padding: 40px; /* Adjust spacing from the left */
    margin: 10px 0 20px 0; /* Adjust overall spacing */
    font-style: italic;
    position: relative;
    text-align: center;
}

/* Style for the paragraph inside the blockquote */
.wp-block-quote p {
    margin: 0; /* Remove default margin */
    font-size: 1.2em;
}

/* Adding starting and ending apostrophes */
.wp-block-quote::before,
.wp-block-quote::after {
    color:#ffd200;
    font-size: 3.5em; /* Adjust apostrophe size */
    position: absolute;
}

.wp-block-quote::before {
    content: "“";
    top: -5px;
    left: 10px;

}

.wp-block-quote::after {
    content: "”";
    right: 10px;
    bottom: -30px;
}

.wp-block-separator{
  margin-top: 30px;
  margin-bottom: 30px;
  border: none;
  border-top:3px dotted #ffd200;
}

#site-title{
}

#site-title h1{
  margin: 0;
  padding: 0;
}

#site-title img{
 width: 100%; 
}

#hero-image{
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

#hero-image.home-slider-image{
  float:left;
  overflow: hidden;
  position: relative;
}

#hero-image.home-slider-image:before{
  content: "";
  display: block;
  padding-top: 50% !important;
}

#hero-image.home-slider-image .bx-wrapper{
  top: 0;
  left: 0;
  position: absolute;
  height: 100%;
}

#hero-image.home-slider-image .bxslider{
  float: left;
  width: 100%;
  height: 400px;
  padding: 0;
  position: absolute;
  top: 0;
}

#hero-image.home-slider-image #slider-control{
  display: none;
  position: absolute;
  bottom: 0;
  left:0;
}

#hero-image.home-slider-image #slider-control a{
  margin:0 10px 0 0;
  font-size: 21px;
  font-weight: 600;
  background: #ffd200;
  color: #fff;
  float: left;
  height: 44px;
  width: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 44px;
}

#hero-image.home-slider-image #slider-control a:hover{
  background: #281f58;
  color: #ffd200;
}

#hero-image.home-slider-image .bxslider .slide .slide-img{
  width: 100%;
  margin: 0;
  padding: 0;
  float: right;
  position: relative;
  overflow: hidden;
}

#hero-image.home-slider-image .bxslider .slide .slide-img:before{
  content: "";
  display: block;
  padding-top: 50% !important;
}

#hero-image.home-slider-image .bxslider .slide .slide-img img{
  position: absolute;
  width: 100%;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

#hero-image #featured-image{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  z-index: 1;
}

#post-header #post-heading{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   float: left;
   background: #281f58;
  __background: linear-gradient(30deg, rgba(43,69,147,1) 0%, rgba(43,69,147,0) 100%);
  __background-blend-mode: multiply;
   z-index: 2;
}

#page-header{
  width: 100%;
  float: left;
  padding-bottom: 0%;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

#page-header:before{
  content: "";
  display: block;
  padding-top: 33% !important;
}

#page-header .container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#page-header strong, 
#page-header h1{
  color: #FAF9F6;
}

#page-header #page-header-shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  float: left;
  background: #1e2842;
  background: linear-gradient(30deg, rgba(30, 40, 66, 1) 0%, rgba(30, 40, 66, 0) 100%);
}

#sjms-content{
  padding-top: 8%;
  padding-bottom: 8%;
  overflow: auto;
}

#sjms-intro{
  padding-top: 4%;
  padding-bottom: 4%;
  width: 100%;
  float: left;
  position: relative;
  margin-bottom: 3%;
  background: #F0F0FC;
}

#sjms-intro .five.columns{
  margin-top: 3%;
  margin-bottom: 3%;
}

#sjms-intro .seven.columns{
  position: relative;
}

#sjms-intro .seven.columns img{
  position: absolute;
  width: 90%;
  height: auto;
  top: 0;
  right: 0;
}

#intro h2{
  color:#325095;
  margin-top: 0;
}

#intro .container{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

#intro .twelve.columns{
  margin-top: 5%;
  margin-bottom: 0;
  padding-bottom: 0;
}

#intro img.wp-post-image{
  width: 100%;
  height: auto;
  float: left;
  margin: 0;
}

.post-explorer{
  width: 100%;
  float: left;
  border-top: 1px solid #ccc;
  padding:1% 0 3% 0;
}

#post-navigation{
  width: 100%;
  float: left;
  display: flex;
  border-top: 1px solid #ccc;
}

#post-navigation small{
  color:#325095;
  font-size:80%; 
  font-weight: bold;
}

#post-navigation a{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

#post-navigation h4{
  margin: 2% 0 0 0;
}

#post-navigation .post-arrow{
  transition: all 0.5s;
  background:url(images/icon/arrow-right.svg) center left no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 20%;
  left: auto;
  bottom: auto;
  top: 55%;
  transform: translateY(-50%);
  z-index: 1;
}

#post-navigation .next-post:hover .post-arrow{
  right: 18%;
}

#post-navigation .previous-post .post-arrow{
  transform: translateY(-50%)  scaleX(-1);
  left: 20%;
  right: auto;
}

#post-navigation .previous-post:hover .post-arrow{
  transform: translateY(-50%)  scaleX(-1);
  left: 18%;
  right: auto;
}

#post-navigation .previous-post,
#post-navigation .next-post{
  flex: 1;
  width: 50%;
  float: left;
  position: relative;
  transition: all 0.5s;
}

#post-navigation .previous-post{
  border-right: 1px solid #ccc;
}

#post-navigation .previous-post:hover,
#post-navigation .next-post:hover{
  background: #fafafa;
}

#post-navigation .post-info{
  width: 60%;
  padding: 8% 35% 8% 10%;
  float: left;
}

#post-navigation .previous-post .post-info{
  float: right;
  text-align: right;
  width: 55%;
  padding: 8% 10% 8% 35%;
}

#associated-pages{
  width: 100%;
  float: left;
  border-top: 1px solid #ccc;
  padding-top: 4%;
  padding-bottom: 2%;
}

.overlay-gt{
  background: rgba(0,0,0,0.75);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  float: left;
  z-index: 99;
  display: none;
}

#breadcrumbs{
  display: none;
  float: left;
  width: 100%;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #ffd200;
}

#breadcrumbs i{
  color: #281f58;
  font-style: normal;
  margin-left: 5px;
  margin-right: 5px;
}

#breadcrumbs small{
  color: #ffd200;
  margin-top: -4px;
}

#breadcrumbs a,
#breadcrumbs span{
  color: #281f58;
}

#breadcrumbs .container{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

#breadcrumbs .container .columns{
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

#overlay{
  width: 100%;
  height: 100%;
  float: left;
  position: fixed;
  top: 0;
  left: 0;
  background: #281f58;
  display: none;
  z-index: 450;
}

#back-to-top {
    position: fixed;
    rotate: -90deg;
    bottom: 8.5vh;
    right: 3.5%;
    z-index: 400;
    width: 45px;
    height: 45px;
    line-height: 40px;
    border-radius: 45px;
    background: #ffd200;
    color: #281f58;
    font-size: 30px;
    font-weight: 500;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    text-align: center;
    text-indent: 1px;
    transition: opacity 0.5s, background 0.5s ease out;
}

#back-to-top:hover{
    color: #ffd200;
    background: #281f58;
}

#back-to-top.show {
    opacity: 1;
}

@keyframes flowerrotation
{
  from {transform:rotate(0deg);}
  to {transform:rotate(360deg);}
}

@keyframes flowerreverserotation
{
  from {transform:rotate(360deg);}
  to {transform:rotate(0deg);}
}



/* Styles for mobile screens (below 768px) */
@media (max-width: 1023px) {
     header{
      background: #fff;
      width: 100%;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      height: 60px;
      padding-top: 15px;
      padding-bottom: 15px;
    }

    header .columns{
      margin-bottom: 0;
    }

    header #site-title{
      margin-top: 0;
    }

    header #site-title a{
      width: auto;
      float: left;
    }

    header #site-title img{
      height: 60px;
      width: auto;
      margin: 0;
      float: left;
    }

    #hero-image{
      margin-top: 90px;
    }

    footer{
    }

    footer .six.columns{
      text-align: left !important;
    }

    footer #mascot{
      width: 25%;
      margin-top: -15%;
    }

    footer #bottom{
      margin-top: 0 !important;
    }

    #page-header{
      width: 100%;
      float: left;
      padding-bottom: 0%;
      position: relative;
      overflow: hidden;
      background-size: cover;
      margin-top: 90px;
    }

    #page-header:before{
      padding-top:80% !important;
    }

    #page-header .container{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #page-header h1{
      font-size: 2rem;
    }
    

    #sjms-intro .seven.columns img{
      position: relative;
    }

    #intro img.wp-post-image{
    }

    #home-post-list .post-item{
      width: 100%;
    }

    .post-item{
      margin-bottom: 5%;
    }

    .post-item .post-caption{
        min-height: auto;
        height: auto;
        padding:5% 10% 10% 10%;
        width: 80%;
    }

    #responsive-trigger{
      width:40px;
      height:40px;
      top: 0;
      right:5%;
      color:#faa61a;
      text-align:center;
      line-height:40px;
      position:absolute;
      z-index: 99;
    }

    #bottom{
        padding: 5% 0 3% 0;
    }

    #breadcrumbs{
      margin-bottom: 7.5%;
    }

    #back-to-top {
        top: 50vh;
    }

    #navigation ul#menu-main-navigation > li:last-child{
      margin-left: 0;
    }

    #navigation ul#menu-main-navigation > li:last-child a{
      color: #ffd200;
      background: #281f58;
      padding-left: 5%;
      padding-right: auto;
      border-radius: 0 !important;
    }

    #navigation ul#menu-main-navigation > li:last-child a:hover{
      background: #ffd200;
      color: #281f58;
    }
}