/*
Theme Name: SD Al-Azhar 55 Yogyakarta
Author: Sofyan Kurniawan
Author URI: https://sofyankurniawan.com
Version: 0.1
Description: Tema ini untuk sekolah SD Al-Azhar55 Yogyakarta.
*/

a {
  color: #054e85;
}

a:hover {
  text-decoration: none;
}

h2 {
  font-size: 15px;
}

h3 {
  font-size: 15px;
}

.widget {
  padding-top: 16px;
}

.caps {
  text-transform: uppercase;
}

.widgetnya img {
  border-radius: 50% !important;
  width: 75px;
  height: 75px;
}

.widgetnya p {
  font-size: 13px;
}

.readmore {
  display: none;
  width: 100%;
  padding: 9px;
  background-color: #489ed7;
  color: white;
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.foot-icons {
  max-width: 40px;
}

.icons-footer {
  padding: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.birubar {
  min-height: 87px;
  width: 100%;
  background-color: #fff;
}

.konten {
  max-width: 1200px;
  margin: auto;
  padding: 7px;
}

.image-box {
  margin-top: 30px;
  position: relative;
  margin: auto;
  overflow: hidden;
}
.image-box img {
  max-width: 100%;
  transition: all 0.3s;
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
}

.image-box:hover img {
  transform: scale(1.1);
}

/*MENU FOR DESKTOP START*/
.menu-bar {
  width: 100%;
  height: 44px;
  border-style: solid;
  border-width: 0px 0px 2px 0px;
  border-color: #bf9f00;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
}

.menu-bar #menu-menu-1 {
  list-style-type: none;
  overflow: hidden;
}

ul {
  padding: 0;
}

.menu-bar #menu-menu-1 li {
  list-style-type: none;
  display: inline-block;
  padding: 12px 0px;
}

.menu-bar #menu-menu-1 li a {
  padding: 15px !important;
  color: #000;
}

.desktop .sub-menu li {
  padding: 0 !important;
  display: list-item !important;
}

.desktop ul.sub-menu:hover li {
  display: block;
}

.desktop .sub-menu {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 200px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  padding: 0;
}

.desktop .sub-menu a {
  color: black;
  padding: 5px 3px;
  text-decoration: none;
  display: block;
}

.desktop .sub-menu li {
  position: relative;
}

.desktop .sub-menu .sub-menu {
  display: none !important;
  background-color: #f1f1f1;
  min-width: 200px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  padding: 0;
  left: 100%;
  top: 0;
}

li:hover .sub-menu {
  display: block;
}
.sub-menu li:hover .sub-menu {
  display: block !important;
}
li a:hover {
  transition: 0.4s;
  background-color: #bf9f00;
  color: white !important;
  text-decoration: none;
}

li.menu-item-has-children > a:after {
  color: #444;
  content: " ▾";
}

li.menu-item-has-children .menu-item-has-children > a:after {
  color: #444;
  content: " ▸";
}
/*MENU FOR DESKTOP END*/

/* The sidebar menu */

.sidebar .sub-menu {
  display: none;
}

.sidebar .sub-menu .sub-menu {
  display: none;
}

.sidebar .sub-menu a {
  font-size: 13px !important;
  padding-left: 50px;
}

.sidebar .sub-menu .sub-menu a {
  font-size: 11px !important;
  padding-left: 65px;
}

.sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Stay on top */
  top: 0;
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

/* The sidebar links */
.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* The button used to open the sidebar */
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

.site-footer {
  background-color: #1f74b5;
  width: 100%;
}

.attrib {
  text-align: center;
  margin-top: 5px;
  line-height: 1.35;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s; /* If you want a transition effect */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {
    padding-top: 15px;
  }
  .sidebar a {
    font-size: 18px;
  }
}

@media only screen and (max-width: 750px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .widget-desk {
    height: 400px;
    overflow: hidden;
  }
}

@media only screen and (min-width: 750px) {
  .desktop {
    display: block;
  }
  .mobile {
    display: none;
  }
  .widget-desk {
    height: 597px;
    overflow: scroll;
    text-overflow: ellipsis;
  }
  .post-desk {
    height: 430px;
    overflow: hidden;
  }
  .foot-icons {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* ALL FROM WORDPRESS DEFAULT */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
