/*-------------- media section ---------------*/

@media screen and (max-width:575px) {
  #practice-area .services-box:hover .pra-text{
    display: none;
  }
  .toggle-nav {
    margin-top: 3px !important;
    left: 20px !important;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    width: 100% !important;
  }
}
@media screen and (max-width:767px) {
  #footer_contact .footer-contact-box{
    height: auto;
  }
  #slider .slide_text{
    display: block;
  }
  .woocommerce-checkout .woocommerce-checkout .col-1,.woocommerce-checkout .woocommerce-checkout .col-2 {
    max-width: 100% !important;
  }
  #slider h1 {
    font-size: 18px;
    padding-top: 0;
    line-height: 24px !important;
    text-align: center;
  }
  .theme_main_button i, .theme_main_button2 i{
    padding: 14px 11px;
  }
  .section_man_heading h3, #about-us .about-content h4{
    font-size: 20px;
    margin-bottom: 0;
  }
  .section_man_heading {
    padding-bottom: 20px !important;
  }
  #contact-details .socialbox i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  #contact-details .contact-text{
    font-size: 20px;
  }
  #slider .theme_main_button {
    margin-top: 0;
  }
  #cases-studied .cases-tabs ul, #cases-studied .cases-studied-head, #about-us .quote-box, #about-us .about-content, #testimonials .testimonials-contents, #newsletter, #footer .copy-menu, .copyright p, .contact-info-box .c_content, .serach_inner form.search-form, #site_top, #contact-details .contact-info, #why-choose-us .why_content, #our-blogs,.copyright .copyright_text,#siderDrawer .contact-sidebar-content {
    text-align: center;
  }
  .woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 37%;
  }
  #slider .carousel-indicators {
    display: none;
  }
  section {
    padding: 40px 0;
    background-size: cover;
  }
  blockquote {
    width: 100%;
  }
  .serach_inner input.search-field {
    width: 85%;
  }
  .contact-info {
    text-align: center;
  }
  .logo p {
    line-height: 17px;
  }
  #slider .slide_text {
    display: none;
  }
  #header .search-form label {
    width: 53%;
  }
  input.search-field {
    width: 97%;
  }
  #slider .slide_nav a {
    padding: 4px;
  }
  .slider-box {
    max-width: 83%;
    text-align: center;
    left: 0;
    right: 0;
  }
  .logo h1 a {
    font-size: 17px;
  }
  .post-navigation .nav-previous {
    width: 100%;
  }
  .post-navigation .nav-next {
    width: 100%;
  }
  .search_popup input.search-submit {
    padding: 3px 20px;
  }

  #header .logo {
    text-align: center;
    width: 100%;
    padding: 14px 0;
  }
  #contact-details, .home.page-template .site-header {
    position: unset;
  }
  .sticky, #why-choose-us .consult-form {
    position: unset !important;
  }
  #site_top .topbar-button {
    text-align: center;
    padding: 10px;
  }
  #site_top span {
    margin-top: 10px;
    display: block;
    padding-right: 0 !important;
  }
  #contact-details {
    margin-top: 0;
    text-align: center;
  }
  #contact-details .contact-details-box, #cases-studied .cases-tabs ul, #footer .copy-menu ul, #about-us .about-content {
    margin-top: 20px;
  }
  .copyright p{
    line-height: 30px;
  }
  #footer .copy-menu ul li{
    padding: 0 5px;
  }
  .study_box, .blog-content, #why-choose-us .consult-form {
    margin-bottom: 20px;
  }
  #our-features .features-box, #our-features .owl-item:first-child .features-box {
    border: none;
  }
  #about-us .about-content {
    padding: 20px;
  }
  .theme_main_button, .theme_main_button2{
    margin-top: 0;
  }
  #about-us .quote-box {
    padding: 24px;
  }
  #about-us .quote-box .quote-text, #practice-area .services-box h5 a, #why-choose-us .consult-form h4, #our-blogs .blog-content h5 a{
    font-size: 18px;
  }
  #cases-studied .box1 {
    max-width: 240px;
    margin-right: auto;
    margin-left: auto;
  }
  #our-video .video-box {
    top: 0;
  }
  .testimonials-contents .section_man_heading {
    padding-left: 15px !important;
  }
  #testimonials .testimonials-contents h3:after {
    margin-right: auto;
    margin-left: auto;
  }
  #testimonials .testimonials-contents .small_title {
    padding-top: 30px;
  }
  #newsletter input[type="submit"] {
    position: unset;
    margin-top: 20px !important;
  }
  #footer_contact .footer-contact-box {
    text-align: center;
    margin-top: 20px;
  }
  #footer_contact .footer-contact-box p {
    padding-top: 15px;
  }
  #about-us .about-img {
    text-align: center;
    padding-right: 15px !important;
  }
  #practice-area .services-image {
    max-width: 250px;
    margin: 0 auto;
  }
  #cases-studied .box1 img, #our-attornies .our-attornies-content img {
    width: auto;
  }
  #our-attornies .attorney-img {
    max-width: 220px;
    margin: 0 auto;
  }
  #practice-area .pra-text {
    line-height: 17px;
  }
  #practice-area .pra-link_title {
    padding-top: 6px;
  }
  #testimonials button.owl-next {
    bottom: -8% !important;
        right: 34%;
  }
  #testimonials button.owl-prev {
    bottom: -8% !important;
    left: 0 !important;
  }
  #testimonial_square_dotted, #testimonial_square{
    display: none;
  }
  .testimonials-contents{
    padding-left: 0;
    padding-top: 0;
  }
  #our-video .our-video-head i{
    width: 70px;
    height: 70px;
    line-height: 50px;
        font-size: 26px;
  }
  .side-drawer .side-close{
        top: 20px;
  }
}
@media screen and (min-width: 768px) and (max-width:991px) {
  .media.inner-cont {
    display: flex !important;
    text-align: left;
  }
  .footer-contact-box{
    height: 100%;
  }
  #testimonial_square_dotted{
    bottom: 65px;
  }
  #slider h1 {
    font-size: 25px;
    padding-top: 20px;
    line-height: 30px !important;
  }
  #contact-details .contact-text{
    font-size: 18px;
  }
  #slider .carousel-prev-button{
    left: 14px;
  }
  #slider .slide_text {
    margin: 0;
    line-height: 21px;
  }
  .search-form button i {
    font-size: 12px !important;
    padding-right: 2px !important;
  }
  .header-nav .menubar {
    background-color: transparent;
  }
  #header .header-search {
    position: unset;
  }
  .slider-box {
    top: 51%;
    max-width: 57%;
    border: none;
  }
  .home .main-navigation ul {
    border-bottom: none;
  }
  #footer #site-navigation ul li {
    padding-top: 14px;
    padding-bottom: 11px;
  }
  .home.page-template .site-header {
    position: unset;
    background-color: #24272e;
  }
  .logo h1 a {
    font-size: 19px;
  }
  #site_top .socialbox i {
    padding-right: 7px;
  }
  #site_top span {
    padding-right: 0;
    font-size: 11px;
  }
  #contact-details {
    position: unset;
    margin-top: 40px;
  }
  #contact-details .contact-details-box, #contact-details .contact-info, #footer_contact .footer-contact-box {
    text-align: center;
  }
  #about-us .about-img {
    text-align: center;
    margin-bottom: 20px;
  }
  #cases-studied .box1 {
    margin-top: 20px;
  }
  #testimonials {
    padding-top: 24%;
  }
  #testimonials .testimonials-contents h3:after {
    margin-top: 13px;
  }
  #testimonials .testimonials-contents .test-text p {
    padding-top: 14px;
    line-height: 26px;
  }
  #why-choose-us .consult-form {
    bottom: -55px;
  }
  #our-blogs .third-blog {
    padding-top: 30px;
    text-align: center;
  }
  #footer_contact .footer-contact-box h5 {
    font-size: 15px;
  }
  #testimonials button.owl-prev, #testimonials button.owl-next {
    bottom: -5% !important;
  }
  #contact-details .socialbox i{
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .carousel-control-next, .carousel-control-prev{
        width: 8%;
  }
}
@media screen and (max-width:991px) {
  .media {
    display: block !important;
    margin: 0 auto;
    text-align: center;
  }
  .media img {
    display: block !important;
    margin-right: 0 !important;
    text-align: center;
    margin: 0px auto !important;
    margin-bottom: 10px !important;
  }
}
@media screen and (max-width: 1024px) and (min-width:992px) {
  #slider h1{
    font: 699 38px var(--font-vollkorn);
line-height: 40px !important;
padding-bottom: 0
  }
  #contact-details .socialbox i {
    width: 50px;
    height: 50px;
line-height: 50px;
  }
  .search-box {
    float: none;
  }
  .search-box form.search-form {
    margin: 0 auto;
  }
  .postbox {
    margin-bottom: 20px;
  }
  .slider-box {
    max-width: 70%;
    top: 60%;
    left: 50px;
  }
  #slider .slide_text {
    line-height: 22px;
  }
  .logo h1 a {
    font-size: 18px;
  }
  .widget th, .widget td {
    padding: 0;
  }
  .toggle-nav {
    margin-top: 4px !important;
  }
  #contact-details .contact-text {
    font-size: 17px;
  }
  #about-us .quote-box .quote-text {
    line-height: 35px;
    font-size: 20px;
  }
  #testimonials {
    padding-top: 25%;
  }
  #why-choose-us .consult-form {
    bottom: -55px;
  }

  #footer_contact .footer-contact-box h5 {
    font-size: 15px;
  }
  #testimonials button.owl-prev, #testimonials button.owl-next {
    bottom: -3% !important;
  }
}

@media screen and (max-width: 1023px) {
  .main-header .sidenav {
    display: none;
  }
  .home .main-navigation ul {
    border: none;
  }
  .main-navigation ul ul {
    background-color: transparent;
  }
  .main-navigation ul ul li, .menubar.scrolled .main-navigation ul ul li {
    border-bottom: none;
  }
  #openDrawerButton{
    padding: 2px 11px;
  }
  .toggle-nav {
    display: block;
  }
  .toggle-nav i {
    font-size: 20px;
    color: black;
  }
  amp-sidebar#sidebar1 {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
        z-index: 99;
  }
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  .sidenav a:hover {
    color: #f1f1f1;
  }
  #close_nav {
    position: absolute;
    top: 8px;
    right: 1em;
    font-size: 26px;
    color: white;
    cursor: pointer;
    z-index: 99;
  }
  #close_nav i{
    color: white;
  }
  .sidenav #site-navigation {
    width: 100%;
  }
  .toggle-nav span {
    font-size: 30px;
    cursor: pointer;
    text-align: right;
  }
  iframe {
    width: 100%;
    height: auto;
  }
  .main-navigation .menu {
    float: none;
    text-align: center;
  }
  .main-navigation ul ul li, #masthead.scrolled .main-navigation ul ul li {
    display: block;
  }
  .main-navigation .menu > ul > li.highlight {
    background: transparent !important;
  }
  .menu > ul > li:hover:before, .menu > ul > li.current_page_item:before, .menu > ul > li.current-menu-item:before {
    display: none;
  }
  .sf-arrows .sf-with-ul:after {
    border-top-color: #333;
  }
  .toggle i.fa.fa-bars,.toggle i.fa.fa-times {
    float: right;
    color: black;
  }
  .menubar .nav ul {
    width: 100%;
    margin-top: 0;
  }
  .menubar .nav ul li, .menubar.scrolled .main-navigation li {
    border-top: 1px #303030 solid;
    display: block;
    text-align: left;
    float: none;
    width: 18rem;
    padding: 5px;
  }
  .nav ul li a {
    padding: 5px 10px;
    display: block;
    color: white;
  }
  .nav ul li ul, .nav ul li ul ul {
    display: block !important;
  }
  .nav ul li ul li a:before {
    content: "\00BB \00a0";
  }
  .nav ul li ul li a {
    padding-left: 20px !important;
  }
  .nav ul li ul li ul li a {
    padding-left: 30px !important;
  }
  .main-navigation ul ul {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .main-navigation li.current_page_item {
    border: none;
  }
  .main-navigation ul ul, .main-navigation ul ul li {
    background: transparent !important;
  }
  #header-menu .current_page_item {
    background: none;
  }
  #header-menu .current_page_item ul li a {
    color: var(--color-e41e37);
  }
  .main-navigation .current_page_item:after {
    display: none;
  }
  .home.page-template #sticky-menu {
    opacity: 1;
  }
  #contact-details .socialbox i, #siderDrawer .socialbox i{
    width: 50px;
    height: 50px;
    line-height: 50px
  }
}
@media screen and (max-width: 1199px) and (min-width: 1024px) {

.main-navigation li{
      padding: 31px 7px;
}
.carousel-control-next, .carousel-control-prev{
      width: 8%;
}
}
@media screen and (max-width: 1200px) and (min-width: 1025px) {
  #contact-details .socialbox i {
    width: 50px;
    height: 50px;
line-height:50px;
  }
  .widget th, .widget td {
    padding: 0;
  }
  .slider-box {
    max-width: 60%;
    top: 60%;
  }
  .logo h1 a {
    font-size: 18px;
  }
  .widget th, .widget td {
    padding: 0;
  }
  #slider h1 {
    font-size: 35px;
  padding-top: 0px;
      padding-bottom: 0;
  }
  .toggle-nav {
    margin-top: 4px !important;
  }
  #contact-details .contact-text {
    font-size: 17px;
  }
  #testimonials {
    padding-top: 25%;
  }
  #about-us .quote-box .quote-text{
    font-size: 24px;
  }
  #why-choose-us .consult-form {
    bottom: -55px;
  }


  #footer_contact .footer-contact-box h5 {
    font-size: 15px;
  }
  #testimonials button.owl-prev, #testimonials button.owl-next {
    bottom: -3% !important;
  }
  #contact-details .socialbox i {
    width: 50px;
    height: 50px;
line-height: 50px;
  }
}

@media screen and (max-width:1199px) and (min-width:992px){
  #contact-details .contact-text, #contact-details .contact-text a{
    font: 700 18px var(--font-cardo);
  }
  #about-us .quote-text:before{
    top: 2px;
    font-size: 25px;
    left: 10px;
  }
  #about-us .quote-box{
    padding: 30px 30px;
  }
  .media{
    text-align: left;
  }
  .carousel-control-next, .carousel-control-prev{
        width: 5% !important;
  }
}
@media screen and (max-width:575px){
  #newsletter input[type=submit]{
    margin: 0 auto;
    display: block;
}
  .footer-details {
    text-align: center;
}
  #footer .widget p{
    display: grid;
  }
  .side-drawer{
    width: 100%;
  }
}
