/**
 * /*!
 * DPCustom v04 (http://daviesprinting.com)
 * Copyright 2016 Davies Printing Company.
 *
 * @format
 */

/* Notes
 * DP Dark Gray text: #41515a
 * DP Light gray text: #9babb1
 * DP Orange: #f39230
 * DP Purple: #8e308d
 * DP Light Orange: #fac980
 * DP Red: #e82830
 * DP Dk Green: #669e32
 * DP Green: #8dc346
 * Officina Sans -> Fira Sans
 * Gill Sans -> Open Sans
 */

/* Debug */
/* 
	*[class*="col-"] {
		border: white 1px solid;
	}

	*[class*="row"] {
		border: red 1px solid;
	}
	 */
/* 
	#scrolling, #resizing, #status{
		display:none;
	}
 */

html,
body {
	height: 100%;
	width: 100%;
}

body {
	font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	position: relative;
}

/* Image margins */
img[src$='Since-1972-WhiteOver50-235x207-24.png'] {
}

div#content.build {
	display: none;
}

.viewable-container {
	min-height: var(--innerVH);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Home Page */
/* padding-top based on height + padding of top navbar */
#home {
	background-origin: padding-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-attachment: fixed;
	box-sizing: border-box;
	background-image: url('../images/WoodLetterblocks1900x1272q30.jpg');
	display: table;
	height: 100%;
	position: relative;
	width: 100%;
}

#home .uhalf {
	margin-top: 15px;
}
#home .ulquad {
	padding-top: 30px;
	padding-right: 15px;
	padding-left: 15px;
	text-align: right;
}

.logo .ulquad img {
	display: inline-block;
}

#home .ulquad-container {
	padding: 0px;
}

#home .urquad {
	padding-top: 30px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 30px;
}
#home .urquad-xs {
	padding-top: 15px;
	padding-left: 30px;
	padding-right: 30px;
	max-width: 482px;
}

#home .visible-xs .urquad-xs .img-responsive {
	width: 100%;
}

#home .urquad-container {
	padding: 0px;
	background: left bottom no-repeat url('../images/TrimLines_02.png');
	padding-left: 22px;
}
#home .urquad-container.visible-xs {
	background: left bottom no-repeat url('../images/TrimLines_04.png');
}

#home .mhalf {
	height: 40px;
}
#home .mlquad {
	height: 40px;
	background: right bottom no-repeat url('../images/TrimLines_07.png');
	padding: 0px;
}
#home .mrquad {
	height: 40px;
	padding: 0px;
	padding-left: 22px;
	background: left bottom no-repeat url('../images/TrimLines_08.png');
}
#home .mrend {
	background: left bottom no-repeat url('../images/TrimLines_08.png');
	height: 40px;
}

#home .lhalf {
	margin-bottom: 15px;
}
#home .llquad-container {
	padding: 0px;
}
#home .llquad {
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
	text-align: right;
	font-size: 36px;
	line-height: 1;
	font-weight: 700;
	color: rgba(256, 256, 256, 0.3);
}
#home .llquad p {
	margin-bottom: 0;
}

#home .lrquad {
	padding-top: 0px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 0px;
}
#home .lrquad-xs {
	padding-top: 30px;
	padding-left: 40px;
	padding-right: 15px;
}
#home .lrquad p {
	margin-bottom: 0;
}

.graybar #slogan,
.graybar .slogan {
	/* Defaults for smaller sizes. See media queries for larger sizes */
	font-size: 26px;
	font-weight: normal;
	color: #ffffff;
}

.graybar #slogan .glyphicon,
.graybar .slogan .glyphicon {
	font-size: 80%;
	color: #8dc346;
}

.graybar #slogan > span,
.graybar .slogan > span {
	padding-left: 10px;
	padding-right: 10px;
	width: 100%;
	float: left;
}

#home .visible-xs .lrquad-xs .img-responsive {
	width: 100%;
}

#home .lrquad-container {
	padding: 0px;
	background: left bottom no-repeat url('../images/TrimLines_02.png');
	padding-left: 22px;
	float: left; /* Needed to give box height to show border, not sure why. Bootstrap sets if for 768px+ */
}
#home .lrquad-container.visible-xs {
	background: left bottom no-repeat url('../images/TrimLines_04.png');
}

#home img#banner_logo {
	max-width: 80%;
}
#home img#banner_logo_xs {
	max-width: 30%;
	margin-bottom: 15px;
}

/* Details Sections */
/* padding-top based on height + padding of top navbar */

section.details {
	background-origin: padding-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-attachment: fixed;
	box-sizing: border-box;
	height: 100%;
	position: relative;
	width: 100%;
}
.details .uhalf {
}
.details .ulquad {
	padding-top: 30px;
	padding-bottom: 20px;
}
.details .urquad,
.details .urquad-xs {
	padding-top: 30px;
	padding-left: 30px;
	padding-bottom: 20px;
}
.details .urquad-container {
	background: left bottom no-repeat url('../images/TrimLines_02.png');
	padding: 0;
}

.details .urquad h1,
.details .urquad-xs h1 {
	margin-top: 0px;
	margin-left: -39px;
	margin-bottom: 0px;
	padding-left: 39px;
	padding-bottom: 30px;
	background: left bottom no-repeat url('../images/TrimLines_08.png');
}
.details .lhalf {
	height: 40px;
}
.details .llquad {
	margin-top: -20px;
	height: 40px;
	background: right bottom no-repeat url('../images/TrimLines_07.png');
}
.details .lrquad {
	margin-top: -20px;
	height: 40px;
	background: left bottom no-repeat url('../images/TrimLines_07.png');
}
.details .lrend {
	margin-top: -20px;
	background: left bottom no-repeat url('../images/TrimLines_08.png');
	height: 40px;
}

/* Page backgrounds */
#google_map_section {
	background-image: url('../images/DPBuildingBlur-1900x1271B6-q30.jpg');
}
#google_map_section h2 {
	color: #f39230;
	font-style: italic;
}

/* Narative Section */
#about {
	background-color: #eef3f4;
}

#who .text,
#what #benefits,
#what #ask {
	font-size: 18px;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 30px;
	padding-right: 30px;
}

#who {
	background-color: #5b696b;
	background-image: url('../images/HalftonePattern-v4-75-2000x941-8.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right top;
}

#who .text {
	font-style: italic;
	color: #ffffff;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.65);
	float: left;
}
#who .text em {
	font-style: normal;
	font-weight: bold;
	color: #f39230;
	white-space: nowrap;
}

#what {
	color: #41515a;
	padding-left: 0;
	padding-right: 0;
	display: flex;
	flex-direction: column;

	background-image: url('../images/HalftonePattern-v4-W-2000x941-8.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left top;
}

#what ul {
	padding-left: 1em;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-around;
}

#what li {
	color: #e82830;
}

#what li span {
	color: #41515a;
}
#what li span.lead {
	color: #8e308d;
	font-style: italic;
	font-weight: bold;
}

#what #benefits {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

#what #ask {
	background-color: #669e32;
	font-family: fira sans;
	font-size: 24px;
	font-weight: bold;
	font-style: italic;
	color: #ffffff;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.65);
	text-align: center;
}

/* Colorbar */
#colorbar {
}
#colorbar div {
	border-top: 8px solid;
}
#colorbar div.green {
	border-color: #8dc346;
}
#colorbar div.orange {
	border-color: #f39230;
}
#colorbar div.red {
	border-color: #e82830;
}
#colorbar div.purple {
	border-color: #8e308d;
}
#colorbar .col-sm-3 {
	width: 25%;
	float: left;
}

/* Google Map API */
#google_map_section {
	background-color: #e9e4dc;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	overflow: auto;
}
#google_map {
	position: relative;
	overflow: hidden;
	opacity: 0.95;
	width: 60%;
	flex-grow: 0.9;
	min-height: 200px;
	border: 8px solid #413f3d;
	margin: 2% auto;
	box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, 0.4);
}
.place-card {
	border: 2px solid #413f3d;
}

#mapInfo img.dpIcon {
	max-width: 40px;
	margin-bottom: 5px;
}
body.bs-xs #mapInfo img.dpIcon {
	max-width: 60px;
}

#mapInfo {
	font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	text-align: left;
}

#mapInfo address {
	font-size: 80%;
	margin-bottom: 0;
}

#mapInfo .corporate-info .col-sm-2,
#mapInfo .corporate-info .col-sm-3,
#mapInfo .corporate-info .col-sm-9,
#mapInfo .corporate-info .col-sm-10 {
	padding-left: 5px;
	padding-right: 5px;
}

#mapInfo p {
	margin-bottom: 1px;
}

@media screen and (max-width: 768px) {
	#google_map {
		width: 90%;
		height: 70%;
	}
}

/* Buttons */

.btn-primary {
	color: #fff;
	background-color: #666666;
	border-color: #111111;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	color: #f39230;
	background-color: #444444;
	border-color: #111111;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
	background-color: #666666;
	border-color: #111111;
}
.btn-primary .badge {
	color: #111111;
	background-color: #666666;
}

/* Default Stuff */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-weight: 700;
}

.text-dkgray {
	color: #41515a;
}
.text-ltgray {
	color: #9babb1;
}
.text-orange {
	color: #f39230;
}
.text-purple {
	color: #8e308d;
}
.text-red {
	color: #e82830;
}
.text-green {
	color: #8dc346;
}

header .graybar,
header.graybar {
	background-color: rgba(30, 30, 30, 0.7);
	color: #eeeeee;
	top: 20%;
}

header .graybar h1 img,
header.graybar h1 img {
	height: 35px;
	margin-right: 8px;
	float: left;
}

ul.dpcorp {
	padding-left: 0;
}

.dpcorp li {
	list-style-type: none;
}

.dpcorp,
.dpcorp a {
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	color: #9babb1;
}

.dpcorp a:hover,
.dpcorp a:focus {
	color: #bac7bc;
	text-decoration: none;
}

.dpcorp strong {
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 700;
	color: #e7ebeb;
}

#footer [id|='dpcorp-name'] .glyphicon {
	font-size: 110%;
}

[id|='dpcorp-contact'] strong {
	font-style: normal;
	color: #fac980;
}

[id|='dpcorp-contact'] a,
[id|='dpcorp-contact'] a strong {
	color: #f39230;
}
[id|='dpcorp-contact'] a:hover,
[id|='dpcorp-contact'] a:hover strong,
[id|='dpcorp-contact'] a:focus,
[id|='dpcorp-contact'] a:focus strong {
	color: #fac980;
	text-decoration: none;
}

.dpcorp .glyphicon {
	font-size: 90%;
	padding-left: 8px;
	color: #8dc346;
}

.dpcorp li .glyphicon-unchecked {
	visibility: hidden;
}

#footer [id|='dpcorp-contact'] {
	display: block;
}
#footer #info-btn.btn {
	background-color: #8dc346;
	border-color: #78aa3c;
	padding: 3px 3px;
	line-height: 1;
	margin-bottom: 5px;
	margin-right: 5px;
}
#footer #info-btn.btn:hover,
#footer #info-btn.btn:focus,
#footer #info-btn.btn:active,
#footer #info-btn.btn.active,
#footer #info-btn.open > .dropdown-toggle.btn {
	color: #f39230;
	background-color: #a4df81;
	border-color: #78aa3c;
}
#footer #info-btn.btn .glyphicon {
	color: #000000;
	font-size: 18px;
	padding-left: 0px;
}

#footer #info-btn.btn .caret {
	color: #ffffff;
	padding-left: 0px;
	border-top: 8px dashed;
	border-top: 8px solid\9;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
}

#footer {
	font-size: 18px;
	background-color: #000000;
	background-color: rgba(0, 0, 0, 0.8);
	color: #bac7bc;
	position: fixed;
	bottom: 0;
	visibility: hidden; /* reversed by .footer-fixed-bottom */
	width: 100%;
	/* Set the fixed height of the footer here */
	height: auto;
	padding-top: 6px;
}

#footer.footer-fixed-bottom {
	visibility: visible;
}

#footer-scroll {
	position: relative;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: auto;
}

.dept-btn {
	text-align: center;
	margin-top: 0px;
	margin-left: 10%;
	margin-right: 10%;
}

.dept-btn .btn {
	margin: 7px 15px;
}

.faux-text {
	overflow: hidden;
	max-height: 0;
	padding: 0;
	margin: 0;
}

/* MediaQueries */
/* Set scroll for narrow width */
@media screen and (max-device-width: 768px) {
	#home,
	section.details {
		background-attachment: scroll;
	}
	#google_map {
		max-height: 650px;
		width: 75%;
		height: 70%;
		border-width: 4px;
	}
}
/* Bootstrap based MQ */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.wrapper .container {
		width: 680px;
	}

	.graybar #slogan,
	.graybar .slogan {
		font-size: 28px;
	}
	.wrapper .graybar #slogan,
	.wrapper .graybar .slogan {
		font-size: 22px;
	}
	.graybar #slogan > span,
	.graybar .slogan > span {
		padding-left: 15px;
		padding-right: 15px;
		width: auto;
	}
	.wrapper #home .llquad {
		font-size: 32px;
	}

	/* Narative Section */
	#who .text {
		font-size: 22px;
	}
	#what {
		font-size: 20px;
	}
	#who .text {
		width: 100%;
	}
	.graybar #slogan span#innovation,
	.graybar .slogan span#innovation {
		border-left: #ffffff 2px solid;
		border-right: #ffffff 2px solid;
	}
	#about > .row {
		display: flex;
		/* Hack - Adjust for weird 1px gap on left and right sides (due to parent flex?) */
		margin-left: -16px;
		margin-right: -16px;
	}
	/* Footer */
	#footer .dpcorp li {
		display: inline-block;
	}
	#footer [id|='dpcorp-name'] {
		display: block;
	}
	#footer .dpcorp li .glyphicon-unchecked {
		visibility: visible;
	}
	/* Map Logo */
	#mapInfo img.dpIcon {
		max-width: 100%;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.wrapper .container {
		width: 825px;
	}

	.graybar #slogan,
	.graybar .slogan {
		font-size: 30px;
	}
	.wrapper .graybar #slogan,
	.wrapper .graybar .slogan {
		font-size: 25px;
	}
	.graybar #slogan > span,
	.graybar .slogan > span {
		padding-left: 30px;
		padding-right: 30px;
	}
	#home .llquad {
		padding-left: 15px;
		padding-right: 15px;
		font-size: 40px;
	}
	.wrapper #home .llquad {
		font-size: 36px;
	}

	#footer [id|='dpcorp-name'],
	#footer [id|='dpcorp-address'],
	#footer [id|='dpcorp-contact'] {
		display: inline-block;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.wrapper .container {
		width: 995px;
	}
	.graybar #slogan,
	.graybar .slogan {
		font-size: 30px;
	}
	#home .llquad {
		font-size: 40px;
	}
}
