/*!
Theme Name: The Democratic Post
Theme URI: https://thedemocraticpost.in/
Author: Ajeet Singh Badddan
Author URI: https://ajeetsinghbaddan.com/
Description: We provide you with the latest breaking news and videos straight from the entertainment industry.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: asb-thedemocraticpost
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.

ASB thedemocraticpost 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.fluidImage img{
	max-width: 100%;
	height: auto;
}

.breadCrumb{
	display: flex;
	justify-content: end;
	color: var(--themeBlueColor);
	color: var(--paragraphColor);
}

.breadCrumb a{
	color: var(--headingColor);
}

.breadCrumb a:after{
	content: "/";
	padding-left: 15px;
	margin-right: 15px;
}

#commentform textarea{
	border: 1px solid #ccc;
	width: 100%;
	height: 130px;
	margin: 0px;
}

#commentform textarea:focus{
	border-color: var(--themeBlueColor);
}

#commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"]{
	border: 1px solid #ccc;
	width: 100%;
	padding: 10px;
	margin: 0px;
}

#commentform input[type="text"]:focus, #commentform input[type="email"]:focus, #commentform input[type="url"]:focus{
	border-color: var(--themeBlueColor);
}

#commentform input[type="submit"], #user-submitted-posts input[type="submit"] {
	font-size: 14px;
	color: #fff !important;
	line-height: 41px;
	border: 2px solid var(--themeBlueColor);
	padding: 0 22px;
	border-radius: 30px;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: var(--themeBlueColor);
	height: 44px;
	text-align: center;
	-webkit-transition: all 0.2s linear 0s;
	-moz-transition: all 0.2s linear 0s;
	-ms-transition: all 0.2s linear 0s;
	-o-transition: all 0.2s linear 0s;
	transition: all 0.2s linear 0s;
}

#commentform input[type="submit"]:hover, #user-submitted-posts input[type="submit"]:hover{
	background: none;
	color: var(--themeBlueColor) !important;
	text-decoration: none;
}

ol.comment-list { list-style: none; }
ol.comment-list li { }
ol.comment-list li.alt { }
ol.comment-list li.bypostauthor { }
ol.comment-list li.byuser { }
ol.comment-list li.comment-author-admin { }
ol.comment-list li.comment { border-bottom: 1px dotted #666; padding: 10px; }
ol.comment-list li.comment div.comment-author { }
ol.comment-list li.comment div.vcard { }
ol.comment-list li.comment div.vcard cite.fn { font-style: normal; }
ol.comment-list li.comment div.vcard cite.fn a.url { }
ol.comment-list li.comment div.vcard img.avatar { float:right; margin: 0 0 10px 10px; }
ol.comment-list li.comment div.vcard img.avatar-32 { }
ol.comment-list li.comment div.vcard img.photo { }
ol.comment-list li.comment div.vcard span.says { }
ol.comment-list li.comment div.commentmetadata { }
ol.comment-list li.comment div.comment-meta { font-size: 10px; }
ol.comment-list li.comment div.comment-meta a { color: #ccc; }
ol.comment-list li.comment p { }
ol.comment-list li.comment ul { }
ol.comment-list li.comment div.reply { font-size: 11px; }
ol.comment-list li.comment div.reply a { font-weight: bold; }
ol.comment-list li.comment ul.children { list-style: none; margin: 10px 0 0; }
ol.comment-list li.comment ul.children li { }
ol.comment-list li.comment ul.children li.alt { }
ol.comment-list li.comment ul.children li.bypostauthor { }
ol.comment-list li.comment ul.children li.byuser { }
ol.comment-list li.comment ul.children li.comment { }
ol.comment-list li.comment ul.children li.comment-author-admin { }
ol.comment-list li.comment ul.children li.depth-2 { border-left: 5px solid #555; margin: 0 0 10px 10px; }
ol.comment-list li.comment ul.children li.depth-3 { border-left: 5px solid #999; margin: 0 0 10px 10px; }
ol.comment-list li.comment ul.children li.depth-4 { border-left: 5px solid #bbb; margin: 0 0 10px 10px; }
ol.comment-list li.comment ul.children li.depth-5 { }
ol.comment-list li.comment ul.children li.odd { }
ol.comment-list li.even { background: #fff; }
ol.comment-list li.odd { background: #f6f6f6; }
ol.comment-list li.parent { border-left: 5px solid #111; }
ol.comment-list li.thread-alt { }
ol.comment-list li.thread-even { }
ol.comment-list li.thread-odd { }


.page404 .search-form input{
	padding: 10px;
}

.page404 .search-form input[type="submit"]{
	padding: 10px;
	background: var(--themeBlueColor);
	color: white;
	border: 1px solid var(--themeBlueColor);
	border-radius: var(--borderRadius);
}

.page404 .widget_recent_entries{
	margin-top: 30px;
}

.page404 .widget_recent_entries li{
	margin: 10px 0;
}

.page404 .widget_recent_entries li a{
	color: var(--headingColor);
}

.formStyle input, .formStyle textarea{
	padding: 10px;
	border:1px solid #ccc;
	width: 100%;
	border-radius: var(--borderRadius);
}

.formStyle input:focus, .formStyle textarea:focus{
	border-color: var(--themeBlueColor);
}

.formStyle input[type="submit"]{
	background: var(--themeBlueColor);
	color: white;
	border-color: var(--themeBlueColor);
	border-radius: var(--borderRadius);
}

.formStyle input[type="submit"]:hover{
	background: var(--themeRedColor);
	border-color: var(--themeRedColor);
}
