/*
Theme Name: Kolibri
Author: Ruslan Ratych
Version: 1.0
*/

.admin-bar .header.active .header__bottom { top:32px;}

#flags { width:auto !important;}
#flags ul { display: flex; align-items: center;}
#flags ul li { padding: 0 0.9rem !important;}
#flags ul li a.flag { display: flex; align-items: center; justify-content: center; width: 3.5rem !important; height: 3.5rem !important; border-radius: 50%; text-transform: uppercase; color: #fff; margin: 0; background-image: none !important;}
#flags ul li a img { display: none;}
#flags ul li a.ru:before { content:'ru';}
#flags ul li a.uk:before { content:'ua';}
@media (hover: hover) {
  #flags ul li a:hover { color:#42CFC2;}
}
html[lang=ru] #flags ul li a.ru, html[lang=uk] #flags ul li a.uk { background: #455DB8; color: #fff;}

.header-phones { display: none; padding-left: 2.8rem; background: url(images/icons/phone.svg) 0 0.5rem no-repeat;  background-size: 1.8rem; color:#2b3966; font-size: 2.4rem;}
.header-phones a { color:#2b3966;}

.time-work { background-image:url(images/icons/check_square_icon.svg); background-size:2.2rem;}
.time-work a { color:#fff;}
.interest-you .service__title { font-size: 2rem;}

#ez-toc-container { background: none; box-shadow: none; padding: 0;}
#ez-toc-container .ez-toc-title-toggle .ez-toc-toggle { display: none !important;}
div#ez-toc-container .ez-toc-title-container p.ez-toc-title { font-weight: 600; font-size: 1.7rem; line-height: 1.6;}
#ez-toc-container .ez-toc-list li:before { display: none;}
#ez-toc-container .ez-toc-list li a { display: flex; align-items: flex-start;}
#ez-toc-container .ez-toc-list li a:before { content: ""; display: block; width: 1rem; height: 1rem; min-width: 1rem; margin-right: 1rem; margin-top: 0.7rem; border: 0.2rem solid #304990; border-radius: 50%; box-sizing: border-box;}
@media (hover: hover) {
    #ez-toc-container .ez-toc-list li a:hover:before { border-color:#42CFC2;}
}

.staff-list .service__content { background: #304990; color: #fff;}
.staff-list .service__title, .staff-list .service__title a { color: #fff;}
.staff-list .service__desc { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; text-overflow: ellipsis;}

.scroll-y { height: auto; overflow-y: auto; width: 100%; margin-top:2rem; margin-bottom:4rem;}
.scroll-y table { margin:0 !important;}
.scroll-y table:before { display: none !important;}
.scroll-y:before { content:''; display:block; position: absolute; z-index: -1; background: url(images/dots-gray.svg) 0 0 no-repeat; width: 23rem; height: 21rem; bottom: -2.5rem; left: -4.5rem;}
@media screen and (max-width: 1000px) {
  .scroll-y:before { background: 0; display: none;}
}

.offer-about .post__content { padding-bottom: 0;}

.widget__title_small .widget__title { font-size: 2.5rem;}
.widget_nav_menu .menu li { font-family: "Montserrat", sans-serif; margin-bottom: 3rem;}
.widget_nav_menu .menu li:last-child { margin-bottom: 0;}
.widget_nav_menu .menu li a { font-weight: 600; line-height: 1.3; color: #304990; position: relative; display: inline-block; padding-left: 3rem;}
.widget_nav_menu .menu li a:before { content:'+'; display: block; position: absolute; left: 0; top: 0; color:#304990; font-family: Arial; font-weight:900; line-height: 1.5rem; padding-left: 1px; text-align: center; width: 2rem; height: 2rem; border-radius: 50%; border: 0.2rem solid #304990; box-sizing:border-box; transition: 0.3s;}
@media (hover: hover) {
  .widget_nav_menu .menu li a:hover { color: #42CFC2;}
  .widget_nav_menu .menu li a:hover:before { color: #42CFC2; border-color: #42CFC2;}
}

.input-list__item { text-align:left;}
.callback-form__input { position: relative;}
.input-list__item_33 .ajax-loader, .callback-form__input .ajax-loader, .help__form-item .ajax-loader { position: absolute; left:100%; top:22px;}
.wpcf7 .wpcf7-not-valid-tip { font-size: .8em; line-height: 1.2; margin: 3px 20px 0;}
.wpcf7 form .wpcf7-response-output { margin: 1.5em 0 0; padding: .4em 1em; font-size: 1.6rem;}

.loader { display: none; position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(255,255,255,0.85);}
.loader:before { content:''; position: absolute; top:50%; left:50%; margin: -20px 0 0 -20px; border-radius: 50%; width:40px; height:40px; border-top:2px solid #304990; border-right:2px solid #304990; border-bottom:2px solid #304990; border-left:2px solid #42CFC2; box-sizing:border-box; animation: load8 1.1s infinite linear;}
.show-all { position: relative;}
.show-all.animated .loader { display: block;}

@-webkit-keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.grecaptcha-badge { opacity: 0; margin-right: -100px;}

@media screen and (max-width: 999px) {
    .header.active .header__bottom { position: static;}
    .admin-bar .header.active .header__bottom { top:0;}
    .admin-bar .header { top:32px;}
    
    .admin-bar .header__nav { top: 117px;}
    
    .header-phones { display: block;}
}

@media screen and (max-width: 782px) {
    .admin-bar .header { top:46px;}
    .admin-bar .header__nav { top: 131px;}
}

@media screen and (max-width: 600px) {
    #wpadminbar { position: fixed;}
    
    #ez-toc-container { width: 100%;}
}

@media screen and (max-width: 540px) {
    .help__form-item { position: relative;}
}
@media screen and (max-width: 440px) {
    .logo_header { width: 50px; overflow:hidden;}
    .logo_header img { width:140px;}
}

.entry-content ul.rmp-rating-widget__icons-list li:before {display:none}
.rmp-icon--ratings{font-size: 2rem;}