/*!
Theme Name: sunnymeade24
Theme URI: http://underscores.me/
Author: S2 Web Solutions
Author URI: http://www.s2websolutions.co.za
Description: Built on Underscores framework, by S2 Web Solutions, for Sunny Meade Knysna
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sunnymeade24

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.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
html {line-height: 1.15; -webkit-text-size-adjust: 100%; }

/* Sections
	 ========================================================================== */
body {margin: 0;}
h1 {font-size: 2em; margin: 0.67em 0;}

/* Grouping content
	 ========================================================================== */
hr {box-sizing: content-box; height: 0; overflow: visible;}
pre {font-family: monospace, monospace; font-size: 1em;}
a {background-color: transparent;}

abbr[title] {border-bottom: none; text-decoration: underline; text-decoration: underline dotted;}
b, strong {font-weight: bolder;}
code, kbd, samp {font-family: monospace, monospace; font-size: 1em; }
small {font-size: 80%;}

sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sub {bottom: -0.25em;}
sup {top: -0.5em;}

/* Embedded content
	 ========================================================================== */
img {border-style: none;}

/* Forms
	 ========================================================================== */
button, input, optgroup, select, textarea {font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}
button, input {overflow: visible;}
button, select {text-transform: none;}
button, [type="button"], [type="reset"], [type="submit"] {-webkit-appearance: button; appearance:button;}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {border-style: none; padding: 0;}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {outline: 1px dotted ButtonText;}
fieldset {padding: 0.35em 0.75em 0.625em;}
legend {box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal;}
progress {vertical-align: baseline;}
textarea {overflow: auto;}
[type="checkbox"], [type="radio"] {box-sizing: border-box; padding: 0;}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {height: auto;}
[type="search"] {-webkit-appearance: textfield; appearance: textfield; outline-offset: -2px;}
[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
::-webkit-file-upload-button {-webkit-appearance: button; font: inherit;}

/* Interactive
	 ========================================================================== */
details {display: block;}
summary {display: list-item;}

/* Misc
	 ========================================================================== */
template {display: none;}
[hidden] {display: none;}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body, button, input, select, optgroup, textarea {color: #404040; font-family: 'Karla', serif; font-size: 19px; font-size: 1.1875rem;  line-height: 1.5;}
h1, h2, h3, h4, h5, h6 {clear: both; font-family:'Courgette', serif; font-weight: 200; line-height: normal;}
h1 {margin: 0 0 1rem 0; font-size: 2rem; text-transform: none; color: #5c6c86;}
h2 {color: #5c6c86;     line-height: normal;
    font-weight: 200;}
#colophon h4 {font-size: 1.4rem;}

p {margin-bottom: 1.5em;}
dfn, cite, em, i {font-style: italic;}
blockquote {margin: 0 1.5em;}
address {margin: 0 0 1.5em;}
pre {background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em;}
code, kbd, tt, var {font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem;}
abbr, acronym {border-bottom: 1px dotted #666; cursor: help;}
mark, ins {background: #fff9c0; text-decoration: none;}
big {font-size: 125%;}
header.entry-header {text-align:center; margin-top:1rem;}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
body {background: #fff;}
hr {background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em;}
ul, ol {margin: 0 0 1rem 1rem; padding:0 0 0 1rem;}
ul {list-style: disc;}
ol {list-style: decimal;}
li > ul, li > ol {margin-bottom: 0; margin-left: 1.5em;}
dt {font-weight: bold;}
dd {margin: 0 1.5em 1.5em;}
img {height: auto; max-width: 100%;}
figure {margin: 1em 0;}
table {margin: 0 0 1.5em; width: 100%;}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button, input[type="button"], input[type="reset"], input[type="submit"] {border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; color: rgba(0, 0, 0, 0.8); font-size: 12px; font-size: 0.75rem; line-height: 1; padding: .6em 1em .4em;}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {border-color: #ccc #bbb #aaa;}
button:active, button:focus, input[type="button"]:active, input[type="button"]:focus,input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {border-color: #aaa #bbb #bbb;}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {color: #666; border: 1px solid #ccc; border-radius: 3px; padding: 3px;}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {color: #111;}
select {border: 1px solid #ccc;}
textarea {width: 100%;}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {color: inherit;}
a:visited {color: inherit;}
a:hover, a:focus, a:active {color: inherit;}
a:focus {outline: none;}
a:hover, a:active {outline: 0;}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/**.main-navigation {clear: both; display: block; float: left; width: 100%;}**/
#site-navigation {position:relative;}
button.menu-toggle {width: 95%; margin: 1rem auto; padding: 1rem; font-weight: bold; background-color: #5c6c86; color:#ffffff;}
.main-navigation ul {display: none;}
.main-navigation.toggled ul#primary-menu {position:absolute; background-color: #5c6c86; color:#ffffff; list-style:none; left:0; right:0; margin:0 auto; width:95%; top: 2.85rem; border: 1px solid grey;}
.main-navigation.toggled ul#primary-menu li a {display:block; width:100%;}
.main-navigation.toggled ul.sub-menu {padding:0 0 0 0.5rem; font-size:1rem;}

/* Small menu. */
.menu-toggle, .main-navigation.toggled ul {display: block;}
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {margin: 0 0 1.5em; overflow: hidden;}

.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {float: left; width: 50%;}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {float: right; text-align: right; width: 50%;}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {border: 0;	clip: rect(1px, 1px, 1px, 1px);	clip-path: inset(50%);	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;	word-wrap: normal !important;}
.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; clip-path: none; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;}
#content[tabindex="-1"]:focus {outline: 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-left: auto; margin-right: auto;}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after {content: ""; display: table; table-layout: fixed;}
.clear:after {clear: both;}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {margin: 0 0 1.5em;}
.widget select {max-width: 100%;}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {display: block;}
.post, .page {margin: 0;}
.updated:not(.published) {display: none;}
.page-content, .entry-content, .entry-summary {margin: 1.5em 0 0;}
.page-links {clear: both; margin: 0 0 1.5em;}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {word-wrap: break-word;}
.bypostauthor {display: block;}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {display: none;}
.infinity-end.neverending .site-footer {display: block;}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {border: none; margin-bottom: 0; margin-top: 0; padding: 0;}
embed, iframe, object {max-width: 100%;}
.custom-logo-link {display: inline-block;}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {margin-bottom: 1.5em; max-width: 100%;}
.wp-caption img[class*="wp-image-"] {display: block; margin-left: auto; margin-right: auto;}
.wp-caption .wp-caption-text {margin: 0.8075em 0;}
.wp-caption-text {text-align: center;}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
/**.gallery {margin-bottom: 1.5em;}
.gallery-item {display: inline-block; text-align: center; vertical-align: top; width: 100%;}
.gallery-columns-2 .gallery-item {max-width: 50%;}
.gallery-columns-3 .gallery-item {max-width: 33.33%;}
.gallery-columns-4 .gallery-item {max-width: 25%;}
.gallery-columns-5 .gallery-item {max-width: 20%;}
.gallery-columns-6 .gallery-item {max-width: 16.66%;}
.gallery-columns-7 .gallery-item {max-width: 14.28%;}
.gallery-columns-8 .gallery-item {max-width: 12.5%;}
.gallery-columns-9 .gallery-item {max-width: 11.11%;}
**/
.gallery {display: grid; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0; grid-gap:1rem;}
figure.gallery-item  {margin:0; text-align:center;}
figure.gallery-item > .gallery-icon {line-height:0;}
.gallery-columns-2, .gallery-columns-3, .gallery-columns-4, .gallery-columns-5, .gallery-columns-6, .gallery-columns-7, .gallery-columns-8, .gallery-columns-9 {grid-template-columns: repeat(2,1fr);}
.gallery-caption {display: block;}

/*--------------------------------------------------------------
## Short Code Layouts
--------------------------------------------------------------*/
.clear_all {clear: both; display:block;}
.row_start {display:inline-block; width:100%; float:none; clear:both;}
.one_half, .two_quarter, .one_quarter, .three_quarter, .one_third, .two_third, .one_fifth {display: block; float: none; list-style: none; box-sizing: border-box; margin: 0 auto; width: 100%;}

/*--------------------------------------------------------------
## Grids
--------------------------------------------------------------*/
.grid, #colophon, .site-info, .gallery-grid, .room-landing-grid {display: grid; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0;}
.nested-grid {max-width:95%;}
.one-col, .two-col, .two-col-auto, .three-col, .four-col, .footer-grid, #colophon, .site-info, .room-landing-grid {grid-template-columns: 100%;}
.aligned-grid {align-items: center;}
.gapped-grid-small {grid-gap: 0.5rem;}
.gapped-grid {grid-gap: 1rem;}
.grid-image {line-height: 0;}
.text-centered {text-align: center;}
.padd-content {padding:1rem 0;}
a.icon-grid {text-decoration:none; display:grid; width:fit-content; margin:0 auto; grid-template-columns: 2rem auto; grid-gap:1rem; align-items:center; min-width: 260px;}
#colophon, .site-info {text-align:center;}

.gallery-grid {grid-template-columns: repeat(2,1fr);}
.gallery-grid > span > figure {margin:0;}
.gallery-grid > span > figure > .gallery-caption {display:none;}
ul.list-grid.two-col {width: 95%; margin: 0 0 0 1rem; padding: 0 0 0 1rem;}
ul.list-grid.one-col {width: 90%; margin: 0 0 0 1rem; padding: 0 0 0 1rem;}

.room-landing-grid {background:#ffffff; padding:1rem; border-radius:1rem; text-align:center; margin:2rem auto; grid-gap:1rem; text-decoration:none;}
.room-landing-grid:hover {background:#f0f1e9;}
/*--------------------------------------------------------------
## Theme Wrappers and colours
--------------------------------------------------------------*/
.lightgreenbg, .alt-row-bgs:nth-of-type(2n) {color: #8b8c8f; background-color: #cfd5c7;}
.whitebg, .alt-row-bgs {color:#404040; background-color:#ffffff;}

.bluebg {color: #ffffff; background-color: #5c6c86;}
.darkgreenbg {color: #ffffff; background-color: #9daf89;}
.footerbg {color: #818181; background-color: #cfd5c7;}

.wrapper, #content, .max-1440 {display: block; width: 100%; margin: 0 auto; padding: 0; position: relative;}
#content, .max-1440 {max-width: 95%;}

#masthead {display:grid; width:100%; grid-template-columns:100%; margin: 0 auto; position:relative;}
#masthead > .header-top-bar-grid {position: relative; grid-row: 1; grid-column: 1; z-index: 100; width: 100%; left: 0; right: 0; margin: 0 auto; background-color: rgba(92, 108, 135, .55);}
#masthead > .header-top-bar-grid > .header-top-bar {display:grid; grid-template-columns:100%; margin:0.5rem auto; width:95%; max-width: 1440px; color:#ffffff; font-size:0.85rem; text-align:center; grid-gap:1rem;}

#masthead > .header-image-grid {position:relative; grid-row:2; grid-column:1; z-index:99;}

.no-list, #footer-menu, .footer-so-me {list-style:none; margin:0; padding:0;}
.grid-list, .footer-so-me {display:grid; width:100%; grid-auto-flow:column; grid-auto-columns:auto; max-width: fit-content; grid-gap:1rem; align-items:center;}
#masthead .grid-list {margin:0 auto; grid-gap:0.25rem; grid-auto-columns:unset; grid-auto-flow:unset;}
#masthead .grid-list.mobile-inline {grid-auto-columns:unset; grid-template-columns:1fr 1fr 1fr;}
.footer-so-me {grid-gap:1rem; margin:0 auto; margin-bottom:1rem;}
.footer-so-me li {background:rgba(255,255,255,.2); padding:0.25rem 0.5rem;}

.site-info {padding:1rem; font-size:1rem;}

#masthead a, #colophon a, .site-info a, #nb_mobi a, a.nolink {text-decoration:none;}
a.btnlong {text-decoration:none; display:grid; width:100%; text-align:center; text-transform:uppercase; background-color: #5c6c86;  border: 1px solid #5c6c86; border-radius: 0.5rem; padding:1rem 0; color: #ffffff;}
a.btnlong:hover {color:#5c6c86; background-color: #ffffff; }

#nb-desk {display: none;}
#nb_mobi {display:block; width:100%; text-align:center; padding:1rem; margin:0 auto; color: #ffffff; background-color: #5c6c86; margin-bottom:2rem;}
.centr-mobile {text-align:center;}

@media screen and (min-width:620px) {
	.gallery-columns-2, .gallery-columns-7 {grid-template-columns: repeat(2,1fr);}
	.gallery-columns-3, .gallery-columns-6, .gallery-columns-9 {grid-template-columns: repeat(3,1fr);}
	.gallery-columns-4, .gallery-columns-8 {grid-template-columns: repeat(4,1fr);}
	.gallery-columns-5 {grid-template-columns: repeat(5,1fr);}
	#masthead > .header-top-bar-grid {position: absolute; grid-row: 1; grid-column: 1;}
	#masthead > .header-top-bar-grid > .header-top-bar {grid-template-columns:auto auto; text-align:unset; grid-gap:unset;}
	#masthead > .header-top-bar-grid > .header-top-bar > span:nth-of-type(2) > ul {float:right;}
	#masthead > .header-image-grid {grid-row:1; grid-column:1;}
	#masthead .grid-list {margin:unset; grid-gap:1rem;}
	#masthead .grid-list, #masthead .grid-list.mobile-inline {display:grid; width:100%; grid-auto-flow:column; grid-auto-columns:auto; max-width: fit-content; grid-gap:0.5rem; align-items:center; grid-template-columns:unset;}
}


@media screen and (min-width: 978px) {
	#masthead > .header-top-bar-grid > .header-top-bar {font-size:1rem;}
	#masthead .grid-list, #masthead .grid-list.mobile-inline {grid-gap:1rem;}
	.menu-toggle {display: none;}

	.main-navigation {background:#5c6c86; padding:0.5rem 0;}
	.main-navigation ul {display: flex; list-style: none; margin: 0 auto; padding: 0; overflow: unset !important; max-height: unset !important; max-width:1440px; color:#ffffff; }
	.main-navigation ul li {flex: auto; padding: 0.25rem 0; text-align: center; align-self: center;}
	.main-navigation ul li.menu-item-has-children::before {font-family: "Font Awesome 5 Free"; font-display: swap;  font-weight: 900; content: "\f0d7"; color:#ffffff; display: inline; width: 20px; padding-right: 10px;}
	.main-navigation ul li.menu-item-has-children a {display: inline; width: 98%;}
	.main-navigation ul li.menu-item-has-children .sub-menu a {display: block; width: 100%; line-height: 1.5;}
	.main-navigation ul li a {color: inherit; text-decoration: none;}
    .main-navigation ul ul {display: block; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; position: absolute; top: 100%; left: -999em; z-index: 99999; background:#5c6c86; margin: 0;}
    .main-navigation ul ul ul {display: block;  left: -999em; top: 0;}
    .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {left: 100%;}
    .main-navigation ul ul a {width: 240px;}
    .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {left: 0;}
	.main-navigation ul.sub-menu li {padding: 0.5rem; text-align: left; color: #ffffff; width: 260px; border-bottom:1px solid #ffffff;}
	.main-navigation ul.sub-menu li:hover {background:#c0c8df; color:#000000;}
	.main-navigation ul.sub-menu li:last-of-type {border-bottom:0;}
	.main-navigation ul.sub-menu li a {text-transform: none; letter-spacing: 0;}
    .main-navigation li {float: none; position: relative;}
    .main-navigation a {display: block;	text-decoration: none;}

	.main-navigation ul li:hover, .main-navigation .current-menu-item, .main-navigation .current-menu-parent, .main-navigation .current-menu-parent ul.sub-menu .current-menu-item {color: #000000;}
    
    .one_half:first-of-type, .two_quarter:first-of-type, .one_quarter:first-of-type, .three_quarter:first-of-type, .one_third:first-of-type, .two_third:first-of-type, .one_fifth:first-of-type {margin-left: 0; clear: left;}
    .one_half, .two_quarter, .one_quarter, .three_quarter, .one_third, .two_third, .one_fifth {display: block; float: left; margin: 0 0 0 3.06748466257669%;}
    .one_half, .two_quarter {width: 48.46625766871166%;}
    .one_quarter {width: 21.69938650306748%;}
    .three_quarter {width: 74.23312883435584%;}
    .one_third {width: 31.28834355828221%;}
    .two_third {width: 62.47668711656442%;}
    .one_fifth {width: 17.29938650306748%;}
	
	.two-col-auto {grid-template-columns: auto auto;}
	.two-col {grid-template-columns: 1fr 1fr;}
	.three-col {grid-template-columns: 1fr 1fr 1fr;}
	.four-col {grid-template-columns: 1fr 1fr 1fr 1fr;}
	#colophon, .site-info {grid-template-columns: 1fr 1fr; text-align:left;}
	#colophon > span {padding: 0 2rem 1rem;}
	#colophon > span > h4, .site-info {text-align:right;}
	#colophon > span:first-of-type > h4, .site-info > span:first-of-type {text-align:left;}
	.footer-so-me {margin:0; margin-bottom:1rem; float:right;}

	.gallery-grid {grid-template-columns: repeat(4,1fr);}
	.gallery-grid.five-gallery-grid {grid-template-columns: repeat(6,1fr);}
	.five-gallery-grid > span:nth-of-type(1), .five-gallery-grid > span:nth-of-type(2), .five-gallery-grid > span:nth-of-type(3) {grid-row:1; grid-column:span 2;}
	.five-gallery-grid > span:nth-of-type(4), .five-gallery-grid > span:nth-of-type(5) {grid-row:2; grid-column:span 3;}
	.six-gallery-grid > span:nth-of-type(5), .six-gallery-grid > span:nth-of-type(6) {grid-column:span 2;}
	.gallery-grid.seven-gallery-grid {grid-template-columns: repeat(12,1fr);}
	.seven-gallery-grid > span:nth-of-type(1), .seven-gallery-grid > span:nth-of-type(2), .seven-gallery-grid > span:nth-of-type(3), .seven-gallery-grid > span:nth-of-type(4) {grid-row:1; grid-column:span 3;}
	.seven-gallery-grid > span:nth-of-type(5), .seven-gallery-grid > span:nth-of-type(6), .seven-gallery-grid > span:nth-of-type(7) {grid-row:2; grid-column:span 4;}
	#nb_mobi {display:none;}
	#nb-desk {margin: 0 auto; width: 100%; text-align: center; display: block;}

	.gallery-columns-2 {grid-template-columns: repeat(2,1fr);}
	.gallery-columns-3 {grid-template-columns: repeat(3,1fr);}
	.gallery-columns-4 {grid-template-columns: repeat(4,1fr);}
	.gallery-columns-5 {grid-template-columns: repeat(5,1fr);}
	.gallery-columns-6 {grid-template-columns: repeat(6,1fr);}
	.gallery-columns-7 {grid-template-columns: repeat(7,1fr);}
	.gallery-columns-8 {grid-template-columns: repeat(8,1fr);}
	.gallery-columns-9 {grid-template-columns: repeat(9,1fr);}
	a.icon-grid {min-width: unset; font-size:1rem;}
	a.icon-grid > span:first-of-type {text-align:center;}
	.centr-mobile {text-align:unset;}
}

@media screen and (min-width:1024px) {
	ul.list-grid.two-col {padding: 0; margin: 0 auto; width: 95%;}
	ul.list-grid.one-col {padding: 0; margin: 0 0 0 2rem; width: 90%;}
}

@media screen and (min-width: 1280px) {
	#content, .max-1440, #colophon, .site-info, .nested-grid {max-width: 98%;}
}

@media screen and (min-width:1440px) {
	#content, .max-1440, #colophon, .site-info, .nested-grid {max-width: 1280px;}
	a.icon-grid {font-size:1.25rem;}
	ul.list-grid.two-col {list-style-position: outside;}
	ul.list-grid.one-col {list-style-position: outside;}
}

@media screen and (min-width:1500px) {
	#masthead > .header-top-bar-grid > .header-top-bar {width:100%;}
	#content, .max-1440, #colophon, .site-info, .nested-grid {max-width: 1440px;}
	#colophon > span {padding: 0 0 1rem;}
	.topbar-grid {padding:0.5rem 0;}
}

@media screen and (min-width:1920px) {
	.wrapper {width: 100%; max-width: 1920px;}
}