
a {
  color: #3f51b5;
  text-decoration: none;
}

a:hover {
  color: #3f51b5;
  text-decoration: none;
}

.relative {
  position: relative;
}

.btn {
  padding: 0.375rem 1.5rem;
  border-radius: 1rem;
}

.btn-darkblue {
  background: #3f51b5;
  color: #ffffff;
}

.btn-darkblue:hover, .btn-darkblue:active, .btn-darkblue:focus {
  background: #283799;
  color: #ffffff;
}

#CecutientBtn {
  position: absolute;
  z-index: 9;
  top: 30px;
  right: 30px;
  border: 2px solid #47b8f2;
  color: #3f51b5;
  background: #d0e7fa;
}
#CecutientBtn:hover, #CecutientBtn:focus {
  background: #a0d0f7;
}
.form-control {
  border: 0;
  border-bottom: 1px solid #ced4da;
}

body {
  background: url(../image/boxed_bg.jpg);
  font-family: Arial, Helvetica, sans-serif;
  color: #505050;
}

img {
  width: 100%;
}

#page {
  background: #ffffff;
}

.outside.container {
  padding: 0;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.header-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.header__bg-block {
  min-height: 170px;
}

.header__bg {
  object-fit: cover;
  object-position: right;
  width: 100%;
  min-height: 300px;
}

.bg-blue {
  background: #3f51b5;
}

.header__nav-link {
  border: 2px solid #47b8f2;
  border-radius: 10px;
  margin: 0.2rem 0.5rem;
  padding: 0.2rem 0.5rem;
  font-weight: 600;
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  width: calc(100% - 1rem);
  min-width: 200px;
  margin: 0 0 0 0.5rem;
}

.active .header__nav-link, .navbar-dark .navbar-nav .nav-link:hover {
  border-color: #ffffff;
  background: #47b8f2;
  color: #ffffff;
}

.dropdown-toggle::after {
  vertical-align: 0.1em;
}

.nav-item:hover > .dropdown-menu {
  display: block;
}

.header-block {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 42px;
  text-align: center;
  color: #3f51b5;
  padding: 10px;
  min-width: 300px;
}

.header-block:before {
  content: '';
  width: 100%;
  height: 100%;
  background: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  opacity: 0.7;
  border-radius: 10px;
}

.header-block__title {
  font-size: 32px;
  margin: 0;
}

.header-block__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.header-contact__page-title {
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.header-contact__page-title span {
  color: #505050;
}

.header-contact__contact {
  font-size: 12px;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #f0f0f0;
  color: #3f51b5;
}

.header-contact__contact {
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
  padding: 8px;
}

.header-contact__adress {
  margin: 0;
}

.header-nav .dropdown-menu {
  background-color: #2e3d94;
  margin-bottom: 0.4rem;
}

.header-nav .dropdown-menu li:not(:last-child) .dropdown-item {
  border-bottom: 1px solid #5b6ccd;
}

.header-nav .dropdown-item {
  color: #fff;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #3f51b5;
}

.main {
  background: #ffffff;
  padding: 40px 0;
}

.main-blcok hr {
  margin: 15px 0;
}

.main-content__image {
  width: 100%;
}

.main-content__image {
  margin: 20px 0;
}

.main-content__title {
  font-size: 2.1rem;
}

.main-content__title span {
  font-size: 1.2rem;
}

.spn-img {
  width: 100%;
  object-fit: contain;
}

.spn-img:not(:last-child) {
  padding-bottom: 10px;
}

.main-form__title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 22px;
}

.main-slider .owl-nav {
  opacity: 0;
  position: absolute;
  top: 40%;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 3rem;
  transform: translateY(-50%);
  line-height: 1;
  color: #fff;
  transition: opacity ease-in-out 0.3s;
}

.main-slider:hover .owl-nav {
  opacity: 1;
}

.main-slider .owl-nav span {
  display: block;
  border: 2px solid;
  position: relative;
  padding: 18px 14px 25px;
  line-height: 0;
  transition: background ease-in-out 0.3s;
}

.main-slider .owl-nav span:hover {
  background: #fff5;
}

.main-slider .owl-nav button:focus {
  outline: 0;
}

.right-block {
  padding-left: 0;
}

.left-block {
  padding-right: 0;
}

.right-block__title {
  padding: 17px;
  background: #3f51b5;
  color: #ffffff;
  font-weight: bold;
}

.right-block__content-block {
  margin: 25px 0;
  padding: 0 25px;
}

.calendar-block {
  margin-bottom: 25px;
}

.calendar-block .right-block__title {
  margin-bottom: 25px;
}

.right-block__content-block:after, .right-block__content-block:before {
  content: '';
  display: table;
  clear: both;
}

.news-block__article-annotation {
  margin-bottom: 10px;
}

.footer {
  background: #3f51b5;
  color: #ffffff;
  padding: 25px;
  text-align: center;
}

.coopyright {
  line-height: 1;
}

.coopyright a {
  color: white;
}

.gallery a {
  text-decoration: none;
}

.gallery > div {
  margin-bottom: 30px;
}

.gallery__title {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.gallery__link-img {
  position: relative;
  display: block;
}

.gallery__link-img i {
  opacity: 0;
  transition: opacity ease-in-out 0.3s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff;
  z-index: 9;
}

.gallery__link-img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000090;
  opacity: 0;
  transition: opacity ease-in-out 0.3s;
}

.gallery__link-img:hover:after, .gallery__link-img:hover i {
  opacity: 1;
}

.error {
  font-size: 3rem;
  text-align: center
}

.error span {
  font-size: 2.1rem;
  display: block;
}

.list-view .pager, .list-view .pager * {
  padding: 0;
  margin: 0;
}

.list-view .pager li {
  list-style: none;
}

.list-view .pager ul {
  display: flex;
  justify-content: center;
}

.list-view .pager li:first-child, .list-view .pager li:last-child {
  display: none;
}

.list-view .pager a {
  padding: 5px 10px;
  margin: 5px;
  border: 1px solid #3f51b5;
  transition: all ease-in-out 0.2s;
}

.list-view .pager a {
  text-decoration: none;
}

.list-view .pager li:hover a {
  background: #3f51b5;
  color: #fff;
}

.search-item {
  position: relative;
}

.search-title {
  font-size: 1.5rem;
  padding-right: 90px;
}

.search-link {
  font-size: 1rem;
  position: absolute;
  right: 0;
  top: 6px;
}

.search-item + hr {
  margin: 15px 0;
}

.ui-datepicker-calendar .event a {
  outline: 1px solid #1e9f54 !important;
  border: 1px solid #1e9f54 !important;
}

td.highlight {
  border: none !important;
  padding: 1px 0 1px 1px !important;
  background: none !important;
  overflow: hidden;
}

td.highlight a {
  background: #99dd73 url(bg.png) 50% 50% repeat-x !important;
  border: 1px #88a276 solid !important;
}

/* a.ui-state-default.ui-state-active {
  color: #fff;
}

a.ui-state-default.ui-state-active:hover {
  color: #fff;
} */

.widget-calendar > div {
  margin: 0 auto;
}

.dropdown-item {
  white-space: normal;
}

.events {
  text-align:center;
  cursor:pointer;
}

.event {
  cursor: pointer;
  position: relative;
}

.event:hover:before, .event:focus:before, .event:active:before {
  content: attr(data-name);
  position: absolute;
  min-width: 100px;
  max-width: 200px;
  bottom: 32px;
  left: 0;
  background: #ffffff;
  padding: 3px 11px;
  border: 1px solid #3f51b5;
  border-radius: 5px;
}

.calendar-block p {
  text-align: center;
}

.calendar-block p:last-child {
  text-align: right;
}

.dropdown-menu{
  padding: 0;
}

/* .dropdown-items {
  position: relative;
}

.dropdown-items__btn {
  position: absolute;
  display: block;
  top: 2px;
  right: 2px;
  height: 28px;
  width: 35px;
  text-align: center;
  border: 1px solid silver;
}

.dropdown-items__btn:after {
  display: inline-block;
  margin-left: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid #0000;
  border-bottom: 0;
  border-left: .3em solid #0000;
  color: #ffffff;
} */

.nav-item.dropdown-list .nav-item.dropdown-list ul {
  left: 98%;
  top: -1px;
}

.nav-item.dropdown-list .nav-item.dropdown-list:hover a {
  background: #3f51b5;
}

.contact-block {
  margin-top: 50px;
}

@media (min-width: 1200px) {
  .widget-calendar {
    font-size: 15.8px;
  }
}

@media (max-width: 1199px) {
  .widget-calendar {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .widget-calendar {
    font-size: 16px;
  }

  .nav-item {
    border-bottom: 1px solid #47b8f2;
  }

  .header__nav-link {
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .active .header__nav-link, .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    background: none;
  }

  .main-blcok {
    order: -1;
    margin-bottom: 40px;
  }

  #CecutientBtn {
    top: 308px;
    color: #ffffff;
    background: transparent;
  }

  #CecutientBtn:hover {
    color: #ffffff;
    background: #283999;
  }

  .nav-item:hover .dropdown-menu {
    display: none;
  }

  .nav-item:hover > .dropdown-menu.show {
    display: block;
  }

  .right-block {
    padding-left: 15px;
  }
  
  .left-block {
    padding-right: 15px;
  }
  
  .header-contact__page-title {
    margin-top: 10px;
    flex: 0 0 100%;
    order: -1;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .widget-calendar {
    font-size: 13px;
  }

  .header-block {
    left: 50%;
    transform: translateX(-50%);
  }

  .right-block {
    order: 1;
  }
}
@media (max-width: 501px) {
  .widget-calendar {
    font-size: 16px;
  }

  .right-block {
    margin-top: 30px;
  }
}
@media (max-width: 400px) {
  .header .navbar {
    padding-top: 58px;
  }
  #CecutientBtn{
    right: 5px;
    padding: 0.375rem 0.5rem;
    font-size: 0.9rem;
  }
}

.osenka-block .center_block {
  padding: 15px 20px 0;
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
    font-size: 16px;
    color: #505050;
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
    height: 100%;
}

.osenka-block .bottom_block {
  position: relative;
  margin-top: auto;
  border-top: 1px solid #cccccc;
  margin: 0px 20px;
  padding: 5px 0px;
  font-size: 16px;
  letter-spacing: 1.05px;
  margin-bottom: 15px;
}