
:root {
  --bodyBg-color: #fdffe3;
  --bodyComp-color: #e6e3bb;
  --featText-color: #73371d;
  --bodyText-color: #242729;
  /* call these in CSS like this            */
  /* background-color: var(--bodyBg-color); */
  /* alternative to php                     */
}

.myInverseText {
   color: #fdffe3;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-style: italic;
}

/* Construction Notice */
.cnst {
   max-height: 250px;
   max-width: 250px;
   border: 8px solid #c12011;
   border-radius: 4px;
   padding: 12px;
   box-sizing: border-box;
   background: radial-gradient(rgba(192,192,192,0.85), #242729);
   text-align: center;
   text-shadow: 0 0 8px #fff;
   z-index: 501; /* 1 larger than largest in all other CSS files */
}

a.menu:link, a.menu:visited {
   display: block;
   width: 130px;
   font-weight: 700;
   color: #73371d;
   background-color: #e6e3bb;
   text-align: center;
   text-decoration: none;
   text-transform: uppercase;
   padding: 4px;
   border-radius: 4px;
   box-shadow: 2px 2px 5px #c0c0c0;
}
	
a.menu:active, a.menu:hover, a.menu#active {
   background-color: #73371d;
   color: #fdffe3;
}

body {
   background-color: #fdffe3;
   background-image: url(../img/thresher.png); 
   background-repeat: no-repeat;
   background-position: left top;
   color: #242729;
   font-family:Verdana, Arial, Helvetica, sans-serif;
   margin-left: auto;
   margin-right: auto;
   width: 95%;
}

br {
   clear:both;
}

.btn1 {
    background-color: #e6e3bb;
    border: none;
    border-radius: 4px;
    box-shadow: 2px 2px 5px #c0c0c0;
    color: #73371d;
    cursor: pointer;  
    display: block;  
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    text-decoration: none;
}

h1.mySiteTitle {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin-left: 4.6em; /* default is 0 */
    margin-top: 1em; /* default is 0.67em */
    margin-bottom: 1.1em; /* default is 0.67em */
    width: 9em;
    text-shadow: 2px 2px 6px #fdffe3;
}

h1,h2,h3,h4,h5,th, [class*="header_"] {
    // header_* used at webcam/index.html for <div> formatting (not in use)
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color:#73371d;
}

h3.caption { /* used in slides */
    display: block;
    font-size: 1.17em;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: 700;
}

hr {
    color: #73371d;
    height: 4px;
    border-style: solid;
}

/* for scalable images that have height and width specified */
img { 
    width: auto; /* IE8 only */
    max-width: 100%;
    height: auto;
}

/* Increase radio button's size */
input[type='radio']{
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

li.menu {
   float: left;
   padding: 0;
   margin: 5px;
}

li {
   padding-bottom: 7px;   
}

.myRadios label { /* styling for unchecked label */
    display: inline-block;
}

.myRadios input[type="radio"]: checked + label {
    font-weight: 600;
}

.myRedFont {
   background-color: transparent;
   color: #c12011;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-style: italic;
   font-weight: 700;
}

.myGreyFont, .myGreyFont a:link, .myGreyFont a:visited{
   background-color: transparent;
   color: #808080;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-style: italic;
   font-weight: 500;
}

.no-select {
   -webkit-user-select: none;  /* Chrome all / Safari all */
   -moz-user-select: none;     /* Firefox all             */
   -ms-user-select: none;      /* IE 10+                  */
}

ul.menu {
   display: block;
   list-style-type: none;
   overflow: auto;
   margin: 0;
   padding: 0;
}

video {
   width: 100%;
   height: auto;
   max-width: 800px; <!-- was 640 -->
   border: 2px solid gray;
}

.vid_cap {
   max-width: 640px;
   min-height: 4em;
}

.vid_cont {
   min-height: 480px;
   max-width: 644px;
   padding: 4px;
   border:solid 4px gray; 
   border-radius: 4px;
}

.vid_cap8 {
   max-width: 800px;
   min-height: 4em;
}

.vid_cont8 {
   /* min-height: 450px; */
   max-width: 804px;
   padding: 4px;
   border:solid 4px gray; 
   border-radius: 4px;
   background-color: #73371d;
}

/* my smaller screen features for mobile devices
   biggest phone dim = 504w x 667h
   biggest tablet dim = 800w x 1280h */
@media only screen and (max-width: 1280px) {
	a.menu:link, a.menu:visited {
	   display: inline;
	   font-weight: 500;
	   padding: 2px;
	   text-transform: none;
	}
	body {
	   background-image:url(../img/thresher-mobi.png);
	}
	h1.mySiteTitle {
	   font-size: 1.1em;
	   margin-left: 3em; /* default is 0 */
	   margin-bottom: 1em; /* default is 0.67em */
	   width:auto;
	}
}

/* ---------------- */
/* for Royal Slider */
/* ---------------- */

.royalSlider { /* overall container */
   width:100%;
	max-width: 812px; 
   border-radius:4px;
}

/* at screen heights <= 1052px, show 120/240 of caption */
/* std img h 812px + .rsGCaption min-height 240px = 1052px */
@media only screen and (max-height : 1052px) { 
   .royalSlider {
      max-height: calc(100vh - 120px); /* half of 240px caption */
      min-height: 100px; /* so it doesn't disappear */
   }
}

/* at screen heights <= 400px, fill screen with slides */
@media only screen and (max-height: 400px) {
   .royalSlider {
      max-height: 95vh;
      min-height: 100px; /* so it doesn't disappear */
   }
}

.royalSlider .rsGCaption { /* caption generated from img alt tag */
   left:0;
   margin: 0;
   padding: 4px 8px;
   width: 100%;
   min-height: 240px; /* so text is not usually the very last thing on the page */
   background: #fdffe3;
   color: #242729;
   font-size: 1em;
   position: static;
   box-sizing: border-box;
}

.rsDefault .rsThumb.rsNavSelected { /* highlights selected thumbnail */
    background: #fff;
    background: rgba(192,192,192,0.5);
    background: radial-gradient(rgba(255,255,255,0.75), #000);
}

img.rsImg { /* the displayed image */
   border-radius:4px;
}

.rsImg .rsMainSlideImage { /* vertically center images, esp landscape */
   display: block;
   margin-top: 0;
   margin-bottom: 0;
   position: absolute;
   top: 50%;
   transform: translate(0, -50%)
}

/* background around slides */
.rsDefault,
.rsDefault .rsOverflow,
.rsDefault .rsSlide,
.rsDefault .rsVideoFrameHolder {
   background: linear-gradient(#c0c0c0, #242729);
}

.rsDefault .rsOverflow { /* behind current slide and .rsContainer */
   border-radius: 4px 4px 0 0;
}
	
.rsDefault .rsThumbs { /* color around thumbs */
   background-color: #242729;
   box-sizing: border-box;
   border: solid;
   border-width: 4px;
   border-color: #242729;
   border-radius: 0 0 4px 4px;
}

/* --------------------- */
/* for responsive-nav.js */
/* --------------------- */

/* modify "Menu" link */
a.nav-toggle:link, a.nav-toggle:visited {
   font-weight: 600;
   color:#73371d;
   background-color: #e6e3bb;
   text-align: center;
   padding: 4px;
   border-radius: 2px;
   box-shadow: 2px 2px 5px #c0c0c0;
}