/*
Theme Name: КАКЕВ
Theme URI: 
Description: A Milky Help theme. Для помещения лица и краткой инфы в заголовок нужно использовать метку people, для помещения инфы в цветные плитки используется тэг featured
Author: Roady
Author URI: http://vk.com/roady
Version: 1.0
*/

body {
	font-size:14px;
}

a {
	color: #4EA429;
}
	
a:hover {
	color: #41db00;
}

p {
	text-align:justify;
}

.footer {
	font-size:10px;
}

.footer div {
	text-align:center;
}

.face {
	text-align:center;
	padding-top:50px;
	padding-bottom:50px;
	position:relative;
}
.faceblock{
height:300px;
overflow:hidden;
}
.faceimg {
	border: 5px solid #ffffff;
	width:200px;
	height:200px;
	-webkit-box-shadow: 0 1px 19px rgba(0,0,0,0.24);
	-moz-box-shadow: 0 1px 19px rgba(0,0,0,0.24);
	box-shadow: 0 1px 19px rgba(0,0,0,0.24);
}


.description {
	background:rgba(0,0,0,0.6);
	color: #ffffff;
	height:300px;
	border-radius:15px;
	padding:10px;
}

.description a {
	color: #ffffff;
}

.tiles a {
	color:#000000;
}

.tiles {
	color:#000000;
}



.tile1 {background:#4EA429;}
.tile2 {background:#00a67c;}
.tile3 {background:#ff5f00;}
.tile4 {background:#ef002a;}


.sidebar {
background: #9fe183;
}

.current_page_item {
background: #b3ff66;
}

.current-menu-item {
background: #b3ff66;
}
.current-menu-parent {
background: #b3ff66;
}


.menu-item-1104 {
background: #ff5f00;
}

.menu-item-1104 a{
color:#ffffff !important;
}

.post img {
	max-width: 100%;
	height: auto;
}

/* calendar widget */
.widget_calendar {float: left;}
#wp-calendar {width: 100%; }
#wp-calendar caption { text-align: right; color: #333; font-size: 12px; margin-top: 10px; margin-bottom: 15px; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #333; }
#wp-calendar tbody a{ color: #efefef; }
#wp-calendar tbody td { background: #444; border: 1px solid #555; text-align: center; padding:8px;}
#wp-calendar tbody td:hover { background: #555; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { font-size: 10px; text-transform: uppercase; text-align: right; }
#wp-calendar tfoot #prev { font-size: 10px; text-transform: uppercase; padding-top: 10px; }



.alignleft {
	float:left;
}
.alignright {
	float:right;
}

.entry {
	border-bottom: 1px solid #efefef;
}

.entry img {
	margin:5px;
}

.post h3 {
	margin-top:20px;
}




/*Gallery*/

.gallery { margin: 0 auto 18px; }
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery img {
	box-shadow: 0px 0px 4px #999;
	border: 1px solid white;
	padding: 8px;
	background: #f2f2f2;
}
.gallery img:hover {
	background: white;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl, .gallery dt { margin: 0; }
.gallery br+br { display: none; }

.header .attachment-post-thumbnail {
	
}

.entry {
	margin-top:15px;
}


/*height fix*/

[class*="col-"]{
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}

.row{
    overflow: hidden; 
}


.postmetadata {
	background: #efefef;
	padding-top:5px;
	padding-bottom:5px;
	margin-top:5px;
	margin-bottom:5px;
}


.header-right {
	text-align: right;
}
.header-right h3 {
	text-align: right;
	margin:0;
	padding:0;
}
.header-right p {
	text-align: right;
}


.bfb {
	text-align:center;
	box-shadow: 0 3px 10px 0 rgba(0,0,0,.4); 
}

.bfb img {
	width:100%;
}

