/*
Theme Name: Decision Child
Theme URI: http://demo.bravisthemes.com/decision/
Author: Bravis-Themes
Author URI: https://themeforest.net/user/bravis-themes/
Description: Decision is a clean and modern Law Business design. You can use it for any kind website like law firm, attorneys, business, justice, law, lawyer, lawyers, legal office, politician and many others relevant businesses. Well-structured code and easy to use documentation help you to get a great business website.
Version: 1.0.3
License: ThemeForest
License URI: https://themeforest.net/licenses
Template: decision
Text Domain: decision-child
Tags:  advocate, attorney, attorney website, attorneys, barrister, business, corporate, law, law firm, law office, lawyer, lawyer theme, legal blog, legal services, notary
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* =========================================================
   Canaipa Law – Custom typography and colour system
   ========================================================= */

@font-face {
	font-family: "Serena";
	src: url("assets/fonts/Serena.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--canaipa-accent-font: "Serena", Georgia, "Times New Roman", serif;
	--canaipa-display-font: "Poppins", Arial, sans-serif;
	--canaipa-body-font: "Poppins", Arial, sans-serif;

	--canaipa-heading-color: #192953;
	--canaipa-body-color: #4B5563;
	--canaipa-link-color: #1A4E8D;
	--canaipa-light-text: #F4F7FB;
}

/* =========================================================
   Body typography
   ========================================================= */

body {
	font-family: var(--canaipa-body-font);
	color: var(--canaipa-body-color);
}

/* Body copy, navigation, buttons and interface text */
p,
li,
label,
input,
textarea,
select,
button,
.elementor-widget-text-editor,
.elementor-button,
.ct-button,
.ct-contact-info,
.ct-contact-info a,
.bravis-contact-info,
.bravis-contact-info a,
.ct-nav-menu a,
.bravis-nav-menu a,
.ct-main-menu > li > a,
.site-footer p,
.site-footer li,
.site-footer a {
	font-family: var(--canaipa-body-font) !important;
	text-transform: none !important;
}

/* Consistent paragraph colour */
p,
li,
.elementor-widget-text-editor,
.ct-fancy-box .item--description {
	color: var(--canaipa-body-color);
}

/* Serena is reserved for short display accents only */
.canaipa-serena-accent {
	font-family: var(--canaipa-accent-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0.02em;
}
/* =========================================================
   Global text colours
   ========================================================= */

/* Standard body copy on light backgrounds */
body,
.site-content p,
.site-content li,
.entry-content p,
.entry-content li,
.elementor-widget-text-editor,
.canaipa-card-copy,
.ct-fancy-box .item--description {
	color: var(--canaipa-body-color);
}

/* Supporting or secondary text only */
.canaipa-muted-text {
	color: #667085 !important;
}

/* Standard links inside page content */
.entry-content a:not(.elementor-button),
.elementor-widget-text-editor a:not(.elementor-button) {
	color: var(--canaipa-link-color);
}

.entry-content a:not(.elementor-button):hover,
.entry-content a:not(.elementor-button):focus,
.elementor-widget-text-editor a:not(.elementor-button):hover,
.elementor-widget-text-editor a:not(.elementor-button):focus {
	color: var(--canaipa-heading-color);
}

/* =========================================================
   Display headings only
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.ct-heading .item--title,
.ct-fancy-box .item--title,
.ct-fancy-box-carousel2 .item--title {
	font-family: var(--canaipa-display-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	color: var(--canaipa-heading-color);
}

/* Short display labels may also use Serena */
.ct-heading .item--sub-title {
	font-family: var(--canaipa-accent-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
}
/* =========================================================
   Bravis Heading – short Serena accents
   ========================================================= */

body .ct-heading .item--sub-title.style-default span,
body .ct-heading .item--sub-title span {
	font-family: var(--canaipa-accent-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0.02em;
}


/* =========================================================
   Bravis trust carousel
   ========================================================= */

/* Small category label */
.ct-fancy-box-carousel2 .item--featured {
	font-family: var(--canaipa-body-font) !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

/* Main card heading */
.ct-fancy-box-carousel2 .item--title {
	font-family: var(--canaipa-display-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
}

/* Card description */
.ct-fancy-box-carousel2 .item--featured,
.ct-fancy-box-carousel2 .item--title,
.ct-fancy-box-carousel2 .item--description {
	color: #FFFFFF !important;
}
.ct-fancy-box-carousel2 .item--description {
	font-family: var(--canaipa-body-font) !important;
	font-size: 15px;
	font-weight: 400 !important;
	line-height: 1.55;
	text-transform: none !important;
}

/* =========================================================
   Header and sticky-header typography
   ========================================================= */

.ct-nav-menu a,
.bravis-nav-menu a,
.ct-main-menu > li > a,
.ct-contact-info,
.ct-contact-info a,
.bravis-contact-info,
.bravis-contact-info a {
	font-family: var(--canaipa-body-font) !important;
	text-transform: none !important;
}

.ct-main-menu > li > a {
	font-size: 15px;
	font-weight: 500 !important;
	color: var(--canaipa-heading-color);
}

.ct-main-menu > li > a:hover,
.ct-main-menu > li.current-menu-item > a,
.ct-main-menu > li.current-menu-ancestor > a {
	color: var(--canaipa-link-color);
}

/* Canaipa Law – desktop submenu */
.ct-main-menu .sub-menu,
.bravis-nav-menu .sub-menu {
	min-width: 280px;
	padding: 8px 0;
	background: #192953 !important;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 4px;
	box-shadow: 0 10px 22px rgba(25, 41, 83, 0.18);
}

/* Submenu links */
.ct-main-menu .sub-menu > li > a,
.bravis-nav-menu .sub-menu > li > a {
	display: block;
	padding: 12px 18px;
	font-family: "Poppins", Arial, sans-serif !important;
	font-size: 15px;
	font-weight: 500 !important;
	line-height: 1.4;
	text-transform: none !important;
	color: #F4F7FB !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		padding-left 0.25s ease;
}

/* Remove divider from final item */
.ct-main-menu .sub-menu > li:last-child > a,
.bravis-nav-menu .sub-menu > li:last-child > a {
	border-bottom: 0;
}

/* Hover and current submenu item */
.ct-main-menu .sub-menu > li:hover > a,
.ct-main-menu .sub-menu > li.current-menu-item > a,
.bravis-nav-menu .sub-menu > li:hover > a,
.bravis-nav-menu .sub-menu > li.current-menu-item > a {
	background: #1A4E8D !important;
	color: #FFFFFF !important;
	padding-left: 22px;
}
/* Slightly soften separators */
.ct-main-menu .sub-menu > li > a,
.bravis-nav-menu .sub-menu > li > a {
	border-bottom-color: rgba(255, 255, 255, 0.10);
}
/* Keep hover movement subtle */
.ct-main-menu .sub-menu > li:hover > a,
.bravis-nav-menu .sub-menu > li:hover > a {
	padding-left: 20px;
	
}
/* =========================================================
   Slider Revolution typography
   Add these classes to individual slider layers
   ========================================================= */

/* Main hero heading */
sr7-module .canaipa-slider-title,
rs-module .canaipa-slider-title {
	font-family: var(--canaipa-display-font) !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

/* Short hero label */
sr7-module .canaipa-slider-eyebrow,
rs-module .canaipa-slider-eyebrow {
	font-family: var(--canaipa-accent-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
}

/* Hero paragraph */
sr7-module .canaipa-slider-description,
rs-module .canaipa-slider-description {
	font-family: var(--canaipa-body-font) !important;
	font-weight: 400 !important;
	text-transform: none !important;
}

/* Hero button */
sr7-module .canaipa-slider-button,
rs-module .canaipa-slider-button {
	font-family: var(--canaipa-body-font) !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

/* =========================================================
   Dark-background sections
   Add class: canaipa-dark-section
   ========================================================= */

.canaipa-dark-section .ct-heading .item--sub-title span,
.has-dark-background .ct-heading .item--sub-title span{
	color: var(--canaipa-light-text) !important;
}

.canaipa-dark-section p,
.canaipa-dark-section li,
.canaipa-dark-section label,
.canaipa-dark-section .elementor-widget-text-editor,
.canaipa-dark-section .canaipa-card-copy,
.has-dark-background p,
.has-dark-background li,
.has-dark-background label,
.has-dark-background .elementor-widget-text-editor,
.has-dark-background .canaipa-card-copy {
	color: var(--canaipa-light-text) !important;
}

.canaipa-dark-section h1,
.canaipa-dark-section h2,
.canaipa-dark-section h3,
.canaipa-dark-section h4,
.canaipa-dark-section h5,
.canaipa-dark-section h6,
.canaipa-dark-section .elementor-heading-title,
.canaipa-dark-section .ct-heading .item--title,
.has-dark-background h1,
.has-dark-background h2,
.has-dark-background h3,
.has-dark-background h4,
.has-dark-background h5,
.has-dark-background h6,
.has-dark-background .elementor-heading-title,
.has-dark-background .ct-heading .item--title {
	color: #FFFFFF !important;
}

.canaipa-dark-section a:not(.elementor-button),
.has-dark-background a:not(.elementor-button) {
	color: #FFFFFF;
}

.canaipa-dark-section a:not(.elementor-button):hover,
.canaipa-dark-section a:not(.elementor-button):focus,
.has-dark-background a:not(.elementor-button):hover,
.has-dark-background a:not(.elementor-button):focus {
	color: #DCE3EC;
}

/* =========================================================
   Homepage
   ========================================================= */

/*.canaipa-why-card:hover {
	background: #1A4E8D !important;
	color: #FFFFFF;
	transform: translateY(-4px) !important;
}*/

.canaipa-why-card,
.canaipa-what-card {
	transition:
		transform 0.25s ease,
		background-color 0.25s ease !important;
}

.canaipa-why-card:hover,
.canaipa-what-card:hover {
	background: #1A4E8D !important;
	transform: translateY(-4px) !important;
}

/* Icon, title and description transition */
.canaipa-what-card .elementor-icon,
.canaipa-what-card .elementor-icon i,
.canaipa-what-card .elementor-icon-box-title,
.canaipa-what-card .elementor-icon-box-title a,
.canaipa-what-card .elementor-icon-box-title span,
.canaipa-what-card .elementor-icon-box-description {
	transition: color 0.25s ease, fill 0.25s ease, stroke 0.25s ease;
}

/* Change all Icon Box content to white */
.canaipa-what-card:hover .elementor-icon,
.canaipa-what-card:hover .elementor-icon i,
.canaipa-what-card:hover .elementor-icon-box-title,
.canaipa-what-card:hover .elementor-icon-box-title a,
.canaipa-what-card:hover .elementor-icon-box-title span,
.canaipa-what-card:hover .elementor-icon-box-description {
	color: #FFFFFF !important;
}

/* SVG icon fallback */
.canaipa-what-card:hover .elementor-icon svg,
.canaipa-what-card:hover .elementor-icon svg path {
	fill: #FFFFFF !important;
	stroke: #FFFFFF !important;
}
.bg-image {
background-position: bottom !important;
}

/* =========================================================
   Legal service section
   ========================================================= */
.ct-practice-grid1 .grid-item-inner .wrap-derection .item--holder .item--meta .item-readmore a span {
    text-transform: none !important;
}
.ct-practice-grid1 .grid-item-inner:hover .item--holder .item--meta .item-except {
   color: #4B5563  !important;
	font-size: 16px  !important;
	line-height: 1.6  !important;
}
.ct-practice-grid1 .grid-item-inner:hover
.wrap-derection .item--holder .item--meta .item-except,
.ct-practice-grid1 .wrap-derection:hover
.item--holder .item--meta .item-except {
	color: #ffffff !important;
}
.ct-practice-grid1 .grid-item-inner .wrap-derection .item--holder .item--meta .item-except
{
	font-size: 15px  !important;
}

/* =========================================================
   About Us page-title background overlay
   Page ID: 598
   ========================================================= */

/*body.page-id-598 #pagetitle {
	position: relative;
	isolation: isolate;
}*/

/* Navy overlay above the background image */
/*body.page-id-598 #pagetitle::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: rgba(25, 41, 83, 0.48);
}*/

/* Keep page title and breadcrumb above the overlay 
body.page-id-598 #pagetitle .page-title-inner {
	position: relative;
	z-index: 1;
}*/


/* =========================================================
   Manual Legal Services cards
   ========================================================= */

.canaipa-manual-service-card {
	position: relative;
	overflow: hidden;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease !important;
}
.canaipa-manual-service-card .elementor-heading-title{
		font-weight: 600 !important;
}
.canaipa-manual-service-card:hover {
	background-color: #192953 !important;
	border-color: #192953 !important;
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(25, 41, 83, 0.14);
}

/* Card heading */
.canaipa-manual-service-card:hover .elementor-heading-title {
	color: #FFFFFF !important;
}

/* Card paragraph */
.canaipa-manual-service-card:hover p,
.canaipa-manual-service-card:hover .elementor-widget-text-editor {
	color: #F4F7FB !important;
}

/* Read more link/button */
.canaipa-manual-service-card:hover .elementor-button,
.canaipa-manual-service-card:hover .elementor-button-text {
	color: #FFFFFF !important;
}

/* Smooth text transitions */
.canaipa-manual-service-card .elementor-heading-title,
.canaipa-manual-service-card p,
.canaipa-manual-service-card .elementor-button,
.canaipa-manual-service-card .elementor-button-text {
	transition: color 0.25s ease;
}

/* =========================================================
   Mobile and tablet header logo
   Overrides the Decision theme max-height: 50px rule
   ========================================================= */

@media screen and (max-width: 1199px) {
	/* Override theme max-height: 50px */
	#ct-header-default .ct-header-branding img, .ct-header-mobile .ct-header-branding img {
    	width: 112px !important;
		max-width: 112px !important;
		height: auto !important;
		max-height: 90px !important;
		margin: 0 !important;
    }
}
/* Smaller mobile devices */
@media screen and (max-width: 767px) {

	/* Override theme max-height: 50px */
	#ct-header-default .ct-header-branding img, .ct-header-mobile .ct-header-branding img {
    	width: 80px !important;
		max-width: 80px !important;
		height: auto !important;
		max-height: 60px !important;
		margin: 0 !important;
    }
}

