/**
 * Theme Name:  Ansar Law Firm
 * Theme URI:   http://ansarlawfirm.com/
 * Author:      Robert Noakes
 * Author URI:  http://robertnoak.es/
 * Description: Custom theme designed by Birdsall Interactive and developed by Robert Noakes.
 * Version:     1.0.5
 * License:     GNU General Public License v3.0
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
 * Tags:        custom
 * Text Domain: ansar-law-firm
 */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
	background-color: #fff;
}

/**Header styles start**/

header.primary_header, header.primary_header * {
    box-sizing: border-box;
}
header.primary_header {
    position: relative;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
    z-index: 2;
	margin-bottom: 40px;
}

header.primary_header .primary_header__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
header.primary_header .headerTopWrap {
    padding: 10px 0px;
    background: rgb(177,37,29);
    background: linear-gradient(0deg, rgba(177,37,29,1) 0%, rgba(209,42,24,1) 100%);
    display: none;
}
header.primary_header a {
    text-decoration: none;
}
header.primary_header .headerBtmWrap {
    background: #fff;
    padding: 0 0;
}
header.primary_header .headerBtm {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header.primary_header .headerBtm .header-site-title a {
    color: #cd2919;
    font-weight: 900;
    font-size: 16px;
}
header.primary_header .headerBtm .header-site-title a em {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #0b1e81;
    font-size: 26px;
}
header.primary_header .headerBtm .navigationWrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu {
    display: none;
}
header.primary_header .headerBtm .navigationWrap ul.menu li.menu-item {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.3px;
    position: relative;
}
header.primary_header .headerBtm .navigationWrap ul.menu li.menu-item a {
    color: #0b1e81;
}
header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item > a {
    font-size: 14px;
	padding: 30px 0;
    display: inline-block;
    font-weight: 600;
}
header.primary_header .headerBtm .navigationWrap ul.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item {
    margin-left: 30px;
}
header.primary_header .headerBtm .navigationWrap ul.menu li.menu-item > a:hover,
header.primary_header .headerBtm .navigationWrap ul.menu li.menu-item.current_page_item > a,
header.primary_header .headerBtm .navigationWrap ul.menu li.menu-item.current-menu-ancestor > a {
    color: #cd2919;
}
header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item > ul.sub-menu li.menu-item {
    padding: 10px;
}
header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item > ul.sub-menu li.menu-item:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
header.primary_header .headerBtm .navigationWrap ul.menu button {
    background-color: transparent;
    border: none;
    padding: 0 3px;
    font-size: 10px;
    cursor: pointer;
}
header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu button {
    position: absolute;
    right: 5px;
    top: 10px;
    z-index: 1;
}

.single-team .left-navigation {
    display: none;
}
.footer-note {
    margin-top: 50px;
    font-style: italic;
}
aside#nav_menu-8 {
    margin-top: 30px;
}

@media (min-width: 769px) {
    div.fl-menu ul li .fl-menu-toggle::after {
        display: none !important;
    }
    div.fl-menu ul li .fl-menu-toggle::before {
        content: "" !important;
        width: 8px !important;
        height: 8px;
        border: 2px solid;
        border-color: #333 #333 transparent transparent !important;
        transform: rotate(45deg) translate(-7px, 0px) !important;
    }
}
@media (min-width: 1200px) {
    header.primary_header .toggleMenu {
        display: none;
    }
    header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu {
        position: absolute;
        left: -40px;
        top: 0;
        z-index: 2;
        background: #fff;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
        width: 160px;
        padding: 0px;
        border-radius: 0;
        margin-top: 0;
    } 
    header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu li > button i {
        transform: rotate(-90deg);
    }
	header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu ul.sub-menu {
		margin-top: 0;
	}
    header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item:hover > ul.sub-menu {
        display: block;
        top: 100%;
    }
    header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item > ul.sub-menu li.menu-item:hover > ul.sub-menu {
        display: block;
        left: 100%;
    }
    header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu a {
        font-weight: 600;
    }
}
@media (min-width: 1400px) {
    header.primary_header .headerBtm .navigationWrap ul.menu ul.sub-menu {
        width: 180px;
    }
}

@media (max-width: 1199px) {
    header.primary_header .toggleMenu {
        position: relative;
        text-align: right;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header.primary_header .toggleMenu .toggleBtn {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

     header.primary_header .toggleMenu span {
        width: 30px;
        height: 5px;
        background-color: #b8261c;
        border-radius: 10px;
        display: block;
        margin: 3px;
        transition: all 0.1s;
    }

    header.primary_header .headerBtm .navigationWrap ul.menu {
        display: block;
        overflow-y: auto;
        width: 100%;
        height: 100%;
    }

    header.primary_header .navigationWrap {
        position: fixed;
        left: 0;
        top: 100%;
        z-index: 99;
        background-color: #fff;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        flex-direction: row-reverse;
        padding: 30px 15px;
        transition: all 0.2s linear;
    }

    header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item {
        margin: 10px 0;
    }

    body.headerMenuToggled {
        overflow: hidden;
    }

    body.headerMenuToggled header.primary_header .navigationWrap {
        top: 0px;
    }

    body.headerMenuToggled header.primary_header .toggleMenu span:nth-child(1) {
        transform: rotate(45deg) translate(3px, -7px);
        transform-origin: top left;
    }

    body.headerMenuToggled header.primary_header .toggleMenu span:nth-child(2) {
        opacity: 0;
    }

    body.headerMenuToggled header.primary_header .toggleMenu span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, 6px);
        transform-origin: bottom left;
    }
    header.primary_header .navigationWrap .toggleMenu {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 9;
    }
    header.primary_header .headerBtm .navigationWrap ul.menu li.menu-item.show > ul.sub-menu {
        display: block;
        background-color: #f2f2f2;
    }
    header.primary_header .headerBtmWrap {
        padding: 10px 0;
    }
    header.primary_header .headerBtm .navigationWrap ul.menu > li.menu-item > a {
        padding: 10px 0;
    }
    header.primary_header .headerBtm .navigationWrap ul.menu button {
        position: absolute;
        right: 0;
        top: 12px;
        z-index: 1;
    }
}
@media (max-width: 767px) {
    header.primary_header .toggleMenu span {
        width: 30px;
        height: 4px;
        margin: 4px;
    }
    body.headerMenuToggled header.primary_header .toggleMenu span:nth-child(1) {
        transform: rotate(45deg ) translate(4px, -6px);
    }
    body.headerMenuToggled header.primary_header .toggleMenu span:nth-child(3) {
        transform: rotate(-45deg ) translate(3px, 7px);
    }
    header.primary_header .headerBtm .header-site-title a {
        font-size: 12px;
    }
    header.primary_header .headerBtm .header-site-title a em {
        display: block;
        font-size: 20px;
        letter-spacing: 1px;
    }
}

/**Header styles end**/


/**Footer styles start**/

footer.footer-main, footer.footer-main * {
    box-sizing: border-box;
}
footer.footer-main .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}
footer.footer-main .footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
footer.footer-main .footer-column {
    width: calc(100%/4 - 37px);
    padding: 0 15px;
    margin-bottom: 30px;
}
footer.footer-main .footer-top .footer-column:nth-child(1) {
    width: 410px;
}
footer.footer-main .footer-top {
    background-color: #091630;
    padding: 40px 0 10px;
}
footer.footer-main .footer-btm {
    background: #cd2919;
    background: linear-gradient(0deg, rgba(177,37,29,1) 0%, rgba(209,42,24,1) 100%);
    padding: 10px 0;
}
footer.footer-main .footer-btm p {
    text-align: center;
    color: #fff;
    font-size: 12px;
}
footer.footer-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer.footer-main a {
    color: #fff;
    text-decoration: none;
}
footer.footer-main a:hover, 
footer.footer-main .current_page_item  a {
    color: #c82919;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:not(:last-child) {
    margin-bottom: 30px;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:first-child a {
    color: #cd2919;
    font-weight: 900;
    font-size: 16px;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:first-child a em {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #fff;
    font-size: 24px;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:nth-child(2) .textwidget,
.social-items {
    display: flex;
    flex-direction: column;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:nth-child(2) .textwidget a,
.social-items a {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin: 5px 0;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:nth-child(2) .textwidget a i,
.social-items a i {
    color: #091630;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    line-height: 30px;
    text-align: center;
    margin: 5px 10px 5px 0;
}
footer.footer-main .footer-top .footer-column:nth-child(1) aside:nth-child(2) .textwidget a.mailto-link > span,
.social-items a.mailto-link > span {
    display: flex;
    align-items: center; 
}
footer.footer-main .footer-top .widget-title {
    color: #c82919;
    font-style: normal;
    margin-bottom: 15px;
}
footer.footer-main .footer-top .widget_nav_menu a {
    font-size: 14px;
}
footer.footer-main .footer-column:nth-child(4) {
    padding-top: 35px;
}

@media (max-width: 1199px) {
    footer.footer-main .footer-top .footer-column:nth-child(1) {
        width: 100%;
    }
    footer.footer-main .footer-column {
        width: calc(100%/3);
    }
}
@media (max-width: 767px) {
    footer.footer-main .footer-top .footer-column:nth-child(2) {
        width: 100%;
    }
    footer.footer-main .footer-column {
        width: calc(100%/2);
    }
    footer.footer-main .footer-top .footer-column:nth-child(1) aside:first-child a {
        font-size: 12px;
    }
    footer.footer-main .footer-top .footer-column:nth-child(1) aside:first-child a em {
        font-size: 20px;
        letter-spacing: 1px;
    }
}

/**Footer styles end**/


#site-breadcrumb {
    z-index: 1;
    border: 0;
}
#site-breadcrumb nav {
	padding-top: 0;
}



.box-layout >.fl-col-content {
    background: rgb(147,31,26);
    background: linear-gradient(119deg, rgba(147,31,26,1) 0%, rgba(208,41,23,1) 100%);
    border-radius: 30px;
    height: 268px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.box-layout .fl-rich-text a {
    text-decoration: none;
}
.fl-contact-form .fl-contact-error {
    font-weight: 400;
}
.fl-contact-form input, .fl-contact-form textarea {
    border: 1px solid #f2f2f2;
	background-color: #f2f2f2;
    border-radius: 3px;
    min-height: 40px;
    padding: 10px;
    font-family: 'Lato', sans-serif;
}
.fl-contact-form .fl-button-wrap a.fl-button {
    min-width: 130px;
    text-align: center;
}
.fl-contact-form input:focus-visible, .fl-contact-form textarea:focus-visible {
	outline: none;
}
.fl-contact-form textarea {
    height: 120px;
    resize: none;
}
.fl-contact-form label {
    display: none;
}

.fl-contact-form .fl-input-group {
    margin-bottom: 20px;
}

.fl-menu.fl-menu-responsive-toggle-mobile {
    text-align: right;
}
.fl-menu .fl-menu-mobile-toggle {
    font-size: 12px;
    background: #b8261c;
    color: #fff;
    margin-bottom: 10px;
}
.alf-left-navigation {
	padding-top: 0 !important;
}
.alf-left-navigation h3 {
    margin-bottom: 10px;
	font-size: 20px;
}

.alf-left-navigation ul li, .fl-menu ul li {
    background-image: none !important;
    padding: 0px !important;
}
.alf-left-navigation ul li:not(:last-child), .fl-menu ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
.alf-left-navigation ul li::before, .fl-menu ul li::before {
	opacity: 0 !important;
}

.alf-left-navigation ul, .fl-menu ul {
    border-right: 4px solid #dadada;
    margin: 0;
    padding: 0 !important;
    list-style: none;
    text-align: left;
}

.alf-left-navigation ul li a, .fl-menu ul li a {
    padding: 14px !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
	background-color: #f2f2f2;
	position: relative;
}

.alf-left-navigation ul li.current_page_item a, .fl-menu ul li.current_page_item > a, .fl-menu ul li.current-menu-ancestor > .fl-has-submenu-container a {
    color: #cd2919 !important;
    font-weight: 900;
}
.alf-left-navigation ul li.current_page_item a::before, .fl-menu ul li.current_page_item > a::before, .fl-menu ul li.current-menu-ancestor > .fl-has-submenu-container a::before {
	content: "";
	width: 4px;
	height: 100%;
	background-color: #cd2919;
	position: absolute;
	right: -4px;
	top: 0;
}
.alf-left-navigation ul li a:hover, .fl-menu ul li a:hover {
    color: #cd2919 !important;
}

.fl-menu ul li .fl-menu-toggle::before {
    width: 8px !important;
    border-top: 2px solid !important;
}
.fl-menu ul li .fl-menu-toggle::after {
    height: 8px !important;
    border-left: 2px solid !important;
}
#site-breadcrumb a {
    text-decoration: none;
    color: #cd2919;
}

.contact-info-left li, .contact-info-left p, .contact-info-left a, .contact-info-left .fl-rich-text {
    color: #fff;
}
.contact-info-left .social-items a i {
	color: #cd2919;
}
.contact-info-left .social-items a {
    margin-bottom: 20px;
}
.contact-pannel .fl-col-group-equal-height {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
.col-shadow-right {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
    background-color: #fff;
    margin: 20px 0;
    border-radius: 4px;
}
.fl-col-small + .col-shadow-right {
    margin-top: 54px;
}
.col-shadow-right img {
    box-shadow: inset 0px 0px 10px rgb(0 0 0 / 20%);
    border: 0px solid #ffffff;
    border-radius: 2px;
    padding: 10px;
}
.col-shadow-right h2 {
    border-bottom: 4px solid;
}
.team-member-bio .bio {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
    background-color: #fff;
    margin: 20px 0;
    border-radius: 4px;
    padding: 30px;
}
.team-member-bio .bio img {
    box-shadow: inset 0px 0px 10px rgb(0 0 0 / 20%);
    border: 0px solid #ffffff;
    border-radius: 2px;
    padding: 10px;
}
.team-member-bio .bio h2 {
	border-bottom: 4px solid;
}
.page-id-113 header.primary_header, body.home header.primary_header {
    margin-bottom: 0;
}
.page-id-113 #site-breadcrumb {
    display: none;
}
.alf-cookies {
    background: #c62819;
}
.alf-cookies>div>a {
    background: #fff;
    font-size: 16px;
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    color: #c62819;
    padding: 4px 10px;
    border-radius: 3px;
}
#site-content ul>li {
    background: none;
    position: relative;
}
#site-content ul>li::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #bd271b;
    position: absolute;
    left: 0;
    top: 10px;
}
h1, h2, h3, h4, h5, h6 {
	font-style: normal !important;
}
.alf-left-navigation h3 a {
	text-decoration: none;
}
section#site-content {
    display: flex;
    justify-content: center;
    min-height: 424px !important;
}
section#site-content > main {
    width: 100%;
}


@media (min-width: 1200px) {
    .team-member-bio .bio .photo {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .team-member-bio .bio .photo + p {
        display: inline-block;
        float: right;
        margin-top: -92px;
    }
}
