.site-container {
	margin: 0 auto;
	max-width: 100%;
}
.wrap {
	max-width: 1300px;
	
	max-width: 2000px;
	padding: 10px 40px;
	margin: 0 auto;
}
.site-container, .site-container p, .site-container a,
.site-container ul li, .site-container ol li, .site-container table td {
	font-family: 'poppinsregular', sans-serif;
	text-transform: none;
}
.site-container h1, .site-container h2, .site-container h3,
.site-container h4, .site-container h5, .site-container h6,
.site-container table th, .sa_hover_container p, .sa_hover_container a,
.home-top a {
	font-family: 'fredoka_oneregular', sans-serif !important;
	text-transform: none;
}
.screen-reader-text, .screen-reader-shortcut {
	background: #000000;
	color: #ffffff;
}
.home .content {
	max-width: 100% !important;
}
.content h1 {
	color: #272f49;
}
.content h2, .content h3, .content h4,
.content h5, .content h6, .content a {
	color: #007e9e;
}
.content a {
	text-decoration: underline;
}
h2 {
	font-size: 28px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 22px;
}
h5 {
	font-size: 20px;
}
h6 {
	font-size: 18px;
}
*:focus {
	outline: 2px solid #005165 !important;
}
.site-inner {
	position: relative;
}

/*SITE HEADER*/
.site-header {
	background: #ffffff url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/colour-bar.png);
	background-size: 100% 8px;
	background-repeat: no-repeat;
	background-position: 100% 100.5%;
}
.title-area {
	width: 20%;
	margin: 10px 0;
	min-height: 90px;
}
.site-title a {
	display: block;
	color: #000000;
	text-indent: -9999px;
	background: url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/digital-durham-logo.png) no-repeat !important;
	background-size: cover !important;
	width: 242px;
	height: 90px;
	padding: 0;
	position: absolute;
}
.site-header span.mega-indicator {
	display: none !important;
}
.site-header #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link:hover {
	background: #262f49;
	color: #ffffff;
}
.site-header .widget-area {
	width: 80%;
	display: flex;
	justify-content: flex-end;
	min-height: 130px;
}
.site-header .widget {
	padding: 0;
	display: inline-flex;
	align-items: center;
}
span.expands {
	display: inline;
}
.site-header .search-form {
	margin-top: 0;
	margin-left: 20px;
	width: auto;
}
.search-form {
	overflow: visible;
}
.search-form label {
	position: absolute;
	top: -1200px;
}
.search-form input[type=search] {
	width: 80px;
	padding: 18px 5px;
	cursor: pointer;
	border: none;
	box-shadow: none;
	background-color: #007e9e;
	background-image: none;
	background-size: auto;
	text-transform: none;
	font-size: 15px;
	font-family: 'poppinsregular', sans-serif !important;
	height: 50px;
	margin-bottom: 0 !important;
	border-radius: 0;
	position: relative;
	z-index: 1;
	line-height: 50px;
	float: right;
	color: #fff;
	transition: width 1s;
}

.search-form input[type=search]:focus {
	padding: 18px 10px;
	color: #222;
}
.search-form input[type=search]:hover {
	background-color: #007e9e;
}
.search-form input[type=search]:focus {
	transition: width 1s;
	width: 200px;
	background-color: #f6f6f6;
	color: #222;
	outline: 2px solid #007e9e!important;
}
.search-form input[type=submit] {
	background-color: #007e9e;
	color: #222;
	padding: 18px;
	height: 50px;
	aspect-ratio: 1/1;
	line-height: 14px;
	font-size: 14px;
	position: relative;
	z-index: 10;
	background-image: url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/dig-durham-search-icon.png);
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
	text-indent: -99999px;
	border-radius: 0;
}
.search-form input:-moz-placeholder {
	color: #ddd;
	opacity: 1;
}
.search-form input::-webkit-input-placeholder {
	color: #888;
	opacity: 1;
}
.search-form input[type=search]::placeholder {
	color: #fff;
	opacity: 1;
}

.search-form input[type=search]:focus::placeholder {
	color: #888;
	padding-left: 10px;
	opacity: 1;
}

/*HOME SLIDER*/
.home-slider {
	background-color: rgba(20, 26, 40, 0.7) !important;
	background-blend-mode: multiply;
	color: #ffffff;
	background-image: url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/homepage-slider-bground-1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	max-height: 220px;
	min-height: 220px!important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	text-align: center;
}
.home-slider p {
	font-family: 'fredoka_oneregular', sans-serif;
	font-size: 60px;
	margin: 0;
}
.home-slider strong {
	font-size: 80px;
}
.home-slider span.credits {
	font-size: 16px;
	font-weight: 400;
}

/*HOME TOP*/
/*
.home-top-wrap {
	background: #E4F3F4;
}
.home-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background: #E4F3F4;
	padding: 40px 0;
	max-width: 1300px;
	margin: 0 auto;
}
.home-top .widget {
	width: calc(100% / 2 - 10px);
	display: flex;
	flex-wrap: wrap;
	position: relative;
	border: none;
	padding: 0;
	margin: 10px 0 !important;
	height: 275px;
}
.home-top .widget a {
	border-radius: 3px;
	height: 275px;
	padding: 0 2.8%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	text-decoration: none;
}
.home-top .widget a:hover {
	opacity: 0.7;
}
.home-top .widget:nth-child(1) a {
	background: #007E9E url('https://staging.digitaldurham.org/wp-content/uploads/2021/09/blue-shapes.png');
	background-size: cover;
	background-repeat: no-repeat;
}
.home-top .widget:nth-child(2) a {
	background: #637A10 url('https://staging.digitaldurham.org/wp-content/uploads/2021/09/green-shapes.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
}
.home-top .widget:nth-child(3) a {
	background: #F3B530 url('https://staging.digitaldurham.org/wp-content/uploads/2021/09/yellow-shapes.png');
	background-size: cover;
	background-repeat: no-repeat;
	color: #262F49;
	background-position: right;
}
.home-top .widget:nth-child(4) a {
	background: #E5007D url('https://staging.digitaldurham.org/wp-content/uploads/2021/09/pink-shapes.png');
	background-size: cover;
	background-repeat: no-repeat;
}
.home-top .widget:nth-child(1), .home-top .widget:nth-child(2), .home-top .widget:nth-child(4),
.home-top .widget:nth-child(1) a, .home-top .widget:nth-child(2) a, .home-top .widget:nth-child(4) a {
	color: #ffffff;
}
.home-top .widget:nth-child(3), .home-top .widget:nth-child(3) a {
	color: #262F49;
}
.home-top .widget .entry-title {
	font-size: 45px;
	line-height: 55px;
}
.home-top .widget .widget-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}
.home-top .widget .widget-wrap article,
.home-top .widget .widget-wrap .entry-content p {
	margin-bottom: 0;
}
*/

/*CONTENT*/
.breadcrumb {
	background-color: transparent;
	color: #272f49;
	margin: -40px 0px 20px;
	padding: 20px 0;
}
.breadcrumb a {
	text-decoration: underline;
}
.content {
	float: none;
	max-width: 2000px;
	/*max-width: 1300px;*/
	margin: 0 auto;
	/*padding: 40px 0 10px;*/
	padding: 40px 40px 10px 40px;
}


/*PAGELIST*/
.subpages-page-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.subpages-page-list li {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: 10px 0 !important;
	height: auto;
}
/* one item */
.subpages-page-list li:first-child:nth-last-child(1) {
	width: 100%;
}
/* two items */
.subpages-page-list li:first-child:nth-last-child(2),
.subpages-page-list li:first-child:nth-last-child(2)~li {
	width: calc(100% / 2 - 10px);
}
/* three items */
.subpages-page-list li:first-child:nth-last-child(3),
.subpages-page-list li:first-child:nth-last-child(3)~li {
	width: calc(100% / 3 - 10px);
}
/* four items */
.subpages-page-list li:first-child:nth-last-child(4),
.subpages-page-list li:first-child:nth-last-child(4)~li {
	width: calc(100% / 2 - 10px);
}
.subpages-page-list li a {
	width: 100%;
	border-radius: 3px;
	display: flex;
	justify-content: center;
	flex-direction: column;
	font-family: 'fredoka_oneregular', sans-serif !important;
	color: #ffffff;
	font-size: 24px;
	line-height: 35px;
	padding: 50px 20px;
	text-decoration: none;
}
.subpages-page-list li a:hover {
	text-decoration: none;
	opacity: 0.7;
}
.subpages-page-list li:nth-child(1) a {
	background: #007E9E url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/blue-shapes.png);
	background-size: cover;
	background-repeat: no-repeat;
}
.subpages-page-list li:nth-child(2) a {
	background: #637A10 url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/green-shapes.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
}
.subpages-page-list li:nth-child(3) a {
	background: #F3B530 url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/yellow-shapes.png);
	background-size: cover;
	background-repeat: no-repeat;
	color: #262F49;
	background-position: right;
}
.subpages-page-list li:nth-child(4) a {
	background: #E5007D url(https://staging.digitaldurham.org/wp-content/uploads/2021/09/pink-shapes.png);
	background-size: cover;
	background-repeat: no-repeat;
}

/*ACCORDION*/
.sp-easy-accordion>.sp-ea-single {
	background: #ffffff !important;
	border: 1px solid #007e9e !important;
}
.sp-easy-accordion>.sp-ea-single:focus {
	outline: 1px solid green;
}
.sp-easy-accordion>.sp-ea-single>.ea-header a .ea-expand-icon.fa,
.sp-easy-accordion>.sp-ea-single>.ea-header a {
	color: #007e9e !important;
}
.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body {
  color: #222!important;
}
/*LATEST NEWS*/
.dcs-news-posts {
	margin-bottom: 60px;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}
.news-container {
	width: calc(100% / 4 - 10px);
	display: flex;
	flex-wrap: wrap;
	margin: 0px 10px 10px 0 !important;
	position: relative;
	border: 1px solid #eeeeee;
}
.news-container:hover {
	opacity: 0.8;
}
.news-container a {
	display: block;
	height: 100%;
	width: 100%;
}
.news-container .news-thumb img {
	height: 200px !important;
	object-fit: cover;
	object-position: bottom;
	width: 100%;
}
.news-container .news-info {
	float: left;
	margin-top: -3px;
	padding: 10px;
	width: 100%;
	min-height: 155px;
}
.news-container .news-info .news-title {
	font-size: 18px;
	padding: 0 0 5px 0;
	color: #455178;
	text-decoration: none;
}
.news-container .news-info .news-date {
	font-size: 14px;
	padding: 0 0 5px 0;
	color: #007e9e;
}
.news-container .news-excerpt {
	font-size: 14px;
	color: #455178;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-container p {
	margin-bottom: 0;
}
.dcs-news-posts .no-posts {
	background: #455178;
	padding: 20px;
	color: #ffffff;
	font-size: 16px;
	text-align: center;
	margin-bottom: 50px;
}
.dcs-news-posts .no-posts p {
	margin-bottom: 0;
}
.dcs-news-posts .no-posts a {
	color: #ffffff;
	text-decoration: underline;
}

/*SEARCH*/
.search .archive-description {
	padding: 16px 0px;
	margin-bottom: 0;
}
.search .archive-description h1 {
	margin-bottom: 0;
	font-size: 28px;
	text-transform: none;
}
.search article .entry-title {
	font-size: 18px;
	margin-bottom: 0;
}
.search article .entry-title a {
	color: #007e9e;
	text-decoration: underline;
}
.search .entry-title a:hover, .search .entry-title a:focus {
	color: #007e9e !important;
}
.search .archive-pagination {
	display: block;
	width: 100%;
	clear: both;
}
.search .archive-pagination li a:focus, .search .archive-pagination li a:hover, .search .archive-pagination li.active a {
	background-color: #007e9e;
	color: #ffffff;
}
.search .archive-pagination li a {
	background-color: #272f49;
	border-radius: 2px;
	text-transform: none;
	font-size: 14px;
}
.search.search-results .entry, .archive .entry {
	margin-bottom: 0px;
	padding: 20px 0;
	border-bottom: 1px dashed #dddddd;
}

/*TABLEPRESS*/
.tablepress thead th {
	background-color: #007e9e;
	border: 1px solid #01485a;
	color: #ffffff;
	font-size: 20px;
}
.tablepress td {
	border: 1px solid #01485a;
}

/*FORMS*/
div.wpforms-container-full {
	background: #F7FCFD;
  padding: 20px;
  border: 1px solid #007e9e;
  border-radius: 3px;
}
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form textarea {
	border: 1px solid #007e9e;
}
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:focus {
	background-color: #007e9e;
	border: 1px solid #007e9e;
	color: #ffffff;
  border-radius: 3px;
}
div.wpforms-container-full .wpforms-form .wpforms-required-label {
  color: #007e9e!important;
}
div.wpforms-container-full .form-intro h2 {
	font-size: 28px;
	margin-bottom: 10px;
}

/*FOOTER*/
html {
	min-height: 100%;
	position: relative;
}
body {
	margin-bottom: 300px;
}
.site-footer {
	bottom: 0;
	height: 300px;
	width: 100%;
	position: absolute;
	color: #ffffff;
	background: #262F49;
	text-transform: none;
	padding: 0;
}

.site-footer h3 {
    font-size: 20px;
    color: #fff;
}
.site-footer .wrap {
	padding: 20.5px 0;
	text-align: center;
}
.site-footer p {
	color: #ffffff;
}
.footer-widgets {
	background: #007E9E url('https://staging.digitaldurham.org/wp-content/uploads/2021/09/footer-shape.png');
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: right bottom;
	padding: 20px 0;
}
.footer-widgets .widget-title {
	font-size: 20px;
}
.footer-widgets a {
	color: #ffffff;
	text-decoration: underline;
}
.footer-widgets-1, .footer-widgets-2 {
	text-align: left;
}
.footer-widgets-2 i.fa-envelope {
	font-size: 20px;
	color: #ffffff;
	margin: 0 10px;
}
.footer-widgets-2 ul.social-media {
	text-align: left;
}
.footer-widgets-2 ul.social-media li {
	padding: 0;
	margin: 25px 10px 0 10px;
	display: inline-block;
	font-size: 20px;
	background: none;
}
.footer-widgets-2 ul.social-media li a:hover {
	opacity: 0.7;
}
.footer-widgets-3 ul#menu-statements-and-policies li {
	background: none;
	padding-left: 0;
}

/*FOOTER COOKIE BUTTON*/
.footer-widgets-3 #nav_menu-2 {
	margin-bottom: 10px;
}
.footer-widgets-3 #custom_html-6 {
  text-align: left;
  margin: 0;
}
.footer-widgets-3 #custom_html-6 .cookie-prefs-button {
	margin-top: 0!important;
  border: none;
  border-radius: 4px;
  background: #272f49;
  color: #ffffff;
  padding: 15px;
}
.footer-widgets-3 #custom_html-6 .cookie-prefs-button:hover, 
.footer-widgets-3 #custom_html-6 .cookie-prefs-button:focus {
  background: #f3b530;
  color: #272f49;
}

.site-footer h3 a:hover, .site-footer a:hover {
    color: #f7bd00;
}

/*MEDIA QUERIES*/
@media only screen and (max-width: 1300px) {
	.site-header .wrap, .content-sidebar-wrap {
		padding: 0 20px;
	}
	.home .content-sidebar-wrap {
		padding: 0;
	}
	/*
	.home-top {
		padding: 20px;
	}
	*/
}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
		display: flex;
		align-items: center;
    justify-content: center;
		height: 50px;
	}


#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-flyout.mega-align-bottom-right li.mega-menu-item a.mega-menu-link {
    text-align: left;
}

@media only screen and (max-width: 1300px) {
	.menu-toggle, .sub-menu-toggle {
		border-radius: 4px;
		color: #ffffff !important;
		background: #007e9e;
		display: block;
		visibility: visible;
	}
	.dashicons-menu:before {
		margin-top: 2px;
		margin-right: 5px;
	}
	nav.genesis-responsive-menu {
		background: #272f49;
		display: none;
		position: absolute;
		width: 100%;
		left: 0px;
		z-index: 999999;
		top: 130px;
	}
	.site-header #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link:hover {
		background: #007e9e;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-megamenu>ul.mega-sub-menu {
		padding: 0 10px;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link:hover {
		background: #007e9e;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_3>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
		color: #ffffff;
		background: #007e9e;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
		font-size: 14px;
		padding-left: 0;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item,
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link {
		padding-left: 0;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
		padding: 10px 0;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		font-size: 14px;
		padding-left: 10px;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		background: #007e9e;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link {
		padding: 10px 10px;
		border-bottom: 1px solid #525c72;
		height: auto;
	}
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
		border-color: #4491a5;
	}
	.mega-sub-menu {
		background: #007e9e !important;
	}
	.site-header span.mega-indicator {
		display: inline !important;
	}
	.site-header .mega-sub-menu span.mega-indicator {
		display: none !important;
	}
	span.expands {
		display: block !important;
	}
	.site-header .search-form {
		display: flex;
		flex-direction: row-reverse;
		margin: 0 !important;
		padding: 15px 10px;
		width: 100%;
	}
	.search-form input[type=search], .search-form input[type=search]:focus {
		width: 100% !important;
	}
	.news-container {
		width: calc(100% / 3 - 10px);
	}
	.site-footer .wrap {
    padding: 20px;
	}
	.footer-widgets-1 {
		width: 25%;
	}
	.footer-widgets-2, .footer-widgets-3 {
		width: 37.5%;
	}
}

@media only screen and (max-width: 800px) {
	.dashicons-menu:before {
		margin-top: 0;
	}
	.home-slider {
		min-height: 275px;
	}
	.home-slider p {
		font-size: 40px;
	}
	.home-slider strong {
		font-size: 60px;
	}
	/*
	.home-top .widget {
		width: 100%;
		height: 150px;
	}
	.home-top .widget a {
		height: 150px;
		font-size: 35px;
	}
	*/
	body {
		margin-bottom: 0;
	}
	.site-footer {
		height: auto;
		position: relative;
	}
	.footer-widgets {
		padding: 20px;
	}
	.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
		width: 100%;
		display: block;
	}
	.footer-widgets-1, .footer-widgets-2, .footer-widgets-2 ul.social-media,
	.footer-widgets .widget-title, .footer-widgets-3 ul#menu-statements-and-policies li {
		text-align: center;
	}
	.footer-widgets-3 #custom_html-6 {
  	text-align: center;
	}
	.news-container {
		width: calc(100% / 2 - 10px);
	}
}

@media only screen and (max-width: 700px) {
	.site-title a {
		width: 200px;
		height: 74.5px;
	}
	.title-area {
		margin: 20px 0;
	}
	.news-container {
		width: 100%;
		margin: 0 0 10px 0 !important;
	}
	.subpages-page-list li {
		width: 100% !important;
		height: 120px;
	}
	.subpages-page-list li a {
		height: 120px;
		font-size: 24px;
	}
}

.home-slider {
min-height: 300px;
}

.site-footer h3 {
	    font-family: 'poppinsregular', sans-serif!important;
    letter-spacing: .05em;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    font-family: 'poppinsregular', sans-serif!important;
    letter-spacing: .05em;
	border-bottom: 2px solid #007e9e;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
	min-height: 75px
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
border-bottom: 2px solid #007e9e;
}

.home-top .hp-section {

}

.home-top .textwidget.custom-html-widget {
	background: none;
	flex: 1;
}

#grid {
	display: flex;
flex-wrap: wrap;
}


#grid .hp-item {
	display: flex;
	align-items: center;
	width: 50%;
	height: 100%;
	background: #ddd;
	padding: 10px;
}


#grid .hp-item .hp-item-content {
	display: flex;
	flex: 1;
	align-items: center;
	height: 100%;
	background: #ddd;
}
#grid .hp-item .hp-item-content.blue {
	background: #007E9E;
}

#grid .hp-item .hp-item-content.green {
	background: #637a10;
}


#grid .hp-item .hp-item-content.blue .img {
background: #637A10 url(https://staging.digitaldurham.org/wp-content/uploads/2022/09/Access-broadband.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

#grid .hp-section.green .img {
background: #637A10 url(https://staging.digitaldurham.org/wp-content/uploads/2022/09/Access-broadband.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

#grid .hp-section .text,
#grid .hp-section .img
{
	display: flex;
	align-items: center;
}

#grid.hp-section .text
{
	flex: 1;
	color: #fff;
	padding: 0 20px;
}


#grid .hp-section .text h3
{
	color: inherit;
	font-size: 40px;
  line-height: 55px;
	letter-spacing: .05em;
  margin: 0;
}

#grid .hp-item .hp-item-content .img
{
	display: flex;
	align-items: center;
  justify-content: center;
	aspect-ratio: 1/1;
	height: 100%;
	background: #444;
	opacity: 0.4;
}

/* FP */


#dd-tiles {
  display: flex;
  flex-wrap: wrap;
  margin: 0;}
  #dd-tiles .white-text a.dd-tile-content, #dd-tiles .access-broadband a.dd-tile-content, #dd-tiles .digital-skills a.dd-tile-content, #dd-tiles .latest-news a.dd-tile-content {
    color: #fff; }
    #dd-tiles .white-text a.dd-tile-content h3, #dd-tiles .access-broadband a.dd-tile-content h3, #dd-tiles .digital-skills a.dd-tile-content h3, #dd-tiles .latest-news a.dd-tile-content h3 {
      color: inherit; }
  #dd-tiles .dark-text a.dd-tile-content, #dd-tiles .about-us a.dd-tile-content {
    color: #222; }
    #dd-tiles .dark-text a.dd-tile-content h3, #dd-tiles .about-us a.dd-tile-content h3 {
      color: inherit; }
  #dd-tiles .dd-tile, #dd-tiles .access-broadband, #dd-tiles .digital-skills, #dd-tiles .about-us, #dd-tiles .latest-news {
    display: flex;
    width: 100%; }
    #dd-tiles .dd-tile a.dd-tile-content, #dd-tiles .access-broadband a.dd-tile-content, #dd-tiles .digital-skills a.dd-tile-content, #dd-tiles .about-us a.dd-tile-content, #dd-tiles .latest-news a.dd-tile-content {
      display: flex;
      flex-direction: row;
      flex: 1;
      width: 50%;
      margin: 5px 15px;
      text-decoration: none;
      transition: 0.3s;
      border-radius: 0; }
      #dd-tiles .dd-tile a.dd-tile-content .text, #dd-tiles .access-broadband a.dd-tile-content .text, #dd-tiles .digital-skills a.dd-tile-content .text, #dd-tiles .about-us a.dd-tile-content .text, #dd-tiles .latest-news a.dd-tile-content .text {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        padding: 50px;
        background-color: none;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover; }
        #dd-tiles .dd-tile a.dd-tile-content .text h3, #dd-tiles .access-broadband a.dd-tile-content .text h3, #dd-tiles .digital-skills a.dd-tile-content .text h3, #dd-tiles .about-us a.dd-tile-content .text h3, #dd-tiles .latest-news a.dd-tile-content .text h3 {
          font-family: 'Fredoka One', cursive;
          margin: 0;
          font-size: 1.5em;
          font-weight: 200;
          letter-spacing: .05em; }
        #dd-tiles .dd-tile a.dd-tile-content .text p, #dd-tiles .access-broadband a.dd-tile-content .text p, #dd-tiles .digital-skills a.dd-tile-content .text p, #dd-tiles .about-us a.dd-tile-content .text p, #dd-tiles .latest-news a.dd-tile-content .text p {
					font-family: 'poppinsregular', sans-serif;
          margin: 0; }
      #dd-tiles .dd-tile a.dd-tile-content .img, #dd-tiles .access-broadband a.dd-tile-content .img, #dd-tiles .digital-skills a.dd-tile-content .img, #dd-tiles .about-us a.dd-tile-content .img, #dd-tiles .latest-news a.dd-tile-content .img {
        display: flex;
        width: 40%;
        aspect-ratio: 1/1;
        background-color: none;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover; }
    #dd-tiles .dd-tile:hover a.dd-tile-content .img, #dd-tiles .access-broadband:hover a.dd-tile-content .img, #dd-tiles .digital-skills:hover a.dd-tile-content .img, #dd-tiles .about-us:hover a.dd-tile-content .img, #dd-tiles .latest-news:hover a.dd-tile-content .img {
      transition: 0.3s;
      opacity: 1;
      filter: grayscale(0%); }
  #dd-tiles .access-broadband {
    order: 1; }
    #dd-tiles .access-broadband .dd-tile-content {
      background: #007e9e; }
      #dd-tiles .access-broadband .dd-tile-content .text {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2021/09/blue-shapes.png"); }
      #dd-tiles .access-broadband .dd-tile-content .img {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2022/09/dd-access-broadband.png"); }
  #dd-tiles .digital-skills {
    order: 3; }
    #dd-tiles .digital-skills .dd-tile-content {
      background: #637a10; }
      #dd-tiles .digital-skills .dd-tile-content .text {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2021/09/green-shapes.png"); }
      #dd-tiles .digital-skills .dd-tile-content .img {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2023/07/digital-skills.jpg"); }
  #dd-tiles .about-us {
    order: 2; }
    #dd-tiles .about-us .dd-tile-content {
      background: #f3b530; }
      #dd-tiles .about-us .dd-tile-content .text {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2021/09/yellow-shapes.png"); }
      #dd-tiles .about-us .dd-tile-content .img {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2023/07/map.jpg"); }
  #dd-tiles .latest-news {
    order: 4; }
    #dd-tiles .latest-news .dd-tile-content {
      background: #e5007d; }
      #dd-tiles .latest-news .dd-tile-content .text {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2021/09/pink-shapes.png"); }
      #dd-tiles .latest-news .dd-tile-content .img {
        background-image: url("https://staging.digitaldurham.org/wp-content/uploads/2022/09/dd-news.png"); }

@media only screen and (min-width: 500px) {
  #dd-tiles .dd-tile a.dd-tile-content .text h3, #dd-tiles .access-broadband a.dd-tile-content .text h3, #dd-tiles .digital-skills a.dd-tile-content .text h3, #dd-tiles .about-us a.dd-tile-content .text h3, #dd-tiles .latest-news a.dd-tile-content .text h3 {
    font-size: 2em;} }


@media only screen and (min-width: 992px) {
  #dd-tiles {
    margin: 0 -10px; 
	    margin: 0 auto;
    padding: 0 30px;
    max-width: 2000px;}
    #dd-tiles .dd-tile, #dd-tiles .access-broadband, #dd-tiles .digital-skills, #dd-tiles .about-us, #dd-tiles .latest-news {
      width: 50%; }
      #dd-tiles .dd-tile a.dd-tile-content, #dd-tiles .access-broadband a.dd-tile-content, #dd-tiles .digital-skills a.dd-tile-content, #dd-tiles .about-us a.dd-tile-content, #dd-tiles .latest-news a.dd-tile-content {
        transition: 0.3s;
        margin: 10px; }
        #dd-tiles .dd-tile a.dd-tile-content .text h3, #dd-tiles .access-broadband a.dd-tile-content .text h3, #dd-tiles .digital-skills a.dd-tile-content .text h3, #dd-tiles .about-us a.dd-tile-content .text h3, #dd-tiles .latest-news a.dd-tile-content .text h3 {
          font-size: 1.8em; }
        #dd-tiles .dd-tile a.dd-tile-content .img, #dd-tiles .access-broadband a.dd-tile-content .img, #dd-tiles .digital-skills a.dd-tile-content .img, #dd-tiles .about-us a.dd-tile-content .img, #dd-tiles .latest-news a.dd-tile-content .img {
          /*opacity: 0.9;*/ }
      #dd-tiles .dd-tile:hover a.dd-tile-content .img, #dd-tiles .access-broadband:hover a.dd-tile-content .img, #dd-tiles .digital-skills:hover a.dd-tile-content .img, #dd-tiles .about-us:hover a.dd-tile-content .img, #dd-tiles .latest-news:hover a.dd-tile-content .img {
        transition: 0.3s;
        opacity: 1; }
    #dd-tiles .access-broadband .dd-tile-content {
      background: rgba(0, 126, 158, 0.9); }
      #dd-tiles .access-broadband .dd-tile-content:hover {
        background: #007e9e; }
    #dd-tiles .digital-skills .dd-tile-content {
      background: rgba(99, 122, 16, 0.9); }
      #dd-tiles .digital-skills .dd-tile-content:hover {
        background: #637a10; }
    #dd-tiles .about-us .dd-tile-content {
      background: rgba(243, 181, 48, 0.9); }
      #dd-tiles .about-us .dd-tile-content:hover {
        background: #f3b530; }
    #dd-tiles .latest-news .dd-tile-content {
      background: rgba(229, 0, 125, 0.9); }
      #dd-tiles .latest-news .dd-tile-content:hover {
        background: #e5007d; } }


@media only screen and (min-width: 1545px) {
	
	#dd-tiles .digital-skills a.dd-tile-content .text {
        padding: 60px;}
	
  #dd-tiles .dd-tile a.dd-tile-content .text h3, #dd-tiles .access-broadband a.dd-tile-content .text h3, #dd-tiles .digital-skills a.dd-tile-content .text h3, #dd-tiles .about-us a.dd-tile-content .text h3, #dd-tiles .latest-news a.dd-tile-content .text h3 {
    font-size: 2.2em;} 

.subpages-page-list li a {
	display: flex;    
	align-items: center;
    justify-content: center;
	border-radius: 0;
	color: #ffffff;
	font-size: 45px;
	line-height: 35px;
	padding: 150px 20px;

}

}

.home-top .widget {
	width: 100%;
}

@media only screen and (min-width: 1800px) {
	
	#dd-tiles .digital-skills a.dd-tile-content .text {
        padding: 70px;}
	
  #dd-tiles .dd-tile a.dd-tile-content .text h3, #dd-tiles .access-broadband a.dd-tile-content .text h3, #dd-tiles .digital-skills a.dd-tile-content .text h3, #dd-tiles .about-us a.dd-tile-content .text h3, #dd-tiles .latest-news a.dd-tile-content .text h3 {
    font-size: 2.5em;} }

.home-top .widget {
	width: 100%;
}

.home-top {
	/*padding: 30px;*/
	padding: 0;
	padding: 20px 0;
}

.home-middle .widget, .home-top .widget {
	padding: 0;
}

.home-cta.widget-area {
	display: none;
}

/*----- Top Bar css -----*/

/*-- EMAIL, SOCIAL MEDIA, SEARCH --*/

.site-topbar .wrap {
    border-bottom: none;
}

#cd-tel,
#cd-eml{
    display: none;
}

.email-twitter-links ul li {
    display: inline-flex;
    align-items: center;
    padding: 0 7.5px;
    height: 60px;
}

.email-twitter-links ul {
	display: flex;
	align-items: center;
}

.email-twitter-links i {
	color: #f7bd00;
	background: #222;
	font-size: 22px;
}
/*--.email-twitter-links ul li.email {
	display: none;
}
--*/
.email-twitter-links ul li a {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	color: #fff;
	font-size: 14px;
  font-weight: bold;
}

.email-twitter-links li.email a {
	background-position: 0 0;
}

.email-twitter-links .expands {
	display: block;
}

.email-twitter-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
    border-bottom: 2px solid #fff;
    background: #222;
    max-width: 100%;
    padding: 0 2%;
}

.email-twitter-links .fa, .fas {
    font-size: 14px;
}

span.tb-eml, .tb-tel span {
    margin-left: 7.5px;
}

.email-twitter-links ul#tb-right li {
    width: 44px;
    justify-content: center;
    padding: 0;
}

.email-twitter-links ul li {
    height: 44px;
    justify-content: center;
    padding: 0;
}

.email-twitter-links ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-twitter-links .expands {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.email-twitter-links form#demo-2 {
    width: 100%;
}

.email-twitter-links > ul:not(#tb-right) li a {
    padding: 0 7.5px;
}


@media only screen and (max-width: 510px) {
.email-twitter-links .fa, .fas {
    margin: 0px;
}
	span.tb-eml, .tb-tel span {
    font-size: 12px;
}
	
ul#tb-right {
    display: none;
}
}




ul.social-media li a svg {
width: 20px;
fill: #fff;
}

body.page-template-default .site-inner .content-sidebar-wrap table thead tr th {
	font-weight: 400!important;
	font-family: unset!important;
}

li.tb-tel a svg {
fill: #ffbb00;
}

#tb-right li a {
text-decoration: none;
}


#tb-right li a .svg_icon_container {
    display: flex;
	  justify-content: center;
    align-items: center;
	  height: 100%;
    width: 100%;
}

#tb-right li a .svg_icon_container svg {
    width: 20px;
    fill: #ffbb00;
}

#tb-right li a:hover .svg_icon_container {
    background-color: #444;
}

#tb-right li a:hover svg {
  fill: #fff;
}
