.main-company-news .li-three{
	padding-top: 20px;
    padding-bottom: 20px;
}
.main-company-news .li-three p{
    padding-bottom: 0;
    margin-bottom: 0;
}
.main-company-news .li-three p + br{display:none;}
.main-company-news .li-three table{margin-bottom: 0;}
.main-company-news .li-three .owl-carousel{
	margin-bottom: 10px;
    padding-bottom: 0;
}
.main-company-news .li-three .slick-carousel{
	margin-bottom: 10px!important;
    margin-top: 10px;
}
.main-company-news .li-two:first-child{margin-top: 20px;padding-top: 0;}
/*.main-company-news .li-two:nth-last-child(2){margin-bottom: 20px;}*/
.main-company-news__items .main-company-news__item-info{padding-bottom: 0px;}
.main-company-news__item-picture img {vertical-align: middle;}
/*.main-company-news__post-filial > .list_parent-info{padding-bottom: 10px;}*/
.main-company-news__post-filial .list_parent-info .li-three .img:last-child p.fotonames{margin-bottom: -10px;}

/* блок с уведомлениями */
.main-wallpaper {
  background-position: center !important;
  background-size: cover !important;
}
.notice-block {
  position: fixed;
  top: 150px;
  height: 560px;
  left: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notice {
  display: flex;
  transform: translateX(-200px);
  transition: 0.3s; 
  position: relative;
}

.notice-max {
  background-color: rgb(0 58 118 / 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  width: 200px;
  padding: 10px 20px;
}

.notice-min {
  color: #ffffff;
  width: 50px;
  height: 185px;
  position: relative;
}

.notice-min::before {
  content: '';
  transform: perspective(100px) rotateY(10deg);
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 100%;
  background-color: #003A76;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: 0.3s;
}

.notice-min-inner {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  transform: perspective(1000px) rotateZ(-90deg) rotateY(10deg) translate(-52%, -161%);
  height: 30px;
  width: 145px;
}

@media(min-width:1024px){
	.notice:hover {	
		transform: translateX(0);
	}	
}

.notice.open {	
  transform: translateX(0);
}


@media(min-width:1024px){
  .notice:hover .notice-min::before,
  .notice.open .notice-min::before {
    top: 0;
    height: 100%;
    background-color: rgba(0, 58, 118, 0.5);
    transform: none;
  }
}

.notice-title {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  flex: 1; 
  padding-bottom: 3px
}

.notice-icon {
  flex: none;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.notice-text {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.notice-button {
  border: 2px solid #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  transition: 0.3s;
}

.notice-button:hover {
  color: #ffffff;
}

.notice.red .notice-min::before {
  background-color: #F91111;
}

@media(min-width:1024px){
  .notice.red .notice-max, .notice.red:hover .notice-min::before {
      background-color: rgba(249, 17, 17, 0.5);
  }
}

.notice.yellow .notice-min::before {
  background-color: #F5D30E;
}

@media(min-width:1024px){
  .notice.yellow .notice-max, .notice.yellow:hover .notice-min::before {
      background-color: rgba(245, 211, 14, 0.5);
  }
}

.notice.yellow .notice-max, .notice.yellow .notice-min {
    color: #003d7c;
}

.notice.yellow .notice-icon {
    filter: brightness(1);
}

.notice.yellow .notice-button, .notice.yellow .notice-button:hover {
    color: #003d7c;
    border-color: #003d7c;
}

.notice.green .notice-min::before {
  background-color: #14B842;
}

@media(min-width:1024px){
  .notice.green .notice-max, .notice.green:hover .notice-min::before {
      background-color: rgba(20, 184, 66, 0.5);
  }
}

.notice.blue .notice-min::before {
  background-color: #00B7C6;
}

@media(min-width:1024px){
  .notice.blue .notice-max, .notice.blue:hover .notice-min::before {
      background-color: rgba(0, 183, 198, 0.5);
  }
}

.notice.blue2 .notice-min::before {
  background-color: #BFEDF1;
}

@media(min-width:1024px){
  .notice.blue2 .notice-max, .notice.blue2:hover .notice-min::before {
      background-color: rgba(191, 237, 241, 0.5);
  }
}

.notice.blue2 .notice-max, .notice.blue2 .notice-min {
    color: #003D7B;
}

.notice.blue2 .notice-icon {
    filter: none;
}

.notice.blue2 .notice-button, .notice.blue2 .notice-button:hover {
    color: #003D7B;
    border-color: #003D7B;
}
@media (max-width: 1024px){
  .notice-block { 
    width: 100%;
    top: 100px;
    z-index: 99;
    align-items: flex-start;
    flex-direction: row;
    height: max-content;
    position: absolute;
    overflow: hidden;
  }
  .sticky-header ~ .notice-block {
    display: none;
  }
  .notice {
    width: 33.333%;
    transform: none;
    height: auto;
    flex-direction: column;
    z-index: 2;
  }
  .notice-max {
    width: 100%;
    display: none;
  }
  .notice.open {
    z-index: 1;
  }
  .notice.open .notice-max {
    display: flex;
  }
  .notice-min {
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .notice-min::before {
    top: 0;
    width: 100%;
    height: 50px;
    transform: perspective(100px) rotateX(-6deg);
    transform-origin: top;
    border-radius: 0 0 8px 8px;
  }
  .notice-min a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none !important;
  }
  .notice-min-inner {
    transform: none;
    position: relative;
  }
  .notice-icon {
    width: 24px;
    margin-left: -10px;
    margin-bottom: 3px;
  }
  .notice.open .notice-min::before {
    top: 0;
    height: 100%;
    transform: none;
  }
  .notice.open .notice-max,
  .notice.open .notice-min::before {
    background-color: rgba(0, 58, 118, 0.8);
  }
  .notice.blue .notice-max,
  .notice.blue.open .notice-min::before {
    background-color: rgba(0, 183, 198, 0.8);
  }
  .notice.red .notice-max,
  .notice.red.open .notice-min::before {
    background-color: rgba(249, 17, 17, 0.8);
  }
  .notice.yellow .notice-max,
  .notice.yellow.open .notice-min::before {
    background-color: rgba(245, 211, 14, 0.8);
  }
}
@media (max-width: 767px){
  .notice-block {
    top: 15vw;
  }
}
@media (max-width: 550px){
  .notice-min-inner {
    width: 90px;
  }
  .notice-title {
    font-size: 12px;
  }
  .notice-icon {
    margin-right: 5px;
    margin-bottom: 1px;
  }
  .notice-max {
    padding-top: 70px;
    width: 100vw;
  }
  .notice.open .notice-min {
    width: 100vw;
  }
  .notice.open:nth-child(2) .notice-min,
  .notice.open:nth-child(2) .notice-max {
    margin-left: -100%;
  }
  .notice.open:nth-child(3) .notice-min,
  .notice.open:nth-child(3) .notice-max {
    margin-left: -200%;
  }
  .notice.open:first-child:last-child .notice-min,
  .notice.open:first-child:last-child .notice-max {
    margin-left: -100%;
  }
  .notice.open:nth-child(1):nth-last-child(2) .notice-min,
  .notice.open:nth-child(1):nth-last-child(2) .notice-max {
    margin-left: -50%;
  }
  .notice.open:nth-child(2):nth-last-child(1) .notice-min,
  .notice.open:nth-child(2):nth-last-child(1) .notice-max {
    margin-left: -150%;
  }
}
@media (max-width: 340px){
  .notice-icon {
    width: 20px;
    margin-left: -4px;
  }
}
/* конец блока с уведомлениями */