.personal {
    display: block;
    height: 20px;
    margin-bottom: 25px;
    margin-top: 13px;
    padding-left: 25px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-image: url('../img/personal.png'); 
}


@media screen and (max-width: 960px) {
#header .church {
display: block;
right: -30px;
}
#header .church img {
height: 130px !important;
}
}

.wrapper .left.column {
    width: 200px;
    margin-right: 40px;
}

.content .razdel_list {
    margin: 65px 0 30px 0;

}
.razdel_pattern {
    display: block;
    width: 208px;
    height: 159px;
    background: url('../img/news_prev.png') 0 0 no-repeat;
    position: absolute;
    z-index: 100;
}
.content .razdel_prev {
    position: relative;
    display: inline-block;
    margin: 0 30px 0 -4px;
}
.razdel_prev img {
    position: relative;
    width: 208px;
    height: 159px;
}
.content .razdel_prev:last-child {
    margin-right: 0px;
}
.content .razdel_prev p {
    position: absolute;
    bottom: 11px;
    left: 8px;
    color: #CAD6BF;
    z-index: 100;
    font-family: Cambria;
    text-transform: uppercase;
    padding: 9px 23px;
    text-align: center;
    width: 146px;
}

.content .razdel_prev .prev_title {
    position: absolute;
    bottom: 11px;
    left: 8px;
    color: #CAD6BF;
    z-index: 100;
    font-family: Cambria;
    text-transform: uppercase;
    padding: 9px 23px;
    text-align: center;
    width: 146px;
}

.content .razdel_prev a
{
    display:block;
    width:208px;
    height:159px;
}

.right.column {
    width: 680px;
}

.lb {
    background: url('../img/photo_prev.png') -1px 0 no-repeat;
    height: 103px;
    width: 135px;
    position: absolute;
    z-index: 100;
}
.light {
    display: inline-block;
    margin-left: -2px;
    height: 100px;
    overflow: hidden;
}
.light a {
    display: block;
}
.ligh:last-child {
    margin-right: 0px;
}
.light img {
    width: 134px;
}
.life h2 {
    margin: 34px 0 14px 0;
    background: url('../img/photo_green.png') 0 4px no-repeat;
    padding-left: 25px;
    margin-left: -25px;
}
.header-name a.map-link {
    margin-bottom: 5px;
    margin-top: 11px;
}
#header .church img {
    height: 155px;
}
.header-logo {
    margin-top:29px;
}
#footer .social a:hover {
    background-image: url('../img/social-hover.png');
}
#footer .social .vk:hover {
    background-position: 0px 0px;
}
#footer .social .face:hover {
    background-position: -31px 0px;
}
#footer .social .twit:hover {
    background-position: -61px 0px;
}
#footer .social .li:hover {
    background-position: -92px 0px;
}

/*****************������ ��������******************/

hr.nostyle
{
    margin-top:4px;
}

.content h1, .content h2, .content h3
{
    width:680px;
    word-wrap: break-word; 
    font-family: Cambria;
    font-weight: bold;
    text-transform: uppercase;
    color: #636363;
    letter-spacing:0.1em;

}


.content h1
{
    font-size: 30px;
    margin-top:4px;
    line-height: 35px;
    margin-bottom:20px;
}


.content h2
{
    font-size: 20px;
    line-height: 26px;
}

.content h3
{
    font-size: 16px;
    line-height: 20px;
    margin-bottom: -4px;
}


.right .pagination
{
    margin-top: 30px;
    margin-left: 4px;
}
.right .pagination a
{
    text-decoration: none;
    font-size: 15px;
    font-family: Cambria;
    display: block;
    float: left;
    width: 26px;
    height: 22px;
    text-align: center;
    margin-top: 4px;
    margin-right: 3px;
    padding-top: 4px;
}

/*
.pagination .page_link
{
width:26px;
height:22px;
text-align:center;
padding-top: 4px;
float: left;
margin-right: 3px;
margin-top:4px;
}
*/

#prev, #next
{
    padding-top: 3px;
    height:23px;
}

.pagination a.active
{
    color:white;
    cursor:text;
}

.pagination hr.nostyle
{
    margin-bottom: 2px;
}


/**************��������� �������******************/

.content .news-date
{
    margin-top: -14px;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 29px;
}


.content .serv
{
    display: block;
    padding-left: 26px;
    padding-top: 3px;
    margin-bottom:4px;
    height: 20px;
}


.content .back
{
    background: url('../img/back.png') 0 0 no-repeat;
    margin-left: 3px;
    float:left;
}

.content .print
{
    background: url('../img/print.png') 0 0 no-repeat;
    right: 23px;
    position: absolute;
}

.content .news, .content .search {
    color:#636363;
}

.content .news .news_annotation
{
    font-size: 15px;
    margin-top: 13px;
    margin-bottom:16px;
    line-height: 20px;
    letter-spacing: 0.02em;
    padding-bottom: 32px;
}

.content .news p, .content .help_info p
{
    font-size: 12px;
    line-height: 17px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.content .news .vrezka
{
    display:block;
    width: 681px;
    color: white;
    margin-top: 14px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.vrezka_top, .vrezka_bot
{
    height:13px;
}

.content .news .vrezka p
{
    padding-left: 15px;
    padding-right: 15px;
    color: white;
    font-size: 15px;
    line-height: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.razd
{
    height: 13px;
    margin-top: 20px;
    margin-bottom: 18px;
}


.content .news ul
{
    margin-top:10px;
}

.content .news li
{
    list-style-type: none;
    padding-left: 10px;
    background: url('../img/bullet.png') 0 5px no-repeat;
    margin-left: 8px;
    margin-bottom: 12px;
}

.content .news li ul li
{
    margin-left: 12px;
    margin-top: 10px;
    margin-bottom: -4px;
}

.content .news li ul
{
    margin-bottom: 18px;
}


.news .image_ramka{
    display: block;
    width: 679px;
    z-index: 100;
    text-align: center;
    padding-top:2px;
    margin-top:25px;
    margin-bottom: -4px;
}



.content .news .image_descr
{
    font-size: 12px;
    font-style: italic;
    margin-bottom: 20px;
    margin-top: 8px;
}


.content .news table
{
    width: 681px;
    margin-top:17px;
    border-collapse: collapse;
}

/*
.news table tr.table_head
{
border: 0px solid #ccc;
width: 681px;
height: 40px;
}
*/

.news table td, th
{
    text-align:center;
    padding-right:20px;
    padding-left:10px;
}

.content .news table th, tr
{
    height: 46px;
}
.content .news table th
{
    color: white;
    font-size:12px;
    background-position: 50% 0;
}

.content .news table th:first-child, .content .news table td:first-child
{
    text-align:left;
    background-position: 0 0;
}

.content .news table th:last-child, .content .news table td:last-child
{
    text-align:center;
    background-position: 100% 0;
}



.content .news table td
{
    padding-top: 7px;
    padding-bottom: 5px;
    width:auto;
    border-bottom: solid 1px #d0d0d0;
}








/*
.news table tr:first-child
{
min-height:40px;
margin-top: 10px;
margin-left: -4px;
width: 700px;
background: url('../img/table_head_green.png') 0 0 no-repeat;
}
*/

.news .im_gallery
{
    margin-top:10px;
    margin-left:-4px;
    width: 700px;
}

.news .im_gallery li
{
    list-style-type: none;
    padding-left: 0px;
    background: none;
    margin-left: 0px;
    margin-bottom: 0px;
    overflow: hidden;
    float: left;
    width: 134px;
    height: 100px;
}

.im_gallery .news_im
{
    float:left;
    margin-right: 3px;
}
.im_gallery .prev_im,
.im_gallery .next_im {
    border: 0;
}
.im_gallery .prev_im
{
    width: 20px;
    height: 100px;
    display: block;
    position: absolute;
    z-index: 200;
    margin-left:-1px;
    outline:none;
    cursor:pointer;
    display: none;
}


.im_gallery .next_im
{
    width: 20px;
    height: 100px;
    display: block;
    position: absolute;
    z-index: 200;
    right:14px;
    outline:none;
    cursor:pointer;
    display: none;
}

/**************************��������*******************************/
.cont.print, .cont.download
{background: url('../img/print.png') 0 0 no-repeat;
 position: relative;
 display: block;
 margin-top: 20px;
 right: 0px;
}

.cont.print
{
    background: url('../img/print.png') 0 0 no-repeat;
}

.cont.download
{
    background: url('../img/download.png') 0 0 no-repeat;
    margin-top: 10px;
}



/****************************�������������*****************************/

.donations_info .razd, .search .razd
{
    margin-top: 10px;
    margin-bottom: 10px;
}

.donation_form
{
    width: 681px;
    margin-left: -1px;
    height: 201px;
    color: white;
    margin-top: 34px;
}


body.green .donation_form a, body.blue .donation_form a, body.orange .donation_form a,
body.red .donation_form a, body.white .donation_form a
{
    color: white;
}

.donation_form h3
{
    text-align:center;
    color: white;
    padding-top: 19px;
}

.donation_form p
{
    text-align:left;
    color: white;
    padding-top: 39px;
    padding-left: 16px;
    line-height:17px;
    font-size:12px
}

.donation_form a
{
    color: white;
}

.donation_form .donations
{
    text-align:center;
    margin-left: -16px;
    margin-top: 24px;
}



/*********************�����**************************/

.right .search.form
{
    margin-top:24px;
    margin-bottom: 13px;
}

.right .search.form input
{
    background: #FFF url('../img/search.png') 660px 2px no-repeat;
    width: 668px;
}

.search.request
{
    font-size: 15px;
    line-height: 20px;
}

.request_words, .result_count 
{
    font-weight:bold;
}

.search.results
{
    width: 680px;
    margin-bottom:-5px;
}

.search.result
{
    height: auto;
    margin-top: 12px;
    margin-bottom: 22px;
    line-height: 17px;
}

.search.number
{
    width: 24px;
    height: 100%;
    float: left;
    color: #acacac;
    font-size: 11px;
}

/**************************404**********************/
.empty_page
{
    text-align:center;
    color: #636363;
}

.empty_page h1,h2,h3
{
    width:100%;
    margin-top: 4px;
}

.empty_page .wide_razd
{
    width: 100%;
    height: 13px;
    margin-top: 16px;
    margin-bottom: 19px;
}

.empty_page .empty_descr
{
    width: 400px;
    text-align: left;
    margin-left: 255px;
    font-size: 14px;
    line-height: 16px;
}

.empty_page .empty_descr a
{
    display:block;
    margin-top: 9px;
    color: #84af5c;
}

.wrapper.fix
{
    min-height:400px;
}


/*******************************����� �����*****************************/

.razd_map
{
    margin-top: 22px;
    margin-bottom: 26px;
}

.wide_hr
{
    position: absolute;
    width: 100%;
    height: 13px;
    left: 0px;
    margin-right: 32px;
    margin-top: -6px;
}

.map_col
{
    width: 190px;
    float:left;
    margin-right: 23px;
}

.map_col a
{
    display:block;
    font-size: 14px;
    margin-bottom: 9px;
}

.map_col a.sublink
{
    font-size: 12px;
    padding-left:20px;
}

.site_map h1
{
    margin-left: -3px;
    margin-top: 5px;
}

/****************************�������� �����**************************/
.template {
    position: fixed;
    right: 0;
    top: 50px;
    background: black;
    z-index: 999;
    padding: 9px 6px 9px 9px;

}
.template a {
    color: white;
    display: block;
    margin-bottom: 5px;
}
.template a.active {
    text-decoration: none;
    color: grey;
    cursor: default;
} 
.template a:hover .prev_text {display: block;}

.template .preview {
    width: 40px;
    height: 40px;
    border: 3px solid black;
}
.template .preview:hover {
    border: 3px solid transparent;
}
.template .active .preview {
    border: 3px solid transparent;

}

.template .green .preview {
    background: #49b344;
}
.template .blue .preview {
    background: #1c91ea;
}

.template .orange .preview {
    background: #f0992f;
}

.template .red .preview {
    background: #c60000;
}

.template .white .preview {
    background: #ffffff;
}


.prev_text {
    display: none;
    position: absolute;
    right: 85px;
    background: black;
    padding: 5px 15px;
    margin-top: 11px;
    white-space: nowrap;
}

.close_template a {
    text-align: center;
    text-decoration: none;
    border-bottom: 1px dotted;
    color: grey;
    line-height: 14px;
    padding: 0px;
    display: inline-block;
    margin: 0px 0px 10px 2px;
}
.close_template a:hover {
    color: white;
}
.open_template {
    width: 40px;
    height: 40px;
    position: fixed;
    z-index: 99;
    right: 0;
    top: 50px;
    background: black;
}
.open_template a {
    display: block;
    height: 26px;
    background: url('../img/settings.png') 0px -26px no-repeat;
    margin: 7px;
}
.open_template a:hover {
    background: url('../img/settings.png') 0px 0px no-repeat;
}
.image-container {
    max-height: 380px;	
}
.carousel-inner img {
    max-height: 360px !important;
}
#slides .carousel-control {
    top: 52%; 
}

@media print
{
    .content h1, h2, h3
    {
	color: black;
    }




    h2{
	line-height: 24px;
	padding-bottom: 14px;
    }

    #container
    {
	min-height:600px;
	margin-bottom: 40px;
    }

    .serv.back, .serv.print
    {
	display:none;
    }


    .wrapper
    {
	padding: 0px;
	margin: 0px;
    }

    .wrapper .left.column {
	display:none;
	width: 200px;
	margin-right: 50px;
    }



    .logo
    {
	width: 48px;
	height: 65px;
	background: url('../img/icon_print.png') 0 0 no-repeat;
	margin-left: 20px;
	margin-right: 50px;
    }

    .logo_text {
	width: 600px;
	float: left;
	margin-top: 34px;
	color: black;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.1em;
    }
    .logo_text a, .cont.print, hr
    {
	display:none;
    }

    #header
    {
	height: 143px;
	background:none;
	margin-bottom: 20px;
    }


    .lightbx.letter, .lightbx.photo, .pagination, .search.form, .slide_rama, .razdel_pattern,
    .light a, .news_im .news_pattern
    {display:none;}

    /*
    #header .right {
    display: none;
    }
    */

    .right.column, .news, .right .news, .right .search
    {
	width:942px;
	color: black;
    }


    .search.number {
	width: 24px;
	color: #000000;
    }


    .contact-info, .donations_info {
	font-size: 12px;
	margin-top: 15px;
	width: 680px;
    }

    .contact-info p, .donations_info p {
	font-size: 15px;
	margin-bottom: -3px;
    }

    .right .map {
	border: solid 1px #d0d0d0;
	margin-top: 71px;
	margin-left: 2px;
	/*width: 918px;
	height: 568px;*/
    }

    .qr
    {
	display: block;
	width: 360px;
	position: absolute;
	margin-top: -112px;
	margin-left: 597px;
	font-size: 12px;
	line-height: 16px;
    }

    .qr .qcode
    {
	float: left;
	margin-right: 18px;
    }

    .contact-info a
    {
	text-decoration:none;
	color:black;
    }

    #footer
    {
	margin-top:-20px;
	height: 60px;
    }

    #footer .mail, #footer .social, #footer .up, #footer .left input, .help_im_pattern, .news .news_pattern
    {
	display:none;
    }

    #footer .center
    {
	margin-left: 0px;
    }

    .wide_hr {
	display:none;
	background: none;
    }

    .help_info .help_descr {
	width: 640px;
    }

    .help_info .help_im {
	margin-left:700px;
    }


    .cont.download {
	display:none;
    }


    .news_prev .news_descr {
	color: #000000;
	font-size: 14px;
    }

    .right .news_list {
	width: 942px;
    }

    .map img
    {
	width: 918px;
	height: 567px;
    }

    .donation_form .donations 
    {
	display: none;
    }

    .template
    {
	display:none;
    }

    .open_template
    {
	display:none;
    }

    .church
    {
	display:none;
    }

    .clouds
    {
	display:none;
    }

    #slides
    {
	width:auto;
	height:auto;
    }

}