* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
	background: #ffffff;
    line-height: 1.7em;
    xcolor: #7f8c8d;
    color: #626C6D;
    xcolor: black;
	font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    xcolor: #34495e;
	color: #226EA4;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}


.header {
	background-color: #226EA4;
	color: #ffffff;
}

.logo {
	width: 2em;
	xmargin-left: 10px;
	z-index: 100;
	display: inline-block;
}

.logo img {
	width: 3em;
}

.narrow-menu .logo {
	margin-left: auto;
	margin-right: 1em;
	display: none;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

.pure-form textarea {
	width: 100%;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}

.button-secondary {
	background: #666;
}

.button-white {
	background: #f0f0f0 !important;
	color: #091635 !important;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: left;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu {
	background-color: #226EA4;
	color: #ffffff;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 1.4em;
}

.pure-menu-heading {
	text-transform: none;
}

.narrow-menu .pure-menu-heading {
	margin-right: -0.5em;
}

.wide-menu .pure-menu-heading {
	margin-top: -1.5em;
}

.home-menu .pure-menu-selected a {
    color: #AECFE5;
}

.home-menu a {
    color: #ffffff;
}
.home-menu ul {
	float: right;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #fecc33;
}


.narrow-menu {
	position: absolute;
	text-align: right;
}

.narrow-menu ul {
	float: left;
	margin-left: 0em;
	margin-right: 0em;
	
}

.wide-menu {
	display: none;
}

.burger-menu {
	font-size: 2em;
	margin-left: 0em;
	margin-right: 0em;
}

.pure-menu-children {
	background-color: #226EA4;
}

.xpure-menu-children {
	position: fixed;
	left: -20em;
	right: 0px;
}

.pure-menu-children li {
	font-size: 0.75em;
	text-align: left;
}

/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background-image: url(loginbackground_light.jpg);
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 60%;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;
    xtext-transform: uppercase;
    color: black;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 2em;
    font-weight: bold;
    color: black;
    xborder: 3px solid white;
    zfont-weight: 100;
    border-radius: 5px;
    line-height: 1.5em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: black;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 55%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;
    text-align: center !important;
	xbackground: #ECE5DB;
}

.inner-wrapper {
	width: 100%;
    max-width: 100em;
    text-align: left;
    margin-left: auto;
    margin-right: auto;

}


.nosplash {
	top: 5%;
}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    xtext-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

.content-head-narrow {
   margin: 1em 0 0em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0px 0px 10px #000000;

}

.ribbon-light .content-head-ribbon {
    color: black;
	text-shadow: 0px 0px 10px #FFFFFF;
}

.ribbon-large .content-head-ribbon {
    font-size: 4em;
    line-height: 1em;
}

.white-overlay {
	color: white !important;
	text-shadow: 0px 0px 10px #000000;
}

.

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
	color: #226EA4;

}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: #aaa;
    background-size: cover;
    background-position-y: center;
}

.ribbon-large {
	min-height: 24em;
}

.ribbon-flex {
	min-height: 10em;
}
.ribbon-flex-smaller {
	min-height: 8em;
}

/* This is the class used for the footer */
.footer {
    background: rgba(0,0,0,0.7);
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 0.6em;
    line-height: 1.2em;
    color: #aaa;
    text-align: left;
}

.footer a {
	color: #ffcc33;
}

#extranotices {
	margin-top: 1em;
	display: none;
}

.form-container {
	margin-top: 1em;
	display: none; text-align: left;
	background: #eee;
	border-radius: 0.5em;
	border-top-left-radius: 0.6em;
	border-top-right-radius: 0.6em;
	width: 80%;
	border: 1px solid #226EA4;
}

.form-header {
	width: 100%;
	text-align: center;
	background: #226EA4;
	color: white;
	font-weight: bold;
	padding: 0.5em;
	margin-bottom: 1em;
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

.form-container form {
	margin: 2em;
}

.bubble-container {
	background: #eee;
	border-radius: 0.5em;
	width: 80%;
	max-width: 50em;
	padding: 2em;
	text-align: center;
	margin-top: 3em;
	margin-bottom:  2em;
	margin-left: auto;
	margin-right: auto;
}


display: inline-block; border: none; padding: 2em;


/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */

@media (min-width: 22em) {
	.logo {
		display: inline-block;
	}
	.pure-menu-heading {
		margin-top: -1.5em;
	}
}

@media (min-width: 25em) {
    .splash-head {
        font-size: 2.5em;
    }
}
 
@media (min-width: 30em) {
    .splash-head {
        font-size: 3em;
    }


}
 
 
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        xfont-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        xwidth: 50%;
        xheight: 50%;
    }

    .splash-head {
        font-size: 4em;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }
    .narrow-menu {
	    display: none;
    }
    .wide-menu {
	    display: inline-block;
    }
    
    .ribbon-flex {
		min-height: 16em;
	}
    .ribbon-flex-smaller {
		min-height: 12em;
	}
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    .splash-head {
        xfont-size: 50%;
    }
    .ribbon-flex {
		min-height: 20em;
	}

}


@media(prefers-color-scheme: dark) {
	body {
		background: #111;
	    color: #ccc;
	}

	.content-wrapper {

	    background: #111;
	    color: #ccc;
	}
	.content-subhead {
    	color: #1f8dd6;
	}
	.splash-container {
	    background-image: url(loginbackground_dark.jpg);
	}
	
	.splash {
	    color: white;
	}
	
	.splash-head {
	    color: white;
	}
	
	/* This is the subheading that appears on the blue section */
	.splash-subhead {
	    color: white;
	}
	
	.form-container {
		background: #333;
	}
	
	.button-secondary {
		background: #888;
	}
	
	.pure-form label {
  	  color: #1f8dd6;
	}	
	
	.bubble-container {
		background-color: #333;
		color: #eee;
	}
}

