body {
	background: #ffffff;
}

/* Center Nav Text */

nav .navbar-nav {
	margin: 0px auto;
}

nav .navbar-brand-img {
	padding-top: 0;
	padding-bottom: 0;
}

nav .navbar-brand-img img {
	max-height: 40px;
}

#stack_form {
	margin-bottom: 15px;
}

@media (max-width: 767px) {
	nav.navbar {
		position: fixed;
		top: 0;
		z-index: 3;
		min-height: 56px;
		width: 100%;
	}
	nav.navbar .navbar-collapse {
		position: absolute;
		top: 109px;
		left: 0px;
		padding-left: 2rem;
		padding-right: 2rem;
		background: #1d539a;
		width: 100%;
	}
	nav .navbar-brand-img {
		margin-left: 1rem;
		position: absolute;
	}
	.navbar-toggler {
		background: #1d539a;
		margin-left: auto;
		z-index: 1;
	}
	#stack_form {
		/*margin-top: 56px + 53px;*/
		margin-top: 109px;
	}
	body {
		background-position: 0 -366px;
	}
}

@media (max-width: 991px) {
	.btn {
		font-size: 0.7rem;
	}

	.col-4 {
		padding-right: 8px;
	}

	.col-4 + .col-4 {
		padding-left: 7px;
	}

	.col-4 + .col-4 + .col-4 {
		padding-right: 15px;
	}
}

@media (min-width: 768px) {
	/* Center Nav Text */
	/*nav .navbar-collapse {
		position: absolute;
		width: 100%;
		left: 0;
	}*/
	/* Styling Active Item for Desktop */
	nav .nav-item {
		border-bottom: 2px solid transparent;
	}
	nav .nav-item.active {
		border-bottom-color: white;
	}
	/* Spacing between nav items for Desktop */
	nav .nav-item + .nav-item {
		margin-left: 10px;
	}
}

ul.errors {
	-webkit-padding-start: 0;
	padding-left: 0;
	margin-left: 1rem;
}

ul.errors li {
	display: list-item !important;
}
.btn-secondary {
    color: #fff;
    background-color: #1d539a;
    border-color: #1d539a;
	border-radius: 0px;
	font-size: 14px;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #1d539a;
    border-color: #1d539a;
	border-radius: 0px;
	font-size: 14px;
}
/* Wondoor Blue */

.btn-blue {
	border-color: #999999;
	color: #1d539a;
	background-color: white;
	font-size: 14px;
}

.btn-blue:hover,
.btn-blue:active,
.btn-blue.active {
	background-color: #1d539a;
	color: white;
	font-size: 14px;
}

.btn-blue:active,
.btn-blue.active {
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
	cursor: default;
	font-size: 14px;
}

/* Wondoor Red */
.btn-primary, .btn-primary:hover {
    font-weight: bold;
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
    border-width: 1px;
	border-radius: 0px;
	font-size: 14px;
	font-weight: 400;
}
.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, .5);
}
.btn-warning {
    font-weight: 400;
	font-size: 14px;
    color: #000000;
    background-color: #ffffff;
    border-color: #000000;
    border-width: 1px;
	border-radius: 0px;
}
.btn-warning:hover {
    font-weight: 400;
	font-size: 14px;
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
    border-width: 1px;
	border-radius: 0px;
}
.btn-red {
	border-color: #000000;
	color: #000000;
	background-color: white;
	border-radius: 0px;
	font-size: 14px;
}

.btn-red:hover,
.btn-red:active,
.btn-red.active {
	background-color: #000000;
	color: white;
	border-radius: 0px;
	font-size: 14px;
}

.btn-red:active,
.btn-red.active {
	box-shadow: 0 0 0 0.2rem rgb(0 0 0);
	cursor: default;
	border-radius: 0px;
	font-size: 14px;
}

/* Headings */
h1,
.h1,
h2,
.h2,
h3,
.h3 {
	margin-top: 15px;
}

h2,
.h2,
h3,
.h3 {
	color: #000000;
	margin-bottom: 15px;
	font-weight: 500;
	font-family: helvetica, sans-serif;
}

h1,
.h1 {
	font-size: 1.5rem;
}

h2,
.h3 {
	font-size: 1.2rem;
}

h2 + p,
.h2 + p,
h2 + label,
.h2 + label {
	font-size: 0.8rem;
	margin-top: -1em;
}

h2 > span,
.h2 span {
	color: #000000;
}

/*h2 {
	position: relative;
	overflow: hidden;
}*/

/*h2:after {
	border: 2px dashed #2a78e4;
	display: block;
	content: ' ';
	position: absolute;
	width: 100%;
	margin-top: -.6em;
	margin-left: 1em;
	z-index: -1;
}*/

/*h2.toolbar-pocketdepth:after {
	display: none;
}*/

/** Canvas Styles **/

#preview {
	text-align: center;
}

#preview canvas {
	border: 1px solid #c3c3c3;
	display: inline-block;
	float: left;
}

#preview canvas#myCanvas {
}

#preview canvas#myCanvas2 {
	margin-left: 5px;
	margin-right: -9px;
}

.toolbar-pocketdepth {
	background: #ccc;
	padding: 1rem;
	justify-content: space-between;
	position: fixed;
	z-index: 3;
	height: 53px;
	top: 56px;
	left: 1rem;
	right: 1rem;
	margin-left: -1rem;
	margin-right: -1rem;
}

.toolbar-pocketdepth h2 {
	margin: 0;
	float: left;
}

.toolbar-pocketdepth a {
	float: right;
	margin-top: -10px;
	margin-bottom: -10px;
}

#stack_form .invalid-feedback {
	display: block;
}

#stack_form .invalid-feedback:empty {
	display: none;
}

.input-group-addon {
	padding-left: 0.375rem;
	padding-right: 0.375rem;
	font-size: 75%;
}

.input-group.checkbox-override label {
	display: block;
	width: 100%;
	text-align: right;
}