/*
Theme Name:     Newspaper 9 Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper                             
Version:        9.5c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

 .glyststyles .clearfix {
 content: '';
 clear: both
 }
 .glyststyle__content-container,
 .glyststyles {
 overflow: hidden
 }
 .glyststyles b {
 color: red;
 text-decoration: none;
 vertical-align: baseline;
 font-weight: 700
 }
 .glyststyles .clearfix {
 display: block
 }
 .glyststyle__link {
 margin-right: 1em;
 white-space: nowrap
 }
 .glyststyle__link:hover {
 color: red;
 text-decoration: none
 }
 .glyststyle__link_blue {
 color: #00C;
 text-decoration: underline
 }
 .glyststyle__link_green {
 color: #060;
 text-decoration: none
 }
 .glyststyles {
 font-family: Arial, sans-serif;
 margin: 20px 0;
 min-height: 80px;
 border-left: 3px solid red;
 }
 .glyststyle,
 .glyststyle:last-child {
 margin-bottom: 0
 }
 .glyststyle {
 clear: both
 }
 .glyststyle::after {
 display: table
 }
 .glyststyle__thumb-container {
 float: left;
 margin-right: .7em;
 width: 30%;
 max-width: 150px;
 min-width: 150px
 }
 .glyststyle__thumb {
 max-width: 100%;
 max-height: 100%
 }
 .glyststyle__title {
 font-size: 120%;
 margin: 0 0 .38em;
 font-weight: 400;
 line-height: 1.5;
 color: red;
 float: left;
 text-decoration: none
 }
 .glyststyle__title span {
 text-decoration: underline
 }
 .glyststyle__title:hover{
 text-decoration: none !important;
 }
 .glyststyle__title span:hover{
 text-decoration: none !important;
 }
 .glyststyle__title a:hover{
 text-decoration: none !important;
 }
 .glyststyle__title b:hover{
 text-decoration: none !important;
 } 
 .glyststyle__text-container {
 font-size: 110%;
 line-height: 1.3;
 font-weight: 400;
 text-decoration: none;
 color: #000
 }
 .glyststyle__text {
 margin: 0;
 float: left;
 font-size: 100%;
 line-height: 1.2
 }
 .glyststyle__link-container-top {
 float: left;
 margin: .38em 0 0;
 padding: 1px
 }
 .glyststyle__link-container-bottom {
 float: left;
 margin-top: .38em;
 padding: 1px
 }
 @media screen and (max-width:450px) {
 .glyststyle__text-container {
  font-size: 90%;
 }
 .glyststyle__link-container-bottom,
 .glyststyle__link-container-top,
 .glyststyle__title {
  font-size: 100%;
  line-height: 1.3;
 }
 }
.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p {
  text-align: justify !important;
}
 .flat_slide_cross {
    top: -25px !important;
}    
.ads_inline_adsense {
    text-align: -webkit-center;
}

.block_c_bl {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    /* по высоте */
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;     
}
.block_c_bl__item {
	width: 225px;
	display: block;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    border: 2px solid transparent;
    text-decoration: none;
    color: #000;
    margin: 0 auto 2px;
}
.block_c_bl__item:hover {
	border-color: #ffdb4d;
	text-decoration: none!important;
}
.block_c_bl__img {
	text-align: center;
	margin-bottom: 5px;
	position: relative;
}
.block_c_bl__img img {
	max-width: 100%;
	vertical-align: bottom;
}
.block_c_bl__title:hover {
	color: #ff036e!important;
}
.block_c_bl__title {
	margin-bottom: 3px;
    font-size: 14px;
    font-weight: 600;
}
.block_c_bl__text {
	color: #999;
	font-size: 13px;
}
.block_c_bl__item:hover .block_c_bl__img:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0,0,0,0.3);
	z-index: 2;
}
.block_c_bl__icon {
	display: none;
	-webkit-transition: transform 150ms ease-in-out;
	-moz-transition: transform 150ms ease-in-out;
	-ms-transition: transform 150ms ease-in-out;
	-o-transition: transform 150ms ease-in-out;
	transition: transform 150ms ease-in-out;
}
.block_c_bl__item:hover .block_c_bl__icon {
	display: block;
	width: 50px;
	height: 50px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -25px;
	margin-left: -25px;	
	z-index: 3;
}
.block_c_bl__item:hover .block_c_bl__icon img {
	max-width: 100%;
}
.block_c_bl__btn__arrow {
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-left: 15px solid #444;
	border-bottom: 8px solid transparent;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -5px;
	margin-top: -7px;	
}
.block_c_bl__icon:hover {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}


.wrapper{
  margin: 10px auto 0;
  padding: 5px 15px 20px 20px;
  border-radius: 10px;
  background-color: #FEEEE2;
}

.wrapper .zen_div,
.wrapper .weekly-subscription{
  display: table;
  margin-top: 25px;
}

.wrapper .zen_div img,
.wrapper .zen_div a,
.wrapper .weekly-subscription img,
.wrapper .weekly-subscription span{
  display: table-cell;
  vertical-align: middle;
}

.wrapper .zen_div a{
  text-decoration: none;
}

.wrapper .zen_div img,
.wrapper .weekly-subscription img{
  width: 30px;
  margin-right: 10px;
}

.wrapper .zen_div a,
.wrapper .weekly-subscription span{
  color: #697099;
}

.wrapper .weekly-subscription a{
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.wrapper .zen_div a:hover,
.wrapper .weekly-subscription a:hover{
  text-decoration: underline;
}

.wrapper form .form-group{
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  padding: 2px;
  border-radius: 30px;
  background-color: #fff;
}

.wrapper form .form-group input,
.wrapper form .form-group .submit{
  height: 32px;
  vertical-align: middle;
  box-sizing: border-box;
  border: none;
  background-color: #fff;
}

.wrapper form .form-group input:focus,
.wrapper form .form-group input:active,
.wrapper form .form-group .submit:focus,
.wrapper form .form-group .submit:active{
  box-shadow: none;
  border: none;
  outline: none;
}

.wrapper form .form-group input{
  width: 69.5%;
  padding: 10px 15px;
  font-size: 14px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}


.wrapper form .form-group .submit{
  width: 30%;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
  border-radius: 30px;
  background-color: #fce1cf;
  color: #84522b;
  cursor: pointer;
}

@media(max-width: 767px){

  .wrapper form .form-group input{
    width: 54.5%;
  }

  .wrapper form .form-group .submit{
    width: 45%;
  }

}
.yuzo_widget_wrap {
    margin-top: -24px !important;
}

.ya-share2__icon{
	width: 32px!important;
	height: 32px!important;
	background-size: 32px 32px!important;
}
.ya-share2__counter{
	font-size: 18px!important;
    line-height: 32px!important;
}
.ya-share2{
	margin: 20px 0;
}

.wp-caption-text, .wp-caption-dd {
    line-height: 24px!important;
}


.td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p {
    text-align: -webkit-auto!important;
}
ul li, ol li {
    margin-top: 15px;
}



ol {
    list-style: none;
    counter-reset: myCounter;
}
ol li {
  list-style: none;
  position: relative;
  padding-left: 60px;
  min-height: 40px;
}
ol li:before {
  counter-increment: myCounter;
  content:counter(myCounter);
  border:2px solid #000;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 30px;
  width: 35px;
  height: 35px;
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 0;
}
.td-post-content ul li {margin-left: 50px}

body, p {
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 14px;
    line-height: 21px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Montserrat, Arial, sans-serif!important;
}
.td-post-template-12 .td-post-header .entry-title {
    font-size: 34px!important;
    line-height: 1.1!important;
    font-weight: 700!important;
    text-transform: none!important;
}
.td-post-content p, .td-post-content {
    font-family: Roboto, Arial, sans-serif !important;
    line-height: 1.5!important;
    font-weight: 400!important;    
}
.post .td_quote_box p, .page .td_quote_box p {
    font-family: Source Serif Pro, Arial, serif !important;
    font-size: 26px!important;
    line-height: 1.3!important;
    font-weight: 300!important;     
}
.td-post-content h2 {
    font-size: 26px!important;
    line-height: 1.5!important;
    font-weight: 700!important;  
}
.td-post-content h3 {
    font-size: 22px!important;
    line-height: 1.5!important;
    font-weight: 700!important;  
}
.td-post-content h4 {
    font-size: 20px!important;
    line-height: 1.5!important;
    font-weight: 700!important;  
}
.td_block_related_posts .entry-title a {
    font-family: Montserrat, Arial, sans-serif!important;
    font-size: 16px;
    font-weight: 700!important;
    text-transform: none!important;
}
.td_module_6 .td-module-title {
    font-weight: 400!important;
}

ul li {
    margin-top: 5px!important;
}

@media (max-width: 1000px){
.td-post-template-12 .td-post-header .entry-title {
    font-size: 26px!important;
    line-height: 30px!important;
}
.td-post-content h2{
    font-size: 22px!important;
}
.td-post-content h3{
    font-size: 20px!important;
}
.td-post-content h4{
    font-size: 18px!important;
    font-weight: 700!important;
}
.post .td_quote_box p, .page .td_quote_box p {
    font-size: 20px!important;
}    
}