/*   
Theme Name: BSD Theme
Description: This is an exclusive, fully SEO optimized Wordpress theme developed for Family Law firm.
Author:  BSD Theme
Version:1.0
*/

@media only screen and (min-width:1200px){
    .container {
        width: 1200px;
    }
}
@media only screen and (min-width:1900px){

    .practice-areas-list {
        margin: auto;
        max-width: 1600px;
    }
    .fullwidth.map-section {
        display: block;
        float: none;
        margin: auto;
        max-width: 1600px;
        width: 100%;
    }
}
@media only screen and (max-width:1199px){
    .main-navigation .navbar-light .navbar-nav li {
        padding: 0px 8px;
    }

    .main-navigation .navbar-light .navbar-nav .nav-link {
        font-size: 12px;
    }

    .banner-text::before {
        height: calc( 100% - 58px);
        background-size: 100% 100%;
        width: 94px;
    }
    .banner-text::after {
        height: calc( 100% - 58px);
        background-size: 100% 100%;
        width: 94px;
    }


    .page-banner .banner-text::before, .page-banner .banner-text::after {
        height: calc( 100%);
    }


    .practice-area-title {
        max-width: 140px;
    }

    .content-box::before {
        height: 100px;
        left: 20px;
        background-size: 100% 100%;
        width: 60px;
        background-position: right center;
    }

    .content-box::after {
        height: 100px;
        right: 20px;
        background-size: 100% 100%;
        width: 60px;
        background-position: right center;
    }


    .features-info > span, .hove-info span {
        font-size: 14px;
    }

    .hove-info, features-info  {
        padding: 30px 15px;
    }

    .tabs-steps {
        height: 400px;
    }

    .fullwidth.box-step {
        background-position: top left;
        background-size: 50% 100%;
    }

    .tabs-steps .col-sm-5.offset-sm-7 {
        padding-left: 15px;
    }

    .testimonials-wrapper p {
        padding-left: 0;
        padding-right: 7px;
    }

    .testimonials-wrapper p:before {
        position: relative;
        top: -3px;
        left: -2px;
        display: inline-block;
    }


    .attoreny-details-banner .container > img {
        max-width: 500px;
    }

    .attorney-awrads-wrapper p {
        text-shadow: 0 0 5px #fff;
    }

    a.last-video.fancybox-youtube {
        background-position: left -190px center;
    }


    .allinone_carousel {
        margin: 0 auto;
    }

    .subscribe-box.fullwidth {
        margin-bottom: 35px;
        padding-left: 0;
        width: 33%;
        text-align: center;
    }

    .icon-section {
        float:none;
    }

    .title-section {
        float: none;
        padding-left: 0;
        padding-top: 15px;
        text-align: center;
    }


    .map-section .col-12 {
        padding-right: 15px;
    }

    #footer-col-left strong { padding: 15px 0;}  

    footer .widget-title {font-size: 13px;}

    .banner-text strong, .banner-text{
        font-size: 40px
    }

}

/*ipad portrait mode*/

@media only screen and (max-width:991px){
    
    span.fa.fa-times {
        position: relative;
        top: -5px;
    }
    .searchform input.search.form-control {
        height: 40px !important;
        top: -8px!important;
    }
    .header {
        box-shadow: none;
    }
    .main-navigation .navbar-light .navbar-nav .nav-link {
        font-size: 11px;
    }
    .main-navigation .navbar-light .navbar-nav li {
        padding: 0px 3px;
    }
    .main-navigation .navbar-light .navbar-nav .nav-link {
        padding: 10px 5px;
    }
    .logo {
        margin: 10px auto;
    }
    .btn.lang-btn {
        font-size: 13px;
        padding: 6px 27px;
        margin-top: 5px;
    }
    .main-navigation .navbar-light .navbar-nav li .dropdown-menu li a.nav-link {
        font-size: 11px;
    }
    .home-banner {
        height: 350px;
    }
    .home-banner.page-banner {
        height: 300px;
    }    
    .banner-text {
        font-size: 28px;
        margin-top: -20px
    }    
    .banner-text strong {
        font-size: 30px;
    }
    .main-banner-bottom li{
        min-width: 140px
    }
    .main-banner-bottom li a{
        font-size: 18px
    }
    .content-box::before, .content-box::after {
        display: none;
    }
    .emploment-step {
        padding: 15px;
    }    
    .emploment-step .btn.btn-primary {
        opacity: 1;
        transform: translateY(0px);
    }
    .btn.btn-primary {
        min-width: 150px;
    }
    round {
        height: 80px;
        padding-top: 20px;
        width: 80px;
    }
    .carousel-item .inner-item {
        width: 32%;
    }
    .practice-areas-listing .practice-areas-list ul > li {
        float: none;
        width: calc(33.333% - 21px);
    }

    .practice-areas-list ul > li:nth-of-type(4n+4) {
        padding-right: 7px;
    }


    .video-section-contact .bg.videothumbnail {
        height: 500px;
    }

    /**12ap18***/

    .agreement-section {
        background-image: none;
        background-color: #eee;
    }



    .attorney-awrads-wrapper {
        background-image: none !important;
    }


    .tabs-section .nav-item {
        width: 47%;
    }


    .round-tabs.fullwidth > li {
        width: auto;
        margin: 10px;
    }

    .round-tabs.fullwidth > li {
        display: inline-block;
        float:none;
    }



}    



@media only screen and (max-width:767px){
    iframe {
        width: 100%;
        margin: 0px auto;
    }
    header .container{
        max-width: 100%;
    }
   /* table td {
    width: 100%;
    display: block;
}*/
    .col-lg-6.content-wrap {
    order: 2;
}
    .col-lg-6.form-wrap {
    order: 1;
}
    .tap-text-mobile{
    float: left;
    width: 100%;
    background: #e07e3c;
    text-align: center;
    color: #fff !important;
    padding: 10px 10px;
}  
    .tap-text-mobile a{
        color:#fff;
    }
    .logo {
        margin: 0;
    }

    .carousel-item .inner-item {
        width: 48%;
    }


    .ebook-home .list-items {
        text-align: center;
    }

    .employment-home h3 {
        font-size: 25px;
    }

    .section {
        padding: 35px 0 20px;
    }

    .contact-home form {
        max-width: 100%;
    }

    .sidebar {
        marign-top:30px;
    }

    .visible-xs{
        display: block;
    }


    .home .section ul li {
        width: 100%;
    }


    .carousel-item .inner-item {
        border:0 none !important;
        background-color: #f4f4f4;
        margin-bottom: 1px;
    }

    h3 {
        font-size: 20px;
    }

    .video-section-contact .bg.videothumbnail {
        height: 250px;
    }


    .attorney-image {
        height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .attorneylist li .hover-section {
        opacity: 1;
        height: auto;
    }

    .attorney-infos::before, .attorney-infos::after {
        content: none;
    }



    .attoreny-details-banner .banner-attorney-content {
        float: none;
        width: 100%;
        padding: 20px;
        position: relative;
    }

    .attoreny-details-banner .container > img {
        bottom: 0;
        left: 0;
        position: relative;
        z-index: 1;
        float: none;
    }

    .attoreny-details-banner .container {
        display: block;
        height: 100%;
        position: relative;
        justify-content: flex-end;
    }

    .attoreny-details-banner .container > img {
        max-width: 500px;
        width: 100%;
    }


    .fullwidth.features-listing ul li {
        width: 50%;
    }




    .infusion-contact form {
        max-width: 100%;
    }

    /*+++++++++++++++++++++++++++++*/

    .main-header.fullwidth {
        padding: 15px 0;
    }

    .home-banner {
        height: 350px;
    }

    .home-banner.page-banner {
        height: 200px;
    }

    .banner-text, .banner-text strong  {
        font-size: 18px;
    }

    .topheader.fullwidth {
        display: none;
    }

    .banner_tagline{
        margin-left: 10px;
        margin-right: 10px
    }
    .practice-areas-list ul > li, .practice-areas-listing .practice-areas-list ul > li {
        width: 50%;
    }

    .h1, h1 {
        font-size: 28px;
    }


    h2 {
        font-size: 24px;
    }

    .page-content h2 {
        font-size: 22px;
    }    


    .book-title:before{
        right:0;
        left:0;
        margin:0 auto;
    }

    #ebbokslider .post-images {
        max-width: 150px;
    }

    #ebbokslider .carousel-item {
        min-height:inherit;
    }

    .book-title {
        font-family: raleway;
        font-size: 22px;
        margin-bottom: 25px;
        position: relative;
        margin-top: 25px;
    }

    h1, h2, h3 {
        margin-bottom: 30px;
    }

    h2::after, h1::after, h3::after, .section-title:after {
        background: #263353;
        bottom: -15px;
    }    

    .col-sm-6.col-left {
        padding-right: 15px;
    }
    .col-sm-6.col-right, .banner-form .col-sm-6.col-right {
        padding-left: 15px;
    }

    .footer-top.main-padding {
        text-align: center;
    }

    #footer-col-right, #footer-col-middle  {
        padding-left:0;
    }

    #footer-col-right ul li img {
        display: none;
    }

    footer .widget-title:before {
        right:0;
        margin:0 auto;
    }

    #footer-col-left strong {
        padding: 30px 0 10px;    
    }    

    footer .widget-title {
        margin-bottom: 30px;
        margin-top: 20px;
    }

    footer .widget-title:before {
        bottom: -15px;
    }

    #menu-footer-menu li {
        margin-bottom: 10px;
    }

    .copy-rights {
        text-align: center;
    }    

    .copy-rights .float-left,  .copy-rights .float-right.menu   {
        float: none !important;
    }

    .footer-top.main-padding {
        padding: 30px 0 10px;
    }   


    #responsive-menu-container #responsive-menu li.responsive-menu-item a .responsive-menu-subarrow {
        background-color: transparent !important;
    }


    .attorneylist li, .attorneylist-adminstative li {
        width: 50%;
    }

    .main-header.fullwidth {
        padding: 15px 0;
        border-top: 5px solid #505970;
    }


    .newsletterlisting-boxs {
        display: block;  
    }

    .newsletter-contents {
        padding-left: 0;
    }

    .newsletterlisting-featureds.bg {
        display: block;
        width: 100%;
        height: 200px;
        margin: 0 0 20px;
    }

    .newsletter-contents {
        text-align: center;
    }

    .newsletter-title > a::after {
        right:0;
        left:0;
        margin:0 auto;
    }    

    .calculator-section .col-sm-6.col-12 {
        padding: 0 15px 0 30px;
    }

    .video-section-member ul li, .important-points-section ul li {
        width: 100%;
    }


    .responsive-menu-current-item > a, .responsive-menu-item-current-parent > a, .current-page-ancestor > a, .responsive-menu-item-current-parent > a .responsive-menu-subarrow {
        background-color: #505971 !important;
    }
    .infusion-contact .infusion-field .infusion-field-input, .infusion-contact .infusion-field textarea, .infusion-contact .infusion-field select {
        margin: 5px 0;
    }

    .round {
        font-size: 16px;
        height: 70px;
        margin: 0 auto 10px;
        padding-top: 22px;
        width: 70px;
    }

    .tabs-steps {
        height: auto !important;
    }


    .fullwidth.box-step {
        background-position: top left;
        background-size: 100%;
        padding-top: 60%;
    }

    .fullwidth.box-step .container {
        height: 100%;
        background-color: #fff;
    }

    .content-steps {
        margin-top: 30px;
    }

    .fullwidth.box-step {
        display: none;
    }

    .fullwidth.box-step.section.bg.active {
        display: block;
    }


    .fullwidth.box-step {
        position: relative;
    }

    h1 {
        margin-bottom: 30px;
        margin-top: 30px;
    }


    .allinone_carousel {
        margin: 70px auto 0;
    }



    .search-btn-mobile {
        position: fixed;
        right: 120px;
        text-align: center;
        background-color: #e07e3c;
        color: #fff;
        z-index: 99;
        top: 80px;
        vertical-align: middle;
        height: 40px;
        padding-top: 4px;
    }   
    footer .widget-title {font-size: 14px;}
    #footer-col-right li {padding-left: 0;}
    
    
    /*** 24 June ***/
.table-v2 td, .table-v2 tr{
 display: block
}
.table-v2 td img{
    margin-left: 0;
    margin-right: 0
}
.table-v2 td+td{
    padding-top: 20px;
    padding-bottom: 20px
}  
.thanx-boxes {
    color: #fff;
    width: 100%;
    border-right: none;
    padding: 40px 15px;
    position: relative;
    height: auto!important;
}
.thanks-podcast-wrapper .container .thanx-boxes:first-of-type:after,
.thanks-podcast-wrapper .container .thanx-boxes:nth-last-of-type(2):after{
    content: none
}
.thanx-boxes ul li {
    width: 100%;
}
}


@media only screen and (max-width:575px){    
.col-sm-6.news-post:first-child {
    margin-bottom: 20px;
}
.news-post .news-box>img {
    height: 200px;
}
    .header .logo img {
        max-width:130px;
    }

    div.header-right-col{
        /*height: 80px;*/
        height: 60px;
    }
    /*a.btn.review-btn{
        margin-right: 0;
    }*/
    header a.phone-sm-icon,
    button#responsive-menu-button{
        /*top: 62px !important;*/
        top: 80px !important;
    }

    .practice-areas-list ul > li, .practice-areas-listing .practice-areas-list ul > li {
        width: 100%;
    }

    .form-title {
        font-size: 22px;
    }

    .attorneylist li, .attorneylist-adminstative li {
        width: 100%;
        margin: 5px 0;
    }

    .content-video {
        float: right;
        margin: 0;
        width: 100%;
        max-width: 560px;
        padding: 0 30px;
    }


    .calculator-section:before {

        background-size: cover;
        width: 100% !important;
        z-index: 9;
    }

    .address-block {
        flex-wrap: wrap;
    }
    .adderess-div {
        margin: 20px 20px;
        width:100%;
    }


}


/**** New Change Responsive *****/
@media(min-width:992px){

/*    .main-banner-bottom li a:hover{
        background-color:#283353
    }    */
.strategy-conference-btn a:hover{
    background-color: #283353 !important;
}
}
@media only screen and (min-width:992px) and (max-width:1199px){
    .thankyou-testimonial-section .testimonials-wrapper{
        min-height: 350px
    }
    .main-navigation {
        margin-left: 15px;
}
}
@media(max-width:1199px){
    .thankyou-banner .banner-text::before{
        background-size: inherit 
    } 
    .thankyou-banner .banner-text{
        font-size: 44px
    }
    
.news-post .news-box>img {
    height: 252px;
}
.news-main h4, .news-main h3 {
    font-size: 19px;
}
}
@media(max-width:991px){
    .podcast-header h1 {
    font-size: 40px;
}
    .news-box {
    width: 100%;
}
.news-post .news-box>img {
    width: 100%;
}
.news-content.news-box {
    /* padding: 0 15px; */
    padding-bottom: 41px;
}
.news-section .date {
    position: relative;
    left: -15px;
}
    .banner_tagline{
        font-size: 13px
    }
    .thankyou-testimonial-section .testimonials-wrapper p{
        font-size: 14px
    }
    .thankyou-banner .banner-text {
        font-size: 34px;
    }
    .thank_top_description .h2{
        font-size: 30px
    }
    .thank_top_description .h4{
        font-size: 20px
    }
    .speaking-image {
        margin-bottom: 25px;
}
}
@media(max-width:767px){
    
    button#responsive-menu-button{
        right: 20px !important;
    }
    .podcast-header h1 {
        font-size: 36px;
    }
    .tab-content .owl-prev, .readers-section .owl-prev {
    height: 46px;
    padding-top: 6px !important;
    left: -52px;
    width: 46px;
}
.tab-content .owl-next, .readers-section .owl-next {
    height: 46px;
    padding-top: 6px !important;
    right: -52px;
    width: 46px;
}
    .page-template-template-thankyou .container{
        max-width: 100%
    }
    .thankyou-testimonial-section .testimonials-wrapper{
        min-height: 350px
    }
    .thankyou-banner .banner-text{
        max-width: 550px;
        line-height: 2;
        font-size: 24px
    }
    .thankyou-contact-form .h2{
        font-size: 28px
    }
}

@media(max-width:650px){
    .single-post .single-details-col-content img{
        float: none;
        margin: 15px auto;
        display: block
    }

}

@media(max-width:600px){
    .thank_top_description .h2{
        font-size: 22px
    }  
    .thank_top_description .h4{
        font-size: 16px
    }
    .thank_top_description p{
        margin: 0
    }
    .thank_top_description:after{
        margin-top: 30px;
        width: 65px;
        margin-bottom: 30px
    }
}
@media(max-width:530px){
    .page-content .col-lg-8 .thankyou-testimonial-section ul li{
        padding-left: 0
    }
}
@media(max-width:479px){
    .thankyou-testimonial-section .testimonails-slider-section{
        padding-left: 0;
        padding-right: 0
    }
    .thankyou-testimonial-section .tab-content .owl-next, 
    .thankyou-testimonial-section .readers-section .owl-next,
    .thankyou-testimonial-section .tab-content .owl-prev, 
    .thankyou-testimonial-section .readers-section .owl-prev{
        position: static!important;
        margin-left: 5px!important;
        margin-right: 5px!important
    }
    .thankyou-testimonial-section .tabs-section .nav{
        white-space: normal;
        margin-bottom: 30px
    }
    .page-content .col-lg-8 .thankyou-testimonial-section ul li+li{
        margin-top: 15px
    }
    .thankyou-contact-form.contact-home .infusion-contact form{
        padding: 0
    }
    .thankyou-banner .banner-text span:before {
        right: 87%;
    }
    .thankyou-banner .banner-text span:after {
        left: 87%;
    }
    .thankyou-contact-form .h2 {
        font-size: 22px;
    }
      .main-banner-bottom li{
        min-width: 1px;
        margin-left: 3px;
        margin-right: 3px
    }
    .main-banner-bottom li a{
        padding: 5px 18px;
        font-size: 15px
    }
    .banner-text, .banner-text strong{
        font-size: 16px
    }
    .home-banner{
        height: 380px
    }
}

@media(max-width:400px){
    .thank_top_description .h4{
        font-size: 13px
    }
}

/*** Dated 13 July ***/
@media(min-width: 1200px){
    
    .navbar-nav .menu-item-has-children .nav-link::after {
        font-size: 10px !important;
    }
#footer-col-middle{
    padding-right: 40px
}
}
@media only screen and (min-width: 768px) and (max-width: 991px){
    .location-third-col{
        clear: left;
    }
}

@media(max-width: 991px){
.location-title li{
    font-size: 16px
}
}

@media (min-width: 768px){
    .navbar-nav .menu-item-has-children .nav-link::before {
        content: "\f078";
        font-family: FontAwesome;
        font-size: 8px;
        position: absolute;
        margin-top: 2px;
        margin-left: 1px;
        right: -10px;
    }

    .navbar-nav .menu-item-has-children .sub-menu .nav-link::before {
        display: none;
    }


    



}

@media(max-width: 767px){
    .news-post .news-box>img {
    height: 170px;
}
.news-main h4, .news-main h3 {
    font-size: 17px;
}
.footer-col-right ul li img {
    left: auto;
    margin-left: -30px;
}
.footer-logo-social{
    margin-bottom: 10px
}
ul#menu-footer-menu{
    column-count: 1;
}
 .contact-map .container,
 .location-title{
max-width: none;
 }
}


@media only screen and (max-width:767px){
    /******************************MOBILE DESIGN START*************************/
    header a.phone-sm-icon-mobile{
            top: 40px !important;
    }
    .home-banner-mob {
    height: 290px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}
.banner-text-mobile .h2 {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0px !important;
    font-size: 20px;
    margin-top: 25px;
    line-height: 40px;
}

.banner-text-mobile h2::after {
    display: none;
    margin-bottom: 0px !important;
}
.banner-text-mobile strong {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}
    
header button#responsive-menu-button {
    width: 40px;
    height: 40px;
    position: fixed;
    top: 61px !important;
    right: 5%;
    background: #e07f3b;
}    
    
    .home-content-mobile p {
    text-align: justify;
}
  .practice-areas-mob  {
            background: #152348;
    }
    .practice-areas-mob .h2{
        color:#fff;
    }
    .practice-areas-mob p {
    text-align: justify;
    color:#fff;
}
.practice-areas-mob .h2:after{
    background: #e8863f;
    bottom: -11px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 50px}
    .practice-areas-list ul{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 15px;
    }
    .practice-area-mob-bg .practice-area-title{
            font-size: 18px;      
    margin: 18px auto auto;
    }
    .practice-areas-list ul > li {
        width: 48% !important;
            padding: 0 !important;
            margin-bottom: 15px;
}
.practice-areas-list ul > li a{
       min-height: 200px !important;
    max-height: 200px !important;
    padding: 11px 0 41px 0px !important;
    width: 100%;
    align-items: center !important;
}
.practice-areas-list ul > li a:hover .practice-area-title {
    opacity: 1 !important;
}
a.practice-area-mob-bg {
    background: #e8863f;
}
.practice-area-mob-bg .practice-area-title:after{
    display: none;
}
.virginia-section-mobile p {
    text-align: justify;
}
.virginia-section-mobile h2 {
    font-weight: 400;
}
   /**BOOK SECTIOM **/ 
   .book-section-mobile h2::after{
       display: none;
       margin-bottom: 0px;
   }
/*    Book section end*/
.emp-suffering.video-home h3 {
    font-size: 24px;
}
 .emp-suffering ul{
    padding-left: 0 !important;
    padding-right:0 !important;
}
   .contact-home-mobile {
    background: #292929;
}
    .contact-home-mobile select.form-control:not([size]):not([multiple]) {
    height: calc(3.25rem + 2px);
}
.col-sm-6.col-left, .col-sm-6.col-right {
    text-transform: uppercase;
}
.contact-home form .form-control, .form-control, .super-mom-wrapper form .form-control {
    width: 100%;
}

.practice-area-title {
    max-width: 100%;
    text-align: center;
}
 /******************************MOBILE DESIGN END******************************/ 
}


@media(max-width: 550px){
.location-title li{
    font-size: 14px;
    margin-left: 5px;
    margin-right: 5px
}
}


@media(max-width:479px){
.location-title li{
    width: 40%
    }
    .location-title li+li+li{
        margin-top: 15px
    }
    .location-title:before {
    background: #D8D8D8;
    width: 100%;
    top: 88px;
    content: "";
    position: absolute;
    left: 0;
    height: 1px;
}
}

@media(max-width:330px){
    .header .logo img {
    max-width: 110px;
}
    .emp-suffering ul {
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
}
}