body {
    background-repeat: repeat;
}

.textcopyright {
    font-size: 12px;
}

.copyright p {
    font-size: 14px;
    margin-left: 0px;
    margin-right: 0px;
}

.createbycompany p {
    font-size: 12px;
    margin-left: 0px;
    margin-right: 0px;
}

#rassilka input,
.menufooter a,
#osnovmemu ul li {
    float: left;
}

.menufooter a {
    font-weight: 500;
}

#osnovmemu a {
    font-weight: 600;
}

.menutop a {
    text-decoration: none;
    padding-bottom: 1px;
    display: inline-block;
    border-bottom: 1px solid #dcd3b4;
}

.menutop a:hover {
    border: none;
    padding-bottom: 2px;
}

.container.main .right {
    width: 300px;
}

.hedling {
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    color: #5f0519;
    font-weight: 600;
    font-size: 18px;
    background: #eee9d9;
    margin-bottom: 2px;
}

#blogmain .blogcontent {
    width: 500px;
    float: left;
}

#blogmain {
    display: inline-block;
}

.side-calendar {
    position: relative;
    /*    margin-bottom: 30px;*/
}

.owl-item {
    text-align: center;
}

.owl-item div {
    width: 300px;
    display: inline-block;
}

.owl-item .date-calenadar {
    background: #eee9d9;
    padding: 20px 50px;
    margin-bottom: 2px;
}

.owl-item .date-calenadar a {
    display: block;
    color: #5f0519;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.owl-item .date-calenadar span {
    font-size: 14px;
    color: #666666;
}

.owl-nav {
    height: 1px;
}

.side-calendar .owl-nav .owl-next span,
.side-calendar .owl-nav .owl-prev span {
    position: absolute;
    top: 30px;
    height: 34px;
    width: 15px;
}

.side-calendar .owl-nav .owl-prev span {
    left: 30px;
}

.side-calendar .owl-nav .owl-next span {
    right: 30px;
}

.side-calendar .owl-nav .owl-next span::before,
.side-calendar .owl-nav .owl-next span::after,
.side-calendar .owl-nav .owl-prev span::before,
.side-calendar .owl-nav .owl-prev span::after {
    content: ' ';
    width: 17px;
    display: inline-block;
    border-top: 1px solid #6b1829;
    position: absolute;
}

.side-calendar .owl-nav .owl-prev span::before {
    transform: rotate(60deg);
    bottom: 9px;
    left: 0;
}

.side-calendar .owl-nav .owl-prev span::after {
    transform: rotate(-60deg);
    top: 9px;
    left: 0;
}

.side-calendar .owl-nav .owl-next span::before {
    transform: rotate(-60deg);
    bottom: 9px;
    right: 0;
}

.side-calendar .owl-nav .owl-next span::after {
    transform: rotate(60deg);
    top: 9px;
    right: 0;
}

.next-site-calendar {
    background: #eee9d9;
    padding: 20px 30px 30px;
    text-align: left;
}

.next-site-calendar p {
    color: #5f0519;
    font-size: 14px;
    margin: 10px 0 0;
}

.next-site-calendar span {
    color: #666666;
    font-size: 14px;
}

.next-site-calendar a {
    font-size: 12px;
    display: inline-block;
    text-transform: uppercase;
    background: #e9e3cf;
    padding-top: 6px;
    padding-bottom: 3px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 35px;
    color: #666666;
    left: 0px;
    margin-top: 30px;
}

.side-calendar .next-site-calendar>div {
    width: auto;
}

.next-site-calendar p,
.next-site-calendar span,
.side-calendar p,
.side-calendar span {
    font-family: 'Open Sans';
}

#raspisanie .name {
    text-transform: lowercase;
}

.timetable {
    margin: 30px 0 40px;
}

.timetable .timetable-row {
    display: inline-block;
    width: 100%;
}

.timetable .timetable-row * {
    color: #666666;
    font-size: 18px;
    display: table;
    font-family: 'Open Sans';
}

.timetable .timetable-row:first-of-type * {
    color: #5f0519;
}

.timetable .left-side {
    width: 300px;
    float: left;
    margin-right: 40px;
}

.timetable .left-side span {
    display: inline-block;
    float: left;
    min-width: 80px;
    max-width: 260px;
}

.timetable .left-side span+span:not(.time) {
    margin-left: 20px;
}

.timetable .left-side span.time {
    min-width: 40px;
    width: 40px;
    float: left;
}

/*  tt2 */

.timetable2 {
    margin: 30px 0 40px;
}

.timetable2 .timetable-row {
    display: inline-block;
    width: 100%;
}

.timetable2 .timetable-row * {
    color: #666666;
    font-size: 18px;
    display: table;
    font-family: 'Open Sans';
}

.timetable2 .timetable-row:first-of-type * {
    color: #5f0519;
}

.timetable2 .left-side {
    width: 300px;
    float: left;
    margin-right: 40px;
}

.timetable2 .left-side span {
    display: inline-block;
    float: left;
    min-width: 80px;
    max-width: 260px;
}

.timetable2 .left-side span+span:not(.time) {
    margin-left: 20px;
}

.timetable2 .left-side span.time {
    min-width: 40px;
    width: 40px;
 /*   float: right;*/
}




/* */
.h2title {
    line-height: 26px;
}

.timetable a,
.timetable a:visited,
.timetable a:active {
    display: inline-block;
    text-transform: uppercase;
    background: #e9e3cf;
    padding-top: 6px;
    padding-bottom: 3px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 35px;
    color: #666666;
    left: 0px;
    font-size: 12px;
    float: left;
}

.timetable2 a.link,
.timetable2 a.link:visited,
.timetable2 a.link:active {
    display: inline-block;
    text-transform: uppercase;
    background: #e9e3cf;
    padding-top: 6px;
    padding-bottom: 3px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 35px;
    color: #666666;
    left: 0px;
    font-size: 12px;
    float: right;
}


.timetable a:hover {
    color: #d2232a;
}

.timetable2 a:hover {
    color: #d2232a;
}

.createbycompany p,
.copyright p {
    color: #dcd3b4;
    font-family: 'Open Sans';
}

.createbycompany .createby {
    text-transform: uppercase;
}

#rassilka a {
    padding-top: 6px;
    font-weight: 600;
}

#rassilka input {
    font-size: 12px;
    color: #dcd3b4;
    padding-left: 10px;
}

.main .news-list {
    margin-top: 30px;
}

.main .news-list>a {
    font-size: 12px;
    display: inline-block;
    float: right;
    text-transform: uppercase;
    background: #e9e3cf;
    padding-top: 6px;
    padding-bottom: 3px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 35px;
    color: #666666;
    left: 0px;
}

.main .news-list>a:hover {
    color: #d2232a;
}

.main .news-item {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.main .news-item>a {
    float: left;
    width: 300px;
    height: 180px;
    margin-right: 40px;
    display: inline-block;
    overflow: hidden;
}

.main .news-item a img {
    width: auto;
    height: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.main .news-item div {
    display: table;
}

.main .news-item div p {
    font-size: 16px;
    color: #666666;
    margin: 0 0 20px;
    font-family: 'Open Sans';
}

.main .news-item div a {
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    color: #5f0519;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

.main .news-item div a:hover {
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    color: #5f0519;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: underline;
}

.main .news-item .date {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-block;
    width: auto;
    font-size: 14px;
    color: #93918a;
    margin: 0;
}

.totop {
    background: url('../../images/totop.png');
    text-align: center;
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 30px;
    right: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.onebanner p {
    /*    font-weight: 600;*/
    font-size: 14px;
    margin: 0
}

.container.news {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 70px;
}

.title {
    font-family: 'Montserrat';
    font-weight: 500;
    text-transform: uppercase;
    color: #5f0519;
    font-size: 45px;
    margin: 30px 0 25px;
}

.news .list-news {
    float: left;
}

.news .list-news-item {
    float: left;
    margin-bottom: 45px;
}

.news .list-news-item:last-of-type {
    margin-bottom: 0;
}

.news .list-news-item>a {
    display: inline-block;
    float: left;
    width: 260px;
    height: 180px;
    text-align: center;
    overflow: hidden;
    margin-right: 40px;
}

.news .list-news-item>a>img {
    width: 100%;
    height: auto;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.news .list-news-item>div {
    height: 180px;
    float: left;
    width: 800px;
    position: relative;
    padding-top: 14px;
    padding-right: 50px;
}

.news .list-news-item>div .date {
    all: initial;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #666666;
    font-family: 'Montserrat';
    position: absolute;
    top: 0;
    left: 0;
}

.news .list-news-item>div .heading {
    display: inline-block;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #5f0519;
    font-size: 20px;
    line-height: normal;
    margin: 5px 0 10px;
}

.news .list-news-item>div .heading:hover {
    display: inline-block;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #5f0519;
    font-size: 20px;
    line-height: normal;
    /* margin: 5px 0 10px; */
}

.news .list-news-item>div p {
    font-family: 'Open Sans';
    font-size: 16px;
    color: #676767;
    margin-bottom: 25px;
    margin-left: 0px;
    margin-right: 0px;
}

.news .list-news-item>div a:last-of-type {
    font-size: 12px;
    display: inline-block;
    text-transform: uppercase;
    background: #e9e3cf;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 35px;
    color: #666666;
    position: absolute;
    bottom: 0;
    left: 0px;
}

.news .list-news-item>div a:hover {
    color: #d2232a;
}

.breadkrumb-wraper {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 60px;
}

.breadkrumbs {
    display: inline-block;
    border: 1px solid #5f0519;
    border-radius: 25px;
}

.breadkrumbs * {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #5f0519;
    border-right: 1px solid #5f0519;
    padding: 6px 10px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    float: left;
}

.breadkrumbs *:first-child {
    border-radius: 25px 0 0 25px;
}

.breadkrumbs *:last-child {
    border-right: 0;
    border-radius: 0 25px 25px 0;
}

.breadkrumbs *:hover {
    text-decoration: none;
    background: #5f0519;
    color: #fff;
}

.breadkrumbs .active-bread {
    background: #5f0519;
    color: #fff;
}

.container.news.news-in {
    padding-bottom: 50px;
}

.sub-title {
    font-family: 'Montserrat';
    font-weight: 500;
    font-style: italic;
    font-size: 20px;
    color: #5f0519;
    margin: 0;
}

hr.butyfull {
    background-image: url('../../images/hr-bg.png');
    height: 31px;
    border: none;
    margin: 40px 0;
    display: inline-block;
    width: 100%;
}

p.text {
    font-family: 'Open Sans';
    font-size: 18px;
    color: #5f0519;
    margin: 0;
    text-indent: 0px;
}

.container.victim {
    padding-left: 50px;
    padding-right: 10px;
    padding-bottom: 100px;
}

.victim .victim-text,
.victim .victim-photo {
    display: inline-block;
    width: 50%;
    float: left;
}

.victim100 .victim-text100,
.victim100 .victim-photo100 {
    display: inline-block;
    float: left;
}


.victim .victim-text {
    padding-right: 20px;
}

.victim .victim-text .text {
    padding-bottom: 50px;
}

.victim .victim-text .inputs p,
.victim .victim-text p {
    font-family: 'Open Sans';
    font-size: 14px;
    color: #676767;
    margin: 0;
}

.victim .victim-text .inputs textarea,
.victim .victim-text .inputs input {
    font-family: 'Open Sans';
    outline: none;
    background: #fff;
    border-color: #5f0519;
    color: #676767;
    border-width: 1px;
    border-radius: 15px;
    font-size: 14px;
    padding: 4px 10px;
/*    width: 300px;*/
}

.victim .victim-text .inputs .personinputlist input {
    font-family: 'Open Sans';
    outline: none;
    background: #fff;
    border-color: #5f0519;
    color: #676767;
    border-width: 1px;
    border-radius: 15px;
    font-size: 14px;
    padding: 4px 10px;
    width: 248px; 
    margin-bottom: 5px;
    text-transform: uppercase;
/*    width: 300px;*/
}


.victim .victim-text .inputs textarea {
    height: 130px;
    resize: none;
}

.victim .inputs button {
    font-size: 14px;
    display: block;
    font-family: 'Montserrat';
    font-weight: 500;
    text-transform: uppercase;
    background: #5f0519;
    padding: 4px 26px;
    border-radius: 15px;
    color: #dcd3b4;
    margin-top: 30px;
    outline: none;
    border: 1px solid #dcd3b4;
}

.victim .victim-photo img {
    width: 100%;
}

.container.victim.prey {
    padding-bottom: 45px;
}

.letter-to-dazan .victim-text .inputs input,
.prey .victim-text .inputs input:last-of-type {
/*    margin-bottom: 20px;*/
}

.prey .victim-text .inputs p+p {
    margin-top: 15px;
}

.prey .victim-text .text {
    padding-bottom: 35px;
}

.letter-to-dazan .victim-text .text {
    padding-bottom: 25px;
}

.victim.letter-to-dazan .inputs button {
    margin-top: 20px;
}

.container.documents {
    padding-left: 50px;
    padding-bottom: 100px;
}

.documents .document-types {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 100%;
}

.documents .document-types li {
    display: inline-block;
    width: 31%;
    margin-right: 2%;
    border-bottom: 2px solid #5f0519;
    height: 130px;
    position: relative;
}

.documents .document-types li:nth-of-type(3n) {
    margin-right: 0;
}

.documents .document-types li:nth-of-type(3),
.documents .document-types li:nth-of-type(2),
.documents .document-types li:nth-of-type(1) {
    height: 50px;
}

.documents .document-types a::after {
    content: '+';
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    line-height: 15px;
    color: #5f0519;
    border: 1px solid #5f0519;
    display: inline-block;
    width: 17px;
    height: 17px;
    position: absolute;
    right: 0;
    bottom: 7px;
    cursor: pointer;
}

.documents .document-types li a {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 24px;
    color: #5f0519;
    text-decoration: none;
}

#osnovmemu li:hover {
    background: #6f0113;
}

#osnovmemu li:hover>a {
    color: #dcd3b4;
}

#osnovmemu li .nested {
    visibility: hidden;
    display: inline-block;
    position: absolute;
    z-index: 999;
    background: rgba(95, 5, 25, .7);
    top: 90%;
    left: 0;
    width: 300px;
    /* transition: all 0.3s ease-in; */
}

#osnovmemu li:last-of-type .nested {
    left: auto;
    right: 0;
}

#osnovmemu li .nested:hover,
#osnovmemu li:hover .nested {
    visibility: visible;
    top: 100%;
}

#osnovmemu li .nested li {
    text-align: left;
    padding: 0;
    margin: 0;
    width: 100%;
}

#osnovmemu li .nested a {
    color: #dcd3b4;
    display: block;
    width: 100%;
    padding: 10px 18px;
    margin: 0;
    line-height: normal;
}

.container.merto-history,
.container.merto-head {
    padding: 0 50px 70px;
}

.merto-head img.our-head {
    width: 360px;
    float: left;
    padding: 0 35px 0 0;
}

p.sub-title-text {
    font-family: 'Montserrat';
    font-size: 24px;
    line-height: normal;
    color: #5f0519;
    margin-bottom: 20px;
}

.merto-head .our-head+.sub-title-text+.text {
    padding-bottom: 40px;
}

.merto-history .text,
.merto-head .text {
    font-family: 'Open Sans';
    text-indent: 0;
    padding-bottom: 20px;
}

.merto-head hr.butyfull {
    margin-left: -40px;
    margin-right: -40px;
}

.merto-history p.text+hr.butyfull,
.merto-head p.text+hr.butyfull {
    margin-top: 20px;
}

.left-side-img,
.rigth-side-img {
    width: 360px;
    display: inline-block;
}

.rigth-side-img {
    float: right;
    margin-left: 30px;
}

.left-side-img {
    float: left;
    margin-right: 30px;
}

.left-side-img img,
.rigth-side-img img {
    display: inline-block;
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.left-side-img .text,
.rigth-side-img .text {
    font-family: 'Montserrat';
    padding-bottom: 10px;
}

.container.contacts {
    padding: 0 50px 50px;
}

.contacts .text-info,
.contacts .map {
    display: inline-block;
    width: 50%;
    float: left;
}

.contacts .text {
    text-indent: 0;
}

.map {
    height: 0;
    position: relative;
    padding-bottom: 50%;
    overflow: hidden;
}

.map>div {
    position: absolute;
    width: 100%;
    height: 100%;
}

.text-info>div div {
    display: inline-block;
    width: 50%;
    float: left;
    margin-bottom: 30px;
}

.contacts .text+.sub-title-text {
    margin-top: 20px;
}

.contacts .sub-title-text {
    margin-bottom: 10px;
}

.head-list {
    padding: 0 50px 50px;
}

.head-item {
    display: inline-block;
    width: 100%;
}

.head-item+.head-item {
    padding-top: 30px;
}

.head-item>div {
    display: inline-block;
    width: 50%;
    float: left;
}

.head-item>div .head-title {
    font-family: 'Montserrat';
    font-size: 24px;
    color: #5f0519;
    text-decoration: none;
    padding-bottom: 30px;
    font-weight: 500;
    display: inline-block;
    width: 100%;
}

.head-item>div .head-title:hover {
    text-decoration: underline;
}

.head-item>div .head-photo {
    display: inline-block;
    width: 260px;
    height: auto;
    float: left;
    overflow: hidden;
    margin-right: 30px;
}

.head-item>div .head-photo img {
    width: 100%;
    height: auto;
}

.head-item>div p.text {
    text-indent: 0;
    padding-bottom: 10px;
}

.head-item.solo>div {
    width: 100%;
}

.head-list hr+.title {
    margin-top: 0;
}

.container.pilgrims {
    padding: 0 50px 50px;
}

.container.pilgrims .content {
    position: relative;
}

.pilgrims .pilgr-conts {
    position: absolute;
    display: inline-block;
    right: -20px;
    top: 15px;
    width: 150px;
}

.pilgrims .pilgr-conts img {
    display: inline-block;
    width: 24px;
    height: auto;
    float: left;
    margin-top: 3px;
    margin-right: 9px;
}

.pilgrims .pilgr-conts p {
    font-family: 'Montserrat';
    font-size: 14px;
    color: #666666;
    padding: 0;
    margin: 0;
    line-height: 14px;
    font-weight: 500;
}

.pilgr-title {
    font-family: 'Montserrat';
    font-size: 24px;
    color: #5f0519;
    font-weight: 500;
    margin-bottom: 20px;
}

.pilgrims p {
    text-indent: 0;
}

.pilgrims .plgrs-list {
    float: left;
}

.pilgrims .plgrs-item {
    float: left;
    margin-bottom: 45px;
}

.pilgrims .plgrs-item:last-of-type {
    margin-bottom: 0;
}

.pilgrims .plgrs-item>a {
    display: inline-block;
    float: left;
    width: 260px;
    height: 180px;
    text-align: center;
    overflow: hidden;
    margin-right: 40px;
}

.pilgrims .plgrs-item>a>img {
    width: 100%;
    height: auto;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.pilgrims .plgrs-item>div {
    height: 180px;
    float: left;
    width: 800px;
    position: relative;
    padding-top: 14px;
    padding-right: 50px;
}

.pilgrims .plgrs-item>div .date {
    all: initial;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    color: #5f0519;
    font-family: 'Montserrat';
    position: absolute;
    top: 0;
    left: 0;
}

.pilgrims .plgrs-item>div .heading {
    display: inline-block;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #5f0519;
    font-size: 24px;
    line-height: normal;
    margin: 5px 0 0;
}

.pilgrims .plgrs-item>div p {
    font-family: 'Open Sans';
    font-size: 14px;
    color: #676767;
    margin-bottom: 25px;
}

.pilgrims .plgrs-item>div .more,
.pilgrims .plgrs-item>div .book {
    font-size: 12px;
    display: inline-block;
    text-transform: uppercase;
    background: #e9e3cf;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 35px;
    color: #666666;
    position: absolute;
    bottom: 0;
    left: 0px;
}

.pilgrims .plgrs-item>div .book {
    left: 129px;
}

.container.all-districs {
    padding: 0 50px 80px;
}

.all-districs .districs {
    display: inline-block;
    width: 100%;
    height: 0;
    padding-bottom: 22.7%;
    position: relative;
    transition: padding 1s;
}

.all-districs .districs>div {
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.all-districs .districs span {
    display: inline-block;
    width: 100%;
    height: 40px;
    position: absolute;
    left: 0;
    bottom: 0;
    font-family: 'Montserrat';
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 40px;
    z-index: 9;
    text-align: center;
    background: rgba(95, 5, 25, 0.6);
    cursor: pointer;
}


/* удалить вместе с картинками и иконками */

.all-districs .districs img.map {
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.all-districs .districs img:nth-of-type(2),
.all-districs .districs img:nth-of-type(3),
.all-districs .districs img:nth-of-type(4),
.all-districs .districs img:nth-of-type(5) {
    display: inline-block;
    width: auto;
    height: auto;
    position: absolute;
    top: 50px;
}

.all-districs .districs img:nth-of-type(2) {
    left: 50px;
}

.all-districs .districs img:nth-of-type(3) {
    left: 100px;
}

.all-districs .districs img:nth-of-type(4) {
    left: 150px;
}

.all-districs .districs img:nth-of-type(5) {
    left: 200px;
}


/* удалить вместе с картинками и иконками */

.all-districs .title {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    color: #5f0519;
}

.all-districs hr+.title {
    margin-top: 0;
}

.all-districs .districs-list {
    display: inline-block;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.all-districs .districs-list li {
    display: inline-block;
    width: 32%;
    float: left;
    margin-right: 2%;
    margin-bottom: 20px;
    font-family: 'Open Sans';
    font-size: 14px;
    color: #676767;
    padding-left: 20px;
    position: relative;
    line-height: 18px;
}

.all-districs .districs-list li:nth-of-type(3n) {
    margin-right: 0;
}

.all-districs .districs-list li::before {
    content: ' ';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #5f0519;
    position: absolute;
    left: 0;
    top: 4px;
}

.all-districs .districs-list+hr {
    margin-top: 20px;
}

.all-districs .districs-list li a {
    all: inherit;
    width: 100%;
    cursor: pointer;
}

.all-districs .districs-list li a:hover {
    text-decoration: underline;
}

.container.temples {
    padding: 0 50px 70px;
}

.temples .sub-title {
    font-style: normal;
    font-size: 24px;
    margin-bottom: 30px
}

.temples .temple.left,
.temples .temple.right {
    display: inline-block;
    width: 740px;
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.temples .temple.left {
    float: left;
    margin-left: 0;
    margin-right: 20px;
}

.temples .text {
    text-indent: 0;
}

.temples .honnor {
    display: inline-block;
    width: 17%;
    float: left;
    margin-right: 3.75%;
}

.temples .honnor:nth-of-type(5) {
    margin-right: 0;
}

.temples .honnor:last-of-type {
    margin-right: 0;
}

.temples .honnor span {
    display: inline-block;
    width: 100%;
    height: 130px;
    overflow: hidden;
}

.temples .honnor img {
    width: 100%;
    margin-bottom: 10px;
}

.temples .honnor p {
    margin-bottom: 0;
    height: 80px;
    color: #676767;
    overflow: hidden;
}

.temples .sub-title.saint {
    margin-bottom: 10px;
}

.temples .saints {
    display: inline-block;
    width: 250px;
    float: left;
    margin: 0 50px;
    text-align: center;
}

.temples .saints img {
    margin-top: 30px;
    width: 100%;
    margin-bottom: 20px;
}

.temples .saints.bigger {
    margin: 0 75px;
}

.temples .saints.bigger img {
    margin-top: 0;
}

.temples .temple-head,
.temples .temple-address {
    display: inline-block;
    float: left;
    padding-right: 20px;
}

.temples .temple-address {
    width: 55%;
}

.temples .temple-head {
    width: 45%;
}

.temples .temple-address .map {
    width: 340px;
    padding-bottom: 385px;
    float: left;
    margin-right: 30px;
}

.temples .temple-head .text,
.temples .temple-address .text {
    padding-bottom: 20px;
}

.temples .temple-head img {
    width: 270px;
    float: left;
    margin-right: 30px;
}

.temples.saints-list .saints span {
    display: inline-block;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.temples.saints-list .saints img {
    margin-top: 0;
}

.container.temples.holy-item {
    padding-bottom: 30px;
}

.holy-item .holy {
    display: inline-block;
    width: 300px;
    height: auto;
    float: left;
    margin-right: 50px;
}

.holy-item .holy a {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.holy-item .holy a span {
    display: inline-block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.holy-item .holy a::before {
    content: ' ';
    display: inline-block;
    position: absolute;
    top: 0;
    right: -30px;
    width: 22px;
    height: 22px;
    background-image: url('/templates/demohunt/images/glass.png');
    background-repeat: no-repeat;
    background-position: top left;
}

.holy-item .holy a img {
    width: 100%;
}

.holy-item .holy .text {
    font-family: 'Montserrat';
    font-weight: 500;
    padding-bottom: 20px;
}

.holy-item .text {
    padding-bottom: 20px;
}

.holy-item .holy .text:last-of-type,
.holy-item .text:last-of-type {
    padding-bottom: 0;
}

div.text {
    margin: 0;
    padding: 0;
    display: inline-block;
    float: none;
    max-width: 750px;
}

#search {
    position: relative;
}

#search input {
    background-image: none;
}

#search button {
    border: none;
    outline: none;
    display: inline-block;
    width: 17px;
    height: 17px;
    background: url('/templates/demohunt/images/searchglass.png') 100% 100% no-repeat;
    position: absolute;
    right: 10px;
    top: 6px;
}

.container.gallery {
    padding: 0 50px 20px;
}

.gallery .gallery-item {
    display: inline-block;
    width: 17%;
    float: left;
    margin-right: 3.75%;
    margin-bottom: 30px;
}

.gallery .gallery-item:nth-of-type(5n) {
    margin-right: 0;
}

.gallery .gallery-item:last-of-type {
    margin-right: 0;
}

.gallery .gallery-item span {
    display: inline-block;
    width: 100%;
    height: 130px;
    overflow: hidden;
}

.gallery .gallery-item img {
    width: 100%;
    margin-bottom: 10px;
}

.gallery .gallery-item p {
    margin-bottom: 0;
    height: 80px;
    color: #676767;
    overflow: hidden;
}

.gallery .gallery-chise {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
}

.gallery .gallery-chise button {
    border: none;
    background: none;
    float: left;
    padding: 0;
    margin: 0 30px 0 0;
    opacity: 0.33;
}

.gallery .gallery-chise button.active {
    opacity: 1;
}

.gallery .photo-gallery,
.gallery .video-gallery {
    display: none;
}

.gallery .photo-gallery.active,
.gallery .video-gallery.active {
    display: inline-block;
}

.video-holder {
    margin: 15px 50px;
    width: 640px;
}

.video-holder .video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 30px;
}

.video-holder .video div {
    position: absolute;
    width: 100%;
    height: 100%;
}

.video-holder .text {
    font-family: 'Montserrat';
    text-indent: 0;
}

.fancy-photo {
    display: none;
    padding: 15px;
    width: 650px;
}

.temples .fancy-photo {
    padding: 0;
}

.fancy-photo span {
    display: inline-block;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: center;
}

.fancy-photo span img {
    width: 100%;
}

.fancy-photo .text {
    font-family: 'Montserrat';
    text-indent: 0;
}

.container.hurals {
    padding: 0 50px 50px;
}

.hurals .timetable {
    margin: 30px 0 0;
}

.hurals .timetable .timetable-row:last-of-type p {
    margin-bottom: 0;
}


/* .fancybox-overlay-fixed {
    background: rgba(95, 5, 25, 0.8);
} */

.fancybox-nav {
    width: 20px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    left: -45px;
}

.fancybox-nav span {
    visibility: visible;
    background: none;
    width: 100%;
    height: 100%;
    margin: 0;
    top: 0;
    left: 0;
}

.fancybox-nav span::before {
    content: ' ';
    position: absolute;
    border-top: 2px solid #fff;
    width: 30px;
    top: 12px;
    left: -5px;
    transform: rotate(-55deg);
}

.fancybox-nav span::after {
    content: ' ';
    position: absolute;
    border-bottom: 2px solid #fff;
    width: 30px;
    bottom: 12px;
    left: -5px;
    transform: rotate(55deg);
}

.fancybox-next {
    left: auto;
    right: -45px;
}

.fancybox-next span {
    transform: rotate(180deg);
}

.fancybox-close {
    top: 0;
    right: -30px;
    width: 20px;
    height: 20px;
    background: #fff;
    opacity: .8;
}

.fancybox-close::before {
    content: ' ';
    display: inline-block;
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 2px;
    right: 3px;
    transform: rotate(45deg);
    border-top: 1px solid #5f0519;
}

.fancybox-close::after {
    content: ' ';
    display: inline-block;
    width: 100%;
    height: 50%;
    position: absolute;
    top: 2px;
    right: 3px;
    transform: rotate(-45deg);
    border-bottom: 1px solid #5f0519;
}

.fancybox-skin {
    border-radius: 0;
}

.fancybox-overlay {
    background: rgba(220, 211, 180, 0.6);
}

.fancybox-inner h3 {
    border-bottom: 2px solid #5f0519;
    padding-bottom: 3px;
}

.files-wrapper {
    width: 350px;
    overflow-x: hidden;
}

.files-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 450px;
}

.files-wrapper ul li {
    margin-bottom: 20px;
}

.files-wrapper ul li a {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;
    color: #676767;
}

.fancybox-inner {
    overflow: hidden;
    max-width: 1000px;
}
