/*
Theme Name:     Sivertraining Twenty Sixteen Child
Description:    Дочірня тема для теми Twenty Sixteen для сайту older.sivertraining.org.ua 
Author:         Болотний Павло
Template:       twentysixteen
Version:        0.1.0
*/

 @import url("../twentysixteen/style.css"); 

* {
	background: #f1f1f1;
}

.entry-title a:hover, .entry-title a:focus{
color:#E52E2C;
}
p.site-description {font-weight:bold;}
#site-navigation{
  border-top:solid 3px #E52E2C;
  border-bottom:solid 3px #E52E2C;
  
}
body:not(.search-results) article:not(.type-page) .entry-content {
  width:100% !important;
}
.widget .featured-post h4 {
  line-height:1;
  
} 
section.widget {
    margin-bottom: 1em;
    border-top:none;
}
section.widget.widget_archives_calendar{
  border-top:solid 3px #E52E2C;
}
/* , .widget h5, .widget h6 */
#page{

  background-image: url(http://older.sivertraining.org.ua/wp-content/uploads/2016/01/top_small.png);
  background-position:0 0;
  background-repeat:repeat-x;
  
}
.tw-recent-posts div.featured-post h4 a {
  font-size:85%;
}
#secondary{
    padding-left: 2%;
    border-left: solid 3px #E52E2C;
}
.site-branding {margin-top:5px;
  display:inline-block;
  max-width:75%;
  margin-left:2%;
}
.site-branding .site-title a:hover {
  color: #E52E2C;
}
#site-header-menu a:hover {
   font-weight:bold;
   color: #E52E2C;
	}
h1.entry-title{font-size:1.5rem;}

.main-navigation li:hover:first > ul, .main-navigation li.focus:first > ul {
    left: 0 !important;
    right: auto !important;
}

#masthead{
/*   background-color:rgba(255,255,0,.5); */
}

#content{
/*   background-color:rgba(190,245,116,.5); */
}
#secondary{
/*   background-color:rgba(247,183,166,.5); */
}


#masthead .logo_cppk{
  width:128px auto;
  height: 128px;
      display:inline-block;

}
#page{
    background-image:url(/wp-content/themes/sivertraining/images/top_small_r.png);
  background-repeat:repeat-y;
  background-size:25px auto;
  background-position:10px 0px;

}
.tw-recent-posts .post-time {font-size:1em;}
.site-info{
      margin-left: 30px;
}
.featured-posts h4 {font-size:1em;text-transform:none;color:#5f558d;}
.featured-posts h4:hover {color:#E52E2C;}
.featured-posts h4 a {text-decoration:none;}
a:hover,
a:focus,
a:active {
	color: #E52E2C;
}
a {
	color: #5f558d;
	text-decoration: none !important;
}
.tw-recent-posts div.post-time {
    font-size: 1.2em;}
.site-adress {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.0769230769;
	margin: 0.538461538em 0 0;
}
.site-adress a {text-decoration:none;}

#page {
  margin:0px !important;
}
body:not(.custom-background-image):before{
  height:0px !important;
}
.site-header {
  padding-top:0.5em !important;
}
div.site-branding, div.site-header-menu, div.header-image {
  margin-bottom:0px;
  margin-top:0px;
}
#masthead {padding-bottom:1em;}
#site-header-menu a {color:#5f558d}
@media screen and (max-width: 44.375em) {
  #page{
  background-position:0px 0px;    
  }  
}
p{
  margin-bottom:0.5em;
}
h1,h2,h3,h4,h5,h6{text-align:center;}
#content ul, #content li {  margin-bottom:0.5em;}


@media screen and (min-width: 61.5625em){
.entry-title {
    font-size: 1.75rem !important;
}}
.content-not-all{
    height:1220px;
    overflow:hidden;
}
.content-all {
    height:auto;
/*     overflow */
}
.read-more-content {/*border-bottom:dashed black 1px;*/font-size:1.75rem;text-align:center;cursor:pointer;}



@media screen and (min-width: 56.875em)
{
.main-navigation ul li:first-of-type ul:before {
    border-color: #d1d1d1 transparent;
    border-width: 0 10px 10px;
    left: 9px;
    top: -9px;
}
.main-navigation li:first-of-type:hover > ul, .main-navigation li.focus:first-of-type > ul {
    left: 0;
    right: auto;
}
.main-navigation ul li:first-of-type ul:after {
    left: 11px;
    top: -7px;
}    
    
    
}
body {line-height:1.2;}
@media screen and (min-width: 61.5625em){
.site-main > article {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom:solid #ddd 1px;
}
    .site-main > article:last-of-type{
    border-bottom:none;
}
}
@media screen and (max-width: 910px){
    aside#secondary{
padding-left: 40px;
}
}