/**
 * S177 site CSS — visual port from Joomla yoo_master2/theme.css
 * onto sad337-theme markup. Loaded after sad337-theme; design.css dequeued.
 */

/* -------------------------------------------------------------------------
   Page chrome (Joomla html: Open Sans 14/20 + topfon.png)
   ------------------------------------------------------------------------- */
html:has(body.s177-yoo) {
  overflow-y: scroll;
  font: normal 14px / 20px "Open Sans", sans-serif;
  background: #ffffff url("images/topfon.png") repeat-x top fixed;
  color: #444444;
}

body.s177-yoo {
  --container: 980px;
  --pad: 25px;
  --color-page: transparent;
  --color-surface: #ffffff;
  --color-text: #444444;
  --color-link: #003188;
  --color-link-hover: #0074a2;
  --color-accent: #1fa2d6;
  --color-heading: #00649b;
  --color-katok-top: #006ca7;
  --color-katok-bot: #005c8f;
  --color-katok-border: #3399cc;
  --border: #dddddd;
  margin: 0;
  font: normal 14px / 20px "Open Sans", sans-serif !important;
  background: transparent !important;
  color: #444444;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 1220px) {
  body.s177-yoo {
    --container: 1050px;
    --pad: 35px;
  }
}

body.s177-yoo .site-container {
  max-width: 980px;
  width: 100%;
  padding: 0 25px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1220px) {
  body.s177-yoo .site-container {
    max-width: 1050px;
    padding: 0 35px;
  }
}

body.s177-yoo a {
  color: #003188;
  text-decoration: none;
  cursor: pointer;
}

body.s177-yoo a:hover,
body.s177-yoo a:focus {
  color: #0074a2;
  text-decoration: underline;
}

body.s177-yoo h1,
body.s177-yoo h2,
body.s177-yoo h3,
body.s177-yoo h4,
body.s177-yoo h5,
body.s177-yoo h6,
body.s177-yoo .entry__title,
body.s177-yoo .entry-title,
body.s177-yoo .sidebar-block__title {
  margin: 0 0 20px 0;
  font-family: Cambria, "Times New Roman", serif !important;
  font-weight: 300 !important;
  text-transform: none;
  line-height: 1.2em;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.s177-yoo h1,
body.s177-yoo .entry__title,
body.s177-yoo .entry-title {
  font-size: 30px !important;
  color: #00649b !important;
  padding-left: 20px;
}

body.s177-yoo h2 {
  font-size: 26px !important;
  color: #cc002b !important;
  padding-left: 20px;
}

body.s177-yoo h3,
body.s177-yoo .sidebar-block__title {
  font-size: 22px !important;
  color: #1353b2 !important;
  padding-left: 0;
}

body.s177-yoo h4 {
  font-size: 18px !important;
  color: #555555 !important;
}

body.s177-yoo h5 {
  font-size: 16px !important;
  color: #555555 !important;
}

body.s177-yoo h6 {
  font-size: 14px !important;
  font-family: "Fira Sans Extra Condensed", sans-serif !important;
  font-weight: 400 !important;
  color: #000000 !important;
  line-height: 1.2em;
}

body.s177-yoo * + h1,
body.s177-yoo * + h2,
body.s177-yoo * + h3,
body.s177-yoo * + h4,
body.s177-yoo * + h5,
body.s177-yoo * + h6 {
  margin-top: 25px;
}

body.s177-yoo p {
  margin: 0 0 8px;
}

body.s177-yoo ul,
body.s177-yoo ol {
  padding-left: 30px;
}

body.s177-yoo blockquote {
  padding-left: 15px;
  border-left: 5px solid #dddddd;
  font-size: 16px;
  line-height: 22px;
  font-style: italic;
}

/* Kill design.css cards */
body.s177-yoo .entry,
body.s177-yoo .entry-content,
body.s177-yoo .entry__content,
body.s177-yoo article,
body.s177-yoo .sidebar-block {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

/* -------------------------------------------------------------------------
   Layout — single column default (no visible sidebar modules)
   ------------------------------------------------------------------------- */
body.s177-yoo .site-layout,
body.s177-yoo .site-layout--single {
  display: block;
}

body.s177-yoo .site-layout:not(.site-layout--full):not(.site-layout--three):not(.site-layout--single) {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 0 25px;
  align-items: start;
}

body.s177-yoo .site-layout--three {
  display: grid;
  grid-template-columns: 3fr 7fr 2fr;
  gap: 0 25px;
}

body.s177-yoo .site-main {
  background: transparent;
  min-width: 0;
}

body.s177-yoo .site-content {
  margin: 0;
  padding: 0 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Content shell — Joomla white fade + rounded bottom (karant) */
body.s177-yoo .site-content > .site-container {
  margin-bottom: 35px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 1%,
    rgba(255, 255, 255, 1) 39%
  );
  border-radius: 0 0 18px 18px;
}

@media (max-width: 959px) {
  body.s177-yoo .site-layout:not(.site-layout--full):not(.site-layout--three):not(.site-layout--single),
  body.s177-yoo .site-layout--three {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.s177-yoo .site-sidebar {
  background: transparent;
  padding: 0 0 20px;
}

/* -------------------------------------------------------------------------
   Header / logo
   ------------------------------------------------------------------------- */
body.s177-yoo .site-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.s177-yoo .site-top {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.s177-yoo .site-top__inner {
  padding: 0 !important;
}

body.s177-yoo .site-top__logo {
  width: 100%;
}

body.s177-yoo .site-top-banner,
body.s177-yoo .site-top__logo > table,
body.s177-yoo .site-top__logo > p,
body.s177-yoo .site-top__logo > div {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.s177-yoo .site-top-banner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 12px 24px !important;
  width: 100%;
  margin-top: 42px !important;
  margin-bottom: -10px !important;
  grid-template-columns: none !important;
}

body.s177-yoo .site-top-banner__col {
  flex: 1 1 0;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.s177-yoo .site-top-banner__col--logo {
  flex: 0 0 auto;
  max-width: 180px;
}

body.s177-yoo .site-top-banner__col--title {
  flex: 1 1 auto;
  text-align: center;
}

body.s177-yoo .site-top-banner__col--contact {
  flex: 0 0 auto;
  max-width: 220px;
  text-align: center;
}

body.s177-yoo .site-top-banner__head-img,
body.s177-yoo .site-top__logo img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

body.s177-yoo .site-top-banner__col--logo .site-top-banner__head-img {
  width: 146px;
  max-width: 146px;
}

body.s177-yoo .site-top-banner__extra,
body.s177-yoo .site-top-banner__col--title h2,
body.s177-yoo .site-top-banner__col--title h4,
body.s177-yoo .site-top-banner__col--contact h2,
body.s177-yoo .site-top-banner__col--contact h3,
body.s177-yoo .site-top-banner__col--contact h4,
body.s177-yoo .site-top-banner__col--logo .mbdou,
body.s177-yoo .site-top-banner__col--logo h2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
}

/* School name — white (first title paragraph) */
body.s177-yoo .site-top-banner__col--title > div > p:first-child,
body.s177-yoo .site-top-banner__col--title > div > p:first-of-type {
  color: #ffffff !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9) !important;
  font-weight: bold !important;
  font-size: 20pt !important;
  line-height: 28px !important;
  text-align: center;
  font-family: "Open Sans", sans-serif !important;
}

/* Address — black with light shadow (as in Joomla inline styles) */
body.s177-yoo .site-top-banner__col--title > div > p:last-child,
body.s177-yoo .site-top-banner__col--title hr + p {
  color: #000000 !important;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.9) !important;
  font-weight: bold !important;
  font-size: 10pt !important;
  line-height: 16px !important;
  text-align: center;
  font-family: "Open Sans", sans-serif !important;
}

body.s177-yoo .site-top-banner__col--title hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  margin: 8px auto;
  max-width: 90%;
}

body.s177-yoo .site-top-banner__col--contact p {
  color: #ffffff !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9) !important;
  font-weight: bold !important;
  font-size: 14pt !important;
  line-height: 20px !important;
  text-align: center;
  white-space: nowrap;
  margin: 0 !important;
}

body.s177-yoo .site-top-banner__col--contact a {
  color: #003188 !important;
  text-shadow: none !important;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

body.s177-yoo .site-top-banner__col--contact a:hover {
  color: #0074a2 !important;
  text-decoration: underline;
}

@media (max-width: 800px) {
  body.s177-yoo .site-top-banner {
    flex-wrap: wrap !important;
    margin-top: 16px;
  }

  body.s177-yoo .site-top-banner__col,
  body.s177-yoo .site-top-banner__col--logo,
  body.s177-yoo .site-top-banner__col--title,
  body.s177-yoo .site-top-banner__col--contact {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* -------------------------------------------------------------------------
   Navbar — .katok2 blue bar (Joomla)
   ------------------------------------------------------------------------- */
body.s177-yoo .site-navbar {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  /* Full-bleed katok strip */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background: #006ca7 !important;
  background: linear-gradient(to bottom, rgba(0, 108, 167, 1) 10%, rgba(0, 92, 143, 1) 90%) !important;
  border-bottom: 4px solid #3399cc !important;
}

body.s177-yoo .site-navbar__inner {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 25px !important;
  box-sizing: border-box;
  background: transparent !important;
}

@media (min-width: 1220px) {
  body.s177-yoo .site-navbar__inner {
    max-width: 1050px;
    padding: 0 35px !important;
  }
}

body.s177-yoo .site-navbar .primary-nav {
  flex: 1 1 auto;
  width: auto !important;
  display: block !important;
  justify-content: flex-start !important;
}

body.s177-yoo .primary-nav > ul {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.s177-yoo .primary-nav > ul > li {
  position: relative;
  margin: 8px 4px !important;
  float: none;
}

body.s177-yoo .primary-nav > ul > li > a,
body.s177-yoo .primary-nav > ul > li > a:visited {
  display: block !important;
  box-sizing: border-box;
  height: 35px !important;
  padding: 0 8px !important;
  line-height: 35px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: "PT Sans", sans-serif !important;
  font-weight: normal !important;
  letter-spacing: 0;
  text-decoration: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  border-right: 1px solid #ffffff !important;
  box-shadow: none !important;
}

body.s177-yoo .primary-nav > ul > li:last-child > a {
  border-right: 1px solid #ffffff !important;
}

body.s177-yoo .primary-nav > ul > li.menu-item-has-children > a::after {
  content: none !important;
}

body.s177-yoo .primary-nav > ul > li > a[href="#"] {
  cursor: default;
}

body.s177-yoo .primary-nav > ul > li:hover > a,
body.s177-yoo .primary-nav > ul > li:focus-within > a,
body.s177-yoo .primary-nav > ul > li.is-open > a,
body.s177-yoo .primary-nav > ul > li.current-menu-item > a,
body.s177-yoo .primary-nav > ul > li.current-menu-ancestor > a,
body.s177-yoo .primary-nav > ul > li.current_page_item > a,
body.s177-yoo .primary-nav > ul > li.current_page_ancestor > a {
  background: transparent !important;
  color: #ffffd3 !important;
  outline: none;
  text-decoration: none !important;
  border-right: 1px solid #ffffff !important;
}

body.s177-yoo .primary-nav > ul > li > a:active {
  color: #ffffd3 !important;
}

body.s177-yoo .primary-nav .sub-menu {
  background: #f5f5f5 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  min-width: 240px;
  padding: 8px 0 !important;
  gap: 0 !important;
  z-index: 1000;
}

body.s177-yoo .primary-nav .sub-menu a {
  font-family: "PT Sans", sans-serif !important;
  font-size: 14px !important;
  color: #444444 !important;
  padding: 6px 14px !important;
  text-decoration: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  line-height: 1.35 !important;
  height: auto !important;
}

body.s177-yoo .primary-nav .sub-menu a:hover,
body.s177-yoo .primary-nav .sub-menu a:focus,
body.s177-yoo .primary-nav .sub-menu .current-menu-item > a {
  background: #00a8e6 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

body.s177-yoo .menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #ffffff;
  font-family: "PT Sans", sans-serif;
  font-size: 14px;
  border-radius: 0;
  font-weight: 400;
}

@media (max-width: 767px) {
  body.s177-yoo .site-navbar {
    margin: 12px 0 0 !important;
  }

  body.s177-yoo .site-navbar__inner {
    flex-wrap: wrap;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.s177-yoo .primary-nav > ul {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
  }

  body.s177-yoo .primary-nav > ul > li {
    margin: 2px 0 !important;
  }

  body.s177-yoo .primary-nav > ul > li > a,
  body.s177-yoo .primary-nav > ul > li > a:visited {
    border-right: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 8px 10px !important;
  }
}

/* -------------------------------------------------------------------------
   Main-top tiles — Joomla Widgetkit grid (6 col, panel-box, title under image)
   ------------------------------------------------------------------------- */
body.s177-yoo .main-top,
body.s177-yoo .site-main-top {
  margin: 0 0 20px;
}

body.s177-yoo .main-top > div[style] {
  margin: 10px 0 !important;
}

body.s177-yoo .main-top .sad337-grid,
body.s177-yoo .main-top .sad337-grid.sad337-grid--cols-4,
body.s177-yoo .main-top .sad337-cols {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.s177-yoo .main-top .sad337-grid__col--panel,
body.s177-yoo .main-top .sad337-grid__col {
  display: flex !important;
  flex-direction: column;
  position: relative;
  margin: 0 !important;
  padding: 20px !important;
  background: #f5f5f5 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #444444;
  min-width: 0;
}

body.s177-yoo .main-top .sad337-grid__title {
  order: 2;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  font-family: "Fira Sans Extra Condensed", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2em !important;
  color: #000000 !important;
  text-align: left;
  background: transparent !important;
  border: none !important;
}

body.s177-yoo .main-top .sad337-grid__col figure,
body.s177-yoo .main-top .sad337-grid__col .wp-block-image {
  order: 1;
  margin: 0 !important;
  position: relative;
}

body.s177-yoo .main-top .sad337-grid__col img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
}

body.s177-yoo .main-top .sad337-grid__col.is-linked figure {
  position: relative;
}

body.s177-yoo .main-top .sad337-grid__col.is-linked figure > a {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  font-size: 0 !important;
}

@media (max-width: 1220px) {
  body.s177-yoo .main-top .sad337-grid,
  body.s177-yoo .main-top .sad337-grid.sad337-grid--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.s177-yoo .main-top .sad337-grid,
  body.s177-yoo .main-top .sad337-grid.sad337-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body.s177-yoo .sad337-grid,
body.s177-yoo .uk-grid {
  margin-left: 0;
}

body.s177-yoo .breadcrumbs,
body.s177-yoo .breadcrumbs-wrap {
  font-size: 13px;
  color: #999999;
  margin: 0 0 12px;
  background: transparent;
  padding: 0;
}

body.s177-yoo .breadcrumbs a {
  color: #003188;
}

body.s177-yoo .entry__content img,
body.s177-yoo .entry-content img {
  max-width: 100%;
  height: auto;
}

body.s177-yoo table {
  border-collapse: collapse;
  max-width: 100%;
}

body.s177-yoo table td,
body.s177-yoo table th {
  padding: 4px 8px;
}

/* -------------------------------------------------------------------------
   Bottom-b footer menus — Joomla uk-nav-side
   ------------------------------------------------------------------------- */
body.s177-yoo .site-bottom-b {
  background: transparent !important;
  margin: 0 !important;
  padding: 10px 0 25px !important;
  border: none !important;
  position: relative;
  z-index: 1;
}

body.s177-yoo .site-bottom-b > .site-container {
  max-width: 980px;
}

@media (min-width: 1220px) {
  body.s177-yoo .site-bottom-b > .site-container {
    max-width: 1050px;
  }
}

body.s177-yoo .site-bottom-b__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}

body.s177-yoo .site-bottom-b__col {
  min-width: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.s177-yoo .site-bottom-b__menu {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.s177-yoo .site-bottom-b__menu > li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.s177-yoo .site-bottom-b__menu > li > a {
  display: block !important;
  box-sizing: border-box;
  padding: 5px 20px !important;
  margin: 0 !important;
  background: rgba(91, 186, 230, 0.5) !important;
  border: none !important;
  border-bottom: 1px solid #ececec !important;
  border-radius: 0 !important;
  color: #444444 !important;
  font-family: "PT Sans", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2em !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.s177-yoo .site-bottom-b__menu > li > a:hover,
body.s177-yoo .site-bottom-b__menu > li > a:focus {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #444444 !important;
  text-decoration: none !important;
  outline: none;
}

body.s177-yoo .site-bottom-b__menu > li.current-menu-item > a,
body.s177-yoo .site-bottom-b__menu > li.current_page_item > a,
body.s177-yoo .site-bottom-b__menu > li.current-menu-ancestor > a {
  background: #00a8e6 !important;
  color: #ffffff !important;
}

@media (max-width: 700px) {
  body.s177-yoo .site-bottom-b__grid {
    grid-template-columns: 1fr !important;
  }
}

body.s177-yoo .site-bottom-a {
  background: transparent;
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------------------------------
   Footer — .serro blue bar
   ------------------------------------------------------------------------- */
body.s177-yoo .site-footer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  padding: 20px 0 70px !important;
  background: #006ca7 !important;
  background: linear-gradient(to bottom, rgba(0, 108, 167, 1) 10%, rgba(0, 92, 143, 1) 90%) !important;
  border-top: 4px solid #3399cc !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

body.s177-yoo .site-footer__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 25px;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 1220px) {
  body.s177-yoo .site-footer__inner {
    max-width: 1050px;
    padding: 0 35px;
  }
}

body.s177-yoo .site-footer__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

body.s177-yoo .site-footer,
body.s177-yoo .site-footer p,
body.s177-yoo .site-footer span,
body.s177-yoo .site-footer .footer-block__content,
body.s177-yoo .site-footer .site-footer__disclaimer {
  color: #ffffff !important;
}

body.s177-yoo .site-footer a {
  color: #ffffff !important;
}

body.s177-yoo .site-footer a:hover,
body.s177-yoo .site-footer a:focus {
  color: #ffffd3 !important;
}

body.s177-yoo .site-footer__disclaimer {
  text-align: left;
  font-size: 10pt;
  margin: 0 0 12px;
}

body.s177-yoo .site-footer__disclaimer:empty,
body.s177-yoo .site-footer__disclaimer.is-empty {
  display: none !important;
}

body.s177-yoo .site-footer .pluso,
body.s177-yoo .site-footer [class*="pluso"] {
  display: none !important;
}

body.s177-yoo .site-footer table {
  margin: 0 auto;
}

body.s177-yoo .site-footer img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

body.s177-yoo .footer-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100%;
}

/* -------------------------------------------------------------------------
   Skip link / misc
   ------------------------------------------------------------------------- */
body.s177-yoo .skip-link {
  background: #006ca7;
  color: #fff;
}

body.s177-yoo .blind-version-trigger,
body.s177-yoo #blind-version-trigger {
  z-index: 1100;
}
