/* 
Theme Name: Micro Web Roofing
Description: Micro Web Roofing is a child theme of Hello Elementor, created by Micro Web Technology team
Author: Micro Web Technology
Author URI: https://microwebtechnology.com/
Template: hello-elementor
Text Domain: micro-web-roofing
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Home Blog Section CSS */
.bdt-slidenav {
    color: #ffffff00;
}
.blog-item-outer .blog-wrapper ul.blog-items {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0px;
    list-style: none;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card {
    border: 3px solid #E8121D;
    border-radius: 10px;
    display: block;
    overflow: hidden;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card .blog-content {
    padding: 15px;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card .blog-content .blog-name a {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A32;
    line-height: 1.2em;
    text-decoration: none;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card .blog-content .blog-name {
    padding-bottom: 15px;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card .blog-content .blog-name a:hover {
    color: #E8121D;
    text-decoration: underline;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card .blog-content .blog_link a {
    font-size: 16px;
    font-weight: 700;
    color: #E8121D;
    line-height: 1.2em;
    text-decoration: none;
}
.blog-item-outer .blog-wrapper ul.blog-items li.blog_post-item.card .blog-content .blog_link a:hover {
    color: #1A1A32;
    text-decoration: underline;
}
.blog_post-item-img {
    height: 270px;
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-size: cover;
    overflow: hidden;
}

/* Contcat form Css */
.contact-form .row {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-bottom: 30px;
}
.contact-form .row .col-100 {
    width: 100%;
}
.contact-form .row .col-100 textarea {
    height: 110px;
}
.contact-form .row p {
    margin: 0px;
}
.contact-form .row p span input, .contact-form .row p span textarea {
    width: 100%;
    border: 2px solid #E8121D;
    border-radius: 3px;
    padding: 10px 15px;
    color: #1A1A32;
    font-size: 16px;
    font-weight: 400;
    transition: all .3s;
}
.contact-form .row p span input:focus-visible, .contact-form .row p span textarea:focus-visible {
    outline: 1px solid #E8121D;
    transform: scale(1.05);
}
.contact-form .row p span input::placeholder, .contact-form .row p span textarea::placeholder {
    color: #1A1A32;
    opacity: 1;
    font-size: 16px;
  }
  .contact-form .row p input[type=submit] {
      padding: 10px 30px;
      background-color: #E8121D;
      border-radius: 2px;
      color: #fff;
      font-size: 18px;
      font-weight: 800;
      border: 2px solid #E8121D;
  }
  .contact-form .row p input[type=submit]:hover {
    background-color: #fff;
    color: #E8121D;
  }
  .contact-form .row p input[type=submit]:focus-visible, .contact-form .row p input[type=submit]:focus{
    outline: 1px solid #E8121D;
    transform: scale(1.05);
    background-color: #fff;
    color: #E8121D;
  }
  div.contact-form+div.wpcf7-response-output {
      border-color: #E8121D !important;
      border-radius: 2px;
      color: #fff;
      font-size: 16px;
      font-weight: 500;
      margin: 0px;
  }
  .our-gallery .elementor-image-gallery .gallery-item .gallery-icon a img {
      width: 100%;
      height: 250px;
      display: block;
  }
  /* single post css */

  .single.single-post .site-main, .single-blog-header .content-wrapper {
      margin: 0px auto;
    max-width: 1200px;
    padding: 0 30px;
  }
  .single-blog-header {
    margin: 0px;
    padding: 100px 0px 100px 0px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image:
    linear-gradient(270deg, #E8121D40 0%, #1A1A32 100%), url('https://roofingthemedemo.microwebtechnology.com/wp-content/uploads/2023/08/image-15-1.jpg');
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  .single-blog-header .content-wrapper .blog-post-title {
    color: #FFFFFF;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2em;
    margin-bottom: 20px;
  }
  .single-blog-header .content-wrapper .single-blog-post-menu {
    text-align: center;
    color: #FFFFFF;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
  }
  .post-top-section {
      display: flex;
      gap: 30px;
  }
  .post-top-section .post-content {
      width: 65%;
  }
  .post-top-section .post-content .blog-title {
      font-size: 36px;
      font-weight: 700;
      color: #E8121D;
      font-family: 'Roboto slab';
      margin-bottom: 15px;
  }
  .post-top-section .post-content .blog-date {
    font-size: 18px;
    font-weight: 700;
    color: #E8121D;
    margin-bottom: 15px;
    font-family: 'Roboto slab';
}
  .post-top-section .post-content .blog-short-content {
    font-size: 24px;
    font-weight: 400;
    color: #1A1A32;
    font-family: 'Roboto slab';
  }
  .post-top-section .post-img {
    width: 35%;
  }
  .post-top-section .post-img img{
    width: 100%;
    display: block;
    border-radius: 10px;
  }
  .single.single-post .site-main .page-content {
      font-family: 'Roboto slab';
  }
  .single.single-post .site-main .page-content strong {
      color: #E8121D;
  }
  .single.single-post .site-main .page-content ul li::marker, .single.single-post .site-main .page-content ol li::marker {
      color: #E8121D;
      font-weight: 700;
  }

  @media only screen and (max-width: 480px) {
    .our-gallery .elementor-image-gallery .gallery-item .gallery-icon a img {
        height: auto;
    }
  }
  @media only screen and (max-width: 1024px) {
    .blog-item-outer .blog-wrapper ul.blog-items {
        grid-template-columns: 1fr 1fr;
    }
    .single-blog-header .content-wrapper .blog-post-title {
        font-size: 36px;
    }
    .post-top-section .post-content .blog-title {
        font-size: 24px;
    }
    .post-top-section .post-content .blog-short-content {
        font-size: 16px;
      }
  }
  @media only screen and (max-width: 767px) {
    .blog-item-outer .blog-wrapper ul.blog-items {
        grid-template-columns: 1fr;
    }
    .contact-form .row {
        gap: 15px;
        margin-bottom: 15px;
    }
    .single.single-post .site-main {
        padding: 0 15px;
    }
    .single-blog-header .content-wrapper .blog-post-title {
        font-size: 24px;
    }
    .post-top-section {
        display: unset;
    }
    .post-top-section .post-content {
        width: 100%;
    }
    .post-top-section .post-img {
        width: 100%;
      }
      .single.single-post .site-main .page-content .wp-block-heading {
          font-size: 24px;
      }
  }