html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

input:invalid, input:required, textarea {
    outline: none !important;
} 

* {
  box-sizing: border-box;
} 

#wrapper {
margin: 0 auto; width: 100%; background: #fff;	
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px;
}

/*header*/
.header {
width: 100%; background: transparent; position: relative; z-index: 99;
}

/*nav*/
.menu-toggle {
	font-weight: 700; 
	font-size: 30px; 
	color: #000;	
}

.nav {
	position: relative;
	width: 100%;
	float: left;
	background-color: transparent;
	z-index: 1;
	margin-top: 25px;
	text-align: right;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
	background-color: transparent;
}

.nav li {
   display: inline-block;
   position: relative;
}

.nav li a {
    display: block;
    color: #ffffff;
    text-align: center;
    padding: 10px 14px;
    text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

/* Change the link color on hover. */

.nav li a:hover {
    background: transparent;
	text-decoration: underline;
}

.nav li a:active {
    background: transparent;
}

.nav .current-menu-item a, #main-nav .current_page_item a {
    color: #fff;
    background: transparent;
}

.nav ul ul {
    display: none;
    position: absolute;
    top: 42px; 
}

.nav ul ul li a {
	background: #f7f7f7 !important;
	color: #555 !important;
	font-weight: normal;
}

.nav ul ul li a:hover {
	text-decoration: underline;
}

.nav ul li:hover > ul {
    display: block; 
}

.nav ul ul li { 
    float: none; 
    width: 250px; 
	border-right: none;
}

.nav ul ul li a { 
    padding: 15px 35px; 
	text-align: left;
}

.nav ul ul li ul {
	right: 220px; 
    top: 45px;
	z-index: 1;
}

.nav-content h2 a {
    color: #f7f7f7;
}

.nav-content a:hover {
	text-decoration: underline;
}

/* Menu Icons*/
.nav li .menu-item-has-children > a:after {
 color: #fff;
 content: " «";
 font-size: 15px;
 vertical-align: -1px;

}

.nav li li.menu-item-has-children > a:after {
 color: #222;
 content: " «";
 font-size: 15px;
 vertical-align: -1px;
 
}

.nav li li.menu-item-has-children:hover > a:after {
	color: #fff;
}

/*content*/
.eregant-designz-post {
color: #373737; padding-top: 35px; padding-bottom: 75px;		
}

.post-content {
position: relative;
}

.post-title {
font-size: 35px;
font-weight: 700;
padding-bottom: 15px;
}

.content {
font-size: 17px;
}

.post-meta {
padding-bottom: 15px;
font-size: 15px;
}

.post-summary, .post-tags, .post-category {
padding-bottom: 12px;
font-size: 14px;
}

.post-readmore {
margin-top: 25px;
}

.post-readmore a {
padding: 8px 15px;
background: #76337b;
display: inline;
color: #f7f7f7;
border: 1px solid #76337b;
}

.post-readmore a:hover {
padding: 8px 15px;
background: #f7f7f7;
display: inline;
color: #76337b;
}



/*sidebar*/
.sidebar-right {
 width: 30%; position: relative; float: left;
}

.sidebar-content {
padding: 10px; 
}

/*footer*/
.footer {
width: 100%; background: #421a45; color: #f5f5f5; font-size: 15px; position: relative;	
}

.footer-left, .footer-mid, .footer-right {
float: left; width: 33.3%;	
}

.footer-content {
padding: 5px; margin-top: 150px; margin-bottom: 150px; font-size: 14px;	
}

.footer-content h4 {
padding-bottom: 20px; font-weight: 700; font-size: 18px; color: #f5f5f5;
}

.footer-copyright {
width: 100%; background: #421a45; color: #f7f7f7; font-size: 14px; position: relative; border-top: 1px solid #f7f7f7;	
}

.footer-copyright-content {
float: left; width: 50%; padding: 25px 5px;	
}

.footer-copyright-content ul {
 color: #f7f7f7;
 font-size: 14px;
 text-align: right;
}

.footer-copyright-content ul li {
display: inline-block;
}

.footer-copyright-content ul li a {
display: inline-block;
color: #f7f7f7;
}

.footer-content ul li a:hover {
text-decoration: underline !important;
}

.footer-copyright-content ul li a:hover {
text-decoration: underline;
}
/*responsive*/
@media only screen and (max-width: 768px)
{
	
	.logo {
		width: 50% !important;
	}
      
    .banner-wrap {
        max-height: 650px;
    }
    
        
    /*nav*/
    .header {
        position: relative !important; 
    }
    
	#nav-block {
		display: none;
	}
	
    .nav.menu {

        width: 100% !important;
        background: #fbfbfb;
    
    }

    .menu-toggle {
        display: block !important;
        cursor: pointer;
        float: right;
        margin-bottom: 5px;
        margin-right: 15px;
    }
    
    .menu-toggle p {
        margin-top: 8px;
        cursor: pointer;
    }
    
    .menu-toggle img:hover {
        opacity: 1;
    }
    
    .nav.menu ul li {
        display: block;
        text-align: center;
        padding: 20px;
        background: #f7f7f7;
    }
    
    .nav.menu ul li:hover {
        background: #dedede;   
    }
    
    .nav.menu ul li a {
        color: #373737;
    }
	
	.nav ul ul li a {  
		text-align: center;
	}

    .nav {
        background: #fff;
    }
    
    .nav ul {
        margin-left: -8px;
        margin-right: -8px;
        margin-bottom: -8px;
    }
    
    .logo {
        padding-top: 15px;
        padding-bottom: 5px;
    }
    
    .logo h2 {
        padding: 5px !important;   
        color: #373737 !important;
    }
	
	/*content*/
	.post-content {
        width: 100% !important;
        float: left !important;
        
    }
	
	/*sidebar*/
    .sidebar-left, .sidebar-right {
        width: 100% !important;
        float: none !important;
    }
	
	h3.widget-title {
		font-size: 25px;
		padding-bottom: 8px;
		padding-top: 15px;
	}

	input#s {
		padding: 8px 15px;
		border: 1px solid #d7d7d7;
		color: #373737;
		width: 100%;
	}

	input#searchsubmit {
		background: #76337b;
		border: none;
		padding: 8px 15px;
		color: #f7f7f7;
		cursor: pointer;
	}
        
    /*footer*/
    .featured-headline-left, .featured-headline-right {
        width: 100% !important;
    }
    
    .footer-left, .footer-mid {
        width: 50% !important;
    }
    
    .footer-right {
         width: 100% !important;
    }
    
    .footer-content {
        margin-top: 50px !important;
        margin-bottom: 50px !important
    }
    
}

@media only screen and (max-width: 758px) {	
	.nav li {
		float: none !important;
	}	
	
	.nav ul ul {
		display: block;
		position: relative;
		top: 0px;	
	}
	
	.nav ul li {
		padding: 5px !important;	
	}
	
	.nav ul ul li {
		width: auto !important;
		padding: 5px !important;
	}
	
	.nav li a:hover, .nav ul ul li a:hover { 
		text-decoration: none !important;
	}
	
	.nav {
		margin-top: 0px;    
	}
    
    .nav-content {
    	background: #f7f7f7;
	}
    
    .nav.menu ul li {
        background: #421a45 !important;
    }
    
    .nav.menu ul li a {
    	color: #f7f7f7 !important;
	}
    
    .nav.menu ul li:hover {
    	background: #76337b !important;
	}
    
	.nav.menu ul li li a {
		background: transparent !important;
	}
	
}