/* HeartStart Canada - Clean CSS */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #CCCCCC;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  color: #404040;
}

/* ===== LAYOUT ===== */
.site-wrapper {
  width: 768px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  width: 768px;
  height: 208px;
  display: flex;
  background: #000;
}

.site-header a {
  display: block;
}

.site-header img {
  display: block;
  border: 0;
}

/* ===== NAVIGATION BAR ===== */
.nav-bar {
  background-color: #1A3F86;
  width: 768px;
  height: 35px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.nav-bar a {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  padding: 0 10px;
  white-space: nowrap;
}

.nav-bar a:hover {
  text-decoration: underline;
  color: #ccddff;
}

.nav-bar .nav-sep {
  color: #7799cc;
  padding: 0 2px;
}

/* ===== BODY AREA ===== */
.site-body {
  background: url('../images/bg.gif') repeat-x #FFFFFF;
  width: 768px;
  min-height: 400px;
  padding: 20px 12px 20px 12px;
  display: flex;
  gap: 0;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  min-width: 0;
  padding-right: 10px;
}

.page-title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #0C439E;
  text-decoration: none;
  margin-bottom: 15px;
  display: block;
}

.content-text {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  color: #404040;
  line-height: 1.6;
}

.content-text p {
  margin-bottom: 10px;
}

.content-text strong {
  font-weight: bold;
}

.content-text h3 {
  font-size: 13px;
  font-weight: bold;
  color: #0C439E;
  margin: 12px 0 6px;
}

/* ===== SIDEBAR DIVIDER ===== */
.sidebar-divider {
  width: 1px;
  background-color: #cccccc;
  margin: 0 10px;
  flex-shrink: 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 214px;
  flex-shrink: 0;
}

.sidebar-section-title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #0C439E;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.sidebar-section-title:hover {
  text-decoration: underline;
}

.sidebar-text {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  color: #404040;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #ffffff;
  width: 768px;
  padding: 5px 0 15px;
  text-align: center;
}

.site-footer hr {
  border: none;
  border-top: 1px solid #cccccc;
  margin: 5px 0;
}

.footer-links {
  padding: 10px 0;
}

.footer-links a,
.footer-copyright {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #000000;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .sep {
  color: #999;
  margin: 0 4px;
}

.footer-copyright {
  display: block;
  padding: 8px 0;
}

/* ===== HOME PAGE TWO-COLUMN LAYOUT ===== */
.home-two-col {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}

.home-two-col .img-left {
  width: 35%;
  padding-right: 10px;
}

.home-two-col .img-left img {
  width: 100%;
  max-width: 153px;
  height: auto;
}

.home-two-col .text-right {
  width: 65%;
}

/* ===== COVID SECTION ===== */
.covid-section {
  margin-top: 20px;
  padding-top: 5px;
}

.covid-title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: darkblue;
  margin-bottom: 10px;
}

/* ===== COURSES PAGE ===== */
.course-list-intro {
  margin-bottom: 15px;
}

.course-list-intro a {
  color: #404040;
  text-decoration: none;
}

.course-list-intro a:hover {
  text-decoration: underline;
}

.course-heading {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #000;
  margin: 20px 0 5px;
}

.course-price {
  text-align: center;
  margin-bottom: 10px;
  color: #404040;
}

.buy-button {
  display: block;
  margin: 15px auto;
  padding: 5px 20px;
  border-radius: 6px;
  border: 1px solid #00a3e2;
  background-image: linear-gradient(to top, #00a4e2 0%, #0096db 25%, #93d3f1 100%);
  font-size: 11pt;
  font-weight: bold;
  font-family: "Century Gothic", "Helvetica", sans-serif;
  color: white;
  text-shadow: #008ebd 0px -1px 0px;
  cursor: pointer;
  transition: 0.3s;
}

.buy-button:hover {
  background-image: linear-gradient(to top, #0096db 0%, #4cbbe8 75%, #00a4e2 100%);
}

.course-items-table {
  width: 80%;
  margin: 10px auto;
  border-collapse: collapse;
}

.course-items-table td {
  padding: 3px 0;
  font-size: 12px;
  color: #404040;
  vertical-align: top;
}

.course-items-table td:first-child {
  width: 20px;
  color: #666;
}

/* ===== MEDICAL PAGE ===== */
.medical-links-table {
  width: 80%;
  margin: 0 auto;
}

.medical-links-table td {
  padding: 4px 0;
}

.medical-links-table a img {
  border: 0;
  display: block;
}

/* ===== AED PAGE ===== */
.aed-product-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.aed-product-row img {
  border: 1px solid #cccccc;
  max-width: 150px;
}

/* ===== AFFILIATES PAGE ===== */
.affiliates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.affiliates-grid img {
  border: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-info {
  text-align: center;
  padding: 20px 0;
}

.contact-info strong {
  font-size: 13px;
  line-height: 2;
}

.contact-info a {
  color: #0000FF;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #663300;
}

/* ===== LINK STYLES ===== */
a.subtitle {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #0C439E;
  text-decoration: none;
}

a.subtitle:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE TOUCHES ===== */
@media (max-width: 800px) {
  .site-wrapper, .site-header, .nav-bar, .site-body, .site-footer {
    width: 100%;
  }
}
