#banners .onebanner a:hover {
  text-decoration: none;
}

.noerror {
  border: 0 !important;
  font-size: 12px;
}

.error_b {
  border: 0;

  color: rgb(200, 0, 22);

  font-size: 12px;

  padding-left: 5px;
}

.error {
  border: 1px solid rgb(255, 0, 22);

  color: rgb(107, 0, 22);

  font-size: 12px;

  padding-left: 5px;
}

/* Responsive */

@media (max-width: 1199px) {
  .mobile-menu-btn {
    display: inline-block;
  }
  #osnovmemu {
    display: none;
    width: 100%;
    height: auto;
  }
  #osnovmemu ul.level-0 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  #osnovmemu ul.level-0 > li > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 10px;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .container {
    max-width: 100% !important;
  }
  .container.news,
  .container.merto-history, .container.merto-head,
  .container.hurals,
  .container.temples,
  .head-list,
  .container.contacts {
    padding-left: 20px;
    padding-right: 20px;
  }
  .headerright .header-phone {
    display: none;
  }
  .headermain {
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}
  .headermain a {
    font-size: 12px;
  }
  .headermain .ptpb10 {
    padding-top: 20px;
    padding-bottom: 30px;
  }
  .logo-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .logo {
    max-width: 100%;
    margin-left: 0;
  }
  .logo img {
    margin-left: 0;
  }
  .menutop {
    padding-left: 0;
    padding-top: 0;
    width: auto;
  }
  .headerright {
    padding-right: 0;
  }
  
  .container.main .content {
    width: calc(100% - 305px);
  }
  .container.main .right {
    /* width: 185px; */
  }
  footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .menufooter {
    width: calc(100% - 280px);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .menufooter a {
    margin-left: 0;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 48%;
  }
  #rassilka {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: 0;
    width: 48%;
  }
  #rassilka input {
    width: 100%;
  }
  .menufooter {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .menufooter_menutop {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 5px;
    width: 100%;
  }
  .news .list-news-item>div {
    padding-right: 0;
    width: 100%;
  }
  .head-item>div {
    width: 100%;
    margin-bottom: 20px;
  }
  .head-item+.head-item {
    padding-top: 0;
  }

}

@media (max-width: 1199px) and (min-width:768px) {
  .menufooter_menutop a {
    border: none;
    padding: 0;
  }
}

@media (max-width:1024px) {
  .container.main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
  .container.main .right {
    width: 100%;
    margin-top: 30px;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .calendar-mobile {
    display: block;
  }
  .right #kalendarmain {
    display: none;
  }
  .owl-item div {
    width: 100%;
    text-align: left;
    background: #eee9d9;
  }
  .owl-item .date-calenadar {
    width: auto;
    text-align: center;
  }
  .side-calendar .owl-nav .owl-prev span {
    left: 10px;
  }
  .side-calendar .owl-nav .owl-next span {
      right: 10px;
  }
  div#kalendarmain .hedling {
    text-align: left;
    padding-left: 30px;
  }
  .right:before {
    content: '';
    display: block;
    width: 100%;
    height: 26px;
    margin-bottom: 30px;
    background: url(/templates/dazantpl/images/hrlong.png) 50% no-repeat;
  }
  .container.main .content {
    width: 100%;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #blogmain {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .h2title {
    font-size: 30px;
  }
  .timetable2 .timetable-row * {
    font-size: 16px;
  }
  .timetable2 .timetable-row > p {
    margin-right: 0;
    margin-left: 0;
  }
  .timetable2 .left-side {
    width: 300px;
    max-width: 100%;
    margin-right: 10px;
  }
  .timetable2 a.link, .timetable2 a.link:visited, .timetable2 a.link:active {
    float: none;
  }
  #raspisanie .foto {
    margin-right: 20px;
  }
  .main .news-item>a {
    width: 240px;
  }
  #banners {
    float: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #banners .onebanner {
    width: 300px;
  }
  .victim .victim-text, .victim .victim-photo {
    width: 100%;
    margin: auto;
    padding: 0;
  }
  .victim .victim-text {
    margin-bottom: 20px;
  }
  .container.victim {
    padding-left: 20px;
    padding-right: 20px;
  }
  .victim .victim-text .inputs textarea {
    max-width: 100%;
  }
  .head-item p {
    margin-right: 0;
    margin-left: 0;
  }
  .contacts .text-info, .contacts .map {
    width: 100%;
  }
}

@media (max-width:770px) {
  .head-item>div .head-title {
    font-size: 20px;
  }
  .title {
    font-size: 34px;
  }
  p {
    margin-right: 0;
    margin-left: 0;
  }
  .head-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  
  .head-item>div .head-photo {
    display: block;
    max-width: 100%;
      /* float: none; */
    margin: 0 10px 20px 0;
  }
}

@media (max-width:767px) {
  #blogmain {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #blogmain .blogcontent {
    max-width: 100%;
  }
  #blogmain .foto {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .headerright {
    display: none;
  }
  .container.main .right {
    margin-bottom: 30px;
  }
  #raspisanie .foto,
  #newsmain .foto {
    margin-right: 0;
    float: none;
    text-align: center;
    background: url(../../images/hr-bg.png) 50% no-repeat;
  }
  #raspisanie .foto img,
  #newsmain .foto img {
    height: 26px;
    opacity: 0;
  }
  .h2title {
    font-size: 22px;
    text-align: left;
    line-height: 1.2;
  }
  .main .news-item div a {
    font-size: 20px;
  }
  .timetable2 .timetable-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .timetable2 .left-side {
    width: 100%;
    margin: 0;
  }
  .main .news-item>a {
    width: 100%;
    margin: auto;
    margin-bottom: 10px;
  }
  .main .news-item {
    margin-bottom: 15px;
    width: 100%;
  }
  p {
    margin: 0 auto 1.3em;
  }
  .title {
    font-size: 30px;
    margin: 20px 0;
  }
  hr.butyfull {
    background-position: 50%;
  }
  .copyright {
    width: 100%;
    margin-bottom: 10px;
  }
  .row.footer-row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .menufooter {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .menufooter_menutop {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .menufooter a {
    width: 200px;
    margin-bottom: 10px;
  }
  #rassilka {
    width: 100%;
    max-width: 320px;
  }
  .createbycompany p, .copyright p {
    display: inline-block;
  }
  .createbycompany {
    text-align: left;
    height: auto;
    width: 100%;
    float: left;
  }
  footer .container {
    background-repeat: repeat;
  }
  .map {
    padding-bottom: 100%;
  }
  iframe {
    max-width: 100%;
    height: 100%;
  }
  .head-item>div .head-photo {
    float: none;
    margin: 0 auto 20px;
  }
}

@media (max-width: 665px) {
  .main-banner {
    display: none;
  }
  #banners .onebanner {
    width: 48%;
  }
  .menutop {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-top: -7px;
  }
  .menutop a {
    margin-bottom: 10px;
  }
  .headermain_top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .logo {
    position: absolute;
    width: 23vw;
    top: 20px;
    left: 15px;
    margin: 0;
  }
  .logo-block {
    margin-top: 5px;
  }
  .headermain {
    padding-bottom: 15px;
  }
  body ul li {
    margin-left: 10px;
    margin-right: 10px;
  }
  ul {
    padding-left: 20px;
  }
  a[rel="noopener"] {
    word-break: break-word;
  }
}

@media (max-width:480px) {
  body, p,
  .timetable2 .timetable-row *,
  .main .news-item div p,
  .owl-item .date-calenadar a,
  #blogmain .blogcontent p {
    font-size: 18px;
  }
  .next-site-calendar p,
  .owl-item .date-calenadar span {
    font-size: 16px;
  }
  .main .news-item div a,
  .head-item>div .head-title {
    font-size: 22px;
  }
  #banners {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #banners .onebanner {
    width: 300px;
    max-width: 100%;
  }
  .hedling {
    font-size: 20px;
  }
  .title {
    font-size: 26px;
  }
  h2, .h2 {
    font-size: 24px;
  }
  .holy-item .holy {
    max-width: 100%;
    margin-right: 0;
  }
  .head-item>div .head-photo {
    width: 100%;
  }
}
