/*
Theme Name: 	Maxwell Child Theme
Theme URI: 		https://themezee.com/themes/maxwell/
Author: 		ThemeZee
Author URI: 	https://themezee.com
Description: 	Maxwell Child Theme
Template: 		maxwell
Version: 		1.0
*/
/* ####################
		@Villa
##################### */
/* source-sans-pro-300 - latin */
@font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 300;
	src: local(''),
		 url('assets/fonts/source-sans-pro-v21-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('assets/fonts/source-sans-pro-v21-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* source-sans-pro-regular - latin */
  @font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 400;
	src: local(''),
		 url('assets/fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('assets/fonts/source-sans-pro-v21-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* source-sans-pro-700 - latin */
  @font-face {
	font-family: 'Source Sans Pro';
	font-style: normal;
	font-weight: 700;
	src: local(''),
		 url('assets/fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('assets/fonts/source-sans-pro-v21-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

:root {
	--navi-submenu-color: #000;
}

#secondary a:not(.tag-cloud-link):hover {
	text-decoration: underline;
	color: #fb0303;
}

#logo {
	text-align: right;
	float: none;
	margin-left: auto;
	padding-left: 30px;
}

#logo img {
	width: 100%;
	min-width: 220px;
	max-width: 340px;
}

.header-main {
	padding: 1.5em 0em;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-direction: row-reverse;
}

.header-widgets {
	display: block;
}

.header-widget {
	float: none;
	display: block;
	margin: 0;
}

.header-main .site-title {
	display: none;
}

/* #menu-main-menu {
	list-style: none;
}

#menu-main-menu li {
	margin-right: 0.6em;
}

#menu-main-menu li:last-child {
	margin-right: 0;
}

#menu-main-menu a {
	font-size: 0.9rem;
	padding: 0.6em 0.6em 0.8em;
	font-weight: bold;
	text-transform: uppercase;
	color: #303030;
}

#menu-main-menu a:hover {
	color: #fb0303;
} */

.primary-menu-toggle .menu-toggle-text {
	display: inline-block;
	margin-left: 0.75em;
}

.main-navigation ul a {
	padding: 0.6em 0.6em 0.8em;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1rem;
}

#featured-posts {
	display: flex;
	justify-content: space-between;
}

#featured-posts .post-column {
	width: 31%;
}

#featured-posts .entry-header .entry-title {
	font-size: 2rem;
}

#featured-posts-hr {
	margin-bottom: 3em
}

.home .maxwell-magazine-grid-widget {
	margin-bottom: 20px;
}

.widget-magazine-posts .medium-post .entry-title, .widget-magazine-posts .small-post .entry-title {
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	font-size: 1.75rem;
	line-height: 1.2;
}

.entry-header .entry-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 2.5rem;
  line-height: 1.2;
}

.entry-content {
	line-height: 1.4;
}

.entry-meta,
.entry-meta .meta-date time,
.entry-meta .meta-category a {
	color: #fb0303; /* red */
}

.entry-meta .meta-category a:hover {
	text-decoration: underline;
}

.widget_archive li,
.cat-item {
	color: #fb0303;
	list-style: none;
}

.cat-item::before,
.widget_archive li::before {
    content: "";
    color: #000;
    font-weight: bold;
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    border: 1px solid black;
    margin-right: 1em;
    margin-bottom: 2px;
}

.more-link {
	border-radius: 5px;
	background: linear-gradient(to right, #a31007, #fb0303);
	transition: all 1s;
	padding: 0.4em 1.2em;
	line-height: 1.75;
}

.more-link:hover {
	background: linear-gradient(to right, #fb0303, #a31007);
}

.more-link:after {
	content: "";
}

#newsletter {
	background: #e5e5e5; /* light gray */
	padding: 1.25em;
	text-align: center;
	
}

#newsletter h4 {
	font-family: serif;
	font-size: 1.65em;
	color: #000;
	display: inline;
}

#newsletter img {
    width: 45px;
    position: relative;
    top: 15px;
	left: 0;
}

#newsletter .email {
	margin: 1.5em auto 1em;
	width: 100%;
	max-width: 300px;
}

#newsletter .email input[type="email"] {
	display: block;
    width: 100%;
}

#newsletter .email input[type="email"]:focus {
	outline: none;
	border-color: #000;
}

#newsletter input[type="submit"] {
	padding: 0.5em 0.8em;
	background: white;
	border: 1px solid white;
	display: block;
	margin: 1em auto;
	text-transform: uppercase;
	font-weight: bold;
	color: #000;
	width: 100%;
	max-width: 300px;
}

#newsletter input[type="submit"]:focus,
#newsletter input[type="submit"]:hover {
	outline: none;
	color: #fb0303;
}

#menu-footer-menu {
	padding: 1em 0 3em 0;
}

.abox {
	background: #e5e5e5;
    padding: 2em;
	line-height: 1.5;
	font-size: .875rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.abox img{
	display: block;
}

.abox .col:first-child {
	max-width: 30%;
	flex: 0 0 30%;
}

.abox .col {
	max-width: 65%;
	flex: 0 0 65%;
}

#ad-post-list {
	margin-bottom: 3em;
}

.red-bg {
	background: linear-gradient(to right, #a31007, #fb0303);
    color: white;
    padding: 20px;
}

.footer-navigation-menu a:link, 
.footer-navigation-menu a:visited {
	color: #000;
}

/** prevent post excerpt from wrapping under image **/
.post-layout-one-column .post-wrapper .type-post .entry-content {
	padding-left: calc(45% + 2em);
}

@media only screen and (min-width: 1180px) {
	.main-navigation > ul > li {
		margin-right: .6em;
	}

	.main-navigation > ul > li > a {
		font-size: .9rem;
		padding: 0.6em 0.6em 0.8em;
	}

	/* .main-navigation > ul > li:first-child > a {
		padding-left: 0;
	}
	.main-navigation > ul > li:last-child > a {
		padding-right: 0;
	} */
}


@media only screen and (max-width: 1120px) {
	/** prevent post excerpt from wrapping under image **/
	.widget-magazine-posts .entry-content,
	.post-layout-one-column .post-wrapper .type-post .entry-content {
		padding-left: calc(40% + 2em);
	}
}

@media only screen and (max-width: 1023px) {
	/** top posts **/
	.widget-magazine-posts .magazine-grid {
		margin-right: 0;
	}
	.widget-magazine-posts .medium-post {
		float: none;
		width: 100%;
		padding: 0;
	}
	.widget-magazine-posts .wp-post-image {
		float: left;
		margin: 0 2em 1em 0;
		padding: 0;
		max-width: 45%;
	}
}

@media only screen and (max-width: 960px) {
	/** prevent post excerpt from wrapping under image **/
	.widget-magazine-posts .entry-content,
	.post-layout-one-column .post-wrapper .type-post .entry-content {
		padding-left: calc(45% + 2em);
	}
}

@media only screen and (max-width: 800px) {
	#featured-posts {
		display: block;
	}

	#featured-posts .post-column {
		width: auto;
	}

	#featured-posts-hr {
		margin-bottom: 3em
	}
}

@media only screen and (max-width: 640px) {
	/** header logo / search **/
	.header-main {
		flex-direction: column;
		justify-content: flex-start;
    	align-items: flex-start;
	}
	.header-widgets {
		width: 100%;
		margin-top: 20px;
	}
	.header-widget .search-form {
		max-width: none;
	}

	/** prevent post excerpt from wrapping under image **/
	.widget-magazine-posts .entry-content,
	.post-layout-one-column .post-wrapper .type-post .entry-content {
		padding-left: 0;
	}

	/** top posts **/
	.widget-magazine-posts .medium-post .wp-post-image {
		float: none;
		margin: 0;
		padding: 0;
		max-width: 100%;
	}

	.abox {
		display: block;
	}
	.abox .col {
		max-width: none !important;
	}
	.abox img {
		max-width: 130px;
    	margin: 0 auto 30px;
	}
}