html {

  -webkit-text-size-adjust: 100%;

  -ms-text-size-adjust: 100%;

  text-size-adjust: 100%;

}



body {

  margin: 0;

  font-family: 'Roboto Slab', serif;

  background: #e5e5e5;

  color: #141414;

}


a {
  text-decoration: none!important;
  color: inherit;
}

a:hover {
  text-decoration: none;
}


.hero {

  position: relative;

  height: 100vh;

  background: url('../images/banner.gif') no-repeat center center / cover;

}



.top-right {

  position: absolute;

  top: 0;

  right: 0;

  padding: 20px;

  text-align: right;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  box-sizing: border-box;

}



.top-bar {

  background: #e5e5e5;
  padding: 0 0 10px 0;
  margin: 0;

}



.bar-inner {

  display: flex;

  justify-content: space-between;

  align-items: center;

  max-width: 1200px;

  margin: 0 auto;

}





.mod-menu a {

  color: #FFF;

  text-decoration: none;

  font-family: 'Pathway Gothic One', sans-serif;

  font-size: 1.5em;  

    

}



body.home .mod-menu a {

  font-size: 3.5em;  

  letter-spacing: 0.1em;

    

}



.horizontal-menu {

  display: flex;

  gap: 30px;

}



.horizontal-menu ul {

  display: flex;

  gap: 30px;

  list-style: none;

  margin: 0;

  padding: 0;

}



.horizontal-menu li {

  list-style: none;

}



.horizontal-menu a {

  color: #141414;

  text-decoration: none;

  font-family: 'Pathway Gothic One', sans-serif;

  letter-spacing: 0.1em;

  transition: color 0.3s ease;

  padding-bottom: 4px;

  border-bottom: 2px solid transparent;

}



.horizontal-menu a:hover {

  border-color: #CC0000;

}



.signature-logo {

  height: 80px;
  margin: 10px 0;

}





.side-menu a {

  z-index: 5;

  position: relative;

}



.menu-toggle {

  display: none;

  font-size: 40px!important;

  padding: 10px;

  width: 40px;

  height: 40px;

  background: none;

  border: none;

  color: inherit;

  cursor: pointer;

  z-index: 6;

}







.side-menu a {

  color: #ffffff;

  font-size: 40px!important;  

}



@media (max-width: 1024px) {


.signature-logo {  margin-left: 20px;}

  .blog {padding: 10px;}  

    

    

/* Ensure the toggle is visible when the inner side menu is open */

  .menu-toggle {

    display: block;

    position: fixed;

    top: 5px;

    right: 20px;

    z-index: 10;

  }





  .side-menu {

    display: none;

    flex-direction: column;

    gap: 20px;

    position: fixed;

    top: 0;

    right: 0;

    width: 90%;

    height: 100vh;

    padding: 20px 30px;

    background: #141414;

    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);

    z-index: 5;

    overflow-y: auto;

    align-items: flex-start;

    justify-content: flex-start;

  }



  .side-menu.open {

    display: flex;

  }



  .horizontal-menu {

    display: none;

  }

}



body.home .side-menu a {

  color: #ffffff;

  font-size: 40px!important;  

}



body.home .side-menu a:hover {

  color: #cccccc;

}



body.home .side-menu {

  background: rgba(20, 20, 20, 0.9)!important; /* black with 90% opacity */

  backdrop-filter: blur(6px)!important; /* optional: adds blur for a frosted-glass effect */

}



body.home .menu-toggle {

  color: #ffffff;

}



body.inner .inner-content {

  max-width: 1200px;

  margin: 0 auto;

  background: #ffffff;

  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);

  border-radius: 0;

}


.com-tags-tag {padding: 20px}




.com-content-article__body a{

  color: #CC0000;

  text-decoration: none;

}



.item-page{

  padding: 10px 5%;

  font-family:Georgia, Cambria, "Times New Roman", Times, serif;

  font-size: 1.2em;

  line-height: 1.5em;

}  



footer {

  text-align: center;

  padding: 30px 20px;

  color: #888;

  font-size: 1em;

  background: #e5e5e5;

}



.footer-inner {

  max-width: 1200px;

  margin: 0 auto;

}



.social-icons {

  margin-top: 15px;

  display: flex;

  justify-content: center;

  gap: 20px;

}









body.inner .menu-toggle {

  color: #141414;

}



@media (min-width: 1025px) {

  .mobile-only-toggle {

    display: none;

  }

}



@media (max-width: 1024px) {

    



.com-content-article__body{

  padding: 10px 5%;

}  

    

    

  body.inner .side-menu-inner a {

    color: #ffffff;

  }



  body.inner .side-menu-inner a:hover {

    color: #cccccc;

  }



  body.inner .menu-toggle {

    color: #ffffff;

  }

}



body.inner .menu-toggle {

  color: #141414;

}



body.inner .side-menu-inner.open + .menu-toggle,

body.inner .menu-toggle.open {

  color: #ffffff;

}



body.inner .menu-toggle.open {

  color: #ffffff;

}







/* Add to end of template.css to ensure correct visibility behavior */



@media (min-width: 1025px) {

  .side-menu-inner { display: none !important; }
    

}

.blog {padding: 40px;}

/* Default 4-column layout (desktop) */
.blog-items.columns-4 > div {
  flex: 1 1 calc(25% - 20px);
}


/* If the last item is alone in the row of 4 columns */
.blog-items.columns-4 > div:nth-last-child(1):nth-child(4n + 1) {
  flex-basis: calc(25% - 20px);
  max-width: calc(25% - 20px);
}


/* Default 3-column layout */
.blog-items.columns-3 > div {
  flex: 1 1 calc(33.333% - 20px);
}

/* If the last item is alone in the row of 3 columns */
.blog-items.columns-3 > div:nth-last-child(1):nth-child(3n + 1) {
  flex-basis: calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}


/* Default 2-column layout */
.blog-items.columns-2 > div {
  flex: 1 1 calc(50% - 20px);
}

/* If the last item is alone in the row of 2 columns */
.blog-items.columns-2 > div:nth-last-child(1):nth-child(2n + 1) {
  flex-basis: calc(50% - 20px);
  max-width: calc(50% - 20px);
}





@media (max-width: 1024px) {
  .blog-items.columns-4 > div,
  .blog-items.columns-3 > div {
    flex: 1 1 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
}

@media (max-width: 768px) {
  .blog-items > div {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Optional tighter gap on phones */
  .blog-items {
    gap: 10px;
  }

  /* Ensure last lone item takes full width */
  .blog-items > div:only-child,
  .blog-items > div:nth-last-child(1):nth-child(odd) {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}


/* Mobile: switch to one column */
@media (max-width: 768px) {
    
    .blog {padding: 15px;}
}







img{max-width:100%;width:auto \9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}


p {
  margin-block-start: 1.3em;
  margin-block-end: 1.5em;
}


ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.com-content-article__body ul,
.com-content-article__body ol {
  list-style: disc;
  padding-left: 20px;
  margin: 1em 0;
}

.com-content-article__body ul li {
  list-style-type: disc;
}


/* For Joomla 5.3 article links */
.com-content-article a,
.com-content-article a:visited {
  color: #CC0000;
  text-decoration: none; /* Optional */
}

.com-content-article a:hover {
  color: #CC0000; /* Optional hover color */
  text-decoration: none; /* Optional */
}






/* Apply wider margins to article content on larger screens */
@media (min-width: 1024px) {
  .com-content-article {
    max-width: 900px; /* Optional: controls line length for readability */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}


.article-index , li.toclink, .pagenavcounter{display:none !important;}

.responsive-video{overflow:hidden;padding-bottom:56.25%; position:relative;height:0;}

.responsive-video iframe{left:0;top:0;height:100%;width:100%;position:absolute;}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 

.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.category-desc { text-align: center; margin: 0; padding: 10px 0; font-family:'Pathway Gothic One', Arial, sans-serif; font-size: 20px; line-height: 26px; font-weight: normal}

.category-desc p {margin:0; padding:0}

.category-desc a { font-family:'Pathway Gothic One', Arial, sans-serif; font-size: 20px; line-height: 26px; padding: 0 8px; margin-left:5px; color: #FFF; background: #999999; width: 100px; height: 26px; text-transform: uppercase }




h1, h2, h3, h4, h5, h6 {
  color: #141414;
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-weight: normal;
  line-height: 1.2;
  text-rendering: optimizeLegibility;
  margin: 0 0 0.5em;
}

.item-page h1,
.item-page h2,
.item-page h3,
.item-page h4,
.item-page h5,
.item-page h6 {
  font-size: 2.875rem; /* ≈ 46px */
  line-height: 1.1;
  padding: 30px 0;
  margin: 0;
  text-align: center;
}

.content-category h1 {
  line-height: 1.1;
  padding: 15px 0;
  margin: 15px 0;
  font-size: 2.875rem; /* ≈ 46px */
  text-align: center;
}



.blog .page-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #333;
  padding: 10px 0;
}


.page-header h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #333;
  padding: 30px 0 5px 0;
}

.mod-custom p {margin:0;padding:0}

.article-info-term {display:none}





.social,
.copyright,
.footer {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  margin: 0;
  padding: 0;
}

.social a,
.copyright a,
.footer a {
  font-size: 13px !important;
  color: #141414 !important;
  font-weight: bold;
  text-decoration: none;
}

.social {
  margin: 0 0 20px 0;
  padding-top: 0 !important;
}

.social strong {
  color: #5a5a5a;
}

.social a {
  color: #5a5a5a !important;
  font-weight: bold;
}

.social a:hover,
.social a:focus,
.social a:active,
.social i:hover {
  color: #141414 !important;
  text-decoration: none;
}

.social ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.social ul li {
  display: inline-block;
  padding: 2px 15px;
  border-right: 1px solid #ccc;
  margin: 2px 0;
}

.social ul li:first-child {
  padding-left: 0 !important;
}

.social ul li:last-child {
  border-right: none;
}

.social ul li a {
  color: #141414;
  font-weight: bold;
  font-size: 13px;
}

.social span {
  color: #666;
  line-height: 40px;
}




@media (max-width: 768px) {
  .social ul li {
    padding: 2px 7px;
  }
}

/* Footer base padding */
.footer {
  padding: 0 20px;
}

/* Footer navigation */
.footer ul.nav {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.footer ul.nav li {
  display: inline-block;
  padding: 0 12px;
  border-right: 1px solid #ccc;
}

.footer ul.nav li:first-child {
  padding-left: 0 !important;
}

.footer ul.nav li:last-child {
  border-right: none;
}

.footer ul.nav li a {
  color: #141414;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
}

.footer ul.nav li a:hover {
  color: #cc0000;
}

/* Copyright section */
.copyright {
  color: #333;
  text-align: center !important;
  margin: 20px 0 40px 0;
}

.copyright a {
  color: #333;
  text-decoration: none;
}






.com-content-article__body, .blog-item, table, td, th {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1.6;
  color: #141414;
}







/*PAGINATION*/




ul.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 30px auto;
  gap: 8px;
}

ul.pagination li.page-item {
  display: inline-block;
  text-align: center;
  font-size: 16px;
}

/* Standard page links */
ul.pagination li.page-item a.page-link {
  display: inline-block;
  padding: 6px 16px;
  background: #ffffff;
  border: 2px solid #ccc;
  color: #141414;
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover state */
ul.pagination li.page-item a.page-link:hover {
  background: #FFF;
  border-color: #999;
  color: #000;
}

/* Active (current page) */
ul.pagination li.page-item.active > a.page-link {
  background: #cc0000;
  border-color: #cc0000;
  color: #ffffff;
}

/* Disabled */
ul.pagination li.page-item.disabled > a.page-link {
  background: #f5f5f5;
  color: #aaa;
  border-color: #eee;
  cursor: default;
  pointer-events: none;
}

/* Special controls: First, Prev, Next, Last */
ul.pagination li.page-item a.page-link:contains("«"),
ul.pagination li.page-item a.page-link:contains("‹"),
ul.pagination li.page-item a.page-link:contains("›"),
ul.pagination li.page-item a.page-link:contains("»") {
  font-weight: bold;
  letter-spacing: 1px;
}

ul.pagination li.page-first a,
ul.pagination li.page-prev a,
ul.pagination li.page-next a,
ul.pagination li.page-last a {
  font-weight: bold;
  letter-spacing: 1px;
}




.page-item.disabled .page-link {display: none !important}
.page-item .icon-angle-left:before {    content: "previous";}
.page-item .icon-angle-double-left:before {    content: "first";}
.page-item .icon-angle-right:before {	content: "next";}
.page-item .icon-angle-double-right:before {	content: "last";}





.pagenavigation, .pager {
  display: none;
}









table { display: table; width: 100%;}

.tr { display: table-row;}

table.table>tbody>tr:hover td, table.table>tbody>tr:hover th { background-color: #EEEEEE !important;}

tr,td, th { text-align: center; margin: auto; padding: 1rem; width: 100%;}

table a {color: #141414!important}



ul.list-1 { list-style-type: square;  margin-left: 20px;}





hr { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(217, 217, 217), rgba(0, 0, 0, 0));}






.content-category h1 { text-align: center; font-size: 36px; }

.com-content-category__table a {font-family:'Pathway Gothic One', Arial, sans-serif; font-size: 22px; font-weight: normal!important}






#system-message-container {background: #FFFFFF!important; border: none!important; text-align: center!important; font-family:Georgia, Cambria, "Times New Roman", Times, serif!important;font-size:20px!important;line-height:30px!important;color:#141414;}


#system-message-container joomla-alert[type=success],

#system-message-container joomla-alert[type=danger]{ background: #FFFFFF!important; border: 2px solid #EEE!important; color: #141414!important; border-radius: 0!important }



#system-message-container .visually-hidden { display: none!important; }







/* Base Button Style */
button,
input[type="submit"],
.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #CC0000;
  color: #ffffff;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}



/* Disabled */
button:disabled,
input[type="submit"]:disabled,
.btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* Small Variant (optional) */
.btn-small,
button.small {
  padding: 6px 12px;
  font-size: 14px;
}

/* Full Width (optional utility) */
.btn-block {
  display: block;
  width: 100%;
}




/* Input Fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 0;
  background: #f9f9f9;
  color: #333;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* Legends (section titles) */
legend {
  font-family: 'Pathway Gothic One', Arial, sans-serif;
  font-size: 24px;
  font-weight: normal;
  padding: 10px 0;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}



.blog .create {
  display: block;
  width:  100%;
  text-align: left;
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  color: #333;
  margin: 10px auto;
}



.create {
  display: block;
  width:  250px;
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  color: #333;
  margin: 10px auto;
}

/* Modern Tag Styling for Joomla 5.3.0 */
ul.tags, .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 1em 0;
  list-style: none;
}

.tags li, .tag-item {
  display: inline-block;
}

.tags li a, .tag-item a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.85em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  background-color: #f0f0f0;
  color: #141414;
  transition: background-color 0.3s, color 0.3s;
}

.tags li a:hover, .tag-item a:hover {
  background-color: #cc0000;
  color: #ffffff;
}
/* Hide submenu initially */
.horizontal-menu .nav-item .mod-menu__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  padding: 0.75rem 0;
  min-width: 180px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 1000;
}
.horizontal-menu .nav-item.parent {
  position: relative;
}

.horizontal-menu .nav-item.parent:hover > .mod-menu__sub {
  display: block;
}
.horizontal-menu .mod-menu__sub li {
  padding: 0;
}

.horizontal-menu .mod-menu__sub li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}

.horizontal-menu .mod-menu__sub li a:hover {
  background: #f2f2f2;
}
/* Add ▼ indicator to parent items that have a submenu (desktop menu) */
.horizontal-menu .nav-item.parent > a::after {
  content: " ▼";
  font-size: 0.75em;
  opacity: 0.7;
  margin-left: 0.35rem;
  position: relative;
  top: -0.05em;
}

/* Optional: make it react on hover */
.horizontal-menu .nav-item.parent:hover > a::after {
  opacity: 1;
}
/* Only Blog (item-102) */
.horizontal-menu .item-102.parent > a::after {
  content: " ▼";
  font-size: 0.75em;
  opacity: 0.7;
  margin-left: 0.35rem;
  position: relative;
  top: -0.05em;
}
/* Hide "Subcategories" block at bottom of Blog category pages */
.com-content-category-blog__children.cat-children {
  display: none !important;
}



