/* base styles */


@media (max-width: 820px) {

	#link-away a { display: none !important; }
	#cards { grid-gap: 12px; margin: 32px 16px; padding: 8px 0; }

}


html {

	width: 100%;

}

* {

  box-sizing: border-box;

}

body {

	width: 100%;
	margin: 0 auto;
	padding: 0;
	color: black;
	--accent: #df7c06;
	--lines: #efefef;
	--bglight: #f7f5f3;
	--bgdark: #f0ebe8;
	--script: #005e82;
	background: var(--bglight);

}

header {

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	width: 100%;
	grid-gap: 48px;
	align-items: center;
	margin: 0 auto;
	padding: 16px 0;
  	position: sticky;
  	height: 120px;
  	top: -1px;
  	z-index: 1;
  	background-color: #fff;
  	opacity: 0.92;
  	transition-property: opacity;
  	transition-duration: 200ms;
	box-shadow: 0 1px 1px rgba(0,0,0,0.07), 
	          	0 2px 2px rgba(0,0,0,0.07), 
	          	0 4px 4px rgba(0,0,0,0.07)

}

header:hover {

	opacity: 1.0;

}

#head-container {

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	width: 100%;
	grid-gap: 48px;
	align-items: center;

}

.head-item {

	height: 80px;

}

footer {

	width: 100%;
	margin: 0 auto;
	padding: 24px 0 0 0;
	background: var(--bglight);
	border-top: 2px solid var(--bgdark);


}

#logo img {

	margin: 0 3vw 0 6vw;
	width: 100%;
	height: auto;
	max-width: 320px;
	min-width: 200px;

}

#link-away {

	font-weight: normal;
	text-align: right;
	padding: 32px 48px 16px 0;

}

#link-away p {

	line-height: 125%;

}

#hero {
	  
	  height: 32%;
	  min-height:240px;
	  background-image: url("hero-2000.jpg");
	  background-position: center;
	  background-repeat: no-repeat;
	  background-size: cover;
	  position: relative;

}


/* grids, grid items, etc. */

#cards {

	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
	grid-gap: 24px;
	grid-auto-flow: dense;
	margin: 32px;
	padding: 16px 0;

}


#cards .item {

	padding: 0 0 8px 0;
	border: 1px solid var(--lines);
	border-radius: 4px;
	background: #fff;
	transition-property: box-shadow;
	transition-duration: 333ms;
	box-shadow: 0 1px 1px rgba(0,0,0,0.07), 
              	0 2px 2px rgba(0,0,0,0.07), 
              	0 4px 4px rgba(0,0,0,0.07), 
              	0 8px 8px rgba(0,0,0,0.07),
              	0 16px 16px rgba(0,0,0,0.07),
              	0 32px 32px rgba(0,0,0,0.03);

}

#cards .item:hover {

	box-shadow: 0 1px 1px rgba(0,0,0,0.16), 
              	0 2px 2px rgba(0,0,0,0.16), 
              	0 4px 4px rgba(0,0,0,0.16), 
              	0 8px 8px rgba(0,0,0,0.16),
              	0 16px 16px rgba(0,0,0,0.16),
              	0 32px 32px rgba(0,0,0,0.12);

}

#cards .one {

	grid-column: 1 / span 2;

}


.item img { 

	width: 100%; height: auto; 
	border-radius: 4px 4px 0 0;

}

.tn-container {

	width: 100%;
	padding: 8px;

}

#foot {

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	grid-gap: 48px;
	grid-auto-flow: dense;
	width: 88%;
	margin: 0 auto;
	padding: 24px 0 40px 0;

}

.bot-foot {

	grid-column: span 3;
	text-align: center;
	padding: 16px;
	background: var(--bgdark);
	width: 100%;
	box-shadow: 0 0px 6px 2px rgba(0,0,0,0.04), 
				0 0 6px 2px rgba(0,0,0,0.08), 
				0 0 6px 2px rgba(0,0,0,0.12);

}

.bot-foot span {

	font-size: x-large;
	color: var(--bglight);
	padding: 8px;
	font-weight: bold;

}

.bot-foot a { 

	border-bottom: var(--bgdark) 0.15em solid;

}

/* h, p, a, etc */

h3 {

	font-family: "Gotham A", "Gotham B";
	font-style: normal;
	font-weight: 400;
	font-size: large;	

}

.item h3 {

	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	padding: 0;
	margin: 8px 0;

}

.one h3 {

	margin: 16px 0;

}

.one span {

	font-size: small;
	font-style: italic;
	letter-spacing: 1px;
	display: block;
	width: 100%;
	text-align: center;
	font-family: "Whitney A", "Whitney B";
	font-weight: 300;

}

a {

	font-weight: bold;
	color: var(--accent);
	text-decoration: none;
	padding-bottom: 0.1em;
	border-bottom: white 0.15em solid;
	transition-property: border-bottom;
	transition-duration: 333ms;

}

footer a {

	border-bottom: var(--bglight) 0.15em solid;

}

a:hover {
	color: var(--accent);
	padding-bottom: 0.1em;
	border-bottom: var(--accent) 0.15em solid;
}

.item p:last-child {

	text-align: center;

}

p {

	font-family: "Whitney A", "Whitney B";
	font-style: normal;
	font-weight: 300;
	font-size: medium;
	line-height: 150%;

}

.item p {

	padding: 8px 16px;

}

#intro p {

	font-size: x-large;
	line-height: 170%;

}

.item a { 

	border: none; 
	background: #fff; 
	padding: 8px 16px; 

}

.item a:hover { 

	border: none; 
	background: var(--accent); 
	color: #fff; 
	border-radius: 4px; 
	padding: 8px 16px; 

}

#quote {

	font-style: italic;
	text-align: center;
	padding: 16px 0 32px 0;
	font-family: 'Manus';
	color: var(--script);
	font-size: xx-large;
	line-height: 125%;

}

#intro {

	width: 88%;
	margin: 0 auto;

}

#intro span {

	font-weight: bold;

}

.telephone {

	text-decoration: none !important;

}










