/*******************************************************************************
** JANIE'S STRINGING
*  RESPONSIVE WEBSITE, BEGUN JANUARY 2017 BY APPLEGREEN
*  DESKTOP FIRST
*******************************************************************************/

@font-face {
    font-family: 'junction_regularregular';
    src: url('fonts/Junction-webfont.eot');
    src: url('fonts/Junction-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Junction-webfont.woff') format('woff'),
         url('fonts/Junction-webfont.ttf') format('truetype'),
         url('fonts/Junction-webfont.svg#junction_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*Reset info ===========================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	p, li {
		margin: 1.2em 0; /*returns normal margins to <p>, Applegreen */
		line-height: 140%;
		font-size: 95%;
	} 
/* giving <ul> a margin of 0 in the <nav> element is essential for the drop-down menu to work, if there is one. */

/* general styles for Janie's Stringing =======================================*/

h1 {
	font-family: book antiqua, times new roman, serif;
	text-align: center;
	color: #5b3b9b;
}
h2 {
	font-family: book antiqua, times new roman, serif;
	color: #5b3b9b;
}
ol {
	list-style-type: decimal;
	margin-left: 4%;
}
p, li , figcaption {
	 font-size: 90%;
	 font-family: junction_regularregular, arial, sans serif;
}
a {
	color: #5b3b9b;
}
a:hover {
text-decoration: none;
}
.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
}
sup {
    vertical-align: super;
    font-size: smaller;
} 
.clear {
		clear: both;
}
.offscreen { /* for skip navigation link */
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}
.purple {
	color: #5b3b9b;
}

/* desktop styles=========================================================*/

body {
	background: #e3d5d0;
}
#main {
	margin: 4px auto 4px auto;
	max-width: 1100px;
	background: #fff;
	border: solid 1px #a393c4;/* #d9c4bc;*/
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}
	
header p {
	text-align: right;
	margin: 0.5em 2% 1em 0;
	font-size: 80%;
	letter-spacing: 0.05em;
}
header img {
	width: 100%;
	margin-bottom: -3px;
}
header br {
	display: none;
}
.mobile,
.mini {
	display: none;
}

nav {
	min-height: 30px;
	background: #f3ebe9;
}

nav ul {
	margin-left: 2%;
	padding-top: 4px;
}
nav li {
	list-style-type: none;
	display: inline-block;
	margin: 3px 1.8%;
}
nav a {
	text-decoration: none;
	font-size: 110%;
}
body#home .home,
body#about .about,
body#tips .tips,
body#faq .faq,
body#portfolio .portfolio,
body#references .references,
body#contact .contact,
nav a:hover {
	border-bottom: solid 1px #5b3b9b; 
}
.smallscreen {
	display: none;
}

.homecontent {
	padding: 30px 4% 20px 4%;
}

h1 {
	font-size: 32px;
	margin-bottom: 20px;
}
h2 {
	font-size: 22px;
}

#cycler{
	position:relative;
	float: left;
	margin: 20px 3% 30px 2%;
	width: 38%;
	border: solid 1px #d9c4bc;
	border-radius: 3px;
	}
#cycler img{
	position:absolute;
	z-index:1;
	background-color:white;
	width:100%;
	height:100%;
	left:0;
	top:0;
	display:none;
	}
#cycler img.active{z-index:3;}
#cycler img.base{
	z-index:-1;
	position:static;
	display:block;
}

.button {
	text-align: center;
	font-family: book antiqua, times new roman, serif;
	display: inline-block;
	padding-top: 16px;
	color: #fff;
	width: 140px;
	height: 1.5em;
	vertical-align: middle;
	font-size: 25px;
	letter-spacing: 0.03em;
	text-shadow: 2px 2px #6642ad;
	text-decoration: none;
	border-radius: 5px;
	border: 1px solid #6642ad;
	background: #B00019; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#927cbf, #6642ad); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#927cbf, #6642ad); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#927cbf, #6642ad); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#927cbf, #6642ad); /* Standard syntax (must be last) */
}

.button:hover {
	background: #6642ad;
	text-shadow: 2px 2px #492a88;
}

.homeaside {
	float: right;
	width: 55%;
}
.covid {
	background: #f3ebe9;
	padding: 1px 2% 5px 2%;
	border-radius: 5px;
	border: 1px solid #d6c2bd;
}
.covid p {

	font-size: 100%;
	line-height: 160%;
	color: #584088;
}
.covid img {
	display: block;
	margin: 0 auto;
}

.newspaper {
	clear: both;
}

blockquote:before {
  color: #888;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  vertical-align: -0.2em;
}
body#home blockquote {
	background: #F3EBE9;
	padding: 25px 2% 5px 10%;
	margin-top: 10px;
}

body#references blockquote {
	background: #F3EBE9;
	padding: 25px 2% 10px 10%;
	margin-top: 10px;
	margin-bottom: 20px;
}

blockquote p:first-child {
	display: inline;
}

blockquote img {
	float: left;
	width: 20%;
	margin: 20px 2% 10px 0;
}

.beforeafter {
	float: left;
	width: 45%;
	margin: 10px 0.5%;
	padding: 6px 1%;
	text-align: center;
}
.beforeafter:last-child {
	margin-bottom: 30px;
}
.before {
	margin-right: 1%;
}
.after {
	margin-left: 1%;
}
.thumbnail {
	width: 40%;
}

.refpic {
	float: right;
	width: 30%;
	margin: 10px 0 10px 0.5%;
}
.thumbnail-ref {
	width: 18%;
	float: right;
	margin: 0 0 4px 2%;
}

.yell {
	padding-bottom: 30px;
}

hr.footer-divider {
	border: 0; 
	height: 1px;
	background: #d9c4bc;
	width: 92%;
	margin-bottom: 10px;
	clear: both;
}

.cta {
	font-family: book antiqua, times new roman, serif;
	font-size: 120%;
}

body#privacy h2 {
	margin-top: 24px;
}
body#privacy ul {
	margin-left: 3%;
}
body#privacy li {
	list-style-type: disc;
}

.footer-container {
	background: url(images/footer-background.jpg) right no-repeat;
	padding-bottom: 10px;
	min-height: 150px;
}
footer {
	margin: 0 auto;
	margin-left: 4%;
}
.associations {
	vertical-align: middle;
	margin: 0 1.5%;
}
footer p {
	font-size: 80%;
	letter-spacing: 0.05em;

}
.pipe {
	margin: 0 1%;
}

/* media queries =========================================================================*/
@media screen and (max-width: 620px) {
	#main {
		margin: 0;
		border-radius: 0;
	}
	.desktop {
		display: none;
	}
	.mobile{
		display: block;
	} 
	
	header img {
	margin-bottom: -5px;
	}
	
	nav {
		text-align: center;
		font-size: 95%;
	}
	nav ul {
		margin-top: 5px;
	}
	
	#cycler{
		float: none;
		width: 70%;
		margin: 10px auto;
	}
	.homeaside {
		float: none;
		width: 95%;
		margin: 20px auto;
	}
	
	blockquote img {
		width: 35%;
	}
	
	.thumbnail-ref {
		width: 25%;
		margin: 40px 0 4px 2%;
	}
	
}

@media screen and (max-width: 320px) {
	.mini {
		display: block;
	}
	.mobile {
		display: none;
	}
	.button {
		padding-top: 8px;
		height: 1.3em;
		font-size: 22px;
	}
	header p {
		text-align: center;
		line-height: 160%;
	}
	header br {
		display: block;
	}
	
	.homecontent {
		padding-top: 20px;
	}
	
	h1 {
		font-size: 22px;
		line-height: 135%;
	}
	.smallscreen {
		display: block;
	}
	
	#cycler {
		width: 80%;
	}
	h2 {
		font-size: 18px;
		line-height: 140%;
	}
	
	.associations {
		width: 25%;
	}
	.beforeafter {
		float: none;
		width: 85%;
		margin-left: auto;
		margin-right: auto;
	}
		.thumbnail-ref {
		width: 40%;
		margin: 60px 0 4px 2%;
	}
	
}

	
