
/* ----------------------------------------------------------------
Canvas: Law Firm
-----------------------------------------------------------------*/

:root {
--cnvs-themecolor: #8147b1;
--cnvs-secondarycolor : #61197b;
--cnvs-themecolor-rgb: 15, 49, 126;
--cnvs-body-font: 'Manrope', sans-serif;
--cnvs-secondary-font: 'Merriweather', serif;
}

#footer.bg-custom, .section.bg-custom{
background-color: var(--cnvs-themecolor);
}
#footer.border-custom{
--bs-border-opacity: 1;
border-color: var(--cnvs-secondarycolor);
}

.page-link{
color: var(--cnvs-themecolor);
}

.page-link:hover {
color: color-mix(in srgb, var(--cnvs-themecolor) 80%, black);
}

.dark {
--cnvs-header-sticky-bg: var(--cnvs-themecolor);
}

#header {
--cnvs-header-border-color: var(--cnvs-secondarycolor);
}

.text-border-right {
overflow: hidden;
}

.text-border-right::after {
content:"";
display: inline-block;
vertical-align: middle;
width: 100%;
margin-right: -100%;
margin-left: 10px;
border-top: 1px solid rgba(var(--cnvs-contrast-rgb), 0.25);
}

.text-border-right.b-w-50::after {
width: 10rem;
}

.large-device-menu a {
position: relative;
display: block;
margin-bottom: 14px;
margin-right: 20px;
transition: all .25s ease;
font-weight: 500;
}

.large-device-menu a:last-child {
margin-bottom: 0;
}

.large-device-menu a:hover {
transform: translateX(2px);
color: var(--bs-warning) !important;
}

.service-feature .grid-inner .more-link {
margin-top: 10px;
}

#logo a img {
height: auto !important;
}

@media (min-width: 992px) {

.sticky-header .large-device-menu-wrap {
align-items: center;
}

.sticky-header .large-device-menu a {
display: inline-block;
margin: 0 18px;
transform: none;
}

.sticky-header .header-row {
align-items: center !important;
padding-top: .5rem !important;
padding-bottom: .5rem !important;
}

.sticky-header .large-device-menu {
padding: 0;
margin: 0
}

.service-feature {
position: relative;
transform: translateY(-50%);
z-index: 4;
}

.service-feature .grid-inner .more-link {
opacity: 0;
visibility: hidden;
transition: all .3s ease;
margin-top: 0;
}

.service-feature .grid-inner:hover .more-link {
opacity: 1;
visibility: visible;
transform: translateY(4px);
will-change: transform;
}

.service-feature .grid-inner .f-b-desc {
transform: translateY(10px);
transition: transform .3s ease;
will-change: transform;
}

.service-feature .grid-inner:hover .f-b-desc {
transform: translateY(-4px);
}

.grid-border {
--cnvs-grid-border-width: 2px;
--cnvs-grid-border-color: var(--cnvs-themecolor);
--cnvs-grid-border-opacity: .1;
}

.grid-border [class^=col-]::after {
display: none;
}
}

.lady-justice-img::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
box-shadow: -30px -30px 0 var(--bs-warning);
opacity: .4;
border-radius: .25rem;
}

#lawfirm-inline label {
display: inline-block;
text-transform: none;
letter-spacing: 0;
font-weight: 300;
font-size: 1.75rem;
line-height: 2;
}

#lawfirm-inline input,
#lawfirm-inline select,
.dark #lawfirm-inline input,
.dark #lawfirm-inline select {
display: inline-block;
background-color: transparent;
display: inline-block;
margin: 0 10px;
border-radius: 0;
width: auto;
cursor: pointer;
border: none;
border-bottom: 1px solid #FFF !important;
font-size: 1.75rem;
padding: 0 3px;
color: var(--bs-warning);
font-weight: 300;
}

#lawfirm-inline input:focus { outline: none; }


#lawfirm-inline select,
.dark #lawfirm-inline select {
-webkit-appearance: none;
border-radius: 0;
background-position: 100% 50%;
background-repeat: no-repeat;
background-image: url("images/select-arrow.svg");
padding-right: 20px;
background-size: 12px;
}

#lawfirm-inline input::-moz-placeholder {
color: var(--bs-warning);
}

#lawfirm-inline input:-ms-input-placeholder {
color: var(--bs-warning);
}

#lawfirm-inline input::-webkit-input-placeholder {
color: var(--bs-warning);
}

.lawfirm-inline-loader.css3-spinner { background-color: rgba(255, 255, 255, 0.8) }

#lawfirm-inline-submitted,
.lawfirm-inline-success #lawfirm-inline,
.lawfirm-inline-success .lawfirm-inline-heading,
body:not(.lawfirm-inline-processing) .lawfirm-inline-loader { display: none; }

.lawfirm-inline-success #lawfirm-inline-submitted { display: block; }

.blog-cards .card::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background-color: var(--bs-warning);
}

.widget_links:not(.widget-li-noicon) li::before {
color: var(--bs-warning);
}

.widget_links li {
padding: 6px 0;
}

.is-expanded-menu #header {
--cnvs-primary-menu-submenu-bg: #8147b1;
--cnvs-primary-menu-submenu-color: #FFF;
--cnvs-primary-menu-submenu-hover-bg: var(--cnvs-primary-menu-submenu-color);
--cnvs-primary-menu-submenu-hover-color: var(--cnvs-primary-menu-submenu-bg);
--cnvs-primary-menu-submenu-border: transparent;
}

.is-expanded-menu .sub-menu-container,
.is-expanded-menu .mega-menu-content {
border-top: var(--cnvs-primary-menu-submenu-border);
transition: margin 0.25s ease !important;
}

/*.is-expanded-menu .sub-menu-container .sub-menu-container,*/
/*.is-expanded-menu .mega-menu-content .sub-menu-container {*/
/* background-color: transparent;*/
/*}*/

.is-expanded-menu .sub-menu-container::before,
.is-expanded-menu .mega-menu-content::before {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
-webkit-backdrop-filter: blur(var(--cnvs-primary-menu-submenu-blur));
backdrop-filter: blur(var(--cnvs-primary-menu-submenu-blur));
}

.is-expanded-menu .sub-menu-container .menu-item > .menu-link,
.is-expanded-menu .sub-menu-container .menu-item:hover > .menu-link {
font-weight: 400;
}

.is-expanded-menu .sub-menu-container .sub-menu-container,
.is-expanded-menu .sub-menu-container .mega-menu-content {
top: -1px !important;
}

.menu-item:hover > .menu-link:hover, .menu-item:hover > .menu-link{
color: rgb(255, 193, 7);
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1;
}


.btn-primary{
background-color: rgba(var(--cnvs-themecolor-rgb), var(--bs-bg-opacity, 1)) !important;
}


#logo a{
width: auto;
margin-right: 12px;
}
.text-logo{
line-height: 8px;
}
.text-logo h2{
font-size: 20px;
margin-bottom: 0;
font-weight: bold;
}
.text-logo small{
font-size: 12px;
}

@media (max-width: 575.98px) {

#logo a{
margin-right: 8px;
}
.text-logo h2{
font-size: 14px;
margin-bottom: 0;
font-weight: bold;
}
.text-logo small{
font-size: 12px;
}


}