body {
    color: #51566b;
    background: #f1f2f3;
}

.container {
    width: 1180px;
}

.head {
    height: 111px;
    background: #3579de;
}

.logo, .title {
    height: 111px;
}

.logo {
    padding: 0px;
}
.logo>a>img{
    margin-left:61px;
    margin-top:22px;
}

.title {
    color: #fff;
    font-size: 18px;
    line-height: 111px;
    padding:0;
}

.menu {
    height: 51px;
    background: #fff;
    padding: 0;
    margin-bottom: 16px;
    border-radius: 0 0 3px 3px;
    text-align: center;
    box-shadow: 1px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.menu_items {
    align-content: center;
    list-style: none;
    display: block;


}

.menu_items > li {
    display: inline-block;
    text-align: center;
    padding-right: 17px;
    border-right: solid #FFF 15px;
    border-image: url(/vs/enciklopediya/img/delimiter.png) 0 13;
    margin-right: 13px;
}

.menu_items > li:last-child {
    border: none;
}

.menu_items > li > a {
    font-size: 20px;
    color: #51566b;
    text-decoration: none;
}

.content {
    min-height: 500px;
    height: 100%;


}

.block_map {
    margin-bottom: 21px;

}

.map {
    height: 453px;
    padding: 8px;
    background: #fff;
    border-radius:3px;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.15);
}

.mapen {
    height: 453px;
    padding: 8px;
    background: #fff;
    margin-bottom:20px;
    border-radius:3px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.block_welcome {

    margin-bottom: 25px;
}

.welcome {
    min-height: 200px;
    background: #FFF;
    padding: 15px;
    border-radius:3px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.block_villages {
    padding: 5px;
    margin-bottom: 25px;
}

.village {
    width: 280px;
    height: 448px;
    background: #fff;
    text-align: left;
    margin: 0 10px 20px 10px;
    padding: 0;
    border-radius: 3px;
    box-shadow: 1px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.village > img {
    width: 280px;
    height: 200px;
    border-radius: 3px 3px 0px 0px;
}

.village > .name {
    padding: 20px 20px 10px 20px;
    font-weight: bold;
    font-size: 20px;
}

.village > .text {
    padding: 10px 20px 10px 20px;
    word-wrap: break-word;

}

.village > .footer {
    margin-bottom: 0;
    border-top: solid #e5e5e5 1px;
    position: absolute;
    bottom: 20px;
}

.village:first-child {
    margin-left: 0;
}

.village:last-child {
    margin-right: 0;
}

.btn-primary {
    background: #fff;
    margin-top: 20px;
    color: #3579de;
    border-color: #3579de;
    text-decoration: none;
}

.btn-primary:hover {
    background: #3579de;
    color: #fff;
}

.all_villages_row {
    height: 92px;
    background: #fff;
    margin-bottom: 30px;
    border-radius:3px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.all_villages_row > .btn-primary {
    margin-left: 450px;
    width: 280px;
}

.all_villages_button {
    margin: 5px 0 5px 0;
}

.banner_block {
    margin-bottom: 30px;
}

.banner {
    width:280px;
    height:140px;
    margin: 0 10px;
    padding:0;
    border-radius:3px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}
.banner > img {
    border-radius:3px;
}
.banner:first-child {
    margin-left: 0;
}

.banner:last-child {
    margin-right: 0;
}

.contacts{
    background: #394257;
    height:120px;
}
.contacts> .info{
    color: #fff;
    line-height: 30px;
    margin-top: 15px;
    padding-left: 30px;
    font-size:13px;
}
.cop{
    background: #2e3547;
    height: 60px;
    border-top: 1px #616879 solid;
}
.cop> .info {
    padding-left:30px;
    color: #a7b3cb;
    margin-top: 20px;
    font-size:13px;
}
.cop> .itis {
    padding-right: 20px;
    padding-left: 0;
    margin-top: 10px;
    color: #a7b3cb;
    font-size: 13px;
}
.cop> .itis >img{
    float: left;
    margin: 3px 10px;
}

.detail{
    min-height: 150px;
    background: #FFF;
    border-radius: 2px;
    margin-bottom:20px;
    box-shadow: 1px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.detail_items{
padding:0;
    height:70px;
}
.nav-tabs > li > a{
    font-size: 13px;
    margin-left:60px;
    padding:0;
    line-height: 70px;
    text-decoration: none;
    font-weight: bold;
    color:#717483;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus{
    border:0;
    border-radius: 0;
    padding:0;
    -webkit-box-shadow: inset 0 -4px 0 #1c5aa1;
    box-shadow: inset 0 -4px 0 #1c5aa1;

}
.nav-tabs > li.active > a:hover,.nav-tabs > li > a:hover {

    border-radius: 0;
    background: none;
    border-color: transparent;
}

.nav-tabs > li.active > a:hover{
    border:0;
}
.tab-content{
    padding:25px 60px 45px 60px;
}
.tab-pane > h1{
    text-align:center ;
}

.tab-pane > img{
    display: block;
    margin:20px auto;
}

#persons img, #base_info img, #memories img{
    float:left;
    margin:15px;

}

#photo img{
    margin-left: 5px;
    margin-bottom: 5px;
    height: 150px;
}

.detail_title{
    margin-top:35px;
    text-align: center;
    font-weight: bold;

}
.detail_title >img{
    display:block;
    margin: 20px auto;
}
.content_item {
    min-height: 200px;
    background: #FFF;
    margin:10px 0px;
    border-radius: 2px;
    display: inline-block;
    width: 580px;
    box-shadow: 1px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.content_item:nth-child(even) {
    margin-left: 20px;
}

.content_item > .info {
    padding:15px;
    height:200px;
    font-size:12px;
}

.info > .buttons {
    position: absolute;
    bottom: 15px;
    width: 120px;
}

.content_item > .preview {
    padding:0;
}

.alphabet{
    height:80px;
    margin-bottom:20px;
    background: #fff;
    border-radius: 2px;
    text-align: center;
    box-shadow: 1px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.alphabet > .all > a{
    Color:#1c5aa1;
    margin-top:3px;
}


.alphabet > .btn-primary, .pagenator > .btn-primary{
    border-radius: 1px;
    border: solid 1px #1c5aa1;
    border-right:0px;
    color:#515669;
    font-weight: normal;
}

.alphabet > .btn-primary:hover, .pagenator > .btn-primary:hover{
    background: #1c5aa1;
    color:#fff;
}

.alphabet > .btn-primary:nth-last-child(2), .pagenator > .btn-primary:last-child{
    border-radius: 1px;

    border: solid 1px #1c5aa1;
}
.alphabet > .active, .pagenator > .clicked{
    background: #1c5aa1;
    color:#fff;
}

.alphabet-up{
    height:80px;
    margin-bottom:20px;
    background: #fff;
    border-radius: 2px;
    text-align: center;
    box-shadow: 1px;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.15);
}

.alphabet-up > .all > a{
    color:#1c5aa1;
    margin-top:3px;
}


.alphabet-up > .btn-primary, .pagenator > .btn-primary{
    border-radius: 1px;
    border: solid 1px #1c5aa1;
    border-right:0px;
    color:#515669;
    font-weight: normal;
    font-size: 24px;
}

.alphabet-up > .btn-primary:hover, .pagenator > .btn-primary:hover{
    background: #1c5aa1;
    color:#fff;
}

.alphabet-up > .btn-primary:nth-last-child(1), .pagenator > .btn-primary:last-child{
    border-radius: 1px;
    margin-left: -5px;
    border: solid 1px #1c5aa1;
}
.alphabet-up > .active, .pagenator > .clicked{
    background: #1c5aa1;
    color:#fff;
}

.pub_title>a{
    font-size:18px;
    color:#1b5aa1;
    margin-bottom:16px;
}
.date{
    margin-bottom:16px;

}
.date>img{
    width: 13px;
    margin-bottom:3px;

}

.pagenator{
    margin-top:20px;
    margin-bottom:50px;
    text-align: center;
}


#fancybox-content{
    border-width: 0;
}

#fancybox-wrap{
    padding:0;
}


.lol{
    width:140px;
    height:100px;
}
.zagl{
    text-align: center;
    display: block;
    margin: 20px auto;
    min-height: 50px;
}

.minh{
    min-height:20px;
}

.lst_upd{
    text-align: right;
    color: white;
    padding-top: 20px;
    font-size: 12px;
}