/*
 Theme Name:	Casey Law
 Theme URI:     https://www.casey-lawllc.com/
 Description:   Custom Bootstrap 5 theme built upon the SEOteric framework
 Author:        SEOteric
 Author URI:    http://www.seoteric.com
 Template:		Seoteric-Framework
 Version:       1
*/

@import url("https://use.typekit.net/lyc6ebc.css");

/*////////////////////////////////////////////////
GENERAL STYLES
///////////////////////////////////////////////*/
@media (min-width: 1200px) {
    .container, 
    .container-lg, 
    .container-md, 
    .container-sm, 
    .container-xl, 
    .container-xxl {
        max-width: 1140px;
    }
    h2, .h2 {
        font-size: 2.75rem;
    }
}

body,
html {
    font-family: 'nimbus-sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #4a4a4a;
}
a {
    text-decoration: none;
    color: #1f376a;
}
a:hover {
    color: #b69d74;
}
a.arrow {
    position: relative;
    padding-right: 20px;
    border-bottom: 1px solid;
    color: #b69d74;
}
a.arrow:after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 16px;
    background-image: url(images/icon-arrow-gold-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 2px;
    right: 0;
    left: auto;   
}
a.arrow:hover,
a.arrow.arrow-blue {
    color: #1f376a;
}

a.arrow.arrow-blue:after,
a.arrow:hover:after{
    background-image: url(images/icon-arrow-blue-right.svg);
}
a.arrow.arrow-blue:hover {
    color: #b69d74;
}
a.arrow.arrow-blue:hover:after {
    background-image: url(images/icon-arrow-gold-right.svg);
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'adobe-garamond-pro', serif;
    font-weight: 400;
    font-style: normal;
    text-transform: capitalize;
}
.fw-semi {
    font-weight: 600;
}
.fw-bold {
    font-weight: 700;
}
.ft-sans {
    font-family: 'nimbus-sans', sans-serif;
}
/*////////////////////////////////////////////////
COLORS
////////////////////////////////////////////////*/

    /*BACKGROUNDS*/

    .bg-primary {
        background-color: #1f376a !important;
    }
    .bg-dark {
        background-color: #4a4a4a !important;
    }
    .bg-secondary {
        background-color: #b69d74 !important;
    }
    .bg-light {
        background-color: rgba(182,157,116, 0.2) !important;
    }
    #sidebar .bg-light {
        background-color: rgba(182,157,116, 0.35) !important;
    }
    /*TEXT*/
    .text-primary {
        color:  #1f376a !important;
    }
    /*BORDERS*/
    .border-secondary {
        border-color: #b69d74 !important;
    }
    .border-light {
        border-color: #F1F1F1 !important;
    }
    /*BUTTONS*/
    .btn {
        text-transform: uppercase;
        border-radius: 5rem;
        padding: 0.3rem 1.5rem;
    }
    .btn-primary {
        background-color: #b69d74;
        border-color: #b69d74;
    }
    .btn-primary:hover,
    .btn-check:active+.btn-primary, 
    .btn-check:checked+.btn-primary, 
    .btn-primary.active, .btn-primary:active, 
    .show>.btn-primary.dropdown-toggle,
    .gform_wrapper.gravity-theme .gform_footer button:hover,
    .gform_wrapper.gravity-theme .gform_footer input:hover, 
    .gform_wrapper.gravity-theme .gform_page_footer button:hover, 
    .gform_wrapper.gravity-theme .gform_page_footer input:hover,
    .btn-check:focus+.btn-primary, 
    .btn-primary:focus {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
        background-color: #4a4a4a;
        border-color: #FFF;
        color: #FFF;
    }
    .btn-check:focus+.btn-primary, 
    .btn-primary:focus {
        box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 50%);
    }
    .btn-outline-primary {
        border-color: #b69d74;
        color: #b69d74;
    }
    .btn-outline-primary:hover,
    .btn-check:active+.btn-outline-primary, 
    .btn-check:checked+.btn-outline-primary, 
    .btn-outline-primary.active, 
    .btn-outline-primary.dropdown-toggle.show, 
    .btn-outline-primary:active {
        background-color: #1f376a;
        border-color: #FFF;
        color: #FFF;        
    }
    .btn-outline-dark {
        border-color: #1f376a;
        color: #1f376a;
    }
    .btn-outline-dark:hover {
        background-color: #1f376a;
        border-color: #1f376a;
        color: #FFF;
    }
/*////////////////////////////////////////////////
HEADER
////////////////////////////////////////////////*/
li.address,
li.phone,
li.hours,
li.address-alt,
li.phone-alt,
li.hours-alt {
    position: relative;
    padding-left: 20px;
}
li.address:before,
li.phone:before,
li.hours:before,
li.address-alt:before,
li.phone-alt:before,
li.hours-alt:before{
    position: absolute;
    top: 3px;
    left: 0;
    display: inline-block;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url(images/icon-map.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
li.phone:before {
    background-image: url(images/icon-phone.svg);
    top: 4px;
}
li.hours:before {
    background-image: url(images/icon-hours.svg);
}
li.address-alt:before {
    background-image: url(images/icon-map-alt.svg);
}
li.phone-alt:before {
    background-image: url(images/icon-phone-alt.svg);
    top: 4px;
}
li.hours-alt:before {
    background-image: url(images/icon-hours-alt.svg);
}
header li.btn a.nav-link {
    padding: 0.15rem 0.9rem !important;
}
.menu-header-menu-container {
    display: flex;
    flex-basis: 100%;
}
header .dropdown-menu {
    background-color: #E3DDCF;
    border-radius: 0;
    padding: 0;
}
header .dropdown-item {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #b69d74;
    text-transform: none;
}
.navbar-toggler .icon-bar, 
header.sticky .navbar-toggler .icon-bar {
    background: #FFF;
}
#heroSlides .carousel-item {
    max-height: 70vh;
}
.embed-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
#heroSlides .embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#heroSlides .embed-responsive video {
    -webkit-filter: grayscale();
    filter: grayscale();
}
#heroSlides .overlay {
    background: rgb(22,52,86);
    background: linear-gradient(90deg, rgba(22,52,86,1) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(22,52,86,1) 100%);
}
#heroSlides .carousel-caption {
    bottom: 20%;
}
#page-banner .overlay  {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: rgb(22,52,86);
    background: linear-gradient(90deg, rgba(22,52,86,1) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(22,52,86,1) 100%);
}
#page-banner  img {
    -webkit-filter: grayscale();
    filter: grayscale();
}
#page-banner .overlay .container-xl {
    top: 40%;
}
/*////////////////////////////////////////////////
HOME PAGE
////////////////////////////////////////////////*/
#logoBG {
    background-image: url(images/logo-blue.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
}
#help {
    background-image: url(images/help-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.helpInfo {
    background-color: rgba(182,157,116, 0.5);
}
.archive .helpInfo {
    background-color: rgba(182,157,116, 0.75);
}
#featuredPosts .read-more {
    display: none;
}
.consult {
    background-image: url(images/consult-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}
.consult .gform_heading {
    display: none;
}
#carousel-testimonials .carousel-control-prev-icon{
    background-image: url(images/icon-arrow-gold-left.svg);
}
#carousel-testimonials .carousel-control-next-icon{
    background-image: url(images/icon-arrow-gold-right.svg);
}
.carousel-control-next, 
.carousel-control-prev {
    width: 5%;
    opacity: 1;
}
#carousel-testimonials .carousel-control-next, 
#carousel-testimonials .carousel-control-prev {
    bottom: auto;
    top: 30%;
}
/*////////////////////////////////////////////////
FORM STYLES
////////////////////////////////////////////////*/
body .gform_wrapper .ginput_complex .ginput_left input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]), 
body .gform_wrapper .ginput_complex .ginput_right input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]), 
body .gform_wrapper .ginput_complex .ginput_right select, 
body .gform_wrapper .ginput_complex input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]), 
body .gform_wrapper .ginput_complex select,
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper select, .gform_wrapper textarea{
    border-radius: 0px;
    border: 1px solid #b69d74;
    padding: 8px;
    background-color: rgba(182,157,116, 0.5) !important;
    color: #FFF;
}
.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    text-align: center;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    background-color: #b69d74;
    border-radius: 5rem;
    color: #FFF;
    padding: 0.3rem 1.5rem;
    text-transform: uppercase;
    border-width: 1px;
    border-style: solid;
}
#sidebar .gform_widget {
    background: url(images/form-bg-sidebar.webp) no-repeat top center;
    background-size: cover;
    padding: 35px 20px;
    color: #FFF;
}
#sidebar .gform_widget h4.widget-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 30px;
}
::-webkit-input-placeholder,
.gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield select { 
	color: rgba(255,255,255,0.4);
    font-size: 11px;
	}
::-moz-placeholder { 
	color: rgba(255,255,255,0.4);
    font-size: 11px;
}
:-ms-input-placeholder { 
	color: rgba(255,255,255,0.4);
    font-size: 11px;
	}
:-moz-placeholder { 
	 color: rgba(255,255,255,0.4);
    font-size: 11px;
	}

body .gform_wrapper .ginput_complex .ginput_left input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]), 
body .gform_wrapper .ginput_complex .ginput_right input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]), 
body .gform_wrapper .ginput_complex .ginput_right select, 
body .gform_wrapper .ginput_complex input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=image]):not([type=file]), 
body .gform_wrapper .ginput_complex select,
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper select, .gform_wrapper textarea{

}



/*////////////////////////////////////////////////
PAGE STYLES
////////////////////////////////////////////////*/
.cta {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cta h2,
#community h2,
#testimonials h2 {
    position: relative;
}
.cta h2:after,
#community h2:after,
#testimonials h2:after {
    content: '';
    position: absolute;
    width: 160px;
    height: 4px;
    background-color: #b69d74;
    top: 130%;
    left: 50%;
    transform: translate(-50%, 0);
}


/*SIDEBAR STYLES*/

#sidebar ul.catMenu {
    font-family: 'adobe-garamond-pro', serif;
    font-weight: 400;
    font-style: normal;
    text-transform: capitalize;    
    background: #b69d74;
    margin-bottom: 40px;
    list-style-type: none;
    padding: 0;
}
#sidebar ul.catMenu li.categories:first-of-type {
    position: relative;
    color: #FFF;
    font-size: 24px;
    padding: 0 1rem;
    line-height: 2;
}
#sidebar ul.catMenu ul {
    list-style-type: none;
    background: #E3DDCF;
    margin: 0 -1rem;
    font-size: 18px;
    font-weight: bold;
    padding:20px 15px ;
}
#sidebar ul.catMenu ul li {
    line-height: normal;
    background: #E3DDCF;
}
#sidebar ul.catMenu ul a {
    display: block;
    padding: 0.75rem 0.25rem;
    background: #E3DDCF;
    border-style: solid;
    border-color: #1f376a !important;
    border-width: 0 0 1px;
    font-weight: 600;
    color:  #1f376a;
    border-bottom-style: inset
}
#sidebar ul.catMenu ul a:hover {
    background: #4a4a4a;
    color:  #FFF;
}
#sidebar .list-group-item {
    border-style: solid;
    border-color: #1f376a !important;
    border-width: 0 0 1px;
    font-weight: 600;
    color:  #1f376a;
    border-bottom-style: inset
}
#sidebar .catTitle {
    position: relative;
}
#sidebar .catTitle:after,
#sidebar ul.catMenu li.categories:first-of-type:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 28px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #b69d74;
}
#sidebar ul.catMenu li.categories:first-of-type:after {
    top: 48px;
}
/*////////////////////////////////////////////////
FOOTER
////////////////////////////////////////////////*/
footer h4 {
    margin-bottom: 20px;
}
footer a {
    color: #FFF;
}
footer a:hover {
    color: rgba(255,255,255,0.5);    
}

footer ul.menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
footer ul.menu li {
    line-height: 2.5;
    text-transform: uppercase;
}
footer ul.menu ul {
    display: none;
}
/*////////////////////////////////////////////////
RESPONSIVE
////////////////////////////////////////////////*/


@media only screen and (max-width: 1400px) {

}

@media screen and (max-width:979px){
	
}
@media screen and (max-width:859px){
	
}
@media screen and (max-width:767px){
    .helpInfo .col-md-9 {
        border-left: none !important;
    }	

}
@media screen and (max-width:599px){
	
}
@media screen and (max-width:479px){
	
}