body {
  margin: 0;
  font-family: Montserrat, Caveat, arial, helvetica, sans-serif;
  font-size: 12px;
  color: #3D4849;
  background: #f1f3f4;
  background-image: url(images/background.png);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px){
  body::before{
    background-image: url("images/background-mobile.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }
}


html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

/* Navigation */
.topnav {
  background-color: #333;
  max-width: 850px;
  margin: auto;

  white-space: nowrap;   /* keep links in one line */
  overflow-x: auto;      /* allow scrolling if too wide */
}

.topnav a {
  display: inline-block; /* line up horizontally */
  float: none;           /* remove float */
  color: #f2f2f2;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 14px;
}

.active {
  background-color: #dd0000;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 15px;    
  border: none;
  outline: none;
  color: white;
  padding: 10px 14px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}


@media screen and (max-width: 680px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 680px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

header {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: #000000;
}


.line-black {
  background-color: #000000;
  width: 100%;
  max-width: 850px;
  height: 15px;
  border-top: 5px;
  line-height: 80%;
  margin: 0 auto; /* centers horizontally */
}

.line-black-small {
  background-color: #000000;
  width: 100%;
  max-width: 850px;
  height: 1px;
  border-top: 5px;
  line-height: 80%;
  margin: 0 auto; /* centers horizontally */
}

.line-gold {
  background-color: #dd0000;
  width: 100%;        /* let it scale to the screen */
  max-width: 850px;   /* but don’t get bigger than 850px */
  height: 15px;
  border-top: 5px;
  line-height: 80%;
  margin: 0 auto;     /* keep it centered */
}

.line-gold-menu {
  background-color: #dd0000;
  width: 850px;
  height: 5px;
  border-top: 5px;
  line-height: 80%;
  position: relative;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
}

.line-grey {
  background-color: #c0c0c0;
  width: 100%;        /* let it scale to the screen */
  max-width: 850px;   /* but don’t get bigger than 850px */
  height: 1px;
  border-top: 5px;
  line-height: 80%;
  margin: 0 auto; /* centers horizontally */
}

.responsive {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Containers */
.container {
  position: relative;
  width: 850px;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  border: solid 0px;
}

h1 {
  font-size: 20px;
  color: #c5161e;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 3px 3px 9px #696969;
}

h1.shadow {
  font-size: 40px;
  text-shadow: 2px 2px 4px #000000;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 20px;
}

h3.orange {
  font-size: 20px;
  color: orange;
  text-shadow: 2px 2px 4px #000000;
}

h3.red {
  font-size: 20px;
  color: #c5161e;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 3px 3px 9px #696969;
}

h4.red {
  color: #c5161e;
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 8px 0;
  text-decoration: none;
}

blockquote {
  border-left: 5px solid #c5161e; /* This creates the vertical line */
  padding: 0.5em 10px 0.5em 20px; /* Adjusts spacing to prevent text overlap */
  margin: 1.5em 20px; /* Optional: adds space around the blockquote */
  background: #f9f9f9; /* Optional: adds a light background color */
}

.search-results {
    max-width: 900px;
    margin: 0 auto;
}

p {
  font-size: 14px;
}

.small-14 {
  font-size: 14px;
}

.small {
  font-size: 12px;
}

.smaller {
  font-size: 10px;
}

/* Links */
a.h1 {
  font-size: 20px;
  color: blue;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 3px 3px 9px #696969;
}

a.h1:hover {
  text-decoration:underline;
  color: maroon;
}

a.links {
  font: 14px Montserrat, arial, helvetica, sans-serif;
  text-decoration:none;
  color : blue;
}
a.links:hover {
  text-decoration:underline;
  color : maroon;
}

a.smaller {
  font: 10px arial, helvetica, sans-serif;
  text-decoration:none;
  color : blue;
}
a.smaller:hover {
  text-decoration:underline;
  color : maroon;
}

a.menu {
  font: 14px arial, helvetica, sans-serif;
  text-decoration:none;
  color : grey;
}
a.menu:hover {
  text-decoration:underline;
  color : maroon;
}

a.vid {
  font: 14px arial, helvetica, sans-serif;
  text-decoration:none;
  color : grey;
}
a.vid:hover {
  text-decoration:underline;
  color : white;
}

.vid {
  text-align: center;
  color: #ffffff;
}

ul {
  font-size: 14px;
  padding-left: 15px;
}

ul.about {
  list-style-image: url('images/patchsm.png');
  font-size: 14px;
  padding-left:15px;
}

li {
  margin-top:6px
}

ul.more {
  list-style-image: url('images/patchsm.png');
  font-size: 14px;
  padding-left:40px;
}

ol {
  font-size: 14px;
  margin-left: 5px;
margin-right: 5px;

}

.indented-list {
    margin-left: 30px; /* Adjust this value for more or less indentation */
    padding-left: 10px;
}

figure { 
  float: right; 
  display: block;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin: 0px; 
  margin-left:15px; 
  margin-bottom: 0px; 
  margin-right: 15px;
}

figure figcaption {
  border: 0px;
  text-align: center;
  font-size: 12px;
}

figure.left { 
  float: left; 
  display: block;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin: 0px; 
  margin-left:15px; 
  margin-bottom: 0px; 
  margin-right: 15px;
  border: 0px;
}

figure.left figcaption {
  border: 0px;
  text-align: center;
  font-size: 12px;
}

#img {
  display:block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.logo-img {
    width: 100%;
    max-width: 240px;
    height: auto;
}

@media (max-width: 680px) {
    .logo-img {
        max-width: 280px;
    }
}

.left {
  border: solid 1px black;
  float: left;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin-top: 0px; 
  margin-left:15px; 
  margin-bottom: 0px; 
  margin-right: 15px;
}

.leftnoborder {
  border: 0px;
  float: left;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin-top: 0px; 
  margin-left:15px; 
  margin-bottom: 0px; 
  margin-right: 15px;
}

.leftnobordersm {
  border: 0px;
  float: left;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin-top: 0px; 
  margin-left:10px; 
  margin-bottom: 0px; 
  margin-right:5px;
}

.right {
  border: solid 1px black;
  float: right;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin: 0px; 
  margin-left:15px; 
  margin-bottom: 0px; 
  margin-right: 15px;
}

.rightnoborder {
  border: 0px;
  float: right;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  margin-top: 0px; 
  margin-left:15px; 
  margin-bottom: 0px; 
  margin-right: 15px;
}

@media screen and (max-width: 680px) {

  figure {
    text-align: center; 
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  figure.left {
    text-align: center; 
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .right{
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .rightnoborder{
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .left{
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .leftnoborder{
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

}


@media screen and (max-width: 680px) {
  .small-img {
    width: 115px;
  }
}



.column {
  float: left;
  width: 33.33%;
  font-size: 14px;
}

.column50 {
  float: left;
  width: 50%;
  font-size: 14px;
  font-weight: bold;
}

.column100 {
  float: left;
  width: 50%;
  font-size: 14px;
  font-weight: bold;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 680px wide, make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 680px) {
  .column {
    width: 100%;
  }

  .column100 {
    width: 100%;
    float: left;
    font-size: 14px;
    font-weight: bold;
  }


}

/* Style the content */
.content {
  background-color: #ddd;
  padding: 10px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

/* Style the footer */
.footer {

  padding: 20px;
	text-align: center;
	font-size: 10px;
	color: black;
}

/* Mobile fixes only */
@media screen and (max-width: 680px) {

  /* Prevent horizontal scroll */
  body {
      overflow-x: hidden;
  }

  /* Topnav: keep links inside viewport */
  .topnav {
      max-width: 100%;
      overflow-x: auto;
      white-space: nowrap;
  
  }
}



