/*
Theme Name: MBWeb (FSE)
Theme URI: 
Author: MBWeb
Author URI: https://web.michaelbell.co.uk/
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mbweb
Tags: 
*/

.rtl .wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container {
	right: auto;
}

header .wpml-lang-select { 
	max-width: 82px;
}

.wp-block-read-more {
	background: var(--wp--preset--color--teal);
    border-color: var(--wp--preset--color--teal) !important;
    border-width: 2px;
    border-style: solid;
    border-top-color: currentColor;
    border-top-width: 1px;
    border-top-style: solid;
    border-right-color: currentColor;
    border-right-width: 1px;
    border-right-style: solid;
    border-bottom-color: currentColor;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-left-color: currentColor;
    border-left-width: 1px;
    border-left-style: solid;
    color: currentColor;
    padding-top: .667em;
    padding-right: 1.33em;
    padding-bottom: .667em;
    padding-left: 1.33em;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 2em;
    font-size: var(--wp--preset--font-size--medium);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.wp-block-read-more:after {
        content: '';
        margin-left: 0.4em;
        position: relative; 
        height: 19px;
        width: 19px;
        display: inline-flex;
        transition: background-image 0.2s ease;
        background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4958 5.10437V12.1754C14.5179 12.7279 14.0539 13.1919 13.5014 13.1698C12.949 13.1919 12.485 12.7279 12.5071 12.1754V7.53505L5.74536 14.2968C5.34761 14.6945 4.7068 14.6724 4.33115 14.2968C3.9334 13.899 3.9334 13.2803 4.33115 12.8825L11.0929 6.12083L6.43037 6.09874C5.87794 6.12083 5.4139 5.65679 5.436 5.10437C5.4139 4.55194 5.87794 4.0879 6.43037 4.11H13.5014C14.0539 4.0879 14.5179 4.55194 14.4958 5.10437Z' fill='%23051C2C'/%3E%3C/svg%3E%0A");
    }
    
.wp-block-read-more:hover {
        background-color: var(--wp--preset--color--teal-hover) !important;
        border-color: var(--wp--preset--color--teal-hover) !important;
        color: var(--wp--preset--color--navy);
    }

.marquee img {
	margin-left: clamp( var(--wp--preset--spacing--40), 6.25vw, var(--wp--preset--spacing--80) );
	margin-right: clamp( var(--wp--preset--spacing--40), 6.25vw, var(--wp--preset--spacing--80) );
}

.gform_wrapper .gfield textarea.textarea {
    border-radius: 26px !important;
}
.gform_button, .gform_next_button, .gform_previous_button {
    background-color: var(--gf-ctrl-btn-bg-color-primary) !important;
	color: var(--gf-ctrl-btn-color-primary) !important;
	font-size: var(--wp--preset--font-size--medium) !important;

}

.tab table tr th {
	background-color: rgba(0,0,0,0.3);
}
.wp-block-table td, .wp-block-table th {
    border-color: rgba(255,255,255,0.3);
}
.wp-block-table thead {
	border-bottom: 0;
}
.wp-block-table tbody tr:nth-child(odd) td {
	background-color: rgba(255,255,255,0.06);
}
header select,
footer select {
  color-scheme: light;
  color: #ffffff !important;
  background-color: var(--wp--preset--color--navy) !important;
}

header select option,
footer select option {
  color: #ffffff !important;
  background-color: var(--wp--preset--color--navy) !important;
}

.entry-content>div.wp-block-cover:first-child:after {
    background: linear-gradient(90deg, #03131D 40%, rgba(3, 19, 29, 0) 100%) !important;
}

.wp-block-image {
	position: relative;
}
.wp-block-image .wp-element-caption {
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0.75em 1em;
    background-color: rgba(5, 28, 44, 0.60);
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    color: white;
}

.wp-block-categories-list {
	flex-wrap: wrap !important;
	display: flex;
    list-style: none;
    padding: 0;
    gap: var(--wp--preset--spacing--40);
}
.wp-block-categories-list .cat-item {
	width: auto !important;
	
}
.wp-block-categories-list .cat-item a {
	background-color: transparent;
	color: var(--wp--preset--color--navy);
	border: 1px solid var(--wp--preset--color--navy);
}
.wp-block-categories-list .cat-item.current-cat a {
	background-color: var(--wp--preset--color--navy) !important;
	color: var(--wp--preset--color--white) !important;
}
p.back-to-news-events a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.2em;
}
p.back-to-news-events a:after {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 19 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4958 5.10437V12.1754C14.5179 12.7279 14.0539 13.1919 13.5014 13.1698C12.949 13.1919 12.485 12.7279 12.5071 12.1754V7.53505L5.74536 14.2968C5.34761 14.6945 4.7068 14.6724 4.33115 14.2968C3.9334 13.899 3.9334 13.2803 4.33115 12.8825L11.0929 6.12083L6.43037 6.09874C5.87794 6.12083 5.4139 5.65679 5.436 5.10437C5.4139 4.55194 5.87794 4.0879 6.43037 4.11H13.5014C14.0539 4.0879 14.5179 4.55194 14.4958 5.10437Z' fill='%23051C2C'/%3E%3C/svg%3E%0A");
	height: 19px;
	width: 19px;
	display: inline-flex;
}

@media (max-width: 991.98px) {
  .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    display: none !important;
    position: static !important;
  }
  .wp-block-navigation .has-child .wp-block-navigation__submenu-container.is-open {
    display: block !important;
  }
  .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle {
    display: flex !important;
	  
	  
	position: absolute;
    height: 24px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    background-image: none !important;
  }
	.wp-block-navigation .wp-block-navigation__submenu-icon {
		width: 14px;
	}
  .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle svg {
    width: 14px;
    height: 14px;
	  display:none;
  }
}


.current-menu-item, .wp-block-navigation-item__content:hover {
    color: #8EA0CD !important;
}

.is-content-justification-space-between.space-between-center > div {
	flex-grow: 1;
}
.footer-fixed-text {
	z-index: 998 !important;
}
.header {
	z-index: 999 !important;
}
@media (max-width: 575.98px) {
.history [data-aos] {
	flex-wrap: wrap !important;
	padding-left; 2em;
}
.history .date + div {
	padding-left: 84px;
}
}

.date-terms {
	color: #bac1c9 !important;
}