html {
	background-size: cover;
	background-attachment: fixed;
	font-family: Arial, Helvetica, sans-serif;
}
body {
	margin: 0;
}
a:link, a:visited {
	color: #000;
	font-weight: bold;
}
a:link:hover, a:visited:hover {
	color: #666;
}
input[type=image] {
	max-width: 100%;
	height: auto;
}
input[type=submit],
button {
	min-width: 110px;
	min-height: 28px;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 5px;
	margin-top: 4%;
	margin-bottom: 4%;
}
input[type=email],
input[type=number],
input[type=password],
input[type=text],
input[type=url],
textarea {
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	background: #fff;
	color: #555;
	border: 1px solid #ccc;
	padding: 3%;
	margin-top: 4%;
	margin-bottom: 4%;
}
select {
	padding: 1%;
	margin-top: 4%;
	margin-bottom: 4%;
}
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=text]:focus,
input[type=url]:focus,
textarea:focus,
select:focus {
	box-shadow: 0 0 5px #000;
	border: 1px solid #000;
}
label {
	margin: 0 0 3px 0;
	padding: 0;
	font-weight: bold;
}

#container, #header, #horizBar, #contentWrapper, #footer, #footerNav, #copyright {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
#container {
	/* background-color: #fff; */
}
#container img {
	max-width: 100%;
	height: auto;
}
#header {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
#header-display {
	order: 1;
	width: 100%;
	padding: 10px;
	text-align: center;
}
#header-banner {
	order: 2;
	width: 100%;
}
#header-banner img {
	display: block;
	width: 100%;
	height: auto;
}
#horizBar img {
	display: block;
	width: 100%;
	height: auto;
}
#logoName {
	position: static;
	display: inline-block;
	text-align: left;
}
#logoName img {
	display: inline-block;
	float: left; 
	max-height: 90%;
	width: auto;
	margin: 0 20px 0 0;
}
#displayname {
	float: left;
}
#logoName1 {
	font-size: 24px;
}
#logoName2 {
	font-size: 16px;
}
#phone {
	display: none;
	font-size: 22px;
}
#phone2 {
	display: block;
	font-size: 16px;
}
#contentWrapper {
	min-height: 300px;
	background-color: #fff;
}
#layoutA, #layoutB {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px 0;
}
#layoutB #main-content {
	order: 1;
}
#layoutB #right-sidebar {
	order: 2;
}
#main-content, #right-sidebar {
	width: 100%;
	text-align: center;
}
#right-sidebar-wrapper {
	width: 98%;
	margin: 0 auto;
	background-color: #f0f8ff;

}
.module-block {
	display: inline-block;
	display: block;
	/* max-width: 94%; */
	margin: 0;
	padding: 10px 3%;
	overflow: auto;
	text-align: left;
}
#footer {
	width: 100%;
	background-color: #f0f8ff;
	padding: 20px 0;
}
#footerNav {
	width: 96%;
	margin: 0 2%;
	text-align: center;
}
#footerNav ul {
	display: inline-block;
	margin: 0;
	padding: 0;
}
#footerNav li {
	display: inline-block;
	list-style: none;
	margin: 0 5px 10px 5px;
}
#footer a:link, #footer a:visited {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
#footer a:link:hover, #footer a:visited:hover {
	text-decoration: underline;
}
#footer-social-media {
	text-align: center;
}
#footer-social-media img {
	padding: 10px;
}
#copyright {
	width: 96%;
	margin: 20px 2% 0 2%;
	text-align: center;
}
.clear {
	clear: both;
	height: 1px;
}
.clear-block {
	clear: both;
	display: block;
}	

@media screen and (min-width: 1000px) {
	#container {
		width: 1000px;
		margin: 0 auto;
	}
	#logoName {
		float: left;
	}
	#phone {
		display: block;
		float: right;
		text-align: right;
	}
	#phone2 {
		display: none;
	}
	#layoutA, #layoutB {
		justify-content: flex-start;
	}
	#layoutA #main-content {
		width: 100%;
	}
	#layoutB #main-content {
		width: 71.0%;
	}
	#layoutB #right-sidebar {
		width: 28%;
	}
}

@media screen and (max-width: 999px) {
	#header {
		height: auto;
	}
	#logoName img, #displayname {
		display: block;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 5px;
	}
	#logoName1, #logoName2, #phone2 {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	#displayname {
		max-width: 475px;
	}
	.module-editor img {
		display: block !important;
		float: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}
