/*
 Theme Name:   Twenty Nineteen Child
 Theme URI:    http://example.com/twentynineteen-child/
 Description:  Twenty Nineteen Child Theme
 Author:       Dima
 Author URI:   http://example.com
 Template:     twentynineteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentynineteen-child
*/

/* all fonts Arial */
p, h1, h2, h3, h4, ul, ol, div, span
	{ 
	font-family: Arial, sans-serif !important; 
	}

/* enlarge main pics effect */
.post-thumbnail {
	overflow: hidden;
	}
.post-thumbnail img {
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  width:100%;
}
.post-thumbnail img:hover {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


/* copyright plate */
.site-info {
	  padding: 1% 5%;
    font-size: 13px;
	}

/* fix floating images on mobile */
@media (max-width: 500px) { img.alignright { width: 100%; }}

/* Do not display posted date 
.posted-on {display:none;} */
/* Do not display author 
.byline {display:none;} */
  
/* Nice tables */
.table tr th,.table tr td{padding:10px}
.table tr td {vertical-align:top; overflow-wrap:break-word;word-wrap:break-word; width:30%;}
.table th{color:#333333;text-align:left;background-color:#dddddd}
.table tr:nth-child(even){background-color:#fafafa}
.table tr:nth-child(odd){background-color:#ffffff}
.table td, .table th{border:1px solid #e8e8e8}
.table {border-spacing:0px;}
.table {border-collapse: collapse;}



/* ALL_POSTS shortcode */
.all_posts_post   { 
  position: relative; 	
  background-color: #000;
  float: left;
  overflow: hidden;
  transition: all 500ms ease;
  height: 300px;
  border: 1px solid #ddd;
  line-height: 0;
}

.all_posts_post:hover{
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.entry .entry-content .all_posts .all_posts_post a { 
	text-decoration:none;	
}

.all_posts_post img{
	opacity: 0.4;
	width: 100%;
	position: static !important;
	}
	
.all_posts_post a .all_posts_post_title {
	position: absolute;
  top: 11%;
  top: 5%;
	padding: 0 10px;
	line-height: 25px;
	font-size: 14px;	
	color: #fff;
	text-align:center;
	margin: 0 auto;
  width: 100%;
	height: 80px;
  overflow: hidden;
    text-shadow: 0px 0px 3px #000;
	}
.all_posts_post a .all_posts_post_excerpt {
    display: block;
    background: #fff;
    font-size: 12px;
    padding: 12px 12px;
    height: 300px;
	color: #222;
	 line-height: 1.8;

}
.all_posts_post_excerpt:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(transparent 200px, white);
}
.all_posts_post:hover img{
	opacity: .4;
  width:110%;
	}
.all_posts_post:hover a .all_posts_post_title {
	color: #000;
  text-shadow: 0px 0px 10px #fff;
	}
.all_posts_post:hover   { 
	background-color: #fff;
}



@media  {
.all_posts_post   { 
	width: 100%;
	margin: 5px 0px;
	}}
@media (min-width: 450px) {
.all_posts_post   { 
	width: 45%;
	margin: 5px 2%;
	}}
@media (min-width: 900px) {
.all_posts_post   { 
    width: 32%;
    margin: 0;
    margin-right: 1.3%;
    margin-bottom: 10px;
	}}


/* Tighter tag cloud */
.tagcloud ul {
    line-height: 23px;
}
.tagcloud ul li {
    padding-right: 3px;
}

/* Disable round edges on TOC */
#ez-toc-container {
    border-radius: 0px !important;
}
#ez-toc-container a {
  border-bottom: 0px;
}

/* Breadcrumbs */
p#breadcrumbs {
	padding: 1% 10% 1%;
	font-size: 14px;
	color: #666;
	background-color: #eee;
	margin-top:0;
}


/* Footer widget */
div#footer_sidebar h3{
    text-align: center;
    font-size: 18px;
}
@media (min-width: 950px){
	div#footer_sidebar {display:none;}
}

/* TL;DR block */
div.tldr{
    padding: 20px 10px 5px;
    background: #eeeeee;
	margin-bottom: 20px;
	}
div.tldr h3{ margin:0}
div.tldr ul {
  list-style-position: inside;
  margin-bottom: 0;
  }
div.tldr ul li {
margin: 5px 0;
}

/* dash in title */
.site-title:not(:empty)+.site-description:not(:empty):before {
    content: ":" !important;
	}

h2.widget-title {
    font-size: 30px !important;
}

.entry .entry-content a { 
	text-decoration:none;	
}
.entry .entry-content a:hover { 
	text-decoration:underline;	
}
@media (min-width: 768px) {
.site-header.featured-image {
    margin-bottom: 0;
	}}
@media (min-width: 1168px){
.entry .entry-content>*, .entry .entry-summary>* {
    max-width: 800px;
}}



/* Random Idioms widget */
.idiom_title{
	font-weight:800;
	font-size: 24px;
	text-transform: uppercase;
}	
.idiom-meaning{
	font-size: 22px;
	line-height: 32px;
}	
.idiom-example{
	font-size: 18px;
	color: #666666;
	
}	
	
a.idioms_category_link{
	display: inline-block;
	margin-right: 10px;
	margin-top: 20px;
	color: #fff;
	background: #444444;
	padding: 5px 20px;
	font-size: 18px;
}
a.idioms_category_link:hover{
	color: #fff;
	background: #000;
}