/*------------------------------------*\
    
    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

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

.wysiwyg p a:not(.btn) {
	color: #2B3549;
	font-weight: 700;
	border-bottom: 2px solid #0276A7;
}

.wysiwyg .btn:hover {
	background: #025E85;
	border-color: #025E85;
	color: #fff;
}

.wysiwyg .btn-secondary:hover {
	background: #181E29;
	border-color: #181E29;
}

.wysiwyg .btn-tertiary:hover {
	background: #0276A7;
	border-color: #0276A7;
	color: #fff;
}

.wysiwyg .btn-tertiary-white:hover {
	background: #fff;
	border-color: #fff;
	color: #2B3549;
}


.bg-white {
	background: #ffffff;
}

.darkblue-bg {
	background: #2B3549;
	color: #fff;
}

.lightgrey-bg {
	background: #F6F6F7;
}

.darkblue-bg h2 {
	color: #fff;
}

.wysiwyg p {
	line-height: 1.75em;
}

.wysiwyg-table-overflow {
	overflow-x: auto;
}

.wysiwyg-table-wrapper {
	position: relative;
	margin-right: -22px;
	width: calc(100% + 22px);
}

.wysiwyg-table-wrapper:after {
	position: absolute;
	content: "";
	width: 200px;
	height: 100%;
	top: 0;
	right: 0;
	background: rgb(255, 255, 255);
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 76%);
}

.wysiwyg-table {
	position: relative;
}

.wysiwyg-table h2 {
	font-size: 18px;
	padding-bottom: 14px;
}

.wysiwyg-table-swipe {
	position: absolute;
	top: -25px;
	right: 0;
}

thead,
tbody {
	width: 100%;
	display: inline-table;
}

table {
	display: block;
	min-width: 872px;
}

thead th {
	padding: 10px 17px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

thead tr {
	background-color: #2B3549;
	border: 1px solid #E5E6EA;
}

td {
	padding: 9px 17px;
	color: #2B3549;
	font-size: 14px;
	font-weight: 400;
	text-align: left;
	border: 1px solid #E5E6EA;
}

.wysiwyg img.alignright {
	margin: 0 0 5px 0;
	max-width: 258px;
	float: none;
}

.full-table thead th {
	padding: 10px 14px;
	width: 100px;
	font-size: 13px;
}

.full-table tr td {
	padding: 10px;
	font-size: 13px;
	max-width: 115px;
}


.full-table tr td:first-child {
	background: #F6F6F7;
	font-weight: bold;
}

@media (min-width: 768px) {
	.wysiwyg-table-wrapper {
		margin-right: -52px;
		width: calc(100% + 52px);
	}

	.wysiwyg img.alignright {
		margin: 0 0 10px 35px;
		float: right;
	}

	.wysiwyg-table h2 {
		font-size: 26px;
		margin-top: 10px;
	}

	td {
		padding: 9px 24px;
	}

	thead th {
		padding: 10px 24px;
	}
}

@media (min-width: 1200px) {
	.wysiwyg-table-wrapper:after {
		display: none;
	}

	.wysiwyg-table-swipe {
		display: none;
	}

	.wysiwyg p a:hover {
		color: #0276A7;
	}

	.wysiwyg-table-wrapper {
		margin-right: 0;
		width: 100%;
	}

	.wysiwyg img.alignright {
		margin: 0 0 15px 39px;
		max-width: 100%;
	}

	.wysiwyg-table h2 {
		padding-bottom: 22px;
	}
}

/* TODO: Add additional background colors */