/****************************************
 * plum (red) - #990700
 * deep brown - #140907
 * purple - #7c2b83
 * sand - #f1c586
 * dragonfly - #7b2a83 - purple - from AI file
 * sand - #f0c485 - from AI file
 * lavendar - #c79db1
 * dragonfly - #7b2a83 - purple
 * Pantone 520U - #825e86 - lavendar
 * Pantone 7509U - #d5a171 - sand
 ****************************************/

body, html {
	width: 100%;
	margin: 0;
	font-family: helvetica, geneva, sans-sarif;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
body {
  -ms-overflow-style: none;
}

h1 {
	font-weight: normal;
}
.container {
	width: 80%;
	margin: 1em auto;
}
header {
	text-align: center;
}
nav {
	height: 30px;
	margin: 0;
	font-size: 25px;
	color: #000;
	/*padding: 5px 0;*/
}
nav.logo {
	
}
nav ul {
	list-style: none;
	padding: 0;
}
nav ul li {
	float: left;
	width: 25%;
}
/* Navigation border bottom */
.bb {
	border-bottom: 1px solid black;
}

a {
	/*padding: 0 2em;*/
	text-decoration: none;
}
nav ul li.logo {
	transform: translateY(10px);
}
a:link, a:visited {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #990700;
	text-decoration: none;
}
li a.current {
	color: #990700;
}
.title {
	padding: 0 0 1em 0;
	margin: 0;
	text-align: right;
	transform: translateX(-2em);
}
.home {
	margin-left: auto;
	margin-right: auto;
	/*width: auto;
	height: auto;*/
}
.home h1 {
	margin: 0 auto 0 auto !important;
}
.home-img{
	max-width: 100%;
	max-height: 100%;
	margin-left: auto;
	margin-right: auto;
	/*display: inline-block;*/
}
.container .center {
	text-align: center;
}
.work {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
.site {
	width: 300px;
	padding: 1em;
}
.site img {
	width: 100%;
	padding: 0;
	margin:0;
}
.caption {
	padding: 0;
	margin: 0.5em;
}
.about {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.contact {
	text-align: center;
}
.contact table {
	margin-left: auto;
	margin-right: auto;
}
.clear {
	clear: both;
}
footer {
	width: 100%;
	height: 50px;
	color: #000;
}
footer p {
	margin: 0;
	height: 50px;
	transform: translate(0px, 0px);
	text-align: center;
}
footer p img.logo {
	transform: translateY(7px);
}

@media screen and (max-width: 800px) {
}
@media screen and (max-width: 410px) {
nav {
	font-size: 18px;
}
.container {
	width: 95%;
}
.contact table {
	max-width: 300px;
}
}

/* contact form styles */
.red {
	color: red;
}
.alignright {
	text-align: right;
	vertical-align: top;
}
.alignleft {
	text-align: left;
}
.reserror {
	color: red;
	display: none;
}

#contactmsg {
	vertical-align: top;
}
input, textarea {
	border: 1px solid black;
	display: block;
}
input:hover, textarea:hover {
	color: #000000;
	border: 1px solid red;
}
textarea {
	font-family: tahoma, geneva, sans-sarif;
}
button {
	background-color: #990700;
	color: #ffffff;
	padding: 10px 20px;
	font-weight: 100;
	font-size: 1em;
	border: 1px solid black;
	transition: background .6s ease-in, transform .5s .25s ease-in-out, color .25s .5s ease-out;
}
button:hover {
	background-color: #7c2b83;
	color: pink;
	border: 1px solid red;
}

/* modal pop-up after contact form submission */
.modalDialog:target {
	opacity:1;
	cursor: auto;
}
@media screen and (min-width:541px) {
.modalDialog > div {
	font-family: helvetica, geneva, sans-sarif;
	width: 400px;
	position: relative;
	position: absolute;
	top: 25%;
	left: 33%;
	z-index: 99999;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border: 4px solid #990700;
	border-radius: 25px / 25px;
	background: #ffffe0;
	background: linear-gradient(#ffffe0, #f1c586);
}}
@media screen and (max-width:540px) {
.modalDialog > div {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	width: 200px;
	position: relative;
	position: absolute;
	top: 25%;
	left: 2%;
	z-index: 99999;
	margin: 2% auto;
	padding: 5px 20px 13px 20px;
	border: 4px solid #990700;
	border-radius: 25px / 25px;
	background: #ffffe0;
	background: linear-gradient(#ffffe0, #f1c586);
}}

.close {
	color: #ffffff;
	background: #ffffe0;
	color: #000;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover {
	background: #7b2a83;
}
.animate{
	animation-name: slide;
	animation-duration: 30s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: 5;
	animation-delay: 3s;
	animation-fill-mode: both;
	animation-direction: normal;
}
@keyframes slide {
	0% { transform: translate(0px, 30px);}
	100% { transform: translate(1200px, 30px);}
}