/*====================================================
*Copyright © 2020. Designed by designtocodes*
***
**********Home Page Section**********
***
======================================================*/
/*
  Template Name: Robustlex - Law Firm Bootstrap Template
  Template URI: https://www.designtocodes.com/product/robustlex-law-firm-bootstrap-template
  Description: Robustlex is a responsive bootstrap template specifically designed for Law firms, Advocates, or agencies. 
  Author: designtocodes
  Author URI: https://www.designtocodes.com
  Text Domain: Robustlex
*/

@media only screen and (min-width: 0px) and (max-width: 575px) {
  /*==================================Navbar start==================================*/
  .navbar-light .navbar-toggler-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 22px;
  }
  .navbar-light .navbar-toggler-icon i {
    font-size: 25px;
  }
  .navbar-light .navbar-toggler {
    border-color: var(--secondary-color) !important;
    padding: 0px;
  }

  .d2c_main_nav .navbar-collapse {
    position: absolute;
    width: 100%;
    top: 95px;
    left: 0px;
    background-color: #fff;
  }
  .d2c_main_nav .navbar ul li .dropdown-menu {
    text-align: left;
  }
  .d2c_main_nav .d2c_button_large{
    padding: 10px 25px !important;
    font-size: 16px !important;
  }
  .navbar-nav .nav-item:last-child{
    margin-bottom: 20px;
  }
  .d2c_main_nav .navbar ul li{
    text-align: left;
  }
  .d2c_main_nav .navbar ul li{
    padding-left: 24px;
  }
  /*==================================Navbar end==================================*/

  /*==================================Global heading section start ==================================*/

  .d2c_header .d2c_heading {
    font-size: 30px;
    text-align: center;
    line-height: 40px;
  }
  .d2c_header ul {
    justify-content: center;
  }

  /*==================================Global heading section  end==================================*/

  /*==================================home page start==================================*/

  /* hero section */
  .d2c_hero_section {
    height: 60vh;
    background: var(--primary-color);
  }
  .d2c_hero_section .d2c_hero_content {
    text-align: center;
  }
  .d2c_hero_section h1 {
    font-size: 40px;
  }
  .d2c_hero_section h2 {
    font-size: 30px;
  }

  /* about section */
  .d2c_home_about {
    padding: 60px 0px;
  }
  .d2c_about_page_heading {
    line-height: 40px;
  }
  .d2c_home_about .d2c_semi_large_button {
    margin-bottom: 30px;
  }

  /* services section */
  .d2c_home_services {
    padding: 60px 0px;
  }
  .d2c_home_services .d2c_home_services_heading {
    font-size: 30px;
    text-align: center;
  }
  .d2c_home_services .d2c_services_content {
    padding-top: 40px;
  }
  .d2c_home_services .d2c_semi_large_button {
    margin-top: 40px;
  }

  /* testimonial section */
  .d2c_testimonial {
    padding: 60px 0px 110px 0px;
  }
  .d2c_testimonial .d2c_testimonial_heading {
    font-size: 27px;
    line-height: 40px;
    margin-bottom: 60px;
    text-align: center;
  }
  .d2c_testimonial .d2c_testimonial_content {
    padding: 25px 15px;
  }
  .d2c_testimonial .d2c_testimonial_content p {
    font-size: 16px;
  }
  .d2c_testimonial .d2c_testimonial_content p {
    font-size: 16px;
}

  /* blog section start */
  .d2c_home_blog .d2c_expert_heading {
    font-size: 30px;
    text-align: center;
  }
  .d2c_home_blog .d2c_featured_post_col:first-child {
    padding-top: 0px;
  }

  /*==================================home page end==================================*/

  /*==================================contact page start==================================*/

  .d2c_contact h1 {
    font-size: 25px;
    line-height: 40px;
    text-align: center;
  }

  /*==================================contact page end==================================*/

  /*==================================FAQ page start==================================*/

  .d2c_FAQ_main {
    padding-bottom: 50px;
  }
  .d2c_FAQ_main .d2c_faq_content h1 {
    text-align: center;
    font-size: 25px;
  }
  .d2c_FAQ_main .btn {
    font-size: 18px;
  }
  .d2c_FAQ_main .btn::before {
    font-size: 25px;
  }
  .d2c_FAQ_main .btn:not(.collapsed)::before {
    font-size: 25px;
  }
  .d2c_FAQ_main .d2c_faq_content .card .card-body {
    font-size: 16px;
    margin-left: 30px;
  }

  /*==================================FAQ page end==================================*/

  /*==================================author page start==================================*/

  .d2c_author .d2c_author_content .card {
    padding: 30px 0px;
  }
  .d2c_author .d2c_author_content .card .card-title {
    margin-bottom: 10px;
  }
  .d2c_author .d2c_author_content .card .d2c_card_name {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /*==================================author page end==================================*/

  /*==================================Appointment page start==================================*/

  .d2c_appointment h1 {
    font-size: 25px;
    line-height: 40px;
    text-align: center;
  }

  /*==================================Appointment page end==================================*/

  /*==================================blog page start==================================*/

  .d2c_blog_post {
    margin-bottom: 65px;
  }
  .d2c_post_card .card-body {
    padding: 20px 15px;
  }
  .d2c_post_card .card .d2c_hover_content {
    padding: 20px 15px;
  }
  .d2c_post_card .card-body .card-title {
    font-size: 20px;
  }
  .d2c_post_card .card .d2c_hover_content .card-title {
    font-size: 20px;
  }
  .d2c_blog_section .d2c_first_col .d2c_post_card .card-body .card-title {
    font-size: 20px;
  }
  .d2c_recent_post .d2c_expert_heading {
    margin: 50px 0px;
    font-size: 30px;
  }

  .d2c_CTA .d2c_CTA_left h2 {
    font-size: 31px;
    letter-spacing: 0px;
    margin-bottom: 0px;
  }
  .d2c_CTA .d2c_CTA_left p {
    margin-bottom: 0px;
    font-size: 16px;
  }

  .d2c_CTA .d2c_CTA_btn {
    margin-top: 30px;
    padding: 10px 20px !important;
    font-size: 16px !important;
  }

  .d2c_recent_post {
    padding-bottom: 50px;
  }
  .d2c_recent_post .d2c_loadmore_btn {
    margin-top: 50px;
  }
  .d2c_feature_post {
    padding-top: 50px;
  }
  .d2c_feature_post .d2c_expert_heading {
    margin-bottom: 50px;
  }
  .d2c_blog_section {
    padding-bottom: 50px;
  }
  .d2c_feature_post .d2c_loadmore_btn {
    margin-top: 35px;
  }

  .d2c_post_card .card .card-img-top img {
    height: 300px !important;
  }
  .d2c_home_blog .d2c_semi_large_button{
    margin-bottom: 50px;
  }

  /*==================================blog page end==================================*/

  /*================================== Single Blog page Start ==================================*/
  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    .d2c_post_title {
    font-size: 22px;
  }

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    p {
    font-size: 15px;
  }
  .d2c_single_page_section .d2c_social_icon .d2c_title h3 {
    font-size: 20px;
  }
  .d2c_single_page_section .d2c_social_icon a {
    width: 36px;
    height: 34px;
  }
  .d2c_single_page_section .d2c_social_icon a i {
    font-size: 16px;
  }
  .d2c_single_page_section
    .d2c_comment_section
    .d2c_panel
    .d2c_comment_form
    .d2c_comment_title
    .d2c_title {
    font-size: 20px;
  }

  /*================================== Single Blog page End ==================================*/

  /*================================== about page start ==================================*/

  .d2c_about_section .d2c_about_content {
    text-align: center;
  }
  .d2c_about_page_heading {
    font-size: 25px;
  }
  .d2c_about_section .d2c_about_content p {
    letter-spacing: 0px;
  }
  .d2c_consultation .d2c_about_page_heading {
    margin: 50px 0px;
  }
  .d2c_consultation .d2c_content .card ul li {
    line-height: 33px;
  }
  .d2c_consultation .d2c_consultation_column:first-child {
    padding-top: 0px;
  }
  .d2c_consultation {
    padding-bottom: 50px;
  }
  .d2c_counter {
    padding: 100px 0px 70px 0px;
  }
  .d2c_counter .d2c_counter_content h1 {
    font-size: 35px;
  }
  .d2c_counter .d2c_counter_content {
    margin-bottom: 30px;
    border: 2px solid var(--primary-color);
    padding: 15px;
  }
  .d2c_counter .d2c_middle_content {
    margin-top: 0px;
  }
  .d2c_counter .d2c_counter_content span::before {
    display: none;
  }
  .d2c_team {
    padding: 50px 0px 100px 0px;
  }
  .d2c_team .d2c_about_page_heading {
    margin-bottom: 50px;
    text-align: center;
  }
  .d2c_team .d2c_team_content .card .card-title {
    font-size: 22px;
  }
  .d2c_team .d2c_team_content .card .card-text {
    font-size: 16px;
  }

  /*================================== about page end ==================================*/

  /*==================================services page start==================================*/

  .d2c_services_main .d2c_services_heading {
    font-size: 30px;
    text-align: center;
    margin-bottom: 25px;
  }
  .d2c_services_main .modal .modal-title {
    font-size: 25px;
    line-height: 35px;
  }
  .d2c_services_main .modal .d2c_paragraph {
    font-size: 16px;
  }
  .d2c_services_main .modal .d2c_workflow {
    padding: 20px;
    margin: 10px 0px;
  }
  .d2c_services_main .modal .modal-content {
    width: 97%;
  }
  .d2c_services_main .modal .modal-header button.close {
    right: 0px;
  }
  .d2c_services_main .modal .d2c_sub_heading {
    font-size: 16px;
  }
  .d2c_services_main .modal .d2c_workflow h3 {
    font-size: 20px;
  }
  .d2c_services_main .modal .modal-header {
    padding-bottom: 0px;
  }
  .d2c_services_main .d2c_services_modal{
    padding: 30px 10px;
    font-size: 20px;
  }

  /*==================================services page end==================================*/

  /*==================================404 page start==================================*/

  .d2c_404{
    height: auto;
    padding: 100px 0px;
  }
  .d2c_404 .d2c_404_content h1 {
    font-size: 120px;
    line-height: 140px;
  }
  .d2c_404 .d2c_404_content h3 {
    font-size: 30px;
    line-height: 40px;
  }
  .d2c_404 .d2c_button_large{
    padding: 10px 35px !important;
  }

  /*==================================404 page end==================================*/

  /* footer section start */
  footer.d2c_main_footer{
    padding: 60px 0px 20px 0px;
  }
  footer.d2c_main_footer .list-unstyled a{
    text-transform: capitalize;
    font-size: 16px;
  }
  footer.d2c_main_footer .d2c_footer_right p{
    text-transform: capitalize;
  }
  /* footer section end */

  /* login system start */
  .d2c_wrapper{
    padding: 80px 0px;
  }
  .d2c_wrapper h1{
    font-size: 32px;
  }
  /* login system end */
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  /*==================================Navbar start==================================*/
  .navbar-light .navbar-toggler-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 22px;
  }
  .navbar-light .navbar-toggler-icon i {
    font-size: 25px;
  }
  .navbar-light .navbar-toggler {
    border-color: var(--secondary-color) !important;
    padding: 0px;
  }
  .d2c_main_nav .navbar-collapse {
    position: absolute;
    width: 100%;
    top: 95px;
    left: 0px;
    background-color: #fff;
  }
  .d2c_main_nav .navbar ul li .dropdown-menu {
    text-align: center;
  }
  .navbar-nav .nav-item:last-child{
    margin-bottom: 20px;
  }
  /*==================================Navbar end==================================*/

  /*==================================Global heading section start ==================================*/

  .d2c_header .d2c_heading {
    font-size: 35px;
    text-align: center;
    line-height: 40px;
  }
  .d2c_header ul {
    justify-content: center;
  }

  /*==================================Global heading section  end==================================*/

  /*==================================home page start==================================*/

  /* hero section */
  .d2c_hero_section {
    height: 60vh;
    background: var(--primary-color);
  }
  .d2c_hero_section .d2c_hero_content {
    text-align: center;
  }
  .d2c_hero_section h1 {
    font-size: 40px;
  }
  .d2c_hero_section h2 {
    font-size: 30px;
  }

  /* about section */
  .d2c_home_about {
    padding: 60px 0px;
  }
  .d2c_about_page_heading {
    line-height: 40px;
  }
  .d2c_home_about .d2c_semi_large_button {
    margin-bottom: 30px;
  }

  /* services section */
  .d2c_home_services {
    padding: 60px 0px;
  }
  .d2c_home_services .d2c_home_services_heading {
    font-size: 30px;
    text-align: center;
  }
  .d2c_home_services .d2c_services_content {
    padding-top: 40px;
  }
  .d2c_home_services .d2c_semi_large_button {
    margin-top: 40px;
  }

  /* testimonial section */
  .d2c_testimonial {
    padding: 60px 0px 110px 0px;
  }
  .d2c_testimonial .d2c_testimonial_heading {
    font-size: 27px;
    line-height: 40px;
    margin-bottom: 60px;
    text-align: center;
  }
  .d2c_testimonial .d2c_testimonial_content {
    padding: 25px 15px;
  }
  .d2c_testimonial .d2c_testimonial_content p {
    font-size: 16px;
  }

  /* blog section start */
  .d2c_home_blog .d2c_expert_heading {
    font-size: 30px;
    text-align: center;
  }
  .d2c_home_blog .d2c_featured_post_col:first-child {
    padding-top: 0px;
  }

  /*==================================home page end==================================*/

  /*==================================contact page start==================================*/

  .d2c_contact h1 {
    font-size: 25px;
    line-height: 40px;
    text-align: center;
  }

  /*==================================contact page end==================================*/

  /*==================================FAQ page start==================================*/

  .d2c_FAQ_main {
    padding-bottom: 50px;
  }
  .d2c_FAQ_main .d2c_faq_content h1 {
    text-align: center;
    font-size: 25px;
  }
  .d2c_FAQ_main .btn {
    font-size: 18px;
  }
  .d2c_FAQ_main .btn::before {
    font-size: 25px;
  }
  .d2c_FAQ_main .btn:not(.collapsed)::before {
    font-size: 25px;
  }
  .d2c_FAQ_main .d2c_faq_content .card .card-body {
    font-size: 16px;
    margin-left: 30px;
  }

  /*==================================FAQ page end==================================*/

  /*==================================author page start==================================*/

  .d2c_author .d2c_author_content .card {
    padding: 30px 0px;
  }
  .d2c_author .d2c_author_content .card .card-title {
    margin-bottom: 10px;
  }
  .d2c_author .d2c_author_content .card .d2c_card_name {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /*==================================author page end==================================*/

  /*==================================Appointment page start==================================*/

  .d2c_appointment h1 {
    font-size: 25px;
    line-height: 40px;
    text-align: center;
  }

  /*==================================Appointment page end==================================*/

  /*==================================blog page start==================================*/

  .d2c_blog_post {
    margin-bottom: 65px;
  }
  .d2c_post_card .card-body {
    padding: 20px 15px;
  }
  .d2c_post_card .card .d2c_hover_content {
    padding: 20px 15px;
  }
  .d2c_post_card .card-body .card-title {
    font-size: 20px;
  }
  .d2c_post_card .card .d2c_hover_content .card-title {
    font-size: 20px;
  }
  .d2c_blog_section .d2c_first_col .d2c_post_card .card-body .card-title {
    font-size: 20px;
  }
  .d2c_recent_post .d2c_expert_heading {
    margin: 50px 0px;
    font-size: 30px;
  }

  .d2c_CTA .d2c_CTA_left h2 {
    font-size: 35px;
    letter-spacing: 0px;
    margin-bottom: 0px;
  }
  .d2c_CTA .d2c_CTA_left p {
    margin-bottom: 0px;
  }
  .d2c_CTA_left {
    text-align: center;
  }
  .d2c_CTA .d2c_CTA_btn {
    margin-top: 30px;
  }

  .d2c_recent_post {
    padding-bottom: 50px;
  }
  .d2c_recent_post .d2c_loadmore_btn {
    margin-top: 50px;
  }
  .d2c_feature_post {
    padding-top: 50px;
  }
  .d2c_feature_post .d2c_expert_heading {
    margin-bottom: 50px;
  }
  .d2c_blog_section {
    padding-bottom: 50px;
  }
  .d2c_feature_post .d2c_loadmore_btn {
    margin-top: 50px;
  }

  .d2c_post_card .card .card-img-top img {
    height: 300px !important;
  }

  /*==================================blog page end==================================*/

  /*================================== Single Blog page Start ==================================*/

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    .d2c_post_title {
    font-size: 22px;
  }

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    p {
    font-size: 15px;
  }
  .d2c_single_page_section .d2c_social_icon .d2c_title h3 {
    font-size: 20px;
  }
  .d2c_single_page_section .d2c_social_icon a {
    width: 36px;
    height: 34px;
  }
  .d2c_single_page_section .d2c_social_icon a i {
    font-size: 16px;
  }
  .d2c_single_page_section
    .d2c_comment_section
    .d2c_panel
    .d2c_comment_form
    .d2c_comment_title
    .d2c_title {
    font-size: 20px;
  }

  /*================================== Single Blog page End ==================================*/

  /*================================== about page start ==================================*/

  .d2c_about_section .d2c_about_content {
    text-align: center;
  }
  .d2c_about_page_heading {
    font-size: 25px;
  }
  .d2c_about_section .d2c_about_content p {
    letter-spacing: 0px;
  }
  .d2c_consultation .d2c_about_page_heading {
    margin: 50px 0px;
  }
  .d2c_consultation .d2c_content .card ul li {
    line-height: 33px;
  }
  .d2c_consultation .d2c_consultation_column:first-child {
    padding-top: 0px;
  }
  .d2c_consultation {
    padding-bottom: 50px;
  }
  .d2c_counter {
    padding: 100px 0px 70px 0px;
  }
  .d2c_counter .d2c_counter_content h1 {
    font-size: 35px;
  }
  .d2c_counter .d2c_counter_content {
    margin-bottom: 30px;
    border: 2px solid var(--primary-color);
    padding: 15px;
  }
  .d2c_counter .d2c_middle_content {
    margin-top: 0px;
  }
  .d2c_counter .d2c_counter_content span::before {
    display: none;
  }
  .d2c_team {
    padding: 50px 0px 100px 0px;
  }
  .d2c_team .d2c_about_page_heading {
    margin-bottom: 50px;
    text-align: center;
  }
  .d2c_team .d2c_team_content .card .card-title {
    font-size: 22px;
  }
  .d2c_team .d2c_team_content .card .card-text {
    font-size: 16px;
  }

  /*================================== about page end ==================================*/

  /*==================================services page start==================================*/

  .d2c_services_main .d2c_services_heading {
    font-size: 30px;
    text-align: center;
    margin-bottom: 25px;
  }
  .d2c_services_main .modal .modal-title {
    font-size: 25px;
    line-height: 35px;
  }
  .d2c_services_main .modal .d2c_paragraph {
    font-size: 16px;
  }
  .d2c_services_main .modal .d2c_workflow {
    padding: 20px;
    margin: 10px 0px;
  }
  .d2c_services_main .modal .modal-content {
    width: 97%;
  }
  .d2c_services_main .modal .modal-header button.close {
    right: 0px;
  }
  .d2c_services_main .modal .d2c_sub_heading {
    font-size: 16px;
  }
  .d2c_services_main .modal .d2c_workflow h3 {
    font-size: 20px;
  }
  .d2c_services_main .modal .modal-header {
    padding-bottom: 0px;
  }
  .d2c_services_main .d2c_services_modal{
    padding: 30px 10px;
    font-size: 20px;
  }

  /*==================================services page end==================================*/

  /*==================================404 page start==================================*/

  .d2c_404 .d2c_404_content h1 {
    font-size: 120px;
    line-height: 140px;
  }
  .d2c_404 .d2c_404_content h3 {
    font-size: 30px;
    line-height: 40px;
  }

  /*==================================404 page end==================================*/

  /* footer section start */
  footer.d2c_main_footer{
    padding: 60px 0px 20px 0px;
  }
  footer.d2c_main_footer .list-unstyled a{
    text-transform: capitalize;
    font-size: 16px;
  }
  footer.d2c_main_footer .d2c_footer_right p{
    text-transform: capitalize;
  }
  /* footer section end */

  /* login system start */
  .d2c_wrapper{
    padding: 80px 0px;
  }
  .d2c_wrapper h1{
    font-size: 32px;
  }
  /* login system end */
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  /*==================================Navbar start==================================*/
  .navbar-light .navbar-toggler-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 22px;
  }
  .navbar-light .navbar-toggler-icon i {
    font-size: 25px;
  }
  .navbar-light .navbar-toggler {
    border-color: var(--secondary-color) !important;
    padding: 0px;
  }
  .d2c_main_nav .navbar-collapse {
    position: absolute;
    width: 100%;
    top: 111px;
    left: 0px;
    background-color: #fff;
  }
  .d2c_main_nav .navbar ul li .dropdown-menu {
    text-align: left;
    padding-left: 16px;
  }
  .navbar-nav .nav-item:last-child{
    margin-bottom: 20px;
  }
  .d2c_main_nav .navbar ul li{
    text-align: left;
  }
  .d2c_main_nav .navbar ul li a{
    padding-left: 24px;
  }
  /*==================================Navbar end==================================*/

  /*==================================Global heading section start ==================================*/

  .d2c_header .d2c_heading {
    font-size: 50px;
  }

  /*==================================Global heading section end ==================================*/

  /*==================================home page start==================================*/

  /* hero section */
  .d2c_hero_section {
    height: 40vh;
    background: var(--primary-color);
  }
  .d2c_hero_section h1 {
    font-size: 50px;
  }
  .d2c_hero_section h2 {
    font-size: 30px;
  }
  .d2c_hero_section .d2c_hero_content {
    text-align: center;
  }

  /* about section */
  .d2c_home_about {
    padding: 80px 0px;
  }
  .d2c_home_about .d2c_semi_large_button {
    margin-bottom: 0px;
  }

  /* services section */
  .d2c_home_services .d2c_services_content {
    padding-top: 50px;
  }
  .d2c_home_services .d2c_semi_large_button {
    margin-top: 50px;
  }
  .d2c_home_services{
    padding: 80px 0px;
  }

  /* testimonial section */
  .d2c_testimonial {
    padding: 80px 0px 130px 0px;
  }
  .d2c_testimonial .d2c_testimonial_heading {
    margin-bottom: 50px;
  }
  .d2c_testimonial .d2c_testimonial_content {
    padding: 30px 20px;
  }
  .d2c_testimonial .d2c_testimonial_content p {
    font-size: 16px;
}
/* blog section */
.d2c_home_blog .d2c_semi_large_button{
  margin-bottom: 80px;
}

  /*==================================home page end==================================*/

  /*==================================contact page start==================================*/

  .d2c_contact h1 {
    font-size: 30px;
  }

  /*==================================contact page end==================================*/

  /*==================================Appointment page start==================================*/

  .d2c_appointment h1 {
    font-size: 30px;
  }

  /*==================================Appointment page end==================================*/

  /*==================================FAQ page start==================================*/

  .d2c_FAQ_main .d2c_faq_content h1 {
    font-size: 30px;
  }
  .d2c_FAQ_main .d2c_image_wrapper {
    display: none;
  }

  /*==================================FAQ page end==================================*/

  /*==================================author page start==================================*/

  .d2c_author .d2c_author_content .card {
    padding: 35px 0px;
  }
  .d2c_author .d2c_author_content .card .card-title {
    margin-bottom: 10px;
  }
  .d2c_author .d2c_author_content .card .d2c_card_name {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /*==================================author page end==================================*/

  /*==================================blog page start==================================*/

  .d2c_blog_section .col {
    padding: 0px;
  }
  .d2c_blog_post {
    margin-bottom: 65px;
  }
  .d2c_post_card .card-body {
    padding: 20px 15px;
  }
  .d2c_post_card .card .d2c_hover_content {
    padding: 20px 15px;
  }
  .d2c_post_card .card-body .card-title {
    font-size: 20px;
  }
  .d2c_post_card .card .d2c_hover_content .card-title {
    font-size: 20px;
  }
  .d2c_blog_section .d2c_first_col .d2c_post_card .card-body .card-title {
    font-size: 20px;
  }
  .d2c_recent_post .d2c_expert_heading {
    margin: 30px 0px;
    font-size: 30px;
  }

  .d2c_CTA .d2c_CTA_left h2 {
    font-size: 35px;
    letter-spacing: 0px;
    margin-bottom: 0px;
  }
  .d2c_CTA .d2c_CTA_left p {
    margin-bottom: 0px;
  }

  .d2c_CTA .d2c_CTA_btn {
    font-size: 18px !important;
    padding: 10px 15px !important;
  }

  .d2c_recent_post {
    padding-bottom: 50px;
  }
  .d2c_recent_post .d2c_loadmore_btn {
    margin-top: 50px;
  }
  .d2c_feature_post {
    padding-top: 50px;
  }
  .d2c_feature_post .d2c_expert_heading {
    margin-bottom: 50px;
  }
  .d2c_blog_section {
    padding-bottom: 50px;
  }
  .d2c_feature_post .d2c_loadmore_btn {
    margin-top: 50px;
  }

  .d2c_CTA {
    padding: 70px 0px;
  }

  .d2c_post_card .card .card-img-top img {
    height: 300px !important;
  }

  /*==================================blog page end==================================*/

  /*================================== Single Blog page Start ==================================*/

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    .d2c_post_title {
    font-size: 29px;
  }

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    p {
    font-size: 17px;
  }
  .d2c_single_page_section .d2c_social_icon .d2c_title h3 {
    font-size: 22px;
  }
  .d2c_single_page_section .d2c_social_icon a {
    width: 36px;
    height: 34px;
  }
  .d2c_single_page_section .d2c_social_icon a i {
    font-size: 16px;
  }
  .d2c_single_page_section
    .d2c_comment_section
    .d2c_panel
    .d2c_comment_form
    .d2c_comment_title
    .d2c_title {
    font-size: 22px;
  }

  /*================================== Single Blog page End ==================================*/

  /*================================== about page start ==================================*/

  .d2c_about_page_heading {
    font-size: 30px;
  }
  .d2c_consultation .d2c_about_page_heading {
    margin: 40px 0px;
  }
  .d2c_consultation {
    padding-bottom: 60px;
  }
  .d2c_counter .d2c_counter_content span::before {
    display: none;
  }
  .d2c_counter .d2c_middle_content {
    margin-top: 0px;
  }
  .d2c_counter {
    padding: 60px 0px;
  }
  .d2c_counter .d2c_counter_content h1 {
    font-size: 30px;
  }
  .d2c_counter .d2c_counter_content p {
    font-size: 30px;
  }
  .d2c_team {
    padding: 60px 0px 110px 0px;
  }
  .d2c_team .d2c_about_page_heading {
    margin-bottom: 60px;
  }
  .d2c_consultation .d2c_content .card {
    padding: 0px 30px 18px 30px;
}

  /*================================== about page end ==================================*/

  /*================================== services page start ==================================*/

  .d2c_services_main {
    padding-bottom: 60px;
  }
  .d2c_services_main .d2c_modal_wrapper .d2c_services_modal {
    padding: 25px 15px;
    font-size: 18px;
  }
  .d2c_services_main .d2c_services_heading {
    font-size: 30px;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .modal-content {
    width: 90%;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .d2c_workflow {
    padding: 20px 15px;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .d2c_workflow h3 {
    font-size: 18px;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .modal-title {
    font-size: 30px;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .modal-header button.close {
    right: 0px;
  }
  .d2c_services_main .modal .modal-content{
    width: 95%;
  }
  .d2c_services_main .modal .d2c_workflow{
    padding: 20px 10px;
  }
  .d2c_services_main .modal .d2c_workflow h3{
    font-size: 20px;
  }
  .d2c_services_main .modal .modal-title{
    font-size: 28px;
  }
  /*================================== services page end ==================================*/
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /*==================================home page start==================================*/

  .d2c_hero_section {
    height: 50vh;
  }
  .d2c_home_about .d2c_about_page_heading {
    font-size: 30px;
  }

  /*==================================home page end==================================*/

  /*==================================blog page start==================================*/

  .d2c_blog_section .col {
    padding: 0px 15px 0px 15px;
  }

  /*==================================blog page end==================================*/

  /*================================== Single Blog page Start ==================================*/

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    .d2c_post_title {
    font-size: 29px;
  }

  .d2c_single_page_section
    .d2c_left_post_content
    .d2c_post_content
    .d2c_post_details
    p {
    font-size: 17px;
  }
  .d2c_single_page_section .d2c_social_icon .d2c_title h3 {
    font-size: 22px;
  }
  .d2c_single_page_section .d2c_social_icon a {
    width: 36px;
    height: 34px;
  }
  .d2c_single_page_section .d2c_social_icon a i {
    font-size: 16px;
  }
  .d2c_single_page_section
    .d2c_comment_section
    .d2c_panel
    .d2c_comment_form
    .d2c_comment_title
    .d2c_title {
    font-size: 22px;
  }

  .d2c_single_page_section
    .d2c_right_sidebar
    .d2c_sidebar_item_list
    .d2c_sidebar_item
    a
    .card
    .card-body
    .card-title {
    font-size: 17px;
  }
  /*================================== Single Blog page End ==================================*/

  /*================================== about page start ==================================*/

  .d2c_consultation .d2c_about_page_heading {
    margin: 70px 0px;
  }
  .d2c_consultation .d2c_content .card {
    padding: 0px 20px 18px 20px;
  }

  /*================================== about page end ==================================*/

  /*================================== services page start ==================================*/

  .d2c_services_main .d2c_modal_wrapper .modal .modal-content {
    width: 85%;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .modal-header button.close {
    right: 0px;
  }
  .d2c_services_main .d2c_modal_wrapper .modal .d2c_workflow {
    padding: 25px 20px;
  }
  .d2c_services_main .modal .modal-content{
    width: 90%;
  }
  /*================================== services page start ==================================*/

  /*================================== Footer start ==================================*/

  footer.d2c_main_footer .d2c_footer_heading {
    font-size: 16px;
  }

  /*================================== Footer End ==================================*/
}

/*
  Template Name: Robustlex - Law Firm Bootstrap Template
  Template URI: https://www.designtocodes.com/product/robustlex-law-firm-bootstrap-template
  Description: Robustlex is a responsive bootstrap template specifically designed for Law firms, Advocates, or agencies. 
  Author: designtocodes
  Author URI: https://www.designtocodes.com
  Text Domain: Robustlex
*/
