﻿/* -----------------------------------------------------------------------------

    This file should be used to add your own CSS definitions or override
	the existing ones.

----------------------------------------------------------------------------- */

	/* FONT */
	/* body { font-family: 'insert-font-family-name-here', 'Arial', sans-serif; } */

.header-branding {
	width: calc(60px + 16vw);
	text-align: center;
}

/* STANDARD LOGO DIMENSIONS */
.header-branding img { 
	max-height: calc(75px + 5vw);
	width: auto;
}

/* LARGE LOGO DIMENSIONS */
.header-branding.m-large-logo img { 
	max-height: calc(120px + 5vw);
	width: auto;
}
/* Scroll down to "MEDIUM DEVICES" to change width of large logo on mobile devices */

/* your CSS here */


/* -----------------------------------------------------------------------------

    RESPONSIVE DEFINITIONS

----------------------------------------------------------------------------- */

    /* -------------------------------------------------------------------------
        LARGE DEVICES
		devices with width between 992px and 1199px
    ------------------------------------------------------------------------- */

    @media ( max-width: 1199px ) {

		/* your CSS here */

	}

    /* -------------------------------------------------------------------------
        MEDIUM DEVICES
		devices with width between 768px and 991px
    ------------------------------------------------------------------------- */

    @media ( max-width: 991px ) {

			.header-branding { width: 100%; }

			/* your CSS here */

	}

	/* -------------------------------------------------------------------------
        SMALL DEVICES
		devices with width between 481px and 767px
    ------------------------------------------------------------------------- */

    @media ( max-width: 767px ) {

		/* your CSS here */

	}

	/* -------------------------------------------------------------------------
        EXTRA SMALL DEVICES
		devices with width up to 480px
    ------------------------------------------------------------------------- */

	@media ( max-width: 480px ) {

		/* your CSS here */

	}

	/* -----------------------------------------------------------------------
				Custom additions
	--------------------------------------------------------------------------- */

.error-404-page__404 {
	color: #f0f0f0;
	position: absolute;
	top: 85px;
	left: 0;
	right: 0;
	margin: 0;
	font-size: 240px;
	line-height: 170px;
	z-index: 10;
	font-weight: bold;
}
.error-404-page__title {
	margin: 0;
	font-weight: bold;
	font-size: 1.5em;	
}
.error-404-page__text {
	margin: 48px 0 0 0;
}
.error-404-page__content {
	position: relative;
	z-index: 20;
}
.error-404-page__inner {
	position: relative;
	margin: 0 auto 24px auto;
	max-width: 540px;
	padding: 200px 30px 0 30px;
	text-align: center;
}
.error-404-page__link {
	margin: 24px 0 0 0;
}

.gallery-title {
	text-align: center;
}

/* The .responsive-object class is automatically added by Wagtail:
https://docs.wagtail.io/en/latest/topics/writing_templates.html#responsive-embeds */
.rich-text img {
    max-width: 100%;
    height: auto;
}
.responsive-object {
	position: relative;
	margin-bottom: 2rem; /* addition by DHS */
}
.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rich-text a:link, .rich-text a:active {
	text-decoration: underline;
}
.rich-text a:hover {
	text-decoration: none;
}
.rich-text a:visited {
	text-decoration: none;
	border-bottom: 1px dashed #046A38;
}

table {
	margin-bottom: 2rem;
}
th {
	white-space: nowrap;
	vertical-align: middle;
}

h4 {
	font-size:  1rem;
}

b {
	font-weight: bold;
}

i {
	font-style: italic;
}

.rich-text h2 {
	margin: 1.5rem 0 0.5rem 0;
}
.rich-text h3, .rich-text h4, .rich-text h5 {
	margin: 1.15rem 0 0.5rem 0;
}
.rich-text h2:first-of-type {
	margin-top: 0;
}

@media screen and (max-width: 413px) {
    #rc-imageselect, .g-recaptcha {
        transform: scale(0.92);
        -webkit-transform: scale(0.92);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}
@media screen and (max-width: 375px) {
    #rc-imageselect, .g-recaptcha {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}
@media screen and (max-width: 320px) {
    #rc-imageselect, .g-recaptcha {
        transform: scale(0.73);
        -webkit-transform: scale(0.73);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}

.page-content-inner > .c-content-box:first-of-type {
	min-height: 35vh;
}

/* Handle case where image is tiny - center.  align-items:center needed to keep image height from being stretched */
.gallery-image a {
	display: flex !important;
	justify-content: center;
	align-items: center;
}

.featured-gallery-widget .gallery-image img {
	width: 100%
}

/* Brighten the icon and anchor items in the footer */
#bottom-panel .widget-ico, #bottom-panel a {
	filter: brightness(150%);
}

.widget-inner {
	background-position: center;
}

.notice-title {
	margin-right: 0.5rem !important;
}

.notice-detail-page .notice-core {
	min-height: 22vh;
}

.highlighted-text {
	font-weight: bold;
	color: chocolate;
}

/* Tighten up the spacing within and between paragraphs */
#page-content p {
	margin-bottom: 0.75rem;
	line-height: 1.5rem;
}
.rich-text ul {
	margin: 0 0 0.6rem 1rem !important;
}
.rich-text ul li {
	margin-top: 0 !important;
}

.fieldWrapper {
	margin-bottom: 0.75rem;
}
.fieldWrapper .help {
	font-style: italic;
	color: #046a38;
}

form input[type="checkbox"] {
	transform: scale(2.5);
    margin-left: 0.6rem;
    margin-top: 0.5rem;
}

form label {
	min-height: calc(1rem + 5px);
}

form:not(.c-search-form) .submit-btn {
	margin-top: calc(1rem + 5px);
}

#bottom-panel a {
	font-weight: bold;
}