/*
Theme Name: Littles Lawyers
Author: Five by Five
Version: 4.0
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Red Hat Display', sans-serif;
	color: #000;
	font-size: 15px;
	line-height: 1.8;
    overflow-x: hidden;
    animation: fadeIn .3s;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px;
	line-height: 1.25;
}

h1 { font-size: 47px; }
h2 { font-size: 40px; }
h3 { font-size: 35px; }
h4 { font-size: 30px; }
h5 { font-size: 24px; }
h6 { font-size: 18px; }

p {
	margin: 0 0 20px;
}

a {
	color: inherit;
    transition: background-color .3s ease, opacity .3s ease, color .3s ease;
}

a[role="button"] {
    text-decoration: none;
}

select,
button,
textarea,
input {
    font-size: inherit;
    font-family: inherit;
}

.btn,
button,
input[type="submit"],
a {
    cursor: pointer;
}

.wrapper {
    width: 1420px;
	max-width: 100%;
	padding: 0 10px;
	margin: 0 auto;
}

.site-container {
    overflow-x: hidden;
    transition: transform .5s ease;
}

/* Site Scrollbar */
::-webkit-scrollbar {
    width: 0.7rem;
}
::-webkit-scrollbar-track {
    border: none;
	background: #e5e5e5;
}
::-webkit-scrollbar-thumb {
    border: none;
    background: #0052A2; 
}
::-webkit-scrollbar-thumb:hover {
    background: #0052A2; 
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-top{0%{transform:translateY(-40px);opacity:0}100%{transform:translateY(0);opacity:1}}
.fade-in-top{animation:fade-in-top .6s cubic-bezier(.39,.575,.565,1.000) both;}
@keyframes fade-out-top{0%{transform:translateY(0);opacity:1}100%{transform:translateY(-40px);opacity:0}}
.fade-out-top{animation:fade-out-top .7s cubic-bezier(.25,.46,.45,.94) both;}

@keyframes ringing {
	0% { transform: rotate(0); }
	1% { transform: rotate(30deg); }
	3% { transform: rotate(-28deg); }
	5% { transform: rotate(34deg); }
	7% { transform: rotate(-32deg); }
	9% { transform: rotate(30deg); }
	11% { transform: rotate(-28deg); }
	13% { transform: rotate(26deg); }
	15% { transform: rotate(-24deg); }
	17% { transform: rotate(22deg); }
	19% { transform: rotate(-20deg); }
	21% { transform: rotate(18deg); }
	23% { transform: rotate(-16deg); }
	25% { transform: rotate(14deg); }
	27% { transform: rotate(-12deg); }
	29% { transform: rotate(10deg); }
	31% { transform: rotate(-8deg); }
	33% { transform: rotate(6deg); }
	35% { transform: rotate(-4deg); }
	37% { transform: rotate(2deg); }
	39% { transform: rotate(-1deg); }
	41% { transform: rotate(1deg); } 
	43% { transform: rotate(0); }
	100% { transform: rotate(0); }
}



/* Custom-scrollbar */
.custom-scrollbar,
.custom-scrollbar.elementor-widget {
    overflow-y: auto;
    overflow-x: hidden;
	padding-right: 15px;
	backface-visibility: hidden;
	/* transform: translateY(0px); */
}
.custom-scrollbar::-webkit-scrollbar,
.custom-scrollbar.elementor-widget::-webkit-scrollbar {
    width: 2px;
}
.custom-scrollbar::-webkit-scrollbar-track,
.custom-scrollbar.elementor-widget::-webkit-scrollbar-track {
    border: none;
	background: #E9ECEF;
	/* box-shadow: inset 0 0 6px rgba(0,0,0,0.2); */
}
.custom-scrollbar::-webkit-scrollbar-thumb,
.custom-scrollbar.elementor-widget::-webkit-scrollbar-thumb {
    -webkit-border-radius: 1.250em;
    border-radius: 1.250em;
    border-color: #495056;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover,
.custom-scrollbar.elementor-widget::-webkit-scrollbar-thumb:hover {
    border-color: #495056;
}

.custom-scrollbar.style-white::-webkit-scrollbar-track,
.custom-scrollbar.style-white.elementor-widget::-webkit-scrollbar-track {
	background: #ffffff50;
}
.custom-scrollbar.style-white::-webkit-scrollbar-thumb,
.custom-scrollbar.style-white.elementor-widget::-webkit-scrollbar-thumb {
    border-color: #fff;
}
.custom-scrollbar.style-white::-webkit-scrollbar-thumb:hover,
.custom-scrollbar.style-white.elementor-widget::-webkit-scrollbar-thumb:hover {
    border-color: #fff;
}

/* Buttons */
.btn,
button,
input[type="button"],
input[type="submit"],
.elementor-button {
    background: #4AB7FF;
    border: 1px solid #4AB7FF;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.06;
    padding: 16.5px 26px; 
    transition: background-color .3s ease, opacity .3s ease, color .3s ease;
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.elementor-button:hover {
    border-color: #78C5F8;
    background: #78C5F8;
    color: #fff;
}

/* Header */
.site-header {
    background: #fff;
}
.header-stick .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    animation:fade-in-top .3s cubic-bezier(.39,.575,.565,1.000) both;
    box-shadow: 0 0 17px 0 rgb(0 0 0 / 5%);
}
.header-unstick .site-header {
    animation:fade-out-top .2s cubic-bezier(.25,.46,.45,.94) both;
}

ul.menu {
    list-style: none;
    padding: 0;
} 

.header-type2 .site-header-container {
	position: absolute;
	width: 100%;
	z-index: 800;
}

.header-type2 .site-header {
	background: none;
	color: #fff;
}
.header-type2.header-stick .site-header {
	background: #fff;
	color: inherit;
}

.header-type2.header-stick .with-alt-logo .site-logo-main,
.header-type2 .with-alt-logo .site-logo-alt {
    display: none;
}
.header-type2.header-stick .with-alt-logo .site-logo-alt {
    display: inline-block;
}

/* Search */
.ff-search {
    background: #f8f9fa;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    transition: transform .5s cubic-bezier(0.390, 0.575, 0.565, 1.000);
    will-change: transform;
    transform: translate3d(0, -100%, 0);
}
.show_search .ff-search {
    transform: translate3d(0, 0, 0);
}
.ff-search form {
    width: 730px;
    max-width: 100%;
    position: relative;
}
.ff-search .search-input {
    width: 100%;
    background: #fff;
    border: 1px solid #ACB5BD;
    height: 60px;
    border-radius: 60px;
    padding: 5px 25px 5px 25px;
}
.ff-search .submit {
    width: 150px;
    position: absolute;
    right: 5px;
    height: 50px;
    top: 5px;
    border-radius: 50px;
}
.ff-search .close {
    position: absolute;
    top: 20px;
    right: -30px;
    font-size: 25px;
    font-weight: 400;
    opacity: .6;
    cursor: pointer;
}
.ff-search .close:hover {
    opacity: 1;
}

/* Slide Menu */
.ff-slide-menu-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    z-index: 100;
    pointer-events: none;
    display: none;
}
.show_slide_menu .ff-slide-menu-mask {
    display: block;
    pointer-events: auto;
    animation: fadeIn 1s;
}
.ff-slide-menu {
    width: 100%;
    max-width: 320px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    z-index: 110;
    transition: transform .6s cubic-bezier(0.390, 0.575, 0.565, 1.000);
    transition-delay: .1s;
    transform: translate3d(100%, 0, 0);
    will-change: transform;
    padding: 20px;
    overflow: auto;
}
.show_slide_menu .ff-slide-menu {
    transform: translate3d(0, 0, 0);
}
.show_slide_menu .site-container {
    transform: translate3d(-100px, 0, 0);
}
body.show_slide_menu {
    overflow: hidden;
}
.ff-slide-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
}
.ff-slide-menu-close {
    cursor: pointer;
    font-size: 20px;
    color: #0052A2;
}
.ff-slide-menu-close:hover {
    opacity: .8;
}

.ff-slide-menu-trigger {
    background: none;
    border: none;
    padding: 2px;
    width: 38px;
    height: 34px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
}
.ff-slide-menu-trigger span {
    height: 1px;
    width: 100%;
    background: #495056;
}
.ff-slide-menu-trigger:hover {
    background: none;
}
.ff-slide-menu-trigger .l1 {
    width: 70%;
    transition: width .5s ease;
    will-change: width;
}
.ff-slide-menu-trigger:hover .l1 {
    width: 100%;
}

/* Swiper / Carousel */
.swiper-slide {
    width: auto;
}
.transition-linear {
    transition-timing-function: linear;
}

/* SWIPER DEFAULT ARROW */ 
.custom-style-arrow .swiper-arrows{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 92px;
}
.custom-style-arrow .swiper-button-next, 
.custom-style-arrow .swiper-button-prev{
	position: relative;
	top: 0;
	margin: 0;
	height: 40px;
	width: 40px;
    transition: all 0.3s ease;
    border-radius: 100%;
}

.custom-style-arrow .swiper-button-next:hover,
.custom-style-arrow .swiper-button-prev:hover{
    animation-name: elementor-animation-pulse-grow;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    box-shadow: 0 0 10px 0 rgba(2,6,19,0.12);
}
.custom-style-arrow .swiper-button-next{
	right: 0;
	left: 0;
}
.custom-style-arrow  .swiper-button-prev{
	left: 0;
	right: 0;
}
.custom-style-arrow .swiper-button-next:after{
	content:url(/wp-content/uploads/2023/04/hico-littles-arrow-right.svg);
    line-height: 0;
} 
.custom-style-arrow .swiper-button-prev:after{
	content: url(/wp-content/uploads/2023/04/hico-littles-arrow-left.svg);
    line-height: 0;
}

/* Others */
.NOIntersectionObserver .elementor-invisible {
	visibility: visible;
}

body.admin-bar .dialog-lightbox-widget {
    min-height: 100vh;
}

body:not(.elementor-editor-active) .defer-bg-image div,
body:not(.elementor-editor-active) .defer-bg-image section,
body:not(.elementor-editor-active) .defer-bg-image {
	background-image: none!important;
}

.hide {
    display: none!important;
}

.fa-facebook-square:before,.fa-facebook:before{
	content: '\e905' !important;
	font-family: icomoon !important;
}

.fa-youtube:before{
	content: '\e904' !important;
	font-family: icomoon !important;
}

.fa-caret-down:before {
    content: "\e930" !important;
    font-family: 'icomoon' !important;
}

.dur-anim a:hover{
    animation-duration: 0.6s;
}

/* NAV BAR */
.header-row-2 .menu-item .elementor-sub-item{
    border-left: 0 !important;
    justify-content: center;
    position: relative;
    display: inline-block;
}
.header-row-2 .menu-item .sub-menu{
    padding: 19px 30px !important;
    min-width: 203px !important;
}
.header-row-2 .menu-item .sub-menu .elementor-sub-item:after{
    content:'';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #4AB7FF;
    transform: scaleX(0);
    transition: 0.4s ease;
    transform-origin: center;
}

.header-row-2 .menu-item .sub-menu .elementor-sub-item:hover:after{   
    transform: scaleX(1);
}

.header-row-2 .menu-item .sub-menu .menu-item{
    text-align: center;
}
.header-row-2 .with-dd .elementor-item{
    padding-right: 40px !important;
}

.header-row-2 .with-dd:before{
    content: "\e930";
    font-family: icomoon;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto;
    pointer-events: none;
    height: 15px;
    color: #0052A2;
    font-size: 15px;
}

.header-row-2 .with-dd:hover:before{
    color: #fff;
}

@media(max-width:1130px){
    .header-row-2 .menu-item .sub-menu{
        padding: 19px 30px !important;
        min-width: 203px !important;
    }
}


.ratio {
	display: inline-block;
	width: 100%;
	position: relative;
	height: 0;
	overflow: hidden;
}
.ratio iframe,
.ratio object,
.ratio embed,
.ratio img {
	position: absolute;
	display: block;
	max-width: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 100%;
	height: 100%;
} 
.ratio-450-373 {
	padding: 82.88888888% 0 0 0;
}

.ratio-414-562 {
	padding: 135.7487922% 0 0 0;
}

/* MOBILE */

.ff-slide-menu ul {
	list-style: none;
    padding: 21px 0 0 0;
	margin: 0;
}
.ff-slide-menu ul li {
	position: relative;
    border: 1px solid #EAEEF9;
    border-radius: 3px;
    background-color: #F6F7FA;
    margin: 0 0 5px;
}
.ff-slide-menu ul li:last-child {
	border-bottom: none;
}

.ff-slide-menu .menu-item a {
    display: block;
    padding: 12.5px 15px;
    text-decoration: none;
    color: #0052A2;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0px;
    line-height: 1; 
}
.ff-slide-menu .menu-item a:hover {
	text-decoration: underline;
}
.ff-slide-menu .menu-item.menu-item-has-children > a {
	margin-right: 50px;
}

.ff-slide-menu .menu-item-has-children.active {

}

.ff-slide-menu .sub-menu {
	display: none;
	padding: 5px 0 15px;
}

.ff-slide-menu .sub-menu .sub-menu{
    padding: 10px 10px 15px 15px;
}
.ff-slide-menu .menu-item-has-children.active > .sub-menu {
	display: block;
}
.ff-slide-menu .sub-menu  li {
	border: none;
}
.ff-slide-menu .sub-menu a {
    padding: 5.5px 0px 5.5px 15px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0px;
	
}

.ff-slide-menu .sub-menu .sub-menu a{
    color: #0052A2CC;
} 

.ff-slide-menu .sub-menu-trigger {
	display: inline-block;
	font-size: 18px;
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	text-align: center;
	cursor: pointer;
    height: 40px;
    line-height: 40px;
	font-weight: 400;
}
.ff-slide-menu .sub-menu .sub-menu-trigger {
    height: 25px;
    line-height: 25px;
	font-weight: 400;
}
.ff-slide-menu .sub-menu-trigger:hover {
	opacity: .7;
}
.ff-slide-menu .sub-menu-trigger:before {
	content: '\e90b';
	font-family: 'icomoon';
	color: #0052A2;
}
.ff-slide-menu .menu-item-has-children.active > .sub-menu-trigger:before {
	content: '\e90c';
	color: #0052A2;
}
.language-switcher{
    height: 39px;
    background: transparent;
    padding: 5px 2px 5px 20px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    color: #0052A2;
    font-family: "Red Hat Display";
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 14px;
    cursor: pointer;
    background: #fff;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #4AB7FF;
    border-radius: 8px 8px 8px 8px;
}
/*.language-switcher *{
    color: #000;
    padding: 10px 0 !important;
    height: 300px;
}*/
@media (max-width: 1099px) and (min-width: 1024px){
    .footer-r1 .elementor-container.elementor-column-gap-default {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .footer-r1 .elementor-element-4ab5fad .elementor-widget-wrap.elementor-element-populated {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
    }
    .footer-r1 .elementor-widget-wrap.elementor-element-populated{
        justify-content: center !important;
    }
    .footer-r1 .elementor-element-3c4034e {
        text-align: center !important;
        width: 100% !important;
        max-width: auto !important;
        margin-bottom: 20px !important;
    }
    .footer-r1 .elementor-element.elementor-element-9d55620:nth-child(1) .elementor-widget-container {
        width: 150px !important;
    }
}
@media (max-width: 1023px){
    .home .ff-banner-slider .main-wrapper-control{
       height: auto !important;
    }
    .home .ff-banner-slider .main-section .main-heading, .home .ff-banner-slider .main-section .top-heading, .home .main-inner{
        text-align: left;
    }
     .home .main-inner{
        margin-bottom: 10px;
     }
     .home .ff-banner-slider .main-section .main-heading{
        width: 400px;
     }
}
@media (max-width: 767px){
    .home .ff-banner-slider .main-section .main-heading, .home .ff-banner-slider .main-section .top-heading, .home .main-inner{
        text-align: center;
    }
    .home .ff-banner-slider .main-section .main-heading{
       margin-left: auto;
       margin-right: auto;
    }
     .home .ff-banner-slider .main-wrapper-control{
       height: 100% !important;
    }
    .language-switcher{
        width: auto;
    }
}
@media (max-width: 499px){
    .home .main-inner a.btn1{
        margin-bottom: 10px;
    }
    .home .main-inner a.btn{
        display: flex;
        justify-content: center;
        max-width: 183px;
        align-items: center;
        margin-right: 0;
    }
    .home .main-inner{
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}