/*
Theme Name:     Herald Child
Theme URI:      http://mekshq.com
Description:    Child theme for the Herald theme
Author:         meks
Author URI:     http://mekshq.com
Template:       herald
Version:        0.1.0
*/

body {
	overflow-x: hidden;
	min-width: 320px;
}

.clear {
	float: none;
	clear: both;
}


.herald-cat-1017 {
	display: none !important;
}

.herald-ovrld .meta-category a, .herald-fa-wrapper .meta-category a {
	background-color: rgba(238, 27, 34, 0.5)
}

.herald-mod-head::after, .herald-mod-title .herald-color, .widget-title::after, .widget-title span {
	background-color: #ee1b22;
}

/* Featured Posts на главной */

@media only screen and (min-width : 767px) {
	.herald-no-sid .herald-fa-wrapper.herald-fa-3 .herald-fa-item, .herald-no-sid .herald-fa-wrapper.herald-fa-4 .herald-fa-item {
		height: 200px;
	}

	.herald-no-sid .herald-fa-wrapper.herald-fa-3 .herald-fa-item {
		width: 23%;
	}

	.herald-no-sid .herald-fa-wrapper.herald-fa-3 .herald-fa-grid, .herald-no-sid .herald-fa-wrapper.herald-fa-4 .herald-fa-grid, .herald-no-sid .herald-fa-wrapper.herald-fa-5 .herald-fa-item, .herald-no-sid .herald-fa-wrapper.herald-fa-5 {
		height: 400px;
	}

	.herald-no-sid .herald-fa-wrapper.herald-fa-3 .herald-fa-item:nth-of-type(1) {
	   width: 54%;
	}

	.home .herald-fa-item .entry-title a {
		height: 79px;
		overflow: hidden;
	}

	.home .herald-fa-item:nth-of-type(1) .entry-title a  {
		height: auto;
		overflow: auto;
	}

	.herald-fa-wrapper .entry-header {
		bottom: 10px;
	}
}

/* карусель на Главной */
.main_news_feed_carousel .herald-post-thumbnail.herald-format-icon-middle {
	max-height: 200px;
	overflow: hidden;
}

.main_news_feed_carousel h2.entry-title  a {
	display: block;
	max-height: 80px;
	overflow: hidden;
}
/* END карусель на Главной */
.herald-pagination .prev.page-numbers, .herald-pagination .next.page-numbers, .herald-pagination .prev.page-numbers:hover, .herald-pagination .next.page-numbers:hover, .herald-pagination .page-numbers.current, .herald-pagination .page-numbers.current:hover, .herald-next a, .herald-pagination .herald-next a:hover, .herald-prev a, .herald-pagination .herald-prev a:hover, .herald-load-more a, .herald-load-more a:hover, .entry-content .herald-search-submit, .herald-mod-desc .herald-search-submit, .wpcf7-submit {
	background-color: #ee1b22;
}

.herald-goto-top {
	background-color: #ee1b22;
}

.herald-sticky-prev a::before, .herald-sticky-next a::before, .herald-comment-action, .meta-tags span, .herald-entry-content .herald-link-pages a {
	background-color: #ee1b22;
}

/* Виджет Quiz And Survey Master Leaderboard Widget */
.quiz_leaderboard h2 {
	display: none;
}
/* END Виджет Quiz And Survey Master Leaderboard Widget */

#menu-footer .widget_recent_comments li::before, #menu-footer .widget_meta li::before, #menu-footer .widget_pages li::before, #menu-footer .widget_nav_menu li::before, #menu-footer .widget_rss li::before, #menu-footer .widget_archive li::before {
	display: none;
}
#menu-footer {
	list-style: none;
}
#menu-footer li {
	list-style: none;
	float: left;
	width: auto;
}

/* Widget Тесты и задачи */
.home #herald_posts_widget-4  .col-lg-4 {
	display: none;
}

#herald_posts_widget-4 .herald-no-pad {
	padding: 0;
}

#herald_posts_widget-4 .col-lg-8 {
	width: 100%;
	margin-left: 20px;
}

#herald_posts_widget-4 .col-lg-8 .entry-header {
	margin-right: 20px;
}

/* #herald_posts_widget-6 .entry-meta {
	text-align: right;
} */
/* End Widget Тесты и задачи */


/* Карусель Накази на Главной */
.home_prikaz .herald-lay-i .herald-post-thumbnail img {
	max-height: 200px;
}


#herald_posts_widget-3 img.attachment-herald-lay-b1 {
	width: 300px !important;
	height: 200px !important;
}

.misli_vsluh .herald-lay-i .entry-header .entry-title a {
	display: block;
	height: 85px;
	overflow: hidden;
}

.header-bottom {
	/* border-bottom: 2px solid #b30000; */
}

.the_freshest .herald-mod-head::after,
.the_freshest .herald-mod-title .herald-color {
	background-color: #E54E7E;
}

.main_news_feed_carousel .herald-mod-head::after,
.main_news_feed_carousel .herald-mod-title .herald-color {
	background-color: #607EC7;
}

.jur_cons .herald-mod-head::after,
.jur_cons .herald-mod-title .herald-color {
	background-color: #46C49C;
}

.our_abroad .herald-mod-head::after,
.our_abroad .herald-mod-title .herald-color {
	background-color: #F4B23F;
}

.questions_of_psychology .herald-mod-head::after,
.questions_of_psychology .herald-mod-title .herald-color {
	background-color: #607EC7;
}

.doctors_say .herald-mod-head::after,
.doctors_say .herald-mod-title .herald-color {
	background-color: #CA85CA;
}

.misli_vsluh .herald-mod-head::after,
.misli_vsluh .herald-mod-title .herald-color {
	background-color: #61C436;
}

.home_prikaz .herald-mod-head::after,
.home_prikaz .herald-mod-title .herald-color {
	background-color: #E54E7E;
}


/* Блок подбора релевантного контента */
.ush_block {
	width:100%;
	text-align:center;
	background-color: #F5F5F5;
	padding:5px;
	clear:both;
	float:none;
	margin-top:10px;
}

.ush_block h2 {
	text-align:center;
	padding:7px;
}

ul.ush_posts_list {
	list-style:none;
	padding: 0;
	margin: 0 auto 10px auto;
	padding-left:4%;
}

.ush_posts_list li {
	list-style:none;
	float:left;
	width:30%;
	position: relative;
	padding: 0;
	margin:0 1% 10px 1%;
	height: 160px;
	overflow:hidden;
}

.ush_posts_list li a {
	overflow-wrap: break-word;
	transition: all 0.1s linear 0s;
	text-decoration: none;
	color:#fff;
}

.ush_posts_list li a img {
	width: 100%;
}

.ush_posts_list li a.ush_img {
	display:block;
	width: 100%;
	float: left;
    position: relative;
	max-height: 160px;
	overflow:hidden;	
}

.ush_img_wrap::after {
    transition: all 0.2s ease-in-out 0s;
}

.ush_img_wrap::after {
    backface-visibility: hidden;
    background: #000000 none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.4;
    position: absolute;
    top: 0;
    transition: all 0.2s ease-in-out 0s;
    width: 100%;
}

.ush_img_wrap:hover::after  {
    opacity: 0.3;
}

.ush_img_wrap::after {
    transition: all 0.2s ease-in-out 0s;
}

.ush_img_wrap {
    display: block;
    float: left;
    overflow: hidden;
    width: 100%;
}

.ush_link_wrap {
	opacity: 1 !important;
    position: absolute !important;
    top: 5%;
}

.ush_link_wrap {
    color: #ffffff;
    display: block;
    float: left;
    opacity: 0;
    overflow-wrap: break-word;
    padding: 0 20px;
    position: absolute;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    width: 100%;
}

.ush_link_wrap a {
	display:block;
    font-size: 17px;
    line-height: 24px;
}

.ush_block .clear {
	float:none;
	clear:both;
}

.ush_category {
	font-size: 15px;
	width:auto;
	background-color:rgba(236, 29, 37, 0.5);
	margin-bottom:10px;
}

.ush_category a {
	font-size: 15px;
}

@media only screen and (max-width: 1024px) {
	.ush_link_wrap a {
		font-size: 15px;
		line-height: 20px;
	}
	.ush_posts_list li a.ush_img {
		max-height: 130px;
	}
	.ush_posts_list li {
		height: 130px;
	}
}

@media only screen and (max-width: 600px) {
	.ush_posts_list li {
		width:48%;
	}
	ul.ush_posts_list {
		padding-left:0;
	}
}

@media only screen and (max-width: 480px) {
	.ush_posts_list li {
		width:98%;
	}
	.ush_link_wrap a {
		font-size: 17px;
		line-height: 24px;
	}
}

/* Quizzes */

.qmn_quiz_container {
	background-color: #F5F5F5;
	padding: 20px;
}

form.qmn_quiz_form {
	color: #000;
}

.mlw_qmn_message_before {
	color: #000 !important;
}

.qmn_quiz_container h2, .quiz_leaderboard {
	text-align:center;
}

.qmn_check_answers, .qmn_radio_answers {
	padding-left: 19px;
	margin: 5px 0;
}

.qmn_radio_answers input[type="radio"] {
	vertical-align: top;
	margin-top: 5px;
}

.qmn_quiz_container .qmn_btn, .qmn_quiz_container .btn {
	background-color: #EC1D25 !important;
	border: 2px solid #b52b27 !important;
	padding: 10px;
	height: 50px;
}

.qmn_quiz_container .qmn_btn:hover, .qmn_quiz_container .btn:hover {
	background-color: #D61B22 !important;
}

.quiz_end .mlw_qmn_question {
	
}

.quiz_leaderboard {
	border: 5px dashed #EC1D25;
	padding-top: 20px;
}

.quiz_section input[type="text"], .quiz_section input[type="email"] {
	padding: 1px 8px 1px 8px !important;
	margin-left: 19px;
}

input[name="mlwUserName"] {
	border:1px solid red;
}

input[name="mlwUserName"]::before {
	content: "i";
}

/* article #loginform {
	display:none;
} */

/* CSS for WPAK Quiz Master Next AddOn */

.user_quiz_score {
	width: 100%;
	border: 2px solid #ededed;
}

.user_quiz_score th {
	text-align: center;
}

.user_quiz_score .score_qty {
	width: 20%;
	text-align: center;
}

.user_quiz_score td, .user_quiz_score th {
	border: 1px solid #ededed;
	padding: 5px 10px;
}

.user_quiz_score tr.total_score {
	font-weight: bold;
}

.widget_quiz_list img {
	float: left;
	margin: 3px 10px 3px 0;
	width: 75px;
}

.category-1043 #header-title {
	padding-bottom: 0px !important;
}

.category-1043 #header-title h1 {
	float: left;
	padding: 0 25px 25px 0;
}

.most_commented_widget {
	display: none;
}

.login_and_register_form_wrap .herald-mod-wrap .herald-mod-head:after {
	bottom: 6px;
}

.registration_custom_widget {
	text-align: center;
	border: 2px solid #EE1B22;
	padding: 10px;
}

.mks_adswidget_ul img {
	border: 1px solid #ebebeb;
}

.herald-entry-content blockquote {
	margin: 0 15px 0 0;
	padding: 0 30px 0 45px;
	border-right: 2px solid #ee1b22;
	position: relative;
}

.herald-entry-content blockquote p {
	font-size: 18px;
    font-style: italic;
    line-height: 26px;
    margin: 20px 0 40px 0;
    text-align: justify;
	color: #000;
}

.herald-entry-content blockquote::before, 
q::before,
.herald-entry-content .inlinepost::before {
    color: #ee1b22;
    content: '\f10e';
    font-size: 31px;
    left: 0px;
    line-height: 41px;
    position: absolute;
    top: 0px;
	font-family: FontAwesome;
    z-index: 0;
}

.herald-entry-content blockquote.wp-embedded-content::before {
	content: '\f08e';
}

.herald-entry-content .inlinepost::before {
	content: '\f08e';
	font-style: normal;
}

.herald-entry-content .inlinepost {
	display: block;
	margin: 0 15px 0 0;
	padding: 0 30px 0 45px;
	border-right: 2px solid #ee1b22;
	position: relative;
	font-size: 18px;
    font-style: italic;
    line-height: 26px;
    margin: 20px 0 40px 0;
    text-align: justify;
}

.herald-entry-content .inlinepost:hover span.postTitle {
	border-bottom: 1px solid #ee1b22;
}

.entry-content a:hover {
	border-bottom: 1px solid #ee1b22;
}

.herald-entry-content .inlinepost span.ctaText {
	display: block;
	font-weight: bold;
}

.herald-fa-3 .fa-post-thumbnail img, .herald-fa-4 .fa-post-thumbnail img {
    height: auto;
}

.metod_kenguru_footer {
	background-color: #ee1b22;
	text-align:center;
}

.qmn_results_page .qmn_question_answer {
	margin-top: 20px;
}

.metod_kenguru_footer a {
	display: block;
	padding: 10px 0 15px 0;
	color: #fff;
	font-size: 32px;
}

.metod_kenguru_widget {
	background-color: #ee1b22;
	text-align:center;
}

.metod_kenguru_widget a {
	display: block;
	padding: 20px 0 20px 0;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
}

.metod_kenguru_widget a:hover {
	color: #fff;
	text-decoration: underline;
}

.torro-form .limits-text {
	display: none
}

#questions-thank-participation {
	background-color: green;
	color: #fff;
	text-align: center;
	padding: 5px;
	font-weight: bold;
}

#questions-thank-participation p {
	padding: 5px;
	margin: 5px;
}

#questions-already-participated {
	text-align: center;
	font-weight: bold;
}

.questions-dimplechart .dimple-custom-axis-titledimple-axis-x {
	opacity: 0;
}

#dimplee4199bd86957c27cf37f629f1fe8190d  .dimple-axis-x .dimple-custom-axis-label {
	opacity: 0 !important;
}

.chart_legend {
	position: relative;
	top: -502px;
	left: 72px;
}

.chart_legend li {
	list-style: none;
	position: relative;
	padding-left: 30px;
}

.chart_legend li div {
	width: 20px;
	height: 20px;
	display: inline-block;
	position: absolute;
	top: 4px;
	left: 0px;
}

.chart_legend li p {
	margin: 0;
}

.single-post #related, .single-post #comments {
	margin-top: 30px;
}

#menu-footer li {
	display: inline-block;
	float: none;
	font-size: 14px
}

footer .widget.widget_nav_menu {
	margin: 0;
}

footer .widget_nav_menu li:last-child {
	margin-bottom: 15px !important;
}

.footer-widgets .widget:first-child {
	margin-bottom: 40px !important;
}

@media only screen and (max-width: 1280px) {
	.h1, .herald-no-sid .herald-posts .h2, h1 {
		font-size: 32px;
		line-height: 37px;
	}
	.entry-content .h2, .entry-content h2 {
		font-size: 26px;
		line-height: 31px;
	}
	.entry-content .h3, .entry-content h3 {
		font-size: 20px;
		line-height: 24px;
	}
}

@media only screen and (max-width: 768px) {
	.h1, .herald-no-sid .herald-posts .h2, h1 {
		font-size: 25px;
		line-height: 29px;
	}
	.entry-content .h2, .entry-content h2 {
		font-size: 22px;
		line-height: 27px;
	}
	.entry-content .h3, .entry-content h3 {
		font-size: 18px;
		line-height: 22px;
	}
}

.herald-site-footer {
	z-index: 101;
	position: relative;
}

.must-log-in {
	display: none;
}

.herald-boxed .hel-r {
	right: 30px;
}

@media only screen and (max-width: 1250px) {
	#menu-header-menu {
		font-size: 12px;
	}
	.header-bottom .herald-menu > ul > li > a {
		padding: 16px 8px;
	}
	.header-bottom .herald-soc-nav a {
		width: 22px;
	}
	.header-bottom .herald-menu-popup-search > span {
		width: 27px;
	}
	.herald-boxed .hel-r {
		right: 15px;
	}
}

/* Сделали хедер boxed как контент */
.herald-site-content.herald-site-header {
	padding: 0;
	min-height: auto;
}

/* подняли bacground для adpartner брендинга */
body {
	background-position: center 0px !important;
}

.herald-ad.herald-below-header {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	background: #fff;
	text-align: center;
	box-shadow: 0 0 0 1px rgba(68,68,68,0.1);
}

.herald-ad.herald-below-header div,
.herald-ad.herald-below-header iframe {
	margin: auto;
}

.home .herald-no-sid .herald-posts .h6 {
	font-size: 16px;
	line-height: 23px;
}

.herald-site-header .row .herald-ad {
	margin-right: 25px;
}

.errno{
	background-color: #f4f4f4;
	padding: 10px 20px;
	border-left: 5px solid #fe0000;
	color: #000;
}

.errno.success{
	border-left-color:#0bb80b;
}

/* BRANDING FOLIO */

/* #branding_left {
	background: url('../img/branding-folio/250_left.jpg') no-repeat 0 0;
}

#branding_right {
	background: url('../img/branding-folio/250_right.jpg') no-repeat 100% 0;
	cursor: pointer;
}

#content {
	cursor: default;
}

@media only screen and (max-width:1250px) {
	#branding_left {
		background-image: url('../img/branding-folio/195_left.jpg');
	}
	#branding_right {
		background-image: url('../img/branding-folio/195_right.jpg');
	}
} */

.topzeromega,
.topzeromegaadminbar {
	opacity: 0 !important;
    z-index: -101 !important;
}

.sp-webpush-label,
.sp-webpush-label.sp-windows.sp-firefox {
	display:none !important;
	left: 92000px !important;
	position: absolute !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* BRANDING FOLIO */

/* HUGGIES */
/* .category-metod-kenguru #mb-content {
	background: #fff8ec url("/wp-content/uploads/2015/09/huggies_body_bg.png") repeat-y center center; // #fff3ed
}

.category-metod-kenguru #content .col-md-8 .cat_nl, .category-metod-kenguru #content .mt-sidebar {
	background-color: #fff;
} */

/* .category-metod-kenguru #header-title {
    //background-image: url("/wp-content/uploads/2015/09/huggies_header_bg.png") !important;
	//background-repeat: repeat-x;
	//background-size: auto 298px;
	//background-color: #fff !important; 
	background-color: #fff8ec !important;
	background-image: none !important;
	//background: #fff8ec url("/wp-content/uploads/2015/09/huggies_body_bg.png") repeat-y center center !important;
} */

/* .category-metod-kenguru .cat_nl {
	padding: 20px;
}

.huggies_description {
	margin-left: 281px;
}
.huggies_img {
	position: absolute;
	top: 67px;
	left: 63px;
	width: 157px;
}

@media only screen and (max-width: 1200px) {
	.huggies_img {
		top: 60px;
	}
}
@media only screen and (max-width: 992px) {
	.huggies_description {
		margin-left: 230px;
	}
	.huggies_img {
		left: 37px;
	}
}
@media only screen and (max-width: 768px) {
	.huggies_description {
		margin-left: 197px;
	}
	.huggies_img {
		left: 22px;
	}
}
@media only screen and (max-width: 480px) {
	.category-metod-kenguru h1 {
		padding-bottom: 120px !important;
	}
	.huggies_description {
		margin-left: 0px;
		float: none;
		clear: both;
	}
	.huggies_img {
		left: 22px;
	}
} */
/* END HUGGIES */
.fluid-width-video-wrapper {
    padding: 450px 0 0 0 !important;
}

.meta-item.herald-views {
    display: none !important;
}

.ind-text {
    background: #FFFDE6;
    padding: 0 10px;
}
