@media only screen and (min-width: 1000px) and (max-height: 750px) {
  section.category.home .title-area h1 {
    font-size: 40px;
    line-height: 50px;
  }

  section.category.home .title-area p {
    font-size: 20px;
    line-height: 30px;
  }
}

@media only screen and (max-height: 700px) {
  footer.home-footer {
    z-index: 6;
  }

  .categories {
    margin: 2vh auto 0;
  }
}

@media only screen and (min-width: 768px) {
  header.header .navbar-nav {
    margin-right: 50px;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile {
    display: none !important;
  }
  .mobile-menu {
    display: none;
  }
  footer.home-footer {
    z-index: 6;
  }
}
@media only screen and (max-width: 768px) {
  section.blog-in h1 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #000000;
  }

  .author-area .blog-author img {
    width: 40px;
    height: 40px;
  }

  section.blog-in .blog-author p,
  section.blog-in .blog-author h5 {
    font-style: normal;
    font-size: 12px;
    line-height: 18px;
    color: #000000;
  }

  p.blog_views {
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    /* identical to box height */
    text-align: right;
    color: #000000;
  }

  .blog-details p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    /* or 131% */
    text-align: justify;
    color: #000000;
  }
  ul.blog-list li .blog-info .blog-bottom {
    margin-top: 5px;
    display: block;
  }

  ul.blog-list li .blog-info .blog-bottom .blog-author {
    width: 100%;
  }

  ul.blog-list li .blog-info .blog-bottom a.read-more {
    font-size: 10px;
    padding: 5px 15px;
    line-height: 12px;
    margin: 5px;
    border: 1px solid #f91929;
  }
  .blog .blog-category h3 {
    padding: 5px 0px;
    line-height: 30px;
    font-size: 20px;
  }

  .blog-category ul {
    padding: 0px 0px 50px;
    display: block;
  }

  .blog-category ul li {
    width: fit-content;
    float: left;
    margin: 5px 10px 10px 0px;
    font-size: 16px;
  }

  .top-blog > img {
    height: 150px;
  }

  .top-blog-info {
    padding: 20px 25px;
  }

  .top-blog-info h4 {
    font-size: 18px;
    line-height: 24px;
  }

  .top-blog-info p {
    font-size: 12px;
  }

  .top-blog-bottom {
    margin-top: 10px;
    display: block;
  }

  .top-blog-author {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
  }

  .top-blog-author img {
    width: 50px;
    height: 50px;
  }

  .top-blog-author .info h5,
  .top-blog-author .info p {
    font-size: 14px;
  }

  .read-more-botton {
    display: flex;
    justify-content: flex-end;
  }

  .read-more-botton a.read-more {
    padding: 5px 10px;
    border: 2px solid #f91929;
    font-size: 14px;
    line-height: 20px;
  }
  ul.blog-list li {
    width: 50%;
    padding: 5px;
  }

  ul.blog-list {
    display: flex;
    flex-direction: row;
    padding: 10px 0;
  }

  ul.blog-list li img.blog-img {
    height: 80px;
    border-radius: 25px 25px 0px 0px;
  }

  ul.blog-list li .blog-info h4,
  ul.blog-list li .blog-info p {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 0px;
  }

  ul.blog-list li .blog-info {
    min-height: 150px;
    padding: 10px 5px;
    border-radius: 0px 0px 25px 25px;
  }

  ul.blog-list li .blog-info .blog-bottom h5,
  ul.blog-list li .blog-info .blog-bottom p {
    font-size: 12px;
    line-height: 18px;
    margin: 0px;
  }
  .header.mobile-header {
    z-index: 7;
  }
  .centered {
    width: 90%;
  }

  #search-box input[type="text"] {
    font-weight: 500;
    font-size: 30px;
    line-height: 45px;
    color: #ffffff;
    border: 3px solid white;
    border-radius: 50px;
    width: 100%;
    text-align: center;
    opacity: 1;
    padding: 0px 40px;
    outline: none;
    background: none;
  }
  #search-box input[type="text"]::placeholder {
    font-weight: 500;
    font-size: 30px;
    line-height: 45px;
    /* identical to box height */
    color: #ffffff;
    opacity: 0.8;
  }
  footer.home-footer .chat.form,
  section.listing .chat.form {
    width: 90%;
    margin: auto;
    height: fit-content;
    bottom: 20px;
    right: 5%;
  }
  .web {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  button.mobile-menu-btn,
  button.menu-close {
    background: none;
    border: none;
  }

  button.menu-close {
    text-align: end;
    z-index: 2;
    margin-right: 15px;
  }
  .mobile-menu.active .navbar-collapse {
    height: fit-content !important;
    display: flex;
    position: relative;
    z-index: 2;
  }
  header.header .mobile-menu.active {
    transition: 0.5s ease-in-out;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
  header.header .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: #2c5a74;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding-top: 50px;
    overflow-y: scroll;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transition: 0.5s ease-in-out;
    z-index: 1;
  }
  .navbar-collapse.collapse.show {
    width: 100%;
    position: absolute;
    top: 0;
    background: #2c5a74;
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 2;
  }

  header.header ul.navbar-nav li a {
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 42px;
    /* identical to box height */
    color: #ffffff;
  }

  header.header ul.navbar-nav li {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* allow submenu to wrap below */
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  /* Extremely high specificity to overwrite the inline header.php styles */
  body header.header .mobile-menu .dropdown-menu,
  body header.header .mobile-menu ul.navbar-nav li .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin-top: 10px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    text-align: center !important;
    display: none; /* JS handles sliding */
  }

  body header.header .mobile-menu .dropdown-menu li,
  body header.header .mobile-menu ul.navbar-nav li .dropdown-menu li {
    padding: 10px 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
    width: 100%;
  }

  body header.header .mobile-menu .dropdown-menu li a,
  body header.header .mobile-menu ul.navbar-nav li .dropdown-menu li a {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 30px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body header.header .mobile-menu .dropdown-menu li a:hover,
  body header.header .mobile-menu ul.navbar-nav li .dropdown-menu li a:hover {
    background: transparent !important;
    color: #cbd5e1 !important;
    padding-left: 0 !important;
  }

  .mobile-menu.active:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-image: url(../img/logo-pattern.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 90%;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .web {
    display: none;
  }
  .categories > div {
    width: 126px;
    height: 135px;
  }

  .categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .categories > div svg {
    width: 46px;
    height: auto;
  }

  section.category.home .categories h2 {
    font-size: 14px;
  }

  section.category.home .title-area h1 {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
  }

  section.category.home .title-area p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
  }
  section.category.home {
    padding-top: 15vh;
  }
  .row.home-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 100px;
    margin: 0px;
  }
  section.category.home:before {
    background-image: url(../img/logo-pattern.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90%;
  }

  .mobile-menu.active .home-bottom {
    display: flex;
    width: 100%;
    height: fit-content;
    padding: 40px 0px;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
  }

  .mobile-menu.active .home-bottom .bottom-left {
    display: flex;
    width: 230px;
    gap: 10px;
    height: fit-content;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
  }

  .bottom-left p.bold {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: #ffffff;
  }

  .bottom-left p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
    color: #ffffff;
  }

  .home-bottom .bottom-left ul.social-list {
    margin-bottom: 0px;
  }

  section.category.inner .title-area h1 {
    font-size: 26px;
    line-height: 39px;
  }

  section.category.inner .title-area p {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
  }

  section.category.inner .categories > div {
    width: 56px;
    height: 60px;
    padding-bottom: 20px;
    padding-top: 15px;
    margin: 0px 5px;
    border: none;
  }

  section.category.inner .categories > div svg {
    width: 20px;
    height: auto;
  }

  section.category.inner .categories h2 {
    font-size: 6px;
    line-height: 10px;
    margin: 5px 0px;
  }
  a.show-filter {
    margin-left: 15px;
  }

  section.listing h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
  }

  .accordion a {
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
  }

  .accordion li div label {
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    padding-left: 20px;
  }

  .accordion li div label:before {
    height: 15px;
    width: 15px;
  }

  div.lawers {
    padding: 15px;
  }

  .lawer.full {
    padding: 20px 15px;
  }

  .lawer .head-part img {
    width: 75px;
    height: 75px;
  }

  .lawer .head-part h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .lawer ul.info-area {
    padding: 0px;
  }

  .lawer ul.info-area li {
    font-size: 16px;
    line-height: 24px;
    display: flex;
    flex-direction: column;
  }

  .lawer ul.info-area li span.title {
    width: 100%;
  }

  .lawer ul.info-area li .info {
    width: 100%;
  }

  .lawer .description p {
    font-size: 16px;
    line-height: 22px;
    /* or 138% */
  }

  .lawer .description {
    padding-left: 20px;
    float: left;
    display: block;
  }

  .lawer .description:before {
    left: 0px;
  }

  a.lets-talk.lawer-request {
    position: relative;
    display: block;
    right: unset;
    margin: auto;
    float: left;
    margin-top: 30px;
    bottom: unset;
  }
  .lawer {
    padding: 20px 15px;
  }

  .show-more {
    display: flex;
    justify-content: center;
    padding: 0;
  }
  section.about-category h2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    margin: 30px auto;
  }

  section.red-background-section p {
    font-size: 16px;
    line-height: 22px;
    padding: 0px 15px;
  }

  section.red-background-section h3 {
    font-size: 20px;
    line-height: 30px;
  }

  section.red-background-section {
    padding: 30px 0;
  }

  section.red-background-section:before {
    background-image: url(../img/logo-pattern.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 90%;
  }

  footer ul.footer-nav li a {
    font-weight: 600;
    font-size: 10px;
    line-height: 15px;
  }

  footer a.footer-logo img {
    width: 120px;
    margin-bottom: 0px;
  }

  footer ul.footer-contact li {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  footer ul.footer-contact {
    margin: 20px 0px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  footer ul.footer-contact li {
    width: fit-content;
    margin: 5px 0;
  }

  footer ul.social-list,
  footer ul.footer-nav {
    margin: 30px 0px 0px 0px;
  }

  footer ul.social-list li img {
    height: 20px;
  }

  .footer-bottom {
    margin: 30px 0px 0px;
    padding-bottom: 0px;
    font-weight: 500;
    font-size: 10px;
    line-height: 15px;
  }

  footer {
    padding: 30px 0px 0px;
  }

  section.about h2 {
    font-size: 24px;
    line-height: 36px;
    margin: 30px 0 20px;
  }

  section.about .center h2 {
    font-size: 24px;
    line-height: 40px;
    text-align: start;
    width: 100%;
  }

  section.about .row > div.center {
    margin-top: 0px;
  }

  section.commitment {
    background: white;
  }

  section.commitment h2 {
    font-size: 26px;
    line-height: 39px;
    margin: 30px 0 20px;
  }

  section.about-form.form .container {
    background: #ffffff00;
    border: none;
    box-shadow: none;
    padding: 20px 0px;
  }

  section.about-form.form {
    padding: 20px 0px 0px;
  }

  section.about-form.form h3 {
    font-size: 24px;
    line-height: 28px;
  }

  section.about-form.form p {
    font-size: 12px;
    line-height: 18px;
    width: 100%;
  }

  section.about-form.form .container .row {
    padding: 15px 25px;
  }

  .form form {
    padding: 20px 0px 0px;
  }

  .form form label {
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
  }

  .form form input,
  .form form textarea {
    background: #ecf1f5 !important;
    font-size: 10px !important;
    padding: 15px;
    border-radius: 14px !important;
  }

  .half-input.align-right > div label {
    width: 90%;
  }

  .form form textarea {
    min-height: 75px;
  }

  form button.send {
    width: fit-content;
    min-width: 200px;
    padding: 10px 40px;
    background: none;
    border: 3px solid #f91929;
    border-radius: 100px;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0px;
    color: #181918;
  }
  .form form .half-input input {
    width: 90%;
  }
  .contacts ul.address {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }

  section.contacts {
    padding: 30px 0px;
  }

  .contacts ul.social-list {
    margin: 10px 0px;
  }

  .contacts ul.social-list li img {
    height: 20px;
  }

  .contacts iframe {
    border-radius: 12px;
  }

  .contacts .form {
    background: none;
    box-shadow: none;
    padding: 50px 15px 0px;
    margin: 0px;
  }

  .contacts .form h3 {
    font-size: 24px;
    line-height: 28px;
  }

  .contacts .form p {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
  }

  .contacts .form button.send {
    width: fit-content;
    min-width: 200px;
    padding: 10px 40px;
    background: none;
    border: 3px solid #f91929;
    border-radius: 100px;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    color: #181918;
    margin-bottom: 0px;
  }
}
