/*-------------- reset.css --------------*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;margin:0;padding:0;}body{line-height:1.5;}table{border-collapse:separate;border-spacing:0;}caption,th,td{text-align:left;font-weight:400;}table,td,th{vertical-align:middle;}blockquote:before,blockquote:after,q:before,q:after{content:"";}blockquote,q{quotes:"" "";}a img{border:none;}
/*-------------- reset.css --------------*/
/*-------------- grid.css --------------*/
.main{width: 96%;margin-left: 2%;margin-right: 2%;text-align:left;}
.clear{clear:both;}
.dl15,.dl20,.dl25,.dl30{float:left;display:inline;}
.dr15,.dr20,.dr25,.dr30{float:right;display:inline;}
.dl15,.dr15{width:285px;}
.dl20,.dr20{width:412px;}
.dl25,.dr25{width:114px;}
.dl30,.dr30{width:112px;}
.ml20{margin-left:437px;}
.mr15{margin-right:310px;}
.fluid{width:auto;float:none;}
div .fluid{padding:0 0 0 .1em;}
.hp{width:100%;float:left;}
.clearfix,.main{display:block;}
.clearfix:after,.main:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;}
em {font-style:italic;}
/* IE5/MAC hack \*/
* html .clearfix{ display: inline;  height: 1px;}
/* close */
/*-------------- grid.css --------------*/
p.imggal {
    margin: 20px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        background: #e6e5d3;
}
p.imggal a {display: inline-block;}
.news img {
    max-width: 100%;
    height: auto;
}
/*-------------- style.css --------------*/
ol {padding-left:35px;}
.resize2{
  border: 1px solid #c8c6b1;
  float: left;
  margin: .3em 1em .5em 0;
  clear: both;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 3px;
  padding-right: 3px;
  background-color: #f4f3e4;
}
.resize2 a:hover img{
border: 1px solid #cc0000;
}
.zagalouki {
padding:5px 5px 5px 10px;
background-color: #e6e5d3;
border-bottom: solid 1px #d8d6c4;
}
.rightbl {
  border: 1px solid #c8c6b1;
  width: 35%;
  float: right;
  margin: 0 0 1em 1em;
  padding: 5px;
}
.kztext {
	color: #6b6a58;
	font-family: Arial, sans-serif;
	font-size: 11px;
	padding: 5px;
	font-weight: normal;
	text-align: left;
}
.kztext a {
	color: #6b6a58;
}
.kztext a:hover {
	color: #85846f;
}
.kztop {
	font-family:Arial, Verdana, sans-serif;
	font-size: 13px;
	color: #6b6a58;
	padding: 5px;
	font-weight: normal;
	}
	.kztop a {
	color: #6b6a58;
}
.kztop a:link {
	color:#6b6a58;
	border-bottom: 1px dashed #bcbaa9;
	}
.kztop a:visited {
	color:#6b6a58;
	border-bottom:1px dashed #bcbaa9;
	}
.kztop a:hover {
	color:#85846f;
	border-bottom:1px solid #85846f;
	text-decoration: none;
	}
	.vitanne_p {
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	color: #6b6a58;
	line-height: 1.6;
	font-style: italic;
	}
/*Тэкст */
h3.blocks {
	font-family: Georgia, "Times", Arial;
	font-size: 18px;
	color: #9a9984;
	padding: 3px 0;
	margin: 3px 0; 
}
h3.rasklads {
	font-family: Georgia, "Times", Arial;
	font-size: 14px;
	color: #9a9984;
   font-weight: normal;
	padding: 3px 0;
margin: 3px 0;
}
h3.vitanne {
	font-family: Georgia, "Times", Arial;
	font-size: 36px;
	font-weight: normal;
	color: #9a9984;
	padding: 0px;
	margin: 8px;
}
.raskladtext {
	color: #6b6a58;
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: normal;
}
.raskladtext:hover a:after {
	content: url(../img/external.png);
	margin-left: 3px;
}
.sviatyia_big:hover a:after {
	content: url(../img/external.png);
	margin-left: 3px;
}
.sviatyia:hover a:after {
	content: url(../img/external.png);
	margin-left: 3px;
}

.par {
  border: 1px solid #c8c6b1;
  margin: .3em 1em .5em 0;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 3px;
  padding-right: 3px;
  background-color: #f4f3e4;
}
.autar {
	color: #6b6a58;
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
}
.news {
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #6b6a58;
	text-align: justify;
	line-height: 1.6;
}
.news h1 {
	font-size: 28px;
	font-weight: 700;
	padding: 1em 0;
}
.news h2 {
	font-size: 24px;
	font-weight: 700;
	padding: 1em 0;
}
.news h3 {
	font-size: 18px;
	font-weight: 700;
	padding: 1em 0;
}
.title {
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	color: #6b6a58;
	padding-left: 5px;
	line-height:130%;
	}
	.title a:link {
	color:#6b6a58;
	border-bottom: 1px dashed #bcbaa9;
	}
.title a:visited {
	color:#6b6a58;
	border-bottom:1px dashed #bcbaa9;
	}
.title a:hover {
	color:#85846f;
	border-bottom:1px solid #85846f;
	text-decoration: none;
	}

h2 {
	padding-left: 7px;
	padding-top: 4px;
	margin: 0px 0 0;
	border-bottom: 1px dashed #CCCCCC;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 0px 0 0 0px;
	padding: 0;
	}

#sidebar h2 {
	margin: 0px 0 0 0px;
	padding: 0;
	}

.speed {		
	background-repeat: repeat-x;
	background-position: center;
	margin: 0px;
}
h4.speed {
	font-family: Georgia, serif;
	font-size: 18px;
	color: #9a9984;
	text-align: left;
	font-weight: normal;
}
#right {
	width: 285px;
	float: right;
	}
	
/* Cпасылкі */
a {
	color:#1075bc;
	text-decoration:none;
}

a:hover {
color:#cd150d;
	text-decoration:underline;
}

#nav menu a {
  text-decoration:none;
  color: white;
  font-size: 11px;
  font-family: Arial, sans-serif;
}
#nav menu a:hover {
  text-decoration:underline;
  color: white;
  background-image: url(../img/hovmenu.png);
}
.spasylki {
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #6b6a58;
	line-height: 1.6;
}
#sidebar	{ float:left; margin-top:1em; }
	#sidebar ul { margin:0; padding:0; list-style:none; }
	#quicklinks ul { margin:0; padding:0; list-style:none; }
	#quicklinks li { background:#fff; margin-bottom:7px; padding:4px; border:1px solid #c8c6b1; width:250px;  }
	#quicklinks li:hover { border:1px solid #b0af97;}
	#quicklinks li a { display:block; text-indent:-999em; width:250px; height:50px; }
	#quicklinks li#chas a { height: 50px; background-image: url(../img/ban_chas.jpg); background-repeat: no-repeat; }
	#quicklinks li#gazeta	a { height:50px; background: url(../img/ban_gazeta.png) no-repeat;  }	
	#quicklinks li#catholic a { height: 50px; background-image: url(../img/ban_catholic.png); background-repeat: no-repeat; } 
/* Каляндар */
.kal {
	background-color: #c8c6b1;
	padding: 5px;
	color: white;
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 12px;
margin-right: 10px;
}
.tabkal {
	margin-right: 10px;
}
.quote {
	margin: 0.3em 0;
	padding: .8em 38px;
	background: url(../img/quote-lg.gif) 11px 0.7em no-repeat;
	font-style: italic;
	background-color:#f4f3e8;
	}

.quote p {
	padding-top: 0;
	font-size: .95em;
	font-style: italic;
	color: #666;
	}
	
.quote p strong {
	color: #333;
	}
/* Межстраничная навигация */

.navigation {
	color: #e6e5d3; 
	border:0px;
}

.navigation a {
	text-decoration:none;
	color:#6b6a58;
	background:#dfddc8;
	border: 1px solid #c8c6b1;
	padding:5px 6px;
	font-size:11px;
	text-transform: uppercase;
}

.navigation a:hover {
	background: #c8c6b1;
	color:#FFFFFF;
	border-color:#c8c6b1;
}

.navigation span {
	text-decoration:none;
	background:#dfddc8;
	padding:5px 6px;
	border:1px solid #c8c6b1;
	color: #aeac91;
	font-size:11px;
		text-transform: uppercase;
}


/*  */
.line {
	border-bottom: solid 1px #c8c6b1;
	margin: 20px 0px 20px 0px;
}

.ramka {
		border: 1px solid #c8c6b1;
		background-color: #dfddc8;
		padding: 7px;
		text-align: left;
		font-size: 11px;		/* ! */
		font-family: Verdana;	/* ! */
		color: #6b6a58;
		width: 200px;
	margin:0px;
	}
	.borda {
		border: 1px solid #c8c6b1;
		background-color: #dfddc8;
		padding: 5px;
		text-align: left;
		font-size: 11px;		/* ! */
		font-family: Verdana;	/* ! */
		color: #6b6a58;
		}
	.knopka {
		border: 1px solid #c8c6b1;
		background-color: #dfddc8;
		padding: 5px;
		text-align: center;
		font-size: 11px;		/* ! */
		font-family: Arial;	/* ! */
		color: #6b6a58;
		text-transform: uppercase;
		width: 80px;
		margin: 10px;
	}
.news_bg {
		border: 1px dashed #c0c0a7;
		padding: 10px;
		background-color: #e6e5d3;
	}
.mapaa {
  border: 1px solid #c8c6b1;
  float: right;
  clear: both;
  padding: 6px;
  background-color: #f4f3e4;
}

#nizadstup { background:#f9f9f0; margin-bottom:15px; padding:4px; border:1px solid #c8c6b1; width:275px; }

h5.speed {
	font-family: Georgia, serif;
	font-size: 16px;
	color: #9a9984;
	text-align: left;
	font-weight: normal;
	}
	h3.navina {
	font-family: Georgia, serif;
	font-size: 14px;
	color: #9a9984;
	text-align: left;
	font-weight: normal;
	}
	h3.navina a {
	color:#6b6a58;
	border-bottom: 1px dashed #bcbaa9;
	}
	h3.navina a:visited {
	color:#6b6a58;
	border-bottom:1px dashed #bcbaa9;
	}
h3.navina a:hover {
	color:#85846f;
	border-bottom:1px solid #85846f;
	text-decoration: none;
	}
/*-------------- style.css --------------*/
/*-------------- main.css --------------*/
* {
    margin: 0px;
    padding: 0px;
    }
body {
    margin:0 auto;
    background: #edecda;
    min-width: 980px;    
   font-size: 62.5%;
    padding: 0 0 40px;
    color: #6b6a58;
   font-family: Arial, Verdana, Tahoma, sans-serif;
}
/*-------------- Shapka --------------*/
    #shapka {
    position:relative; z-index:1000; height:140px;
    width: 100%;
    background-image: url(../img/bg.jpg); 
}
#engtop {
    display:block; position:absolute; top:0px; left:0px;
    background: url(../img/shp_eng.png) scroll left top;
    z-index:1000;
    width: 303px;
    height: 39px;
    }
    #menutop {
    display:block; position:absolute; top:0px; right:89px;
    background: url(../img/shp_more.png) no-repeat scroll right top;
    width: 305px;
    height: 39px;
    }
#logosv {
display:block; position:absolute; top:39px; left:0px;
    z-index:1000;
background: url(../img/shp_logo.png) no-repeat scroll left top;
 width: 303px;
 height: 71px; 
}
#logosv h1 {
    text-indent: -9999px;
    height: 71px;
    width: 303px;
    }
#logosv a {
    display: block;
    width: 303px;
    height: 71px;
    }   
#topBarCurve {
    display:block; position:absolute; top:0px; right:0px;

    }
#topBarCurve h1 {
    margin:0px;
    text-indent: -9999px;
    background: url(../img/shp_earth.png) no-repeat scroll left top;
    height: 39px;
    width: 70px;
    }
#topBarCurve a {
    display: block;
    width: 70px;
    height: 39px;
    }
#headerContainer {
    width: 100%;
    clear: both;
    }   
    
/* ------- Menu -------*/
#nav{
   position: absolute;
   bottom: 30px;
   right: 8px;
   z-index: 999;
   list-style: none;
}

#nav li{
   float: left;
   margin-right: 3px;
   background: url(../img/nav_rg.png) no-repeat right top;
   font-size: 11px;
   text-transform: uppercase;
}

#nav li.current{
   background-position: right bottom;
}

#nav li a{
   float: left;
   display: block;
   height: 22px;
   padding: 8px 14px 0;
   background: url(../img/nav_left.png) no-repeat left top;
   font-family: Arial, Verdana, sans-serif; font-size: 11px; color: #eec1c1;
   text-decoration: none;
}
#nav li.current a{
   background-position: left bottom;
   color: #27333A;
}
#nav li:hover,
#nav li.sfhover{
   background-position: right -31px;
}
#nav li.current:hover,
#nav li.sfhover.current{
   background-position: right bottom;
}
#nav li:hover a,
#nav li.sfhover a{
   background-position: left -31px;
   color: #FFF;
}
#nav li.current:hover a,
#nav li.sfhover.current a{
   background-position: left bottom;
   color: #27333A;
}
#nav li#nav_home.current{
   background-position: right top;
}
#nav li#nav_home.current a{
   background-position: left top;
   color: #9BAAB5;
}
#nav li.current#nav_home:hover,
#nav li.current.sfhover#nav_home{
   background-position: right -31px;
}
#nv li.current#nav_home:hover,
#nav li.current.sfhover#nav_home a{
   background-position: left -31px;
   color: #FFF;
}
#nav li ul{
   clear: left;
   position: absolute;
   left: -999em;
   z-index: 999;
   width: 161px;
   margin-top: 30px;
   margin-left: -1px;
   border: 1px solid #BABEB1;
   border-top: 0;
   border-bottom: 0;
   list-style: none;
   line-height: 1;
}
*+html #nav li ul{
   margin-top: 0;
}
#nav li li{
   display: inline;
   float: none;
   margin: 0;
   font-size: .9167em;
   text-transform: none;
    }
#nav li ul ul{
   margin: -31px 0 0 161px;
}
#nav li:hover ul ul,
#nav li.sfhover ul ul{
   left: -999em;
}
#nav li:hover ul,
#nav li li:hover ul,
#nav li.sfhover ul,
#nav li li.sfhover ul{
   left: auto;
}
#nav li li li{
   font-size: 1em;
}
#nav li:hover li a,
#nav li.sfhover li a{
   float: none;
   width: 133px;
   height: auto;
   padding: 9px 14px;
   border-top: 1px solid #FBFCFE;
   border-bottom: 1px solid #BABEB1;
   background: #F1F3EE;
   color: #384751;
    text-align: left;
}
#nav li:hover li a:hover,
#nav li.sfhover li a:hover{
   background: #e7e7d6;
}

/* ------- Content -------*/
/* Vitanne */
#vitanne {
margin-top:-10px;
clear: both;
padding-bottom:10px;
}

.vitanne_p {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    color: #6b6a58;
    line-height: 1.6;
    font-style: italic;
    padding-top: 10px;
    margin-bottom: 10px;
    }

#zvarot {
        margin-left: 20px;
        float: right;
        height: 238px;
        clear: both;
    }   
.ikona {
    background-image: url(../img/ikona.png);
    background-repeat: no-repeat;
    padding:0px;
    margin:0px;
    width: 412px;
    height: 238px;
    clear: both;
    position: relative;
}
.vitanneaj {
margin-bottom: -25px;
background-image: url(../img/vitbg.png);
background-repeat: repeat-x;
width: 100%;
background-position: center;
}

#gallery{
width: 200px;
margin-right: 15px;
float: right;
}

/* ----------kalendar---------------- */
.box {
width:285px;    
}
.box_c {
width:100%; 
}
.box h2, .box_c h2 {
text-align:left;
height:25px;
background-color: #e6e5d3;
border-bottom: solid 1px #d8d6c4;
font-weight:normal;
color:#9a9984;
font-family: Georgia, serif;
font-size: 18px;

padding:4px 0 4px 12px;
}
.block {    
padding:15px 0;
}


/* -------Niz -------*/
#uverh {
    padding:0;
    float:right;
    margin-right:18px;
    background:url(../img/topscroll.png) no-repeat;
    position: absolute;
    right: +10px;
}
.niz {
    background-image: url(../img/bott.png);
    background-repeat: repeat-x;
    font-family: Arial, sans-serif;
    color: #85846f;
    font-size: 12px;
    padding: 20px 0px 0px 0px;
    text-align: left;
    margin: 0 auto;
    clear: both;
}
#lic {
float: right;
margin: 10px;
}
/* ---------- popups css ----------------- */
#lgpopup {
	top: 25px;
	left: -150px;
	background-position:0px 0px;	

}
.popup {
	position: absolute;
	z-index: 9999;
	display:none;
	border-collapse: collapse;
	background-repeat: no-repeat;
	width:200px;
	height:35px;
    overflow: hidden;
}
.poptext { padding:0px;}
.haspopup {  }
/* end popups*/
 #galleria{
                width:560px;
                height:500px;
                margin:20px auto 0 auto;
                background:#c8c6b1;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;
                background:-moz-radial-gradient(center 45deg, circle closest-side, #222 40%, #000 100%);
                background:-webkit-gradient(
                    radial, center 50%, 20, center 50%, 250, from(#333), to(#000)
                )
            }

            table.bordered, .bordered td {
    border: 1px solid #c8c6b1;
    padding: 15px;
    border-collapse: collapse;
}