@media only screen and (max-width:750px) {
	
	/* ===[ Header Styles ]===================================================== */
	
	.main-wrapper {
		width: 300px;
		overflow: hidden;
	}
	
	.header-hidden {
		width: 280px;
	}
	.header-hidden-toggle-wrap {
		width: 300px;
	}
	.header-hidden-left {
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
	}
	.header-hidden-right {
		width: 100%;
		text-align: center;
	}
	.social-icons {
		text-align: center;
	}
	.header-hidden-right .social-icons a {
		float: none;
	}
	.header {
		width: 300px;
	}
	.header-left {
		float: none;
		margin: 0 auto;
	}
	.menu-header-container {
		text-align: center;
	}
	.page-title {
		text-align: center !important;
	}
	.page-title h2 {
		margin-bottom: 0px;
		font-size: 20px;
		line-height: 28px;
	}
	.page-title h3 {
		font-size: 14px;
		line-height: 18px;
		margin-top: 0px;
	}
	.header-left h1 {
		text-align: center;
	}
	
	.title-meta h2 {
		font-size: 20px;
	}
	
	/* ===[ Navigation Styles ]===================================================== */
	
	.select-menu, .select {
		display: block;
	}
	
	#nav {
		display: none;
	}
	
	.menu-header-container {
		position: relative;
	}
	
	.select-menu {
		width: 100%;
		margin: 25px 0;
	}
	
	/* all form DIVs have position property set to relative so we can easily position newly created SPAN */
	.header-right form div{position:relative;} 
	
	/* setting the width and height of the SELECT element to match the replacing graphics */
	.header-right select.select-menu{
	    position:relative;
	    z-index:10;
	    width:300px !important;
	    height:41px !important;
	    line-height:26px;
	}
	
	/* dynamically created SPAN, placed below the SELECT */
	.header-right span.select{
	    position: absolute;
	    bottom: 0;
	    float: left;
	    left: 0;
	    width: 300px;
	    height: 41px;
	    line-height: 43px;
	    text-transform: uppercase;
	    font-size: 11px;
	    letter-spacing: 2px;
	    color: #717171;
	    text-shadow: 1px 1px white;
	    text-indent: 0px;
	    background: url(images/select.png) no-repeat center;
	    cursor: default;
	    z-index: 1;
	}
	
	/* ===[ Section Styles ]===================================================== */
	
	.container {
	    width: 300px;
	}
	#sections {
	    width: 300px;
	    overflow: hidden;
	}
	.section .column {
	    width: 300px;
	    margin-right: 0;
	}
	.services-wrap {
		width: 300px;
	}
	
	.section-title {
		letter-spacing: 2px;
		font-size: 13px;
	}
	
	.portfolio-full, .content-full {
	width: 300px !important;
	}
	
	.content-full .one-quarter {
		margin-right: 27px;
	}
	
	.content-full .one-half {
		width: 300px !important;
		margin-right: 0px;
	}
	
	.content-full .one-third, .content-full .one-half {
		width: auto;
	}
	
	/* ===[ Portfolio Styles ]===================================================== */
	
	.portfolio-sidebar {
		margin-top: 15px;
		float: left;
		width: 300px;
	}
	
	.portfolio-meta {
		float: left;
		width: 300px;
	}
	
	#portfolio-slider {
		width: 300px;
	}
	
	.mobile-slide {
		display: block !important;
		margin:0 0 25px 2px !important;
	}
	
	.box-portfolio li li {
		margin: 0 0 25px 2px;
	}
	
	.box-portfolio li li:hover {
		
	}
	
	#portfolio-slider .flex-control-nav {
		width: 300px !important;
	}
	
	.portfolio-big-slide {
		display: none;
	}
	
	.portfolio-big-title {
		text-align: center;
		margin-bottom: 35px;
		padding: 0;
	}
	
	.portfolio-big-title h2 {
		margin-bottom: 10px;
		line-height: 26px;
	}
	
	.flex-direction-nav {
		display: none;
	}
	
	.flex-control-nav li a {
		width: 15px !important;
		height: 15px !important;		
	}
	
	.post-nav {
		clear: both;
		position: static;
		border-top: solid 1px #eee;
		border-bottom: solid 1px #eee;
		margin-top: 15px;
	}
	
	.post-nav a {
		margin: 0;
		float: right;
	}
	
	.post-nav .prev-span {
		float: right;
	}
	.post-nav .next-span {
		float: left;
	}
	
	.single .page-title h3 {
		margin-bottom: 30px;
	}
	
	/* ===[ Blog Styles ]===================================================== */
	
	#blog-slider {
		width: 300px;
	}
	
	.home-blog-post {
		width: 268px;
		margin: 0 0 20px 0 !important;
	}
	
	.blog-thumb img {
		margin: 0 auto;
	}
	
	#blog-slider .flex-control-nav {
		width: 300px;
	}
	
	.content .blog-text {
		width: 100%;
	}
	
	.blog-meta {
		width: 100%;
		margin: 0;
	}
	
	.blog-post .portfolio-meta {
		display: block;
		background: #FFF;
		padding: 10px;
	}
	
	.meta-links {
		display: none;
	}
	
	.meta-mobile {
		display: block;
	}
	
	.blog-meta ul li {
		text-align: left;
		display: inline;
		float: none;
	}
	
	.post-share {
		padding: 5px 12px;
		margin-top: 0;
		background: #f7f7f7;
	}
	
	/* ===[ Sidebar Styles ]===================================================== */
	
	#sidebar-wrap {
		float: left;	
	}
	
	#sidebar {
		background: #f7f7f7;
		padding: 28px 38px 0px 38px;
		margin-top: 30px;
	}
	
	.tab-wrapper li a {
		background: #eee;
	}
	
	#sidebar .flexslider {
		background: #f7f7f7;
	}
	
	
	.content {
		width: 300px;
	}
	
	/* ===[ Footer Styles ]===================================================== */
	
	.footer-widgets {
		width: 300px;
	}
	
	.footer-widgets-wrap {
		width: 300px;
	}
	
	.footer-widget {
		width: 300px;
		padding: 30px;
	}
	
	.footer-text {
		width: 300px;
	}
	
	.footer-text-left ul {
		text-align: center;
		line-height: 18px;
		float: none;
	}
	
	.footer-text-left ul li {
		float: none;
		margin: 0 0 0 0;
		white-space: nowrap;
	}
	
	.footer-text-left ul li a {
		text-transform: none;
		color: #4c4c4c;
		font-size: 11px;
	}

	
	.footer-text-left ul li a:hover {
		color: #777;
	}
	
	.footer-text-left {
		width: 300px;
	}
	
	.footer-text-right {
		text-align: center;
		width: 100%;
	}
	.nav-footer {
		text-align: center;
	}
	.copyright {
		margin-top: 15px;
	}
	
	/* ===[ Comment Styles ]===================================================== */
	
	.comments {
	    margin: 0 0px 25px 0px;
		width: 280px;    
	    padding: 25px 10px 35px 10px;
	}
	
	.vcard {
		width: 100%;
	}
	#respond {
		padding: 0;
	}
	
	#respond input[type="text"], #respond textarea {
		box-sizing: border-box;
		width: 100%;
	}
	
	#cancel-comment-reply {
		float: none;
	}
	
	#respond h3 {
		text-align: center;
	}
	
	.wpcf7 input[type="text"] {
		width: 100%;
	}
	
	.allowed {
		width: 300px;
	}
	
}
 
@media screen and (min-width:751px) and (max-width:970px) {
	
	/* ===[ Header Styles ]===================================================== */
	
	.header-hidden {
		width: 650px;
	}
	.header-hidden-toggle-wrap {
		width: 670px;
	}
	.header-hidden-left {
		width: 480px;
	}
	.header {
		width: 670px;
	}
	.header-left {
		float: none;
		margin: 0 auto;
	}
	.menu-header-container {
		text-align: center;
	}
	
	.page-title {
		text-align: center !important;
	}
	
	/* ===[ Navigation Styles ]===================================================== */
	
	#nav li {
		float: none;
		display: inline-block;
	}
	.header-left h1 {
		text-align: center;
	}
	.header-right {
		margin-top: 20px;
		width:100%;
	}
	#nav {
		clear: both;
		float: none;
		border-top: solid 1px #EEE;
		padding-top: 15px;
	}
	
	/* ===[ Section Styles ]===================================================== */
	
	.container {
	    width: 670px;
	}
	#sections {
	    width: 670px;
	}
	.section .column {
	    width: 315px;
	    margin-right: 38px;
	}
	.services-wrap {
		width: 706px;
	}
	
	.portfolio-full, .content-full {
	width: 670px !important;
	}
	
	/* ===[ Portfolio Styles ]===================================================== */
	
	#portfolio-slider {
		width: 694px;
	}
	
	.box-portfolio li li {
		border: solid 13px #F7F7F7;
	}
	
	.box-portfolio li li:hover {
		border: solid 13px #fff;
	}
	
	#portfolio-slider .flex-control-nav {
		width: 667px !important;
	}
	
	#portfolio-slider .flex-direction-nav li a {
		top: 43.5% !important;
	}
	
	.portfolio-big-slide .mosaic-block {
		width: 670px;
		height: 218px;
	}
	
	.portfolio-big-slide .details .pictogram {
		margin: 50px 0 15px 0;
	}
	
	.content-tablet {
		width: 400px;
	}
	
	.post-nav {
		clear: both;
		position: static;
		border-top: solid 1px #eee;
		border-bottom: solid 1px #eee;
	}
	
	.post-nav a {
		margin: 0;
		float: right;
	}
	
	.post-nav .prev-span {
		float: right;
	}
	.post-nav .next-span {
		float: left;
	}
	
	.single .page-title h3 {
		margin-bottom: 30px;
	}
	
	/* ===[ Homepage Blog Styles ]===================================================== */
	
	#blog-slider {
		width: 694px;
	}
	
	.home-blog-post {
		width: 112px;
		margin-right: ;
	}
	
	#blog-slider .flex-control-nav {
		width: 670px;
	}
	
	/* ===[ Sidebar Styles ]===================================================== */
	
	#sidebar-wrap {
		position: fixed;
		right: -305px;
		top: 122px;
		z-index: 9999;
		opacity: 0.4;
	}
	
	#sidebar {
		background: #fff;
		color: #aaa;
		padding: 40px;
		height: 450px;
		overflow-y: auto;
		overflow-x: hidden;
		width: 225px;
		box-shadow: rgba(0,0,0, 0.3) 0px 0px 4px;
		-moz-box-shadow: rgba(0,0,0, 0.3) 0px 0px 4px;
		-webkit-box-shadow: rgba(0,0,0, 0.3) 0px 0px 4px;
		-webkit-border-radius: 3px; 
		-moz-border-radius: 3px; 
		border-radius: 3px;
	}
	#sidebar-mid {
		position: relative;
	}
	#sidebar-close {
		display: block;
		background: url(images/big-plus-button.png) no-repeat center center;
		height: 40px;
		width: 40px;
		position: absolute;
		left: -55px;
		top: 0;
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	#sidebar-close:hover {
		-webkit-transform: rotate(-90deg); 
		-moz-transform: rotate(-90deg);
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
		cursor: pointer !important;
	}
	.show-sidebar #sidebar-close {
		right: 50% !important;
		top: 0;
		position: absolute;
		-webkit-transform: rotate(-135deg); 
		-moz-transform: rotate(-135deg);
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
		line-height: 28px;
	}
	.show-sidebar {
		right: 325px !important;
	}
	.show-sidebar #sticky {
		position: relative !important;
	}
	.show-sidebar #sidebar {
		position: fixed;
		padding-bottom: 15px !important;
	}
	.hide-sidebar {
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	#sidebar .widget {
		width: 225px;
	}
	
	.content {
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	.content-fade {
		opacity: .2;
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	.content-fade-off {
		opacity: 1 ;
		-webkit-transition: .2s ease-in;  
		-moz-transition: .2s ease-in;  
		-o-transition: .2s ease-in;  
		transition: .2s ease-in; 
	}
	
	/* ===[ Footer Styles ]===================================================== */
	
	.footer-widgets {
		width: 670px;
	}
	
	.footer-widgets-wrap {
		width: 695px;
		margin: 0 0 0 70px;
	}
	
	.footer-widget {
		width: 141px;
	}
	
	.footer-text {
		width: 670px;
	}
	
	.footer-text-left {
		width: 250px;
	}
	
	/* ===[ Portfolio Tweak ]===================================================== */

	.portfolio-meta2 {
    float: left !important;
    margin: -15px !important;
    width: 100% !important;
}

}
/* Keep Slate's proportions while giving the fixed-width desktop layout room to grow. */
@media screen and (min-width: 971px) {
	html {
		zoom: clamp(1, calc(100vw / 1040px), 1.75);
	}
}

/* Use the full desktop scale even in browsers without typed CSS division. */
@media screen and (min-width: 1820px) {
	html {
		zoom: 1.75;
	}
}

/* Keep the footer grid and slider controls inside the viewport. */
@media screen {
	.footer-widgets-wrap.clearfix,
	.footer-widgets.clearfix {
		max-width: 100%;
	}
}

@media screen and (max-width: 1820px) {
	.home .flexslider .flex-direction-nav li .next,
	.home #blog-slider .flex-direction-nav li .next,
	.home #portfolio-slider .flex-direction-nav li .next {
		right: 0;
	}

	.home .flexslider .flex-direction-nav li .prev,
	.home #blog-slider .flex-direction-nav li .prev,
	.home #portfolio-slider .flex-direction-nav li .prev {
		left: 0;
	}
}

@media screen and (max-width: 970px) {
	.footer-widgets-wrap.clearfix {
		margin-inline: auto;
	}
}

@media screen and (max-width: 750px) {
	#sections.clearfix,
	.footer-widgets.clearfix,
	.footer-widgets-wrap.clearfix {
		height: auto;
	}

	.footer-widgets.clearfix {
		width: 300px;
	}

	.portfolio-meta.meta-mobile,
	.footer-widget {
		box-sizing: border-box;
		max-width: 100%;
	}
}

/* Full-width pages with the archived main column and widget column. */
.blog_entry:has(> .slate-page-column) {
	display: flow-root;
}

.slate-page-column {
	overflow-wrap: anywhere;
}

.slate-page-column input,
.slate-page-column textarea {
	max-width: 100%;
	box-sizing: border-box;
}

@media screen and (min-width: 751px) {
	.slate-page-column {
		float: left;
	}

	.slate-page-column-main {
		width: 65.33%;
		margin-right: 4%;
	}

	.slate-page-column-sidebar {
		width: 22%;
	}
}

.slate-page-column-sidebar .widgets_on_page {
	display: flow-root;
}

.slate-page-column-sidebar .portfolio-meta2 {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.slate-projects-title {
	margin-bottom: 1.25rem;
	text-align: center;
}

.slate-projects .portfolio-big-title {
	padding-inline: 0;
}

.slate-project-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.slate-project {
	min-width: 0;
	padding: 1.25rem 0;
	border-top: 1px solid #e5e5e5;
}

.slate-project-image {
	margin-bottom: 1rem;
}

.slate-project-image img {
	display: block;
	width: 100%;
	height: auto;
}

.slate-project h2 {
	margin: 0 0 0.75rem;
}

.slate-project-link {
	display: inline-block;
	padding: 0.45em 0.85em;
	border: 1px solid currentColor;
	text-decoration: none;
}

.slate-project-link:hover {
	text-decoration: none;
}

.slate-project-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media screen and (min-width: 751px) {
	.slate-project-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (min-width: 971px) {
	.slate-project-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.home-project-tile .mosaic-backdrop,
.home-project-tile .mosaic-overlay {
	display: block;
}

.home-project-tile .mosaic-overlay {
	transition: opacity 200ms ease;
}

.home-project-tile .mosaic-overlay:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

@media (hover: hover) {
	.home-project-tile .mosaic-overlay:hover:not(:focus-visible) {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-project-tile .mosaic-overlay {
		transition: none;
	}
}

.slate-article-divider {
	clear: both;
	margin: 15px 0;
	border: 0;
	border-top: 3px solid #999;
}

.slate-article-illustrations {
	margin-block: 1rem;
}

.slate-article-illustration img {
	display: block;
	max-width: 100%;
	height: auto;
}

.slate-article-appendix {
	display: grid;
	gap: 1.25rem;
}

.slate-article-note {
	padding: 1rem;
	border: 1px solid #e5e5e5;
}

@media screen and (min-width: 751px) {
	.slate-article-illustrations {
		float: right;
		clear: right;
		width: 42%;
		margin: 0 0 1rem 1.25rem;
	}

	.slate-article-appendix {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

html:has(.slate-article-lightbox[open]) {
	overflow: hidden;
}

.slate-article-lightbox {
	box-sizing: border-box;
	width: max-content;
	max-width: min(64rem, 94%);
	max-height: 94%;
	padding: 0;
	border: 1px solid #ddd;
	color: #333;
	background: #fff;
	overflow: auto;
}

.slate-article-lightbox::backdrop {
	background: rgb(0 0 0 / 80%);
}

.slate-article-lightbox button {
	display: block;
	margin: 0.75rem 0.75rem 0.75rem auto;
	padding: 0.4em 0.8em;
	cursor: pointer;
}

.slate-article-lightbox figure {
	margin: 0 0.75rem 0.75rem;
}

.slate-article-lightbox img {
	display: block;
	max-width: 100%;
	max-height: 62vh;
	margin-inline: auto;
	object-fit: contain;
}

.slate-article-lightbox figcaption {
	max-width: 65ch;
	margin: 0.75rem auto 0;
	font-size: 0.875rem;
	line-height: 1.45;
}
