/*
Theme Name:   Scharff Law Firm
Theme URI:    http://highrankwebsites.com
Author:       SR
*/

.mob_req_btn {
    display: none;
}
.viewport {
    width: 1070px;
}
@media (max-width:1200px) {
   
   .marijuana_btn {
        display: none;
    }
    
    .phone_top {
    float: right;
    margin-right: 2%;
    }

    .points li {
    float: left;
    width: 29%;
    margin: 0% 2%;
    }
    .prosecutor {
        width: 90%;
    }
    .prosecutor p {
        height: 330px;
    }
    .ratings {
        width: 90%;
    }
    .ratings p {
        height: 350px;
    }
    .thousands {
        width: 90%;
    }
    .thousands p {
        height: 330px;
    }
    .blue_foot .col_left {
    width: 25%;
    margin-left: 6%;
}
.viewport {
width: 870px;
margin: 0 auto;
}
    #tiny-carousel-slider1 .buttons {
    padding: 0 15px;
    }
.page_default {
width: 90%;
padding-left: 5%;
padding-right: 5%;
}
.contact_primary {
    width: 100%;
}
.contact_map {
  width: 100%;
  float: left;
  margin-left: 0px;
  position: relative;
  margin-top: 15px;
  display: block;
  margin-bottom: -50px;
}
.page-template-page-sidebar-php .primary {
  width: 68%;
  float: right;
}
.page-template-page-attorney-bio-php .primary {
  width: 68%;
  float: right;
}
.internal_page .entry-content a {
  color: #de9f23;
  text-decoration: none;
  letter-spacing: .04em;
  margin: 0px 2px 0px 2px;
  font-weight: 600;
  font-size: 18px;
}
}


@media (max-width: 1000px) {
    .mast_content {
    float: none;
    margin: 0 auto;
    }

    .mast h2 {
    color: white;
    font-size: 26px;
    letter-spacing: .01em;
    text-transform: uppercase;
    line-height: 27px;
    margin-bottom: 7px;
    font-family: 'DIN Next W01 Bold';
    margin-top: 26px;
    letter-spacing: .035em;
    font-weight: 800;
    }

    .mast h2:before {
      display: block;
      content: '';
      background: url('images/logo.png') center 50px no-repeat;
      background-size: 190px;
      padding-top: 35px;
      height: 133px;
      padding-bottom: 80px;
    }
.page-id-8 .mast h2:before {
  display: block;
  content: url('images/logo.png');
  padding-top: 66px;
  padding-bottom: 55px;
  background: none;
}

    .points p {
        font-size: 15px;
    }
    .points a {
        width: 100%;
    }
    .prosecutor p:before {
    content: url('https://scharfflawfirm.com/wp-content/uploads/2019/10/prosecutor-m-1.png');
    display: block;
    height: 110px;
    margin-top: 20px;
    text-align: center;
}
    .ratings p:before {
    content: url('images/35-stars.png');
    display: block;
    height: 130px;
    text-align: center;
    position: relative;
	top: -18px;
    }
    .thousands p:before {
    content: url('images/defended-clients-m.png');
    display: block;
    height: 110px;
    margin-top: 20px;
    text-align: center;
}
    .points li {
    float: left;
    width: 30%;
    margin: 0% 1.5%;
    }
    .col_left {
    width: 42%;
    margin-right: 1%;
    float: left;
    padding: 0% 3%;
    }
    .col_right {
    width: 42%;
    margin-left: 1%;
    float: left;
    padding: 0% 3%;
    }
    .quote_consult .col_left {
    margin-top: 200px;
    color: #ffffff;
    width: 39%;
    margin-right: 0%;
    margin-left: 5%;
    }
    .quote_consult .col_right {
    margin-top: 185px;
    text-align: center;
    width: 39%;
    margin-left: 5%;
    }
    .quote_bg {
        margin-left: 1%;
    }
    .add_info h2 {
    margin-left: 4%;
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: 'DIN Next W01 Regular';
    }
    .add_info hr {
    background-position: left !important;
    margin-left: 4%;
    margin-bottom: 25px;
    }
    .quote_consult h3 {
    text-transform: uppercase;
    font-size: 40px;
    line-height: 50px;
    position: relative;
    z-index: 25;
    margin-top: 0px;
    margin-left: 16px;
    font-family: 'DIN Next W01 Medium';
    }
    .quote_consult .col_right h3 {
    font-size: 25px;
    color: #ffffff;
    position: relative;
    margin-left: 0px;
    letter-spacing: 0.1em;
    }
    .blue_foot .col_right {
    width: 605px;
    margin-left: 114px;
    }
    .blue_foot .col_left {
    width: 90%;
    margin-left: 6%;
    }
    li.foot_emails {
    margin-top: 35px;
    }
    a.view_pa:hover {
    color: rgba(212, 154, 42, 1);
    border-color: rgba(212, 154, 42, 1);
    padding-bottom: 0px;
    }
    .page-id-92 .entry-content li {
  float: left;
  width: 100%;
  text-align: left;
  font-family: 'DIN Next W01 Light';
  font-size: 21px;
  line-height: 2;
}
    .internal_page .entry-content a {
  color: #de9f23;
  text-decoration: none;
  letter-spacing: .04em;
  margin: 0px 2px 0px 2px;
  font-weight: 600;
  font-size: 21px;
  display: flex;
}
.internal_page .entry-content a:hover {
    padding:0px !important;
  
    display: inline;
    color: rgb(23, 28, 41);
}
.hover_inner {
  position: relative;
  width: 90%;
  height: 90%;
  margin: 0 auto;
  margin-top: 5.2%;
  border: 1px solid #ac822c;
}
.internal_page .entry-content a {
    font-size: 18px;
    display: inline;
}
.mast {
    height: 733px;
    background: url('images/header-ipad.jpg') top center no-repeat;
    margin-top: 0px;
    background-size: cover;
}
}
@media (max-width: 960px) {
    .viewport {
    width: 640px;
    margin: 0 auto;
    }
    .quote_consult p {
    font-size: 17px;
    line-height: 28px;
    margin-bottom: 33px;
    font-family: 'DIN Next W01 Medium';
}
}
@media (max-width: 900px) {
    .points li {
    float: left;
    width: 30%;
    margin: 0% 1%;
    }
    .phone_top {
    width: auto;
    z-index: 999;
    font-size: 25px !important; margin-top: 15px; 
    text-align: right !important; 
    font-family: 'DIN Next W01 Bold' !important;
    color: #ffffff !important;
    position: absolute;
    float: right;
    right: 20px;
    top: 15px;
}
    .phone_top a {
    font-family: 'DIN Next W01 Bold' !important;
}
    .menu-main-container {
    float: left;
    padding-top: 16px;
    width: auto;
    }
    .mobile_nav {
    display: block;
    position: absolute;
    left: 0px;
    top: 95px;
    width: 100%;
    }
    .nav_menu_area {
    display: none;
    }
    .testimonials h4 {
    width: 90%;
    margin-top: 20px;
}

    .testimonials.contained {
    padding-top: 150px;
}
    .quote_consult h3 {
    text-transform: uppercase;
    font-size: 37px;
    line-height: 50px;
    position: relative;
    z-index: 25;
    margin-top: 4px;
    margin-left: 25px;
    font-family: 'DIN Next W01 Medium';
    }
    .quote_consult .col_right {
    margin-top: 185px;
    text-align: center;
    width: 39%;
    margin-left: 5%;
    }
    .expertise li {
    width: 48%;
    }
    .expertise ul {
    margin: 0 auto;
    margin-top: 55px;
    width: 85%;
    }
    nav {
        height: 0px;
        overflow: hidden;
    }
    body {
        top: 12px;
        }
        .internal_page {
margin-top: -370px;
}
.page-template-page-sidebar-php .primary {
  width: 60%;
  float: right;
}
.page-template-page-attorney-bio-php .primary {
  width: 60%;
  float: right;
}
.hover_inner {
  position: relative;
  width: 90%;
  height: 86.5%;
  margin: 0 auto;
  margin-top: 5.2%;
  border: 1px solid #ac822c;
}
.quote_home p {
    font-size: 30px;
}
.quote_home span {
    font-size: 20px;
}
.quote_home{
      padding-bottom: 40px;
}
.mast {
  height: 733px;
  background: url('images/header-ipad.jpg') center -56px no-repeat;
  margin-top: 0px;
  background-size: cover;
}
}
@media (max-width: 800px) {
        .blue_foot .col_right {
            margin-left: 70px;
        }
        .blue_foot .col_left {
            margin-left: 15px;
        }
        #gmap {
        width: 100%;
        height: 360px;
        }
}
@media (max-width: 768px) {
    h1 {
    text-align: left;
    padding: 0% 4%;
    }
    .internal_page h1 {
        padding: 0%;
    }
    .blue_foot .col_right {
        margin-left: 60px;
    }
    .blue_foot .col_left {
        margin-left: 5px;
    }
.page-template-page-attorney-bio-php .primary {
    width: 100%;
    margin-top:30px;
}
a#displayText {
    display: block;
}
#toggleText {
    display: none; 
}
.about hr {
    background: url('images/line.png') top left 6.5% no-repeat;
}
}
@media (max-width: 750px) {
    #section3, #section4 {
        display: none;
    }
    .viewport {
    width: 425px;
    margin: 0 auto;
    }
}
@media (max-width: 700px) {
    .points li {
    float: left;
    width: 84%;
    margin: 8%;
    padding-top: 0px;
    }
    .points a {
    margin-bottom: 20px;
    }
    .points {
    padding-top: 0px;
    }
    .prosecutor, .ratings, .thousands {
        width: 100%;

    }
    .points li p {
        height: auto   !important;
    }
    #section1 {
      background: url('images/bg-angled-navy-mobile.png') bottom center no-repeat !important;
      padding-bottom: 60px;
      height: auto;
      overflow: auto;
      margin-top: -140px;
    }
    #section2 .col_left {
    width: 92%;
    margin-right: 0%;
    float: left;
    padding: 0% 4%;
    }
    #section2 .col_right {
    width: 92%;
    margin-left: 0%;
    float: left;
    padding: 0% 4%;
    }
    #section5 .col_right {
        display: none;
    }
    #section5 .col_left {
    width: 90%;
    margin-right: 1%;
    float: left;
    padding: 0% 3%;
    }
    #section6 .col_left {
    width: 92%;
    margin-right: 0%;
    float: left;
    padding: 0% 4%;
    }
    #section6 .col_right {
    width: 92%;
    margin-left: 0%;
    float: left;
    padding: 0% 4%;
    }
    .testimonials p {
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    width: 80%;
    margin: 0 auto;
    }
    .testimonials h4 {
    font-size: 35px;
    text-align: center;
    text-transform: uppercase;
    line-height: 45px;
    color: #ffffff;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 30px;
    font-family: 'DIN Next W01 Medium';
    }
    .testimonials.contained {
    padding-top: 175px;
    }
    #field_1_5 {
    float: left;
    margin-top: -4px;
    }
    #field_1_4 {
    float: left;
    margin-top: -4px;
    }
    #gform_submit_button_1 {
        float: left;
    }
    .foot_emails a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 65px;
    float: left;
    width: 100%;
    }
    .blue_foot .col_right {
    width: 50%;
    margin-left: 60px;
    }
    .internal_page:before {
    content: none;
}
.page-template-page-sidebar-php .primary {
  width: 100%;
  float: none;
}
.page-template-page-sidebar-php aside {
    display: none;
}
.page-template-page-attorney-bio-php aside img {
  margin-bottom: 20px;
  max-width: 100%;
}
.page-template-page-attorney-bio-php aside {
  width: 100%;
  max-width: 100%;
  margin-top: -55px;
}
    .quote_home {
        display: none;
    }
}

@media (max-width: 600px) {
    a.view_pa {
    display: none;
    }
    #section1 {
  background: url('images/bg-angled-navy-mobile.png') bottom center no-repeat !important;
  padding-bottom: 60px;
  height: auto;
  overflow: auto;
  margin-top: 0px;
}
.diagonal {
    display: none;
}
.page_default {
width: 90%;
background-color: #ffffff;
margin: 0 auto;
margin-top: -10px;
padding-bottom: 80px;
padding-top: 80px;
padding-left: 5%;
padding-right: 5%;
}
    .mast {
    height: 464px;
    }
    .mast h2 {
        display: none;
    }
    .logo {
        display: none;
    }
    .mast {
    height: 400px;
    }
    .mobile_logo {
    display: block;
    height: 100px;
    background: url('images/logo.png') center center no-repeat #171c29;
    padding-top: 15px;
    border-top: 1px solid #23262F;
    background-size: 200px;
    }
    .mobile_logo a {
    display: block;
    width: 100%;
    height: 200px;
    }
    .btn_brdr {
        display: none;
    }
    .mob_req_btn {
    display: block;
    position: absolute;
    width: 100%;
}
    .form_footer {
        display: none;
    }
    .gform_body {
    text-align: center;
}

#field_1_4 {
    width: 100%;
}

#field_1_5 {
    width: 100%;
}

#gform_submit_button_1 {
    float: none;
    text-align: center;
    margin: 0 auto;
}

.gform_footer.top_label {
    text-align: center;
}
.mobile_form h3 {
    color: rgb(223, 162, 47);
    width: 75%;
    text-align: center;
    margin: 0 auto;
    padding-top: 10px;
    font-family: 'DIN Next W01 Light';
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 75px;
}

.mobile_form h4 {
    color: #ffffff;
    width: 75%;
    text-align: center;
    margin: 0 auto;
    padding-top: 15px;
    font-family: 'DIN Next W01 Light';
    letter-spacing: .02em;
    font-size: 14px;
}

.mobile_form h3:before {
    content: url('images/convo-gold.png');
    position: absolute;
    margin-top: -50px;
    left: 50%;
    margin-left: -15px;
}
.internal_page {
margin-top: -140px;
}
.mob_req_btn a {
width: 100%;
background: rgb(223, 162, 47);
height: 35px;
display: block;
padding-top: 16px;
text-align: center;
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
font-family: 'DIN Next W01 Bold';
letter-spacing: .09em;
font-size: 19px;
margin-top: 230px;
}
    .dir_btn a {
    letter-spacing: 0.075em;
    font-size: 13px;
    padding: 21px 0px 21px 0px;
    }
    .page-id-8 .logo {
display: none;
}
.home .mob_req_btn a {
width: 100%;
background: rgb(223, 162, 47);
height: 35px;
display: block;
padding-top: 16px;
text-align: center;
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
font-family: 'DIN Next W01 Bold';
letter-spacing: .09em;
font-size: 19px;
margin-top: 355px;
}
.internal_page .entry-content a::before {
display:none;
    }
.internal_page .entry-content a::after {
display:none;
    }
.page-id-29 .internal_page .entry-content a {
  color: #171C27;
  text-decoration: none;
  letter-spacing: .04em;
  margin: 0px 2px 0px 0px;
  font-weight: 600;
}
.mast {
    height: 400px;
    background: url('images/header-mobile.jpg') top center no-repeat;
    margin-top: 0px;
    background-size: cover;
}
}
@media (max-width:550px) {
    .viewport {
    width: 200px;
    margin: 0 auto;
    }
}
@media (max-width: 500px) {
    h1 {
    font-size: 38px;
    line-height: 45px;
    }
    .testimonials hr {
    margin-bottom: 50px;
    }
    .social_footer li {
    width: 71px;
    height: 71px;
    float: left;
    margin: 0px 8px;
    }
    .blue_foot .col_right {
    width: auto;
    }
    .blue_foot li {
    margin-bottom: 45px;
    padding-left: 70px;
    }
    .blue_foot .col_right {herye
    margin-left: 73px;
    }
@media (max-width: 400px) {
    .social_footer li {
    width: 58px;
    height: 71px;
    float: left;
    margin: 0px 8px;
    }
    .testimonials.contained {
    padding-top: 135px;
    }
    .phone_top {
    width: auto;
    z-index: 999;
    font-size: 21px !important; margin-top: 15px; 
    text-align: right !important; 
    font-family: 'DIN Next W01 Bold' !important;
    color: #ffffff !important;
    position: absolute;
    float: right;
}
    .phone_top a {
    font-family: 'DIN Next W01 Bold' !important;
    font-size: 21px !important; margin-top: 15px; 
    margin-top: 6px;

}
}

.review-container {
    width: 100%
}

.review-container h2 {
    text-align: center;
}

.review-container h3 {
    text-align: center;
    padding-bottom: 30px;
}

.review-left {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.review-right {
    width: 48%;
    float: right;
    margin-right: 0;
}

.review-bottom {
    width: 48%;
    float: none;
    margin: 0 auto;
}

.review-left img {
    display: block;
    margin: 0 auto;
    padding-bottom: 5px;
    height: 54px;
    width: auto;
}

.review-right img {
    display: block;
    margin: 0 auto;
    padding-bottom: 5px;
    height: 54px;
    width: auto;
}

.review-bottom img {
    display: block;
    margin: 0 auto;
    padding-bottom: 5px;
    height: 54px; REMOVE
    width: auto;
    padding-top: 20px;
}
.review-bottom{ clear:both; }

.review-button {
    width: 100%;
    display: block;
    font-size: 14px;
    color: #fff;
    border-radius: 6px;
    background-color: rgba(224, 162, 41, 0.85);
    text-align: center;
    padding: 20px 0;
    text-decoration: none;
    font-family: "Playfair Display Regular";
}
a.review-button:hover {
   color:#fff;
   background-color:#22262B;
}
a.review-button {
color:#fff!important;}


.wistia-review {
    padding-top: 40px;
}

@media (max-width:767px){
    .review-left {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .review-right {
        width: 100%;
        float: none;
    }

    .review-bottom {
        width: 100%;
    }

    .review-right img {
        padding-top: 30px;
    }

    .review-bottom img {
        padding-top: 30px;
    }
}
