/*
 * Theme Name:        Revinfotech
 * Theme URI:         https://www.revinfotech.com/theme/revinfotech
 * Description:       Revinfotech is a versatile and modern WordPress theme designed primarily for tech and IT companies, digital agencies, startups, and software developers. This theme offers a clean, professional, and highly customizable layout, making it an ideal choice for businesses in the tech industry. It focuses on providing a seamless user experience and high-performance functionality, ensuring your website looks stunning and operates smoothly. Whether you're looking to create a website for a software development company, a startup, or a digital agency, Revinfotech offers the tools and flexibility you need to create a high-quality, professional online presence.
 * Version:           1.1.8
 * Author:            Revinfotech
 * Author URI:        https://www.revinfotech.com/author/shavet
 * Tags:              custom-logo, custom-menu
 * Text Domain:       revinfotech
 * Domain Path:       /assets/lang
 * Tested up to:      6.7
 * Requires at least: 6.7
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Copyright:         Copyright 2025 Shavet. All Rights Reserved.
 */

 .category-posts.grid .col-md-6 {
    width: 50%;
}

.category-posts.list .col-md-6 {
    width: 100%;
}
.pagination{
        justify-content: center;
        margin-bottom: 10px;
}
.nav-links {
    display: flex
;
}
.page-numbers{
    text-decoration: none;
}
.icon-phone::before {
    content: "\260E"; 
    margin-right: 6px;
}

.icon-envelope::before {
    content: "\2709"; 
    margin-right: 6px;
}
.contact-details {
    color: #333;
    text-align: right;
}

.contact-details a {
    text-decoration: none;
    color: #333;
}

.navbar-light .navbar-toggler {
    background: #fff;
}

.wp-block-search__inside-wrapper {
    display: flex;
    gap: 5px;
}

input#wp-block-search__input-1 {
    width: 100%;
}

#main-content .main_content_permalink {
    text-decoration: underline;
}

#menu-menu .nav-link {
    color: #fff !important
}

.wp-block-latest-posts__list.wp-block-latest-posts li {
    display: flex;
    gap: 10px;
    align-items: center;
}

img.attachment-thumbnail.size-thumbnail.wp-post-image {
    height: 100px;
    width: 100px;
    object-fit: cover;

}

ul {
    padding-left: 0 !important;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    width: 100%;
    padding: 0;
    list-style: none;
    background-color: white;
    border-radius: 0px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.footer {
    background: #0D3D77;
    color: #fff;
}

.footer h2 {
    font-weight: 700;
    font-size: 20px !important;
}

.footer-copyright {
    color: #fff
}

.footer-btn {
    background: #ffac02;
    color: #fff;
}

.newslatter-box a {
    color: #ffac02
}

.footer-column-2 ul {
    padding: 25px 15px;
    margin-bottom: 20px;
    margin-left: 22px;
    line-height: 27px;

}

.footer-column-2 a {
    color: #fff;
    padding-left: 10px;
}

.footer-column-2 a:hover {
    color: #ffac02;
}

.textwidget {
    margin: 10px 0px;
}

.nav-link:hover {
    color: #ffac02 !important;
}

.footer-column-2 {
    display: flex;
    justify-content: center;
}

#post-results {
    margin-bottom: 13px;
}


.navbar-nav .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu .dropdown-submenu {
    position: relative;
}

.dropdown-menu .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {

    background-color: #FFAC02;
}

.dropdown-menu .dropdown-submenu:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}


.skip-to-content {
    position: absolute;
    /* Ensure it stays positioned correctly */
    top: -105px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 6px 8px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 300;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.skip-to-content:focus {
    top: 105px;
    outline: 2px solid #fff;
}

.skip-to-content:hover {
    color: #ffac02;
}

.post-content a {
    text-decoration: underline !important;
}

.blog-card p a {
    text-decoration: underline !important;
}

.grid-view .col-md-4 {
    display: block;
}

.list-view .col-12 {
    display: flex;
    align-items: center;
}

.list-view .col-md-4 {
    flex: 0 0 30%;
}

.list-view .col-md-8 {
    flex: 0 0 70%;
}

.grid-view .col-md-6 {
    display: block;
}

.list-view .col-12 {
    display: flex;
    align-items: center;
}

.list-view .blog-thumbnail {
    flex: 0 0 30%;
    margin-right: 15px;
}

.list-view .blog-title {
    margin-bottom: 5px;
}

.list-view .col-md-6 {
    flex: 0 0 100%;
}

#edit-comment-form {
    display: none;
}

.category-label {
    display: none;
}

.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dropdown-menu li a:hover {
    background: #093d77;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #fff !important;
    border: none !important;
    background-color: #ffac02;
}

@media (max-width: 991px) {
    .dropdown-menu.show {
        position: relative !important;
        background: #fff;
    }

    .dropdown-menu .nav-link {
        color: #000 !important;
        padding-left: 10px;
    }

    .dropdown-menu li a:hover {
        background: #fff;
    }

    .dropdown-menu li {
        margin-bottom: 3px;
    }

    .dropdown-submenu .dropdown-menu {
        position: relative !important;
        box-shadow: none !important;
        border: none;
        left: auto !important;
    }

    .dropdown-menu {
        background: #fff;
    }

    .nav-item.dropdown.show>.dropdown-toggle::after,
    .nav-item.dropdown-submenu.show>.dropdown-toggle::after {
        transform: rotate(180deg);
        transition: transform 0.3s ease-in-out;
    }

    .skip-to-content {
        position: relative;
        top: 0px !important;
    }

}