/*
 Theme Name:   Doorbellinstallation Child
 Theme URI:    https://logicsofts.co.uk/
 Description:  Child theme for Doorbellinstallation
 Author:       Pradeep Kumar
 Author URI:   https://logicsofts.co.uk/
 Template:     Doorbellinstallation
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  Doorbellinstallation-child
*/
body {
    font-size: 17px;
}

a {
    color: #cc0007;
    text-decoration: none;
}

.text-danger {
    color: #cc0007 !important;
}

.btn-danger,
.btn-outline-danger:hover {
    background-color: #cc0007;
}

.my-header .nav-item .nav-link {
    font-weight: 500;
    padding: 5px 15px;
    font-size: 15px;
}

@media (min-width: 1200px) {
    .my-header .nav-item .nav-link {
        font-weight: 500;
        padding: 5px 15px;
        font-size: 12px;
    }

    .my-header .nav-item {
        padding: 5px;
    }
}

.my-header .navbar-nav .nav-link.active,
.my-header .navbar-nav .nav-link.show {
    background-color: #cc0007;
    color: #fff;
}

.about-content1 .features-list .feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #ffe0e1;
    color: #cc0007;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
}

/* Hero Section */
.my-banner {
    background-color: transparent;
    background-image: linear-gradient(90deg, #fef3f4 75%, #cc0007 75%);
}

@media (max-width:991.98px) {
    .my-banner {
        background-color: transparent;
        background-image: linear-gradient(180deg, #fef3f4 50%, #cc0007 50%);
    }
}

.banner-heading {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.main-link {
    color: #cc0007;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.main-link:hover {
    text-decoration: underline;
}

.banner-cards .card {
    border-radius: 0;
    border: none;
}

.banner-cards .card .card-body {
    background-color: #fef3f4;
    margin: 10px;
}

/* Featured Posts */
.featured-posts .featured-posts-card img {
    object-fit: cover;
    transition: all .3s ease-in-out;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
}

.featured-posts .featured-posts-card img:hover {
    transform: scale(1.3);
    transition: all .3s ease-in-out;
}

/* Latest Posts */
.latest-posts .card {
    overflow: hidden;
}

.latest-posts .card>a{
    overflow: hidden;
}

.latest-posts .card a img {
    transition: all .3s ease-in-out;
    height: 100% !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.latest-posts .card:hover img {
    transform: scaleX(1.1);
    transition: all .3s ease-in-out;
}

.recent-posts-aside a {
    text-decoration: none;
    color: #000;
}

.recent-posts-aside a:hover {
    text-decoration: none;
    color: #cc0007;
}

/* .blog-page-banner {
    position: relative;
    background-color: rgb(221, 221, 221);
    background-image: url(images/image1.webp) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
} */

.blog-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(127, 0, 0, 0.531);
    z-index: -1;
}

/* .contact-page-banner {
    position: relative;
    background-color: rgb(221, 221, 221);
    background-image: url(images/image1.webp) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
} */

.contact-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(127, 0, 0, 0.531);
    z-index: -1;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: #ffd5d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #cc0007;
}

.icon-wrapper i {
    font-size: 25px;
    color: #cc0007;
}

.about-page-image img {
    object-fit: cover;
    height: 100%;
    object-position: left;
}

.about2 .custom-card {
    background-color: #fffafa;
    padding: 30px;
    border-top: 4px solid #cc0007;
    border-bottom: 4px solid #cc0007;
    border-left: 1px solid #cc000748;
    border-right: 1px solid #cc000748;
}

.about2 .custom-card i {
    font-size: 35px;
    color: #cc0007;
    display: inline-block;
    margin-bottom: 10px;
}

.about2 .custom-card p {
    color: #414141;
}

footer ul li:hover,
footer ul li a:hover {
    color: #cc0007 !important;
}

@media (min-width: 992px) {
    .blog-page-banner {
        position: relative;
        height: 600px;
        /* background-color: rgb(221, 221, 221);
        background-image: url(images/image1.webp) !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1;
        border-radius: 0 0 25% 25%;
        overflow: hidden; */
    }

    .blog-page-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(55, 0, 0, 0.87);
        z-index: -1;
    }

    .contact-page-banner {
        position: relative;
        height: 600px;
        /* background-color: rgb(221, 221, 221);
        background-image: url(images/image1.webp) !important;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1;
        border-radius: 0 0 25% 25%;
        overflow: hidden; */
    }

    .contact-page-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(55, 0, 0, 0.87);
        z-index: -1;
    }

    .blog-latest-posts,
    .contact-main {
        z-index: 1;
        position: relative;
        top: -300px;
        margin-bottom: -300px;
    }
}
.my-banner img{
        aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}
.recent-posts-aside li a img {
    width: 75px !important;
    height: 75px !important;
}
.blog-latest-posts img.feature-image{
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 1.5;
    object-fit: cover;
    object-position: center;
}
.list-text a{
    color: #fff;
}
.cat-cards  .dashicons{
    font-size: 35px !important;
    height: 35px !important;
    width: 35px !important;
}

/* newcss */

.contact-forms-iframe iframe{
    height: 689px!important;
}

@media (max-width: 786px) {

.contact-forms-iframe iframe{
    height: 836px!important;
}    
}
