/*!
Theme Name: Pegasync child
Theme URI: https://pegasync.com/
Author: Genesis Holdings
Author URI: https://pegasync.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pegasync
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

alpha is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/*  Drop down menu CSS ENDS */

/*
Nav bar
*/
#mml {
    padding: 15px !important;
}
#mm #primary-menu ul.sub-menu li a {
    padding-left: 35px;
}
#mm #primary-menu .sub-menu li a::before {
    content: unset;
}
#mm ul.sub-menu {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: translate(0);
    display: block !important;
    height: auto !important;
}
#mml {padding: 0 15px;color: #ffffff;}
#mml h4 {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 12px;
}
.mm {
    position: relative;
/*    background-color: #060709;*/
    min-height: 49px;
}

#mmb {
position: absolute;
width: 40px;
height: 50px;
margin-right: 15px;
top: 0;
right: 0;
cursor: pointer;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

#mmb span {
display: block;
position: absolute;
height: 1.5px;
width: 90%;
background: #000;
border-radius: 9px;
opacity: 1;
right: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}

#mmb span:nth-child(1) {
top: 16px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

#mmb span:nth-child(2) {
top: 26px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

#mmb span:nth-child(3) {
top: 36px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
width: 60%;
right: 0px;
left: auto;
}

#mmb.on span {height: 2px;}
#mmb.on span:nth-child(1) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
top: 16px;
left: 8px;
}

#mmb.on span:nth-child(2) {
width: 0%;
opacity: 0;
}

#mmb.on span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
top: 42px;
left: 8px;
width: 90%;
}
#mml .custom-logo-link img {
    width: 144px;
}
#mm ul{
    padding-left:0;
    margin-bottom:0;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 1000;
    display: none;
}

#mm li {
    display: block;
    position: relative;
    padding: 0;
}
#mm #primary-menu a {
    display: block;
    padding: 16px 26px 15px 17px;
    border-bottom: #dedede 1px solid;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 25px;
    background-color: #060709;
    word-wrap: break-word;
    text-align: left;
}
#mm #primary-menu a:hover {
    background-color: #0b204d;
}
.mm, #mm {
    display: none;
}
/* 
 * NAVBAR CSS ENDS
 */ 
/*  Drop down menu CSS*/
#primary-menu {
    text-align: center;
}
#primary-menu li {
    display: inline-block;
    padding: 0 10px;
    font-family: Poppins;
}
#primary-menu li a {
/*    padding: 38px 0;*/
    color: #767676;
    font-size: 14px;
}
#primary-menu li a.MenuActive {    
    color: #060709;
    font-weight: bold;
/*    border-bottom: 2px solid;*/
}
.menu-item-has-children {
    position: relative;
}
.menu-item-has-children::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    position: absolute;
    right: -5px;
    top: 2px;
    display: block;
    color:#767676;  ;
}
.menu-item-has-children .sub-menu {
    position: absolute;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0 2px 10px 0px rgba(0,0,0,0.15);
    top: calc(100% + 10px);
    left: 10px;
    width: 220px;
    border-radius: 5px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    visibility: hidden;
    overflow: hidden;
}
.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#primary-menu .sub-menu li {
    display: block;
    padding: 0;
}
#primary-menu .sub-menu li a:hover {
    color: #fff;
    border-color: transparent;
}
#primary-menu .sub-menu li a {
    display: block;
    text-align: left;
    padding: 17px 10px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 9;
    transition: all 0.5s ease-in-out;
}
#primary-menu .sub-menu li:last-child a {
    border-bottom: 0;
}
#primary-menu .sub-menu li a:hover::before {
    width: 100%;
    background-color: #0b204d;
    border-color: #0b204d;
}
#primary-menu .sub-menu li a::before {
    content: '';
    background-color: transparent;
    width: 3px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
    z-index: -1;
    border-bottom: 1px solid transparent;
}
.menu-toggle {
    display: none;
}

/*  Drop down menu CSS ENDS */
/* 404 - NOT FOUND PAGE */

.error-404.not-found {
    text-align: center;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    position: relative;
    background-image: url(/wp-content/uploads/2020/10/404.jpg);
    background-size: cover;
}
.not_found_inner {
    max-width: 69.5%;
}
.error404 #masthead, .error404 #colophon {
    display: none;
}
.logo a {
    outline: 0 !important;    
}
.error-404.not-found .logo {
    padding: 0;
     background-color: transparent;   
}    
.error-404.not-found h1 {
    font-size: 200px;
    line-height: 1;

    /*SEARCH RESULTS - NO RESULTS CSS */


.search-results article.product , .search-results article.page {
    display: none;
}
.search-results .page-title span::before, .search-results .page-title span::after {
    content: '"';
}
.search-results .page-title {
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}
.search-results .page-header {
    width: 100%;
}
.search-results #primary {
    display: flex;
    flex-wrap: wrap;
}
.search-results #primary article {
    width: 30%;
    margin: 0 1.5%;
    box-shadow: 0 2px 10px 2px rgba(0,0,0,0.1);
    padding: 20px;
    padding-top: 0;
    margin-bottom: 35px;
    border-radius: 6px;
}
.search-results #primary article a.post-thumbnail {
    display: block;
    margin-left: -20px;
    margin-right: -20px;
}
.search-results #primary article a.post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.search-results #primary article .entry-title a {
    display: block;
    color: #060709;
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}
.no-results.not-found {
    text-align: center;
    margin-bottom: 50px;
}
.no-results.not-found .search-form input.search-field {
    height: 45px;
    padding-left: 10px;
    border: 1px solid #eee;
    background-color: #eee;
    color: #333;
    font-size: 14px;
    width: 250px;
}
.no-results.not-found .search-form .search-submit {
    height: 45px;
    padding: 0 30px;
    border: 0;
    background-color: #0b204d;
    color: #fff;
    cursor: pointer;
}
.no-results.not-found .search-form .search-submit:hover {
    background-color: #252525;
}
.no-results.not-found .search-form label span {
    display: none;
    width: 0;
}




/*SEARCH RESULTS - NO RESULTS CSS ENDS*/
    color: #404040;
    margin: 30px 0;;
    font-weight: 800;
    
}
.error-404.not-found h1 span{
    color: #e01e26;
}
.page-header h3 {
    color: #060709;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 40px;
}
.page-header p {
    font-size: 22px !important;
    color: #060709;
    margin-bottom: 20px;
}
.page-content .return_home {
    background-color: #e01e26;
    color: #fff;
    padding: 20px 50px;
    display: inline-block;
    font-size: 20px;
    box-shadow: 0 2px 10px 0px rgba(0,0,0,0.5);
    text-decoration: none;
    transition: all 0.5s ease-in-out;
    border: 2px solid #e01e26;
}
.page-content .return_home:hover {
    transform: translateY(-3px);
    background-color: transparent;
    color: #060709;
    transform: scale(1.1);
}


/* 404 - NOT FOUND PAGE ENDS */

/*SEARCH RESULTS - NO RESULTS CSS */


.search-results article.product , .search-results article.page {
    display: none;
}
.search-results .page-title span::before, .search-results .page-title span::after {
    content: '"';
}
.search-results .page-title {
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}
.search-results .page-header {
    width: 100%;
}
.search-results #primary {
    display: flex;
    flex-wrap: wrap;
}
.search-results #primary article {
    width: 30%;
    margin: 0 1.5%;
    box-shadow: 0 2px 10px 2px rgba(0,0,0,0.1);
    padding: 20px;
    padding-top: 0;
    margin-bottom: 35px;
    border-radius: 6px;
}
.search-results #primary article a.post-thumbnail {
    display: block;
    margin-left: -20px;
    margin-right: -20px;
}
.search-results #primary article a.post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.search-results #primary article .entry-title a {
    display: block;
    color: #060709;
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}
.no-results.not-found {
    text-align: center;
    margin-bottom: 50px;
}
.no-results.not-found .search-form input.search-field {
    height: 45px;
    padding-left: 10px;
    border: 1px solid #eee;
    background-color: #eee;
    color: #333;
    font-size: 14px;
    width: 250px;
}
.no-results.not-found .search-form .search-submit {
    height: 45px;
    padding: 0 30px;
    border: 0;
    background-color: #0b204d;
    color: #fff;
    cursor: pointer;
}
.no-results.not-found .search-form .search-submit:hover {
    background-color: #252525;
}
.no-results.not-found .search-form label span {
    display: none;
    width: 0;
}




/*SEARCH RESULTS - NO RESULTS CSS ENDS*/