@charset "utf-8";
.badges .wpb_wrapper p img {
margin: 0 11px;
max-width: 110px;
}

.cta-new-header a {background: #146292; border-radius: 4px; padding: 4px 10px; color: #fff; text-decoration: none; text-transform: capitalize; box-shadow: 0 3px 0 #0f4e74;}
.cta-new-header a, .cta-new-header a:hover {color: #fff !important;}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {font-weight:bold !important;}

.topbar_title span.t1 {vertical-align: super;}
.slbadge.slbadge-gray {margin: 0 auto; }
.guaranteebox {
    background: url(https://riceandricelaw.com/wp-content/uploads/2019/03/guarantee-top.png) no-repeat;
    margin: 0 auto;
    width: 668px;
    padding: 184px 184px 0 36px;
    height: 411px;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}
.guaranteebox p {
    font-size: 15px;
    color: #fff;
    margin-bottom: 0px;
}
.page-template-layout-3 header.page-header, .page-template-layout-4 header.page-header, .page-template-layout-5 header.page-header {
    background-image: url(https://riceandricelaw.com/wp-content/uploads/2016/12/dr_interior-header.png) !important;
    background-size:cover;
}
.top-bar ul > li a:not(.button) {
    font-size: 14px;
    text-decoration: none;
}
.top-bar ul > li {
    background: none;color: #fff;
    font-size: 14px;
    text-align: center;
    margin: 0 10px;
}
.top-bar .cta .textwidget {
    text-align: center;
}
.top-bar .cta .textwidget ul {
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
}
.top-bar .cta .textwidget ul li {
    text-align: center;
    display: inline-block;
    float: none;
}
.top-bar ul > li:hover {
    background: none!important;
}
.home .shadow .gform_wrapper ul.gform_fields li.gfield {
    margin-top: 0px;
}
.iw_optin_right.wpb_column.vc_column_container.vc_col-sm-6.fwf-hidden.fwf-visible.animated.fadeInRight {
  background: transparent !important;
 /*height: 715px !important;*/
}
.iw_bootcamp_optin.wpb_column.vc_column_container.vc_col-sm-12 {
    background: url(https://riceandricelaw.com/wp-content/uploads/2022/03/CTA-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    max-height:600px;
}
.shadow .iw_optin_left {
    background: none !important;
    min-height: 602px!important;
}
.iw_optin_right a, .iw_optin_right a:hover, .iw_optin_right a:visited {color: #fff !important;}
#field_3_3 {max-width: 100% !important;}
.singular-page-826.page-template-layout-3 header.entry-header.page-header {
    background-image: url(//riceandricelaw.com/wp-content/uploads/2019/02/location-header.jpg)!important;
}
.location-map .wpb_wrapper {
    text-align: center;
}
.location-map .location-contain {
    float: none!important;
    width: 100%;
    margin-bottom: 20px!important;
}

.location-contain .wpb_wrapper {
    width: 100%;
    text-align: center;
    max-width: 100%;
    display: inline-block;
}
.location-contain .wpb_wrapper p {
    color: #fff;
    font-size: 19px;
}



/* Hide these on mobile */
@media all and (min-width: 506px) and (max-width: 780px) {
  .tagline { margin-top: -160px;}
}

/* Added Custom CSS */
.header .row .four.columns { width: 22%; }
.header .row .eight.columns{ width: 76%; }

.service-grid .service-grid-dec a { font-size: 13px; }

body, p, a, h1, h2, h3, h4, h5, h6 { font-family: baskerville, serif !important; }

.taxonomy-category header.header {
    border-bottom: 1px solid #00558e;
    padding-bottom: 15px;
    background: #fff;
}
.taxonomy-category .background {
    background: none;
}

.blog header.header {
    border-bottom: 1px solid #00558e;
    padding-bottom: 15px;
    background: #fff;
}

.blog .background {
    background: none;
}

.blog .row.pagewrap {
    background: #fff;
    box-shadow: none;
}

.taxonomy-category  .row.pagewrap {
    background: #fff;
    box-shadow: none;
}
.singular-post header.header {
    border-bottom: 1px solid #00558e;
    padding-bottom: 15px;
    background: #fff;
}
.singular-post .background {
    background: none;
}
.singular-post  .row.pagewrap {
    background: #fff;
    box-shadow: none;
}

.iw_contact_section { background: url("https://riceandricelaw.com/wp-content/uploads/2016/12/map.jpg") no-repeat; background-size: cover; }

.search .twelve.columns .hfeed {
    width: 978px;
    margin: 0 auto;
}
.search header.header {
    border-bottom: 1px solid #00558e;
    padding-bottom: 15px;
    background: #fff;
}
.search .twelve.columns .hfeed .hentry .entry-summary{
    font-size: 16px;
    line-height: 1.675;
    margin-bottom: 25px;
}
.search  #sidebar {
     display: none;
}
.search .twelve.columns ul.pagination.twelve.columns {
    margin: 40px auto;
}
.search .twelve.columns .page-title.entry-title {
    text-align: left;
    font-weight: 400;
    font-size: 35px;
    margin-top: 30px!important;
    margin-bottom: 12px;
}

#containerSearchFormDesign form.search-form {
    position: relative;
}
#containerSearchFormDesign .eight.mobile-three.columns {
    width: 100%;
}
#containerSearchFormDesign .eight.mobile-three.columns .search-text{height: 44px;}
#containerSearchFormDesign .four.mobile-one.columns {
    position: absolute;
    right: -72px;
    top: 9px;
}
#containerSearchFormDesign input.postfix.small.button.expand {
    background-image: url("../wp-content/uploads/2016/12/searchFormDesignSubmit.gif");
    background-repeat: no-repeat;
    background-color: transparent;
    color: transparent;
    width: 20px;
    height: 20px;
    background-position: center center;
}
.silo-practice-wrap h4.title-practice {
    color: #fff;
    font-weight: 400;
}
.silo-practice-wrap ul.fl-list.list-level-1 {
    color: #fff;
    list-style: none;
}
.silo-practice-wrap a.fl-list-link.list-link-level-1 {
    color: #fff;
    text-decoration: none;
}
.silo-practice-wrap a.fl-list-link.list-link-level-1 {
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
    color: #e6e6e6;
    display: block;
    padding: 8px 0px 8px 15px;
    border-bottom: 0;
    margin-bottom: 0;
    background: url(../images/silo.png) no-repeat left center;
}
.silo-practice-wrap a.fl-list-link.list-link-level-1:hover {
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
    color: #e6e6e6;
    display: block;
    padding: 8px 0px 8px 15px;
    border-bottom: 0;
    margin-bottom: 0;
    background: url(../images/silo-o.png) no-repeat left center;
}
.silo-practice-wrap .fl-list a.fl-list-link.list-link-level-1{
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
    color: #e6e6e6;
    display: block;
    padding: 8px 0px 8px 15px;
    border-bottom: 0;
    margin-bottom: 0;
    background: url(../images/silo.png) no-repeat left center;
}
.silo-practice-wrap .fl-list a.fl-list-link.list-link-level-1:hover {
  font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
    color: #e6e6e6;
    display: block;
    padding: 8px 0px 8px 15px;
    border-bottom: 0;
    margin-bottom: 0;
    background: url(../images/silo-o.png) no-repeat left center;
}

a.office-page-link {
    color: #000f2a;
    font-weight: 600;
}
.iw_contact_section .cf7_form_wrap h5 {
    color: #000f2a;
}
footer .bottom_bar {
    background: #031128;
}
footer .row.footer_bar {
    display: none;
}
footer .visa-icons {
    float: none;
    margin-top: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}
footer {
    background-color: #031128;
}

.iw_contact_section .cf7_form_wrap p strong {
    color: #000f2a;
    font-weight: 600;
}

.short-form-wrap .gform_wrapper .gform_footer {
     width: 100%;
    margin: 0 auto;text-align: center;
}
.short-form-wrap  #field_1_5 label.gfield_label {
    display: none;
}

.checkDisclaimer .ginput_container label {
    color: #fff;
}
.header #primary-nav .menu-item a:hover {
    color: #00558e!important;
    margin-top: 0px!important;
}
.top-navbar .menu>li.current-menu-item, .top-navbar .menu>li:hover {
   margin-top: -2px!important;
}
.page-template-layout-3 header.header, .page-template-layout-4 header.header, .page-template-layout-5 header.header{
    padding-bottom: 120px;
    background-color: #fff;
}
.page-template-layout-3 header.page-header, .page-template-layout-4 header.page-header, .page-template-layout-5 header.page-header {
    margin-bottom: -110px;
    z-index: 9;border-top: 1px solid #00558e!important;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #000;
    padding-bottom: 13px;
}
.page-title.entry-title {
    text-align: center;
    font-weight: 400;
    font-size: 35px;
    margin-top: 80px!important;
    margin-bottom:50px!important;
}
 .page-template-home-page .nav-prac-wrap ul li.criminal a {
    background: url("../wp-content/uploads/2016/12/criminal-int.png") no-repeat top center!important;
}
.page-template-home-page .nav-prac-wrap ul li.criminal a:hover {
    background: url("../wp-content/uploads/2016/12/criminal-int-o.png") no-repeat top center!important;
}
.page-template-home-page .nav-prac-wrap ul li.driving a {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/dui-int.png") no-repeat scroll center top!important;
    padding: 110px 10px 33px;
}
.page-template-home-page .nav-prac-wrap ul li.driving a:hover {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/dui-int-o.png") no-repeat scroll center top!important;
    padding: 110px 10px 33px;
}
.page-template-home-page .nav-prac-wrap ul li.family a {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/family-int.png") no-repeat scroll center top!important;
}
.page-template-home-page .nav-prac-wrap ul li.family a:hover {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/family-int-o.png") no-repeat scroll center top!important;
}
.page-template-home-page .nav-prac-wrap ul li.bankruptcy a {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/bankruptcy-int.png") no-repeat scroll center top!important;
}
.page-template-home-page .nav-prac-wrap ul li.bankruptcy a:hover {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/bankruptcy-int-o.png") no-repeat scroll center top!important;
}
.page-template-home-page .nav-prac-wrap ul li a {
    display: block;
    text-decoration: none;
    font-family: "Roboto",sans-serif;
    font-size: 18px;
    color: #fffdfd;
    padding: 120px 10px 45px 10px!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.criminal a {
    background: url("../wp-content/uploads/2016/12/criminal-int-inner.png") no-repeat top center!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.criminal a:hover {
    background: url("../wp-content/uploads/2016/12/criminal-int-inner-o.png") no-repeat top center!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.driving a {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/dui-int-inner.png") no-repeat scroll center top!important;
    padding: 61px 10px 33px!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.driving a:hover {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/dui-int-inner-o.png") no-repeat scroll center top!important;
    padding: 61px 10px 33px!important;
}
.page-template-layout-3.nav-prac-wrap ul li.family a {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/family-int-inner.png") no-repeat scroll center top!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.family a:hover {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/family-int-inner-o.png") no-repeat scroll center top!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.bankruptcy a {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/bankruptcy-int-inner.png") no-repeat scroll center top!important;
}
.page-template-layout-3 .nav-prac-wrap ul li.bankruptcy a:hover {
    background: rgba(0, 0, 0, 0) url("../wp-content/uploads/2016/12/bankruptcy-int-inner-o.png") no-repeat scroll center top!important;
}
.page-template-layout-3 .nav-prac-wrap ul li a {
    display: block;
    text-decoration: none;
    font-family: "Roboto",sans-serif;
    font-size: 18px;
    color: #fffdfd;
    padding: 74px 10px 21px 10px!important;
}
.nav-prac-wrap{ display: none;}

.page-template-layout-3 .nav-prac-wrap{ display: none;   padding: 40px 0 0px 0!important;}

.iw_contact_section .cf7_form_wrap {
     background-color: transparent;
}

#gform_submit_button_2:hover, #gform_submit_button_2:focus, #gform_submit_button_2.current {
    color: #fff;
    background-color: #660033;width: 30%;
    border-radius: 0px;
}
#gform_submit_button_2 {
    background: #00558E;
    border: 0;
    color: #fff;width: 30%;
    border-radius: 0px;
}
.gform_wrapper .gfield_html.gfield_no_follows_desc {
    margin-top: .625em;
    text-align: center;
}

.skilled-section{border-top: 1px solid #ccc;}

.short-form-wrap .gform_wrapper .top_label input.medium, .short-form-wrap .gform_wrapper .top_label select.medium {
    width: 100%;
    border: 1px solid #707275;
    background: none;
    color: #fff;
    float: left;
}
.short-form-wrap .gform_wrapper .textarea.medium{
    border: 1px solid #707275;
    background: none;
    color: #fff;
}
 .short-form-wrap .gform_wrapper .top_label .gfield_label {
      color: #fff;
}

p.intakeFormShortPrivacy a {
    color: #fff;
}
.short-form-wrap .gform_wrapper input[type="submit"] {
    background-color: #5aa1e3;
    width: 23%;
    border-radius: 0px;
    font-weight: 500;float:none;
}

.short-form-wrap .title-short-form {
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    font-family: "Roboto Slab",serif;
    padding: 35px 0;
    margin: 0;
    text-align: center;
    line-height: 1.25;
}

.nav-practice-home a {
    color: #fffdfd;
    text-decoration: none;
    font-size: 16px;
    background: #000f2a;
    padding: 13px 10px;
    width: 150px;
    text-align: center;
    display: block;
}

.nav-practice-home h4 {
    font-size: 22px!important;
    text-align: left!important;
    margin: 10px 0!important;
    font-weight: 400!important;
}
.nav-practice-home .wpb_wrapper a {
    background: #000f2a;
    padding: 13px 10px;
    margin-top: 20px;
    display: inherit;
    color: #fff;
    text-align: center;
}

.top-navbar .menu>li.active>a, .top-navbar .menu>li.active {
    color: #00558e!important;
}
.top-navbar .menu li:hover a, .top-navbar .menu>li.active {
    color: #00558e!important;}
.home .no_slideshow {
    margin-top: 164px;
}

.cta-nav-wrap {
        float: right;
    width: 100%;
    margin: 0px 0 15px 0!important;
    line-height: 1.2;
    text-align: right;
}
.cta-text {
    font-size: 18px;
    font-family: "Roboto Slab",serif;
}
.cta-phone {
    color: #660033;
    font-size: 30px;
    font-family: "Roboto Slab",serif;
    padding-left: 5px;font-weight: 600;
}
.cta-text-2 {
    font-size: 17px;
    display: block;
    font-family: "Roboto Slab",serif;
}

.home header.header {
  border-bottom: 1px solid #004d8c;padding-bottom: 6px;    position: relative;
}

.top-bar {
    background: #222222;
    min-height: 45px;
    line-height: 45px;
    margin: 0px auto;
    padding: 0;
    width: 100%;
    position: relative;
}
.header .address{display: none;}
.header .phone_number{display: none;}
.header .social_icons{display: none;}
.top-navbar {
       top: 88px;
    width: 100%;
}
.top-navbar {
    border-top: 0px solid #000;
}

body .top-navbar .menu>li a {
    display: block;
    padding: 0px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    color: #660033;
    background: url(../images/divider.gif) no-repeat right center;
    font-family: "Roboto",sans-serif;
}
.top-navbar .menu > li.active > a {
    box-shadow: inset 0 0px 0 #fff,inset 0 0 0px 0 #fff;
}
footer .social_media {
   display: none;
}
footer .bottom_bar {
    background: #000e2a;
}
footer {
    width: 100% !important;
    color: #fff;
    min-height: 120px;
    background-color: #000e2a;
}
.top-navbar .menu > li > a:first-child {
     font-weight: 400;padding: 8px 18px;
    text-transform: uppercase;
    /* font-weight: bold; */margin-top: -2px!important;
}
.top-navbar .menu > li.current-menu-item, .top-navbar .menu > li:hover {
    background: transparent none repeat scroll 0 0 !important;
    border-top: 0 solid #2a2a2a!important;
    margin-top: -1px;color:#00558e!important;
}

.visa-icons {
    float: right;
}
.bottom_bar a {
    color: #fff;
    text-decoration: underline;
}
.bottom_bar a:hover{
    color: #990033;
}
.home .slideshow {
    border: 0;
    margin: 0;
    height: 520px;
    margin-top: 0px;
}
.home .slideshow .tagline {
    padding: 15px 10px 20px 10px;
    background: rgba(0,168,254,0.4);
}

.home .slideshow .slide-container .tagline {
    clear: both;
    text-transform: uppercase;
    font-size: 36px;
    font-family: "Roboto Slab",serif;
    color: #ffffff;
    text-align: center;
    text-shadow: 0px 3px 6px #43433F;
   
}

.home .slideshow .slide-container .tagline h4{color: #fff!important;}

.home .slideshow .slide-container .tagline p {
    line-height: 1.2;
    font-weight: bold;
    font-size: 24px;
    font-family: "Roboto",sans-serif;
    text-transform: none;
    margin-bottom: 0;
    margin-top: 5px;
}
.background #slides .slide-container {
    top: 9em;
}
.slide-container h4, .home_widget h5, div[role=main] h5, .fwf_latest_wod h5 {
    color: #2a2a2a;
}
.badges .wpb_wrapper p img {
    margin: 0 10px;
}
.social-icons {
    width: 20%;
    margin: 40px auto 40px auto;
    padding-bottom: 40px;
}
.social-icons a {
    margin: 0 3px;
    text-align: center;
}

/* Added Extra css*/

.home-module-content-wrap {
    padding: 0px 0 20px 0;
}
.shadow .iw_optin_left {
    background: #fff url(../wp-content/uploads/2019/03/map-left.jpg) repeat-x scroll right top;
    /*min-height: 694px!important;*/
}
.shadow .iw_optin_right {
    background: #005391 url("../wp-content/uploads/2017/07/right-back.jpg") repeat-x scroll left top;min-height: 600px!important;
}
.shadow .iw_optin form {    
    overflow: inherit;
    width: 100%;
    background-color: rgba(42,40,56,0.7);
    padding: 20px;
}
#gform_wrapper_3 {margin-bottom:0;}
.iw_optin_right .gform_wrapper .top_label input.medium, .iw_optin_right .gform_wrapper .top_label select.medium, .iw_optin_right .gform_wrapper textarea {
    width: 47.5%;
    padding: 0px;
    font-size: 13px;
}
.shadow .iw_optin_left input[type="submit"], .shadow .iw_optin_right input[type="submit"] {
   color: #fff;
    background-color: #005391;
    border-radius: 0px!important;
    width: auto;
    margin-top: 0;
    margin-right: 12px;
    display: inline-block!important;
    float: none!important;
}
.iw_optin_right .wpb_wrapper p {
    max-width: 100%;
    margin-bottom: 0;
}
.iw_optin {
    padding: 0px;
    /*background-color: #005391;*/
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: none;
}
#menu-bottom ul#menu-bottom-items {
    text-align: center;
}
#menu-bottom ul#menu-bottom-items li a {
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
    border-color: #fff;
}
footer .copyright {
    padding-top: 3px;
    font-size: 13px!important;
    text-align: center;
    color: #555555!important;
}
footer .copyright a{
     font-size: 13px!important; text-decoration: none;   
    color: #555555!important;
}
.home-module-content-wrap {
    padding: 10px 0 20px 0!important;
}
.home-module-content-wrap h5 {
    margin-bottom: 20px!important;
}
.service-grid .wpb_singleimage_heading {
    position: absolute;
    color: #fff;
    font-size: 20px;
    text-align: center;
    /* display: inline; */
    width: 88%;
    top: 22%;
}
.service-grid {
    position: relative;
}

.service-grid .service-grid-dec {
    position: absolute;
    background-color: rgba(255,255,255,0.95);
    width: 88%;height: 100%;
    top: 0;    padding: 10px;display: none;
}
.service-grid:hover .service-grid-dec{display: block;cursor: pointer;}
.service-grid .service-grid-dec.active{display: block;cursor: pointer;}
.service-grid-dec ul {
    list-style: none;
}
.service-grid-dec ul li {
    margin: 0;
    font-size: 13px;border-bottom: 1px solid #ccc;
    color: #00aeef;
    background-image: url("../wp-content/uploads/2017/07/blue-arrow.png");
    background-repeat: no-repeat;
    padding-left: 15px;
    background-position: left 3px;
}

.iw_optin .gform_wrapper .gform_footer {
    display: inherit;
}
.iw_optin .gform_wrapper textarea.medium {
    width: 97%!important;
    padding: 2px;
    border: none;
}
.iw_optin .gform_wrapper .top_label{
    width: 100%!important;
    display: inline-block;
}
.tell-search-wrap {
    display: none!important;
}
.page-template-default header.header {
    padding-bottom: 0;
    background-color: #fff;
}

.family_law_widget h5.widget-title {
      color: #fff;
    padding: 16px 0px 3px;
    border-bottom: 1px solid #fff;
    text-align: left;
    margin: 0 15px 10px;
}
.family_law_widget {
        list-style: none;
    background-color:#505050;/*#000e2a*/
    color: #fff;
    padding: 2px 0 20px;
}
.family_law_widget ul#menu-family-law {
    list-style: none;
    padding: 0 10px;
    color: #fff;
}
.family_law_widget ul#menu-family-law li a {
   
    text-transform: capitalize!important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
    color: #e6e6e6;
   
}
.family_law_widget ul#menu-family-law li ul.sub-menu {
    padding-left: 10px;
    margin-bottom: 4px;
}
/*.family_law_widget ul#menu-family-law li ul.sub-menu li {
    background-image: url("../wp-content/uploads/2017/08/if_ChevronRight_1031536.png");
    background-repeat: no-repeat;
    margin: 4px 0;
    background-position: left 6px;
    padding-left: 23px;
    list-style: none;
}*/
.family_law_widget ul#menu-family-law li ul.sub-menu li a {
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-align: left;
    color: #e6e6e6;
    display: block;
    padding:1px 0 1px 15px;
    border-bottom: 0;
    margin-bottom: 0;
    background: url("../wp-content/themes/fwf/images/xsilo.png.pagespeed.ic.XD8wzfVllS.png") no-repeat left center;
}

#menu-family-law li{
    margin: 5px 0; list-style: none;
}
/* Added Custom CSS */

@media only screen and (min-width: 641px) {
  .shadow .gform_wrapper ul.gform_fields li.gfield { padding-right: 16px; float: left; max-width: 210px;}
  .shadow .iw_optin_right li.gfield input, .shadow .iw_optin_right li.gfield select { min-width: 200px !important;}
}

@media screen and (max-width: 800px) {
  .header .four.columns {
      width: 32%;
      float: left;
  }
  .header .eight.columns {
      width: 65%;
      float: right;
  }
  .cta-nav-wrap {
         float: left!important;
      width: 100%!important;padding-right: 10px;
  }
  .service-grid .wpb_singleimage_heading { 
      font-size: 15px;    
      width: 84%;   
  }
  .service-grid .service-grid-dec{padding: 5px;}
  .service-grid-dec ul li{font-size: 12px;}
  .header .top-navbar {
      top: 0px !important; clear: both;
  }
  .shadow #primary-nav > li > a {
      padding: 3px 9px;
      background: #fff!important;
  }
  .home .slideshow .slide-container .tagline h4 {
      color: #fff!important;
      font-size: 30px;
  }
  .home .slideshow .slide-container .tagline p {
     font-size: 16px;
  }
  #content h5 {
      display: grid;
      width: 100%;
  }
  .page-template-home-page .nav-prac-wrap ul li a {
    font-size: 15px;
      color: #fffdfd;
      padding: 116px 10px 45px 10px!important;
  }
  footer .visa-icons {
      float: none;
      margin-top: 10px;
  }
  .page-title.entry-title {
      margin-top: 31px !important;
      text-align: center;
  }
  .entry-content .short-form-wrap {
      background: #00102a url(https://riceandricelaw.com/wp-content/themes/fwf/images/xform-bg.jpg.pagespeed.ic.h0Vm5c9qi8.webp) no-repeat center top;
      position: relative;
      margin-top: 40px;
      background-size:cover;
  }
  .short-form-wrap .gform_wrapper .top_label input.medium, .short-form-wrap .gform_wrapper .top_label select.medium {
      width: 100%;
  }
  .entry-content .badges img {
      display: initial;
  }
  .header .row .four.columns {
      width: auto;
      float: none;
  }
  .header .row .eight.columns {
      width:100%!important;
      text-align: center;
  }

}

@media screen and (max-width: 767px) {
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {padding-top: 0 !important;}
  .page-template-layout-3 .nav-prac-wrap ul li a {
        font-size: 15px;
  }
  .service-grid {
      min-height: 110px!important;
      width: 50%!important;
      display: inline-block;
  }
  .shadow .iw_optin_left input[type="submit"], .shadow .iw_optin_right input[type="submit"]{
      width: 30%;
  }
  .iw_optin_right .wpb_wrapper {
      max-width: 100%;
      width: 100%;
      margin: 0 auto!important;
  }
  .wpb_single_image.vc_align_center {
      text-align: left;
  }
  .map-area {
      background-size: cover!important;
  }
}

@media screen and (max-width: 479px) {
  #slides .slide-image {background-position: -300px top;}
  header .cta-nav-wrap {width: 100% !important;}
  .fwf-pillars .vc_column_container:last-child .pillar-title {font-size: 40px;}
  .liamgooglemap iframe {pointer-events: none;}
  .header .four.columns { width: 100%;  float: none;}
  .header .top-navbar { top: 0px !important;  right:0px;}
  .page-title.entry-title { margin-top: 0px !important; text-align: center; font-size: 20px;}
  .header .eight.columns { width: 100%!important; padding: 0px;}
  .home .slideshow {
    height: 320px;
    margin-top: 165px;
  }
  .home .header .top-navbar {
      top: 0px!important;
      right: 0px;
  }
  .short-form-wrap .gform_wrapper .top_label input.medium, .short-form-wrap .gform_wrapper .top_label select.medium {
      width: 100%;
  }
  .short-form-wrap .gform_wrapper input[type="submit"] {
      background-color: #5aa1e3;
      width: 50%;
  }
  .social-icons {
      width: 40%;
  }
  .badges img {
      display: initial;
  }
  .nav-practice-home h4 {
      font-size: 19px;
      text-align: center!important;
  }
  .background #slides .slide-container {
      top: 3em;
  }
  .silo-practice-wrap {
      margin-top: 18px;
  }
  #gform_submit_button_2 {
      width: 80%;
  }
  .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
      width: 100%!important;
  }

  .service-grid {  
      margin: 5px auto;
  }
  .shadow .iw_optin_left {  
      min-height: 300px!important;
      background-position: center center;
  }
  .shadow .iw_optin_left input[type="submit"], .shadow .iw_optin_right input[type="submit"]{width: 100%;}
  .iw_optin .ginput_container {
      float: none;
      width: 100%;
  }
  .iw_optin .gform_wrapper textarea.medium {
      width: 100%!important;    
  }
  .iw_optin .gform_wrapper .top_label input[type="text"], .iw_optin .gform_wrapper .top_label input[type="email"], .iw_optin .gform_wrapper .top_label select {
      width: 100%!important;
      min-width: 100%!important;
      max-width: 100%!important;
  }
  .iw_optin .gform_wrapper .top_label {
     margin-top: 0px;
  }
  .service-grid {
      min-height: 110px!important;
      width: 25%;
      display: inline-block;
  }
  .wpb_single_image.vc_align_center {
      text-align: left;
  }
  .service-grid .service-grid-dec {
      background-color: rgba(255,255,255,1);
      width: 90%;
      left: 5%;
  }
  .slide-container{padding: 5px;}
  .home .slideshow .slide-container .tagline h4 {
      color: #fff!important;
      font-size: 24px;
  }
  .iw_optin_right .wpb_wrapper {
      padding: 5px;
  }
  .location-map .vc_column-inner {
      margin: 0px!important;
  }
  .top-bar ul > li a:not(.button) {
      font-size: 14px;
      text-decoration: none;
      height: auto;line-height: 24px;
  }
  .top-bar {
      background: #222222;
      min-height: 45px;
      line-height: 45px;
      margin: 0px auto;
      padding: 0;
      width: 100%;
      position: relative;
      height: 60px!important;
  }
  .top-bar .cta .textwidget ul{
        line-height:22px;padding-top: 4px;
  }
  .guaranteebox {
      margin: 0 auto;
      width: 100%;
      padding: 141px 10px 0 10px;
      height: auto;
      -moz-background-size: 100% auto;;
      -webkit-background-size: 100% auto;;
      background-size: 100% auto;
      background-color: #0a1b3a;
  }
}