/*
 * Website font
 */
@font-face 
  {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Rubik-Regular.woff2') format('woff2'),
       url('../fonts/Rubik-Regular.woff') format('woff');
  font-display: swap;
  }

@font-face 
   {
   font-family: 'Rubik';
   font-style: italic;
   font-weight: normal;
   src: url('../fonts/Rubik-Italic.woff2') format('woff2'),
        url('../fonts/Rubik-Italic.woff') format('woff');
   font-display: swap;
   } 

@font-face 
  {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/Rubik-Bold.woff2') format('woff2'),
       url('../fonts/Rubik-Bold.woff') format('woff');
  font-display: swap;
  }

:root 
  {
  --font-family-body: 'Rubik', sans-serif;
  --font-family-headings: 'Rubik', sans-serif;
  --font-weight-headings: 700;
  --font-weight-normal: 400;
  }

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 
  {
  font-family: var(--font-family-body);
  }

/* Narrower header padding */
.header {
  padding: 1rem;
}

/* 
 * Top banner position content
 */
.container-banner .middle-hero 
   {
   font-size: 1.25rem;
   font-weight: 300;  
   line-height: 1.6;  
   margin: 1rem;       
   }

@media (max-width: 539.98px) {
    .container-banner {
        height: 30vh;
    }
}

@media (max-width: 539.98px) {
    .container-banner .banner-overlay {
        height: 30vh;
    }
}

@media (min-width: 540px) and (max-width: 759.98px) {
    .container-banner {
        height: 40vh;
    }
}

@media (min-width: 540px) and (max-width: 759.98px) {
    .container-banner .banner-overlay {
        height: 40vh;
    }
}

@media (max-width: 992px) {
    .container-banner .middle-hero {
        display: none;
    }
}

/*
 * Breadcrumbs
 */
.mod-breadcrumbs__here.float-start {
    font-size: 1rem;
}
  
  @media (max-width: 768px) {
    .mod-breadcrumbs__here.float-start {
        font-size: 0.8rem;
    }
  }

.mod-breadcrumbs__item.breadcrumb-item {
    font-size: 1rem;
}
  
  @media (max-width: 768px) {
    .mod-breadcrumbs__item.breadcrumb-item {
        font-size: 0.8rem;
    }
  }

/*
 * Frontpage Newsflash Module (Legacy)
 */
.frontpage h4.newsflash-title {
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
}

.frontpage h4.newsflash-title a {
  display: inline-block;
  text-decoration: none;
}

.frontpage figure.newsflash-image 
  {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
  height: 200px;
  }

.frontpage figure.newsflash-image img 
  {
  height: 100%;
  object-fit: cover;
  }

.frontpage .mod-articlesnews-horizontal p 
  {
  text-align: center;
  }

.frontpage .mod-articlesnews-horizontal .readmore .btn
  {
  margin: 0;
  }

/* Front Page Article Width */
.frontpage .com-content-article__body 
   {
   max-width: 1200px!important;
   margin-left: auto;
   margin-right: auto;
   }

/* Homepage Product Image Widget Image Zoom */
.product-widget img:hover 
  {
  transform: scale(1.2);
  border: 2px solid #fff;
  }

/*
 * Blog category content with article title and description
 */
.com-content-category-blog h1 {
    text-align: center;
    color: #5586F2;
}

.category-desc p {
    padding: 0 1.5rem 1.75rem 1.5rem;
    text-align: center;
}

/*
 * Blog articles
 */
/* Max Article Width */
.com-content-article__body {
   max-width: 1100px;
   margin-left: auto;
   margin-right: auto;
}

/* Article Info */
.com-content-article .article-info
   {
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
   }

/* Article title */
.com-content-article .page-header h1 
   {
   text-align: center;
   color: #5586F2;
   }

/* Article sub-headings  */
.com-content-article__body h2
   {
   color: #B81D17;
   margin-top: 1.25rem;
   margin-bottom: 1.25rem;
   }

.com-content-article__body h3
   {
   color: #D7C49E;
   margin-top: 1.25rem;
   margin-bottom: 1.25rem;
   }

.com-content-article__body h4
   {
   color: #5586F2;
   margin-top: 1.25rem;
   margin-bottom: 1.25rem;
   }

/* Article Paragraphs */
.com-content-article__body p
   {
   margin: 0 0 1.25rem 0;
   line-height: 1.6;
   font-size: clamp(1rem, 2.5vw, 1.3rem);
   }

/* Lead paragraph */
.com-content-article__body p.lead
   {
   margin-bottom:2rem;
   font-size:1.5rem;
   font-weight:200;
   line-height:1.6;
   }

/* Article Image Styling */
.com-content-article__body figure .right.item-image
  {
  padding: 1rem;
  }

/* Make figure the same size as image */
.com-content-article__body figure 
  {
  display:table; 
  }

.com-content-article__body figcaption
  {
  line-height: 1.25em;
  margin-bottom: 1.75rem;
  }

/* List items inside articles */
.com-content-article__body li 
   {
   font-size: 1.25rem;
   margin-bottom: 0.5rem;
   }

/*
 * Tables inside articles
 */
.com-content-article__body table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.75rem 0;
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.15);
}

th, td {
  padding: 0.75rem 1rem;
  text-align: center!important;
  border-right: solid 1px #dddddd; 
  border-left: solid 1px #dddddd;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) td {
  background-color: #f7f7f7;
}

tr:nth-child(odd) td {
  background-color: #f2f2f2;
}

td:first-child {
  border-left: 1px solid #ddd;
}

td:last-child {
  border-right: 1px solid #ddd;
}

/*
 * Nice line in right hand sidebar
 */
@media (min-width: 799px) {
  .sidebar--right {
    border-left: 1px solid #ddd;
    padding-left: 2rem;
  }
}

/* Narrow sidebar for articles & categories */
  body.com_content.view-category.layout-blog .main-content.with-sidebar-right,
  body.com_content.view-article .main-content.with-sidebar-right {
  grid-template-columns: 1fr 175px;
}

/* Wider sidebar for squeeze pages */
body.squeezepage .main-content.with-sidebar-right {
  grid-template-columns: 1fr 500px; !important;
}

/* Larger font size for Font Awesome lists inside custom modules */
.mod-custom.custom ul.fa-ul li {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/*
 * Footer menu & copyright
 */
footer .mod-footer 
  {
  padding: 0.5rem 0;
  position: relative;
  width: 100%;
  }

.container-footer .metismenu-item a {
    font-size: 1rem;
}

/*
 * Table of contents module
 */
ol.table-of-contents-ck
   {
   background: #f9f9f9 none repeat scroll 0 0;
   border: 1px solid #acacac;
   display: table;
   margin-bottom: 1em;
   padding: 1.25rem;
   width: auto;
   }

ol.table-of-contents-ck li
   {
   font-size: 1rem;
   }

/* 
 * About Brett newsflash module
 */
.moduletable.apropos {
    max-width: 800px;
    padding: var(--s1);
}

/* Target the <li> in horizontal layout */
.moduletable.apropos .mod-articlesnews-horizontal li {
    display: grid;
    grid-template-columns: 25% 1fr;
    grid-template-rows: auto var(--s1);
    align-items: center;
    gap: 0 var(--s2); /* cleaner spacing */
}

/* Image */
.moduletable.apropos .newsflash-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* span both rows */
}

.moduletable.apropos .newsflash-image img {
    border-radius: 50%;
    border: 1px solid var(--grey1);
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Text paragraph */
.moduletable.apropos .mod-articlesnews-horizontal li > p:not(.readmore) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin: 0;
  font-size: 1.25rem;
}

/* Readmore */
.moduletable.apropos .readmore {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin: 0;
}

/* Hover */
.moduletable.apropos .readmore a.btn:hover {
    background-color: var(--successh);
    border-color: var(--successh);
}

/* Responsive mobile stacking*/
@media (max-width: 799px) {
    .moduletable.apropos .mod-articlesnews-horizontal li {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .moduletable.apropos .newsflash-image {
        margin: 0 auto var(--s2);
        max-width: 200px;
    }

    .moduletable.apropos .newsflash-image img {
        width: 150px;
        height: 150px;
    }
}

/* 
 * Member login connection page
 */
.com-users-login__options .com-users-login__register {
    display: none;
}

.com-users-login__submit .control-group {
  text-align: center;
}

.plg_system_webauthn_login_button svg 
  {
  width: 1.6rem;
  margin: 0.25rem;
  }

/*
 * Social Links
 */
.social-links {
    padding: 0;
    margin: 0;
}

.social-links li {
    display: inline-block;
    margin-right: 0.625rem;
}

.social-links li a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10%;
  height: 2rem;
  width: 2rem;
  text-decoration: none;
}

.social-links li a i {
    font-size: 1.125rem;
}

/*
 * Hikashop 
 */
.hikashop_products_listing_main h1
    {
    text-align: center;
    }

.hikashop_category_description_content p
    {
    text-align: center;
    }

.hikashop_category_image img.hikashop_product_listing_image
    {
    margin: 0 auto;
    }  

a.hikabtn.product_details_button.hikashop_aligned_btn 
  {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  margin: 1rem auto;
  box-sizing: border-box;
  font-size: 1.5rem;
  background-color: forestgreen;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: none;
  }

/*
 * Widget for course or product advertisements
 */
.widget {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    max-width: 900px;
    margin: var(--s2) auto;
    background-color: #F2F2F2;
    padding: var(--s2);
    border-radius: .5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.widget:hover {
    box-shadow: var(--card-shadow-hover);
}

.widget-column {
    flex: 1;
    min-width: 280px;
    padding: var(--s1);
    margin-top: var(--s1);
    box-sizing: border-box;
}

.widget-tagline {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #A65151;
    color: white;
    padding: var(--s0) var(--s1);
    border-top-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    z-index: 1;
}

.widget-content {
    padding-top: 1.75rem; 
}

.widget-content h3 {
    color: #021740;
    font-size: clamp(1.5rem, calc(1rem + 3vw), 2rem);
    line-height: 1.3;
}

.widget-content h4 {
    color: #021740;
    font-size: clamp(1.5rem, calc(1rem + 3vw), 2rem);
    line-height: 1.3;
}

.widget-content strong {
    color: #021740;
    font-size: clamp(1.5rem, calc(1rem + 3vw), 2rem);
    line-height: 1.3;
}

.widget-content p {
    margin: 0 0 1.25rem 0;
    font-size: 1.25rem;
    line-height: 1.5;
}

.widget-evaluation {
    margin-top: var(--s1);
    margin-bottom: var(--s1);
}

.widget-evaluation .fas.fa-star {
    color: #F2C763;
}

.widget-evaluation .fas.fa-star-half {
    color: #F2C763;
}

.widget-action-button {
    display: inline-block;
    background-color: #0477BF;
    color: white;
    padding: var(--s0) var(--s1);
    border-radius: .3125rem;
    text-decoration: none;
    font-weight: 700;
    margin-top: var(--s1);
    transition: background-color 0.3s ease;
    border: 0.0625rem solid #0477BF;
}

.widget-action-button:hover {
    background-color: #021740;
    border-color: #021740;
    color: white;
    text-decoration: none;
}

.widget-image-column 
  {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-radius: .5rem;
  overflow: hidden;
  padding: var(--s1);
  }

.widget-image-column img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: .5rem;
}

.widget-image-column p {
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 799px) 
   {
   .widget-content p {
    font-size: 1.125rem;
    }
   .widget-column {
     flex: 100%;
     margin-top: var(--s2);
   }
   .widget-image-column {
     order: -1;
   }
 }

/*
 * TF Learn Course Sales Page View (not for logged-in users)
 */
@media (max-width: 767.98px) {
  body.com_tflearn.view-courses .card-text {
    display: none;
  }
}

/* TF Learn course sales page */
body.com_tflearn.view-course h1 
  {
  text-align: center;
  color: #0477BF;
}

body.com_tflearn.view-course h2 {
  margin: 2rem auto 1.5rem;
  font-weight: 800;
  text-align: center;
}

body.com_tflearn.view-course h3 
  {
  font-weight: 700;
  margin: 2rem auto 1.5rem;
  text-align:center;
  color: #A65151;
  }

body.com_tflearn.view-course h4 
  {
  font-weight: 600;
  margin: 1.5rem auto 1.25rem;
  color: #021740;
  }

body.com_tflearn.view-course p {
  font-size: 1.5rem;
  margin: 0 auto 1.75rem;
  margin-bottom: 2rem;
  color: #010101;
}