/*
Theme Name: devdmbootstrap4-child
Theme URI: https://devdmbootstrap.com
Author: Danny Machal
Author URI: http://devdm.com/
Description: A devdmbootstrap4 child theme bundled with the entire scss components for customization.
Version: 1.72
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: devdmbootstrap4
*/

/* CSS Document */

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: Inter, Arial, sans-serif;
    margin-bottom: 60px; /* Margin bottom must equal footer height */
}

/* Fonts */

/* New icons to replace Font Awesome with Icon Moon */

@font-face {
    font-family: 'icomoon';
    src:  url('assets/fonts/icomoon.eot?yjmcse');
    src:  url('assets/fonts/icomoon.eot?yjmcse#iefix') format('embedded-opentype'),
      url('assets/fonts/icomoon.ttf?yjmcse') format('truetype'),
      url('assets/fonts/icomoon.woff?yjmcse') format('woff'),
      url('assets/fonts/icomoon.svg?yjmcse#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-phone:before {
    content: "\e942";
  }
  .icon-envelop:before {
    content: "\e945";
  }
  .icon-stop2:before {
    content: "\ea1e";
  }
  .icon-checkbox-unchecked:before {
    content: "\ea53";
  }
  .icon-radio-unchecked:before {
    content: "\ea56";
  }

.icon-cheveron-right:before {
  content: "\e901";
}
.icon-minus:before {
  content: "\ea0b";
}
  .icon-paragraph-justify:before {
    content: "\ea7a";
  }
  .icon-facebook:before {
    content: "\ea90";
  }
  .icon-instagram:before {
    content: "\ea92";
  }
  .icon-whatsapp:before {
    content: "\ea93";
  }
  .icon-twitter:before {
    content: "\ea96";
  }
  .icon-youtube:before {
    content: "\ea9d";
  }
  .icon-linkedin2:before {
    content: "\eaca";
  }
  .icon-pinterest2:before {
    content: "\ead2";
  }

h1, h2, h3, h4, h5, h6, p, li {
    font-family: Inter, Arial, sans-serif;
}

strong {
	font-weight: 700;
}

/********** DESKTOP STYLES **********/

/* Desktop logo and header strap line */

.desktop-logo {
    margin-bottom: 0px;
	width: 160px;
}

.navbar-brand {
    font-size: 2.1rem; /* required to align strapline to bottom of logo */
}

.header-strapline {
    font-size: 16px;
    color: #005194;
}

/* Header telephone */

.header-tel, .header-tel:hover {
    color: #005194;
	text-decoration: none;
    font-size: 26px;
    font-weight: 700;
}

/* Desktop main menu navbar */

.bg-light {
    background-color: #005194 !important;
}

.navbar.navbar-expand-lg {
    border-radius: 5px;
    padding: 8px 0 10px 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 0 2px 0;
    color: #fff;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: #fff;
}

ul#menu-top-menu-1 li {
    margin-right: 20px;
}

ul#menu-top-menu-1 li:last-child {
    margin-right: 10px;
}

.navbar-expand-lg li.current-menu-item > a.nav-link,
.navbar-expand-lg li.current_page_parent > a {
    color: #fff;
    font-weight: 700;
	border-bottom: 1px solid #fff;
}

/* Desktop sub menu navbar */

#custom-sub-menu {
    margin-left: 15px;
}

.menu-sub-navigation {
    display: none;
}

.menu-sub-navigation.show {
    display: block;
}

ul.menu-sub-navigation li a {
    font-size: 15px;
    color: #005194;
}

ul.menu-sub-navigation .list-inline-item:not(:last-child) {
    margin-right: 15px;
}

ul.menu-sub-navigation li a:hover {
    color: #005194;
    text-decoration: none;
}

ul.menu-sub-navigation li.current-menu-item a {
    font-weight: 700;
	padding-bottom: 2px;
    border-bottom: 1px solid #005194;
}

/********* MOBILE HEADER **********/

.mobile-logo {
	width: 140px;
}

/* Mobile menu hamburger icon */

.navbar-toggler {
    background-color: #005194;
    border-radius: 10px;
	padding: 0 24px;
	background-image: url("https://janew.paramarq.co.uk/wp-content/uploads/2024/01/chartered-accountants-london.svg");
	background-position: center; /* Center the image */
    background-repeat: no-repeat;
}

.navbar-light .navbar-toggler {
    color: #fff;
	height: 48px;
	border-color: #005194;
}

/* Mobile phone icon */

.btn-custom-phone {
    font-size: 17px;
    font-weight: 700;
    background-color: #C4E5FE;
    border: 1px solid #1E70EB;
    border-radius: 10px;
    height: 48px;
	padding-left: 15px;
    padding-right: 15px;
}

.btn-custom-phone a {
    color: #005194;
    text-decoration: none;
}

.btn-custom-phone a:hover,
.btn-custom-phone a:focus, 
.btn-custom-phone a:active {
    color: #fff !important;
    text-decoration: none;
}

.btn-custom-phone:hover,
.btn-custom-phone:focus {
    background-color: #1E70EB;
}

/* Mobile menu */

.dropdown-menu {
    display: none !important;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-menu {
    border: none;
    text-align: left !important;
}

header.mobile-header .navbar .navbar-brand {
    padding-left: 1rem;
}

header.mobile-header .navbar button.navbar-toggler {
    margin-right: 1rem;
}

#navbarCollapse {
    background-image: linear-gradient(#F4F7F9, #fff 35%);
}

#navbarCollapse ul {
    width: 95%;
    margin: 0 auto;
}

#navbarCollapse ul li {
    
}

#navbarCollapse .navbar-nav .nav-link {
    color: #005194;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #aaa;
}

.navbar-collapse ul li.current-menu-item > a.nav-link {
    color: #005194;
	font-weight: bold;
    background-color: #EAF5FF;
}

#navbarCollapse ul li a {
    padding-left: 1rem;
}

#navbarCollapse .navbar-nav a[aria-expanded="true"] {
    background-color: #EAF5FF;
}

#navbarCollapse .dropdown-menu .dropdown-item {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #005194;
}

#navbarCollapse .dropdown-menu.show a {
    padding-left: 1em;
    padding-right: 0;
    margin-left: 1rem;
    margin-right: 1rem;
    border-bottom: 1px solid #aaa;
}

#navbarCollapse .dropdown-menu a.current-menu-item {
    font-weight: bold;
    background-color: #EAF5FF;
}

#navbarCollapse .dropdown-menu.show a:last-child {
   border-bottom: none;
}

#navbarCollapse .dropdown-item {
    width: 95%
}

/* Header strapline mobile */

.header-strapline-mobile {
    display: block;
	padding-left: 1rem;
    font-size: 17px;
    font-weight: 400;
    color: #005194;
	width: 100%;
	max-width: 991px;
}

/*.dropdown-toggle::after {
    border-top: .5em solid;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
	margin-left: .5em;
    vertical-align: .155em;
}*/

/* Sidebar top*/

.mw250 {
	max-width: 250px;
}

/* Sidebar featured image */

.sidebar-featured-image {margin-bottom: 10px;}

.sidebar-featured-image img.rounded {
    border-radius: 8px !important;
}

@media (min-width: 992px) {
	.sidebar-featured-image {
		margin-bottom: 20px;
		margin-top: 20px;
	}
}

.business-award {
	padding: 15px;
	background-color: #efefef;
}

.rplg .rplg-badge2 {
    margin: 10px 0px 0 0!important;
}

/* Left sidebar in mobile view */

.left-sidebar-top-mobile {
    width: 95%;
    margin: 25px auto 10px auto;
    padding: 15px 5px;
    border-top: 1px solid #C8CCCF;
}

.left-sidebar-middle-mobile {
    width: 95%;
    margin: 25px auto 10px auto;
    padding: 15px 5px;
    border-top: 1px solid #C8CCCF;
}

@media @media (min-width: 992px) {
	.probate-logo {
	max-width: 300px;
	}
}

/* Right sidebar form alignment */

@media (min-width: 992px) {
	.dmbs-widget {
		margin-bottom: 0;
	}
	
}

/* Content area */

#maincontent {
    margin-top: 15px;
}

@media (min-width: 992px) {
    #maincontent {
        margin-top: 35px;
    }
}

/* Text */

h1, h2, h3, h4, h5 {
    color: #005194;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    color: #005194;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover,
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus {
    color: #1e70eb;
}

h1 {
    font-size: 30px;
    line-height: 34px;
	font-weight: 700;
}

h2 {
    font-size: 22px;
    line-height: 22px;
	font-weight: 500;
}

h3 {
    font-size: 16px;
    line-height: 22px;
	font-weight: 500;
}

h4, h5, h6 {
    font-size: 12px;
    line-height: 22px;
	font-weight: 700;
}

article p, article li, .team-text a {
    font-size: 16px;
    line-height: 22px;
    color: #002542;
	font-weight: 400;
}

article p.lead {
    font-size: 18px;
    line-height: 26px;
}

article ul li {
	margin-top: 8px;
}

article h2 {
    background: linear-gradient(to bottom, #F0F8FB, #fff) no-repeat bottom;
	border-top: 1px solid #C8CCCF;
    padding: 15px 10px 40px 10px;
    margin-bottom: -20px;
	margin-top: 30px;
}

article p, article h1 {
    padding-left: 10px;
    padding-right: 10px;
}

article .team-text  {
    padding-left: 25px;
    padding-right: 20px;
}

article .team-text p {
	padding-left: 0;
	padding-right: 0;
}

article ul {
    margin-left: 35px;
    padding-right: 10px;
}

article a {
    color: #005194;
    text-decoration: underline;
}

article p a:hover, article p a:focus, article p a:active,
article li a:hover, article li a:focus, article li a:active {
	color: #1E70EB;
    text-decoration: none;
}

/* Colour all bullet points */

article ul {
	list-style: none;
	list-style-position: outside;
	padding-left: 0;
}

article ul li {
	text-indent: -0.55em;
}

article ul li.jcl_category {
	text-indent: 0;
}

article ul li::before {
	font-family: "icomoon";
	content: "\ea1e";
	display: inline-block;
	font-weight: 400;
  	color: #1E70EB;
	font-size: 0.6em;
	padding-right: 0.8em;
}

article ul li.haslinkfirst::before {
    font-family: "icomoon";
	content: "\e901";
	display: inline-block;
	font-weight: 400;
  	color: #005194;
	font-size: 1em;
	font-weight: 400;
	padding-right: 0.8em;
}

article ul li.haslinklater::before {
	font-family: "icomoon";
	content: "\ea0b";
	display: inline-block;
  	color: #005194;
	font-size: 0.5em;
	font-weight: 400;
}

article ul li ul {
	padding-left: 15px;
	margin-bottom: 0.1em;
}

article ul li ul li::before {
    font-family: "icomoon";
	content: "\ea53";
  	color: #1E70EB;
	font-size: 0.5rem;
	padding-right: 1em;
    vertical-align: middle;
}

ul ul, ul ol, ol ol, ol ul {
    margin: 0 0 0.5em 0;
}

.featured-image-mobile {
    margin-bottom: 25px;
}

/* Compact form*/

.compact-form {
    padding: 20px;
    background-image: linear-gradient(#297BF6, #005194 15%);
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

.compact-form.rounded {
    border-radius: 8px !important;
}

.compact-form h2 {
    color: #fff;
	font-size: 30px;
	line-height: 36px;
	margin-bottom: 12px;
}

.compact-form .form-group {
	margin-bottom: 0.5rem;
}

.compact-form p {
	margin-bottom: 0;
}

.compact-form label {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0.1rem;
}

.compact-form input[type=text],
.compact-form input[type=tel],
.compact-form input[type=email],
.compact-form textarea {
    background-color: #EAF5FF;
    color: #002542;
}

.compact-form input[aria-invalid="true"]  {
    background-color: #F9E4E6;
    border: 1px solid #D47575;
}

/* Inline form */
.inlineform {
	margin-top: 25px;
	margin-bottom: 25px;
	width: 100%;
	max-width: 650px;
}

.inlineform .form-control {
	border: 1px solid #aaa;
}

@media (min-width: 992px) {
	.inlineform .form-group.row p {
		margin-bottom: 0;
	}
}

/* Custom Button */

.btn-custom {
   /*background: -webkit-linear-gradient(top, #EAC67B, #CE9E2C);
   background: -moz-linear-gradient(top, #EAC67B, #CE9E2C);
   background: -o-linear-gradient(top, #EAC67B, #CE9E2C);
   background: -ms-linear-gradient(top, #EAC67B, #CE9E2C);
   background: linear-gradient(to bottom, #EAC67B, #CE9E2C);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EAC67B', endColorstr='#EAC67B',GradientType=0 );*/
   background-color: #ffe176;
   color: #002542;
   font-size: 16px;
   font-weight: 700;
   border: 1px solid #E0A802;
   padding: 9px 6px;
}

.btn-custom::before {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    content: "\e945";
    margin-right: 10px;
 }

.btn-custom:active {
   /*background: -webkit-linear-gradient(top, #CE9E2C, #EAC67B);
   background: -moz-linear-gradient(top, #CE9E2C, #EAC67B);
   background: -o-linear-gradient(top, #CE9E2C, #EAC67B);
   background: -ms-linear-gradient(top, #CE9E2C, #EAC67B);
   background: linear-gradient(to bottom, #CE9E2C, #EAC67B);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CE9E2C', endColorstr='#EAC67B',GradientType=0 );*/
   background-color: #1e70eb;
   color: #fff;
   border: 1px solid #1e70eb;
}

/* Override error message colour */

.wpcf7-not-valid-tip {
    color: #f7e700 !important;
}

.inlineform .wpcf7-not-valid-tip {
    color: #dc3232 !important;
}


/* Content Footer */

.content-footer {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #aaa;
}

.text-muted {
    color: #002542 !important;
    font-weight: 700;
}
.text-muted a {
    color: #005194 !important;
    font-weight: 400;
    text-decoration: underline;
}

.breadcrumbs {
    margin-bottom: 30px;
}

.footer-main-menu {
    font-size: 16px;
    line-height: 22px;
}

.footer-main-menu a {
    color: #005194;
}

.footer-main-menu .list-inline-item:last-child {
    margin-left: 3px;
    padding-left: 10px;
    border-left: 1px solid #ccc;
}

/* Copyright footers */

.copyright-footer {
    border-top: 1px solid #ddd;
    background-color: #EAF5FF;
    color: #002542;
}

.copyright-menu a {
    color: #005194;
}

.copyright-menu .list-inline-item {
    margin-right: 0.5rem;
    padding-right: 0.5em;
    border-right: 1px solid #ccc
}

.copyright-menu .list-inline-item:last-child {
    border-right: none;
}

/********** Sticky Footer **********/

.sticky-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px; /* Fixed height of the footer. Must equal margin-bottom on the body tag */
  line-height: 60px; /* Vertically center the text */
  background-color: #EAF5FF;
  border-top: 1px solid #ddd;
}


/* Sticky footer mobile */

.sticky-footer-mobile-left {
    background-color: #C4E5FE;
    color: #005194;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.sticky-footer-mobile-left a {
    color: #005194;
    display: block;
    text-decoration: none;
}

.sticky-footer-mobile-left a:hover,
.sticky-footer-mobile-left a:focus,
.sticky-footer-mobile-left a:active {
    color: #fff;
    text-decoration: none;
} 

.sticky-footer-mobile-left:hover,
.sticky-footer-mobile-left:focus,
.sticky-footer-mobile-left:active {
    background-color: #1E70EB;
    text-decoration: none;
}

.sticky-footer-mobile-right {
    background-color: #4B4B4B;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.sticky-footer-mobile-right a {
    color: #fff;
    display: block;
}

.sticky-footer-mobile-right a span.icon-whatsapp {
    color: #28B83F;
    text-decoration: none;
}

.sticky-footer-mobile-right a:hover,
.sticky-footer-mobile-right a:focus,
.sticky-footer-mobile-right a:active,
.sticky-footer-mobile-right a:hover span.icon-whatsapp,
.sticky-footer-mobile-right a:focus span.icon-whatsapp,
.sticky-footer-mobile-right a:active {
    color: #fff;
    text-decoration: none;
}

.sticky-footer-mobile-right:hover, .sticky-footer-mobile-right:focus .sticky-footer-mobile-right:active {
    color: #fff;
    background-color: #28B83F;
}

/* Sticky footer desktop */

.sticky-footer-desktop {
	text-align: right;
}

.footer-strapline {
    display: inline-block;
	color: #005194;
    font-size: 18px;
    margin-right: 30px;
	font-weight: 600;
}

.footer-tel,
.footer-tel a {
    color: #005194;
    font-size: 26px;
    font-weight: 700;
}

.sticky-footer-desktop a {
    color: #005194; 
}

.sticky-footer-desktop a:hover, .sticky-footer-desktop a:focus .sticky-footer-desktop a:active {
    text-decoration: none;
}

/********** Change container sizes **********/

.container {
	max-width: 100%;
}

@media (min-width: 768px) {
	.container {
    	max-width: 100%;
	}
}

@media (min-width: 992px) {
	.container {
    	max-width: 100%;
	}
}

@media (min-width: 1200px) {
	.container {
    	max-width: 1140px;
	}
}

@media (min-width: 1366px) {
	.container {
    	max-width: 1250px;
}

/* Left Sidebar Top */

.wp-image-4318 {
	padding-bottom: 20px;
	max-width: 200px !important;
}

/* Right Sidebar */

@media (min-width: 992px) {
	li#custom_html-4 {margin-bottom: 0}
	}
}

/* custom title */
div.rwmb-field div.rwmb-input input.rwmb-text {
    width: 100%;
}

/* Hide Archive link in sidebar on member page */

body.member-template-default li#archives-2 {
	visibility:hidden;
}

/* Left sidebar */

.syslogos {
	background: #efefef;
    padding: 15px;
    border-left: 15px solid #fff;
    border-right: 15px solid #fff;
}
}