html {
  font-family: 'Barlow', sans-serif;
  font-size: min(max(.65rem, 2vw), 28px);
  line-height: 1.6;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  text-decoration: none;
  background-color: #525252;
}

body {
  margin: 0; 
  padding: 0;
  border: none;
  border-spacing: 0;
  border-collapse: collapse;
  text-decoration: none;
  background-color: #ffffff;
  width: 99vw;
  z-index: 0;
}

@viewport {
  width: 100vw;
}

*, *:before, *:after { 
	box-sizing: border-box; 
}

.viewbehind {
	background-image: url("https://drtanner.com/images/family-smiling_600.png");
  background-color: #525252;
  background-attachment: fixed;
  background-size: auto auto;
  background-repeat: no-repeat;
  background-position: center top;
  left: 0px;
  top: 0px;
  text-shadow: 2px 2px 6px #000000, -2px -2px 6px #000000;
  margin: 0;
  padding: 0;
  border: 0;
  text-align:center;
  max-width: 100%;
  z-index: 2;
}

@media only screen and (max-width: 599px) {
.viewbehind {
  background-image: url("https://drtanner.com/images/family-smiling_600.png");
	}
}

@media only screen and (min-width: 600px) {
.viewbehind {
  background-image: url("https://drtanner.com/images/family-smiling_900.png");
	}
}

@media only screen and (min-width: 900px) {
.viewbehind {
  background-image: url("https://drtanner.com/images/family-smiling_1200.png");
	}
}

@media only screen and (min-width: 1200px) {
.viewbehind {
  background-image: url("https://drtanner.com/images/family-smiling_1800.png");
	}
}

@media only screen and (min-width: 1800px) {
.viewbehind {
  background-image: url("https://drtanner.com/images/family-smiling_1800.png");
	}
}

p	{
	margin: 0px 0px;
}

img {
  width: 100%;
  height: auto;
  border: 0;
}

h1 {
  color: #605B3E;
  line-height: 1.4;
  font-size: 1.55rem;
  font-weight: 700;
}

h2 {
  color: #404040;
  font-size: 1.45rem;
  line-height: 1.4;
  font-weight: 700;
}

h3 {
  color: #1285C7;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 700;
}

h4 {
  color:#605B3E;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 700;
  font-style: italic;
}

h5 {
  color: #1285C7;
	line-height: 1.4;
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
}

a {
  color: #1285C7;
  cursor: pointer;
  text-decoration: none;
}

a:link {
  color: #1285C7;
}

a:visited {
  color: #404040;
}

a:hover,
a:focus {
  color: #1285C7;
}

a:active {
  color: #a3d3ff;
  font-weight: 600;
}

/* this next series is for a variety of text styles. Simply aggregated here for speed. */

.infotext {
  font-family: 'Barlow', sans-serif;
  font-size: .625rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 600;
  color: #900000;
}

.moreinfo {
  font-family: 'Barlow', sans-serif;
  font-size: .625rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  color: #c0c0c0;
}

.redinfo {
  font-family: 'Barlow', sans-serif;
  font-size: .625rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  color: #ff0000;
}

.blackinfo {
  font-family: 'Barlow', sans-serif;
  font-size: .75rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  color: #000000;
}

.blackinfobold {
  font-family: 'Barlow', sans-serif;
  font-size: .625rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  color: #000000;
}

.ordertext {
  font-family: 'Barlow', sans-serif;
  font-size: 1.0rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  color: #000000;
}

.ordertextbold {
  font-family: 'Barlow', sans-serif;
  font-size: 1.0rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  color: #000000;
}

.ordertexti {
  font-family: 'Barlow', sans-serif;
  font-size: 1.0rem;
  font-style: italic;
  font-variant: normal;
  font-weight: 500;
  color: #000000;
}

.ordertextib {
  font-family: 'Barlow', sans-serif;
  font-size: 1.0rem;
  font-style: italic;
  font-variant: normal;
  font-weight: 600;
  color: #000000;
}

.socialmediatext {
  font-family: 'Barlow', sans-serif;
  font-size: .625rem;
  font-style: italic;
  font-variant: normal;
  font-weight: 600;
  color: #c0c0c0;
}

.justtext {
  font-family: 'Barlow', sans-serif;
  font-size: .875rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  color: #000000;
}

.justbigtext {
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  color: #404040;
}

.justbigtexti {
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  font-style: italic;
  font-variant: normal;
  font-weight: 500;
  color: #404040;
}

.greatbigtext {
  font-family: 'Barlow', sans-serif;
  font-size: 2.0rem;
  line-height: 1.6;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  color: #ffffff;
}

.greatbigscript {
  font-family: 'Satisfy', cursive;
  font-size: 2.2rem;
  line-height: 2.0;
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
}

.greatbigtext2 {
  font-family: 'Barlow', sans-serif;
  font-size: 2.0rem;
  line-height: 1.6;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  color: #655B56;
}

.greatbigscript2 {
  font-family: 'Satisfy', cursive;
  font-size: 2.2rem;
  line-height: 2.0;
  font-weight: 500;
  font-style: normal;
  color: #655B56;
}

.bigtext2 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  line-height: 1.4;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  color: #655B56;
}

.bigscript2 {
  font-family: 'Satisfy', cursive;
  font-size: 2.0rem;
  line-height: 1.4;
  font-weight: 500;
  font-style: normal;
  color: #655B56;
}

.archive {
  font-family: 'Barlow', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  font-style: normal;
  color: #FD050A;
  text-align: center;
}

hr {
  border: 1px solid #E0DBD8;
}

.pageheader {
  background-color: #525252;
  /* box-shadow: 6px 8px 9px #404040; */
  height: auto;
  margin-top: 0px;
  padding: 2px;
  position: sticky;
  top: 0px;
  z-index: 101;
}
.mast {
  background-color: #525252;
  border: 0;
  display: grid;
  grid-template-columns: auto;
  height: auto; 
  padding: 2px;
  position: relative; 
  vertical-align: top;
  width: 100%;
}
	
.topnavmenu {
  align-items: center;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.menuitem,
.menuitem a {
  background: none;
  border: 0;
  border-radius: 10px;
  color: #E0DBD8;
  font-size: .85rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
  padding: 0px 4px 1px 4px;
  text-align: center;
  transition: all 0.4s ease-in-out;
}

.menuitem a:hover,
.menuitem a:focus {
  background: #1285C7;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

/* wrapper, content and spacermaker are placed between header and page data */
#wrapper {
  margin-top: 0px; /* Add a top margin to avoid content overlay */
  position: relative;
  text-align: center;
  width: 100%;  
}

.content {
  background-color: #ffffff;
  padding: 0;
  text-align: left;
  width: 100%;
  margin: 0 auto;
}

section {
   width: 98%;
   margin: 0px auto;
}

.subset {
	width: 98vw;
  margin: 0 auto;
}

.spacermaker {
  background-color: transparent;
  height: 6px;
  padding: 0;
  width: 100%;
}
/* stuff above is for top, title, header before content */

/* stuff below is for content areas, some broken into sections like frontpage, products, faqs, etc. */
.centered {
	text-align: center;
}

.horiz3 {
  border: 0px;
  display: grid;
  grid-gap: 0em;
  grid-template-columns: repeat(3, auto);
  justify-content: space-evenly;
  padding: 0;
  vertical-align: top;
  align-items: stretch;
}

.horiz1 {
  align-items: center;
  max-width: 350px;
  margin: 5px;
  padding: 6px;
	text-align: center;
}

/* Responsive layout - when the screen is less than 600px wide, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .horiz3  {   
    grid-template-columns: repeat(1, auto);
  }
}

/* graphic left splits into an area on the right and a graphic thumb on the left */
.graphicleft {
  border: 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 1em;
  height: auto; 
  padding: 0px;
  vertical-align: top;
}

.graphicleft > div {
  padding: 6px;
}

.textright {
	text-align: left;
}

.textright img {
	float: left;
	width: 40%;
	max-width: 600px;
	min-width: 100px;
  padding: 0px 5px 5px 0px;
}

.graphicright {
  border: 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 1em;
  height: auto; 
  padding: 0px;
  vertical-align: top;
}

.graphicright > div {
  padding: 6px;
}
.textleft {
	text-align: left;
}

.textleft img {
	float: right;
	width: 40%;
	max-width: 600px;
	min-width: 100px;
  padding: 0px 0px 5px 5px;
}

.graphiccentered {
	margin: auto;
	width: 40%;
	max-width: 600px;
  padding: 0em;
}

/* styles for products section   */
.grid-products {
	background-color: #2B2B2B;
  border: 1px;
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  justify-content: space-evenly;
  padding: 2px;
  vertical-align: top;
}

.grid-products > div {
  background-color: #525252;
  border: 2px solid #808080;
  border-radius: 14px;
  text-align: center;
}

.grid-products a:hover,
.grid-products a:focus {
	background-color: #404040;
}

/* these elements from productiem to productgraphic were from style2 */
.productitem {
	font-variant: small-caps;
  font-size: .85rem;
  font-weight: 500;
  padding: 0px;
  color: #ffffff;
}

.productitem:hover {
	background-color: #404040;
	color: #E0DBD8;
}

.productdesc {
	font-variant: normal;
  font-size: .75rem;
  font-weight: 400;
  font-style: italic;
  padding: 0px;
  color: #B1BAB9;
}

.productdesc:hover {
	background-color: #404040;
	color: #E0DBD8;
}
.productclick {
	font-variant: normal;
  font-size: .70rem;
  font-weight: 400;
  font-style: italic;
  padding: 0px;
  color: #B1BAB9;
}

.dividerline {
	width: 80px;
	border-top-width: 4px;
  border-top-style: solid;
  border-top-color: #E0DBD8;
}

.productgraphic {
  background: #404040;
  width: 80%;
  max-width: 450px;
  max-height: 600px;
  margin: 0 auto;
}

.pricecode {
	background: white;
  width: 80%;
  max-width: 250px;
  margin: 0 auto;
  z-index: 1;
}

.pagenav,
.pagenav a {
  background: none;
  border: 0;
  border-radius: 14px;
  color: #E0DBD8;
  font-size: 1.0rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  vertical-align: middle;
  padding: 6px;
  text-align:center;
  transition: all 0.4s ease-in-out;
}

.pagenav a:hover,
.pagenav a:focus {
  background: #1285C7;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

/* styles for multiview sections such as additional graphics areas  */
.grid-multiview {
  border: 0px dotted #009900;
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  justify-content: space-evenly;
  padding: 2px;
  vertical-align: top;
}

.grid-multiview > div {
  border: 2px dotted #808080;
  text-align: center;
}

.addgraphic {
	padding: 2px;
	max-width: 220px;
}

.servicegraphic {
  background: #ffffff;
  width: 80%;
  max-width: 600px;
  max-height: 600px;
  margin: 0 auto;
}

.graphiccontainer {
  padding: 2px;
  display: inline-block;
}

.grid-frontview {
  border: 0px dotted #009900;
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-content: space-evenly;
  padding: 2px;
  vertical-align: top;
}

.grid-frontview > div {
  border: 0px dotted #808080;
  text-align: center;
}

.frontgraphiccontainer {
  padding: 2px;
  display: inline-block;
}

.frontpagetext {
 border: 0px;
 padding: 0px;
 margin: 0px 6px;
}

.splitpage {
  border: 0px dotted #009900;
  display: grid;
  grid-gap: 0em;
  grid-template-columns: 49vw 49vw;
  justify-content: space-evenly;
  padding: 0px;
  vertical-align: top;
}

.splitpage > div {
  border: 0px dotted #808080;
  text-align: center;
}

.splitpage2 {
  border: 0px dotted #009900;
  display: grid;
  grid-gap: 0em;
  grid-template-columns: 49vw 49vw;
  justify-content: space-evenly;
  padding: 0px;
  vertical-align: top;
}

.splitpage2 > div {
  border: 0px dotted #808080;
}

/* Responsive layout - when the screen is less than 600px wide, make the split columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .splitpage,
  .splitpage2  {   
    grid-template-columns: repeat(1, auto);
  }
}

.faqs {
  background-color: #ffffff;
  color: #404040;
  height: auto;
  padding: 0;
  vertical-align: top;
  width: 100%;
  border: 4px;
}

.faqtitle {
  color: #404040;
  font-size: 1.35rem;
  font-weight: 600;
}

/* primary info splits into an area on the left and a graphic thumb on the right */
.primaryinfo {
  background-color: #ffffff;
  border: 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1em;
  height: auto; 
  padding: 0px;
  vertical-align: top;
}

.primaryinfo > div {
  background-color: #ffffff;
  padding: 0px;
}

.answer {
	text-align: left;
}

.answer img {
	float: right;
	width: 40%;
	max-width: 600px;
	min-width: 100px;
  padding: 0.25em 1em 1em 1em;
}

.clearfix::after { 
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
   zoom: 1;
}

.pagenumber {
	background-color: #2B2B2B;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
  padding: 10px 0px;
  text-align: center;
}

.bordertext {
	background-color: #2B2B2B;
  border-color: #808080;
  border-style: solid;
  border-width: 2px;
  border-radius: 8px;
  color: #ffffff;
}
/* working with videos   */
/* styles for multivid sections   */
.grid-multivid {
  border: 0px solid #009900;
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: space-evenly;
  padding: 2px;
  margin: 0 auto;
  vertical-align: top;
}

.grid-multivid > div {
  border: 0px solid #808080;
  text-align: center;
}

.mainvid {
  background: white;
	width: 80%;
  max-width: 640px;
  margin: 0 auto;
  font-size: .75rem;
  font-weight: 500;
  font-style: none;
  text-decoration: none;
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 30px;	
  height: 0;
}

.video-container iframe,
.video-container embed,
.video-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* end video stuff  */

.inversebox {
  width: 70vw;
	height: auto;
	margin: auto auto;
  max-width: 800px;
  max-height: 220px;
  text-decoration: none;
  text-align: center;
  padding: 5px;
}

.ifinterested {
  color: #E0DBD8;
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
	margin: auto auto;
  text-decoration: none;
  text-align: left;
  padding: 5px; 
}

.tinbox {
  background-color: #ffffff;
  color: #1285C7;
  border: 2px #1285C7 dotted;
	border-radius: 25px;
  font-family: 'Barlow', sans-serif;
  font-size: .90rem;
  font-weight: 500;
  font-style: italic;
  padding: 4px;
  margin: 10px;
  text-align: center;
}

.tinbox:hover,
.tinbox a:hover,
.tinbox a:focus {
  background-color: #1285C7;
  color: #ffffff;
}
/* stuff below is for bookmark, bottom of page and miscellany */

/* styles for the bookmark section  */
.grid-bookmark {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  grid-gap: 6px;
  padding: 0;
}

.grid-bookmark > div {
  padding: 0;
  text-align: center;
}

.bookmarkmenuitem,
.bookmarkmenuitem a {
  background: none;
  border: 0;
  border-radius: 14px;
  color: #605B3E;
  font-size: 1.0rem;
  font-weight: 600;
  margin: auto auto;
  transition: all 0.4s ease-in-out;
}

.bookmarkmenuitem a:hover,
.bookmarkmenuitem a:focus {
  background: #1285C7;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.bookmarklogo {
  max-width: 70px;
  margin: auto;
  width: 100%;
}

.bookmarklogo:hover,
.bookmarklogo:focus {
  opacity: 0.6;
}

/* styles for associations logos section if used */
.grid-associations {
  background-color: #C0C0C0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  grid-gap: 6px;
  justify-content: space-evenly;
  padding: 0;
}

.grid-associations > div {
  padding: 10px;
  text-align: center;
  vertical-align: bottom;
}

/* styles for bottom footer section beginning with the colored spacers at the beginning */
#footer,
#footer a {
  color: #ffffff;
  font-size: .75rem;
  font-weight: 500;
  padding: 0;
}

#footer a:hover,
#footer a:focus {
  color: #1285C7;
  cursor: pointer;
}

.footerbottom{
  background: #2B2B2B;
  padding: 0;
}

/* styles for bottom menu area just below colored spacers in the footer section  */
.grid-bottom,
.grid-sitemaps,
.grid-bottominfo,
.grid-botbusinfo {
  background-color: #2B2B2B;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 0;
  padding: 0;
  font-size: .85rem;
  font-weight: 500;
}

.grid-bottom > div,
.grid-sitemaps > div,
.grid-bottominfo > div,
.grid-botbusinfo > div {
  background-color: #2B2B2B;
  padding: 0;
  text-align: center;
  vertical-align: bottom;
  margin:0 6px;
}

.lowermenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: space-evenly;
  justify-content: center;
  width: 100%;
}

.bottomitem,
.bottomitem a {
  background: none;
  color: #ffffff;
  margin: 8px;
  max-width: 220px;
  padding: 0px;
  text-align: center;
}

ul {
  list-style: square inside none;
}

/* styles for the last area in the footer section  */
.grid-last {
  background-color: #2B2B2B;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 6px;
  padding: 0;
  text-align: center;
}

.grid-last > div {
  border: 0px;
  font-size: 1rem; 
  font-weight: 400;
  font-style: normal;
  padding: 0px;
  vertical-align: top;
  text-align: left;
}
.grid-last-green {
   color: #E0DBD8;
}

.grid-last-blue {
  color: #1285C7;
}

.grid-last-tan {
  color: #E4BE98;
}

.lastitem {
  text-align: left;
  padding: 0px;
  vertical-align: top;
  margin: 0px;
}

/* default site mesg styles   */
.unavailable{
  background-color: #ffffff;
  color: #E0DBD8;
  font-style: italic;
  font-weight: 600;
  padding: 10px 0px;
  text-align: center;
  text-decoration: none;
  vertical-align: bottom;
}

.searchbox {
  border: 6px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  width: 50%;
  text-align: center;
}

.contactright {
  border: 5px solid red;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 1em;
  height: auto; 
  padding: 0px;
  vertical-align: top;
}

.contactright > div {
  padding: 0px;
}
.contacttextleft {
	text-align: left;
}

.contacttextleft img {
	float: right;
	width: 50%;
	max-width: 600px;
	min-width: 100px;
  padding: 0.25em 0em 1em 1em;
}

.visualmap {
  border: 2px dotted #E0DBD8;
  padding: 10px;
	width: 80%;
  max-width: 800px;
  margin: 0 auto;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 30px;	
  height: 0;
}

.map-container iframe,
.map-container embed,
.map-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/*specialmast and specialmast-logo deal with the rather large logo at the very top of the index page area */
.specialmast {
  background-color: #2B2B2B;
	width: 100%;
}

.specialmast-logo {
  border: 0;
  padding: 0px;
  width: 100%;
}


/*bottomest and bottomestlogo deal with the rather large logo within the page footer area */
.bottomest {
  background-color: #2B2B2B;
	width: 100%;
}

@media only screen and (max-width: 599px) {
.bottomestlogo {
  background-color: #2B2B2B;
  border: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  width: 75%;
  max-width: 737px;
}
}

@media only screen and (min-width: 600px) {
.bottomestlogo {
  background-color: #2B2B2B;
  border: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  width: 60%;
  max-width: 737px;
}
}