
body {
    font-family: 'Roboto', sans-serif;
}

.ad {
    max-width: 100%;
    overflow: hidden;
}

/* Ads in loop (4 banners 300x250) */
.ad-post { display: none; } /* Ховаємо рекламу і показуємо тільки на архівах категорій */
body.archive .ad-post { display: block; }

.ad-post .article-in-loop {
	border-color: #fff !important;
	border-radius: 0 !important;
	padding: 0;
	text-align: center;
}
.ad-post .article-in-loop:hover {
	box-shadow:none !important;
}
/**/



h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.h
{
    font-family: 'Roboto Condensed', sans-serif;;
    font-weight: bold;
    line-height: 1.3;
}

a {
	color: #2f9dc6;
}
a:hover,
a:focus,
a:active {
	color: #34b5e6;
}


.img-responsive {
    display: inline-block;
}

.modal-backdrop.in {
    opacity: 0.85;
    filter: alpha(opacity=85);
}

button.close {
    font-size: 30px;
}

.btn-primary {
    background: #2f9dc6 !important;
    border-width: 0 0 3px 0;
    border-bottom: 3px solid #257795;
}

#breadcrumbs {
    font-size: 13px;
    margin-bottom: 20px;
}

#breadcrumbs a {
    color: #2f9dc6;
	text-decoration: underline;
}
#breadcrumbs a:hover {}
#breadcrumbs .sep {
	font-size: 14px;
	padding: 0 2px;
	color: #000;
}
#breadcrumbs a:last-of-type + .sep { display: none; }

#breadcrumbs a:hover {
	text-decoration: none;
}

.breadcrumb_last {
    display: none;
}


/* Archive & Page title */
.page-title {
	margin-top: 0;
	line-height: 1.2;
	margin-bottom: 10px;
}



/* SINGLE post */
article {}

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

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    margin-top: 0;
    margin-bottom: 0;
}

.entry-excerpt,
.entry-content {
	line-height: 1.4;
}

.entry-content {
    font-family: Georgia, serif;
    font-size: 16px;
    color: #4e4e4e;
}
.entry-content * {
	max-width: 100%;
}
.entry-content img {
	max-width: 100%;
	height: auto;
}
article p {
    margin-bottom: 20px;
}


.post .thumb {
    display: block;
    width: 100%;
}

/*=== Vertical-aling for thumb & title ===*/
/*body.single .post header .vertical-align-block { раніше сірий фон під головною картинкою був тільки у статті */
.post .vertical-align-block.thumb {
    background: #f2f2f2 url("../i/evrikak_photo_bg1.jpg") no-repeat 50% 50%;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
}
.post .vertical-align-block {
	background: #fff;
}

.post .vertical-align-block .span-table {
	display: table;
	width: 100%;
	height: 100%;
}
.post .vertical-align-block .span-table-row {
    display: table-row;
}
.post .vertical-align-block .span-table-row-cell {
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}
body:not(.single).post .vertical-align-block .span-table-row-cell img {
	transition: all 0.3s;
}

.vertical-align-block .entry-meta-title {
    background: rgba(0,0,0,0.5);  
    position: absolute;
    z-index: 2;
    top: 30%;
    left: 10px;
    right: 10px;
    padding: 15px 10px;
}


/* If browser support 3D0transform -- use vertical align */
html.csstransforms.csstransforms3d .post .thumb-wrp {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
html.csstransforms.csstransforms3d .post .entry-meta-title {
    top: 50%;
    -ms-transform: translate(0, -50%, 0); /* IE 9 */
   	-webkit-transform: translate(0, -50%); /* Safari */
    transform: translateY(0, -50%); 
}
/**/

blockquote {
    border-color: #309dc6;
    font-size: 18px;
    line-height: 1.35;
}

.entry-content li {
    margin-top: 10px;
}

/* Відступи для картинок */
.entry-content img[class*="align"],
.entry-content img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}


/* Fotorama */
#content .fotorama--wp {
    background: #f2f2f2 url("../i/evrikak_photo_bg1.jpg") no-repeat 50% 50%;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
}

#content .fotorama--wp .fotorama__wrap {
	width: 748px !important;
}

#wrapper #content article .fotorama--wp img {
	margin-top: 0;
	margin-bottom: 0;
}
#content .fotorama__caption {
	text-align: center;
}

#content .fotorama__nav__shaft {
	margin-top: 5px;
}
#content .fotorama__nav--thumbs .fotorama__nav__frame {}
#content .fotorama__thumb-border {
	border-color: #c23085;
}
/**/





/* Карта сайта */
#content .map {}
#content .link h3 {
	margin: 0;
}
#content .link h3 a {
	color: #000;
	margin: 0 15px 0 0;
}

#content .map > ul {
	padding: 0;
	margin: 0;
}
#content .map > ul > li {
	list-style: none;
}

#content .map li {
	margin-top: 5px;
}
#content .map li a {
	color: #333;
}

#content .map h3 {
	margin: 0;
}






/* hide fancybox title */
div#fancy_title {display: none !important;}
div#fancy_overlay{z-index: 9999 !important;}
div#fancy_outer{z-index: 99999 !important;}