/*
Theme Name:   Steve Boyd, PC
Theme URI:    https://sboydlaw.com/
Description:  Custom WordPress theme for Steve Boyd, PC - Personal Injury Attorney.
Author:       Elite Legal Marketing
Author URI:   https://www.elitelegalmarketing.com/
Version:      1.0.0
Text Domain:  sboyd
Tags:         custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat-Bold.woff2) format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat-ExtraBold.woff2) format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat-Regular.woff2) format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat-SemiBold.woff2) format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Teko';
    src: url(fonts/Teko-SemiBold.woff2) format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: TeXGyreTermes;
    src: url(fonts/TeXGyreTermes-BoldItalic.woff2) format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap
}
@font-face {
    font-family: TeXGyreTermes;
    src: url(fonts/TeXGyreTermes-Italic.woff2) format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap
}
@font-face {
    font-family: TeXGyreTermes;
    src: url(fonts/TeXGyreTermes-Regular.woff2) format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: TeXGyreTermes;
    src: url(fonts/TeXGyreTermes-Bold.woff2) format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}


:root {--color-white: #ffffff;--color-black: #000000;--color-text: #333333;--color-light: #f5f5f5;--color-border: #dddddd;--font-base: "Montserrat", sans-serif;--font-heading: 'TeXGyreTermes', sans-serif;--container-xl: 1660px;--transition: 0.3s ease}
* {margin: 0;padding: 0;box-sizing: border-box;scroll-behavior: smooth;}
html {-webkit-text-size-adjust: 100%}
body {margin: 0;padding: 0;font-family: var(--font-base);font-weight: 400;font-size: 16px;line-height: 1.6;color: var(--color-text);background-color: var(--color-white);-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale}
h1,
h2,
h3,
h4,
h5,
h6 {font-family: var(--font-heading);font-weight: 600;margin: 0 0 20px 0;padding: 0;line-height: 1.2;color: #083061}
blockquote,
li,
ol,
p,
ul {font-family: var(--font-base);font-weight: 400;margin: 0 0 10px 0;padding: 0}
li,
ul {list-style: none}
a {font-family: inherit;font-size: inherit;line-height: normal;color: inherit;text-decoration: none;transition: var(--transition)}
a:focus {outline: 0 !important}
a:hover {color: #1e90ff}
iframe,
img {max-width: 100%;border: none;vertical-align: middle}
img {border: 0;height: auto;width: 100%;display: block}
a:visited {color: #0076d7}
.clear {clear: both}
.aligncenter,
.alignleft,
.alignright {margin-bottom: 10px}
.alignnone {margin-bottom: 10px}
.alignleft {float: left;margin-right: 15px;margin-top: 0}
.alignright {float: right;margin-left: 15px;margin-top: 0}
.aligncenter {display: block;margin: 0 auto 15px auto}
p:empty {display: none !important}
.container {width: 100%;max-width: var(--container-xl);margin: 0 auto}

/* search Styling Start */
.search-page-form {margin: 0 auto 40px;max-width: 500px;}
.search-page-form .search-form { display: flex; gap: 10px; }
.search-page-form input[type="search"], .no-results input[type="search"]{ flex: 1; height: 50px; padding: 0 15px; border: 1px solid #ddd; font-size: 15px;font-family: 'Montserrat', sans-serif;}
.search-page-form button {height: 50px;padding: 0 25px;cursor: pointer;border: none;}

 /* Search Styling End */

@media screen and (max-width: 1800px) {.container {max-width: 1500px}}
@media screen and (max-width:1700px) {.container {max-width: 1400px}}
@media screen and (max-width:1600px) {.container {max-width: 1300px}}
@media screen and (max-width:1440px) {.container {max-width: 1200px}}
@media screen and (max-width:1366px) {.container {max-width: 1100px}}
@media screen and (max-width:1240px) {.container {max-width: 970px;padding: 0 10px}}
@media screen and (max-width:991px) {.container {max-width: 720px;padding: 0 15px}}
@media screen and (max-width:767px) {.container {max-width: 100%;padding: 0 15px}}
@media screen and (min-width: 992px) {.head-sec {display: block}}

.head-sec {background-color: transparent;position: absolute;z-index: 999;top: 0;left: 0;right: 0;margin: auto;padding: 30px 30px 20px;border-bottom: 1px solid rgb(33 48 68 / 10%);}
.head-sec .container {max-width: 100%}
.logo-menu {display: flex;justify-content: space-between;align-items: center}
.logo {width: 275px}
.logo a {display: block}
.logo img {width: auto;height: auto}
.logo-rit {display: flex;align-items: flex-end;gap: 20px;flex-direction: column}
.top-rit {display: flex;justify-content: flex-end;gap: 23px;align-items: center}
.free-consut {font-family: 'Montserrat', sans-serif;font-weight: 700;font-size: 12px;line-height: 1.1;letter-spacing: 1.5px;color: #fff;display: inline-block;text-transform: uppercase;padding: 5px 13px;background: #0076d7}
.tel-info a.tel-link {font-family: 'Montserrat', sans-serif;font-weight: 700;font-size: 30px;line-height: 1;letter-spacing: 0;color: #213044;display: inline-block}
.topmenu {width: auto}
.topmenu ul {position: relative;margin: 0}
.topmenu ul li {float: left;position: relative;margin: 0;padding: 0 25px}
.topmenu ul li:last-child {border: none;padding-right: 0}
.topmenu ul li a {position: relative;font-weight: 700;font-size: 14px;line-height: 1.5;color: #213044;font-family: 'Montserrat', sans-serif;text-transform: uppercase}
.topmenu ul li a:hover {color: #000}
.topmenu ul.primary-menu>li a:hover,
.topmenu ul.primary-menu>li.current-menu-item a {color: #9b662a}
.topmenu ul li:first-child {margin-left: 0}
.topmenu ul li:last-child {margin-right: 0}
.topmenu ul li:last-child a {border: 0}
.topmenu ul li ul.sub-menu {display: none;width: 200px;position: absolute;top: 100%;left: 0;right: auto;background-color: #0076d7;padding: 0 0;z-index: 999}
.topmenu ul li:hover ul.sub-menu {display: block}
.topmenu ul li:hover ul.sub-menu ul {display: none}
.topmenu ul li:hover ul.sub-menu li {position: relative}
.topmenu ul li:hover ul.sub-menu li:hover>ul {display: block;top: 0;left: 100%}
.topmenu .sub-menu li.current-menu-item a {color: #fff}
.topmenu .sub-menu li a:after {display: none}
.topmenu .sub-menu li {width: 100%;float: left;border-bottom: 1px solid rgba(255, 255, 255, .2);margin: 0;padding: 0}
.topmenu ul li:hover ul.sub-menu li a:before {display: none !important;}
.topmenu .sub-menu li a {float: left;font-size: 13px;width: 100%;line-height: normal;padding: 8px 12px 8px;color: #fff;display: block;text-transform: uppercase}
.topmenu .sub-menu li a:hover {background-color: #003e95;color: #fff}
.topmenu ul ul a:after {display: none}
.topmenu ul li.menu-item-has-children>a {padding-right: 18px}
.topmenu ul li.menu-item-has-children>a:before {position: absolute;content: "";width: 12px;height: 9px;background-image: url(images/dropdown-icon.webp);background-repeat: no-repeat;background-size: contain;background-position: center;top: 0;right: 0;bottom: 0;margin: auto}
.tel-info a.tel-link:hover {color: #0076d7}
.topmenu ul li a:hover {color: #0076d7}
.mobile_src_nav {display: none}
.showhide {display: none;cursor: pointer}
.showhide b {display: inline-block;font-style: normal}
.sticky-wrap {display: block;position: fixed;top: 0;left: 0;width: 100%;z-index: 999}

.header-sticky {background-color: #fff;padding: 10px 0}
.header-sticky .container {display: flex;align-items: center;justify-content: space-between;gap: 15px}
.sicky-logo {max-width: 160px}
.sicky-logo img {width: 100%;height: auto}
.sicky-cnt a {color: #0076d7;font-weight: 600;display: flex;flex-direction: column;justify-content: center;align-items: center;gap: 10px}
.mobile_src_nav .txtr {font-size: 18px;border: 1px solid #0076df;border-radius: 50%;padding: 7px;height: 40px;width: 40px;text-align: center;cursor: pointer}
.sicky-logo a {display: block}
.head-sec.sticky {position: fixed;background: #fff;padding: 20px 30px;box-shadow: 0 0 15px #f2f3f6;border: none;z-index: 999}

@media screen and (min-width: 992px) {
.sticky-wrap {display: none; } 
}
@media screen and (max-width:1500px) {
.topmenu ul li {padding: 0 20px}
.head-sec {padding: 30px 25px 20px}
}

@media screen and (max-width:1366px) {
.topmenu ul li {padding: 0 14px}
.logo {width: 240px}
}

@media screen and (max-width:1240px) {
.topmenu ul li {padding: 0 8px}
.logo {width: 180px}
.topmenu ul li.menu-item-has-children>a:before {width: 10px}
.topmenu ul li a {font-size: 13px;letter-spacing: -.1px}
.head-sec {padding: 25px 20px 20px}
.head-sec .container {padding: 0}
}

@media screen and (max-width:1024px) {
.topmenu ul li {padding: 0 6px}
.logo {width: 170px}
.topmenu ul li.menu-item-has-children>a {padding-right: 15px}
.topmenu ul li a {font-size: 13px}
.head-sec {padding: 25px 20px 20px}
}

@media screen and (max-width:991px) {
.container {max-width: 720px}
.head-sec {display: none;}
.logo {width: 100%;text-align: center;margin-bottom: 20px;max-width: 100%;padding: 0}
.logo img {max-width: 300px;margin: 0 auto}
.logo-menu {display: inline-block;text-align: center}
.logo-rit {max-width: 100%;text-align: center}
.topmenu {width: 100%;display: none}
.top-rit {max-width: 100%;position: inherit;display: inline-block;margin: 0;float: none}
.showhide {display: block}
.showhide b.txtl,
.showhide b.txtr {color: #fff}
.mobile_src_nav {display: block}
.top-menu {display: none}
.sicky-logo {padding: 0}
.header-sticky .sicky-cnt a::before {transform: scale(.9);top: -2px}
.sicky-cnt.sticky-call-wrap a.tel-link:before {position: absolute;content: "";width: 40px;height: 40px;background-image: url(images/header-sticky-call.webp);background-repeat: no-repeat;background-size: 17px;background-position: center;top: 0;left: -5px;margin: auto;border: 1px solid #0076df;border-radius: 50%}
.sicky-cnt.sticky-call-wrap a.tel-link {position: relative;padding-top: 50px}
}


.hm-form-sec {background-position: center;background-size: cover;background-repeat: no-repeat;background-image: linear-gradient(rgb(255 255 255 / 84%), rgb(255 255 255 / 64%)), url(images/form-background-image.webp);padding: 134px 0 113px 0;position: relative;z-index: 1}
.hm-form-sec-before {width: 100%;height: 100%;background: #e7e9ee;background: linear-gradient(0deg, rgba(231, 233, 238, 1) 5%, rgba(231, 233, 238, 0) 50%);position: absolute;top: 0;left: 0;z-index: -1}
.hm-form-top-cnt h2 {color: #213044;font-family: 'TeXGyreTermes', sans-serif;font-weight: 700;font-size: 60px;line-height: 1.2;margin-bottom: 14px;letter-spacing: -.3px}
.hm-form-top-cnt h2 em {color: #0076d7;font-family: TeXGyreTermes-BoldItalic}
.hm-form-top-cnt h3 {color: #213044;font-family: 'TeXGyreTermes', sans-serif;font-weight: 400;font-size: 48px;line-height: 1.16;margin-bottom: 12px;letter-spacing: -.1px}
.hm-form-top-cnt p {color: #213044;font-family: 'Montserrat', sans-serif;font-size: 18px;font-weight: 600;line-height: 1.6;margin: 0;letter-spacing: .1px}
.hm-form-top-cnt {text-align: center;margin-bottom: 160px}
.hm-form-btm-cnt {width: 94%;margin: auto;background: #fff;padding: 55px 80px;outline: 1px solid #3bb0ff;outline-offset: 48px}
.form-sec {padding: 55px 80px 55px;background-color: #fff}
.form-top-ttl {color: #213044;text-transform: uppercase;font-size: 17px;line-height: 1.7;font-weight: 700;letter-spacing: 3.4px;text-align: center;margin-bottom: 27px}



.contact-form-sec.rate-us-form{background-color: #f2f4f5; padding: 55px 80px;}
.contact-form-sec.rate-us-form .gform_wrapper{margin: 0px;}
.contact-form-sec.rate-us-form .gform-theme--foundation .gsurvey-rating {float: left;}
.contact-form-sec.rate-us-form .gform_wrapper .gfield--input-type-rating .gfield_label{display: block; font-family: "Noto Sans", sans-serif; font-size: 18px; font-weight: 600;}
.contact-form-sec.rate-us-form .gfield--input-type-rating {width: 100% !important;}
.contact-form-sec.rate-us-form .gform-theme--foundation .gsurvey-rating:not(:checked)>input {clip: rect(0,0,0,0); position: absolute;}
.contact-form-sec.rate-us-form .gsurvey-rating label span{font-size: 0px;}
.gform-theme--foundation .gsurvey-rating:not(:checked)>label {background-image: url(images/star-unselected.svg); background-position: center center; background-repeat: no-repeat; background-size: 28px; block-size: 28px; cursor: pointer; float: right; inline-size: 34px; overflow: hidden; padding-inline: 15px; white-space: nowrap;}
.contact-form-sec.rate-us-form .gform-theme--foundation .gsurvey-rating:not(:checked)>label:hover, .gform-theme--foundation .gsurvey-rating:not(:checked)>label:hover~label, .gform-theme--foundation .gsurvey-rating>input:checked~label {background-image: url(images/star-selected.svg);}

.contact-form-sec.rate-us-form .gform_wrapper .gfield--input-type-rating .gfield_label .gfield_required span{color: #d50707;}

.ftr-social-icon ul.social-icons-list li a {display: block; width: 48px; height: 48px; background-image: url(https://sboydnewsite.wpenginepowered.com/wp-content/uploads/2026/05/facebook-icon.webp); background-repeat: no-repeat; background-size: contain; background-position: center; }
.ftr-social-icon ul.social-icons-list li:nth-child(2n) a {background-image: url(https://sboydnewsite.wpenginepowered.com/wp-content/uploads/2026/05/twitter-icon.webp);}
.ftr-social-icon ul.social-icons-list li:nth-child(3n) a {background-image: url(https://sboydnewsite.wpenginepowered.com/wp-content/uploads/2026/05/youtube-icon.webp);}
.ftr-social-icon ul.social-icons-list li:nth-child(4n) a {background-image: url(https://sboydnewsite.wpenginepowered.com/wp-content/uploads/2026/05/linkedin-icon.webp);}

@media screen and (max-width:1800px){
.contact-form-sec.rate-us-form {padding: 50px 65px;}
}
@media screen and (max-width:1600px){
.gform-theme--foundation .gsurvey-rating:not(:checked)>label {inline-size: 33px; background-size: 26px;}
}

@media screen and (max-width:1440px){
.contact-form-sec.rate-us-form {padding: 45px 55px;}
.contact-form-sec.rate-us-form .gform_wrapper .gfield--input-type-rating .gfield_label {font-size: 16px; }
.gform-theme--foundation .gsurvey-rating:not(:checked)>label {inline-size: 30px; background-size: 25px;}

}

@media screen and (max-width:1240px){
.contact-form-sec.rate-us-form {padding: 40px 35px;}
.gform-theme--foundation .gsurvey-rating:not(:checked)>label {inline-size: 25px; background-size: 23px;}
}

@media screen and (max-width:767px){
.contact-form-sec.rate-us-form {padding: 40px 35px;}
}

@media screen and (max-width:480px){
.contact-form-sec.rate-us-form {padding: 20px 15px;}
.contact-form-sec.rate-us-form .gform_wrapper .gfield--input-type-rating .gfield_label {font-size: 14px;}
}

