/*
Theme Name: Neve Child
Theme URI: https://themeisle.com/themes/neve/
Template: neve
Author: ThemeIsle
Author URI: https://themeisle.com
Description: Neve is a next-generation, ultra-fast WordPress theme designed for top performance, SEO, and Core Web Vitals. Its lightweight codebase and small size ensure minimal overhead and lightning-fast load times. Fully compatible with the block editor, popular page builders (Elementor, Bricks, Oxygen etc), and WooCommerce, it’s perfect for blogs, small businesses, agencies, portfolios, and online stores. With responsive design, multilingual translations, and easy customization options, Neve empowers you to create a future-proof, high-ranking online presence. Discover everything Neve has to offer and explore our powerful premium version at https://themeisle.com/themes/neve/.
Tags: blog,custom-logo,e-commerce,rtl-language-support,grid-layout,one-column,two-columns,custom-background,custom-colors,custom-header,custom-menu,featured-image-header,featured-images,flexible-header,full-width-template,sticky-post,theme-options,threaded-comments,translation-ready,accessibility-ready,wide-blocks,block-styles,footer-widgets,portfolio,left-sidebar,right-sidebar
Version: 4.1.3.1753765417
Updated: 2025-07-29 11:03:37

*/



.org-chart {
  text-align: center;
  padding: 50px 0;
}

.org-chart ul {
  padding-top: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.org-chart ul ul {
  margin-top: 20px;
}

.org-chart li {
  list-style-type: none;
  text-align: center;
  position: relative;
  padding: 20px 5px 0 5px;
}

.org-chart li::before, .org-chart li::after {
  content: '';
  position: absolute;
  top: 0;
  border-top: 2px solid #ccc;
  width: 50%;
  height: 20px;
}

.org-chart li::before {
  left: -50%;
  border-right: 2px solid #ccc;
}

.org-chart li::after {
  right: -50%;
  border-left: 2px solid #ccc;
}

.org-chart li:only-child::before,
.org-chart li:only-child::after {
  display: none;
}

.org-chart li:only-child {
  padding-top: 0;
}

.org-chart li:first-child::before,
.org-chart li:last-child::after {
  border: 0 none;
}

.org-chart li:last-child::before {
  border-right: 2px solid #ccc;
  border-radius: 0 5px 0 0;
}

.org-chart li:first-child::after {
  border-left: 2px solid #ccc;
  border-radius: 5px 0 0 0;
}

.box {
  display: inline-block;
  background: #f9f9f9;
  border: 2px solid #4CAF50;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 16px;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  
  
}

.box small {
  color: #777;
  font-size: 13px;
}

.box img {
  max-width: 100%;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #4CAF50;
  display: flex;
  justify-content:center;
}


.box:contains('General Section') {
  background-color: #3498db;
}

.box:contains('Islamic Section') {
  background-color: #27ae60;
}

.box:contains('Hifz Section') {
  background-color: #9b59b6;
}

/* Coordinator and Teacher design */
.box:contains('Coordinator') {
  background-color: #f39c12;
  color: #000;
}

.box:contains('Teachers') {
  background-color: #e74c3c;
  color: #fff;
}


