* {
	font-family: Lato;
}

[role="document"] {
	padding-top: 0;
}

img {
	box-shadow: none !important;
}

.wp-block-navigation-link__content img {
	border: none !important;
}

.unclickable > a {
	pointer-events: none !important;
}

.unclickable:hover > a {
	color: #b45f06 !important;
	transition: color .3s ease out !important;
}

nav.icon-nav img {
	margin: 0 !important;
}


nav.icon-nav li {
	margin: 16px;
}

.banner .container {
	width: 100%;
	padding: 0;
}

.banner .container #logo {
	padding: 0;
}

.custom-logo-gallery .wp-block-columns {
	justify-content: center;
	padding: 0 10vw;
}
	
	.custom-logo-gallery .wp-block-column:not(:first-child) {
	margin-left: 5vw !important;
}

.custom-logo-gallery .wp-block-column:not(:last-child) {
	margin-right: 5vw !important;
}

.custom-main-gallery p, .custom-logo-group p {
	word-break: keep-all;
}

.custom-main-gallery {
	padding: 0 5vw !important;
	margin-top: 48px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	left: 0 !important;
	right: 0 !important;
	max-width: 1280px !important;
}

.custom-main-gallery .wp-block-media-text {
	position: relative;
	display: flex !important;
	width: 100% !important;
	left: 0 !important;
	right: 0 !important;
	margin: 0 !important;
	justify-content: center !important;
	align-items: center !important;
}

.custom-main-gallery .wp-block-media-text > figure,
.custom-main-gallery .wp-block-media-text > figure img {
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
}


.custom-main-gallery .wp-block-media-text__content > p {
	min-height: 20%;
	background-color: #983721 !important;
	box-shadow: none !important;
	color: white;
}

.custom-main-gallery .wp-block-media-text:hover > figure img {
	filter: brightness(80%);
}

.custom-main-gallery .wp-block-media-text .wp-block-media-text__content {
	position: absolute !important;
	margin: 0 !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.custom-main-gallery .wp-block-media-text .wp-block-media-text__content > p {
	display: block;
	width: 80%;
	min-width: 200px;
	min-height: 20%;
	position: absolute !important;
	top: 85%;
	padding: 16px;
	font-size: 14px;
	
	text-align: center;
	pointer-events: none;
}

.custom-logo-gallery {
	background-color: #dacdcf;
	padding: 24px 10vw !important;
	margin: 96px 0 48px;
}

.custom-logo-gallery .wp-block-columns {
	width: 100%;
	align-items: center;
	margin: 0;
}

.custom-logo-gallery .wp-block-column {
	max-width: 150px;
	width: 8vw;
}

.custom-logo-gallery .custom-logo-group {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	
	color: #983721;
	font-weight: bold;
}

.custom-logo-gallery .custom-logo-group img {
	max-width: 100%;
	margin-bottom: 12px;
}

.custom-logo-gallery .custom-logo-group p {
	margin: 0;
}

.custom-logo-gallery .custom-logo-group:hover p {
	text-decoration: underline;
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
	.custom-main-gallery  {
		justify-content: center;
	}
	
	.custom-logo-gallery {
	padding: 24px 5vw !important;
}
	
	.custom-logo-gallery .wp-block-column {
	max-width: 100px;
	width: 6vw;
}
	
	.custom-logo-gallery .wp-block-column:not(:first-child) {
	margin-left: 3vw !important;
}

.custom-logo-gallery .wp-block-column:not(:last-child) {
	margin-right: 3vw !important;
}

	
	.custom-main-gallery .wp-block-column:not(:first-child) {
		margin-right: 24px;
	}
	
	.custom-main-gallery .wp-block-column:not(:last-child) {
		margin-left: 24px;
	}
	
	.custom-main-gallery .wp-block-column {
		max-width: 25%;
	}
	
	.custom-logo-gallery .custom-logo-group {
		font-size: 12px;
	}
	
	.custom-main-gallery .wp-block-media-text .wp-block-media-text__content > p {
		top: 75%;
		min-width: 90%;
		
		font-size: 12px;
		padding: 12px;
}
}
	
@media only screen and (max-width: 599px) {
	nav.icon-nav li {
		margin: 8px;
	}
	
	.custom-main-gallery {
		padding: 0 10vw !important;
	}
	
	.custom-main-gallery .wp-block-column:not(:last-child) {
		margin-bottom: 72px;
	}
	
	.custom-logo-gallery .wp-block-column:not(:first-child), .custom-logo-gallery .wp-block-column:first-child {
	margin-left: auto !important;
}

.custom-logo-gallery .wp-block-column:not(:last-child), .custom-logo-gallery .wp-block-column:last-child {
	margin-right: auto !important;
	margin-bottom: 32px;
}
	
	.custom-main-gallery .wp-block-media-text .wp-block-media-text__content > p {
		top: 70%;
		min-width: 90%;
		min-height: 35%;
		
		font-size: 24px;
		padding: 24px;
}
}