body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

div, p, img, pre, blockquote, ul, li, a {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

#wrapper {
    z-index: -1;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    /*position: absolute;*/
    width: 100%;
    background-image: url('../images/gradientblue.jpg');
    background-repeat: repeat-x;
    background-attachment: fixed;
    padding-bottom: 30px;
}

/*������ ���������*/
#container {
    width: 975px;
    z-index: 100;
    background-color: #ffffff;
    padding-bottom: 30px;
    border-radius: 30px;
    -moz-border-radius: 30px;
    margin: 0 auto 0 auto;
    box-shadow: 0px 0px 15px black;

}

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

.navigation {
    top: 0;
    left: 0;
    position: relative;
    background-image: url('../apostoli/images/background1.jpg');
    box-shadow: 0px 3px 5px #888888;
    border-top-right-radius: 30px;
    -moz-border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    -moz-border-bottom-left-radius: 30px;
    border-bottom-right-radius: 0px;
    -moz-border-bottom-right-radius: 0px;
    font-family: trebuchet;
    font-size: 1.3em;
    color: #191970;
    padding: 10px 0 10px 40px;
}
.navigation a {
    white-space: nowrap;
}
/*����������� �� �������� � ��������� ���� */

img.first_letter {
    float: left;
    vertical-align: bottom; /*����� ����� �� �����, ����� � ��������*/
    padding: 0px 5px 0 70px;

}

.text {
    text-align: justify;
    font-family: trebuchet;
    font-size: 1.2em;
    padding: 30px 60px 5px 60px;
    line-height: 28px;
    color: #222;
}
/*start zastavka begin to the page*/
.zastavka {
    margin-left: auto;
    margin-right: auto;
    padding: 10px 50px;
    margin-top: 20px;
    text-align: center;
}
.zastavka span {
    font-family: trebuchet;
    font-size: 1.2em;
    line-height: 28px;
    color: #222;
}
.zastavka h4 {
    text-align: center;
    color: rgb(131, 12, 32); /*����� �������*/

}
/* end zastavka*/
.img {
    margin-left: auto;
    margin-right: auto;
}

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

h4 {
    font-family: trebuchet;
    text-align: right;
    color: rgb(131, 12, 32); /*����� �������*/
    padding: 0px 60px;
}
/*h4  besedi*/
.marginTop30px {
    margin-top: 30px;
}
h4#osajdane {
    text-align: justify;
    padding: 0px 60px;
    color: rgb(131,12,32);
}
/*end h4 besedi*/
/*besedi pokaqnie*/
.pokaqnie {
    text-align: justify;
    font-family: trebuchet;
    font-size: 1.125em;
    color: #444;
}
/*end besedi pokaqnie*/
p, blockquote {
    text-align: justify;
    font-family: trebuchet;
    font-size: 1.2em;
    padding: 5px 60px;
    line-height: 28px;
    color: #222;
}
p {
    text-indent: 2em;
}
/*����������� �� ����� ��������*/
p:first-letter {
    font-family: trebuchet;
    font-size: 200%;
    color: rgb(131, 12, 32); /*������ �������*/
    padding: 0px 0px 0px 5px;
}

/*������� ����� ����� */
p:nth-of-type(2n+1):first-letter {
    font-family: trebuchet;
    font-size: 200%;
    color: #191970;
    padding: 0px 0px 0px 5px;
}

p.ntn_of_type {
    margin-bottom: 30px;
}
blockquote {
    text-indent: 3em;
}
#apostoli {
    font-size: 1.375em;
    text-align: justify;
    font-family: Cambria;
    padding: 0px 50px;
    margin-left: 100px;
}

ol#apostoli li {
    /*color: rgb(179,92,71);*/
    color: rgb(131, 12, 32);
    line-height: 24px;
}

#pdf {
    height: 40px;
    text-align: center;
    font-family: trebuchet;
    font-size: 1.2em;
    /* color:rgb(131,12,32);/*������ �������*/
    padding: 20px;
}

/*koncovka before footer*/
.koncovka {
    text-align: center;
}
div#rest {
    width: 80%;
    margin: 50px auto 0 auto;
}
/*div id "rest"*/
div#rest ul {
    list-style-image: url('../propovedi/images/circle3.jpg');
    list-style-position:outside;
}
#rest ul li {
    font-family:'Book Antiqua', MonoCondensed;
    font-size:1.125em;
    line-height:1.8em;
    margin-left:40px;
    padding-bottom:10px;
}
#rest ul a{
    bottom:8px;
    position:relative;
}
#rest .uppercase {
    text-transform: uppercase;
}
/*end div id "rest"*/
#blueKoncovkaPropovedi {
    margin-top: 50px;
}
/*start school*/
.imgSchool img {
    box-shadow: 5px 5px 3px #888;
}
div.imgSchool{
    text-align: center;
}
div.imgSchool a{
    text-decoration: none;
}
div.imgSchool a, .video video {
    transition: all 0.5s ease;
}
div.imgSchool a:hover img, .video video:hover {
    border:0px solid #0000ff;
    box-shadow: 10px 10px 5px #888888;
}

div.desc
{   display:block;
    text-align:center;
    font-family: trebuchet;
    font-size: 1em;
    margin: 0 auto 20px auto;
    padding:5px 15px;
    width:200px;
}
span.imagesSchool
{
    display:block;
    white-space:nowrap;
}
div.inlineWidth94 {
    width: 94%;
    padding: 20px 0 20px 3%;
}
#Evangelie {
    margin:87px 0 0 2%;
    vertical-align: top;
}
@font-face {
    font-family: 'Bukyvede_Light';
    src: url('fonts/Bukyvede_Light.ttf');
}
h1 {
    text-align: center;
    color: #191970;
    font-family: 'Bukyvede_Light';
}
/*top page video from youTybe*/
.video {
    width: 300px;
    height: 300px;
}
#youtybe2, #youtybe1 {
    box-shadow: 5px 5px 3px #888;
    transition: all 0.5s ease;
}
#youtybe1 {
    background-image: url('../school/images/video1Koleda2015.jpg');
}
#youtybe1:hover {
    background-image: url('../school/images/video1Koleda2015OpasityArrow.jpg');
    box-shadow: 10px 10px 5px #888888;
}
#youtybe2 {
    background-image: url('../school/images/video3Koleda2015.jpg');
}
#youtybe2:hover {
    background-image: url('../school/images/video3Koleda2015OpasityArrow.jpg');
    box-shadow: 10px 10px 5px #888888;
}
/*end top page video from youTybe*/
div.displayInlineBlock {
    padding: 10px 16% 20px 16%;
}
div.displayInlineBlock .video {
    display: inline-block;
}
.video video {
    box-shadow: 3px 3px 3px #888;
}
.secondVideo {
    margin-left: 19%;
}
/*end school*/


/*start kontakti*/


#containerKontacti {
    z-index:-1;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-bottom: 30px;
    background-image:url('../apostoli/images/gradientblue3.jpg');
    background-repeat:repeat-x;
    background-attachment:fixed;
}/*������ ���������*/
#container2 {
    width:975px;
    height:1020px;
    z-index:1;
    background-color:#ffffff;
    border-radius:30px;
    -moz-border-radius:30px;
    margin: 0 auto 0 auto;
    box-shadow: 0px 0px 15px black;

} /*������� �������*/

.navigationKontacti {
    background-image:url('../images/background1.jpg');
    border-top-right-radius:30px;
    -moz-border-top-right-radius:30px;
    border-bottom-left-radius:30px;
    -moz-border-bottom-left-radius:30px;
    border-bottom-right-radius:0px;
    -moz-border-bottom-right-radius:0px;
    font-family: trebuchet;
    font-size: 1.3em;
    color: #191970;
    padding: 10px 0 10px 40px;
    box-shadow: 0px 3px 5px #888888;
} /*����������� �� �������� � ��������� ���� */

.koncovkaKontacti {
    height:100px;
    margin-left:187px;
    margin-bottom:2px;
    position:relative;
    z-index:2;

}
#container2   #koncovka {
    width:975px;
    background-image:url('../images/background1.jpg');
    border-top-right-radius:30px;
    -moz-border-top-right-radius:30px;
    border-bottom-left-radius:30px;
    -moz-border-bottom-left-radius:30px;
    border-bottom-right-radius:0px;
    -moz-border-bottom-right-radius:0px;
    box-shadow: 0px 3px 5px #888888;
    top:820px;
    position:absolute;

}
#kontakti {
    width:970px;
    height:350px;
    border:0px solid #000;

}

#kontakti #logo{
    margin:30px 0px 30px 30px;
    float:left;
    border:0px solid #000;
}
#kontakti #opisanie {
    width:600px;
    text-indent: 2em;
    font:1.2em trebuchet;
    color:#222;/*darkslategray*/
    line-height:1.5em;
    margin:35px 0px 20px 330px;
    padding:8px;
    text-align:justify;
}

#karta {
    float:right;
    margin:-30px 30px 5px 30px;
}

.navigationKontacti p{
    text-align:center;
    padding:0px 20px;
}/*���������� �� ����������*/

.inline
{
    font:20px trebuchet;
    color:#222;/*dimgray*/
    width:600px;
    margin:20px 0px 5px 330px;
    padding-left:15px;
    text-align:left;
}
#email,#tel ,#design{
    color:rgb(131,12,32);/*������ �������*/
    font:20px trebuchet;
    text-decoration:underline;
    float:left;
    padding-right:10px;
}
#design {
    text-decoration:none;

}




/*end kontakti*/



/*start footer*/
#footer {
    /*height: 100px;*/
    text-align: center;
    font-family: trebuchet;
    font-size: 1.2em;
    color: #191970;
    padding: 20px;

}
#footer ul {
    list-style-type: none;
}

.navigation p {
    text-align: center;
    padding: 0px 20px;
}
#pdf a {
    color: rgb(131, 12, 32);
}
/*end footer*/
a:link {
    text-decoration: none;
    color: #191970;
}

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

a:visited {
    color: #191970;
}

a:active {
    color: #191970;
}

a:hover {
    color: #6666cc;
}
#pdf a:hover {
    border-bottom: 1px dashed rgb(131, 12, 32);
}