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

@media only screen and (min-width:1200px){
    .container {
        width: 1200px;
    }
    #page-banner{
        padding-top: 144px;
    }
    #page-section.col-sm-8 {
        padding-right: 60px;
    }
    #inner-pages #page-banner {
        height: 550px;
    }
}
@media only screen and (min-width:1400px){
    #video-sec .col-sm-6 {
        padding-bottom: 48px;
    }
    #video-sec .col-sm-8{
        padding: 90px 0 0px;
        padding-right: 20%;
    }
    .navbar-nav > li .sub-menu .sub-menu .sub-menu {
        right: -100%;
    }
}
@media only screen and (min-width:1600px){
    #video-sec .col-sm-8{
        padding: 55px 0 0px;
        padding-right: 20%;
    }
    #our-team .single-team.active .attorney-content{
        padding: 70px 50px 0;
    }
   .page-template-page-staged-home #video-sec .col-sm-8{
        padding: 65px 0 0px;
        padding-right: 20%;
    }
}
@media only screen and (min-width:1900px){
    #our-team .single-team {
        width: 29%;
    }
    #our-team .single-team.active {
        width: 41%;
    }
    #our-team .single-team .attorney-img img {
        max-height: 424px;
        max-width: 100%;
    }
    #attorney-above-footer img.attor-detail-img{
        opacity: 1;
    }
    .video-icons-sec{
        display: none;
    }
}
@media only screen and (max-width: 1199px){
    .header-bottom .navbar li a {
        font-size: 11px;
    }
    #our-team .single-team .attorney-img img {
        max-height: 285px;
        max-width: 100%;
    }
    #our-team .single-team.active .attorney-content {
        font-size: 11px;
        padding: 10px 20px;
    }
    #footer-qa li {
        margin: 25px 24px 0;
    }
    #footer-qa li h3 {
        font-size: 15px;
    }
    #footer-top .single-location{
        margin: 18px;
    }
    #footer-middle, #footer-right {
        padding: 0 50px 0 75px;
    }
    .navbar-nav>li:hover>.sub-menu, .navbar-nav .sub-menu li:hover>.sub-menu {
        min-width: 215px;
    }
    .navbar-nav>li .sub-menu .sub-menu {
        right: -75%;
    }
    .navbar-nav>li .sub-menu li a {
        font-size: 10px;
    }
    #page-banner {
        height: 630px;
    }
    .banner-content a.btn, input[type='submit'], a.btn{
        padding: 10px 40px;
    }
    .single-section {
        padding: 50px 0;
    }
    .banner-big-title {
        font-size: 65px;
    }
    .banner-small-title {
        font-size: 25px;
    }
    #video-sec .col-sm-8 {
        padding-top: 32px;
        padding-left: 15px;
        padding-right: 18%;
    }
    .attorneys-list .attorney-single img {
        max-height: 255px;
    }
    .attorneys-list .attorney-single .attor-back-content{
        line-height: 1.5
    }
    .attorneys-list .attorney-single .attor-back-content p {
        margin-bottom: 0;
    }
    #inner-pages #page-banner {
        height: 350px;
    }
    #page-sidebar .wpcf7-form h3 {
        font-size: 24px;
    }
    .divorce-wrap .small-width, #contact-locations .container,
    .main-content .small-width{
        max-width: 100%;
    }
    #inner-pages .banner-big-title {
        font-size: 43px;
        line-height: 50px;
    }
    #inner-pages .banner-small-title {
        font-size: 17px;
        line-height: 30px;
    }
    #inner-pages #page-banner .banner-content {
        padding-bottom: 60px;
    }
    .contact-section {
        align-items: center;
    }
    #contact-locations li .locations-content {
        padding: 40px 25px;
    }
    #footer-top .single-location, #contact-locations li .locations-content{
        word-break: break-word;
    }
    #contact-locations li .locations-iframe iframe {
        height: 332px !important;
    }
    .podcast-header .row .col-sm-6.col-12:last-of-type {
        padding-left: 15px;
    }
    .icon-section, .title-section{
        text-align: center;
        float: none;
    }
    .single-podcast-wrapper .row .col-sm-4{
        word-break: break-word;
    }
    .subscribe-box.fullwidth {
        padding-left: 0;
    }
    .about-us-wrap h5{
        font-size: 15px;
    }
    .contact-section div.wpcf7-response-output{
        bottom: 15px;
        left: 90px;
        font-size: 13px;
    }
    
    
    .report-link {
        margin-bottom: -70px;
        z-index: 2;
        position: relative;
    }
    
    .text-carousel p {
        font-size: 16px;
    }
    div#trending-news-areas .news-videos-slider .news-video-box span.video-title {
    min-height: 140px;
}
	#page-section .slbadge.slbadge-anniversary-5 {
    position: relative;
    top: 0px;
   left: 0px;
	margin: auto;
}
	
}
@media only screen and (max-width:991px){
    .navbar-nav>li {
        padding: 0 7px;
    }
    .header-bottom .navbar li a {
        font-size: 10px;
    }
    #page-banner {
        height: 600px;
    }
    .banner-big-title {
        font-size: 45px;
        line-height: 40px;
    }
    .banner-small-title {
        font-size: 18px;
        line-height: 30px;
    }
    .navbar-nav>li:hover>.sub-menu, .navbar-nav .sub-menu li:hover>.sub-menu {
        min-width: 182px;
    }
    .navbar-nav>li .sub-menu .sub-menu {
        min-width: 175px !important;
        top: 10px;
    }
    .navbar-nav>li .sub-menu .sub-menu .sub-menu {
        border: 1px solid #0d2c40;
    }
    .navbar-nav>li .sub-menu .sub-menu {
        right: -53%;
    }
    #banner-form input[type='submit'] {
        padding: 5px;
    }
    #banner-form {
        padding: 20px 0 25px;
    }
    .wpcf7-form input, .wpcf7-form textarea {
        height: 40px;
        padding: 10px;
        font-size: 12px;
    }
    .case-details textarea {
        padding: 13px 15px;
    }
    #banner-form .wpcf7 .ajax-loader {
        position: absolute;
        right: 21px;
        bottom: 12px;
    }
    #banner-form div.wpcf7-response-output {
        bottom: -22px;
        font-size: 12px;
    }
    #practice-areas .single-practice{
        height: 250px;
    }
    #our-team .single-team, #our-team .single-team.active {
        width: 100% !important;
        background: rgba(0, 0, 0, 0.32);
    }
    #our-team .single-team .attorney-content, #our-team .single-team.active .attorney-content {
        width: 60%;
        display: inline-block;
        text-align: left;
        vertical-align: middle;
        font-size: 14px;
        padding: 10px 20px;
    }
    #our-team .single-team .attorney-img, #our-team .single-team.active .attorney-img {
        width: 36%;
        display: inline-block;
        vertical-align: bottom;
    }
    #our-team .single-team .dotted-bg {
        display: none !important;
    }
    #our-team{
        padding-bottom: 0;
    }
    #our-team .single-team.active,
    #our-team .single-team.active p, #our-team .single-team.active h3{
        color: #fff;
        /*background: transparent;*/
    }
    #our-team .single-team:nth-child(2), #our-team .single-team:nth-child(2) *,
    #our-team .single-team.active:nth-child(2) p, #our-team .single-team.active:nth-child(2) h3{
        background: #f7f7f7;
        color: #000;
    }
    .banner-content a.btn, input[type='submit'], a.btn {
        margin-top: 10px;
    }
    #our-team .single-team .attorney-content h3:after{
        background: #fff;
    }
    #our-team .single-team:nth-child(2) .attorney-content h3:after{
        background: #000;
    }
    #testimonials-sec{
        padding-bottom: 50px;
    }
    #video-sec{
        margin: 0;
    }
    #video-sec .col-sm-8, #video-sec .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 50px 50px;
        margin: 0;
    }
    #video-sec .col-sm-8 .video-content, .contact-us-wrap #page-section {
        max-width: 100%;
        float: none;
    }
    .home #footer-qa,
    .page-id-13788 #footer-qa,
    .page-id-13789 #footer-qa{
        padding-top: 50px;
    }
    #footer-qa li {
        margin: 25px 12px 0;
    }
    #footer-qa li h3 {
        font-size: 12px;
        margin: 5px 0;
    }
    #footer-middle, #footer-right {
        padding: 0 25px 0 38px;
    }
    #footer-left {
        padding-right: 30px;
    }
    .attorneys-list .attorney-single {
        width: 32%;
        margin: 0 2px 10px;
    }
    .attorneys-list .attorney-single .attor-back-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    h1, .h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }
    .text-justify h1, .text-justify h2, .text-justify h3, .text-justify h4, .text-justify h5, .text-justify h6 {
        text-align: left;
    }
    .gradient-bg, .about-us-wrap .attorney-content h6, #attorney-brief-sec .attorney-content h4{
        font-size: 14px;
    }
    .about-us-wrap .attorney-content h6{
        text-align: center;
    }
    .attorney-content blockquote{
        text-align: left;
        padding: 12px 22px;
    }
    #about-second-fold .container, #about-last-fold .container{
        max-width: 100%;
    }
    #footer-top .single-location, #footer-middle li, #footer-right li {
        font-size: 14px;
    }
    #page-sidebar .wpcf7-form h3 {
        font-size: 17px;
    }
    #page-sidebar form.wpcf7-form {
        padding: 20px 30px;
    }
    #page-sidebar .widget li a {
        padding: 10px 0;
        padding-left: 15px;
    }
    #page-sidebar .widget li a:before{
        top: 10px;
    }
    .tab-content .single-article hr, #page-section .single-article hr {
        margin: 30px 0;
    }
    .blog-featured, .blog-content.half{
        width: 100%;
        display: block;
    }
    .blog-featured{
        height: 250px;
    }
    .blog-content.half{
        padding: 15px 0 0;
    }
    .blog-listing {
        padding-bottom: 40px;
        border-bottom: 1px solid #eee;
        margin-bottom: 45px;
        width: 100%;
        display: block;
    }
    .post-listing hr {
        display: none;
    }
    .nav-tabs .nav-link {
        padding: 12px 8px;
        font-size: 15px;
    }
    .contact-us-wrap #page-section .col-sm-8 .row {
        margin: 0;
    }
    .contact-us-wrap #page-section .col-sm-4, .contact-us-wrap #page-section .col-sm-8 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px 15px;
    }
    .contact-section .wpcf7-form input, .contact-section .wpcf7-form textarea {
        height: 50px;
        padding: 10px;
        font-size: 15px;
    }
    .contact-section .wpcf7-form textarea {
        height: 120px;
    }
    #contact-locations li .locations-iframe iframe {
        height: 290px !important;
    }
    .header-top-right li:after{
        right: -3px;
    }
    #footer-top .single-location ul li img, .contact-block .locations-content li img {
        top: 2px;
    }
    div.wpcf7-response-output {
        font-size: 11px;
        line-height: 1.4;
    }
    span.wpcf7-not-valid-tip {
        font-size: 10px;
        bottom: 16px;
    }
    tr.video-list-all {
        width: 48%;
    }
    tr.video-list-all:nth-child(2n){
        /*margin-right: 10px;*/
    }
    #footer-right p{
        font-size: 12px; 
        line-height: normal; 
    }
    #page-section .wpcf7-form input[type='submit'] {
        font-size: 12px;
    }
    .contact-section div.wpcf7-response-output{
        font-size: 13px;
        margin-top: 20px;
    }
    #attorney-brief-sec .attorney-content h4 {
        margin-bottom: 8px !important;
        font-size: 11px !important;
    }
    #attorney-brief-sec .attorney-content {
        font-size: 10px;
        padding-left: 15px;
    }
    #our-team .single-team .attorney-img img {
        width: auto;
        display: block;
        margin: auto;
    }
    .podcast-wrapper .col-sm-8, .podcast-wrapper .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .podcast-wrapper .col-sm-4 {
        background: #fff;
        margin-top: 40px;
        padding: 40px 0;
    }
    .podcast-wrapper .col-sm-4:after{
        display: none;
    }
    .subscribe-box.fullwidth {
        padding-left: 0;
    }
    .about-us-wrap h5 span{
        margin-left: 0;
        margin-top: 10px;
    }
    .contact-section div.wpcf7-response-output{
        bottom: 25px;
    }
    
    .wpcf7-form input[type='button'] {
        padding: 0;
    }
     div#trending-news-areas .news-videos-slider .news-video-box span.video-title {
    min-height: 207px;
}
    
}
@media only screen and (max-width: 767px){
    

.menu-item-14522 .single-location { display: block; }
.menu-item-14522 .single-location ul.sideul {
    width: 100%;
    float: none;
}
.menu-item-14522 .single-location ul.sideul li {
    border: 0 !important;
}
.menu-item-14522 #footer-top .single-location {
    height: auto !important;
    color: #fff;
    border-bottom: 1px solid #fff;
}
.menu-item-14522 #footer-top .single-location ul li span {
    width: 100%;
    padding: 0 !important;
}
.menu-item-14522 #footer-top .single-location ul li span br {
    display: none;
}
.menu-item-14522 #footer-top .single-location ul li a {
    padding: 05px 0 !important;
    text-transform: inherit;
    font-size: 14px;
}
.menu-item-14522 #footer-top .single-location ul li {
    line-height: 1;
    border: 0;
}
.menu-item-14522 #footer-top .single-location {
    margin-bottom: 0;
}
	li#menu-item-14526 {
    display: none;
}
	li#menu-item-14527 {
    display: none;
}
    .wprmenu_bar #custom_menu_icon.hamburger {
	right: 25px !important;
    }
    .search-bar {
        top: -12px !important;
}
    .admin-bar #mg-wprm-wrap.cbp-spmenu.custom, body.admin-bar #wprmenu_bar {
	margin-top: 11%;
}
	#footer-top{
		padding:55px 0px 55px;
	}
    .new-h2{
        font-size: 22px;
    }
    .small-a {
        display: none !important;
    }  
    #main-footer .widgettitle::after{
        right:0;
        margin:0 auto;
    }
    .attorneys-list .attorney-single a:hover .attorney-img{
        opacity: 1;
    }
    .attorneys-list .attorney-single a:hover img.attorney-hover-img{
        display: none;
    }
/*    .attorneys-list .attorney-single a:hover .attor-back-content{
        display: none;
    }*/
    #site-header .header-top {
        padding: 0px 0 2px;
    }
    .banner-big-title {
        font-size: 40px;
        line-height: 40px;
    }
    .banner-small-title {
        font-size: 16px;
        line-height: 30px;
    }
    #header-right, #header-left {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #header-right{
        padding-right: 74px;
    }
    .container {
        width: 100%;
    }
    .cbp-spmenu, .cbp-spmenu-push {
        -webkit-transition: all .6s ease;
        -moz-transition: all .6s ease;
        transition: all .6s ease;
    }
    .wprmenu_bar #custom_menu_icon.hamburger{
        -webkit-transition: all .4s ease;
        -moz-transition: all .4s ease;
        transition: all .4s ease;
        background: transparent;
    }
    .small-header .wprmenu_bar #custom_menu_icon.hamburger {
        top: 35px;
    }
    #mg-wprm-wrap.cbp-spmenu.custom {
        top: 112px;
    }
    .small-header #mg-wprm-wrap.cbp-spmenu.custom {
        top: 90px;
    }
    #mg-wprm-wrap ul li:first-child {
        border-top: 0;
    }
    #mg-wprm-wrap ul li {
/*        border-top: solid 1px #07293e;*/
        border-bottom: solid 1px rgb(5, 28, 43);
    }
    html body #wprmenu_menu_ul li.wprmenu_parent_item_li>ul {
        padding: 0;
    }
    .cbp-spmenu {
        height: 80%;
    }
/*    html body #wprmenu_menu_ul li.wprmenu_parent_item_li>ul {
        background: #093048;
    }*/
    div#mg-wprm-wrap ul li span.wprmenu_icon,
    #mg-wprm-wrap li.menu-item ul.sub-menu li.menu-item span{
/*        border-left:1px solid rgba(255, 255, 255, 0.07);*/
        line-height: 42px;
        padding: 27px 23px;
        right: 0;
        top: 0;
    }
    div#mg-wprm-wrap ul li span.wprmenu_icon:before,
    div#mg-wprm-wrap ul#wprmenu_menu_ul>li>span.wprmenu_icon:before{
        top: 6px;
        right: 12px;
    }
    #mg-wprm-wrap ul li ul.sub-menu li {
        border-top: 1px solid #0a3854;
/*        border-bottom: 1px solid #07293e;*/
    }
/*    html body #wprmenu_menu_ul ul ul {
        background: #08293e !important;
    }*/
    #mg-wprm-wrap li.menu-item-has-children ul.sub-menu ul.sub-menu a {
        padding-left: 30px;
    }
    #mg-wprm-wrap li.menu-item-has-children ul.sub-menu a {
        font-size: 11px;
        padding: 17px 14px;
        padding-left: 20px;
    }
    html body #wprmenu_menu_ul ul ul ul {
        background: #072335 !important;
    }
    html body #wprmenu_menu_ul ul ul li {
        border-top-color: #092e46 !important;
        border-bottom-color: #072335 !important;
    }
    #testimonials-sec .owl-carousel{
        max-width: 100%;
    }
    #video-sec .col-sm-8, #video-sec .col-sm-6 {
        padding: 50px 15px;
    }
    #footer-top .single-location {
        padding: 22px 0px 10px 20px;
        font-size: 12px;
    }
    #footer-qa li h3 {
        margin: 10px 0 0;
    }
    #footer-qa li {
        margin: 25px 3px 0;
    }
    .header-top-right li {
        padding: 0 7px;
        font-size: 13px;
    }
    #page-banner {
        height: 500px;
    }
    #banner-form .wpcf7-form input, #banner-form .wpcf7-form textarea {
        height: 35px;
        padding: 8px;
        font-size: 10px;
    }
    #banner-form .case-details textarea {
        padding: 12px 8px;
    }
    #our-team .single-team .attorney-content {
        padding-bottom: 20px;
    }
    #our-team .single-team p:last-of-type {
        margin-bottom: 0;
    }
    #our-team .single-team .attorney-img{
        vertical-align: bottom;
    }
    #video-sec .videoPoster {
        background-position: center;
    }
    #video-sec .videoWrapper {
        padding-top: 58%;
    }
    #video-sec .col-sm-8, #video-sec .col-sm-6 {
        padding: 40px 15px 15px;
    }
    #footer-top .single-location ul li, .contact-block .locations-content li {
        padding: 0px 30px 14px;
    }
    .header-top-left .social-media li {
        padding-right: 4px;
    }
    #banner-form span.wpcf7-not-valid-tip {
        bottom: 6px;
    }
    .main-content #page-section.list-li li {
        padding-right: 15px;
    }
    #our-team .single-team .attorney-content, #our-team .single-team.active .attorney-content {
        padding: 24px 20px;
    }
    #footer-top .single-location {
        margin: 10px;
    }
    #main-footer h3.widgettitle {
        font-size: 15px;
    }
    #footer-left, #footer-middle li, #footer-right li, #footer-right {
        font-size: 12px;
    }
    #footer-middle, #footer-right {
        padding: 0 12px 0 30px;
    }
    .social-media li img {
        max-height: 12px;
        width: auto;
    }
    .social-media li {
        padding-right: 10px;
    }
    .attorney-content blockquote{
        width: 100%;
    }
    .attorney-img, .attorney-content, .attorney-content h1, .attorney-content h5 {
        text-align: center !important;
        flex: 0 0 100%;
        max-width: 100%;
        background-position: center bottom;
    }
    #our-team .attorney-content{
        text-align: left !important;
    }
    .attorney-img img{
        max-width: 300px;
    }
    h2 {
        font-size: 26px;
    }
    #attorney-brief-sec .attorney-content.col-sm-7 {
        margin-top: 20px;
    }
    .navbar-toggler{
        display: none;
    }
    #mg-wprm-wrap li.current_page_ancestor > a, #mg-wprm-wrap li.current-menu-ancestor > a,
    #mg-wprm-wrap li.current_page_parent > a{
        background: #f15530;
    }
    #more-about-attorney .col-sm-6, #attorney-above-footer .col-sm-6:first-of-type, #more-about-attorney .col-sm-6:last-of-type, #attorney-above-footer .col-sm-6:last-of-type {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px !important;
    }
    #more-about-attorney .col-sm-6:after,
    #attorney-above-footer .col-sm-6:first-of-type:after,
    #attorney-above-footer .col-sm-6:last-of-type ul:first-of-type:after{
        display: none;
    }
    #more-about-attorney li, #attorney-above-footer .col-sm-6 li{
        margin: 10px 0;
    }
    .attorney-content ul:last-of-type, #page-sidebar ul:last-child,
    #more-about-attorney .col-sm-6 ul:last-of-type, #attorney-above-footer .col-sm-6 ul:last-of-type{
        margin-bottom: 0;
    }
    #attorney-above-footer img.attor-detail-img{
        display: none;
    }
    #attorney-above-footer .col-sm-6:last-of-type {
        margin-top: 20px;
    }
    #page-sidebar, #page-section {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #page-sidebar .wpcf7-form h3 {
        font-size: 24px;
    }
    .wpcf7-form input, .wpcf7-form textarea {
        font-size: 15px;
    }
    #page-sidebar form.wpcf7-form, #page-sidebar .widget{
        margin-bottom: 40px;
    }
    .wp-pagenavi {
        margin-top: 40px;
    }
    #page-sidebar {
        margin-top: 40px;
    }
    .tab-content {
        padding: 40px 15px 0;
    }
    .articles-list .videoWrapper{
        padding-top: 70%;
        margin-bottom: 0;
    }
    .articles-list .video-list-all .videoWrapper {
        padding-top: 70%;
    }
    table.footable>tbody>tr>td, table.footable>tbody>tr>th {
        display: none;
        width: 100%;
        display: block !important;
        text-align: center;
    }
    .single-video-list h4{
        text-align: center;
    }
    .single-video-list h4:after {
        right: 0;
        margin: auto;
    }
    .articles-list .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .articles-list .videoWrapper .videoPoster {
        background-position: center;
    }
    .tab-content #tab-2 img.alignleft,.tab-content #tab-2 p:first-of-type img {
        display: block;
        float: none;
        margin: auto;
    }
    .single-video-list img, .articles-list .videoWrapper {
        max-width: 400px;
    }
    .contact-section {
        margin-right: 0;
        margin-left: 0;
    }
    #contact-locations li .locations-content {
        padding: 36px 25px;
    }
    .contact-block .locations-content li {
        padding-right: 0;
    }
    .home .main-content #page-section.list-li li:first-child {
        margin-top: 0;
    }
    #footer-right p {
        margin-bottom: 5px;
    }
    #footer-right input[type='submit'] {
        margin-top: 10px;
    }
    #practice-areas .single-practice > a:hover .back-block{
        opacity: 0;
    }
    #footer-qa li a:hover img{
        transform: scale(1);
    }
    #attorney-brief-sec .attorney-content{
        padding-top: 20px;
    }
    #attorney-brief-sec .col-sm-6, #attorney-brief-sec .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    #attorney-brief-sec .attorney-content{
        font-size: 15px;
    }
    #attorney-brief-sec .attorney-content h4{
        font-size: 15px !important;
    }
    .attorneys-list.hidden-md-up a.btn {
        margin-bottom: 40px;
    }
    .preparing-for-divorce-list .video-list-all {
        width: 49%;
    }
    .preparing-for-divorce-list .video-list-all:nth-child(3n+3){
        margin-right: 10px;
    }
    .preparing-for-divorce-list .video-list-all:nth-child(2n+2){
        margin-right: 0;
    }
    .about-us-wrap h5 span{
        margin-left: 5px;
    }
    
    
    .attorneys-list .attorney-single .attor-back-content, .attorneys-list .attorney-single:hover .attor-back-content {
        background-color: #12202e;
        position: relative;
        opacity: 1;
    }
    
    
    .report-link a {
    width: 100%;
}
   #header-right {
    padding-right: 74px;
}
	.search-bar {
    top: 4px !important;
    right: 83px;
    font-size: 19px;
}
	a.header-icons {
    right: 35px;
}
	#top-search {
    bottom: unset !important;
}
	.small-header #top-search {
    padding-top: 25px;
}
     div#trending-news-areas .news-videos-slider .news-video-box span.video-title {
    min-height: auto;
}
	#site-header.small-header .headerright_sec {
    position: fixed;
    top: 5px;
    z-index: 99;
    right: 15px;
}
	.headerright_sec a[href^="tel:"] {
    font-size: 14px;
}
	.header-top-right li:after {
    right: 0;
		    height: 35px;
}
}
@media only screen and (max-width:600px){
    #site-header .header-top{
        display: none;
    }
    .wprmenu_bar #custom_menu_icon.hamburger, .small-header .wprmenu_bar #custom_menu_icon.hamburger {
        top: 18px;
    }
    #site-header,#site-header.small-header {
        top: 0px; 
        padding: 10px 0;
    }
    a.header-icons {
        display: inline-block;
        top: 1px;
    }
    .header-bottom {
        padding: 0;
    }
    #banner-form{
        display: none;
    }
    #page-banner,#inner-pages #page-banner {
        height: auto;
        padding: 130px 0 70px !important;
    }
    .banner-big-title, #inner-pages .banner-big-title {
        font-size: 34px;
        line-height: 40px;
    }
    .banner-small-title, #inner-pages .banner-small-title {
        font-size: 14px;
        line-height: 25px;
    }
    .banner-content a.btn, input[type='submit'], a.btn {
        padding: 6px 25px;
        font-size: 13px;
    }
    #mg-wprm-wrap.cbp-spmenu.custom, .small-header #mg-wprm-wrap.cbp-spmenu.custom {
        top: 78px;
    }
    .home #page-banner .banner-content,#inner-pages #page-banner .banner-content{
        padding: 0;
    }
    a.header-icons.email-icon-header {
        top: -2px;
    }
    #our-team .single-team .attorney-content h3:after {
        margin: auto;
        right: 0;
    }
    #our-team .single-team .attorney-content, #our-team .single-team.active .attorney-content {
        padding: 28px 20px 0;
    }
    #our-team .single-team .attorney-content, #our-team .single-team.active .attorney-content,
    #our-team .single-team .attorney-img, #our-team .single-team.active .attorney-img{
        width: 100%;
    }
    #our-team .single-team .attorney-content h3{
        text-align: center;
    }
    #our-team .single-team:first-of-type .attorney-content {
        padding-top: 0;
        padding: 0 20px 20px;
    }
    #practice-areas .single-practice .front-block h3 img,
    #practice-areas .single-practice .front-block span img{
        max-width: 50px;
        width: 100%;
        display: block;
        margin-top: 5px;
    }
    #practice-areas .single-practice .front-block h3,
    #practice-areas .single-practice .front-block span{
        font-size: 18px;
        left: 10px;
        bottom: 10px;
    }
    #practice-areas .single-practice {
        height: 200px;
    }
    .back-block img:first-of-type {
        max-width: 50px;
    }
    #practice-areas .single-practice .back-block h3 {
        margin: 15px 0 0;
        font-size: 20px;
    }
    #footer-top .single-location {
        margin: 0px 0 20px;
        width: 100%;
        font-size: 15px;
    }
    #main-footer h3.widgettitle:after {
        right: 0;
        margin: auto;
    }
    #footer-left, #footer-middle li, #footer-right li {
        font-size: 14px;
        padding: 0 15px;
    }
    #footer-main-top{
        padding-bottom: 20px;
        text-align: center;
    }
    #footer-top .single-location:last-of-type {
        margin-bottom: 0;
    }
    #footer-top .single-location ul li img, .contact-block .locations-content li img {
        top: 4px;
    }
    #footer-qa li {
        width: 44%;
    }
    .cbp-spmenu {
        height: 90%;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background: #EE3327;
        color: #fff;
    }
    .preparing-for-divorce-list ul li, .footable-pagination-wrapper li{
        width: 100%;
    }
    .nav-tabs .nav-link {
        padding: 12px 8px;
        font-size: 15px;
        background: #8dbede;
        margin: 5px 15px;
    }
    .footable-pagination-wrapper li{
        width: auto;
    }
    .articles-list .videoWrapper {
        padding-top: 70%;
    }
    #header-left img {
        max-width: 200px;
    }
    #our-team .single-team .attorney-img img {
        max-height: 300px;
        width: auto;
        display: block;
        margin: auto auto 20px;
    }
    #footer-middle, #footer-right{
        padding: 0 15px;
    }
    #footer-left .social-media{
        margin-top: 10px;
    }
    #footer-left:after, #footer-middle:after,
    .nav-tabs .nav-link:after{
        display: none;
    }
    .attorneys-list .attorney-single {
        width: 100%;
        margin: 0 0 20px;
    }
    .attorneys-list .attorney-single .attor-back-content{
        opacity: 1;
    }
    .tab-content{
        border-top: 0;
    }
    .footable-pagination-wrapper .pagination{
        text-align: center;
        display: block;
    }
    .tab-content .pagination li{
        width: auto;
    }
    table.footable{
        display: block !important;
    }
    .wp-pagenavi a, .wp-pagenavi span, .wp-pagenavi span.fa{
        line-height: 32px;
    }
    #about-second-fold li {
        display: block;
        margin: auto;
        margin-bottom: 40px;
        margin-right: auto;
        max-width: 250px;
    }
    #about-second-fold li:after {
        top: auto;
        right: 0;
        bottom: -39px;
        left: 0;
    }
    #footer-bottom .pull-left, #footer-bottom .pull-right {
        display: block;
        text-align: center;
        float: none;
    }
    #footer-right p {
        margin-bottom: 15px;
    }
    #footer-right input[type='submit'] {
        margin-top: 20px;
    }
    .report-form .col-sm-9 {
        padding-right: 15px;
    }
    .report-form .col-sm-9, .report-form .col-sm-3, #page-section .wpcf7-form .col-sm-6{
        flex: 0 0 100%;
        max-width: 100%;
    }
    #page-section .wpcf7-form .col-sm-6{
        padding: 0 15px;
    }
    .podcast-header .banner-content.white-text {
        text-align: center;
    }
    .thanx-boxes,
    .thanks-podcast-wrapper .container .thanx-boxes:nth-of-type(3),
    .thanks-podcast-wrapper .container .thanx-boxes:last-of-type{
        float: none;
        width: 100%;
        border-right:0 !important;
        background: rgba(235,77,45,1);
        background: -moz-linear-gradient(top, rgba(235,77,45,1) 0%, rgba(238,89,51,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(235,77,45,1)), color-stop(100%, rgba(238,89,51,1)));
        background: -webkit-linear-gradient(top, rgba(235,77,45,1) 0%, rgba(238,89,51,1) 100%);
        background: -o-linear-gradient(top, rgba(235,77,45,1) 0%, rgba(238,89,51,1) 100%);
        background: -ms-linear-gradient(top, rgba(235,77,45,1) 0%, rgba(238,89,51,1) 100%);
        background: linear-gradient(to bottom, rgba(235,77,45,1) 0%, rgba(238,89,51,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb4d2d', endColorstr='#ee5933', GradientType=0 );
        border-bottom: 1px solid #F88951;
    }
    .thanks-podcast-wrapper .container .thanx-boxes:first-of-type:after,
    .thanks-podcast-wrapper .container .thanx-boxes:nth-last-of-type(2):after{
        display: none;
    }
    .preparing-for-divorce-list .video-list-all {
        width: 100%;
        margin-right: 0;
    }
    .contact-section div.wpcf7-response-output{
        position: initial;
    }
    
    .media-list {
     padding: 15px 15px 15px 110px;   
    }
    
    .media-thumb {
         width: 100px;
    }    
    
    #page-section .media-list h5 {
        font-size: 18px;
    }
    
}
@media only screen and (max-width:480px){
    a.header-icons {
        padding-left: 12px;
    }
    #header-left img {
        max-width: 152px;
    }
    .wprmenu_bar #custom_menu_icon.hamburger, .small-header .wprmenu_bar #custom_menu_icon.hamburger {
        top: 10px;
    }
    
    .home div#page-banner {
        height: 260px;
    }
    
    
    .banner-big-title, #inner-pages .banner-big-title {
        font-size: 25px;
        line-height: 30px;
    }
    .banner-small-title, #inner-pages .banner-small-title {
        font-size: 15px;
        line-height: 21px;
        padding: 2px 0;
    }
    #page-banner, #inner-pages #page-banner {
        padding: 100px 0 10px !important;
    }
    #mg-wprm-wrap.cbp-spmenu.custom, .small-header #mg-wprm-wrap.cbp-spmenu.custom {
        top: 62px;
    }
    .featured-div {
        float: none;
        display: block;
        margin: auto auto 20px;
        text-align: center;
    }
    #contact-locations li.single-block {
        display: block;
    }
    #contact-locations li .locations-content, #contact-locations li .locations-iframe{
        width: 100%;
    }
    #contact-locations li .locations-content {
        margin: 10px 0;
    }
    #contact-locations li .locations-content:after{
        border-top: 0;
        border-bottom: 15px solid #f34a2e;
        border-right: 15px solid transparent;
        border-left: 15px solid transparent;
        top: -14px;
        bottom: auto;
        right: 0;
        left: 0;
    }
    #contact-locations li.right-arrow .locations-content:after {
        border-top: 15px solid #f34a2e;
        border-right: 15px solid transparent;
        left: 0;
        right: 0;
        border-bottom: 0;
        bottom: -14px;
        top: auto;
        border-left: 15px solid transparent;
    }
    img.alignleft, img.alignright{
        display: block;
        margin: auto;
        margin-bottom: 20px;
        float: none;
    }
    .attorney-bottom-img{
        text-align: center;
    }
    #about-second-fold li:after {
        top: auto;
        right: 0;
        bottom: -40px;
        left: 0;
    }
    #about-second-fold li {
        display: block;
        margin-bottom: 40px;
        margin-right: auto;
    }
    tr.video-list-all {
        width: 100%;
    }
    #page-section h1, #page-section h2, #page-section h3, #page-section h4, #page-section h5, #page-section h6 {
        text-align: center !important;
        background-position: center bottom;
    }
    #page-section h4:after, #page-section h5:after, #page-section h6:after {
        right: 0;
        margin: auto;
    }
    #practice-areas .single-practice {
        height: 160px;
    }

}
@media only screen and (max-width:360px){
    a.header-icons {
        padding-left: 5px;
    }
    #header-right {
        padding-right: 65px;
    }
}