/**
* Theme Name:   Epic Dope Main
* Description:  Epic Dope Main Theme based on the WordPress twentytwenty theme.
* Author:       Aaryan Sharma
* Author URL:   https://i2m3.com
* Template:     twentytwenty
* Version:      1.0
* License:      GNU General Public License v2 or later
* License URI:  http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain:  EDGermanMain
*/


/* Write here your own personal stylesheet */

:root {
	--main-accent-color: #3572d4;
	--secondary-accent-color: #6564DB;
	--tertiary-accent-color: #89D2DC;
	--main-dark-color: #000;
	--main-light-color: #fff;
	--main-gray-color: #343434;
	--main-border-color: #e7e7e7;
	--dm-main-color: #27282b;
	--dm-dark-color: #1f1e21;
	--dm-light-color: #ddd;
	--dm-gray-color: #b5b3b7;
	--dm-border-color: #363636;
}

.entry-content p, .entry-content li {
	line-height: 1.55;
	font-size: 1.9rem;
}

.entry-content p, p {
	font-size: 1.9rem;
}

.entry-content h1, h1{
	font-size: 3.6rem;
}

.entry-content h2, h2{
	font-size: 3.2rem;
}

.entry-content h3, h3{
	font-size: 2.8rem;
}

.entry-content h4, h4{
	font-size: 2.4rem;
}

h2.widget-title{
	font-size: 3.2rem;
}

/* Header */

#site-header{
	background: var(--dm-dark-color);
}

.custom-logo-link{
	background: transparent !important;
}

.header-footer-group .toggle-text {
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

@media(max-width: 640px){

	.header-inner{
		padding: 3rem 0;
	}
}

.header-inner .toggle-wrapper::before {
	background: var(--dm-border-color);
}

.header-inner .toggle svg, .header-inner .toggle path{
	fill: var(--main-light-color);
}

.primary-menu > li > .icon{
	color: var(--main-light-color);
}

.primary-menu ul{
	background-color: var(--dm-main-color);
}

.primary-menu ul::after{
	border-bottom-color: var(--dm-main-color);
}

/* Footer */

.footer-nav-widgets-wrapper, #site-footer{
	background-color: var(--dm-dark-color);
}

#footer-widgets {
	border-top-width: 0.1rem;
}

.footer-widgets p, .footer-widgets li, .footer-widgets a {
	color: var(--dm-light-color);
	font-size: 1.7rem;
	font-weight: 400;
	letter-spacing: 0.4px;
}

.footer-widgets .widget .widget-title {
	color: var(--main-light-color);
	font-size: 2.3rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 700px){
	#site-footer {
		padding: 2rem 0;
	}

	.footer-widgets-outer-wrapper {
		padding: 4rem 0 4rem 0;
	}
}

#site-footer p, a.to-the-top {
	color: var(--dm-light-color);;
	font-weight: 400;
	font-size: 14px;
}

@media (max-width: 700px){
	.footer-widgets-wrapper {
		text-align: center;
	}
}

.widget-content h2 {
	color: var(--main-accent-color);
	font-size: 2.5rem;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.1px;
	margin: 0 0 2rem;
}

.widget-content figure{
	margin: 0 0 2rem !important;
}

.widget-content > * {
	margin-top: 1rem !important;
}

.widget-content .wp-block-image img {
	margin: 0 !important;
	box-shadow: none;
}

@media(max-width: 768px){
	#footer-widgets .widget-content .wp-block-image img{
		margin: 0 auto !important;
	}
}

/* Footer Menu */

.footer-top {
	justify-content: center;
}

.footer-menu {
	width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-inner .footer-menu li {
	margin: 0 2rem 2.5rem 2rem;
}

.footer-menu li {
	display: inline-block;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
}

.footer-inner .footer-menu li a {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	color: var(--dm-light-color);
}

.footer-inner .footer-menu li a:hover, .footer-widgets a:hover{
	color: var(--main-accent-color) !important;
	text-decoration: none;
}

.footer-inner .footer-menu .special-button {
	background-color: #fff;
	padding: 0.7rem 1.1rem;
	text-align: center;
	border-radius: 3px;
}

.footer-inner .footer-menu .special-button a{
	display: flex;
	color: var(--dm-dark-color);
}

.footer-widgets-outer-wrapper, .footer-top{
	border-color: var(--dm-border-color);
}

.footer-nav-widgets-wrapper.header-footer-group img{
	margin: 0 auto;
}

.footer-nav-widgets-wrapper.header-footer-group {
	text-align: center;
}

/* Footer: AdThrive Message */

.adthrive-footer-message {
	background: var(--dm-dark-color) !important;
	display: flex !important;
	justify-content: center !important;
	padding: 0 0 2rem 0 !important;
}

.footer-top, .adthrive-ccpa-link, .adthrive-privacy-preferences{
	margin: 0 !important;
}

.adthrive-footer-message {
	margin-bottom: 92px !important;
}

.admin-bar .adthrive-footer-message{
	margin: 0 !important;
}

.adthrive-privacy-preferences a {
	color: var(--dm-light-color) !important;
	margin-right: 1rem !important;
	border-right: 1px solid var(--dm-border-color) !important;
	padding-right: 1rem !important;
	font-size: 1.4rem !important;
	text-transform: uppercase !important;
}

.adthrive-footer-message span {
	border: none !important;
	color: var(--dm-light-color) !important;
	font-size: 1.4rem !important;
}

/* Global */

.primary-menu a {
	position: relative;
	font-size: 1.7rem;
	color: var(--main-light-color);
}

.primary-menu a:after {
	content: '';
	display: block;
	margin: auto;
	height: 2px;
	width: 0px;
	background: transparent;
	transition: width .3s linear, background-color .3s linear;
}

.current-menu-item a{
	text-decoration: none !important;
	font-weight: 700 !important;
}

.current-menu-item a:after {
	width: 100%;
	background: var(--main-accent-color);
}

.primary-menu a:hover, .primary-menu a:focus, .primary-menu .current_page_ancestor{
	text-decoration: none !important;
}

.primary-menu a:hover:after, .primary-menu a:focus:after {
	width: 100%;
	background: var(--main-accent-color);
}

main{
	max-width: 107rem;
	margin: 0 auto;
	padding-top: 40px;
}

@media(max-width: 768px){
	.header-inner{
		padding: 2rem 0;
	}
}

.svg-icon{
	max-width: 3rem;
}

/* Search */

.search-form-wrapper {
	margin-bottom: 4rem;
}

.search-submit .svg-icon {
	width: 1.6rem;
	fill: #fff;
}

.search-modal .search-field:focus {
	outline: none;
}

.search-modal .search-field {
	height: 10rem;
	font-size: 2.4rem;
}

.search-untoggle svg {
	height: 1.8rem;
	width: 1.8rem;
}

/* Menu Redesign */

.menu-modal.active{
	z-index: 999;
}

.menu-wrapper {
	padding: 2rem 0;
	justify-content: flex-start;
}

.menu-header {
	display: flex;
	align-items: center;
	height: 4.2rem;
	justify-content: space-between;
	margin-bottom: 4rem;
}

.menu-search {
	margin-bottom: 2rem;
}

button.close-nav-toggle {
	width: auto;
}

.menu-search .search-submit .svg-icon {
	width: 1.6rem;
	height: 1.6rem;
	fill: var(--main-dark-color);
}

.menu-search .search-submit {
	background-color: transparent;
	border-radius: 0 5px 5px 0;
	border-top: 2px solid var(--main-dark-color);
	border-right: 2px solid var(--main-dark-color);
	border-bottom: 2px solid var(--main-dark-color);
}

.menu-search .search-form .search-field {
	border-top: 2px solid var(--main-dark-color);
	border-bottom: 2px solid var(--main-dark-color);
	border-left: 2px solid var(--main-dark-color);
	border-radius: 5px 0 0 5px;
	border-right: 0;
	background: transparent;
}

.modal-menu a {
	font-weight: 500;
	font-size: 1.6rem !important;
	letter-spacing: normal;
}

.search-modal.active {
    left: 0px;
    opacity: 1;
    transition: opacity 0.2s linear 0s;
}

.search-modal.active .search-modal-inner {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 2rem 0px;
    transform: translateY(0px);
    transition: transform 0.25s ease-in-out 0s, box-shadow 0.1s linear 0.25s;
}

/* Ads */

.code-block  {
	position: relative;
	background-color: #f9f9f9;
	background-image: url(/wp-content/themes/epicdope/assets/icons/ad.svg);
	background-size: 5rem;
	background-repeat: no-repeat;
	background-position: 50%;
	padding: 1rem;
}

.code-block > div {
    position: relative;
	text-align: center;
	margin: 0 !important;
}

.code-block > div:before {
	content: "Ad Starts Here";
	position: absolute;
	top: 0;
	left: 0;
    right: 0;
	margin: 0 auto;
	font-size: 1.4rem;
	color: #707070;
	font-weight: 500;
	text-transform: uppercase;
}

.adthrive-ccpa-link, .adthrive-footer-message, .adthrive-privacy-preferences{
	margin-top: 0 !important;
}

h3.adthrive-player-title{
	display: none !important;
}

.adthrive-collapse-player {
	border: none !important;
	height: auto !important;
	margin: 0 !important;
}

.raptive-placeholder-header, .raptive-placeholder-below-post {
	background-color: #f9f9f9;
	background-image: url(/wp-content/themes/epicdope/assets/icons/ad.svg);
	background-size: 4rem;
	background-repeat: no-repeat;
	background-position: 50%;
	border-radius: 5px;
	overflow: hidden;
}

.raptive-placeholder-header {
	margin: 0 auto 4rem auto;
}

.raptive-placeholder-header .adthrive-ad, .raptive-placeholder-below-post .adthrive-ad {
    margin: 0 !important;
}

/* Modal Menu UM */

.menu-modal .close-nav-toggle .svg-icon * {
	fill: #000 !important;
}

.author-wrapper-menu {
	display: flex;
	padding-left: 2rem;
	border-bottom: 1px solid #eee;
	padding-bottom: 2rem;
}

.author-avatar-menu img {
	border-radius: 100%;
}

.author-title-h2 {
	color: #000;
	font-size: 18px;
	font-weight: 500;
	margin: 0;
}

.author-title-menu {
	margin: 12px 0 0 10px !important;
}

a.author-profile-menu {
	color: #3f6fe8 !important;
	text-decoration: none !important;
	font-weight: 500;
	font-size: 15px;
}

.menu-bottom .social-menu svg,
.menu-bottom .social-menu svg * {
	fill: #fff !important;
}

.menu-bottom .social-menu a {
	background-color: #000;
}

.mobile-menu {
	padding-left: 2rem;
}

.mobile-menu a {
	text-align: left;
	font-weight: 500 !important;
	color: #4e5c6e !important;
	font-size: 16px !important;
}

.mobile-menu .sub-menu a {
	font-size: 14px !important;
	color: #000 !important;
}

.menu-modal.active {
	z-index: 100001;
}

.expanded-menu li a:hover:after {
	width: 100%;
	left: 0
}

.expanded-menu li a:after {
	background: none repeat scroll 0 0 transparent;
	bottom: 0;
	content: "";
	display: block;
	height: 2px;
	left: 50%;
	background: #000;
	transition: width 0.3s ease 0s, left 0.3s ease 0s;
	width: 0
}

.expanded-menu li a:hover {
	text-decoration: none
}

.expanded-menu li a {
	width: auto;
	text-align: center;
	color: var(--main-dark-color);
}

.expanded-menu li {
	text-align: center
}

.modal-menu .ancestor-wrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
	text-align: center;
	align-items: center;
	justify-content: center
}

.dex-about-text a {
	font-size: 1.8rem !important;
	line-height: 24px
}

.dex-about-text a:hover {
	text-decoration: none !important
}

.dex-menu-img {
	padding: 4rem;
	background-color: #000
}

@media (max-width: 700px) {
	.mobile-menu .menu-item-has-children a {
		padding-left: 2.5rem !important;
	}
}

@media (min-width: 1000px) {
	.menu-bottom {
		padding: 2rem 0;
	}
	.menu-bottom .social-menu {
		justify-content: center;
	}
	.modal-menu li {
		border: none;
	}
	.modal-menu a {
		text-align: left;
		font-size: 18px !important;
		font-weight: 500 !important;
	}
	.dex-menu-img {
		width: 200px;
		padding: 0.7rem !important;
	}
	.dex-about-text a {
		font-weight: 400 !important;
		font-size: 16px !important;
		padding-top: 0 !important
	}
}

/* Menu Fix */

.menu-modal.show-modal {
	display: flex;
}

.menu-modal.active {
	left: 0;
	opacity: 1;
	right: 0;
	transition: opacity 0.25s ease-out;
}

.menu-modal.active {
	z-index: 100001;
}

@media (min-width: 1000px){
	.menu-modal.active {
		background: rgba(0, 0, 0, 0.2);
		transition: background-color 0.3s ease-out;
	}

	.menu-modal.active .menu-modal-inner {
		opacity: 1;
		transform: translateX(0);
		transition-timing-function: ease-out;
	}
}

/**** Mobile Styles ****/

@media(max-width:640px){

	/* Footer */

	.footer-inner .footer-menu li {
		margin: 0.25em 1.5rem 2.25rem 0;
	}

}