﻿/* CSS Document */
body, html {
	font-family: 'Noto Sans', sans-serif;
}


.disabled:hover::after {
	position: absolute;
	top: -50px;
	left: auto;
	width: max-content;
	height: 50%;
	content: "You must complete the training first.";
	line-height: 1;
	transition: all .3s ease-in-out;
	font-size: 14px;
	background: gray;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	color: white;	
	padding:20px;
}
.disabled:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 210px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: gray transparent transparent transparent;
}
.disabled:hover {
	cursor: not-allowed;
}
input[type="text"]{
	-webkit-appearance:textarea;
}
}
h1 {
	font-size: 41px;
	line-height: 47px;
	color:#333333;
	padding:0;
	margin:0;
}
h2 {
	font-size: 36px;
	color: #5B7300;
	letter-spacing: 0;	
	padding:0;
	margin:0;
}
h3 {
	font-size: 22px;
	color: #333333;
	letter-spacing: 0;
	line-height: 30px;	
	font-weight: 200;
}
a:active,
a:focus,
.btn:active{
	outline: none !important;
	text-decoration: none !important;
}
.content {
	clear:both;
}
p, .content p {
	font-size: 18px;
	color: #333333;
	letter-spacing: 0;
	line-height: 26px;	
	padding:0;
	margin-bottom:20px;
}
h3 a {
	color:#000051 !important;
	text-decoration: underline !important;
}
p.highlight {
	font-size: 18px;
	color: #7F7F7F;
	letter-spacing: 0;
	line-height: 26px;	
	font-weight: bold;
	font-style: italic;
}
hr {
	color:#FFF;
	border-top: 1px solid #D8D8D8;
}
.carousel {
	padding:0 35px;
}
.stewardship-container {
	font-size: 18px;
}
.top-buttons {
	margin-bottom:20px;
	clear:both;
}
.top-buttons h2 {
	float:left;
	width:60%;
}

.top-buttons .button-container {
	float:right;
}
.top-buttons .button {
	display: inline-block;
	padding:6px 15px;
}
.title {
	overflow: auto;
	padding-top:40px;
	padding-bottom:40px;
}
.title img {
	max-width:275px;
	vertical-align: middle;
}

.top-nav {
	list-style-type: none;
	margin:-30px 0 0 0;
	padding:0 50px;
	width:100%;
	z-index: 1;
	position: relative;
}
.top-nav li {
	float:left;
	text-align: center;
	padding:0;
	width:33.33%;
	margin:0;
}
.top-nav li a {
	display: block;
	color:#FFF;
	font-size: 18px;
	border-right:2px solid #FFF;
	cursor: pointer;
	padding:15px 44px 15px 44px;
	background-color:#526801;
}
.top-nav li a.active {
	background-color:#445500;
}
.top-nav li a:hover {
	text-decoration: none !important;
}
.top-nav li a.quiz {
	border-right:none;
}


.progress {
    margin: 20px 50px 40px 50px;
	height: 8px;
    overflow: hidden;
    background-color: #E5E5E5;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
	
}
.progress-bar {
	height: 8px;
	background-color:#A9B400;
}

.button {
	background-image: linear-gradient(180deg, #C2CF05 0%, #A9B400 100%);
	font-size: 16px;
	color: #333333;
	letter-spacing: 0;
	line-height: 20px;
	border-radius: 0;
	border:none;
	font-weight: bold;
}
.button.next {
	text-align: center;
	padding:6px 15px;
}
.button:hover {
	background-image: linear-gradient(180deg, #C2CF05 0%, #A9B400 100%);
	color:#333333;
	text-decoration: none;
}
.button:active,
.button:focus,
.button:blur{
	outline: none;
	text-decoration: none;
}
.button.active.focus, .button.active:focus, .button.focus, .button:active.focus, .button:active:focus, .button:focus {
	outline: none;
	text-decoration: none;
}

.bottom-buttons {
	padding-top:50px;
	padding-bottom:50px;
	overflow: auto;
	clear:both;
}

.bottom-buttons .button,
.button.mp-quiz {
	padding:15px 20px;
	background-image: linear-gradient(180deg, #C2CF05 0%, #A9B400 100%);	
}
.button.prev {
	background-image:none;
	background-color:#E5E5E5;
	margin-right: 10px;
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}
.legal {
	font-size: 12px;
}
.quiz-link {
	margin-top: 50px;
	font-weight: bold;
	font-size: 20px;
	padding: 10px 30px;
}

.footer {
	margin-top:50px;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

@media screen and (max-width: 1200px) {
	.navigation li a {
		padding: 15px 24px 15px 23px;
	}
	.navigation li a.quiz {
		padding: 15px 28px 15px 28px;
	}	
}
@media screen and (max-width: 992px) {
	.navigation li a {
		padding: 15px 10px 15px 10px;
		font-size: 16px;
	}
	.navigation li a.quiz {
		padding: 15px 10px 15px 10px;
	}	
	.title .logo {
		float:left !important;
		margin-bottom:25px;
	}	
}
@media screen and (max-width: 768px) {
	.top-nav li {
		float:none;
		width:100%;
		border-bottom:2px solid #FFF;
	}
	.top-nav li a,
	.top-nav li a.quiz{
		padding:5px;
		width:100%;
		border-right:none;
	}
	.top-buttons {
		text-align: left;
	}	
	.btn {
		margin-left:0;
		margin-right:15px;
	}	
	
	.top-buttons h2 {
		float:none;
		width:100%;
	}

	.top-buttons .button-container {
		float:none;
		margin-bottom: 30px;
	}
	h2 {
		font-size: 30px;
		line-height: 35px;
		margin-bottom: 20px;
	}	
	
}


.mp-quiz-form-group{
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	margin: .5rem -15px;
}

.mp-fieldset{
	position:relative;
	margin: 2rem 0;
}

.mp-fieldset.highlight{
	background:#ffffd9;
}

.mp-fieldset.highlight.wrong legend:after{
	top:0;
	right:0;
	margin-left:1rem;
	content:"You selected the wrong answer, please try again.";
	color:#cc004f;
	width:auto;
	width: intrinsic;
	width: -moz-max-content;   
	width: -webkit-max-content;
	white-space:pre;
}

.mp-fieldset.highlight.empty legend:after{
	top:0;
	right:0;
	margin-left:1rem;
	content:"Please answer this question.";
	color:#cc004f;
	width:auto;
	width: intrinsic;
	width: -moz-max-content;   
	width: -webkit-max-content;
	white-space:pre;
}

.mp-fieldset.highlight legend{
	background:#ffffd9;
}

.mp-fieldset-group{
	display:block;
	margin: .5rem 0;
}

.mp-fieldset-group *{
	display:inline;
}

/* Quiz Counter */

.mp-fieldset {
  counter-reset: listCounter;
}

.mp-fieldset .mp-fieldset-group input[type=radio] {
  counter-increment: listCounter;
}

.mp-fieldset .mp-fieldset-group label:before {
  content: counter(listCounter, upper-alpha)".\00a0";
  font-weight: normal;
}

#mp-form .mp-fieldset .mp-fieldset-group label:before{
	content:"";
	display:none;
}

#stewardship-form .mp-heading{
	margin:0 0 2rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

@media screen and (max-width:992px) and (min-width:769px){
	.mp-quiz-form-group{
		margin:.5rem 15px;
	}
}

.error{
	outline:1px solid red;
}

legend.error{
	color:red;
	outline:none;
	outline:0;
}

legend.error:after{
	content:"*";
	color:red;
}

.mp-form-errorlist{
	color:red;
}