/*
Theme Name: WMD Theme
*/

/*html :where(img){height:inherit;max-width:none;}*/

body {
    margin: 0;
    font-family: 'Oswald', sans-serif;
}
div#transcend-consent-manager{
    opacity: 0;
}
*:not(.simulator) {
	scrollbar-width: thin;
}
html {
    background: none;
}
div#content {
    margin-top: 0;
}
/* inner pages css */
#page-content {
    background: url('https://johnnewman.co.uk/files/wp-content/themes/colourise/outoftheblue/bg.jpg') no-repeat center top #aaaaaa;
    height: 100%;
    background-size: cover;
    min-height: 700px;
}
body.about.customize-support {
    overflow-x: hidden;
}
.custom_home_cls #page-content {
    background: url('https://johnnewman.co.uk/files/wp-content/themes/colourise/fireinme/fim-bg.jpg') no-repeat center #000;
    background-size: cover;
}
body.custom_home_cls footer.footer {
    position: fixed;
    width: 100%;
    bottom: 0;
}
body.custom_home_cls {
    height: 100%;
}
.site-title a {
    color: #333;
    text-align: center;
    text-decoration: none;
    font-size: 22px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	padding: 0 10px;
}
.home #header {
    padding-top: 0 !important;
}
/* Header */
header#header {
	background: #fff;
	box-shadow: 0 0 8px 0;
	margin: 0;
	padding-top: 0;
	height: auto;
}

header .menu-item-has-children .dropdown-icon i {
	color: #fff;
}

header#header .site-title img {
	width: 250px;
	height: auto;
}
.home #navtoggle {
    display: none;
}
.header-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-flow: column;
	width: 100%;
}

.site-branding {
	margin: 10px 0;
	max-width: 250px;
	width: 100%;
}
.nav_box {
    background: #84875b;
    width: 100%;
}
nav#site-navigation {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Navigation */
#navigation ul.wp-menu{
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    width: 100%;
    justify-content: start;
    gap: 20px;
}

#navigation ul.wp-menu li {
	font-size: 17px;
	font-weight: 600;
	flex: 0 0 auto;
}

#navigation ul.wp-menu li a {
	display: block;
	padding: 15px;
	color: #fff;
	text-decoration: none;
	position: relative;
	line-height: normal;
	font-size: 16px;
}

header ul li.menu-item-has-children:hover a {
	background-color: transparent;
}

#navigation ul.wp-menu li a:hover {
	color: #fff;
}

#navigation ul.wp-menu li.menu-item-has-children, #navigation ul.nav-menu li.menu-item-has-children {
	position: relative;
}

body header ul li.menu-item-has-children ul {
	display: none;
	list-style: none;
	position: absolute;
	left: 0;
	top: 100%;
	background: #333;
	min-width: 200px;
	z-index: 1000;
	padding: 0;
	margin-top: 0;
}

.sub-menu li a {
	display: block;
	padding: 10px 15px;
	color: #fff;
	text-decoration: none;
}

#navigation ul.wp-menu li .sub-menu a:hover {
	color: #ffffff;
	background: #444;
}

#navigation ul.wp-menu li .sub-menu a {
	color: #ffffff;
}

#navigation span.dropdown-icon {
	position: absolute;
	top: 20px;
	right: -4px;
	width: 15px;
	height: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}

.menu-item-has-children.active>a::after {
	transform: rotate(180deg);
}

/* Content Body */
.content_body blockquote {
	padding: 60px 40px;
	background: #dbeef4;
	border-left: 5px solid #111;
	position: relative;
	margin: 20px auto;
	font-style: italic;
	quotes: "“""”""‘""’";
}

.content_body blockquote::before,
.content_body blockquote::after {
	position: absolute;
	font-size: 3em;
	color: #111;
	font-family: serif;
	line-height: 1;
	z-index: 1;
}

.content_body blockquote::before {
	content: open-quote;
	top: 20px;
	left: 20px;
}

.content_body blockquote::after {
	content: close-quote;
	bottom: 20px;
	right: 20px;
}

.content_body blockquote p {
	display: inline;
	color: #1d1d1d;
	position: relative;
	z-index: 2;
}

.content_body ul,
.content_body ol {
	padding-left: 20px;
}

.content_body ul {
	list-style: disc;
}

.content_body ul li,
.content_body ol li {
	font-size: 16px;
	margin-bottom: 6px;
	line-height: 24px;
}

.content_body ol li::marker,
.content_body ul li::marker {
	font-weight: 600;
}

.content_body .campaign-list-item_key-features ul {
	padding-left: 0;
}

body .campaign-list-item {
	box-sizing: border-box;
}

.content_body .campaign-list-item_key-features ul li {
	list-style: none;
}

body a.campaign-list-item_cta-btn {
	color: #fff;
	background: #84875b;
}

body a.campaign-list-item_cta-btn:hover {
	background: #676947;
}

body .campaign-shortcode-table ul {
	padding-left: 5px;
}

.content_body a {
	color: #84875b;
	font-weight: 600;
}
.footer-copyright-area .widget_block {
    color: #fff;
}
.content_body tr,
.content_body th,
.content_body td {
	font-size: 16px;
	line-height: 20px;
}

.content_body table td {
  text-align: left;
}
.content_body table tr td, .content_body table tr th {
    border: 1px solid #000;
    padding: 10px;
    font-size: 16px;
}
.content_body pre {
	display: block;
	padding: 9.5px;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.42857143;
	word-break: break-all;
	word-wrap: break-word;
	color: #333;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.content_body dl {
	margin: 20px 0;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #f9f9f9;
	font-size: 16px;
	color: #333;
}

.content_body dt {
	font-weight: bold;
	margin: 10px 0 5px;
	padding: 10px;
	background-color: #eee;
	border-bottom: 1px solid #ddd;
}

.content_body dd {
	margin: 0 0 10px 20px;
	padding: 10px;
	border-left: 2px solid #ddd;
	background-color: #fff;
}

.content_body p,
.content_body ul li,
.content_body ol li,
.content_body h1,
.content_body h2,
.content_body h3,
.content_body h4,
.content_body h5,
.content_body h6 {
	color: #000000;
}

.content_body p {
	font-size: 16px;
	margin-bottom: 12px;
	margin-top: 5px;
	line-height: 25px;
}

.content_body p+div {
	margin-bottom: 10px;
}

.content_body h1 {
	font-size: 36px;
	line-height: 45px;
}

.content_body h2 {
	font-size: 30px;
	line-height: 40px;
}

.content_body h3 {
	font-size: 25px;
	line-height: 35px;
}

.content_body h4 {
	font-size: 22px;
	line-height: 30px;
}

.content_body h5 {
	font-size: 20px;
	line-height: 28px;
}

.content_body h6 {
	font-size: 18px;
	line-height: 24px;
}

.content_body h1,
.content_body h2,
.content_body h3,
.content_body h4,
.content_body h5,
.content_body h6 {
	margin: 15px 0 10px;
	text-transform: inherit;
	text-align: left;
}

.content_body b,
.content_body strong {
	font-weight: bold;
}

.aligncenter {
	display: block;
	margin: auto;
}

/* Button */
a.su-button {
	background: #6c703f;
	padding: 15px 25px;
	color: #fff !important;
	border-radius: 25px;
}

.su-button-center {
    text-align: center;
    margin: 20px 0 !important;
    display: inline-block;
    width: 100%;
}
/* Author Box */
.modifyDetails {
	background: #F2F2F2;
	border-radius: 20px;
	padding: 10px;
	margin-bottom: 20px;
}

.custom_author_info {
	color: #000;
}

.author_imag img {
	width: 60px;
	min-width: 60px;
	height: 60px;
	border-radius: 100%;
	object-fit: cover;
}

.custom_top_author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 0;
	font-size: 16px;
}

.author_imag {
	line-height: 0;
}

.name_author_out {
	display: flex;
	margin-bottom: 10px;
}

.name_author_out span.lbl {
	margin-right: 5px;
	font-weight: 600;
}

.name_author_out a {
	color: inherit;
	text-decoration: underline;
}

/* Author Page */
.header-profile-details h2 {
	font-size: 30px;
	margin: 0;
}

.profile-header-container {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header-avatar-container img {
	width: 75px;
	height: 75px;
	object-fit: cover;
	padding: 0;
	border: 0;
}

.profile-fields-group.profile-fields-group-1 {
	border: 1px solid #eee;
	margin: 1.5rem 0 0;
	padding: 15px 20px;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
}

.profile-fields-group.profile-fields-group-1 h3 {
	margin: 0 0 10px;
}

.author-f-name,
.author-description-name {
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
}

.author-description-name {
	margin-top: 20px;
}

.author-f-name .label,
.author-description-name .label {
	font-weight: 600;
}

.content_body .name_author_out p {
	margin-bottom: 0;
}

/* Footer */
.footer {
	padding: 20px 10px;
	background: #130417;
	text-align: center;
}

p.footer__copyright-info a {
	color: #fff;
}

.footer .footer__copyright-info {
	margin: 0;
	font-size: 15px;
	font-weight: 400 !important;
}

.optanon-alert-box-wrapper.hide-cookie-setting-button,
div#optanon {
	display: none !important;
}

p.footer__copyright-info {
	color: #fff;
}

.header__top,
header .header-inner {
	height: 0;
}

header .header-inner {
	padding: 0;
	border: none;
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) {
	.menu-item-has-children:hover>.sub-menu {
		display: block;
	}

	#navigation ul.wp-menu li.menu-item-has-children>.sub-menu, #navigation ul.nav-menu li.menu-item-has-children>.sub-menu {
		display: none;
	}

	#navigation ul.wp-menu li.menu-item-has-children.active>.sub-menu, #navigation ul.nav-menu li.menu-item-has-children.active>.sub-menu {
		display: block;
	}

	.content_body h1 {
		font-size: 32px;
		line-height: 40px;
	}

	.content_body h2 {
		font-size: 28px;
		line-height: 36px;
	}

	.content_body h3 {
		font-size: 22px;
		line-height: 30px;
	}

	.content_body h4 {
		font-size: 20px;
		line-height: 28px;
	}

	.content_body h5 {
		font-size: 18px;
		line-height: 26px;
	}

	.content_body h6 {
		font-size: 16px;
		line-height: 22px;
	}

	.content_body .su-button span {
		padding: 5px 20px !important;
	}
}

@media (min-width: 992px) {
	.content_body table {
		display: table;
		width: 100%;
		border-collapse: collapse;
		margin: 20px 0;
	}

	.main-header .menu-item-has-children:hover>.sub-menu {
		display: block;
	}

	#navigation ul.wp-menu>li:last-child>.sub-menu, #navigation ul.nav-menu>li:last-child>.sub-menu {
		right: 0;
		left: auto;
	}

	.wp-menu>li:last-child .sub-menu .sub-menu, .nav-menu>li:last-child .sub-menu .sub-menu {
		left: auto;
		right: 100%;
	}

	.main-header .wp-menu>li:hover>a,
	.main-header .wp-menu>li:hover::after {
		color: #ed1c24;
	}
}

@media only screen and (max-width: 991.98px) {
	.container {
		width: auto;
	}

	#navigation ul.wp-menu li a:hover {
		color: #fff;
	}

	#navigation .nav-menu li {
		width: 100%;
		text-align: left;
		font-weight: 600;
		position: relative;
	}

	#navigation .nav-menu li a {
		display: block;
		padding: 11px;
		color: #fff;
		text-decoration: none;
	}
	
	#navigation ul.wp-menu li {
		width: 100%;
		text-align: left;
	}

	.logo_box {
		max-width: 200px;
	}

	.nav_box {
		background: transparent;
		color: #fff;
		position: unset;
		width: calc(100% - 200px);
		justify-content: end;
		text-align: right;
		display: flex;
	}

	.header-section {
		position: relative;
		flex-flow: row;
	}
	.nav_box {
		background: transparent;
		width: auto;
	}
	#navigation.active ul.wp-menu, #navigation .nav-menu.toggled-on {
		display: block;
	}

	.content_body table {
		display: block;
		width: 100%;
		overflow-x: auto;
		border-collapse: collapse;
	}

	.menu-item-has-children>a::after {
		position: absolute;
		right: 15px;
	}

	#navigation ul.wp-menu li a,
	header .menu-item-has-children .dropdown-icon i {
		color: #ffffff;
	}

	#navigation ul.wp-menu,  #navigation .nav-menu {
		list-style: none;
		margin: 0;
		padding: 0 10px;
		display: none;
		flex-direction: column;
		background: #1b261e;
		position: absolute;
		right: 0;
		width: 100%;
		gap: 0;
		border-top: 1px solid #fff;
		z-index: 99;
		top: 100%;
	}

	#navigation span.dropdown-icon {
		right: 0;
	}

	ul.sub-menu {
		position: relative;
		width: 90%;
		left: 28px;
		background: transparent;
	}

	button#mobile-menu-toggle {
		display: block !important;
		background: #000000;
		color: #ffffff;
		font-size: 20px;
		padding: 8px 10px 9px;
	}

	#mobile-menu-toggle span.menu-icon {
		font-size: 30px;
	}

	#navigation ul.wp-menu li .sub-menu, #navigation ul.nav-menu li .sub-menu {
		position: relative;
		width: 100%;
		left: 0;
		background: #444;
	}

	#navigation ul.wp-menu li .sub-menu li a {
		color: #fff;
	}

	#navigation ul.wp-menu li.menu-item-has-children.active>.sub-menu, #navigation ul.nav-menu li.menu-item-has-children.active>.sub-menu {
		display: block;
	}

	.content_body table td {
		white-space: nowrap;
	}
}