/* separate buttons */
.btn-base {
	margin-bottom: 10px;
}

/* de-crowd FAQs on mobile view */
.info-blocks__item {
	padding: 20px 10px;
    height: fit-content;
}

/* overwrite height for scaleable images */
img {
	height: auto 
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 15px;
}

.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 15px;

}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.header .current_page_item > a, .header .current-post-ancestor > a, .header .current-menu-item > a,
.header .current-page-ancestor > a, .header .current-menu-ancestor > a, .header .current-menu-parent > a
{ color: #145a4f !important; }

.footer .current_page_item > a, .footer .current-post-ancestor > a, .footer .current-menu-item > a,
.footer .current-page-ancestor > a, .footer .current-menu-ancestor > a, .footer .current-menu-parent > a
{ text-decoration: underline !important; }

.wpcf7-not-valid-tip { display:none !important; }
.wpcf7-response-output { margin:15px 0 0 0 !important; text-align:center; }
.wpcf7-not-valid { border: 1px solid #C00 !important; }
.es_subscription_message { width: 100%; display: block; text-align: center;}

.page-404 { text-align: center; }
.pt_no { padding-top: 0 !important;  }
.pb_no { padding-bottom: 0 !important;  }
.no-found { text-align: center; display: block; width: 100%; padding-top: 50px; font-size: 38px; }

.header__logo {
    padding-right: 50px!important;
	min-width: 250px;
}

.header-search{
	width: 35px;
}

.header__menu>li:lang(cy){
	margin-right: 18px;
}

.header__menu>li:lang(cy):last-child {
    margin-right: 0;
}

.header-search:lang(cy){
	margin: 0 1.3rem 0 2.5rem;
}

.header__menu>li a:lang(cy){
	font-size: 1.6rem;	
}

.header__main .btn-base--size-medium:lang(cy){
	font-size: 1.6rem;
	padding: 5px 3rem;
}

.top-promo__title:lang(cy){
	margin-right: 0;
}

.section-head{
	z-index: 100;
}

.selectize-dropdown{
	overflow: scroll;
}

@media (max-width:1200px){
	.header__menu>li{
		margin-right: 25px;
		
	}
	.header__menu>li a{
		font-size: 1.4rem;	
	}
	.header__main .btn-base--size-medium{
		font-size: 1.4rem;
		padding: 5px 2rem;
	}
	.header-search{
		margin: 0 1.3rem 0 2.5rem;
	}
	
	.header__menu>li:lang(cy){
		margin-right: 12px;
	}
	.header-search:lang(cy){
		margin: 0 1.3rem 0 2.5rem;
	}
	.header__menu>li a:lang(cy){
		font-size: 1.2rem;	
	}
	.header__main .btn-base--size-medium:lang(cy){
		font-size: 1.2rem;
		padding: 5px 2rem;
	}
	.top-promo__title{
		font-size: 5.6rem;
		line-height: 6rem;
	}
	.top-promo__img__inner{
		width: 90%;
		padding-bottom: 90%;
	}
	.bg-figure-5--pos-1{
		width: 12.5rem;
    	height: 12.5rem;
		right: 40%;
		top: 22rem;
	}
}

@media (max-width:992px){
	.bg-figure-5--pos-1{
		width: 14.5rem;
    	height: 14.5rem;
		right: 95%;
		top: 11.5rem;
	}
}

@media (max-width:768px){
	.btn-base{
		line-height: 2.1rem;
	}
}

@media (max-width:568px){
.top-promo__title{
		font-size: 3.6rem;
    	line-height: 5rem;
	}
}
/* Hallmark Grid CSS */

.section-hallmark-grid {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.tile-purple {
	background-color: #A43561;
	color: white;
	opacity: 0.9;
}

.tile-grey {
	background-color: #333333;
	color: white;
	opacity: 0.9;
}

.tile-orange {
	background-color: #145a4f;
	color: white;
	opacity: 0.9;
}

.tile-green {
	background-color: #1A7365;
	color: white;
	opacity: 0.9;
}

.tile-white {
	background-color: white;
	color: #333333;

}

.tile-grid-container {
	display: flex;
	width: 100%;
	flex-wrap: wrap;

}

.tile-wrapper {
	border-radius: 20px;
	width: 32%;
	margin-bottom: 2rem;
	padding: 3rem;
	height: 400px;
	display: flex;
	/* align-items: center; */
	justify-content: center;
	flex-direction: column;
	transition: 0.3s ease-in-out;
}

.tile-green:hover, .tile-purple:hover, .tile-grey:hover, .tile-orange:hover  {
	box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
	
	transition: 0.2s ease-in-out;
	opacity: 1;
	
}

.tile-wrapper a {

	font-size: 15px;
	color: white;
	font-weight: bold;
}



.tile-wrapper h5 {
	line-height: 3.7rem;
}

.tile-wrapper:nth-child(3n-2) {
	margin-right: 1%;
}

.tile-wrapper:nth-child(3n){
	margin-left: 1%;
}

.hallmark-link svg {
	position: relative;
	left: 25px;
	top: 4px;
	transition: 0.2s ease-in-out;
	
}

.tile-wrapper:hover .hallmark-link svg {
left: 30px;
transition: 0.2s ease-in-out;
}



.hallmark-link {
	text-transform: uppercase;	
	transition: 0.3s ease-in-out;
}


.title-wrapper .ui-wysiwyg a, a:hover, abbr[title] {
	text-decoration: none;
}

.tile-header {
	position: relative;
}

.center-tile {
	border: solid 1px #333333;
	display: flex;
	justify-content: center;
	text-align: center;
	}


.center-tile h5 {
	width: 90%;
	margin: 0 auto;
}

.center-tile img {
	width: 140px;
	margin: 0 auto;
}



@media (max-width: 1000px) {
	.tile-wrapper {
		width: 100%;
		margin: 0;
		height: 90px;
		margin-bottom: 1rem;
		padding: 1rem 1.5rem;
		}

	.tile-wrapper:nth-child(3n) {
		margin-left: 0;
	}

	.tile-wrapper:nth-child(3n-2) {
		margin-right: 0;
	}


	.tile-wrapper h5 {
		font-size: 20px;
		line-height: 26px;
		margin: 0;
	}

	.hallmark-link {
		display: none;
	}

	.title-container {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.title-container h5 {
		width: 90%;

		}


	
	.title-container svg {
		display: block;
		margin-left: 5px;
		margin-right: 5px;
	}

	.center-tile {
		display: none;
	}

	.mobile-header {
		display: block;
	}

	.mobile-tile-img {
		display: block;
		padding: 2rem;
	}
	
}

@media (min-width: 1000px) {
	.title-container svg {
		display: none;
	}

	.mobile-header {
		display: none;
	}

	.mobile-tile-img {
		display: none;
	}
}


.theme__orange .news__item .link-more .icon-arrow-long-right {
	stroke: #145a4f;
}

.theme__burgundy .news__item .link-more .icon-arrow-long-right {
	stroke: #8d2e53;
}

.theme__grey .news__item .link-more .icon-arrow-long-right {
	stroke: #333333;
}

.theme__aqua .news__item .link-more .icon-arrow-long-right {
	stroke: #1a7365;
}


/* New search - 21/07/2022 */


.is-search-form {
	/* position: absolute;
    top: 50%;
    right: 0; */
    /* height: 4.5rem; */
    /* -ms-transform: translateY(-50%);
    transform: translateY(-50%); */
    display: block;
    padding: 0;
    width: 40vw;
    overflow: hidden;
    transition: all .3s;
	margin-right: 2rem;

}

@media screen and (max-width: 500px) {
	.is-search-form {
		width: 60%;
	}
}

.is-search-input {
	height: 100%;
    width: 100%;
    padding: 0 4rem 0 15px;
    border: none;


	transition: ease-in-out .3s;
	border-top: none!important;


}

.header__lang {
	align-items: center;

}
.is-form-style.is-form-style-3 input.is-search-input {
	border-top-left-radius: 40px;
	border-bottom-left-radius: 40px;
}

.is-form-id-3915 .is-search-submit:focus, .is-form-id-3915 .is-search-submit:hover, .is-form-id-3915 .is-search-submit, .is-form-id-3915 .is-search-icon{

	border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    padding-right: 3px;
    border: none;
	cursor: pointer;

}

.is-ajax-search-result {

	border-radius: 10px!important;
    box-shadow: 4px 4px 4px rgb(0 0 0 / 5%)!important;

}

/* New search END HERE ---- */


/* New newsletter - Mailchimp forms */

#mc_embed_signup {
	margin: 0 auto;
}

#mc_embed_signup_scroll{
	display: flex;
}

.mc-field-group input[type="email"] {
	background-color: #FAFAFA;
	border: none;
	height: 54px;
    padding: 5px 35px;
	border-top-left-radius: 40px;
	border-bottom-left-radius: 40px;
	width: 40vw;
	font-size: 14px;
	line-height: 16px;
}

#mc-embedded-subscribe {
	background-color: #145a4f;
	height: 54px;
    padding: 5px 35px 5px 28px;
	color: white;
	font-weight: bold;
	font-size: 14px;
	border-top-right-radius: 40px;
	border-bottom-right-radius: 40px;
	cursor: pointer;
	position: relative;
	transition: .25s;
    transition-property: all;
    transition-duration: 0.25s;
    transition-timing-function: ease;
    transition-delay: 0s;
	
}
#mc-embedded-subscribe:hover {
	background-color: #2d902d;
	transition: .25s;
    transition-property: all;
    transition-duration: 0.25s;
    transition-timing-function: ease;
    transition-delay: 0s;
 }

 .footer__subscribe .mc-field-group input[type="email"] {
	height: 54px;
    padding: 5px 35px;
	border-top-left-radius: 40px;
	border-bottom-left-radius: 40px;
 }

 .footer__subscribe #mc-embedded-subscribe {
	padding: 5px 20px 5px 18px;
 }

 @media screen and (max-width: 500px) {
	/* .footer__subscribe .mc-field-group input[type="email"] {
	} */
}


/* New newsletter - Mailchimp forms END */


.searchandfilter div ul{
	padding-inline-start: 0;
}

.searchandfilter .selectize-input{
	min-width: 240px;
}

.searchandfilter div ul li input{
	border: 2px solid #333333;
    border-radius: 27px;
    height: 5.4rem;
    padding-left: 25px;
    padding-right: 25px;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.searchandfilter div ul li input[type=submit]{
	height: 5.4rem;
	border: 2px solid #145a4f;
    background: #145a4f;
    color: #fff;
	text-transform: uppercase;
    line-height: 2.1rem;
    padding: 5px 4.5rem;
    border-radius: 40px;
	cursor: pointer;
	transition: 0.2s ease-in-out;
}

.searchandfilter div ul li input[type=submit]:hover {
	background: #2d902d;
	transition: 0.2s ease-in-out;
}


.section-top-bar a{
	height: 5.4rem;
	border: 2px solid #145a4f;
	background: #145a4f;
	color: #fff;
	text-transform: uppercase;
	line-height: 2.1rem;
	padding: 15px 4.5rem;
	border-radius: 40px;
	font-weight: 600;
	font-family: sans-serif;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
	transition: 0.2s ease-in-out;
}

.section-top-bar a:hover {
	transition: 0.2s ease-in-out;
	background: #2d902d;
}

input[type="email"]::placeholder {
	  color: grey;
	  opacity: 1; /* Firefox */
}
	
input[type="text"]::placeholder {
	  color: grey;
	  opacity: 1; /* Firefox */
}

/* correcting the modal nav layout on mobile view */

@media (max-width: 500px) {
	.mobile-menu .header__menu {
		min-height: 400px;
    	padding-top: 60px;
	}
	.mobile-menu .btn-base {
		margin: 30px 0px;
	}
}

