/*This is the CSS file Index Template */
  @import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,700;1,300;1,700&display=swap');

body{
	font-family: 'Roboto Condensed', sans-serif;
	margin: 0; font-size: 120%;
}
main{
	margin: 15px;
}
h1 {
		text-align: center;
		font-weight: bold;
}
h2 {
	text-align: left;
	font-weight: bold;
	font-style: italic;
}
h3 {
	text-align: left;
}
p {
	text-align: left;
}
a:link{
color: purple;
}
a:visited{
color: purple;
}
a:hover{
color: blue;
}
a:active{
color: black;
}

/* Horizontal Navigation Bar */

nav{
	background-color: #999999;
	border-top: 2px solid black;
	padding-top: 10px;
	margin-top: 1px;
	padding-right: 20px;
}

nav ul{
  list-style-type: none;
  text-align: center;
}
nav li{
  display: inline;
}
nav a{
  text-decoration: none;
  scroll-padding-top: 1px;
  margin-top: 1px;
}
nav a:link{
  color: #990099
}
nav a:visited{
  color:pink;
}
nav a:hover{
  color:white;
}
nav a:active{
  color:black
}
main{
	text-align: center;
}
table {
	border-collapse: collapse;
	width: 90%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}
td, th{
	border: 1px solid; black;
	padding: 8px;
	text-align: center;
}
th{
	background-color: green;
	color: whitesmoke;
}
tr:nth-child(odd) {
	background-color: #f2f2f2;
}
form {
	width: 90%;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}
label {
	float: left;
	width: 8em;
	padding-right: 1em;
	text-align: right;
}
input, textarea {
	margin-bottom: 1em;
	display: block;
}
input[type=submit] {
	display: block;
	background-color: darkgray;
	float: right;

}
#tom {
	float: left;
	border: 2px solid #000000;
	margin-right: 3%;
	margin-bottom: 10px;
}
#tomlogo {
	float: right;
	margin-left: 3%;
	margin-bottom: 10px;
}
#tom-with-t {
	float: right;
	margin-left: 3%;
	margin-bottom: 10px;
}

.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

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


blockquote{
    padding: 0px 60px 0px 60px;
    background-color: white
}


.gallery .preview{
    width:100%
    height:auto;
}

.gallery .gallery-thumbnails img {
    width:100px;
    height:75px;
    margin: 3px 10px 10px 0;
}

.gallery .gallery-thumbnails img:hover {
    opacity: .8;
    cursor: pointer;
}

.gallery .preview img#preview {
    padding: 0px;
    max-width: 100%;
    height: auto;
    margin: 0 auto !important;
    display: block !important;
}
.header-hero{
	background-image: url(images/t-logo-75px.png);
	height: 75px;
	background-size: 200px;
	background-position: center;
	background-repeat: no-repeat;
}
.home-hero{
	background-image: url(images/20170722-wheat-house-11081-1200px.jpg);
	height: 400px;
	background-size: cover;
	background-position: center;
	padding-top: 5px
	color: #042837;}
img{
	box-shadow: 10px 10px 5px lightgrey;
	border: solid black 1px;
}
.fa{
	color: #666666;
	font-size: .9em;
}

footer{
	clear: both;
	text-align: center;
	border-top: 2px solid black;
	background-color: #999999;
	border-bottom: 2px solid black;
}

/* CSS for Tablets  */
@media only screen and (max-width: 1024px)
{
	h1 {
		font-size: 1.8em;
	}
	h2 {
		font-size: 1.4em;
	}
	h3 {
		font-size: 1em;
	}
}
/* CSS Adjustments for Smartphones */
@media only screen and (max-width: 768px)
{
	h1 {
		font-size: 1.5em;
	}
	h2 {
		font-size: 1em;
	}
	h3 {
		font-size: .8em;
	}
}