body {font-size:120%;}

main, footer {width:90%;margin:auto;} 

h1.page-header {padding:0.5% 1%;color:yellow;background-color:#060;font-size:1.6em;border-radius:0.2em;}

h2 {color:yellow;font-style:italic;}

h3 {color:#026670;font-style:italic;font-weight:bolder;}

h4 {color:black;font-weight:bolder;}

span.dropcap {
  color:#026670;
  float: left;
  font-family:Georgia, serif;
  font-size:75px;
  line-height:60px;
  padding-top:0;
  padding-right:4px;
  padding-left:3px;
}


p.larger_text {font-size:1.2em;}


figure {text-align:center;color:#026670;}

footer {padding: 0.5% 1%;}

footer a {display:inline-block;}

/* avmedia rescaling */
audio, video {max-width:90%;margin:1% 0}
video{
   object-fit: inherit;
   height:auto;
}

.align-right {
    display:inline-block;
    float:right;
    margin:2% 4% 2% 2%;
}
.align-left {
    display:inline-block;
    float:left;
    margin:2% 2% 2% 4%;
}

/* Front page "slider" */
#slides{
    position:relative;
    height:350px;
    padding:0px;
    margin:0px;
    list-style-type:none;
    line-height:2em;
}



/* flexible 3 in a row grids */
.gridbox a:link, .gridbox a:visited {
    background-color:#0099FF;
    color:white;
    padding:2px 10px;
    text-align:center;
    text-decoration:none;
    display:inline-block;
    border-radius:8px;
}


.gridbox a:hover, .gridbox a:active {
    background-color:#0033FF;
}
.gridrow {
	clear:both;
	padding:0px;
	margin:0px;
}

.gridbox {
	float:left;
	margin:1% 0 1% 1.6%;
	width:30%;
	padding:1%;
}

.gridbox2 {
	float:left;
	margin:1% 0 1% 1.6%;
	width:61.6%;
	padding:1%;
}
.gridbox3 {
	float:left;
	margin:1% 0 1% 1.6%;
	width:47.4%;
	padding:1%;
}
.gridbox:first-child {margin-left:2%;}

.gridrow:before,
.gridrow:after {content:""; display:table;}
.gridrow:after {clear:both;}
.gridrow { zoom:1; /* fixes old IE */ }

/*  Full width grid boxes on small screens */
@media only screen and (max-width: 481px) {
	.gridbox, .gridbox2, .gridbox3 {margin: 1% 0%;width:100% }
        .gridbox:first-child {margin-left:0;}
}

/* outline and center audio and video in a gridbox */

.gridrow audio, .gridrow video {
	display: block;
	margin: 0 auto;
	outline: 2px solid black;
}

/* end of grids */

/* horizontal rules */
hr {
  border: 1px dashed green;
}


/* tables striped */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid gray;
}

th, td {
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
}

tr:nth-child(even){background-color: #eee}

/* end tables */

/* Blockquotes */

blockquote {
display: relative;
margin: auto;
font-family: Georgia, serif;
font-size: 1em;
font-style: italic;
width: 80%;
padding: 0.25em 40px;
line-height: 1.45;
position: relative;
color: #433;
}

blockquote:before {
display: block;
content: "\201C";
font-size: 4em;
position: absolute;
left: -20px;
top: -20px;
color: #7a7a7a;
}

blockquote cite {
color: #999;
font-size: 0.8em;
display: block;
margin-top: 5px;
}
 
blockquote cite:before {
content: "\2014 \2009";
}

/* end Blockquotes */



/* Email contact form */

#ts-contact-form fieldset {
    width: 100%;
    max-width: 620px;
    font-size: 1.4em;
    border-radius: 10px;
    background-color: #eeeeff;
    color:#026670;
}

#ts-contact-form input, #ts-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size:1em;
    resize: vertical;
}


#ts-contact-form label {
    padding: 12px 12px 12px 0;
    display: block;
    color:black;
}

#ts-contact-form input[type=button] {
    background-color: #0077ff;
    color: white;
    font-size:1.4em;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    margin-top:10px;
}

#ts-contact-form input[type=button]:hover {
    background-color: #0044dd;
}

#ts-email-response dt {
    color:#026670;
}

/* contact form response */

#ts-email-response dl {
    border: 3px double #ccc;
    padding: 0.5em;
  }
#ts-email-response  dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: right;
    font-weight: bold;
    color: green;
  }
#ts-email-response  dt::after {
    content: " ";
  }
#ts-email-response  dd {
    margin: 0 0 0 110px;
    padding: 0 0 0.5em 0;
    text-align:left;
  }

/* end of contact form */