/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
body.home #main.site-main {
	padding-top: 0;
}

body.home .has-link-color a:not(.wp-block-button__link) {
	color: #fff;
}

body.home a {
	color: #fff;
}

.wp-block-columns.alignfull:not(:last-child) {
	padding-top: 0; padding-bottom: 0;
}

.wp-block-columns.alignfull:not(:last-child) {
	margin-top: 0; margin-bottom: 0;
}

.bg-black {
	background-color: #2c313f;
}

#masthead .site-header-wrapper .main-navigation ul li.current-menu-item>a {
	border: none;
	color: #2c313f;
}

#masthead .site-header-wrapper .main-navigation ul li.current-menu-item>a:visited {
	color: #2c313f;
}

#masthead .site-header-wrapper .main-navigation ul li>a:hover {
	color: #04aac7;
}

#masthead .site-header-wrapper .main-navigation ul li.current-menu-item>a {
	color: #04aac7 !important;
}

body .entry-content .no-display {
	display: none;
}

body.home .entry-content .wp-block-cover.mobile-display {
	display: none;
}

.hide {
	display: none;
}

.bg-grey{
	background-color:#e6e6e6;
}

@media only screen and (max-width: 560px) {
	body.home .entry-content .wp-block-image.desktop-display {
		display: none;
	}
	
	body.home .entry-content .wp-block-cover.mobile-display {
		display: block;
	}
	
	h1 {
		font-size: 2.5em;
	}
	
	h2 {
		font-size: 2.2em;
	}
	
	h3 {
		font-size: 2em;
	}
	
	h4 {
		font-size: 1.8em;
	}
}

@media only screen and (min-width: 560px) {
	.site-header {
		padding-top: 10px;
		padding-bottom: 0;
	}
}

@media (min-width: 782px) {
	body.page-id-105 .entry-content .wp-block-column:not(:first-child) {
		margin-left: 20px;
	}
	
	body.page-id-105 .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
		width: 180px;
	}
}

@media only screen and (max-width: 560px) {
	body.page-id-105 .entry-content .wp-block-columns .wp-block-column:not(:last-child) {
		margin-bottom: 20px;
	}
	
	body.page-id-105 .entry-content .wp-block-media-text.has-media-on-the-right figure {
		grid-row: 1;
	}
	
	body.page-id-105 .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		grid-row: 2;
	}
		body.page-id-40 .entry-content .wp-block-columns .wp-block-column:not(:last-child) {
		margin-bottom: 0px;
	}
	body.page-id-40 .entry-content .wp-block-columns .wp-block-columns.alignfull:not(:last-child) {
		margin-left: -16px;	
}
}

@media screen and (max-width: 768px) {
	.page-id-105 .wp-block-column {
		flex-basis: 100% !important;
	}
	
	.page-id-105 .wp-block-column:nth-child(2n) {
		margin-left: 0;
	}
	
	.page-id-105 .wp-block-media-text.alignwide.has-media-on-the-right.is-stacked-on-mobile.is-image-fill.has-background-light-background-color.has-background {
		direction: rtl;
	}
}

@media only screen and (max-width: 560px) {
	body.page-id-102 .entry-content .wp-block-columns .wp-block-column:not(:last-child) {
		margin-bottom: 20px;
	}
	
	body.page-id-102 .entry-content .wp-block-media-text.has-media-on-the-right figure {
		grid-row: 1;
	}
	
	body.page-id-102 .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		grid-row: 2;
	}
}

.wp-block-quote {
	border: 2px solid #ddd;
	padding: 16px;
	background-color: #fffef6;
}

.wp-block-quote p, .wp-block-quote cite {
	font-size: 1rem;
	hyphens: none !important;
}

p {
	hyphens: none !important;
}