/*
Theme Name: citations-network
 | Shared by WPTry.org
Description: citations-network is a bundle of Geo targeted Directory websites for Niches Specific business listing
Author: Scripts Bundle
Theme URI: http://listing.dwt_listing_directory.com/
Author URI: http://scriptsbundle.com/
Version: 3.1.4
License: Themeforest Split Licence
License URI: https://themeforest.net/user/scriptsbundle/
Text Domain: citations-network
Tags: translation-ready,theme-options, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo,featured-images,  sticky-post,  threaded-comments
*/

/* Header Style 5 */
.n-header-5 {
    padding: 20px 0;
}

.n-header-5 .mega-menu .menu-logo li a img {
    margin-top: 8px;
}

.n-header-5 .mega-menu .menu-button {
    float: right;
    margin-bottom: 0;
}

.n-header-5 .mega-menu .menu-button li {
    margin-right: 10px;
    margin-left: 10px;
}

.n-header-5 .mega-menu .menu-button li:last-child {
    margin-right: 0;
    margin-left: 0;
}

.n-header-5 .mega-menu .menu-button li.post-btn {
    background-color: #242424;
    border-color: #242424;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.n-header-5 .mega-menu .menu-button li.post-btn a {
    padding: 0 20px;
    line-height: 50px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}

.n-header-5 .mega-menu .menu-button li.post-btn a i {
    margin-right: 5px;
}

/* Logo centered layout using flex */
.n-header-5 .menu-list-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 15px;
}

.n-header-5 .menu-list-items .menu-links {
    order: 0;
}

.n-header-5 .menu-list-items .menu-logo {
    order: 1;
}

.n-header-5 .menu-list-items .menu-button {
    order: 2;
}

.n-header-5 .menu-list-items .menu-button li:first-child {
    margin-right: 0;
}

.n-header-5 .menu-list-items .menu-button li:nth-child(2) {
    margin: 0 20px;
}

.n-header-5 .menu-list-items .menu-button li:not(.post-btn, .profile-dropdown) {
    background: #000;
    padding: 0 10px;
    border-radius: 2px;
}

.n-header-5 .menu-list-items .menu-button li:not(.post-btn, .profile-dropdown) a {
    color: #fff;
}

/*Hero Section With Vertical Form*/
.hero-1-modified #intro-hero {
    padding: 7vh 0 5vh;
}

.hero-1-modified #intro-hero .category-section {
    margin-top: 150px;
}

.hero-1-modified #intro-hero .highlighted-text {
    top: 140px;
}

.hero-1-modified .form-wrap {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 6px 6px #000000;
}

.hero-1-modified .form-wrap h3 {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3em;
}

/*Elegant Categories*/
.dwt-new-catz .e-cat-box img {
    min-width: 100%;
    max-height: 230px;
    object-fit: cover;
}

/*Minimal Categories*/
.catz-boxes img {
    max-width: 64px;
}

/* Hero Section with Horizontal Form 1 */
#home-2-horizontal-form-1 {
    min-height: calc(100vh - 90px);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    row-gap: 50px;
}

#home-2-horizontal-form-1 :is(.main-section-area, .category-section) {
    margin-top: 6vh;
}

#home-2-horizontal-form-1 .main-arrow {
    top: -90px;
}

#home-2-horizontal-form-1 .owl-stage-outer {
    min-height: unset;
}

#home-2-horizontal-form-1 .main-search-bar {
    float: unset;
    margin: 5vh 0 4vh;
}

#home-2-horizontal-form-1 .form-container {
    max-width: unset;
    margin: 0;
}

#home-2-horizontal-form-1 .main-search-bar h1 {
    display: none;
}

#home-2-horizontal-form-1 .main-search-bar textarea {
    resize: none;
}

#home-2-horizontal-form-1 .main-search-bar button,
.page-template-page-search-php #yourFormId button,
.single-line-form form button {
    width: 100%;
    border-radius: 8px;
}


/* Hero Section with Horizontal Form 2 */
.single-line-form {
    margin-bottom: 50px !important;
}

.single-line-form form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.single-line-form form .form-row:first-child {
    column-gap: 15px;
}

.single-line-form form .form-row:first-child .form-group {
    /*flex: 1 0 auto;*/
    margin-bottom: 0;
    /*max-width: 160px;*/
    width: 16%;
}

.single-line-form form button {
    height: 100%;
}

@media (max-width: 1199px) {
    .mega-menu .menu-links>li>a {
        padding: 0 8px !important;
    }
}

/* Ipad Res as per Theme */
@media (max-width: 993px) {
    .n-header-5 .menu-list-items {
        justify-content: flex-end;
    }

    .n-header-5 .menu-list-items .menu-links {
        order: 1;
    }

    .n-header-5 .menu-list-items .menu-logo {
        order: 0;
    }

    .n-header-5 .menu-list-items .menu-button {
        order: 2;
    }
}

@media (max-width: 600px) {
    .transparent-breadcrumb-listing.bread-type-4 .small-breadcrumb h1 {
        font-size: 24px;
    }
}