/**
 * Theme Name:  eSport
 * Description: jwa theme for eSport
 *
 * Theme URI: http://www.justwebagency.com/
 * Author:      Alex L
 * Author URI:  https://gitlab.com/AlsconWeb
 *
 * Tags:        esport, blog, table
 * Text Domain: esport
 *
 * License:      GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Version:     1.0
 */
.nav-links .page-numbers.prev {
	order: 0;
}

.nav-links .page-numbers.next {
	order: 2;
}

.nav-links > *:not(.next):not(.prev) {
	order: 1;
}

.nav-links .page-numbers.next.not_active,
.nav-links .page-numbers.prev.not_active {
	pointer-events: none;
}

body.admin-bar header {
	margin-top: 32px;
}

.category_widget .items {
	display: flex;
}

.category_widget .items .item {
	width: 33%;
}

.category_widget .items .item img {
	width: 100%;
}

h1.page_title + .posts {
	margin-top: 0;
}

h1.page_title {
	font-size: 28px;
	font-weight: 700;
	font-family: Lato, sans-serif;
	color: #130717;
	margin-bottom: 25px;
	text-align: left;
}

body.black_theme_active h1.page_title {
	color: white;
}


/* CSS corections 30.03.2020 */
.news.style_four .items {
	justify-content: space-between;
}

.news.style_four .items .news_left_block,
.news.style_four .items .news_right_block {
	width: calc(50% - 20px);
}

.news.style_four .items .news_left_block .item .description:before,
.news.style_four .items .news_right_block .item .description:before {
	display: none;
}

/* LEFT BLOCK styles */
.news.style_four .items .news_left_block .item {
	margin-top: 0px;
	border: none;
}

.news.style_four .items .news_left_block .item > a {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
}

.news.style_four .items .news_left_block .item > a img {
	width: 100% !important;
	height: auto;
	max-width: -webkit-fill-available;
	max-width: -moz-available;
	max-width: fill-available;
}

.news.style_four .items .news_left_block .item .description {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	padding: 15px 0px;
}

.news.style_four .items .news_left_block .item .description .tags,
.news.style_four .items .news_left_block .item .description h3 {
	margin-bottom: 10px;
}

/* RIGHT BLOCK styles */
.news.style_four .items .news_right_block {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.news.style_four .items .news_right_block .item {
	margin-top: 0px;
	width: calc(50% - 20px);
	border: none;
	margin-right: 0px;
}

.news.style_four .items .news_right_block .item > a {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	margin-bottom: 0px;
}

.news.style_four .items .news_right_block .item > a img {
	width: 100% !important;
}

.news.style_four .items .news_right_block .item .description {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	padding: 10px 0px;
}

.news.style_four .items .news_right_block .item .description .tags {
	padding: 0px 0px 0px;
	margin: 0px;
}

.news.style_four .items .news_right_block .item .description .tags li {
	margin-bottom: 5px;
}

.news.style_four .items .news_right_block .item .description h3,
.news.style_four .items .news_right_block .item .description h3 a {
	font-size: 20px;
}

.related-news div.items .item:first-of-type > a {
	margin-bottom: 10px;
}

.content figure figcaption {
	margin-top: 0px;
}

.results div.item > a {
	display: block;
}

/* #762994 */

footer .middle-block {
	padding-top: 20px;
	padding-bottom: 20px;

}

footer .middle-block .footer_menu ul:not(.sub-menu) {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

footer .middle-block .footer_menu li {
	width: auto;
	list-style: none;
	margin-left: 10px;
	margin-right: 10px;
	margin: 0px 10px;
}

footer .middle-block .menu > li > a {
	display: inline-block;
	padding: 10px 0;
}

footer .middle-block .footer_menu a {
	font-size: 16px;
	font-weight: 700;
	font-family: Lato, sans-serif;
	color: white;
	text-decoration: none;
	opacity: 1;
	transition: opacity .3s;
}

footer .middle-block .footer_menu li:hover > a {
	opacity: 0.5;
}

.form_widget {
	background: #F4F4F4;
	border: 1px solid #E9E0EC;
	box-sizing: border-box;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.05);
	padding: 30px 25px 55px;
}

.form_widget h3 {
	text-align: center;
}

.form_widget input:not([type="submit"]) {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	margin-bottom: 14px;
	padding: 16px 15px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: Lato;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 150%;
	color: black;
	background: #FFFFFF;
	border: 1px solid #E9E0EC;
	box-sizing: border-box;
}

.form_widget input[type="submit"] {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 16px;
	text-align: center;
	background: #A64AC9;
	text-transform: uppercase;
	font-family: Lato;
	font-style: normal;
	font-weight: bold;
	font-size: 14px;
	line-height: 150%;
	text-align: center;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-top: 9px;
	transition: background .3s;
}

.form_widget input[type="submit"]:hover {
	background: #762994;
}

body.black_theme_active .black_theme_logo,
body:not(.black_theme_active) .white_theme_logo {
	display: block !important;
}

body.black_theme_active .white_theme_logo,
body:not(.black_theme_active) .black_theme_logo {
	display: none !important;
}

body.black_theme_active .post .content ul:not(.tags):not(.blocks-gallery-grid) li {
	color: white;
	position: relative;
	padding-left: 20px;
}

body.black_theme_active .post .content p.image-caption {
	background: #2a172f;
}

body.black_theme_active .post .content figcaption {
	color: white;
}

body.black_theme_active .sidebar .post-min {
	border: 1px solid transparent;
}

body.black_theme_active h3 {
	color: white;
}

.bottom-header form#searchform {
	margin-top: 0px;
}

.post .content iframe {
	max-width: -webkit-fill-available;
	max-width: -moz-available;
	max-width: fill-available;
}

ul.quadmenu-navbar-nav > li.quadmenu-item > a > span > span.quadmenu-caret {
	display: none;
}


footer .top-block div[role="form"] {
	width: 100%;
	max-width: 1040px;
}

footer .top-block form {
	height: 100%;
	justify-content: center;
	position: relative;
}

footer .top-block .input {
	max-width: calc((100% - 80px) / 3);
}

footer .top-block .input:nth-of-type(4) {
	margin-right: 0;
}

footer .top-block .input .ajax-loader {
	display: none !important;
}

footer .top-block .wpcf7-response-output {
	color: white;
	margin: 5px 10px;
}

.form_widget .wpcf7-response-output {
	margin: 5px;
}

a.top_link {
	position: fixed;
	bottom: -60px;
	right: 20px;
	z-index: 2;
	box-shadow: 0px 3px 2px 1px #0000001f;
	border-radius: 20px;
	width: 40px;
	height: 40px;
	transition: box-shadow .3s, bottom 1s;
}

a.top_link svg {
	width: 40px;
	height: 40px;
}

a.top_link.show {
	bottom: 20px;
}

.hide_menu_item {
	display: none !important;
}

.news .items img {
	height: auto;
}

.padd15 {
	padding-left: 15px;
	padding-right: 15px;
}

#menu-category {
	justify-content: center;
}

.widget_posts {
	margin-top: 26px;
}

.nav-links .page-numbers.prev.not_active,
.nav-links .page-numbers.next.not_active {
	opacity: .5;
}

div.wpcf7-mail-sent-ok {
	border: navajowhite;
	position: absolute;
	bottom: 0;
	left: 6px;
	color: #398f14 !important;
	font-size: 16px;
	padding: 0;
	margin: 0 !important;
}


.contact_form_page {
	max-width: 750px;
	margin: 0 auto;
	width: -webkit-fill-available;
}

.contact_form_page .vc_column_container > .vc_column-inner {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
}

.contact_form_page .vc_row {
	margin: 0px;
	padding: 0px;
}

.contact_form_page .ajax-loader {
	display: none !important;
}

.contact_form_page {
	padding: 40px 0 40px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.contact_form_page h1 {
	margin-bottom: 0;
	font-family: Lato, sans-serif;
}

.contact_form_page h4 {
	color: #130717;
	font-size: 24px;
	font-weight: 700;
	font-family: Lato, sans-serif;
}

.advertise_form {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.advertise_form_inner {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	position: relative;
}

.advertise_form_inner > p {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	text-align: center;
	display: flex;
	justify-content: center;
}

.advertise_form .input50 {
	width: calc(50% - 20px);
	margin: 0px 10px 20px;
}

.advertise_form .input100 {
	width: calc(100% - 20px);
	margin: 0px 10px 20px;
}

.advertise_form .input100 textarea {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	height: 130px;
	padding: 13px 15px;
	font-family: Lato, sans-serif;
	font-size: 16px;
	color: black;
	border: 1px solid #00000052;
	resize: none;
}

.advertise_form .input50 input {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	height: 40px;
	padding: 0px 15px;
	font-family: Lato, sans-serif;
	font-size: 16px;
	color: black;
	border: 1px solid #00000052;
}

.advertise_form input[type="submit"] {
	margin: 0px;
	max-width: 300px;
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	min-width: 200px;
}


/* COMMENTS */
.comment_form_wrapper {
	background: #F3F3F3;
}

.comment_list_wrapper #respond.comment-respond {
	background: #F3F3F3;
	padding: 35px 0px 71px;
}

.comment_list_wrapper #respond.comment-respond {
	padding: 35px 15px;
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	margin-bottom: 30px;
}

.comment_form_wrapper #respond {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	max-width: 675px;
	padding: 35px 0px 71px;
}

.comment_form_wrapper #commentform input:not([type="submit"]):not([type="checkbox"]),
.comment_list_wrapper #respond.comment-respond input:not([type="submit"]):not([type="checkbox"]),
.comment_form_wrapper #commentform textarea,
.comment_list_wrapper #respond.comment-respond textarea {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #FFFFFF;
	border: 1px solid #E9E0EC;
	box-sizing: border-box;
	padding: 17px 22px 19px;
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 150%;
	color: black;
}

.comment_form_wrapper #commentform textarea,
.comment_list_wrapper #respond.comment-respond textarea {
	height: 122px;
	resize: none;
}

.comment_form_wrapper #commentform input[type="submit"],
.comment_list_wrapper #respond.comment-respond input[type="submit"] {
	background: #A64AC9;
	padding: 18px 68px;
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 16px;
	line-height: 150%;
	text-align: center;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #FFFFFF;
	transition: background .3s;
	border: none;
}

.comment_form_wrapper #commentform input[type="submit"]:hover,
.comment_list_wrapper #respond.comment-respond input[type="submit"]:hover {
	background: #762994;

}

.comment_form_wrapper #commentform > p,
.comment_list_wrapper #respond.comment-respond form > p {
	margin-bottom: 18px;
}

.comment_form_wrapper #reply-title,
.comment_list_wrapper #respond.comment-respond #reply-title {
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 36px;
	line-height: 125%;
	color: #130717;
	margin: 0px 0px 47px;
}

.comment_list_wrapper #respond.comment-respond #reply-title a {
	font-size: 22px;
}

.comment_list_wrapper h2.comments-title {
	margin: 40px 0px 41px;
	display: inline-block;
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 36px;
	line-height: 125%;
	color: #130717;
}

.comment_list_wrapper h2.comments-title span {
	font-size: 18px;
	display: inline-block;
	margin: 0px;
	padding: 0px;
}

.comment_list_wrapper h2.comments-title span:before {
	content: none;
}

.comment_form_wrapper .post,
.comment_list_wrapper .post {
	padding: 0px;
}

.comment_form_wrapper #commentform > p.comment-form-cookies-consent,
.comment_list_wrapper #respond.comment-respond form > p.comment-form-cookies-consent {
	display: none;
}

.comment_list_wrapper .comment-list .comment {
	position: relative;
	margin-left: calc(100% / 26.6);
}

.comment_list_wrapper .comment-list .comment .replied_comment {
	display: none;
}

.comment_list_wrapper .comment-list .comment .comment-author {
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 18px;
	line-height: 187.5%;
	color: #161B35;
	margin-bottom: 7px;
}

.comment_list_wrapper .comment-list .comment .comment-text {
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 187.5%;
	color: #161B35;
}

.comment_list_wrapper .comment-list .comment .comment-text p:last-child {
	margin-bottom: 0px
}

.comment_list_wrapper .comment-list .comment .reply {
	text-align: right;
}

.comment_list_wrapper .comment-list .comment .reply a {
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 187.5%;
	color: #7E7E7E;
	margin-left: 0px;
}

.comment_list_wrapper .comment-list .comment.depth-1 {
	position: relative;
	margin-left: 0px;
}

.comment_list_wrapper .comment-list .comment > div:first-child {
	padding: 22px 42px 19px 28px;
	background: #F3F3F3;
	margin-bottom: 30px;

}

.comment_list_wrapper .hide_replies {
	margin-top: -20px;
	margin-bottom: 10px;
	font-family: Lato, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 28px;
	text-align: justify;
	color: #979797;
	margin-left: calc(100% / 26.6);
	padding-left: 44px;
	position: relative;
	cursor: pointer;
}

.comment_list_wrapper .hide_replies:before {
	content: '';
	display: block;
	position: absolute;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	border: 1px solid #979797;
}

.comment_list_wrapper .span.comment-date {
	font-size: 14px;
	opacity: .5;
	margin: 0px 9px;
}

/* black theme comments */
body.black_theme_active .comment_form_wrapper,
body.black_theme_active .comment_list_wrapper #respond.comment-respond {
	background: #2a172f;
}

body.black_theme_active .comment_form_wrapper #reply-title,
body.black_theme_active .comment_list_wrapper #respond.comment-respond #reply-title {
	color: white;
}

body.black_theme_active .comment_list_wrapper .comment-list .comment > div:first-child {
	background: #2a172e;
}

body.black_theme_active .comment_list_wrapper .comment-list .comment .comment-author,
body.black_theme_active .comment_list_wrapper h2.comments-title {
	color: white;
}

.posts .bottom-block .item a img,
.posts .bottom-block .item a {
	margin-bottom: 0;
}

.posts .bottom-block .item h3 {
	font-size: 20px;
	margin-top: 10px;
}

.contact_form_page div.wpcf7-mail-sent-ok {
	right: 0;
	text-align: center;
	bottom: -25px;
}

.posts .bottom-block .item:nth-of-type(-n+3) {
	margin-top: 0;
}

.screen-reader-only {
	margin: 0;
	padding: 0;
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	text-indent: -9999em;
	text-align: left;
	overflow: hidden;
}

.quadmenu-container {
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}

footer .middle-block {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.posts .textwidget {
	width: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 25px;
}

.posts .textwidget ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.home .posts{
	margin-bottom: 25px;
}
.posts .textwidget ul li {
	width: calc((100% - 30px) / 4);
	margin-right: 10px;
	margin-bottom: 10px;
}

.posts .textwidget ul li:nth-of-type(4n) {
	margin-right: 0;
}

.sidebar-post .wpb_single_image {
	margin-bottom: 15px !important;
}

.posts .textwidget ul li img {
	margin-bottom: 0;
	transition: all 0.3s linear;
}

.posts .textwidget ul li:hover img {
	transform: scale(1.1);
}

.posts .textwidget ul li a {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sidebar-post .wpb_single_image {
	overflow: hidden;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
}

.sidebar-post .wpb_single_image:hover img {
	transform: scale(1.1);
}

.sidebar-post .wpb_single_image img {
	transition: all 0.3s linear;
}
.search .results .item:first-of-type{
	margin-top: 0;
}
.search .results .item ul.tags li{
	margin-top: 0;
	margin-bottom: 5px;
}
.search .results .item .tags{
	margin-top: 0;
}
body.search .sidebar,
body.search section .content{
	margin-top: 0;
	padding-top: 0; 
}
.sidebar .wpcf7{
	position: relative;
}
.form_widget{
	margin-top: 100px;
	padding: 100px 25px 55px;
}
.sidebar .wpcf7 .top-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: translateY(calc(-100% - 100px));
}
/* responsive */
@media only screen and (min-width: 768px) {
	.bottom-header .search input[type="text"] {
		position: absolute;
	}

	.bottom-header .search.open input[type="text"] {
		position: absolute;
		right: 0px;
		width: 300px;
		z-index: 10000;
	}

	.bottom-header form#searchform {
		width: auto;
		height: 46px;
		width: 55px;
		/* margin: 0px; */
	}

	.bottom-header .search button {
		z-index: 10001;
	}

}

@media only screen and (max-width: 579px) {
	.news.style_four .items {
		flex-wrap: wrap;
	}

	.news.style_four .items .news_right_block .item .description h3,
	.news.style_four .items .news_right_block .item .description h3 a {
		font-size: 20px;
	}

	.news.style_four .items .news_left_block,
	.news.style_four .items .news_right_block {
		width: -webkit-fill-available;
		width: -moz-available;
		width: fill-available;
	}

	.news.style_four .items .news_right_block .item {
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		margin-right: 0;
		width: -webkit-fill-available;
		width: -moz-available;
		width: fill-available;
		margin-bottom: 15px;
	}

section {
	padding-bottom: 20px;
	}
	.home .news .items .item:not(:first-of-type) > a {
		display: block;
	}

	.home .news .items .item:not(:first-of-type) > a img {
		height: auto;
		width: 100%;
	}

	.news.style_four .items .news_right_block .item > a img {
		width: -webkit-fill-available;
		width: -moz-available;
		width: fill-available;
		height: auto;
		width: 100%;
	}

	.home .posts .bottom-block .item > a,
	.home .posts .right-block div.item > a {
		display: block;
		position: relative;
		height: auto;
	}

	.breadcrumbs {
		display: none;
	}

	footer .bottom-block {
		padding-top: 5px;
	}

	footer .bottom-block .copyright {
		margin: 0px;

	}

	footer .copyright > p:first-child {
		margin: 0px auto;
	}
}



@media only screen and (max-width: 768px) {
	body:not(.home) .post .content {
		width: 100%;
		margin-right: 0;
	}

	section .sidebar {
		display: none;
	}

	.comment_form_wrapper #commentform input[type="submit"],
	.comment_list_wrapper #respond.comment-respond input[type="submit"] {
		padding-left: 10px;
		padding-right: 10px;
		width: -webkit-fill-available;
		width: -moz-available;
		width: fill-available;
		text-align: center;
	}

	.comment_form_wrapper #reply-title,
	.comment_list_wrapper #respond.comment-respond #reply-title {
		margin: 0px 0px 30px;
	}

	.comment_list_wrapper #respond.comment-respond #reply-title a {
		display: block;
	}
}

@media only screen and (max-width: 992px) {

	.news.style_four .items .news_left_block,
	.news.style_four .items .news_right_block {
		width: calc(100%);
	}

	footer .copyright > p:first-child {
		max-width: 300px;
	}
}

@media only screen and (max-width: 1429px) {

	.news .items div.item:first-of-type .description,
	.related-news .items div.item:first-of-type .description {
		padding: 30px 30px;
	}

	footer .top-block div[role="form"] {
		max-width: 770px;
	}
	header .burger{
		margin-right: 20px;
	}
	header .dfr > ul.menu {
		margin-left: 35px;
	}
	header .dfr > ul.menu:before{
		transform: translate(-20px, -50%);
	}
	.author-block{
		padding-right: 25px;
	}
}

@media only screen and (max-width: 1199px) {
	footer .top-block div[role="form"] {
		max-width: 630px;
	}

	header .dfr > ul.soc {
		margin: 0 15px 0 auto;
	}

	header .dfr > ul.menu a {
		font-size: 12px;
	}

	header .logo img {
		max-width: 200px;
	}

	footer .top-block .input {
		max-width: calc((100% - 30px) / 3);
	}

}

@media only screen and (max-width: 991px) {
	header .dfr > ul.menu {
    margin-left: 15px;
}
	footer .top-block div[role="form"] {
		max-width: 100%;
		margin-bottom: 20px;
	}

	#quadmenu {
		left: 0;
	}
}

@media only screen and (max-width: 767px) {
	.results .item{
		flex-direction: column;
	}
	.results .item > a,
	.results .item .description{
		width: 100%;
		padding-left: 0;
	}
	.results .item img {
		max-width: 100%;
	}
	header .dfr > ul.menu {
		margin: 0 -15px;
	}

	.sidebar-post .vc_single_image-wrapper img,
	.sidebar-post .vc_single_image-wrapper {
		width: 100%;
	}

	.bottom-header .search.open input[type="search"],
	.bottom-header .search.open input[type="text"] {
		width: 100vw;
		opacity: 1;
		display: block;
		right: auto;
	}

	.bottom-header .search button {
		width: 40px;
	}

	.bottom-header .logo img {
		max-width: 175px;
		margin-bottom: 4px;
		margin-top: 4px;
	}


	body.black_theme_active #quadmenu #quadmenu_0 {
		background: #2a172f;
	}

	.bottom-header form.search {
		max-width: 40px;
		margin-top: 0px;
		margin-right: 3px;
	}

	footer .top-block .input {
		max-width: 100%;
		width: 100%;
		margin-bottom: 10px;
	}

	.advertise_form .input100,
	.advertise_form .input50 {
		margin: 0px 0px 20px;
		width: 100%;
	}

	.advertise_form .input100 textarea,
	.advertise_form .input50 input {
		width: 100%;
	}
}


@media only screen and (min-width: 1025px) {
	footer .menu-item-has-children:hover .sub-menu {
		display: block;
	}
}

.subscribe .button {
	line-height: 30px !important;
}

#quadmenu {
	z-index: 3 !important;
}

ul.tags li.icon-user,
ul.tags li.icon-clock {
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}

ul.tags li.icon-user:before,
ul.tags li.icon-clock:before {
	margin-right: 5px;
}

.wpcf7-form-control.wpcf7-submit.button.purple {
	margin-bottom: 0;
}

div.wpcf7 .ajax-loader {
	display: none;
}

.modal-open:before {
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	content: '';
	z-index: 1;
}

#quadmenu .menu > li > a{
	font-weight: 700;
	font-size: 16px !important;
	font-family: Lato;
} 
#quadmenu .menu > li > a sub-menu a{
	font-size: 14px !important;
	line-height: 17px;
	color: #313131 !important;
	font-weight: 400; 
	font-family: Lato, sans-serif !important;
	text-transform: uppercase;
}
#quadmenu .menu > li > a sub-menu > li{
	margin-bottom: 10px;
}
#quadmenu.quadmenu-is-horizontal .quadmenu-navbar-collapse.in {
	overflow-y: auto;
}

header {
	position: relative;
	z-index: 1;
}

#quadmenu ul.sub-menu {
	padding-left: 10px;
	padding-top: 15px;
}
#quadmenu ul.sub-menu li {
    margin-bottom: 12px;
}

#quadmenu .widget ul ul li:first-child {
	border: none !important;
}

.select-options {
	position: absolute;
	z-index: 1;
	background: #fff;
	display: none;
	left: 0;
	right: 0;
	max-height: 320px;
	overflow-y: auto;
}

.select-options li {
	padding: 10px 15px;
}
.author-block{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	margin-bottom: 40px;
}
.author-block .left-block .avatar img{
	width: 91px;
	height: 91px;
	object-fit: cover;
	object-position: center;
}
.author-block .left-block .avatar{
	width: 91px;
	height: 91px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 30px;
}
.author-block .right-block h1{
	font-size: 38px;
	color: #161B35;
	font-weight: 700;
	font-family: Lato;
	text-align: left;
	margin-bottom: 10px;
}
.author-block .right-block p{
	font-size: 15px;
	line-height: 1.87;
	font-family: Lato;
	text-align: justify;
}
.post .content .author-block .right-block{
	padding-right: 50px;
}
.twitch{
	width: 100% !important;
}
.author-block .right-block .soc-author{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 0 0 auto;
}
.author-block .right-block .soc-author ul{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.author-block .right-block .soc-author li{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-left: 20px;
	position: relative;
	transition: all 0.3s ease;
}
.author-block + h2.page_title{
	font-size: 24px;
	padding-bottom: 10px;
}
.author-block .right-block .soc-author li a{
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	transform: translateY(-50%);
}
.author-block .right-block .soc-author li:hover:before{
	color: #a64ac9;
}
.author-block .right-block{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.post .author-block{
	background: #F3F3F3;
	border-left:9px solid #A64AC9;
	padding: 20px;
}

.EmbeddedTweet{
	max-width: 100% !important;
} 

.post .author-block strong{
	font-size: 18px;
	font-weight: 700;
	color: #161B35;
	font-family: Lato;
}
body.category .bottom-block{
	margin-bottom: 30px;
}
.post .related-news.full-width .items .item:hover strong a{
	color: #a64ac9;
} 

@media only screen and (max-width: 991px) {
	.author-block .left-block .avatar{
		margin-right: 15px; 
	}
}
@media only screen and (max-width: 579px) {
	.author-block{
		flex-direction: column;
		margin-bottom: 20px;
	}
	.author-block .left-block{
		margin: 0 auto 20px;
	}
	.author-block .right-block h1 {
		font-size: 30px;
	}
	.author-block .right-block .soc-author li{
		margin-left: 15px;
	}
}
@media only screen and (max-width: 679px) {
	section #searchform{
		flex-direction: column;
	}
	section #searchform .input{
		max-width: 100%;
		margin-bottom: 15px;
		margin-right: 0;
	}
	section #searchform .input, 
	section #searchform .select{
		width: 100%;
	}
	.post .content .author-block .right-block{
		padding-right: 0px;
	}
	.posts .textwidget ul li {
		width: calc((100% - 10px) / 2);
	}
	.posts .textwidget ul li:nth-of-type(2n){
		margin-right: 0;
	}
}
@media only screen and (max-width: 579px) {
	footer .top-block .input {
		max-width: 100%;
	}

	div.wpcf7-mail-sent-ok {
		bottom: -15px;
		left: 0px;
		right: 0;
		text-align: center;
	}

	header .dfr > ul.menu li a {
		font-size: 11px;
	}
}
