/*!
Theme Name: Megapress
Theme URI: https://younghat.com/themes/detail/megapress/
Author: Young Hat
Author URI: https://younghat.com/
Description: Build your blog with megapress. It delivers clean, responsive and smooth output. It is especially suited for the bloggers, writers and authors. Megapress integrates seamlessly with WordPress
Version: 1.0.8
Requires at least: 5.3
Tested up to: 5.8
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: megapress
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog

Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Footer
# Responsive Media Queries 
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 html {
 	line-height: 1.15; /* 1 */
 	-webkit-text-size-adjust: 100%; /* 2 */
 }

/* Sections
========================================================================== */

/**
 * Remove the margin in all browsers.
 */

 body {
 	margin: 0;
 }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

 h1 {
 	font-size: 2em;
 	margin: 0.67em 0;
 }

/* Grouping content
========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

 hr {
 	box-sizing: content-box; /* 1 */
 	height: 0; /* 1 */
 	overflow: visible; /* 2 */
 }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

 pre {
 	font-family: monospace, monospace; /* 1 */
 	font-size: 1em; /* 2 */
 }

/* Text-level semantics
========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

 a {
 	background-color: transparent;
 }

 

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

 abbr[title] {
 	border-bottom: none; /* 1 */
 	text-decoration: underline; /* 2 */
 	text-decoration: underline dotted; /* 2 */
 }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

 b,
 strong {
 	font-weight: bolder;
 }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

 code,
 kbd,
 samp {
 	font-family: monospace, monospace; /* 1 */
 	font-size: 1em; /* 2 */
 }

/**
 * Add the correct font size in all browsers.
 */

 small {
 	font-size: 80%;
 }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

 sub,
 sup {
 	font-size: 75%;
 	line-height: 0;
 	position: relative;
 	vertical-align: baseline;
 }

 sub {
 	bottom: -0.25em;
 }

 sup {
 	top: -0.5em;
 }

/* Embedded content
========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

 img {
 	border-style: none;
 }

/* Forms
========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

 button,
 input,
 optgroup,
 select,
 textarea {
 	font-family: inherit; /* 1 */
 	font-size: 100%; /* 1 */
 	line-height: 1.15; /* 1 */
 	margin: 0; /* 2 */
 }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

 button,
 input { /* 1 */
 	overflow: visible;
 }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

 button,
 select { /* 1 */
 	text-transform: none;
 }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

 button,
 [type="button"],
 [type="reset"],
 [type="submit"] {
 	-webkit-appearance: button;
 }

/**
 * Remove the inner border and padding in Firefox.
 */

 button::-moz-focus-inner,
 [type="button"]::-moz-focus-inner,
 [type="reset"]::-moz-focus-inner,
 [type="submit"]::-moz-focus-inner {
 	border-style: none;
 	padding: 0;
 }

/**
 * Restore the focus styles unset by the previous rule.
 */

 button:-moz-focusring,
 [type="button"]:-moz-focusring,
 [type="reset"]:-moz-focusring,
 [type="submit"]:-moz-focusring {
 	outline: 1px dotted ButtonText;
 }

/**
 * Correct the padding in Firefox.
 */

 fieldset {
 	padding: 0.35em 0.75em 0.625em;
 }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

 legend {
 	box-sizing: border-box; /* 1 */
 	color: inherit; /* 2 */
 	display: table; /* 1 */
 	max-width: 100%; /* 1 */
 	padding: 0; /* 3 */
 	white-space: normal; /* 1 */
 }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

 progress {
 	vertical-align: baseline;
 }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

 textarea {
 	overflow: auto;
 }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

 [type="checkbox"],
 [type="radio"] {
 	box-sizing: border-box; /* 1 */
 	padding: 0; /* 2 */
 }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

 [type="number"]::-webkit-inner-spin-button,
 [type="number"]::-webkit-outer-spin-button {
 	height: auto;
 }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

 [type="search"] {
 	-webkit-appearance: textfield; /* 1 */
 	outline-offset: -2px; /* 2 */
 }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

 [type="search"]::-webkit-search-decoration {
 	-webkit-appearance: none;
 }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

 ::-webkit-file-upload-button {
 	-webkit-appearance: button; /* 1 */
 	font: inherit; /* 2 */
 }

/* Interactive
========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

 details {
 	display: block;
 }

/*
 * Add the correct display in all browsers.
 */

 summary {
 	display: list-item;
 }

/* Misc
========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

 template {
 	display: none;
 }

/**
 * Add the correct display in IE 10.
 */

 [hidden] {
 	display: none;
 }

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 700;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	padding: 10px 0 1px 12px;
	border-left: 2px solid #ec1b23;
}

blockquote p {
	font-weight: 600;
	margin-bottom: 1rem;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}


body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	padding: 0;
	margin: 0;

}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
label {
	display: initial;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
	height: 40px;
	width: 100%;
	padding: 0 15px;
}

textarea {
	height: 200px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
textarea:focus,
.form-control:focus {
	box-shadow: none;
	outline: none;
}

button, input[type="button"], 
input[type="reset"], 
input[type="submit"],
.btn {
	background-color: #333333;
	border: none;
	color: #ffffff;
	padding: 6px 15px;
    font-size: 16px;
    display: inline-block;
}

button:hover, input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover,
.btn:hover {
	background-color: #ec1b24;
	color: #ffffff;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
	padding: 5px 15px;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header-top {
	background-color: #f9f9f9;
}

.site-header .widget-area,
.site-header .widget-area .widget {
	padding: 0;
	background-color: transparent;
	border: none;
}

.site-header .widget_social_media,
.site-header .widget_search {
	margin: 10px 0;
	padding-right: 0;
}

.widget_social_media ul {
	margin: 0;
	padding: 0;
}

.widget_social_media ul li {
	display: inline-block;
	list-style: none;
	margin: 2px 3px;
}

.widget_social_media li a {
	display: inline-block;
}

.widget_social_media ul li a i {
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	-webkit-border-radius: 18px;
	border-radius: 18px;
	color: #ffffff;
	display: inline-block;
	width: 36px;
	height: 36px;
	line-height: 34px;
	text-align: center;
	opacity: 0.9;
}

.widget_social_media ul li a:hover i {
	opacity: 1;
}

.widget_social_media ul li a i.fa-facebook {
	background-color: #395a88;
}

.widget_social_media ul li a i.fa-twitter {
	background-color: #55aef0;
}

.widget_social_media ul li a i.fa-linkedin {
	background-color: #0973ad;
}

.widget_social_media ul li a i.fa-dribbble {
	background-color: #eb4b89;
}

.widget_social_media ul li a i.fa-google-plus {
	background-color: #da4d3a;
}

.widget_social_media ul li a i.fa-youtube {
	background-color: #f42621;
}

.site-branding {
	margin: 0 auto;
	padding: 10px 0;
	display: inline-block;
}

.custom-logo-link {
	display: inline-block;
	float: left;
	margin-right: 15px;
}

.site-identity {
	display: inline-block;
	text-align: left;
}

.site-identity .site-title {
	font-size: 28px;
	font-weight: bold;
	margin: 5px 0;
	line-height: 32px;
}


.site-identity .site-description {
	font-size: 16px;
	margin: 0;
}

.site-branding img {
	display: block;
	max-width: 100px;
	height: auto;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
 a,
 a:visited {
 	color: #666666;
 }

 a:hover,
 a:active {
 	color: #ec1b24;
 	text-decoration: none;
 }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	width: 100%;
	padding: 0;
}

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

.main-navigation ul ul {
	box-shadow: none;
	float: left;
	padding: 0;
}

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

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
	top: 0;
}

.main-navigation ul ul li > a {
	padding: 8px 12px;
	border-bottom: 1px solid #dddddd;
}

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

.main-navigation > li {
	float: left;
	position: relative;
}

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

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

.main-navigation .navbar-toggler {
	background-color: transparent;
	outline: none;
	border: none;
	cursor: pointer;
	display: block;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 8px 0;
}

.main-navigation .navbar-toggler strong {
	float: left;
}

.main-navigation .navbar-toggler:hover {
	background-color: transparent;
}

.main-navigation .navbar-toggler:focus {
	outline: none;
}

.main-navigation .navbar-toggler span {
	border-radius: 3px;
	width: 28px;
	height: 3px;
	background-color: #ffffff;
	display: block;
	margin: 5px 0;
	-moz-transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	transition: all ease-in-out 0.3s;
}

.main-navigation .navbar-toggler.toggle span:nth-child(1) {
	display: none;
	opacity: 0;
}

.main-navigation .navbar-toggler.toggle span:nth-child(2) {
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin: -3px 0;
}

.main-navigation .navbar-toggler.toggle span:nth-child(3) {
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin: -3px 0;
}

.main-navigation .navbar-collapse {
	background-color: #50565d;
	display: none;
	position: absolute;
	width: 100%;
	left: 0;
	top: 43px;
	margin: 0;
	z-index: 9999;
}

.main-navigation.nav-center .navbar-nav {
	display: block;
}

.main-navigation .navbar-nav > li > a.nav-link {
	border-bottom: 1px solid #666666;
	color: #ffffff;
	padding: 10px 15px;
}

.main-navigation .navbar-nav > li.dropdown
.main-navigation .navbar-nav .current-menu-item > .nav-link {
	background-color: #ec1b23;
}

.main-navigation .navbar-nav > li.dropdown > a {
	padding-right: 20px;

}

.main-navigation .navbar-nav li.dropdown > span.menu-toggle-icon {
	width: 36px;
	border-left: 1px solid #666666;
	position: absolute;
	right: 0;
	top: 0;
	height: 45px;
}

.main-navigation .navbar-nav ul.dropdown-menu li.dropdown > span.menu-toggle-icon {
	border-color: #cccccc;
	height: 40px;
}

.main-navigation .navbar-nav ul.dropdown-menu li.dropdown > span.menu-toggle-icon:after {
	border-top-color: #666666;
}

.main-navigation .navbar-nav li.dropdown > span.menu-toggle-icon:after {
	content: "";
	border-top: 5px solid #ffffff;
	border-right: 5px solid transparent;
	border-bottom: 0;
	border-left: 5px solid transparent;
	position: absolute;
	top: calc(50% - 5px);
	right: 12px;
	cursor: pointer;
	-moz-transition: transform ease-in-out 0.3s;
	-webkit-transition: transform ease-in-out 0.3s;
	transition: transform ease-in-out 0.3s;
}

span.menu-toggle-icon.rotate:after {
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

.main-navigation .navbar-nav > li.dropdown > a:after {
	content: "";
	border-top: 5px solid;
	border-right: 5px solid transparent;
	border-bottom: 0;
	border-left: 5px solid transparent;
	position: absolute;
	top: calc(50% - 5px);
	right: 5px;
	display: none;
}

.main-navigation .navbar-nav > li:hover > a {
	color: rgba(255, 255, 255, .75);
}

.dropdown-menu {
	border: none;
	border-radius: 0 0 3px 3px;
	background: #ffffff;
	box-shadow: 0 5px 10px rgba(0,0,0, 0.2);
	display: block;
	padding: 0;
	padding: 8px 5px;
	margin: 0;
	top: calc(100% + 10px);
	visibility: hidden;
	-webkit-transition: all ease-in-out 0.05s;
	transition: all ease-in-out 0.05s;
}

.dropdown-menu a {
	color: #333333;
}

.dropdown-menu > li:hover > a,
.dropdown-menu a:hover,
.dropdown-menu a.active {
	color: #ec1b23;
	text-decoration: none;
	background-color: transparent;
}

.dropdown-menu .dropdown > .dropdown-item:after {
	content: "";
	border-left: 5px solid;
	border-top: 5px solid transparent;
	border-right: 0;
	border-bottom: 5px solid transparent;
	position: absolute;
	top: calc(50% - 5px);
	right: 5px;
	display: none;
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0;
	/* Make sure select elements fit in widgets. */
}

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

.widget:after {
	content: "";
	display: block;
	clear: both;
}

.widget-area .widget {
	background-color: #f9f9f9;
	border-radius: 3px;
	border: 1px solid #dddddd;
	padding: 10px 15px;
	margin-bottom: 20px;
}

.widget-area .widget ul {
	list-style: none;
}

.site-header .widget-area .widget {
	margin: 10px 0;
}

.widget .widget-title {
	font-size: 1.25rem;
}

.widget_search {
	background-color: #ffffff;
	border-radius: 3px;
}

.site-header .widget_search,
.search-form {
	max-width: 400px;
	float: right;
}

.search-form {
	float: none;
}

.search-form label,
.widget_search label {
	border: 1px solid #dddddd;
	border-radius: 3px 0 0 3px;
	width: calc(100% - 40px);
	float: left;
	margin: 0;
}

.search-form label input[type="search"],
.search-form label input[type="text"],
.widget_search label input[type="search"],
.widget_search label input[type="text"] {
	width: 100%;
	border: none;
	border-radius: 3px 0 0 3px;
	height: 40px;
	margin: 0;
	padding: 0 10px;
}

.widget_search input[type="submit"],
.search-form  input[type="submit"] {
	background-image: url("assets/images/search-icon.png");
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: 5px center;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-left: none;
	border-radius: 0 3px 3px 0;
	font-size: 0;
	float: right;
	height: 42px;
	width: 40px;
	padding: 0;
}

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

.sticky-post {
	background-color: #ec1b23;
	color: #ffffff;
	display: inline-block;
	padding: 2px 10px;
	margin-bottom: 10px;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.page {
	margin-bottom: 0;
}

.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;
}

.content-area {
	margin-bottom: 30px;
}

.site-content {
	padding: 30px 0;
}

.site-info {
	text-align: center;
}

.site-info span,
.site-info a {
	color: #999999;
	font-size: 0.875rem;
}

.entry-header .posted-on {
	padding-right: 5px;
	margin-right: 5px;
}

.page-header {
	border-bottom: 2px solid #ec1b23;
	margin-bottom: 15px;
}

h1.entry-title {
	font-size: 1.75rem;
}

h2.entry-title {
	font-size: 1.5rem;
}

.entry-title a {
	color: #333333;
	text-decoration: none;
}

.entry-title a:hover {
	color: #ec1b24;
}

.comments-area {
	background-color: #f9f9f9;
	border: 1px solid #dddddd;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 10px 15px;
}

article.post {
	border-bottom: 1px solid #dddddd;
	padding-bottom: 20px;
}
article.post.grid-post-item {
	border: none;
	padding-bottom: 0;
	margin-bottom: 30px;
}

.post.grid-post-item .entry-image {
	margin-bottom: 0;
}

.post a {
	color: #666666;
}

.post a.btn {
	color: #ffffff;
}

.post a:hover {
	color: #ec1b24;
}

.post a.btn:hover {
	color: #ffffff;
}

.post .entry-header,
.post .entry-image {
	margin-bottom: 15px;
}
.post.grid-post-item .entry-content {
	padding: 10px;
	margin: 0;
	border: 1px solid #dddddd;
}
.post.grid-post-item .entry-content p {
	margin-bottom: 10px;
	font-size: 0.875rem;
}
.post.grid-post-item .entry-title {
	font-size: 1rem;
}
.post .entry-header .entry-title a {
	color: #333333;
}

.post .entry-header .entry-title a:hover {
	color: #ec1b24;
}

.entry-footer span {
	display: inline-block;
	line-height: 16px;
	padding-right: 8px;
}

.widget ul li {
	padding: 5px 0;
}

.widget ul li a {
	color: #666666;
}

.widget ul li a:hover {
	color: #ec1b24;
}

.comments-title {
	font-size: 20px;
}

.comment-list {
	list-style: none; 
}

.comment-list .comment  {
	padding: 10px 0;
}

.comment-author {
	display: flex;
	-webkit-display: flex;
	align-items: center;
	flex-flow: row wrap;
}

.comment-author .avatar {
	height: 40px;
	width: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

.comment-author b {
	margin-right: 10px;
}

.comment-content {
	padding top: 10px;
}

.comment-metadata,
.comment-content,
.comments-area .reply {
	padding-left: 50px;
}

.comment-list li {
	border-bottom: 1px solid #dddddd;
	padding: 10px;
}

.comment-list li:last-child {
	border-bottom: none;
}

.comment-respond {
	border-radius: 5px;
	background-color: #dddddd;
	padding: 15px;
	margin: 10px 0;
}

.comment-list li .comment-respond {
	margin-left: 50px;
}

.comment-reply-title {
	font-size: 18px;
}

.comment-reply-title small {
	float: right;
}

.comment-form label {
	width: 100%;
	float: none;
}

.comment-form input,
.comment-form textarea,
.comment-form select {
	width: 100%;
}

.comment-form input[type="checkbox"],
.comment-form input[type="radio"],
.comment-form input[type="submit"],
.comment-form input[type="reset"] {
	width: auto;
}

.comment-form input[type="checkbox"],
.comment-form input[type="radio"] {
	float: left;
	margin-right: 10px;
	height: 24px;
	width: 20px;
}

.comment-form-cookies-consent label {
	width: auto;
}

.nav-links a {
	font-size: 16px;
	font-weight: 500;
}

.page-title {
	font-size: 1.75rem;
}

.widget-title,
.entry-title {
	margin-bottom: 10px;
	position: relative;
	padding-bottom: 10px;
}

.widget-title:after,
.entry-title:after {
	content: "";
	background-color: #ec1b23;
	position: absolute;
	width: 70px;
	height: 1px;
	left: 0;
	bottom: 0;
}

article.page footer.entry-footer {
	border-top: 1px solid #dddddd;
	padding: 10px 0;
}

.entry-content ul,
.entry-content ol {
	margin-left: 20px;
	margin-bottom: 1rem;
}

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* 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;
}

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer .footer-top {
	background-color: #343a40;
	padding-top: 30px;
}

.site-footer .footer-bottom {
	background-color: #2c3033;
	padding: 20px 0;
}

.site-footer .widget {
	padding-right: 10px;
	color: #999999;
	margin-bottom: 20px;
}

.site-footer .widget a {
	color: #999999;
} 

.site-footer .widget ul,
.site-footer .widget ol {
	list-style: none;
}

.site-footer .widget-title {
	color: #ffffff;
}

/*--------------------------------------------------------------
## Responsive media queries
--------------------------------------------------------------*/
@media only screen and (max-width: 63.9375em) {
	.container {
		width: 100%;
		max-width: none;
	}

	.site-header .widget {
		text-align: center;
	}

	.site-header .widget.widget_search {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (min-width: 48em) {
	.main-navigation.nav-center .navbar-nav {
		justify-content: center;
		width: 100%;
	} 

	.main-navigation.navbar-expand-md .navbar-collapse {
		display: none;
	}

	.main-navigation .navbar-collapse {
		background-color: transparent;
		visibility: visible;
		position: relative;
		top: 0;
		left: 0;
	}

	.main-navigation.nav-center .navbar-nav {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.main-navigation .navbar-toggler {
		display: none;
	}

	.main-navigation .navbar-nav > li > a.nav-link {
		border-bottom: none;
	}

	.main-navigation ul ul li:last-child > a {
		border-bottom: none;
	} 

	.main-navigation .navbar-nav > li.dropdown > a:after,
	.dropdown-menu .dropdown > .dropdown-item:after {
		display: block;
	}

	.main-navigation .navbar-nav li.dropdown > span.menu-toggle-icon {
		display: none;
	}

	.dropdown:hover > .dropdown-menu {
		top: 100%;
		visibility: visible;
	}

	.dropdown-menu .dropdown:hover > .dropdown-menu {
		top: 0;
	}

	.main-navigation.nav-center .navbar-nav .dropdown:hover > .dropdown-menu,
	.main-navigation.nav-center .navbar-nav .dropdown.show:hover > .dropdown-menu {
		visibility: visible;
	}

	.main-navigation ul ul {
		border: 1px solid #dddddd;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 99999;
	}
}

@media only screen and (max-width: 47.9375em) {
	.main-navigation .container {
		padding: 0 10px 0 10px;
	}

	.main-navigation .navbar-nav {
		border-top: 1px solid rgba(255,255,255, 0.2)
	}

	.dropdown-menu {
		visibility: visible;
		display: none;
		box-shadow: none;
		border-radius: 0;
	}
}
@media only screen and (max-width: 35.4375em) {
	.site-branding {
		display: block;
		text-align: center;
	}

	.custom-logo-link {
		display: block;
		float: none;
	}

	.site-branding img {
		display: inline-block;
	}

	.site-identity {
		display: inline-block;
		text-align: center;
	}
}
.carousel-caption {
	color : #000;
	background-color: rgba(255,255,255,0.8);
}
.menu-item-has-children.focus  ul.dropdown-menu {
	display: block;
	visibility: visible;
}