@media (min-width: 992px) and (max-width: 1199.98px) {
  .contact_info_text {
    margin-left: 30px;
  }

  .error_text {
    top: 75%;
  }

  .error_right {
    text-align: left;
  }

  .error_text h3 {
    font-size: 23px;
  }

  .error_right h3 {
    padding-left: 11px;
  }

  #myNav ul li a {
    padding: 50px;
    padding-right: 0;
  }

  .update_tab_button {
    padding: 10px 60px;
    top: -20px;
    left: 20px;
    right: 20px;
    font-size: 14px;
  }

  .uptade_post_date {
    margin-left: 0px;
  }

  .update_right .slick-track {
    padding: 20px 0;
  }

  .story_img {
    text-align: right;
  }

  .achievement_text {
    padding-left: 11px;
  }

  .achievement_right img {
    position: relative;
    left: -60px;
    top: 200px;
    width: 115%;
  }

  .blog_points ul li {
    margin-bottom: 10px;
  }

  .blog_img img {
    height: auto;
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .logo {
    padding: 20px 0px;
  }

  #myNav {
    padding: 0;
  }

  #myNav ul li {
    background: white;
    border-bottom: 1px solid #1d2228;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
  }

  #myNav ul li:last-child {
    border-bottom: none;
  }

  #myNav ul li:hover {
    background: #1d2228;
  }

  #myNav ul li a {
    padding: 15px 0 15px 15px;
    color: #1d2228;
    display: block;
  }

  #myNav ul li:hover a {
    color: white !important;
  }

  #myNav ul li a:hover {
    color: white !important;
  }

  .update_tab_button {
    padding: 15px 0px;
    top: -25px;
    left: 10px;
    right: 10px;
    font-size: 14px;
  }

  .story_img {
    text-align: right;
  }

  #achievement {
    padding: 50px 0 50px;
  }

  .achievement_right img {
    width: 100%;
    text-align: right;
    margin-bottom: 30px;
  }

  .achievement_text {
    padding-left: 25px;
  }

  /* .blog_points ul li p {
        display: inline;
    } */

  .blog_points ul li {
    margin-bottom: 10px;
  }

  .blog_img img {
    height: auto;
    max-width: 100%;
  }

  .blog_side_opt .tags a {
    margin-top: 15px;
    display: inline-block;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .banner_text {
    padding-top: 150px;
    padding-bottom: 100px;
  }

  #home_nav {
    padding-top: 15px;
  }

  .story_right {
    margin-top: 40px;
  }

  .deal_img img {
    max-width: none;
    margin-left: -50px;
  }

  .footer_mail form input {
    width: 87%;
  }

  .error_text {
    bottom: 0;
    top: 77%;
  }

  .error_text h3 {
    font-size: 22px;
  }

  .error_right h3 {
    text-align: left;
    padding-left: 10px;
  }

  .error_text p {
    margin-left: 30px;
  }

  .update_left {
    margin-bottom: 40px;
  }

  .update_right .slick-track {
    padding: 30px 0;
  }

  .story_img {
    text-align: right;
  }

  /* .contact_details {
    padding: 10px 30px;
  } */

  .contact_details h3::after {
    width: 90px;
  }

  .contact_img {
    margin-top: 260px;
  }

  .contact_img img {
    height: 500px;
  }
}

@media (min-width: 768px) {
  #comments:before {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    content: "";
    position: absolute;
    top: 60px;
  }
}

@media (max-width: 767.98px) {
  .footer_menu ul li a {
    padding: 0 0 30px 20px;
  }

  #breadcrumb {
    padding: 70px 0 100px;
  }

  .comment_count,
  .form_head {
    padding: 10px 0;
    margin-bottom: 10px;
  }

  .story_right {
    margin-top: 70px;
  }

  .common_heading h2::after,
  .common_heading h2:before {
    width: 50px;
    visibility: visible;
    opacity: 1;
    height: 1px;
  }

  .story_heading h2:before {
    background-color: var(--secondary-color);
  }

  /* .product_heading h2:after,
  .product_heading h2:before {
    width: 100%;
  } */

  .story_heading,
  .contact_details {
    text-align: center;
  }

  .deal_heading h2::after,
  .deal_heading h2::before {
    width: 25px;
  }

  .deal_img {
    text-align: center;
  }

  .deal_img img {
    margin-left: 0;
  }

  .deal_right {
    margin-top: 70px;
  }

  .deal_heading {
    text-align: center;
  }

  .update_left {
    margin-bottom: 40px;
  }

  .update_right .slick-track {
    padding: 40px 0px;
  }

  .story_editor {
    padding-top: 30px;
  }

  .story_heading h2 {
    margin-top: 30px;
  }

  .achievement_heading p {
    margin-top: 20px;
  }

  .achievement_point .row {
    justify-content: center;
  }

  .achievement_text {
    margin-top: 30px;
  }

  .common_tab {
    margin-bottom: 30px;
  }

  #page_counter ul li a {
    height: 40px;
    width: 40px;
    line-height: 40px;
  }

  .blog_side_opt {
    margin: 20px 0 35px;
  }

  .contact_details p {
    margin-top: 0;
  }

  .contact_details h3 {
    margin-bottom: 12px;
    padding-left: 20px;
  }

  .contact_details h3:before {
    position: absolute;
    content: "";
    height: 1.777px;
    top: 50%;
    right: 100%;
    background: var(--primary-color);
  }

  .contact_details h3:after {
    height: 1.777px;
  }

  .contact_container,
  .response_form {
    position: static;
  }

  .response_form {
    padding-top: 20px;
    text-align: center;
  }

  .contact_details,
  .response_cont {
    position: static;
  }

  .response_cont form .row {
    justify-content: center;
  }

  .blog_img img {
    height: auto;
    max-width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .banner_text {
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .foot_social ul li a {
    width: 46px;
  }

  .contact_info_text {
    margin-left: 35px;
  }

  .error_text {
    bottom: 0;
    top: 75%;
  }

  .error_text h3 {
    font-size: 22px;
  }

  .error_text p {
    margin-left: 10px;
    margin-top: 10px;
  }

  .error_text .error_right h3 {
    text-align: left;
    /* margin-left: 10px; */
  }

  .achievement_text {
    text-align: left;
  }

  .achievement_point .row {
    align-items: center;
  }

  .contact_details h3:before {
    width: 100px;
  }

  .contact_details h3:after {
    width: 100px;
  }
}

@media (max-width: 575.98px) {
  .banner_text {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .error_left {
    text-align: left !important;
    padding-right: 0;
    margin-top: 15px;
  }

  .error_text h3 {
    font-size: 22px;
  }

  .error_text p {
    margin-left: 0;
  }

  .error_text .col-md-6 {
    position: static;
  }

  .error_left a {
    top: 115px;
    left: 13%;
  }

  .error_right {
    padding-left: 0;
    text-align: left;
    top: -70px;
    position: relative;
  }

  .error_right h3 {
    padding-left: 0;
  }

  .error_text {
    position: static;
    padding-left: 10px;
  }

  .achievement_text h4 {
    padding: 0 20px;
  }

  .deal_right {
    margin-top: 70px;
  }

  .deal_clock_count {
    border-bottom: 1px solid rgba(34, 34, 34, 0.15);
  }

  .deal_clock:before,
  .deal_clock:after {
    display: none;
  }

  .update_tab_button {
    left: 5px;
    right: 5px;
    font-size: 13px;
  }

  .achievement_text {
    text-align: center;
  }

  .blog_points ul li p {
    line-height: 24px;
  }

  .comments_date {
    display: block;
    float: left;
  }

  .common_heading h2 {
    padding: 0 20px;
    font-size: 38px;
  }

  .contact_info {
    padding-left: 15px;
  }

  .contact_info_text {
    padding-left: 10px;
  }

  .contact_info {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer_mail button {
    padding: 10px 15px;
  }

  .copyright {
    padding: 0px 0 20px 0px;
    text-align: center;
    border-bottom: 1px solid #181c21;
  }

  .foot_social {
    text-align: center;
  }

  .foot_social ul li a {
    font-size: 15px;
    padding: 13px 0;
  }

  .contact_details h3:before {
    width: 50px;
  }

  .contact_details h3:after {
    width: 50px;
  }
}
