@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

  @font-face {
    font-family: openSans;
    font-weight: 300;
    src: url(https://static.smartygrants.com.au/default/fonts/OpenSans/OpenSans-Regular.ttf);
  }

  @font-face {
    font-family: openSans;
    font-weight: 700;
    src: url(https://static.smartygrants.com.au/default/fonts/OpenSans/OpenSans-Bold.ttf);
  }

#header a, #header a:link, #header a:visited, #header a:hover, #header a:active, #header a:focus {
	border: none;
	outline: none;
	text-decoration: none;
	display:inline-block;
}

#header {
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* add this */
    width: 960px;
    margin: 0 auto;
    overflow: hidden;
    padding: 15px 0;
}

#logo img {
    height: 50px;
    width: auto;
}

#wrapper {
	height: 100%;
	margin: 0 auto;
	min-height: 800px;
	width: 960px;
}

#head {
    line-height: 61px;
    min-height: 61px;
    background-color: #004E78;
    width: 100vw;
    margin-top: 0;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding-left: calc(50% - 480px);
    display: flex;
    align-items: center;
}

#head a, #head a:link, #head a:visited {
    font-size: 16px;
    padding: 5px;
    white-space: nowrap;
    color: white;
    font-family: openSans;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

#head a:hover, #head a:active, #head a:focus {
    text-decoration: underline;
    text-decoration-color: #ACC32B;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    color: white;
}

#user, #headlinks {
    float: left;
    margin-left: calc(50vw - 480px);
}

#user {
    color: white;
    font-family: openSans;
    font-weight: 700;
    font-size: 16px;
    padding-left: 5px;
    white-space: nowrap;
}

#headlinks {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

#body {
	background-color: white;
	min-height: 800px;
	padding: 15px;
	margin-top: 0px;
}

a, a:link, a:visited {
    border: none;
    outline: 2px solid transparent;
    text-decoration: none;
    color: #0077B2;
    font-family: openSans;
    font-weight: 400;
}

a:hover, a:active, a:focus {
    border: none;
    color: #0077B2;
    outline: 2px solid transparent;
    text-decoration: underline;
    text-decoration-color: #0077B2;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:focus {
	outline: 1px dotted #0172a8;
}

body {
    font-size: 16px;
    color: #333333;
    font-family: openSans;
    font-weight: 400;
}

input, textarea, select {
    font-family: openSans;
}

select, select option, label, .field label {
    font-family: openSans;
}

#main-content > p {
    font-size: 16px !important;
    font-family: openSans;
    font-weight: 400;
}

h1, h2, h3, h4 {
	font-weight: 700;
	margin: 20px 0;
    color: #253b69;
    font-family: openSans;
}

h1 {
	font-size: 48px;
}

.sg-indent {
    margin-left: 0em;
}

.chooseform {
    margin: 0px;
}

h2 {
	font-size: 36px;
}

img, svg {
	vertical-align: unset;
}

.validationerror, .ftValidError {
	background-color: #f2dede !important;
	border: 1px solid;
	border-color: #eed3d7;
	border-radius: 5px;
	color: #A70000;
    font-weight: 700;
	margin: 10px 0px;
	padding: 15px 10px 15px 20px !important;
}

#regform > fieldset > div:nth-child(5) > div.hint > p {
	margin-top: 130px;
}

#appnav {
	background-color: white;
    border: none;
    margin-bottom: -4000px;
    color: black;
    padding: 0px;
    font-size: 16px;
    font-weight: 400;
    width: 200px;
    float: left;
	margin-top: 75px;
}

#appnav h3 {
	border: none;
    margin: 0px;
    padding: 12px 8px;
    line-height: 1.5rem;
    font-weight: 400;
    display: block;
    font-size: 1.12rem;
    background-color: transparent;
    border-bottom: 1px solid #d0d0d0;
	color: #1d294e;
	border-top: solid 7px #253b69;
}

#appnav a:hover, #appnav a:active, #appnav a:focus {
    border: 1px solid transparent;
    color: #4574bf;
    text-decoration: none;
    background-color: #565759;
    color: white;
}

#appnav .current {
    border: none;
    margin: 0px;
    font-size: 16px;
    color: white;
    border-bottom: 1px solid #d0d0d0;
    padding: 12px 8px;
    font-weight: 600;
    background-color: #565759;
}

#appnav li {
	border: none;
    padding: 0px;
    margin: 0px;
    font-weight: 100;
}

#appnav a, #appnav a:link, #appnav a:visited {
    display: block;
    font-size: 16px;
    margin: 0;
    background: #fff;
    line-height: 1.12rem;
	color: #1d294e;
    border-bottom: 1px solid #d0d0d0;
    padding: 12px 8px;
}

#appnav a:hover, #appnav a:active, #appnav a:focus {
    border: 1px solid transparent;
    color: #4574bf;
    text-decoration: none;
}

/*Review & Submit page link when also the selected page*/
#appnav .current a {
	color: #1d294e;
    margin: -8px;
}

#appnav hr {
	background-color: black;
	border: none;
	height: 2px;
	margin: 0;
	outline: none;
}

/*For appnav on left side*/
#htmlForm .appform {
	margin-left: 230px;
}

.ftEditForm, .ftEditPage {
	border: none;
	width: 700px !important;
}

.appform h2, .ftEditPageHeading, #kc-passwd-update-form h2 {
	background-color: #253b69;
	height: 40px;
    box-sizing: border-box;
	color: white;
	font-size: 20px;
	width: inherit;
	margin-top: 35px;
}

.appform h3, .ftEditSectionHeading {
    box-sizing: border-box;
	color: white;
	font-size: 18px;
	width: inherit;
	background-color: #55a3a5;
	height: 40px;
}

.ftEditColumnHeading {
	background-color: green;
	color: white;
	font-size: 16px;
	width: inherit;
}

.loginbox .appform .btn {
	padding-left: 105px;
}

.loginbox .appform .l {
	min-width: 145px !important;
}

/*label of MFA steps*/
.otp-steps {
	width: 70px;
}

.appform .btn {
	background: none;
	background-color: transparent;
	border: none;
	font-size: 90%;
	height: 30px;
	position: relative;
}

.appform .btn .mid {
	width: 410px;
}

#regform .field {
	width: 660px;
}

.appform .l {
	width: 197px;
}

.sg-time {
	border: none;
	text-decoration: none;
}

.appform .btn input, #body .appform .btn a.linkbtn, .appform .btn .close, #kc-form-buttons input {
    appearance: none;
    cursor: pointer;
    moz-appearance: none;
    font-family: openSans;
    padding: 8px 20px;
    text-decoration: none;
    webkit-appearance: none;
    width: 150px;
    background-color: white;
    border: 2px solid #253b69;
    color: #253b69;
    font-size: 16px;
    height: 40px;
    border-radius: 4px;
    line-height: normal;
}

.appform .btn input:hover, #body .appform .btn a.linkbtn:hover, .appform .btn .close:hover, #kc-form-buttons input:hover {
    background-color: #253b69;
    color: white;
    transition: background-color 300ms;
    border: 2px solid #253b69;
}

.appform .btn .next {
	background-image: url(https://static.smartygrants.com.au/default/arrows/white-chevron-right.png);
	background-position: 115px center;
	background-size: 18px;
}

.appform .btn input.btndisabled {
	cursor: not-allowed;
}

.appform .btn .prev {
	background-image: url(https://static.smartygrants.com.au/default/arrows/white-chevron-left.png);
	background-position: 5px center;
	background-size: 18px;
}

#lastSaved {
	float: right !important;
	margin-top: -70px;
}

.questionLegend {
	width: inherit;
}

/*Links at the top of round landing page and form preview*/

.iconbar {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.iconbar .item a {
    display: block;
}

.iconbar .item {
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 6px;
    margin: 4px;
    align-self: flex-start;
}

.iconbar .item-wide {
    background-color: transparent !important;
    border: none !important;
    padding: 0 0 0 10px;
    margin: 0;
    flex: 1;
}

.iconbar .item a:hover {
    text-decoration: underline;
    text-decoration-color: #ACC32B;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.iconbar .item img {
	margin-top: -7px;
}

.iconbar .item-narrow {
	width: 175px;
}

.iconbar .item-very-wide a {
    display: inline !important;
}

a.leaflet-pelias-search-icon {
	visibility: hidden;
}

.leaflet-left .leaflet-control-custom {
    cursor: pointer;
    width: 62px !important;
}

.create-sf-profile-btn {
	text-decoration: none !important;
}

#footer {
    color: white;
    background-color: #002a41;
    height: auto;
    padding-bottom: 10px;
}

#footer-content {
    margin: 0 auto;
    padding-top: 10px;
    width: 960px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

.footer-position {
    float: none;
    font-size: 14px;
    height: auto;
    line-height: 20px;
    margin-top: 0px;
    width: 33%;
    padding: 10px;
    box-sizing: border-box;
}

.footer-position ul {
	margin: 0px;
}

.footer-position li {
	list-style: none;
	margin-bottom: 0px;
    font-family: 'Open Sans';
    font-weight: 300;
}

.footer-position h4 {
	color: white;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 15px;
    font-family: 'Open Sans';
}

.footer-position a, .footer-position a:link, .footer-position a:visited {
	border: none;
	color: white;
	outline: 1px solid transparent;
	text-decoration: none;
    font-weight: 300;
    font-family: 'Open Sans';
}

.footer-position a:hover, .footer-position a:active, .footer-position a:focus {
	border: none;
	color: rgb(69, 116, 191);
	outline: 1px solid transparent;
	text-decoration: underline;
}

.footer-position a:focus {
	outline: 1px dotted #0172a8;
}

/* To account for long email, shift footer positions */
#tech-support {
    width: 33%;
}

#footer-logos {
   width: 0%;
}

#acknowledgment {
    background-color: #002a41;
    padding: 10px;
    text-align: left;
    color: white;
    float: none;
    width: 33%;
    box-sizing: border-box;
}

#acknowledgment h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Open Sans';
}

#acknowledgment .flags {
    display: flex;
    justify-content: flex-start;  /* was: center */
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

#acknowledgment img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: 0 10px;
}

#acknowledgment p {
    color: white;
    max-width: 500px;
    margin: 0;  /* was: 0 auto */
    line-height: 1.6;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Open Sans';
    text-align: left;
}

#footer-bottom {
    clear: both;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    font-family: 'Open Sans';
    font-weight: 300;
    border-top: 1px solid #1a4a61;
}

#footer-bottom a, #footer-bottom a:link, #footer-bottom a:visited {
    color: white;
    font-family: 'Open Sans';
    font-weight: 300;
}

#footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

#footer-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 39px;
    width: 20%;
}


#footer-logo img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

#tech-support {
    display: none;
}
/*SF my submissions things. don't touch*/

#submissions .col-1 button {
	background-color: #007bff;
	color: #fff;
}

#submissions .col-1 button:hover {
	color: #007bff;
	background-color: white;
	border: 1px solid;
}

#app-detail-modal button.btn-primary {
	background: none;
	border-color: #6c757d;
	color: black;
}

#submissions a {
}

a#rc-responselink, a#rsc-responselink {
	text-decoration: underline;
	color: #007bff;
}

#submissions .app-title a {
	text-decoration: underline;
}
