/*
Theme Name: UWRI
Theme URI: https://github.com/oomphinc/uwri
Author: Oomph Team
Author URI: http://oomphinc.com/
Description: Theme for United Way of Rhode Island
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uwri
Domain Path: /languages/

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

UWRI is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
UWRI is distributed under the terms of the GNU GPL v2 or later.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
html {
  font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}
body {
  background: #fff; /* Fallback for when there is no custom background color defined. */
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
a img {
  border: 0;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar */
}

.footer-form input[type="submit"] {
  color: #000000;
}

.footer-form .gfield_label {
  color: #ffffff;
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}
.site-myfund {
  background-color: #81ddd2 !important;
}
.site-myfund:hover {
  background-color: #627788 !important;
}

/* NEW STUFF DECEMBER 2020 */
.fl-builder .site-main {
  padding: 0 !important;
  max-width: none !important;
}
.child-navigation:empty {
  display: none;
}
.child-navigation:empty + .page.hentry {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
/* NEW STUFF JANURY 2021 */
.site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.page.hentry {
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
}

.error-404.not-found {
  background: #ffffff;
}

.error-404.not-found .page-title {
  padding-top: 25px;
  text-align: center;
}

.error-404.not-found .search-modal-form__btn {
  margin: 25px 0;
  background: #0056a7;
  border-color: #0056a7;
}

.error-404.not-found .page-content {
  text-align: center;
}

.error-404.not-found .search-modal-form {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.search-modal-form__field {
  width: 50%;
}

/*--------------------------------------------------------------
8.0 Sitewide Alert
--------------------------------------------------------------*/
.sitewide-alert {
	font-weight: 700;
	padding: 1.5rem 2rem;
}

@media screen and (min-width: 769px) {
	.sitewide-alert {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}
}

.sitewide-alert__prefix {
	margin-bottom: 1rem;
	text-transform: uppercase;
}

@media screen and (min-width: 769px) {
	.sitewide-alert__prefix {
		flex: 0 0 auto;
		margin-bottom: 0;
		margin-right: 1.5rem;
	}
}

@media screen and (min-width: 769px) {
	.sitewide-alert__message {
		flex: 1 1 0;
	}
}

.sitewide-alert__message p {
	margin-bottom: 0;
	color: inherit;
}

.sitewide-alert__message p a {
	color: #000888;
}

@media (min-width: 30em) {
	.sitewide-alert__message p,
	.sitewide-alert__prefix {
		font-size: calc(1rem + .125 * (100vw - 30em) / 55);
	}
}

.sitewide-alert__prefix .fa {
	font-size: 28px;
}

@media screen and (min-width: 769px) {
	.sitewide-alert__prefix .fa {
		margin: 0 0.5rem;
	}
}