/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Add your custom styles here */

:root {
    --base: #002255;
    --white: #FFFFFF;
    --black: #031c40;
    --red: #800000;
    --accent: #9E1A21;
    --hilite: #0D346E;
    --textcolor: #50565e;
    --darktext: #64676c;
    --fadedlite: #f5f5f5;
    --faded: #F9F9F9;
    --fadeddark: #800000;
    --linktext: #224668;
    --linkoverdark: #7AA6B7;
    --bodybg: #f1f1f1;
}

body {
    font-family: Lato !important;
    background: var(--bodybg);
    font-size: 18px !important;
}

h1 {
    font-family: 'Playfair Display' !important;
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
}

h2 {
    font-size: 1.5rem !important;
}

h2,
h3,
h4 {
    color: #002255;
    font-weight: 500 !important;
    display: block;
    line-height: 1;
    padding: 0.25rem 0 1rem 0;
    font-family: 'Playfair Display' !important;
}

.blogslist h2 {
    line-height: .5;
}

.eael-toc .eael-toc-body ul.eael-toc-list .eael-toc-link.eael-highlight-active:first-child {
    color: var(--base) !important;
}

.infobox-title-section {
    background: var(--base);
    color: var(--faded);
    margin-bottom: 10px;
    padding-bottom: 7px;
}

.infobox-title-section h2 {
    padding: 0;
    color: var(--white);
}

.infobox-title-section p {
    color: var(--faded) !important;
}

.inner-hero-text a {
    display: none !important;
}

.inner-hero-text h1 {
    padding: 3px;
    text-align: center;
    margin: 0;
    padding: 10px;
}

.inner-hero-text p {
    background: #002255;
    padding: 7px;
    font-size: 20px !important;
    text-align: center;
    margin: 0;
}

.header-btn a {
    background: #800000;
    padding: 15px 0px;
    text-align: center;
    color: #FFF !important;
    display: block;
    font-size: 1rem;
    position: relative;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.header-btn a:hover {
    background: var(--accent);
}

.sub-menu {
    width: 100% !important;
	display:block;
}
.ta-header-show {
    background: #FFF;
    -webkit-box-shadow: 0 3px 18px rgba(2, 21, 78, 0.09);
    box-shadow: 0 3px 18px rgba(2, 21, 78, 0.09);
}

.e-atomic-element {
    height: auto !important;
}

.form-control {
    width: 100%;
}

.eael-contact-form-7 .wpcf7-form p:nth-last-of-type(1) {
    display: block;
    margin: 0;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.form-box {
    margin: 10px 0;
}

.form-box p,
.form-box input {
    width: 100%;
}

.footermenu li {
    width: 50%;
    margin: 0 !important;
}

.altlink {
    color: #FFB900;
}

.copyright p {
    margin: 0;
}

.image_wrapper img,
.blog-img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.sa_wrapper {
    padding: 7px;
    margin-bottom: 3rem;
}

.gs-posted-on {
    background: #800000;
    color: #FFF;
    display: inline-block;
    padding: 7px 0;
    font-size: 14px !important;
    margin-right: 10px;
    text-align: center;
    height: 63px;
    width: 65px;
    margin-bottom: .25rem;
    margin-top: .5rem;
}

.aboutuslist strong {
    color: var(--base);
}

.industryrecognized {
    margin: 25px 0 !important;
}

.locationul li {
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.gsicon::before {
    font-family: fontawesome;
    color: var(--red);
    margin-right: 10px;
}

.footericon::before {
    font-family: fontawesome;
    color: var(--darktext);
    margin-right: 10px;
}

.rightsideicon::before {
    font-family: fontawesome;
    color: var(--accent);
    margin-right: 10px;
    height: 48px;
    background-color: var(--white);
    padding: 7px;
}

.star::before {
    content: "\f005";
}

.case::before {
    content: "\f0b1";
}

.gavel::before {
    content: "\f0e3";
}

.hat::before {
    content: "\f19d";
}

.award::before {
    content: "\f559";
}

.map::before {
    content: "\f3c5";
}

.phone::before {
    content: "\f095";
}

.fax::before {
    content: "\f1ac";
}

.helmet::before {
    content: "\f807";
}

.services h3 {
    background: var(--base);
    color: var(--white) !important;
    margin: 0 0 1rem 0;
    padding: 1rem 7px;
}

.infobox-title-section h3 {
    margin: 0;
}

.services-card a,
.attorneylink a {
    text-transform: uppercase;
    color: var(--black) !important;
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--fadedlite);
    padding: 10px 10px 10px 52px !important;
    position: relative;
    margin-top: 1rem;
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.services-card a:after,
.attorneylink a:after {
    content: '\f178';
    font: var(--fa-font-solid);
    position: absolute;
    top: 0px;
    right: 74%;
    color: var(--red);
    background: var(--white);
    padding: 13px;
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.services-card a:hover,
.attorneylink a:hover {
    padding: 10px 52px 10px 10px !important;
    /*border: 1px solid var(--base) !important;*/
    text-align: center;
    text-decoration: none;
}

.services-card a:hover:after,
.attorneylink a:hover:after {
    right: 0px;
    background: var(--black) !important;
    color: var(--white) !important;
}

.attorneylink a {
    padding: 14px 10px 13px 52px !important;
}

.attorneylink a:hover {
    padding: 14px 52px 13px 10px !important;
}

.eael-team-member-position {
    height: 0;
    margin: 0;
    padding: 0;
}

.single-counter {
    background: #fff;
    padding: 18px 21px 33px 20px;
    margin-top: 30px;
    margin-right: 14px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 3px 18px rgba(2, 21, 78, 0.09);
    box-shadow: 0 3px 18px rgba(2, 21, 78, 0.09);
}

.single-counter p {
    font-size: 16px;
    color: var(--darktext);
    line-height: 1;
    margin: 0;
    padding: 0;
}

.about-front-img {
    display: none;
}

.counter {
    color: var(--accent);
    font-size: 32px;
    font-weight: 700;
    font-family: 'Playfair Display';
    letter-spacing: .25rem;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.twoboxes {
    width: 100%;
}

.teamwrapper img {
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.teamwrapper img:hover {
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
}

.hilite {
    background: var(--fadedlite);
    padding: 15px;
}

.blogslist .eael-entry-header {
    display: block !important;
}

.blogslist .eael-entry-header a {
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--base) !important;
    line-height: 1;
}

.herotext {
    display: block;
    position: relative;
    z-index: 9;
}

.inner-hero-text {
    display: block;
    position: relative;
    z-index: 9;
    top: -1.25rem;
    width: 100vw;
    left: 0;
}

.hero img {
    aspect-ratio: 2/1;
    object-fit: cover;
}

.inner-hero .cta-button {
    display: none;
}

.footer-title ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-title li {
    margin-bottom: .75rem;
}

.footer-title a,
.footer-title a:hover,
.footer-title a:active,
.footer-title a:visited {
    color: var(--base);
}

a,a:hover,a:active,a:visited {
    color: var(--base)
}
.crp_related.crp-grid ul li a.crp_link {

    padding-bottom: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    flex-grow: 0;
}
.crp_related.crp-grid ul li img{
	 border-radius: 0 !important;
}
em {
    color: var(--accent);
}


@media (min-width:640px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
    .support-team img {
        width: 100% !important;
        height: auto !important;
    }
}

@media (min-width:768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    h2 {
        font-size: 2rem !important;
    }
    .hero img {
        aspect-ratio: unset;
        object-fit: cover;
    }
    .about-front-img {
        position: relative;
        display: inline-block;
        z-index: 9;
        top: 2rem;
        left: 3rem;
        border: 15px solid rgba(255, 255, 255, 0.5);
    }
    .about-back-img {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
    }
    .twoboxes {
        width: 50%;
    }
    .industryrecognized {
        margin: 100px 0 !important;
    }
}

@media (min-width:1025px) {
	.sub-menu {
    width: 215px !important;
	display:none;
}
    .tahefobu-menu-item {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width:1200px) {
    h1 {
        font-size: 3.25rem !important;
    }
    h2 {
        font-size: 2.5rem !important;
    }
    .herotext {
        display: inline;
        position: relative;
        z-index: 0;
    }
    .inner-hero-text {
        display: inline;
        position: absolute;
        z-index: 9;
        top: 15rem;
        width: 60vw;
        left: 15vw;
    }
    .herotext .cta-basic {
        max-width: 100% !important;
        margin: 0 !important;
    }
    .swal2-popup {
        width: 50% !important;
    }
    .tahefobu-menu-item {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

	.rp4wp-related-posts ul > li {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 20px;
    clear: both;
    display: block;
}
	.crp-grid {
         max-width: 1360px;
        margin: 0 auto; 
		margin-top:5rem;
}

.rp4wp-related-posts ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
}

.rp4wp-related-posts ul>li {
    padding: 0 20px 20px 0px !important;
}
	
}

@media (min-width: 1400px) {
    .herotext {
        display: inline;
        position: absolute;
        z-index: 0;
        max-width: 90% !important;
        margin-left: 5%;
        top: 11rem;
    }
    .inner-hero-text {
        top: 24rem;
    }
    .support-team img {
        width: 100% !important;
        height: 500px !important;
    }
}

@media (min-width: 1680px) {
    .herotext {
        top: 17rem;
        z-index: 9;
        max-width: 50% !important;
        margin-left: 10%;
    }
}