/*
    Theme Name: Borosp.by    
    Author: Pavel Volynets
    Version: 1.0
*/
html,
body {
	height: 100%;
	font-family: 'PT Sans Narrow', sans-serif;
	width: 100%;
}
a {
	color: #004a80;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin-bottom: 5px;
}
div.inline {
	display: inline-block;
}
body {
	background: url(./img/bg.png) repeat;
	
}
.wrapper {
	min-height: 100%;
	height: 100%;
	height: auto!important;
	width: 100%;
	min-width: 1000px;
	position: relative;
	background: url(./img/bottom-left-corner.png) left bottom no-repeat;
}
.container-fluid,
.middle {
	padding-right: 20px;
}
.container-fluid,
.top-menu .row-fluid,
.middle  {
	min-width: 980px;
	max-width: 1400px;
	margin: 0 auto;
}
.container-fluid {
	/*min-height: 100%;*/
}
.block {
	position: relative;
}
.cont {
	display: inline-block;
}
.contacts-top {
	padding-top: 10px;
	padding-bottom: 45px;
}
.contacts-top ul {
	list-style: none;
	margin-left: 0;
	width: 190px;
}
.contacts-top ul li,
.contacts-top ul li a,
.contacts-top ul li strong {
	font-size: 14px;
}
.contacts-top ul li {
	color: #000;
	text-align: right;
}
.contacts-top ul strong {
	color: #000000;
	display: inline-block;
	width: 75px;
	text-align: right;
}
.contacts-top ul span {
	font-size: 18px;
	font-weight: bold;
	color: #000000;
}
.contacts-top .skype {
	background: url(./img/skype-icon.png) left center no-repeat;
	padding-left: 23px;
}
.logo {
	padding-top: 15px;
	text-align: center;
}
.logo .cont {
	margin: 0 auto;
}
.top-navi {
	padding-top: 10px;
	padding-right: 30px;
}
.top-navi ul {
	width: auto;
	margin-left: 10px;
}
.top-navi ul.inline li {
	width: 20px;
	height: 20px;
	display: inline-block;
	background: url(./img/top-navi-item.png) left top no-repeat;
	padding-right: 0;
	padding-left: 0;
}
.top-navi ul.inline li.last-inline {
	padding-right: 0;
}
.top-navi ul.inline li:hover {
	background-position: left bottom;
}
.top-navi li a {
	text-decoration: none;
	padding-right: 0;
	margin-right: 0px;
	display: block;
	text-align: center;
	height: 20px;
	width: 20px;
}
.top-navi li a.homepage {
	background: url(./img/top-navi-icon.png) center 4px no-repeat;
}
.top-navi li a.mail {
	background: url(./img/top-navi-icon.png) center -15px no-repeat;
}
.top-navi li a.sitemap {
	background: url(./img/top-navi-icon.png) center -34px no-repeat;
}
.login-mail {
	padding-left: 17px;
	background: url(./img/login.png) left center no-repeat;
}
/* top menu */
.top-menu {
	background: url(./img/top-menu.png) top repeat-x;
}
.top-menu ul {
	width: 100%;
	text-align: right;
	height: 40px;
}
.top-menu ul.inline li {
	margin: 0 2.6%;
}
.top-menu ul.inline li a {
	color: #ffffff;
	text-decoration: none;
	line-height: 40px;
	display: inline-block;
	height: 100%;
	width: 100%;
	font-family: 'Open Sans Condensed', sans-serif;

}
.top-menu ul.inline li a:hover,
.top-menu ul.inline li.current-cat a,
.top-menu ul.inline li.current_page_item a {
	background: url(./img/top-menu-arr.png) center bottom no-repeat;
}
.top-menu ul.inline li.current-cat a,
.top-menu ul.inline li.current_page_item a {
	font-weight: bold;
}
.middle {
	padding-bottom: 40px;
}
/* left side */
.leftSide {
	width: 70%;
	background: #ffffff;
	margin: 30px 0 0 0;
}
.leftSide ul {
	margin: 0;
	list-style: none;
	font-size: 16px;
	padding: 20px 0 20px 2px;
}
.leftSide ul li.child a {
	/*background: url(./img/leftside-ul.png) right center no-repeat;*/
	padding-right: 15px;
}
.leftSide ul ul {
	padding: 0;
	font-size: 15px;
}
.leftSide ul ul ul {
	padding: 0;
	font-size: 14px;
}
.leftSide ul li a {
	text-decoration: none;
	color: #252525;
	padding-left: 20px;
}
.leftSide ul ul li a {
	padding-left: 40px;
	display: inline-block;
}
.leftSide ul ul ul li a {
	padding-left: 60px;
}
.leftSide ul li a:hover,
.leftSide ul li.current-cat a,
.leftSide ul li.current_page_item a {
	border-left: 3px solid #252525;
} 
.current-cat.child ul a {
	border-left: 3px solid #252525;
}
.current-cat.child ul li a {
	border-left-width: 0px;
}
.current-cat.child ul li a:hover {
	border-left: 3px solid #252525;
}
/* content styles */
.content {
	margin-top: 20px;
}
.photo-gallery {
	margin-top: 30px;
	padding-left: 0px;
	height: 300px;
	vertical-align: top;

}
.photo-gallery ul {
	margin: 0;
	height: 300px;
	vertical-align: top;
}
.photo-gallery .item {
	width: 25%;
	margin-bottom: 0px;
	margin-left: 0px;
	position: relative;
	vertical-align: top;
	border-spacing: 0px;
	margin: 0 0px 0 0;
	padding: 0;
	float: left;
}
.photo-gallery .item img {
	height: 150px;
	max-width: 231px;
	width: 100%;
}
.hover-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: url(./img/hover-img.png) center center no-repeat;
	height: 150px;
	display: none;
	cursor: pointer;
	color: #ffffff!important;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	border-spacing: 0px;
	padding: 0;
	margin: 0;
	width: 231px;
	border-spacing: 0px;
}
.hover-img span {
	vertical-align: bottom;
	display: table-cell;
	height: 140px;
	font-weight: bold;
	padding: 0px 7px 10px;
}
.post-6 .title-post {
	display: none;
}
/**/
.post {
	margin: 20px 0 0 0;
	max-width: 925px;
}
.post p {
	color: #171717;
	padding-left: 0px;
	font-size: 15px;
	font-family: 'PT Sans Narrow', sans-serif;
	text-indent: 20px;
}
.category-18 .post {
	width: 100%;
	margin-right: 0;
}
.category .post img {
	border: 2px solid #333;
	max-width: 305px;
	max-height: 185px;
}
.single .post img:first-child {
	max-width: 100%;
	max-height: 100%;
}
.single .entry-content p a {
	display: none;
}
.single .news-content.entry-content p a {
	display: inline;
}
.single .entry-content .galery-list {
	margin: 0 0 20px;
	min-height: 421px;
	max-height: 421px;
	display: inline-block;
	min-width: 140px;
}
.single .entry-content .galery-list ul {
	list-style: none;
}
.single .entry-content .galery-list ul li {
}
.single .entry-content .galery-list ul li img {
	border: 1px solid #333;
}
.gallery-single {
	display: inline-block;
	min-height: 421px;
	max-height: 421px;
	margin-bottom: 20px;
}
.gallery-single .big-img,
.gallery-single .big-img img {
	max-height: 421px;
	height: 421px;
}
.gallery-single .big-img img {
	display: none;
}
.gallery-single .big-img img.showen {
	display: block;
}
.single .entry-content p strong {
	display: block;
}
.title-post h2,
.title-post h2 a {
	font-size: 18px;
	margin: 0 0 5px;
	line-height: 22px;
}
.all-project {
	font-size: 12px;
	margin-top: 10px;
	text-align: right;
	padding-right: 10px;
}
.news-block ul {
	list-style: none;
	margin-left: 10px;
}
.news-block ul li .post-date {
	color: #959595;
	width: 50px;
	display: inline-block;
	vertical-align: top;
}
.news-block ul li a:hover {
}
.news-block a {
	display: inline-block;
	width: 90%;
}
.news-block-main ul {
	list-style: none;
	margin: 0;
}
.news-block-main a {

}
.photo-gallery .item p {
	margin: 0;
}
.footer {
	margin-top: -20px;
	height: 20px;
	background: #303030;
	position: relative;
}
.footer p {
	color: #ffffff;
	font-size: 12px;
	padding: 0 20px;
	margin-bottom: 0;
}
.footer p a {
	color: #caee96;
}
.footer .container-fluid {
	height: 20px;
}
/* post styles */
.category-1 .post {
	width: 100%;
	margin-right: 0;
}
.post {
	width: 38%;
	margin-right: 10%;
	display: inline-block;
}
.home .post,
.single .post {
	width: 100%;
	margin-right: 0;
}
h2.entry-title {
	font-size: 18px;
	margin: 0 0 5px;
	font-weight: bold;
	line-height: 22px;
}
h1.entry-title {
	font-size: 22px;
	margin: 0 0 10px;
	line-height: 26px;
}
.entry-title a {
	text-decoration: none;
}
.wp-pagenavi {
	margin: 20px 0 0;
}
.wp-pagenavi a,
.wp-pagenavi span {
	margin: 0 10px;
	text-decoration: none;
	padding: 3px 5px;
	
}
.wp-pagenavi span.current,
.wp-pagenavi a:hover {
	font-weight: bold;
	font-size: 16px;
	background: #fff;
}
.wp-pagenavi a:hover {
	font-size: 14px;
	font-weight: normal;
}
/* news block inner pages */
.block-news {
	margin: 30px 0 230px 0;
	width: 70%;
} 
.block-news h2 {
	font-size: 18px;
	margin: 0px;
	margin-left: 15px;
}
.block-news ul {
	list-style: none;
	margin-left: 15px;
}
.block-news ul li {
	margin-bottom: 10px;
	line-height: 16px;
}
.ddsg-wrapper h2 {
	font-size: 16px;
	line-height: 22px;
	margin: 0;
}
@media screen and (max-width: 1280px) {
	.top-menu ul.inline li {
		margin: 0 1.7%;
	}
	.container-fluid {
		padding: 0;
	}
}
@media screen and (max-width: 1024px) {
	.container-fluid {
		padding: 0;
	}
	.top-menu ul.inline li {
		margin: 0 .5%;
	}
}
/*=======================================================================================================================================================================================================*/
/* new styles of line in design */
.block-height-text,
.block-width,
.bottom.text.block-width {
	color: #7a7a7a;
}
.block {
	border: 1px solid #bdbec0;
}
.top.line .top.block-width {
	top: -21px;
	position: absolute;
	text-align: center;
	display: block;
	width: 100%;
	height: 20px;
	background: url(./img/line-horisontal.png) bottom repeat-x;
	border-bottom: 1px solid #bdbec0;

} 
.top.line .left.block-height,
.bottom.line .left.block-height {
	position: absolute;
	bottom: 0;
	background: url(./img/line-vertical-left.png) top repeat-y;
	height: 100%;
	left: -20px;
	top: 0;
	display: block;
	width: 20px;
	vertical-align: middle;
}
.top.line .top.left.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-top-1.png);
	top: -31px;
	left: -11px;
}
.top.line .top.right.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-top-1.png);
	top: -31px;
	right: -20px;
}
.top.line .right.block-height,
.bottom.line .right.block-height {
	position: absolute;
	bottom: 0;
	background: url(./img/line-vertical.png) top repeat-y;
	height: 100%;
	right: -20px;
	top: 0;
	display: block;
	width: 20px;
	vertical-align: middle;
}
/* bottom line */
.bottom.line .bottom.block-width {
	bottom: -21px;
	position: absolute;
	text-align: center;
	display: block;
	width: 100%;
	height: 20px;
	background: url(./img/line-horisontal-bot.png) bottom repeat-x;
	border-top: 1px solid #bdbec0;
}
.bottom.line .bottom.left.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-bot.png);
	bottom: -30px;
	left: -11px;
}
.bottom.line .bottom.right.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-bot.png);
	bottom: -30px;
	right: -20px;
}
/* left line */
.left.line .left.block-height {
	position: absolute;
	bottom: 0;
	background: url(./img/line-vertical.png) top repeat-y;
	height: 100%;
	left: -20px;
	top: 0;
	display: block;
	width: 20px;
	vertical-align: middle;
}
.left.line  .block-height-text.left {
	position: absolute;
	text-align: center;
	display: block;
	width: 100%;
	height: 20px;
	top: 45%;
	-moz-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg); /* для IE9 */
	transform: rotate(-90deg); /* на будущее */
}
.left.line .top.left.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-top-left.png);
	top: -21px;
	left: -30px;
}
.left.line .bottom.left.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-top-left.png);
	bottom: -10px;
	left: -30px;
}
/* right line */
.right.line .right.block-height {
	position: absolute;
	bottom: 0;
	background: url(./img/line-vertical-left.png) top repeat-y;
	height: 100%;
	right: -20px;
	top: 0;
	display: block;
	width: 20px;
	vertical-align: middle;
}
.right.line  .block-height-text.right {
	position: absolute;
	text-align: center;
	display: block;
	width: 100%;
	height: 20px;
	top: 45%;
	-moz-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg); /* для IE9 */
	transform: rotate(-90deg); /* на будущее */
}
.right.line .top.right.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-right.png);
	top: -21px;
	right: -30px;
}
.right.line .bottom.right.cross {
	height: 30px;
	width: 30px;
	position: absolute;
	background: url(./img/cross-right.png);
	bottom: -10px;
	right: -30px;
}
/*img#d3questions_tab.dgr3-poplink {
	left: 0!important;
}
*/
#dgr3-m #dgr3-m-body #m-inner .qa a.button {
	background: none!important;
	background-color: #a9c78a!important;
}
.faq-questions .topics h3 {
	display: none;
}
.faq-questions .topics .question h3 {
	display: block;
}
.breadcrumbs {
	max-width: 90%;
}
.question-form p {
	display: none;
}
.gallery .gallery-item {
	display: inline-block;
}
.gallery .gallery-item img {
	display: inline;
	text-align: center;
	margin: 0 auto;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-3 .gallery-item {
	width: 33%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery-columns-5 .gallery-item {
	width: 20%;
}
.gallery-columns-6 .gallery-item {
	width: 16%;
}
.gallery-columns-7 .gallery-item {
	width: 14%;
}
.gallery-columns-8 .gallery-item {
	width: 12%;
}
.gallery-columns-9 .gallery-item {
	width: 11%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.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 {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.jcarousel-skin-tango:after {
	content: '';
	clear: both;
	display: table;
}