/*
	Theme Name: ToFF.2025
	Description: Custom Theme For Tom of Finland Foundation
	Version: 1.0
	Author: John Harding, Joshua Krauth-Harding, Will Callis
*/

:root {
	--sans-serif: franklin-gothic-urw, sans-serif;
    --serif: big-caslon-fb, serif;
	--blue: #78BEFF;
	--cool-gray: #E5E5E5;
	--warm-gray: #EFEAE5;
	--black: #222;
  /* clever trick to change the color of an icon (see: https://codepen.io/sosuke/pen/Pjoqqp) */
    --icon-to-blue: brightness(0) saturate(100%) invert(73%) sepia(50%) saturate(1476%) hue-rotate(179deg) brightness(100%) contrast(102%);
    --icon-to-footer-gray: brightness(0) saturate(100%) invert(34%) sepia(0%) saturate(287%) hue-rotate(154deg) brightness(105%) contrast(90%);
}



/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

.temp-highlight {
	background-color: #eb4034;
	color: white;
}

body {
	font: 300 0.9em var(--sans-serif);
	color:black;
	min-width: 320px;
  	background-color: var(white);
/* 	carla fix */
	margin-left:0px;
}

body p, ol {
	font-size: 1.2em;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

a {
	color: #575757 ;
	text-decoration:none;
	transition: all 0.1s;
}
a:hover {
	color:var(--blue);
	opacity: 1;
}
a.title:hover {
	color:var(--blue) !important;
	opacity: 1 !important;
}

a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

input {
    border: 1px solid var(--warm-gray);
    font-size: 1.2em;
}

h2 {
	
  font-weight: 900;
	margin: 0;
}

h1 {
	font-family: var(--serif);
	font-size: 3em;
	line-height: 1em;
	margin: 0;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.background {
  margin: 10px;
  background-size: 10px;
  background-color: white;
  height: calc(100vh - 20px);
  overflow: auto;
	position: relative;
	html, body {
  background-color: white;
}
}

/* wrapper */
.wrapper {
  max-width: 1280px;
  width: 95%;
  margin: 0 auto;
  position: relative;
}
/* header */
.header {
  border-left: 1px solid var(white);
  border-right: 1px solid var(white);
  border-bottom: 1px solid var(white);
  padding: 1.5em;
}
/* logo */
.logo {
	float: left;
	margin-top: 10px;
}
.logo-img {
  width: 15em;
}

.tom100 {
  width: 3em;
  position: absolute;
  top: 1em;
	height: auto;
}

.tom100:hover {
  filter: var(--icon-to-blue);
}

/* nav */
.nav {
	margin-top: 50px;
 
}

.hamburger {display: none;}

.toff-menu-item {
	font-size: 1.4em;
	font-weight:900;
	text-transform: uppercase;
	display: inline-block;
	padding-left: 2em;
  line-height: 1em;
}

.toff-menu-item > a {
	text-decoration: none;
}

.toff-menu-item.search {
	position: absolute;
	right: 30px;
	top: 70px;
	cursor: pointer;
}


.toff-menu-item.search:hover img {
  filter: var(--icon-to-blue);
}


.toff-menu-item:hover,
.toff-menu-item a:hover {
	color: var(--blue);
}

.toff-search-menu {
	display: grid;
  visibility: hidden;
  position: absolute;
  padding: 50px;
  height: 200px;
  width: 100%;
  opacity: 0;
  background-color: white;
  transition: opacity 0.3s;
  z-index: 3;
  left: 1px;
  border: solid var(--warm-gray) 1px;
  border-top: none;
/* 	carla fix */
	top:0;
}

.toff-search-menu input {
	width: 500px;
  border: solid var(--warm-gray) 1px;
  padding-left: 10px;
}

/* carla fix */
.toff-search-container {
  position: inline-block;
/* 	position:relative; */
}


.toff-search-container:hover .toff-search-menu {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s;
}

form.search input{
  font-size: 5em;
  width: calc(100% - 10px);
  padding-left: 10px;
  border: solid var(--warm-gray) 1px;
}

.search-page {
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1em;
  min-height: 100vh;
}

.search-page h1 {
  padding-top: 1em;
}

.toff-main-menu {
	display: grid;
	visibility: hidden;
    position: absolute;
    left: 0;
	height: 15em;
	width: 100%;
	opacity: 0;
	grid-template-columns: 0% 20% 20% 20% 20% auto;
  grid-gap: 20px;
	background-color: white;
	transition: opacity 0.3s;
  z-index: 3;
  padding: 1em 2em 2em 2em;
  border: solid var(--warm-gray) 1px;
  border-top: none;
}

.ctct-disclosure {
	display: none;
}

.nav:hover .toff-main-menu
{
/* 	carla fix */
/* 	visibility: visible; */
	opacity: 1;
	transition: opacity 0.3s;
}

.page-mask {
  position: absolute;
  left: 0;
  width: calc(100vw - 20px);
  height: 100%;
  background-color: black;
  opacity: 0.2;
  z-index: 2;
  display: none;
}

.toff-search-container:hover + .page-mask,
.nav:hover + .page-mask {
  display: block;
}

.toff-main-menu ul {
	list-style-type: none;
	padding-left: 15px;
}

.toff-menu-block {
	border: solid var(--warm-gray) 1px;
  padding: 1.5em;
  background-color: white;
}

.toff-menu-block input[type="text"] {
  width: 100%;
}

.small-menu {
  display: none;
}

.nav .toff-menu-block h1 a {
	color: gray;
	text-decoration: none;
}

.toff-menu-item:nth-child(2):hover ~ .toff-main-menu .toff-menu-block:nth-child(2) h1 a,
.toff-menu-item:nth-child(3):hover ~ .toff-main-menu .toff-menu-block:nth-child(3) h1 a,
.toff-menu-item:nth-child(4):hover ~ .toff-main-menu .toff-menu-block:nth-child(4) h1 a,
.toff-menu-item:nth-child(5):hover ~ .toff-main-menu .toff-menu-block:nth-child(5) h1 a,
.toff-menu-block:hover h1 a {
	color: black;
}

.toff-menu-item:nth-child(2):hover ~ .toff-main-menu .toff-menu-block:nth-child(2),
.toff-menu-item:nth-child(3):hover ~ .toff-main-menu .toff-menu-block:nth-child(3),
.toff-menu-item:nth-child(4):hover ~ .toff-main-menu .toff-menu-block:nth-child(4),
.toff-menu-item:nth-child(5):hover ~ .toff-main-menu .toff-menu-block:nth-child(5),
.toff-menu-block:hover {
	border: solid black 1px;
}

.toff-archives {
  padding: 50px 0;
}
.toff-archives .archive-grid {
    display: grid;
    grid-template-columns: 20% auto;
}

.toff-archives .by-category li {
  list-style: none;
  margin: 30px 0;
}

.toff-archives .by-category li a {
  background-color: var(--blue);
  color: white;
  padding: 10px;
  border-radius: 4px;
  font-weight: 900;
}

.toff-archives .by-date h2 {
  margin-bottom: 20px;
}

.toff-archives .by-date li {
  list-style:none;
  font-size: 16px;
}

.toff-archives .by-date li a {
  color: var(--blue);
  font-weight: 900;
}

.toff-archives .by-date .emptymonth {
  color: lightgray;
}


/* sidebar */
.sidebar {
}

.pagination {
	font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    padding-bottom: 1em;
}

/* footer */
.footer {
  background-color: #222;
  color: #5E5E5E;
  padding: 3em 3em 0.5em 3em;
  font-weight: 350;
  max-width: 100vw;
  position: relative;
  z-index: 2;
}

.footer .quote {
	font-size: 2.5em;
	font-weight: bold;
	font-family: var(--serif);
	color: white;
	text-align: center;
}

.footer .quoteby {
	font-size: 18px;
	font-weight: 900;
	color: white;
	text-align: center;
	text-transform: uppercase;
}

.footer .footer-info-container {
	margin-top: 2em;
	display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-info-block-inner {
  display: table-cell;
  padding-right: 3em;
}

.footer-info-block-right {
  float: right;
}

.footer-info-block h1 {
	font-size: 1em;
	padding-bottom: 0.5em;
	font-family: var(--sans-serif);
}

.footer-info-block {
	font-size: 1em;
}

.footer-info-block:nth-child(2) {
    text-align: center;
}

.footer-img1 {
	width: 4em;
	padding: 0 1em 1em 0;
}

.footer-img2 {
  height: 3em;
  position: relative;
  top: -12px;
}

.footer-img3 {
  width: 4em;
  padding: 0.5em;
}

.footer .socials img {
	height: 3em;
	padding-right: 1em;
}

.footer .socials a {
	text-decoration: none;
}


.footer img {
  filter: var(--icon-to-footer-gray);
}

.footer img:hover {
  filter: var(--icon-to-blue);
}

.copyright {
	font-size: 1em;
}


ul.page-menu {
    padding-inline-start: 0;
    margin: 0;
    background: white;
    padding: 1em 0 0 2em;
    border: 1px solid var(--warm-gray);
}

ul.page-menu a {
	text-decoration: none;
}

ul.page-menu a.boxed:after {
  top: 7px;
  right: 46px;
}

.news-grid ul.page-menu {
  margin-top: 30px;
}

.top-posts-grid ul.page-menu {
  margin-top: 10px;
}

.page-menu li {
	list-style: none;
	padding-bottom: 15px;
}

.page-menu a {
	border: solid #555 2px;
	padding: 5px 5px;
	display: block;
	width: 90%;
	font-weight: 400;
	text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  color: black;
  opacity: 0.7;
  font-size: 14px;
}

a[name] {
	visibility: hidden;
}

.page-menu a.selected {
	border-color:  var(--blue);
	color:  var(--blue);
}

.page-menu a:hover {
	border-color:  var(--blue);
	background-color:  var(--blue);
	color: white;
}

.prev-next {
  width: 100%;
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1em;
  margin: 1em 0;
  font-size: 1.5em;
  font-weight: 700;
}

.comment-form-comment label {
  display: none;
}

.comment-form .form-submit {
  border: solid #555 2px;
  width: 130px;
}

.comment-form .form-submit:hover {
  border-color:  var(--blue);
	background-color:  var(--blue);
	color: white;
}

.comment-form .form-submit:hover * {
  background-color:  var(--blue);
  color: white;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* .category h1 {
  padding-top: 0.5em;
} */

.gallery-item img {
	object-fit: cover;
	padding: 0 !important;
}

.big {
	background-color: white;
    border: solid var(--warm-gray) 1px;
	width: 100%;
	height: 60vh;
	padding: 5em 2em;
	margin: 2em 0;
	text-align: center;
}

.bg {
	background-color: white;
    border: solid var(--warm-gray) 1px;
	width: 100%;
	height: 60vh;
	padding: 1em 2em;
	margin: 2em 0;
}

.big h1 {
	font-size: 9em;
	line-height: 0.9em;
	padding-bottom: 3rem;
}

.intro {
  margin: 2em 0;
  min-height: 2em;
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1.5em;
  background-image: url(img/trio.jpg);
  background-size: auto 95%;
  background-repeat: no-repeat;
  background-position: bottom right 2em;
}

.introdon {
  margin: 2em 0;
  min-height: 22em;
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1.5em;
  background-image: url(img/40th.png);
  background-size: auto 50%;
  background-repeat: no-repeat;
  background-position: bottom 7em right 2em;
}

.intromem {
  margin: 2em 0;
  min-height: 22em;
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1.5em;
  background-image: url(img/illustrationmem.png);
  background-size: auto 95%;
  background-repeat: no-repeat;
  background-position: bottom left 2em;
  padding-left:475px;
}

.intro p {
	margin: 0 0 1em 0;
	font-size: 20px;
	width: 76%;
}

.intro h1 {
	font-size: 60px;
  margin: 10px 0;
}

.intro .has-large-font-size {
	font-family: var(--serif);
	font-weight: 900;
	font-size: 4em;
	line-height: 1.1em;
	margin-bottom: 0.5em;
  	margin-top: 0.5em;
}

.intro .non-profit {
	opacity: 0.7;
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 20px;
}

.about-tom-inline-photo {
	padding-left: 220px;
	background-image: url("img/Touko-Laaksonen-1959.png");
	background-size: 200px auto;
	background-repeat: no-repeat;
	background-position: left;
	min-height: 250px;
}

.no-guy {
	background-image: none;
}

.no-guy p {
	width: 100%;
}

.about-tom-bio-info {
	font-size: 12px;
	font-style: italic;
	color: grey;
}

.visit-grid {
	display: grid;
	margin: 2em 0;
	grid-template-columns: 70% 28%;
	grid-gap: 2em;
}

.visit-grid h1:nth-child(2) {
  font-size: 60px;
}

.visit-grid > div:first-child {
  margin-top: -2em;
  border: solid var(--warm-gray) 0px;
  padding: 0em;
}

.visit-grid > div:last-child > div {
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1.5em 1.5em 3.5em 1.5em;
  margin-bottom: 2em;
}

.visit-grid img {
  padding: 15px 0;
}

div#user-submitted-posts fieldset label {
	font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase
}


.programs-main-content {
	background: white;
    padding: 1.5em;
    border: 1px solid var(--warm-gray);
	display: grid;
	grid-template-columns: 17% 35% 45%;
	grid-gap: 1em;
	color: black;
	margin-bottom: 2em;
}
.donate-button {
  background-color: #007bff;  /* Blue */
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.donate-button:hover {
  background-color: #0056b3;  /* Darker blue on hover */
  text-decoration: none;
}

.programs-main-content h1 {
	margin-bottom: 0;
}

.programs-main-content h2 {
	margin-top: 0;
	color: grey;
	font-size: 1.2em;
	padding-top: 0.25em;
}

.main-content {
	display: grid;
	grid-template-columns: 17% auto;
	grid-gap: 1em;
	font-size: 1.2em;
	color: black;
  position: relative;
}

.main-content h1 {
  font-size: 42px;
}


.main-content > div:nth-child(2) {
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 20px 300px 10px 20px;
}

.news-grid, .top-posts-grid {
	display: grid;
	grid-template-columns: 17% auto;
	grid-gap: 1em;
}

.featured-post, .latest-news-post {
	margin: 2em 0;
	display: grid;
	grid-template-columns: 30% auto;
	grid-gap: 10px;
  background-color: white;
  border: solid var(--warm-gray) 1px;
}

.featured-post.no-thumbnail,
.latest-news-post.no-thumbnail
{
  display: block;
}

.featured-post {
  margin: 30px 0;
}

.latest-news-post {
  margin: 30px 0 30px 10px;
}

.latest-news-post-content {
  padding: 1.5em;
}

.top-posts-2 {
	display: grid;
	grid-template-columns: 30% 30% 30%;
	grid-gap: 10px;
}

.top-post {
	margin: 10px;
  background-color: white;
  border: solid var(--warm-gray) 1px;
}
.header-wrapper {
	height: 90px;
	vertical-align: bottom;
	display: table-cell;
}
.header-wrapper h2 {
	font-family: var(--serif);
	text-transform: none;
  padding: 0 10px;
}

.top-post img {
  margin-top: 10px;
}

.featured-post img {
	max-width: 300px;
	max-height: 300px;
}

.latest-news-post img {
	max-width: 300px;
	max-height: 300px;
}
.featured-post h2 {
	font-family: var(--serif);
	font-size: 30px;
	text-transform: none;
	font-weight: 900;
}

.featured-post div:nth-child(1) {
	text-align: center;
}

.featured-post div:nth-child(2) {
	margin:15px;;
}

td, tr, table {
	border: 0px solid var(--warm-gray);
}


.membership-grid {
	margin-top: 2em;
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    font-size: 0.9em;
}

.membership-grid > div {
  background-color: white;
  border: solid var(--warm-gray) 1px;
	height: 22em;
}

.membership-img {
	width: 30%;
	float: left;
	padding-right: 2em;
}

.membership-grid a.boxed {
  top: -23px;
}

.membership-info {
  padding: 0.5em;
}

.membership-info.donate a.boxed {
  top: 0;
}

.donate, .bequest {
	padding: 2em;
    margin: 2em 0;
    background-color: white;
	border: solid var(--warm-gray) 1px;
}

.bequest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1em;
}

.membership-grid p {
	width: 95%;
}

.membership-grid h1 {
	margin-top: 0;
	margin-bottom: 0;
}

.membership-grid h2 {
	margin-top: 0;
	font-size: 1.2em;
}

.membership-grid a {
	display: inline-block;
	margin-top: 22px;
}

.membership-grid-img {
	grid-column-start: 3;
	grid-column-end: 6;
}

.picture-strip {
  margin-top: 20px;
	padding-left: 240px;
	display: grid;
	grid-template-columns: 300px 300px 300px;
	grid-gap: 40px;
	font-size: 12px;
	color: grey;
}

.picture-strip > div {
  padding: 10px;
  background-color: white;
  border: solid var(--warm-gray) 1px;
}

.posts h1,
.related-info h1 {
	padding: 15px 20px;
	background-color: #222;
	color: white;
	font-size: 14px;
	text-transform: uppercase;
	font-family: var(--sans-serif);
	font-weight: 900;
}

.related-info {
	font-size: 14px;
  margin-top: 30px;
}

.related-info h2 {
	font-family: var(--serif);
	font-size: 3em;
	text-transform: none;
}

.related-info-grid {
	display: grid;
	grid-template-columns: 30% 40% 26.8%;
	grid-gap: 20px;
	padding: 15px 0;
}

.related-info-grid div:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / span 2;
}
.related-info-grid div:nth-child(2) {
	grid-column: 2 ;
	grid-row: 1 / span 2;
}
.related-info-grid div:nth-child(3) {
	grid-column: 3;
	grid-row: 1;
}
.related-info-grid div:nth-child(4) {
	grid-column: 3;
	grid-row: 2;
}

.related-info-grid > div {
  background-color: white !important;
  border: solid var(--warm-gray) 1px !important;
  padding: 1.5em;
}

.related-info-grid img:last-child {
 
	padding: 15px 0;
}

.picture-strip p:last-child {
	font-style: italic;
}


p.callout {
	font-size: 24px;
	font-weight: bold;
}

p.italic {
	font-style: italic;
}


.join {
	color: white;
	background-color: #222;
	text-align: center;
	padding: 3em 1em 2em 1em;
  	margin-bottom: 2em;
}

.join p {
	color: var(--blue);
	font-size: 1.3em;
	margin: 0.5em 15% 1em 15%;
}

.join p:last-child {
	margin-bottom: 2em;
}

a.boxed {
	font-size: 0.9rem;
	border: solid rgb(0,0,0,0.7) 2px;
  position: relative;
	padding: 0.5em 2em 0.5em 0.5em;
	font-family: var(--sans-serif);
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 900;
	opacity: 0.7;
  top: 1em;
}

.page-menu a.boxed {
  top: 0;
}

a.boxed:after {
  background-image: url(icons/ne-arrow.svg);
  filter: var(--icon-to-footer-gray);
  background-size: 10px 20px;
  position: absolute;
  top: 5px;
  right: 10px;
  width: 10px;
  height: 20px;
  content:"";
}

a.boxed:hover {
	border-color:  var(--blue);
	background-color:  var(--blue);
	color: white;
	opacity: 1;
}

a.boxed:hover:after {
  filter: invert(100%);
}

a.boxed.white {
	border-color: white;
	color: white;
}

a.boxed.white::after {
  filter: invert(100%);
}

.home-dynamic {
	display: grid;
	grid-template-columns: 33% 67%;
}

.home-static {
  margin: 2em 0;
  display: grid;
  grid-template-columns: calc(50% - 4em) 25% 25%;
  grid-gap: 2em;
}

.home-static div:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / span 2;
}
.home-static div:nth-child(2) {
	grid-column: 2 ;
	grid-row: 1 / span 2;
}
.home-static div:nth-child(3) {
	grid-column: 3;
	grid-row: 1;
}
.home-static div:nth-child(4) {
	grid-column: 3;
	grid-row: 2;
}

.home-static div {
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1.5em;
}

.display-posts-listing.image-left .listing-item {
	overflow: hidden;
	margin-bottom: 32px;
	margin-top: 10px;
	width: 100%;
}

.display-posts-listing.image-left .image {
	float: left;
	margin: 0 16px 0 0;
	width: 350px;
}

.display-posts-listing.image-left .title {
	display: block;
	color: black;
	font-family: var(--serif);
  font-size: 2.4em;
	line-height: 1.1em;
  font-weight: 900;
	padding-bottom: 0.4em;
}

.display-posts-listing.image-left .excerpt-dash {
	display: none;
}

.photo-credit {
	font-size: 10px;
	font-style: italic;
	color: grey;
}

.upcoming-events {
	background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 1.5em;
}

.upcoming-events .ai1ec-calendar-toolbar,
.upcoming-events .ai1ec-pagination,
.upcoming-events .ai1ec-title-buttons,
.upcoming-events .ai1ec-views-dropdown {
  display: none;
}

.post-11 {
	padding-bottom: 3em;
}

.upcoming-events .ai1ec-calendar {
  margin-top: 10px;
}

.ai1ec-btn-group > .ai1ec-btn-sm {
	font-size: 0.9em;
}

.ai1ec-agenda-widget-view .ai1ec-date-title, .ai1ec-agenda-view .ai1ec-date-title, .ai1ec-calendar-toolbar, .ai1ec-btn-sm {
	border-radius: 0 !important;
	background-image: none;
}

.ai1ec-agenda-widget-view .ai1ec-month, .ai1ec-agenda-view .ai1ec-month, .ai1ec-event {
	border-radius: 0 !important;
}



.upcoming-events.large {
	margin-left: 0;
	height: 600px;
}

.latest-news {
  margin: 0 0 0 2em;
  padding: 1.5em;
  background-color: white;
  border: solid var(--warm-gray) 1px;
}

.top-posts {
	position: absolute;
  width: 200px;
  right: 30px;
  top: 200px;
  padding: 10px;
  margin-right: 10px;
}

.top-posts div {
	font-style: italic;
	margin-top:10px;
  font-size: 14px;
}

.search-results .latest-news-post {
  display: block;
  margin: 10px 30px;
}

.search-results .latest-news-post-thumbnail {
  display: none;
}

.search-results main {
  padding-top: 30px;
}

.single-post article {
  background-color: white;
  border: solid var(--warm-gray) 1px;
  padding: 2em;
  margin: 2em 0;
}
/*
.single-post article img {
  padding: 2em 0;
} */

.ctct-form-wrapper {
  border: none !important;
  padding: 0 !important;
}

.ctct-form-wrapper label {
  display: none !important;
}

.ctct-form-wrapper a {
  display: none !important;
}

.ctct-form-wrapper input[type="email"] {
  width: 100%;
  border: solid var(--warm-gray) 1px;
}

.ctct-submit {
		font-size: 0.9rem;
	border: solid rgb(0,0,0,0.7) 2px;
    position: relative;
	padding: 0.2em 0.3em;
	font-family: var(--sans-serif);
	text-transform: uppercase;
	font-weight: 900;
	opacity: 0.7;
}

.ctct-submit:hover {
	border-color:  var(--blue);
	background-color:  var(--blue);
	color: white;
	opacity: 1;
}

.truncate {
	display: inline-block;
  width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

/* using: https://use.typekit.net/npo5pln.css */

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media only screen and (min-width:320px)  and (max-width: 800px){
	/* body {background-color: red;} */
	
	/* rg css img fix */
	
	
	iframe.wp-embedded-content {
		width: 100% !important;
	}
	
	.wp-post-image, img.aligncenter {
		width: 100% !important;
	}
	
	.truncate {
		width: 300px;
	}
	
	.prev-next {
		font-size: 1em;
	}
	
	.gallery-item{
		overflow-y:hidden;
	}
	
	/* end */
	
	img.aligncenter {
		width: 100%;
	}

	
	.gallery-item img {
	object-fit: cover;
	padding: 0 !important;

}

  .hamburger {
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;
    border: solid black 1px;
    opacity: 0.7;
  }

  .hamburger > div {
    width: 20px;
    height: 3px;
    background-color: black;
    margin: 5px;
    opacity: 0.7;
  }

  .toff-menu-item {
    display: none;
  }

  .toff-main-menu {
  	display: none;
  	position: relative;
  	padding-top: 10px;
  	opacity: 0;
  	background-color: white;
  	transition: opacity 0.3s;
    height: 1000px;
    width: calc(100vw - 40px);
    padding: 0.5em;
  }

  .nav:hover .toff-main-menu
  {
  	visibility: visible;
    display: block;
  	opacity: 1;
  	transition: opacity 0.3s;
  }

  .toff-menu-block {
    border: none !important;
    border-bottom: solid var(--warm-gray) 1px !important;
    padding: 0.25em 0;
    margin: 0.25em 0;
    font-size: 1.5em;
  }

  .toff-menu-block ul,
  .toff-menu-block form {
    display: none;
  }

  .toff-menu-block ul {
    font-size: 18px;
  }

  .large-menu {
    display: none;
  }

  .small-menu {
    display: block;
  }

  .membership-grid {
    display: block;
  }

  .bequest-grid {
    display: block;
  }

  .toff-menu-block h1.small-menu img {
    position: relative;
    right: -1px;
    top: -9px;
    width: 20px;
  }

  .toff-menu-block:hover ul,
  .toff-menu-block:hover form {
      display: block;
  }

	.logo-img { width: 145px;}
  .logo { margin: 0 }

	.small-menu.search {
    font-size: 1em;
    float: right;
    font-weight: 900;
    text-transform: uppercase;
  }

  .small-menu-form {
    font-size: 0.45em;
    margin-left: 0.75em;
  }

  .header { padding: 10px;}
  .wrapper { width: 100% }
  .latest-news { margin: 1em;}
	h2 { font-size: 1.8em; }
	h1 { font-size: 2.2em !important; }
	.intro {
    display: block;
	 	margin: 1em;
		background: white;
	}

  .intro-image {
    background-position: bottom;
    background-size: auto 165px;
		background-image: url(img/WestCover_TB2.png);
    background-repeat: no-repeat;
    height: 175px;
	  display: none;
  }
	.intro .has-large-font-size {
		font-size: 2em;
		width: 100%;
		margin-bottom: 3em;
 }

  .intro h1 {
    font-size: 32px;
  }

	.intro p { margin: 0; width: 100%;}
	a.boxed { padding: 3px 35px 3px 10px;}
	a.boxed::after {
    padding-left: 5px;
    top: 3px;
  }
	.join p {margin: 5px 0 10px 0}

	.home-dynamic {
		display: block;
	}
	.home-static {
		display: block;
		margin: 1em;
	}
  .home-static > div {
    margin-bottom: 1em;
  }

	.footer .quote {
		font-size: 22px;
	}

	.footer .quoteby {
		font-size: 14px;
		margin-top: 20px;
	}

	.footer .footer-info-container {
    display: block;
	}

	.footer .socials img {
		padding: 0;
		text-decoration: none;
	}
	.footer .socials a {
		text-decoration: none;
	}

	.footer-img1 {
		width: 75px;
		margin: 0;
	}

	.footer-img2 {
		width: 58px;
    margin-top: 5px;
	}

  .footer-info-block-inner {
    display: block;
    padding: 0;
    padding-bottom: 0.5em;
  }

  .footer-info-block-right {
    float:none;
  }

  .page-menu {
    display: none;
  }

  .main-content {
    display: block;
  }

  .main-content > div:nth-child(2) {
    padding: 1.5em;
  }

  .picture-strip {
    display: block;
    padding-left: 0;
  }

  .top-posts {
    display: none;
  }

  .related-info-grid {
    display: block;
  }

  .related-info-grid > div {
    margin-bottom: 10px;
  }

  .about-tom-inline-photo {
    padding-left: 0;
    padding-top: 410px;
    background-position: top;
    background-size: auto;
  }

  .visit-grid {
    display: block;
    margin: 10px;
  }

  .upcoming-events {
    margin: 1em;
  }

  .programs-main-content {
    display: block;
    margin-bottom: 20px;
  }

  .programs-main-content > div {
    background-color: white;
    border: solid var(--warm-gray) 1px;
    padding: 10px;
  }

  .featured-post, .latest-news-post {
    display: block;
    padding: 10px;
    margin: 20px 10px;
  }

  .latest-news-post {
    margin: 20px 10px;
  }

  .news-grid, .top-posts-grid, .top-posts-2 {
    display: block;
  }

  .top-posts-grid {
    margin-top: 20px;
  }

  .header-wrapper {
    height: auto;
    display: block;
  }

  .header-wrapper h2 {
    font-size: 22px;
  }

  .top-post img {
    max-width: 100%;
  }

  .top-post {
    margin: 20px 10px;
  }

  form.search input{
    font-size: 1em;
    width: 100%;
  }

  .visit-grid > div:first-child {
    border: none;
    padding: 0;
  }

  .visit-grid .intro {
    margin: 0;
  }

	.membership-grid p {
		width: 100%;
	}

	.membership-grid > div {
		padding-bottom: 2em;
		margin-bottom: 2em;
	}



}
@media only screen and (min-width:480px)  and (max-width: 767px){
	/* body {background-color: blue;} */

}
@media only screen and (min-width:768px) and (max-width: 1023px){
	/* body {background-color: green;} */

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background: rgba(120, 190, 255, 0.99);
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background: rgba(120, 190, 255, 0.99);
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background: rgba(120, 190, 255, 0.99);
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
	height: 100%;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:16px;
	line-height:19px;
	margin:0;
	padding:0 4px 5px;
}

.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:none;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
