/*
Theme Name: Astrid
Theme URI: https://athemes.com/theme/astrid
Author: aThemes
Author URI: https://athemes.com
Description: Astrid can help you to quickly create an awesome business website. All the features you need are waiting for you in this business theme: color options, fonts, full width header image, custom widgets, blog options and many other interesting and useful options.
Version: 1.18
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astrid
Tags: two-columns, right-sidebar, custom-colors, custom-background, custom-header, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready

Astrid WordPress Theme, Copyright 2016 aThemes
Astrid is distributed under the terms of the GNU GPL v2 or later.

Astrid is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/
body {
	font-family: p22-underground, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 18px;
	color: #000000;
	word-wrap: break-word;
	background-color: #fff;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #00668a;
	font-family: p22-underground, sans-serif;
	font-style: normal;
	font-weight: 900;
	margin-top: 20px;
	margin-bottom: 20px;
}
a,
a:hover {
	color: #00668a;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
	text-decoration: none;
}
blockquote {
	border-left: 5px solid #ebebeb;
    padding-left: 15px;
    margin-left: 0;
}
p {
	margin-bottom: 20px;
}

h4 {
	font-size: 27px;
}

.home .wp-block-media-text.has-media-on-the-right.is-stacked-on-mobile {
    background: transparent;
}

.home .wp-block-media-text.is-stacked-on-mobile {
    background: #f1f1f1;
}

.home .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {padding: 0;}

.home .wp-block-media-text h2.has-text-align-center {
	color: #00668a;
	font-family: p22-underground, sans-serif;
	font-style: normal;
	font-weight: 900;
}

.home .wp-block-media-text.has-media-on-the-right .has-large-font-size {
	color: #00668a;
	font-family: p22-underground, sans-serif;
	font-style: normal;
	font-weight: 900;
}

.has-large-font-size {
    font-size: 42px;
    margin-bottom: 10px;
}

.wp-block-button__link {
    font-size: 15px;
	-webkit-border-radius: unset; 
	-moz-border-radius: unset; 
    border-radius: unset;
    text-decoration: none;
    background: #00668a;
    font-family: p22-underground, sans-serif;
    font-style: normal;
    font-weight: 600;
    border: 1px solid #00668a;
    text-transform: uppercase;
	margin-bottom: 15px;
}

.page-id-4261 textarea {
  overflow: auto;
  padding-left: 8px;
  vertical-align: top;
  width: 100%;
  background: #f3f3f3;
  max-height: 213px;
}

.page-id-295 .wp-block-column.wp-block-column-3 {
    padding-bottom: 20px;
}

.wp-block-column.wp-block-column-0 .popupaoc-button {
    top: -34px;
}

.wp-block-column.wp-block-column-0 .wp-block-buttons.popform {
    padding-top: 18px;
    margin-bottom: -28px;
}

.wp-block-column.wp-block-column-2 .wp-block-buttons {
    padding-top: 18px;
}

.page-id-295 .wp-block-buttons .wp-block-button {
	margin-bottom: 0;
}

.page-id-295 .wp-block-buttons .wp-block-button.b-50 {
    padding-bottom: 20px;
}

.wp-block-button__link:hover {
    color: #00668a;
    text-decoration: none;
    background: transparent;
}

.ufbl-form-field-wrap.enquirybox {
    position: relative;
}

.ufbl-form-field-wrap.enquirybox .ufbl-form-field:after {
	content: "If you would like to ask us a specific question about leaving a legacy in your Will, please type it in this box.";
	transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
	opacity: 0;
	font-size: 14px;
}

.ufbl-form-field-wrap.enquirybox:hover .ufbl-form-field:after{
  opacity: 1;
}

.wp-block-group__inner-container .popupaoc-button {
    top: 0;
}

.post-295 .wp-block-group__inner-container .popupaoc-button {
    top: 0;
	float: left;
}

.ufbl-template-2 .ufbl-form-field-wrap > label span {
  color: #f00;
}

.heading-text {
    text-align: center;
    clear: both;
    padding: 25px 35px;
}

.box-content {
    border: none;
    padding: 30px;
    margin-top: -1px;
}

.box-content h4 a {
    font-size: 22px;
    font-weight: 600;
}

.read-more a {
    font-size: 14px;
    border-radius: unset;
    text-decoration: none;
    background: #00668a;
    font-family: p22-underground, sans-serif;
    font-style: normal;
    font-weight: 600;
    border: 1px solid #00668a;
    text-transform: uppercase;
    padding: 10px 25px 7px;
    color: #fff;
    display: inline-block;
}

.read-more a:hover {
    color: #00668a;
    text-decoration: none;
    background: transparent;
}

.our-facts {
	color: #00678a;
    text-align: center;
    clear: both;
    overflow: hidden;
    margin-top: 0;
    padding: 35px 0;
    background: url(/wp-content/themes/astrid/images/our-facts.jpg) no-repeat;
        background-size: auto;
    background-size: cover;
}

.our-facts h2 {
    color: #00678a;
    font-family: p22-underground, sans-serif;
    font-weight: 900;
    text-align: center;
    font-size: 36px;
}

.our-facts .count {
    color: #00678a;
    font-size: 35px;
    font-family: p22-underground, sans-serif;
    font-weight: 600;
}

.facts-content i {
    font-size: 28px;
    margin-bottom: 15px;
}

.our-subscribers {
    background: #00678a;
    text-align: center;
    color: #fff;
	padding: 25px 0 35px;
}

.our-subscribers h2 {
    color: #fff;
}
.emaillist {
    max-width: 80%;
    margin: 0 auto;
}
.es-field-wrap {
    margin-bottom: 0.6em;
    display: block;
    float: left;
    width: 60%;
    text-align: left;
}
.es-field-wrap input {
    width: 100%;
}
.our-subscribers input[type="submit"] {
    margin-top: 0;
    background-color: #fff;
	font-family: p22-underground, sans-serif;
	font-weight: 600;
	font-style: normal;
    font-size: 16px;
    border-radius: 3px;
    border: 1px solid #fff;
	padding: 13px 15px 9px;
}

.our-subscribers input[type="submit"]:hover {
    background-color: transparent;
	color: #fff;
}

.es_subscription_form {
    clear: both;
    overflow: hidden;
}

.es_subscription_message.success, .es_subscription_message.error {
    color: #fff;
    font-size: 16px;
    clear: both;
    overflow: hidden;
    float: left;
    width: 100%;
}

/* Home page blog section 

.our-blog.highlight-blog {
  background: #ff142a;
  color: #fff;
  overflow: hidden;
  padding: 20px 5px;
}

.our-blog.highlight-blog h2 {
  color: #fff;
}

.box-content h4 a {
  color: #fff;
}

.our-blog.highlight-blog .read-more a {
	background: #fff;
	color: #ff142a;
	border:1px solid #fff
}

.our-blog.highlight-blog .read-more a:hover {
  background: transparent;
  color: #fff;
}
*/

.highlight-blog .box-content h4 a {
  color: #ff142a;
}

.highlight-blog .read-more a:last-child {
  color: #fff;
  background: #ff142a;
  border-color: #ff142a;
}

.highlight-blog .read-more a:last-child:hover {
  color: #ff142a;
  background: #fff;
}


/* Home page blog section end here */

.our-blog h2 {
  color: #ff142a;
}

.our-blog .read-more-blog {
  clear: both;
  text-align: right;
  margin-top: 26px;
}

.news-post {
    border-left: 4px solid #00668a;
    padding-left: 10px;
}
.news-post, .news-post a {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}
.news-post.news-post-des {
    margin-bottom: 20px;
}
.our-news-post .inner-box {
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2);
	margin-bottom: 30px;
}

.our-news-post.charity-challenges .inner-box h4 {min-height: 25px;}

.our-team h3 {
    font-size: 37px;
    text-align: center;
    text-transform: uppercase;
}

.our-team-box .inner-box {
    background: #f4f7fe;
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2);
    text-align: center;
    min-height: 375px;
}

.board-of-trustees-staff .our-team-box .inner-box {
    min-height: 415px;
}

.our-team-box .inner-box h4 {
    font-size: 22px;
    margin-bottom: 0;
    margin-top: 30px;
}

#custom_html-5 .textwidget a {
    font-size: 14px;
    border-radius: unset;
    text-decoration: none;
    background: #00668a;
    font-family: p22-underground, sans-serif;
    font-style: normal;
    font-weight: 600;
    border: 1px solid #00668a;
    text-transform: uppercase;
    padding: 8px 25px 5px;
    color: #fff;
    display: inline-block;
    margin-top: 5px;
}

#custom_html-5 .textwidget a:hover {
	background: transparent;
	color: #00668a;
}

.page-id-139 .entry-content h4 {
    font-size: 28px;
}

.page-id-139 .entry-content h5 {
    font-size: 30px;
    color: #00668a;
    text-align: center;
    margin: 60px auto;
}

.wp-block-column.wp-block-column-4 .popupaoc-button {
    top: 20px;
    float: left;
}

.wp-block-column.wp-block-column-empty {
    background: transparent !important;
}

.page-id-295 .wp-block-column {
    background: #ececec;
    padding: 0 20px;
    font-size: 14px;
    margin-bottom: 30px;
}

.page-id-295 .wp-block-column .wp-block-image {
    margin: 0 -20px;
}

.wp-block-gallery .blocks-gallery-item figcaption {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
}

.page-id-295 .wp-block-media-text {
    background: #ececec;
    padding: 0;
}

.page-id-295 .wp-block-media-text .has-large-font-size {
    font-size: 42px;
    margin-bottom: 10px;
	color: #00668a;
font-family: p22-underground, sans-serif;
font-style: normal;
font-weight: 900;
}

.page-id-295 .wp-block-media-text.alignwide .wp-block-media-text__content {
    padding-right: 8%;
}

.charity-challenges h3 {
    font-size: 24px;
    font-weight: 800;
    color: #303030;
    text-transform: uppercase;
}

.our-news .charity-challenges .box-content {
    min-height: 260px;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
table {
	width: 100%;
	margin-bottom: 20px;
	border: 1px solid #e0e0e0;
}
th {
	background-color: #f7f7f7;
}
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
	padding: 10px;
	line-height: 1.42857143;
	vertical-align: top;
}
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
	border: 1px solid #dddddd;
}
/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	padding: 15px;
}
button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-size: 14px;
	padding: 12px 30px;
	border: 1px solid #00668a;
	color: #00668a;
	text-transform: uppercase;
	background-color: transparent;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
}
.button {
	-webkit-appearance: none;
}

input[type="submit"] {
	margin-top: 5px;
}
button:hover,
.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #00668a;
	text-decoration: none;
	color: #fff;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea {
	color: #666;
	border: 1px solid #ebebeb;
	border-radius: 3px;
	font-weight: 400;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"] {
    padding: 10px;
    background: #f3f3f3;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 8px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}
select {
	border-color: #F2F2F3;
}
.centered-button,
.header-button {
	display: table;
	margin: 20px auto 0;
	font-family: p22-underground, sans-serif;
	font-size: 20px;
	font-weight: 600;
	background: #00668a;
	color: #fff !important;
	
}
.centered-button:hover,
.header-button:hover {
	background: #fff;
	color: #00668a;
	border: 1px solid #fff;
	
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.site-header.has-header {
    position: relative;
    background-color: #fff;
    padding: 15px 0;
}

.site-header, .site-header.header-scrolled {
    background-color: #fff !important;
}

.navigation {
    padding: 15px 0 7px;
    border-top: 1px solid #ddd;
    margin-top: 15px;
    clear: both;
}

.hd-right {
  text-align: center;
}

.hd-right a {
    display: inline-block;
    padding-left: 42px;
    font-size: 15px;
    text-align: left;
    color: #000;
    position: relative;
    line-height: 18px;
    margin: 4px;
	vertical-align: top;
}

.hd-right a.customsearch::before {
    content: "\f002";
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    border: 1px solid #00668a;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
}

.hd-right a.tellink::before {
    content: "\f095";
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    border: 1px solid #00668a;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
}

.hd-right a.emailink::before {
    content: "\f0e0";
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    border: 1px solid #00668a;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
}

.hd-right a span {
  display: block;
  color: #00668a;
  font-weight: 600;
}

.hd-search {
    text-align: right;
    margin-bottom: 15px;
}

.searchbox {
    border: 1px solid #fff;
    border-radius: 35px;
}

.hd-search:hover .searchbox {
    border: 1px solid #00668a;
}

.hd-search input[type="search"] {
    padding: 4px 10px;
    background: transparent;
    box-shadow: unset;
    border: none;
    width: 80%;
	display: none;
}

.hd-search:hover input[type="search"] {
	display: inline-block;;
}

.hd-search button {
    font-size: 16px;
    border: 1px solid #00668a;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
    padding: 0px;
}

.hd-search button:hover {
    border: 1px solid #00668a;
    color: #00668a;
	background: transparent;
}

/* new css */

.search-wrap.active {
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color .6s ,opacity .6s;
}
.search-wrap.active .search-inner {
    margin-top: 0px;
}

.search-wrap {
    position: fixed;
    top: 100%;
    width: 100%;
    height: 100%;
    z-index: 10001;
    transition: background-color .6s ,opacity .6s;
}
.search-wrap .search-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 320px;
    margin-top: 150px;
    padding: 25px;
    background-color: #fff;
    color: #070000;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transition: margin .6s;
    -webkit-transition: margin .6s;
    -moz-transition: margin .6s;
    -o-transition: margin .6s;
    width: 80%;
    height: 80%;
}

.search-wrap .search-inner .search-cell .search-field-holder {
    width: 100%;
    margin: auto;
    position: relative;
    -webkit-animation: slideInUp .7s;
    animation: slideInUp .7s;
}
.search-wrap .search-inner .search-cell .search-field-holder .form-control {
    height: 66px;
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: #fff;
    color: #111;
    width: 100%;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    -webkit-transition: 1s ease all;
    transition: 1s ease all;
}
.search-wrap .search-inner #search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 20px;
    color: #424242;
    cursor: pointer;
    -webkit-transition: .2s;
    transition: .2s;
}
.search-wrap .btn.btn-default {
    position: absolute;
    right: 0;
    top: 15px;
    font-size: 25px;
    border: none;
    background: transparent;
    color: #00678a;
}

/* new css end here  */

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: left;
}

.main-navigation li {
	float: left;
	position: relative;
	padding: 6px 12px 5px;
	font-size: 15px;
}

.main-navigation li.current_page_item {
  background-color: #00668a;
}

.main-navigation li.current_page_item a {
  color: #fff;
}

.main-navigation li:hover:after {
  border-top: #00668a;
}

.main-navigation a {
	font-family: p22-underground, sans-serif;
	font-style: normal;
	font-weight: 300;
	display: inline-block;
	text-decoration: none;
	color: #000;
	position: relative;
	padding: 5px 0 2px;
	z-index: 11;
	text-transform: uppercase;
}

.main-navigation ul ul ul { 
	top: 0 !important;
}

.main-navigation ul ul {
    float: left;
    position: absolute;
    top: 160%;
    left: -999em;
    z-index: 99999;
    background-color: #00668a;
}

.submenu-visible {
	top: 100% !important;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
	padding: 0;
	color: #fff;
}

.main-navigation ul ul a::before,
.main-navigation ul ul a::after {
	display: none;
}

.main-navigation ul ul li {
    border-top: 1px solid #268cb0;
    padding: 10px 15px 5px;
}

.main-navigation a:hover,
.main-navigation li.focus > a {
	color: #00668a;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
	color: #fff;
}


.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

@media (min-width: 992px){
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
}
.main-navigation li.current_page_item::after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #00668a;
    content: " ";
    position: absolute;
    bottom: -10px;
    left: 40%;
}
}

/* Mobile menu */

.btn-menu {
	display: none;
	text-align: right;
	font-size: 28px;
	color: #00668a;
	cursor: pointer;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.btn-menu .fa {
	cursor: pointer;	
}
.btn-submenu {
	position: relative;
	top: 3px;
	font-family: "FontAwesome";
	font-size: 20px;
	text-align: center;
	cursor: pointer;
	padding: 10px;
	margin-left: 10px;
}
.btn-submenu:before {
	content: "\f107";
	color: #fff;
}
.btn-submenu.active:before {
	content: "\f106"
}
#mainnav-mobi {
	position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #202529;
    padding-left: 0;
    padding-right: 0;
}
#mainnav-mobi a {
	padding-left: 15px;
	padding-right: 15px;
	width: auto;
	color: #fff;
}
#mainnav-mobi li {
	display: block;
	width: 100%;
	clear: both;
	text-align: left;
	float: none;
	padding-left: 0;
	padding-right: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#mainnav-mobi li a::after,
#mainnav-mobi li a::before {
	display: none;
}
#mainnav-mobi ul {
	float: none;
}
#mainnav-mobi ul ul {
	position: relative;
	top: 11px;
	left: 0;
	background-color: #171717;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0;
	overflow: hidden;
	padding: 30px 60px;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation a,
.posts-navigation a,
.post-navigation a {
	color: #272727;
}
.comment-navigation a:hover,
.posts-navigation a:hover,
.post-navigation a:hover {
	color: #fcd088;	
	text-decoration: none;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area .widget {
	margin: 0 0 -1px;
	padding: 30px;
	background-color: #fff;
	border: 1px solid #F2F2F3;
}
.widget ul {
	padding: 0;
}
.widget li {
	padding-top: 2px;
	padding-bottom: 2px;
	list-style: none;
}
.widget .children {
	padding-left: 20px;
}
.widget-area .widget,
.widget-area .widget a {
	color: #656D6D;
}
.widget-area .widget-title {
	text-transform: uppercase;
	margin: 0 0 30px;
}
/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}
/* Search widget. */
.widget_search .search-submit {
	display: none;
}
/* Recent posts */
.widget_recent_posts ul {
	list-style: none;
	padding: 0;
}
.widget_recent_posts li {
	padding-bottom: 15px;
}
.widget_recent_posts li:last-of-type {
	padding-bottom: 0;
}
.widget_recent_posts .recent-thumb {
	padding: 0 15px 0 0;
}
.widget_recent_posts .recent-title {
	padding: 0;
}
.widget_recent_posts .post-date {
	display: block;
	font-size: 12px;
	padding: 3px;
	margin-top: 5px;
}
.widget_recent_posts .post-date .fa {
	margin-right: 6px;
}
/* Social widget */
.social-menu-widget {
	padding: 0 !important;
	margin: 0 auto;
	display: table;
	text-align: left;
}
.social-menu-widget a {
	background-color: #eaab1c;
	text-decoration: none;
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 8px;
	line-height: 40px;
	-webkit-transition: border-radius 0.4s;
	transition: border-radius 0.4s;
}
.social-menu-widget li a,
.social-menu-widget li a:hover {
	color: #fff !important;
}
.social-menu-widget a:hover {
	border-radius: 50%;
}
.social-menu-widget li {
	display: inline-block;
	list-style: none;
	line-height: 1;
	text-align: center;
}
.social-widget li a::before,
.social-menu-widget a:before {
	font-family: FontAwesome;
	color: inherit;
}
.social-menu-widget a:before {
	font-size: 20px;
}
.social-menu-widget a[href*="twitter.com"]::before {
	content: '\f099';
}
.social-menu-widget a[href*="facebook.com"]::before {
	content: '\f09a';
}
.social-menu-widget a[href*="plus.google.com"]::before {
	content: '\f0d5';
}
.social-menu-widget a[href*="google.com/+"]::before {
	content: '\f0d5';
}
.social-menu-widget a[href*="dribbble.com"]::before {
	content: '\f17d';
}
.social-menu-widget a[href*="pinterest.com"]::before {
	content: '\f231';
}
.social-menu-widget a[href*="youtube.com"]::before {
	content: '\f167';
}
.social-menu-widget a[href*="flickr.com"]::before {
	content: '\f16e';
}
.social-menu-widget a[href*="vimeo.com"]::before {
	content: '\f194';
}
.social-menu-widget a[href*="instagram.com"]::before {
	content: '\f16d';
}
.social-menu-widget a[href*="linkedin.com"]::before {
	content: '\f0e1';
}
.social-menu-widget a[href*="foursquare.com"]::before {
	content: '\f180';
}
.social-menu-widget a[href*="tumblr.com"]::before {
	content: '\f173';
}
.social-menu-widget a[href*="behance.net"]::before {
	content: '\f1b4';
}
.social-menu-widget a[href*="deviantart.com"]::before {
	content: '\f1bd';
}
.social-menu-widget a[href*="soundcloud.com"]::before {
	content: '\f1be';
}
.social-menu-widget a[href*="spotify.com"]::before {
	content: '\f1bc';
}
.social-menu-widget a[href*="weibo.com"]::before {
	content: '\f18a';
}
.social-menu-widget a[href*="xing.com"]::before {
	content: '\f168';
}
.social-menu-widget a[href*="trello.com"]::before {
	content: '\f181';
}

/* Default widgets */
.widget_recent_entries ul,
.widget_archive ul,
.widget_pages ul,
.widget_recent_comments ul,
.widget_categories ul {
	list-style: none;
	padding: 0;
}
.widget_recent_entries li::before,
.widget_archive li::before,
.widget_pages li::before,
.widget_recent_comments li::before,
.widget_categories li::before {
	font-family: Fontawesome;
	font-size: 15px;
}
.widget_recent_entries li::before {
	content: '\f040';
	margin-right: 5px;
}
.widget_archive li::before {
	content: '\f133';
	margin-right: 8px;
}
.widget_pages li::before {
	content: '\f016';
	margin-right: 8px;	
}
.widget_recent_comments li::before {
	content: '\f0e5';
	margin-right: 8px;
}
.widget_categories li::before {
	content: '\f114';
	margin-right: 8px;
}
.tagcloud a {
	border: 1px solid #41474F;
	padding: 5px;
	font-size: 13px !important;
	display: inline-block;
	margin-bottom: 8px;
	margin-right: 4px;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0;
	padding: 30px 30px;
	background-color: #fff;
	border: none;
	margin-bottom: -1px;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-summary p:last-of-type {
	margin-bottom: 0;
}
.page-content,
.entry-content,
.entry-summary {
}
.entry-meta {
	margin-bottom: 30px;
	border-top: 1px solid #F2F2F3;
	border-bottom: 1px solid #F2F2F3;
	padding: 5px;
}
.entry-footer {
	margin-top: 30px;
}
.entry-footer,
.entry-footer a,
.entry-meta,
.entry-meta a {
	color: #A0A8AB;
}
.entry-meta,
.entry-footer {
	font-size: 13px;
}
.entry-footer .fa,
.entry-meta .fa {
	margin-right: 5px;
}
.entry-meta span::after {
	content: '/';
	margin: 0 15px;
}
.entry-meta span:last-of-type::after {
	content: '';
	margin: 0;
}
.tags-links a {
	display: inline-block;
	line-height: 1;
	padding: 2px 3px;
	margin-right: 5px;
	border: 1px solid;
}
.entry-thumb {
	padding-right: 30px;
}
.entry-thumb,
.post-thumb {
	-webkit-transition: opacity 0.4s;
	transition: opacity 0.4s;
}
.post-thumb:hover,
.entry-thumb:hover {
	opacity: 0.7;
}
.post-thumb {
	margin-bottom: 30px;
}
.has-post-thumbnail .entry-summary,
.entry-thumb {
	width: 50%;
	float: left;
}
.entry-thumb,
.entry-summary {
	margin-bottom: 30px;
}
.single-thumb {
	margin-bottom: 30px;
}
.read-more {
	clear: both;
}
.post-button {
	display: table;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.entry-title {
	margin-top: 0;
}
.entry-title,
.entry-title a {
	color: #00668a;
}
.page .entry-title {
	margin-bottom: 0;
}

.programme-content .entry-title {font-size: 50px;}

.header-content {
    background: #00668a;
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: repeat;
        background-image: none;
        background-size: auto;
    background-position-x: 0%;
    background-position-y: 0%;
    background-image: none;
    background-size: auto;
    color: #fff;
    text-align: center;
    padding: 7% 0;
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat !important;
}

.header-content::after {
    content: "";
    background: url(/wp-content/themes/astrid/images/trans-title-bg.png);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.header-content .entry-title, .header-content .entry-title a {
	color: #fff;
	position: relative;
	z-index: 99;
}

.widget-area .widget a:hover,
.entry-meta a:hover,
.entry-footer a:hover,
.entry-title a:hover {
	color: #fcd088;
	text-decoration: none;
}

/* Masonry */
.masonry-layout {
	width: 100% !important;
	padding: 0;
}
.posts-layout.masonry {
	margin: 15px auto;
}
.masonry-layout .hentry {
	width: 350px;
	margin: 15px;
	padding: 30px;
	border: 0;
}
.masonry-layout .entry-thumb,
.masonry-layout .entry-summary {
	width: 100%;
	padding: 0;
}
.masonry-layout .entry-thumb {
	margin-bottom: 30px;
}
.masonry-layout .entry-title {
}
.masonry-layout .entry-meta {
	position: relative;
	bottom: 0;
	right: 0;
	clear: both;
}
.masonry-layout .entry-meta .read-more,
.masonry-layout .entry-meta .posted-on {
	float: none;
	display: inline-block;
}
.masonry-layout .entry-meta .posted-on {
	margin-bottom: 5px;
}
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comments-area {
	margin-bottom: 60px;
}
.comments-title {
	margin: 0;
	font-size: 22px;
	padding: 30px 60px;
	border: 1px solid #F2F2F3;
	background-color: #fff;
}
.comments-area ol {
	list-style: none;
	margin: 0;
}
.comments-area ol {
	padding: 0;
}
.comments-area .children {
	padding-left: 20px;
}
.comments-area .fn {
}
.comment-author .avatar {
	position: absolute;
}
.comment-author .fn,
.comment-metadata {
	margin-left: 80px;
}
.comment-metadata {
	font-size: 12px;
	margin-bottom: 30px;
}
.comment-body {
	padding: 30px 60px;
	border-left: 1px solid #F2F2F3;
	border-right: 1px solid #F2F2F3;
	border-bottom: 1px solid #F2F2F3;
}
.comment-edit-link {
	margin-left: 5px;
}
.children .comment-body {
	border-left: 3px solid #F2F2F3;
}
.reply {
	text-align: right;
}
.comment-reply-link {
	padding: 5px;
	background-color: #fff;
	font-size: 12px;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;	
}
a.comment-reply-link {
	text-decoration: none;
}
a.comment-reply-link:hover {
	color: #000;
	box-shadow: 0 0 1px #505050;
}
.comments-area a.url {
	text-decoration: underline;
}
.comment-metadata a,
.comments-area a.url {
	color: #444;
}
.bypostauthor {
}
.comment-respond {
	padding: 60px 60px 0;
	border-right: 1px solid #F2F2F3;
}
.comment-form .form-submit {
	margin-top: 30px;
}
.comment-form-author label {
	display: block;
}
.comment-form-email input,
.comment-form-url input,
.comment-form-author input {
	width: 100%;
	max-width: 100%;
}
.comment-form-email label,
.comment-form-url label {
	display: block;
}
.comment-form-email,
.comment-form-url {
	width: 48%;
	float: left;
}
.comment-form-email {
	margin-right: 2%; 
}
.comment-form-url {
	margin-left: 2%;
}
/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}
img {
	max-width: 100%;
	height: auto;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Widgetised
--------------------------------------------------------------*/
.home-wrapper section {
	position: relative;
	padding: 80px 0;
	margin-bottom: 0;
	clear: both;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;	
}
.atblock {
	position: relative;
	z-index: 11;
	padding-left: 30px;
	padding-right: 30px;
}
.atblock.no-container {
	padding: 0;
	max-width: 100% !important;
}
section.at-2-col {
	width: 50%;
	clear: none;
        -webkit-flex: 1 1 0;
        -ms-flex: 1 1 0;
         flex: 1 1 0;
}

.at-2-col .atblock {
	width: 100%;
	max-width: 700px;
}
section.at-3-col {
	width: 33.33333333%;
	clear: none;
        -webkit-flex: 1 1 0;
        -ms-flex: 1 1 0;
         flex: 1 1 0;
}
.at-3-col .atblock {
	width: 100%;
	max-width: 500px;
}
.row-overlay {
	background-color: rgba(37, 46, 53, 0.8);
	content: '';
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
}
.multicolumn-row {
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.multicolumn-row section {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* Block titles */
.atblock .widget-title {
	font-size: 36px;
	text-align: center;
	margin: 0 0 75px;
	position: relative;
}
.atblock .widget-title::after,
.widget-title .title-decoration::before,
.widget-title .title-decoration::after {
	content: '';
	position: absolute;	
}
.widget-title .title-decoration::before,
.widget-title .title-decoration::after {
	width: 30px;
	height: 1px;
	bottom: -15px;
	background-color: rgba(92, 98, 101, 0.3);	
}
.atblock .widget-title::after {
	width: 6px;
	height: 6px;
	bottom: -18px;
	border-radius: 3px;
	background-color: #d2d8da;
	left: -webkit-calc(50% - 3px);
	left: -moz-calc(50% - 3px);
	left: calc(50% - 3px);
}
.widget-title .title-decoration::before {
	left: -webkit-calc(50% - 40px);
	left: -moz-calc(50% - 40px);
	left: calc(50% - 40px);
}
.widget-title .title-decoration::after {
	left: -webkit-calc(50% + 10px);
	left: -moz-calc(50% + 10px);	
	left: calc(50% + 10px);
}

/* Services */
.service-area {
	text-align: center;
}
.service {
	text-align: center;
	margin-bottom: 45px;
	padding: 0 15px;
	width: 32%;
	display: inline-block;
	vertical-align: top;
}
.astrid-3col:nth-of-type(3n+1) {
	clear: left;
}
.astrid-3col:last-of-type,
.astrid-3col:nth-last-of-type(2),
.astrid-3col:nth-last-of-type(3) {
	margin-bottom: 0;
}
.service-title a {
	color: #272727;
	text-decoration: none;
}
.service-title a:hover {
	color: #fcd088;
}
/* Skills */
.skill {
	margin-bottom: 15px;
}
.progress-bar {
	background-color: #e8ecee;
	height: 5px;
	position: relative;
}
.progress-animate {
	background-color: #fcd088;
	height: 5px;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
}
.progress-visible {
	-webkit-transition: width 1.5s;
	transition: width 1.5s;
}
/* Facts */
.fact-area {
	text-align: center;
}
.fact {
	text-align: center;
	display: inline-block;
	width: 24%;
	padding: 0 15px;
	vertical-align: top;
}
.fact .fa {
	font-size: 44px;
	color: #fcd088;
}
.fact .fact-number {
	font-size: 36px;
	margin: 20px 0;
	font-family: 'Josefin Sans', sans-serif;
	border-top: 1px solid rgba(92, 98, 101, 0.3);
	border-bottom: 1px solid rgba(92, 98, 101, 0.3);
}
.fact .fact-name {
	font-size: 24px;
	line-height: 1.1;
	font-family: 'Josefin Sans', sans-serif;
}
/* Employees */
.employees-area {
	text-align: center;
}
.employee,
.blog-post {
	display: inline-block;
	width: 32%;
	margin-bottom: 45px;
	text-align: center;
	padding: 0 15px;
	vertical-align: top;
}
.employee-title {
	margin: 0 0 30px;
	padding: 15px;
	background-color: #202529;
}
.employee-title a {
	color: #fff;
}
.employee-title a:hover {
	color: #fcd088;
	text-decoration: none;
}
/* Projects */
.project {
	width: 25%;
	float: left;
}
.project:nth-of-type(4n+1) {
	clear: left;
}
.project-thumb {
	position: relative;
	overflow: hidden;	
}
.project-thumb::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: rgba(37, 46, 53, 0.8);
	-webkit-transition: width 0.5s;
	transition: width 0.5s;
}
.project-title {
	position: relative;
	width: 100%;
	text-align: center;
	margin: 0;
}
.project-title a {
	color: #fff;
	text-decoration: none;
}
.project-content {
	position: absolute;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100%;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	align-items: center;	
	-webkit-transition: right 0.5s;
	transition: right 0.5s;	
}
.project-thumb:hover::before {
	width: 100%;
}
.project-thumb:hover .project-content {
	right: 0;
}
.project-title a::before {
    content: '';
    width: 0;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    position: absolute;
    left: 0;
    top: -5px;    
    margin-left: 20%;
	-webkit-transition: width 0.5s 0.5s;
	transition: width 0.5s 0.5s;	    
}
.project-title a::after {
    content: '';
    width: 0;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    position: absolute;
    right: 0;
    bottom: -5px;    
    margin-right: 20%;
	-webkit-transition: width 0.5s 0.5s;
	transition: width 0.5s 0.5s;	    
}
.project-thumb:hover .project-title a::before,
.project-thumb:hover .project-title a::after {
	width: 60%;
}
/* Testimonials */
.testimonial-area {
	text-align: center;
}
.testimonial {
	display: inline-block;
	width: 32%;
	margin-bottom: 45px;
	text-align: left;
	padding: 0 15px;
	vertical-align: top;	
}
.testimonial-content {
	position: relative;
	background-color: #fff;
	border: 1px solid #F2F2F3;
	padding: 30px;
}
.testimonial svg {
	margin-bottom: 10px;
	fill: #fff;
	stroke: #F2F2F3;
	stroke-width: 1.05;
	position: relative;
	top: -1px;
	left: 30px;
}
.testimonial-content p:last-of-type {
	margin: 0;
}
.testimonial-thumb {
	max-width: 100px;
}
.testimonial-title {
	margin-bottom: 0;
}
.testimonial-title a {
	color: #272727;
	text-decoration: none;
}
.testimonial-title a:hover {
	color: #fcd088;
}
/* Clients */
.client-area {
	text-align: center;
}
.client {
	display: inline-block;
	width: 24%;
	margin-bottom: 45px;
	padding: 0 30px;
	vertical-align: top;	
}
.client:nth-of-type(3n+1) {
	clear: left;
}
.client:last-of-type,
.client:nth-last-of-type(2),
.client:nth-last-of-type(3),
.client:nth-last-of-type(4) {
	margin-bottom: 0;
}
/*--------------------------------------------------------------
## Structure
--------------------------------------------------------------*/
.site-title {
	font-size: 36px;
	margin: 0;
	letter-spacing: 1px;
	line-height: 1.1;
}
.site-title a,
.site-title a:hover {
	color: #fff;
	text-decoration: none;
}
.site-description {
	margin: 15px 0 0;
	font-size: 14px;
    color: #BDBDBD;
}
.site-description:empty {
	margin: 0;
}
.site-content {
	margin-top: 30px;
	margin-bottom: 30px;
}
.site-content > .container {
	padding: 0;
	background-color: #fff;
	border: none;
}
body.page-template-page_builder,
body.page-template-page_widgetized {
	background-color: #fff;
}
.page-template-page_builder .site-content,
.page-template-page_widgetized .site-content {
	margin-top: 0;
	margin-bottom: 0;
}
.site-logo {
	max-width: 100%;
	max-height: 80px;
}
.custom-logo-link {
	display: block;
}

.our-programmes-box {margin-bottom: 30px;}

.our-programmes-box img {width: 100%;}

.fullwidth,
.error404 .content-area,
.fullwidth-single .content-area {
	width: 100% !important;
}
.error404 .content-area {
	padding: 30px;
}
.error404 .content-area .page-title {
	padding: 0;
}
.no-results.not-found {
	padding: 30px;
}
.no-results.not-found .page-title {
	padding: 0;
}
.fullwidth-single .content-area {
	margin-left: 0;
}
.widget-area {
	width: 360px;
	float: left;
	margin-left: -1px;
	margin-right: -1px;
}
.page-header .page-title {
	padding: 0 60px;
}
.page-header .page-title .fa {
	margin-right: 15px;
	color: #fcd088;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header.has-header {
    position: relative !important;
    background-color: #fff !important;
    padding: 15px 0 7px !important;
}

.site-header {
	padding: 15px 0;
	width: 100%;
	z-index: 999;
	position: relative;
	background-color: #202529;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;	
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header.has-header,
.site-header.has-video {
	background-color: transparent;
}
.site-header.header-scrolled {
	background-color: rgba(255,255,255,0.2);
	padding: 5px 0;
	border-bottom: 1px solid transparent;
}
.site-header .container {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}
.header-clone {
	height: 83px;
}

/* Header image */

.header-image {
    position: relative;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.header-info {
	width: 100%;
	position: absolute;
	top: 35%;
	text-align: center;
	z-index: 11;
	display: none;
}
.header-text {
    margin: 0 auto;
    color: #fff;
    font-size: 39px;
    display: table;
    text-transform: uppercase;
    font-family: p22-underground, sans-serif;
}
.header-subtext {
	color: #fff;
	display: table;
	margin: 0 auto 30px;
	padding: 0 15px 30px;
	font-size: 24px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	letter-spacing: 5px;
}
.small-header {
	display: none;
}

.page-id-244 .wp-block-columns .wp-block-column {
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2);
    padding: 15px;
}

.page-id-244 .wp-block-columns .wp-block-column .wp-block-image {
    margin-left: -15px;
    margin-top: -15px;
    margin-right: -15px;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.home .footer-wrapper {background: #fff;}

.page-id-31 .footer-wrapper {background: #fff;}

.postid-67 .footer-wrapper {background: #fff;}

.footer-wrapper {
    padding-top: 10px;
    clear: both;
	font-size: 15px;
	background: #f8f8f8;
}

.footer-widgets, .site-footer, .footer-info {
    background-color: transparent !important;
}

.footer-widgets,
.site-footer,
.footer-info {
	background-color: #f8f8f8;
	clear: both;
}

.footer-widgets,
.footer-info,
.site-footer,
.footer-widgets a,
.footer-info a,
.site-footer a {
	color: #000000;
}
.site-footer a:hover,
.footer-info a:hover,
.footer-widgets a:hover {
	text-decoration: none;
	color: #00668a;
}
.footer-widgets .widget-title {
    margin: 0 0 15px;
    font-size: 15px;
}

.footer-widgets .widget {margin: 0 0 15px;}

#custom_html-3 p {
    padding-left: 15px;
    position: relative;
}

#custom_html-3 p:first-child::before {
    content: "\f041";
    font: normal normal normal 17px/1 FontAwesome;
    display: inline-block;
    color: #00668a;
    position: absolute;
    left: 0;
    top: 0;
}

#custom_html-3 i {
    color: #00668a;
    margin-left: -15px;
}

.three_column .mep-ev-start-date {
	background: #00668a;
	color: #fff;
}

.sidebar-column {
	padding: 0;
}
.site-footer {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #ddd;
}

.site-copyright {
	text-align: center;
}

#custom_html-4 h3 {
    font-size: 16px;
}

.social-nav-footer ul {
    margin: 0;
    padding: 0;
    text-align: left;
}

.social-nav-footer ul li {
    list-style: none;
    display: inline-block;
    margin: 0 4px;
}

.social-nav-footer ul li a {
    border: 2px solid #ccc;
    width: 38px;
    height: 38px;
    display: block;
    text-align: center;
    line-height: 40px;
    border-radius: 35px;
    color: #cccccc;
    font-size: 18px;
}

.social-nav-footer ul li a:hover {
    border: 1px solid #00668a;
	background: #00668a;
    color: #fff;
}

/* Footer nav */

.footer-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}
.footer-navigation li {
    display: inline-block;
    padding-left: 15px;
}
.footer-navigation li:after {
    content: "/";
    padding-left: 15px;
}
.footer-navigation li:last-child:after {content: "";}

.footer-navigation li a {
    text-transform: uppercase;
    font-size: 15px;
}

/* Footer branding */
.footer-info {
    border-bottom: 1px solid #ddd;
    clear: both;
    display: block;
    padding-bottom: 15px;
}
.footer-branding {
    display: block;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;		
	width: 100%;
	text-align: center;
	padding: 30px 30px 15px 15px;
}
.footer-logo {
	max-height: 100px;
	width: auto;
	max-width: 100%;
}

.footernoFlex {
	float: left;
}
.footer-contact-block {
	display: inline-block;
	text-align: center;
	width: 33%;
	padding: 0 20px;
}
.footer-contact-block .fa {
	font-size: 22px;
}
.footer-contact-block span {
	display: block;
	border-top: 1px solid rgba(255,255,255,0.08);
	margin-top: 10px;
	padding-top: 10px;
}

/*--------------------------------------------------------------
## Preloader
--------------------------------------------------------------*/
.preloader {
	background-color: #fff;
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
.preloader-hidden {
	opacity: 0;
}
.preloader-inner {
	position: absolute;
	margin: auto;
	top: 50%;
	left: 0;
	right: 0;
	width: 88px;
}
.preloader-inner ul {
	margin: 0;
	list-style: none;
	width: 88px;
	height: 63px;
	position: relative;
	padding: 0;
	height: 10px;
}
.preloader-inner ul li {
	position: absolute;
	width: 2px;
	height: 0;
	background-color: #fcd088;
	bottom: 0;
}
.preloader-inner li:nth-child(1) {
	left: 0;
	animation: preloader1 1.15s ease infinite 0;
	-ms-animation: preloader1 1.15s ease infinite 0;
	-webkit-animation: preloader1 1.15s ease infinite 0;
}
.preloader-inner li:nth-child(2) {
	left: 15px;
	animation: preloader2 1.15s ease infinite 0.12s;
	-ms-animation: preloader2 1.15s ease infinite 0.12s;
	-webkit-animation: preloader2 1.15s ease infinite 0.12s;
}
.preloader-inner li:nth-child(3) {
	left: 29px;
	animation: preloader1 1.15s ease-in-out infinite 0.23s;
	-ms-animation: preloader1 1.15s ease-in-out infinite 0.23s;
	-webkit-animation: preloader1 1.15s ease-in-out infinite 0.23s;
}
.preloader-inner li:nth-child(4) {
	left: 44px;
	animation: preloader2 1.15s ease-in infinite 0.35s;
	-ms-animation: preloader2 1.15s ease-in infinite 0.35s;
	-webkit-animation: preloader2 1.15s ease-in infinite 0.35s;
}
.preloader-inner li:nth-child(5) {
	left: 58px;
	animation: preloader1 1.15s ease-in-out infinite 0.46s;
	-ms-animation: preloader1 1.15s ease-in-out infinite 0.46s;
	-webkit-animation: preloader1 1.15s ease-in-out infinite 0.46s;
}
.preloader-inner li:nth-child(6) {
	left: 73px;
	animation: preloader2 1.15s ease infinite 0.58s;
	-ms-animation: preloader2 1.15s ease infinite 0.58s;
	-webkit-animation: preloader2 1.15s ease infinite 0.58s;
}
@keyframes preloader1 {
	0% {
		height: 10px;
	}
	50% {
		height: 49px;
	}
	100% {
		height: 10px;
	}
}
@-ms-keyframes preloader1 {
	0% {
		height: 10px;
	}
	50% {
		height: 49px;
	}
	100% {
		height: 10px;
	}
}
@-webkit-keyframes preloader1 {
	0% {
		height: 10px;
	}
	50% {
		height: 49px;
	}
	100% {
		height: 10px;
	}
}
@keyframes preloader2 {
	0% {
		height: 19px;
	}
	50% {
		height: 63px;
	}
	100% {
		height: 19px;
	}
}
@-ms-keyframes preloader2 {
	0% {
		height: 19px;
	}
	50% {
		height: 63px;
	}
	100% {
		height: 19px;
	}
}
@-webkit-keyframes preloader2 {
	0% {
		height: 19px;
	}
	50% {
		height: 63px;
	}
	100% {
		height: 19px;
	}
}

/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce .content-area {
	float: right;
	border-top: 1px solid #F2F2F3;
}
.woocommerce .widget-area {
	float: left;
}
.woocommerce .content-area {
	padding: 60px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	margin: 0 0 15px;
	padding: 15px;
	width: 33.3333%;
	text-align: center;
}
.woocommerce .products .star-rating {
	margin: 10px auto;
	width: 68px;
}
.woocommerce .star-rating {
	width: 78px;
	color: #fcd088;
}
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce .cart .button, .woocommerce .cart input.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #review_form #respond .form-submit input,
.woocommerce a.button,
.woocommerce div.product form.cart .button {
	display: table;
	margin: 45px auto 0;
    line-height: 1.9;
    cursor: pointer;
    position: relative;
    padding: 12px 30px;
    border: 1px solid #00668a;
    font-weight: 300;
    border-radius: 0;
    left: auto;
    color: #00668a;
    background-color: transparent;
}
.woocommerce .woocommerce-message {
	border-color: #00668a;
}
.woocommerce .woocommerce-message:before {
	color: #00668a;
}
.woocommerce #payment #place_order:hover, 
.woocommerce-page #payment #place_order:hover,
.woocommerce .cart .button:hover, .woocommerce .cart input.button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #review_form #respond .form-submit input:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover {
	background-color: #00668a;
    text-decoration: none;
    color: #fff;
}
.woocommerce .cart .button, .woocommerce .cart input.button,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce div.product form.cart .button,
.woocommerce ul.products li.product .button {
	text-transform: none;
	padding: 5px 15px;
}
.woocommerce .cart .button, .woocommerce .cart input.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce div.product form.cart .button {
	margin-top: 0;
}
.woocommerce div.product form.cart .button::before,
.woocommerce ul.products li.product .button::before {
	content: '\f07a';
	font-family: FontAwesome;
	margin-right: 5px;
}
.woocommerce ul.products li.product h3 {
	font-size: 18px;
}
.woocommerce ul.products li.product .price {
	color: #272727;
	font-size: 16px;
    font-weight: 300;
}
.woocommerce span.onsale {
	background-color: #00668a;
}
.woocommerce ul.products li.product .onsale {
	border-radius: 0;
	margin: 0;
	top: 15px;
	right: 15px;
	line-height: 1;
    min-width: 0;
    min-height: 0;
    padding: 10px 15px;
    font-weight: 400;
    letter-spacing: 2px;
}
.woocommerce .woocommerce-breadcrumb {
	padding: 5px;
	border: 1px solid #F2F2F3;
	margin-bottom: 25px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	padding: 15px;
}
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background-color: #F9F9F9;
}
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
	border-color: #F2F2F3;
}
.woocommerce-result-count {
    position: relative;
    top: 15px;
}
.woocommerce .quantity .qty {
	padding: 5px;
	border: 1px solid #F2F2F3;
}
.woocommerce div.product form.cart {
    margin: 15px 0;
}
.woocommerce div.product p.price {
	color: #272727;
	font-size: 20px;
    font-weight: 300;
}
.woocommerce div.product p.price,
.woocommerce div.product .woocommerce-product-rating {
	margin-bottom: 15px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-color: #F2F2F3;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:after,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:after,
.woocommerce div.product .woocommerce-tabs ul.tabs li:before {
	display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background-color: #f7f7f7;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-weight: 300;
}
.woocommerce table {
	border-collapse: collapse !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	font-size: 14px;
}
.woocommerce table.shop_table td {
	padding: 30px 15px;
}
.coupon .input-text {
	width: auto !important;
	padding: 8px !important;
}
.select2-container .select2-choice {
	border-color: #ebebeb;
}
#add_payment_method #payment,
.woocommerce-checkout #payment {
	background-color: transparent;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #272727;
}
.woocommerce-variation-price {
	margin-bottom: 15px;
}
.woocommerce div.product form.cart .variations td.label {
    padding-top: 20px;
}
/* Core video
-------------------------------------------------------------- */
.wp-custom-header video {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}
.wp-custom-header iframe {
	vertical-align: top;
}

.wp-custom-header {
	position: relative;
}
.wp-custom-header .wp-custom-header-video-button {
	position: absolute;
	bottom: 30px;
	right: 30px;
}

.wp-custom-header .wp-custom-header-video-button:focus {
	outline: none;
}

/*--------------------------------------------------------------
## New css 
--------------------------------------------------------------*/

.page .b-link-flow .b-wrapper, .page .b-link-flow .b-top-line { background: rgba(0, 102, 138, 0.4) !important; }
.page .wl-gallery > div { position: relative; box-shadow: unset !important; }
.page .enigma_home_portfolio_caption { background: rgba(0,0,0,0.3); padding: 3%; position: absolute; bottom: 0; width: 100%; color: #fff; border: none !important; } .enigma_home_portfolio_caption h3 { color: #fff !important; font-size: 16px !important; font-weight: bold; padding: 0px !important; margin: 0px !important; font-family: p22-underground, sans-serif; }
.page .enigma_home_portfolio_caption h3 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: bold;
    padding: 0px !important;
    margin: 0px !important;
    text-transform: uppercase;
    font-family: p22-underground, sans-serif;
	font-style: normal;
}
.page .b-scale {
    margin-top: 85px !important;
}

.page h1.entry-title {
    font-size: 46px;
    text-transform: uppercase;
    font-weight: bold;
}

.page h2.entry-title {
    text-align: center;
    font-size: 37px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 900;
}

.page-id-31 .entry-content > h2 {
    margin-top: 0;
    font-size: 37px !important;
    text-transform: uppercase;
}
.contact-form {
  background: #f8f8f8;
  overflow: hidden;
  border-radius: 6px;
  padding: 30px;
}

.page-id-31 .contact-form h2 {
  font-size: 25px !important;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
}

.contact-form input, .contact-form textarea {
    background: #fff;
    width: 100%;
    margin-top: 15px;
    font-size: 15px;
    font-weight: 300;
    font-style: normal;
    font-family: p22-underground, sans-serif;
    color: #494949;
	max-height: 87px;
}

.contact-form input[type="submit"] {
  background: #00668a;
  width: auto;
  font-weight: 700;
  color: #fff;
}

.contact-form input[type="submit"]:hover {
	background-color: #fff;
	color: #00668a;
}

.contact-form label {
  display: block;
  margin-bottom: 15px;
}

.address-row {
    background: #f8f8f8;
    overflow: hidden;
    border-radius: 6px;
    padding: 20px 20px 20px 78px;
    margin-bottom: 10px;
    font-size: 15px;
    position: relative;
}

.address-row h3 {
    font-size: 16px;
    text-transform: uppercase;
    margin: 15px auto 5px;
}

.address-row p {
    margin-bottom: 10px;
}

.address-row.tellink::before {
    content: "\f095";
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 18px;
    top: 32px;
    font-size: 24px;
    border: 1px solid #dfe9ed;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
    background: #dfe9ed;
}
.address-row.maillink::before {
    content: "\f0e0";
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 18px;
    top: 32px;
    font-size: 24px;
    border: 1px solid #dfe9ed;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
    background: #dfe9ed;
}
.address-row.addresses::before {
    content: "\f041";
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 18px;
    top: 32px;
    font-size: 24px;
    border: 1px solid #dfe9ed;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 35px;
    color: #00668a;
    background: #dfe9ed;
}

.googlemap {
    margin-top: 60px;
    overflow: hidden;
    text-align: center;
}

.page-id-31 .googlemap h2 {
    font-size: 37px !important;
    text-transform: uppercase;
    text-align: center;
}

.event-post {
    font-size: 14px;
    margin-bottom: 25px;
}

.event-post i {
    color: #A0A8AB;
}

.our-events {
    margin-top: 10px;
}

.our-events .mep_event_grid_item {
    margin: 0;
    padding: 15px;
    border: none;
    box-shadow: none;
}

.our-events .mep_event_grid_item .mep_list_event_details {
    padding: 5px 15px 15px 15px;
    box-shadow: 0 3px 0 #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-box-shadow: 0 3px 0 #ddd;
	overflow: hidden;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.mep_event_list_item .mep-list-header::before, .mep_event_grid_item .mep-list-header::before {
    display: none;
}

.mep_event_list h2.mep_list_title {
    font-size: 22px !important;
    font-weight: 600;
    padding: 15px 0;
}

.mep_event_list .mep_list_thumb {
    max-height: 180px;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.mep_event_grid_item .mep_list_thumb img {
    height: auto !important;
}

h3.mep_list_date:after {
	content: 'Find Out More';
    font-size: 14px;
    border-radius: unset;
    text-decoration: none;
    background: #00668a;
    font-family: p22-underground, sans-serif;
    font-style: normal;
    font-weight: 600;
    border: 1px solid #00668a;
    text-transform: uppercase;
    padding: 10px 25px 7px;
    color: #fff;
    display: inline-block;
}

.our-map .entry-title {
    color: #00668a;
    text-align: center;
    font-size: 50px !important;
    padding: 0 20px;
}

.our-map {
    text-align: center;
    margin-bottom: 60px;
}

.custom-pager {
    text-align: center;
    clear: both;
    width: 100%;
}

.custom-pager a {
    padding: 7px;
}

/*--------------------------------------------------------------
## Gallery CSS here 
--------------------------------------------------------------*/

.gallery-box {
    position: relative;
    overflow: hidden;
}
.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,0.2);
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
    padding: 15px;
}

.gallery-box:hover .gallery-content {background: rgba(0,0,0,0.4);}

.gallery-content h4 {margin: 0;}

.gallery-content h4 a {
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 700;
    color: #fff;
    display: block;
}

.home .our-news {
  margin-top: 0;
  padding-bottom: 60px;
  clear: both;
  overflow: hidden;
}

.page-id-3602 .our-blog .inner-box {
  background: #ff142a;
  overflow: hidden;
  color: #fff;
  margin-bottom: 30px;
  clear: both;
}

.page-id-3602 .our-blog .box-content {padding: 0px 20px 0px 0px;}

.page-id-3602 .our-news-post h4 {margin-bottom: 10px;}

.page-id-3602 .our-news-post-img {padding: 0;}

.page-id-3602 .box-content h4 a {color: #fff;}

.read-more.click-donate {
  text-align: right;
  position: relative;
  top: -20px;
}

.page-id-3602 .our-blog .read-more-blog {
  clear: both;
  text-align: right;
  margin-top: 12px;
  padding-bottom: 10px;
}

.single-blog .header-content::after, .page-id-3602 .header-content::after {
  content: "";
  background: #ff142a;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.single-blog .entry-content > h2 {color: #ff142a;}

.read-more.backtoblog {
  text-align: center;
  padding-top: 15px;
}

.blog-thumb {
  padding-bottom: 25px;
}

@media (min-width: 768px){
.blog-thumb {
  float: left;
  max-width: 50%;
  padding-right: 30px;
}

.single-blog .site-content {
  margin-top: 75px;
  margin-bottom: 60px;
}

}

/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
	
	.main-navigation {
		display: none;
	}	
	.mobile-nav,
	.btn-menu {
		display: block;
		color: #00668a;
	}	
}

@media only screen and (max-width: 1199px) {
	.woocommerce .content-area {
		width: 610px;
		padding: 60px 30px;
	}
	.content-area {
		width: 610px;
		float: left;
	}
	.masonry-layout .hentry {
		width: 283px;
	}
	.header-text {
		font-size: 42px;
	}
	.header-info {
		top: 30%;
	}
	.header-subtext {
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	.header-button {
		margin-top: 30px;
	}
	.fact .fact-number {
		font-size: 28px;
	}
	.fact .fa {
		font-size: 36px;
	}
	.fact .fact-name {
		font-size: 18px;
	}
	.has-post-thumbnail .entry-summary,
	.entry-thumb {
		width: 100%;
	}
	.entry-thumb {
		padding-right: 0;
	}
}
@media only screen and (max-width: 1024px) {
	.main-navigation,
	.header-clone,
	.large-header {
		display: none;
	}	
	.mobile-nav,
	.small-header {
		display: block;
	}
	.site-header .container {
		display: block;
	}
	.site-branding {
		margin-bottom: 15px;
	}
	.site-branding,
	.btn-menu {
		text-align: center;
		}
	.site-header.has-single,
	.site-header.has-video,
	.site-header.has-header {
		position: relative;
		background-color: #202529;
	}
    .site-header {
        position: relative !important;
    }	
	.home-wrapper section {
		background-attachment: scroll;
	}
}
@media only screen and (max-width: 991px) {
	.woocommerce .content-area,
	.content-area,
	.widget-area {
		width: 100%;
	}	
	.masonry-layout .hentry {
		width: 330px;
	}
	.header-text {
		font-size: 22px;
	}
	.header-subtext {
		font-size: 16px;
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	.header-button {
		margin-top: 20px;
	}	
	.astrid-3col {
		width: 48%;
	}
	.astrid-3col:nth-of-type(2n+1) {
		clear: left;
	}
	.astrid-3col:nth-last-of-type(3) {
		margin-bottom: 45px;
	}
	.astrid-3col:last-of-type,
	.astrid-3col:nth-last-of-type(2) {
		margin-bottom: 0;
	}
	.fact {
		width: 49%;
		margin-bottom: 45px;
	}
	.fact:nth-of-type(3) {
		clear: left;
	}
	.fact:last-of-type,
	.fact:nth-last-of-type(2) {
		margin-bottom: 0;
	}
	.multicolumn-row,
	.multicolumn-row section {
		display: block;
	}	
	section.at-2-col,
	section.at-3-col {
		width: 100%;
		display: block;
	}
	.project {
		width: 50%;
	}
	.project:nth-of-type(2n+1) {
		clear: left;
	}
	.project-title {
		font-size: 18px;
	}
	.client {
		width: 48%;
	}
	.client:nth-last-of-type(3),
	.client:nth-last-of-type(4) {
		margin-bottom: 45px;
	}
	.atblock .widget-title {
		font-size: 26px !important;
	}
	.footer-info .container {
		display: block;		
	}
	.footer-branding,
	.footer-contact {
		display: block;
		width: 100%;
		border: 0;	
		float: none;	
	}
	.site-copyright, 
	.footer-navigation {
		width: 100%;
		float: none;
		text-align: center;
		padding: 0;
	}
	.footer-navigation {
		margin-bottom: 15px;
	}
	.woocommerce .content-area,
	.hentry {
		padding: 30px;
	}	
	.site-main .comment-navigation,
	.site-main .posts-navigation,
	.site-main .post-navigation	{
		padding: 30px;
	}
}
@media only screen and (max-width: 768px) {
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
		clear: none;
	}
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: 50%;
	}
	.woocommerce ul.products li.product:nth-of-type(2n+1),
	.woocommerce-page ul.products li.product:nth-of-type(2n+1) {
		clear: left;
	}	
}
@media only screen and (max-width: 767px) {
	
.wp-block-media-text .wp-block-media-text__content {padding: 0;}
	
.wp-block-spacer {
    clear: both;
    height: 0px !important;
}
	
	.masonry-layout .hentry {
		width: 100%;
		max-width: 380px;
		margin: 0 0 15px;
	}
	.posts-layout.masonry {
		display: table;
		margin-left: auto;
		margin-right: auto;
		width: 100% !important;
		max-width: 380px;
	}
	.astrid-3col {
		width: 100%;
		margin-bottom: 30px;
	}
	.astrid-3col:nth-last-of-type(2),
	.astrid-3col:nth-last-of-type(3) {
		margin-bottom: 30px;
	}
	.fact {
		width: 100%;
	}
	.fact:nth-last-of-type(2) {
		margin-bottom: 45px;
	}
	.client:nth-last-of-type(3),
	.client:nth-last-of-type(4)	{
		margin-bottom: 30px;
	}
	.client {
		padding: 0 15px;
	}
	.footer-contact-block {
		width: 100%;
		margin-bottom: 30px;
	}
	.fluid-width-video-wrapper + #wp-custom-header-video-button {
		display: none;
	}

.our-blog .read-more-blog a {
  padding: 10px 14px 7px;
}
	
}

@media only screen and (max-width: 500px) {
	.project {
		width: 100%;
	}
	.project-title {
		font-size: 16px;
	}
	.atblock .widget-title,
	h3 {
		font-size: 20px !important;
	}	
	.astrid-2col,
	.astrid-3col {
		padding-left: 0;
		padding-right: 0;
	}
	.woocommerce .content-area,
	.hentry {
		padding: 15px;
	}
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: 100%;
	}
}

/**
** Gutenberg full align images
*/
.single .alignfull,
.single .wp-block-cover-image {
	max-width: 100vw;
	width: auto;
	margin-left: -60px;
	margin-right: -60px;
}

.mep-default-title h2, .section-heading h2 {
    font-size: 25px !important;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.single-mep_events .spring_field_banner {
	text-align: center;
	width: 100%;
}

.single-mep_events .spring_field_banner img {
	width: auto;
}

.single-mep_events .spring_field_banner_right {display: none;}

@media only screen and (max-width: 767px) {
	
.wp-block-column.wp-block-column-4 .popupaoc-button {
    top: -10px;
    float: left;
}

}

@media only screen and (max-width: 991px) {
	.single .alignfull,
	.single .wp-block-cover-image {
		max-width: 100vw;
		width: auto;
		margin-left: -30px;
		margin-right: -30px;
	}

}

@media (min-width: 768px){
	
.header-info {display: block;}

.hd-right a {margin: 4px 4px 4px 10px;}

.page h1.entry-title {font-size: 66px;}

.es-field-wrap {width: 85%;}

.our-facts .count {font-size: 70px;}

.facts-content i {font-size: 42px;}

.our-programmes-box .inner-box {min-height: 545px;}

.our-programmes-box.past-events-post .inner-box {min-height: 610px;}

.our-facts {margin-top: 45px;}

.site-content {
	margin-top: 60px;
	margin-bottom: 60px;
}

.footer-widgets .widget {margin: 15px 0;}

.footer-wrapper {padding-top: 45px;}

.footer-info {padding-bottom: 35px;}

}

@media (min-width: 992px){
	
.our-news-post .inner-box h4 {min-height: 73px;}
	
.wp-block-media-text.alignwide  .wp-block-media-text__content {
    padding-right: 0;
}

.home .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding-left: 0;
	padding-right: 8%;
	}
	
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding-left: 0;
	padding-right: 8%;
}

.hd-right {text-align: right;}

.hd-search {
    padding-left: 0;
    margin-bottom: 0;
}

#socialnav {
    float: right;
    padding-left: 0;
}

.navigation .container {
    display: block;
}

.home .wp-block-media-text h2.has-text-align-center {
    font-size: 45px !important;
}

.home .wp-block-media-text.has-media-on-the-right .has-large-font-size {
    font-size: 66px;
}

h2 {
    font-size: 66px !important;
}

.entry-content > h2 {
    font-size: 45px !important;
    margin-top: 0;
}

.our-team-staff .our-team-box {
    width: 20%;
}

.footer-widgets .widget {
	margin: 30px 0;
}

.page-id-295 .wp-block-column {
    margin-bottom: 0;
}

}

@media (min-width: 1200px){
.container {
    width: 100%;
    max-width: 1200px !important;
}
}
.ufbl-form-submit{
    font-size: 15px;
    border-radius: unset;
    text-decoration: none;
    background: #00668a;
    font-family: p22-underground, sans-serif;
    font-style: normal;
    font-weight: 600;
    border: 1px solid #00668a;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
}
.popupaoc-button {
   padding: 15px 23px;
    background: #e91e63;
    color: #fff;
    display: inline-block;
    text-decoration: none !important;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    float: right;
    position: relative;
    top: -73px; 
    font-size: 15px;
    border-radius: unset;  
    background: #00668a;
}