
/*   
Theme Name: Afonico
Description: Тема на WordPress
Author: Afonico M&D 
Version: 1.0
Text Domain: Afonico
*/

.af_form--default {
	outline: none;
}

.field-error {
    color: red;
}
.field-error .nice-select, .field-error input {
    border-color: red;
}
.files-block input {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
}
.files-block label {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 90px;
    margin: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: rgba(124,1,140,.11);
    border: 1px dashed #666ea2;
    border-radius: 5px;
    padding: 0 25px;
    margin-bottom: 15px;
    font-size: 15px;
}
.uploadImagesList .image__list-item {
    width: 147px;
    height: 130px;
    display: inline-block;
    margin: 0 15px 15px 0;
}
.image__list-item {
    position: relative;
}
.uploadImagesList .image__list-item .image__list--box {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
}
.uploadImagesList .image__list-item .image__list--box img {
    position: absolute;
    top: calc(50% - 10px);
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.image__list--text {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    background: #fff;
}
.image__list--delete {
    position: absolute;
    right: 0;
    top: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.image__list--delete:before, .image__list--delete:after {
    position: absolute;
    left: 5px;
    content: ' ';
    height: 13px;
    width: 3px;
    background-color: #c80000;
}
.image__list--delete:before {
    transform: rotate(45deg);
}
.image__list--delete:after {
    transform: rotate(-45deg);
}

.preload__dev {
	display: none;
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%) translateY(-50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 999;
}
.preload__dev--box {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cssload-container {
	width: 100%;
	height: 45px;
	text-align: center;
}

.cssload-speeding-wheel {
	width: 45px;
	height: 45px;
	margin: 0 auto;
	border: 3px solid rgb(23, 41, 139);
	border-radius: 50%;
	border-left-color: transparent;
	border-right-color: transparent;
	animation: cssload-spin 800ms infinite linear;
		-o-animation: cssload-spin 800ms infinite linear;
		-ms-animation: cssload-spin 800ms infinite linear;
		-webkit-animation: cssload-spin 800ms infinite linear;
		-moz-animation: cssload-spin 800ms infinite linear;
}

@keyframes cssload-spin {
	100%{ transform: rotate(360deg); transform: rotate(360deg); }
}

@-o-keyframes cssload-spin {
	100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
}

@-ms-keyframes cssload-spin {
	100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
}

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

@-moz-keyframes cssload-spin {
	100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
category-novosti {
	position: relative;
}
.category-novosti:after {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('assets/img/bg-news.jpg');*/
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    z-index: -1;
}
.archive.category.category-novosti .breadcrumbs {
	display: none;
}
.single-box.single-box-news p {
	min-height: 3vw;
	overflow: hidden;
}
.archive.category.category-novosti .footer {
    position: fixed;
}
/* НАСТРОЙКА ВИДЖЕТА НОВОСТЕЙ */
.rpwwt-widget ul li {
	position: relative;
	margin: 0 0 2em;
}
#rpwwt-recent-posts-widget-with-thumbnails-2 img,
.about-us__boxslider .about-us__box--bg {
	width: 100% !important;
	height: 165px !important;
	margin: 0 0 .3vw;
	object-fit: cover;
}
.rpwwt-post-date {
	position: absolute !important;
	left: 0;
	top: 117px;
	background-color: #fff;
	padding: 0.94vw 0.94vw 0.94vw 2vw !important;
	line-height: 1;
}
.rpwwt-post-date:before {
	content: "\e910";
    color: #000;
    position: absolute;
    left: 0.5vw;
    top: 45%;
    transform: translate(0, -50%);
    font-size: 1.2vw;
	font-family: 'icomoon' !important;
}
.single-post .main__content,
.single-services .main__content,
.page-id-40 .main__content,
.content-search  {
    padding-bottom: 5vw;
}
.rpwwt-widget ul li a {
    display: block;
    border: none;
}
/* END НАСТРОЙКА ВИДЖЕТА НОВОСТЕЙ */
.header-place {
    display: block;
    width: 100%;
    height: 170px;
}
.all-project-title a:hover {
	color: #fff;
}
.ya-share2__container_size_m .ya-share2__item {
    margin: 0;
    padding: 0 5px;
}
.share-block ul li:last-child {
	padding-right: 0;
}
.sidebar-content {
    padding: 1.7vw 0 0;
}
span.rpwwt-post-title,
.about-us__boxslider .about-us__box--info h4 a {
    width: 100%;
    height: auto;
    min-height: 5vw;
    overflow: hidden;
	display: inline;
    padding: 0 0 2px;
    font-size: 0.83vw;
    color: #fff;
    line-height: 1.3;
    font-family: "GothamPro";
}
span.rpwwt-post-title:hover,
.about-us__boxslider .about-us__box--info h4 a:hover {
	color: #fff;
    border-bottom: 1px solid #fff;
}
h4.widgettitle {
    font-size: 1.04vw !important;
    color: #fff !important;
    font-family: "GothamPro-Bold";
    margin-bottom: 1vw !important;
    text-transform: uppercase;
    line-height: 1;
}
/* СТИЛИЗАЦИЯ ФЕНСИ */
.fancybox-bg {
	opacity: .6 !important;
    background: linear-gradient(to right, #2ac5f4, #20409a);
}
.fancybox-infobar {
    font-size: 20px;
    color: #ffffff;
    left: 50%;
    transform: translate(-50%, 0);
    top: auto;
    bottom: 10vh;
    opacity: 1;
    mix-blend-mode: inherit;
}
.fancybox-infobar span {
    font-family: "GothamPro";
    color: #fff;
    opacity: 1;
}
.fancybox-infobar span:first-child {
	font-size: 30px;
	font-weight: bold;
}
button.fancybox-button.fancybox-button--zoom,
.fancybox-button svg {
	display: none !important;
}
.fancybox-navigation .fancybox-button {
    width: 60px;
    height: 60px;
    padding: 0;
    background-color: transparent;
}
.fancybox-navigation .fancybox-button--arrow_left:before,
.fancybox-navigation .fancybox-button--arrow_right:before,
button.fancybox-button.fancybox-button--close:before {
    position: absolute;
    font-family: 'icomoon' !important;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    color: #fff;
    font-size: 3.12vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: .6;
}
.fancybox-navigation .fancybox-button--arrow_left:hover:before,
.fancybox-navigation .fancybox-button--arrow_right:hover:before {
	opacity: 1;
}
.fancybox-navigation .fancybox-button--arrow_left:before {
	content: "\e901";
	background-color: transparent;
}
.fancybox-navigation .fancybox-button--arrow_right:before {
    content: "\e900";
    background-color: transparent;
}
button.fancybox-button.fancybox-button--close svg {
	display: none;
}
.fancybox-button.disabled:before,
.fancybox-button.disabled:hover:before,
.fancybox-button[disabled]:before,
.fancybox-button[disabled]:hover:before {
	opacity: .1;
}
button.fancybox-button.fancybox-button--close {
	background-color: transparent;
}
button.fancybox-button.fancybox-button--close:hover {
	background-color: #2ac5f4;
}
button.fancybox-button.fancybox-button--close:before {
	content: "\e912";
	font-size: 20px;
	opacity: 1;
}
/* МЕНЮ САЙТА стилизация */
.header.scroll.sub,
.header.scroll.scroll-down.sub {
	background-color: transparent !important;
}
.header.scroll.scroll-down.sub {
    opacity: 1;
}
.single .header__items--burger > span,
.single .header__items--info ul li a {
    color: #20409a;
}
.single .header.scroll .header__items {
    padding: 1.04vw 0 1.04vw;
}
.single .header.scroll {
    background-color: transparent;
}
.page-id-849 main > .container.napravl{
    display: block !important;
    padding-top: 150px;
    position: relative;
}
.icon-page,
.home .icon-page,
.single .icon-home,
.single .header.sub .header__items--logo .icon-page,
.icon-scroll,
.page-id-20 main > .container,
.page-id-849 main > .container,
.error404 main > .container {
  display: none !important;
}
.single .icon-page,
.single .header.sub .header__items--logo .icon-home,
.search .icon-page,
.search .header.sub .header__items--logo .icon-home,
.home .icon-home {
  display: inline !important;
}
.single .icon-page,
.single .header.sub .header__items--logo .icon-home {
    display: inline;
}
.single .icon-home,
.single .header.sub .header__items--logo .icon-page,
.search .icon-home,
.search .header.sub .header__items--logo .icon-page,
.icon-scroll {
    display: none !important;
}
.single .header.scroll .icon-scroll,
.search .header.scroll .icon-scroll {
  display: block !important; }
  
.header.scroll.sub .icon-scroll,
.header.scroll.sub  img.open-icon.icon-page,
.header.scroll.scroll-down.sub .icon-scroll,
.header.scroll.scroll-down.sub  img.open-icon.icon-page {
	display: none !important;
}
.header.scroll.sub .header__items--burger span,
.header.scroll.scroll-down.sub .header__items--burger span {
	color: #fff;
}
.header.scroll.sub img.open-icon.icon-home,
.header.scroll.scroll-down.sub img.open-icon.icon-home {
	display: block !important;
}
.single .header.scroll .header__items--logo .icon-page,
.search .header.scroll .header__items--logo .icon-page {
  display: none !important; }

.single .header__items--burger > span,
.single .header__items--info ul li a,
.search .header__items--burger > span,
.search .header__items--info ul li a {
  color: #fff; }

.single .header__items--burger.open > span,
.single .header.sub .header__items--info ul li a,
.search .header__items--burger.open > span,
.search .header.sub .header__items--info ul li a  {
  color: #fff; }

.single .header.scroll,
.search .header.scroll  {
  /*background-color: transparent;*/
  background: linear-gradient(to bottom, rgb(24 104 226 / 100%), rgb(0 107 187 / 100%), rgb(0 93 158));
  min-height: 100px;
}
.single .header.scroll .header__items,
.search .header.scroll .header__items  {
  padding: 1.54vw 0 1.04vw;
}

.single .header.scroll .header__items--logo,
.search .header.scroll .header__items--logo {
  top: 0.22vw;
}

.single .header.scroll-down,
.search .header.scroll-down {
  opacity: 0; }

.page-template-default .icon-page,
.page-template-default .header.sub .header__items--logo .icon-home {
    display: inline !important;
}
.page-template-default .header.scroll .icon-scroll {
	display: block !important;
}
.page-template-default .header.sub .header__items--logo .icon-page,
.page-template-default .header.scroll .header__items--logo .icon-page,
.page-template-default .header.scroll.sub .icon-scroll {
	display: none !important;
}
main .main__content {
	height: auto;
	min-height: 80vh;
}
.main__content.main__content--search {
	min-height: auto;
}
.main__content p {
	color: #6d6e70;
}
.single-box p {
	height: 3.8vw;
    overflow: hidden;
}
.project-template-default.single.single-project main,
.single-services main {
	display: block !important;
	height: auto !important;
}
.single-project .more-project-block .more-project-block--title {
    font-size: 1.56vw;
    text-transform: uppercase;
    font-family: "GothamPro-Bold";
    color: #fff;
    margin-bottom: 1.56vw;
}
.single .swiper-button-next-project::before,
.single .swiper-button-next-services::before,
.single .swiper-button-prev-project:before,
.single .swiper-button-prev-services:before {
    color: #FFC600;
}
.single .swiper-pagination.swiper-pagination-pro .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #fff;
}
.single .swiper-pagination.swiper-pagination-pro.swiper-pagination-bullets,
.swiper-pagination.swiper-pagination-single.swiper-pagination-bullets {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    transform: none;
}
.single .swiper-pagination.swiper-pagination-pro .swiper-pagination-bullet.swiper-pagination-bullet-active:before,
.swiper-pagination.swiper-pagination-single .swiper-pagination-bullet.swiper-pagination-bullet-active:before,
.swiper-pagination.swiper-pagination-single.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    background-color: #FFC600 !important;
}
.pills-video-tabs {
	margin-bottom: 20px;
}
.services-link {
	width: 100%;
	height: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	position: absolute;
	left: 0;
	top: 0;
	padding-bottom: 0;
	border-bottom: none;
	z-index: 200;
}
.single-box.single-box-zoom .about-us__box--info p {
	pointer-events: none;
}
.mt-10 {
	margin-top: 1.04vw;
}
.swiper-container.swiper-container-single.swiper-container-vertical.swiper-container-wp8-vertical {
	width: 100%;
	height: 700px;
}
.swiper-container.swiper-container-single.swiper-container-vertical.swiper-container-wp8-vertical .swiper-wrapper {
	padding: 0 0 2vw;
    position: relative;
}
.about-us__box.about-us__boxslider .about-us__box--info {
	height: auto;
	padding: 0;
}
.swiper-pagination.swiper-pagination-single.swiper-pagination-clickable.swiper-pagination-bullets {
    width: 100%;
    height: auto;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translate(-50%, 0);
    flex-direction: row;
    justify-content: center;
}
.swiper-pagination.swiper-pagination-single.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 1.3vw 0 0;
    position: relative;
}
.swiper-pagination.swiper-pagination-single.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet:last-child {
    margin: 0;
}
.swiper-pagination.swiper-pagination-single.swiper-pagination-clickable.swiper-pagination-bullets  .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #fff;
}
.container-single {
	position: relative;
	height: auto;
	padding-bottom: 2vw;
}
.contact__map.contact__map--map {
	width: 100%;
	height: 100%;
/* 	pointer-events: none; */
}
.page-id-849 img.open-icon.icon-home,
.page-id-849 .header__items--logo a img.icon-home,
.page-id-849 .header__items--info ul li img.icon-home,
.page-id-20 img.open-icon.icon-home,
.page-id-20 .header__items--logo a img.icon-home,
.page-id-20 .header__items--info ul li img.icon-home {
	display: inline;
}
.page-id-849 .header__items .header__items--burger > span,
.page-id-849 .header__items .header__items--info ul li a,
.page-id-20 .header__items .header__items--burger > span,
.page-id-20 .header__items .header__items--info ul li a {
	color: #fff;
}
input.wpcf7-form-control.wpcf7-submit.btn {
    border: 1px solid #fff!important;
}
.page-id-849 .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors,
.page-id-20 .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
	color: #fff;
}
.page404.page404-mob,
.page404.page404-mob .container,
.page404--items.text-center {
    width: 100%;
    height: 100%;
}
.page404--items.text-center {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: center;
}
.btn-search {
	margin-top: 1vw;
}
.btn-search a {
	font-size: 0.99vw;
    color: #fff;
}
.btn-search a:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.search-no-results .content-search,
.content-search {
    min-height: 70vh;
    height: auto;
}
.page-id-20 .swiper-pagination-main .swiper-pagination-bullet {
    width: 12.4vw;
}
.contacts-list li img {
    width: 3.5rem;
    height: auto;
}
.main__img {
	display: none;
}
.swiper-slide-services .swiper-container-services .single-box {	
    -ms-flex: 100;
    flex: 100%;
    width: 100%;
    max-width: 100%;
}
.swiper-slide-services .swiper-slide.swiper-slide-next,
.swiper-slide-services .swiper-slide.swiper-slide-next + .swiper-slide {
    opacity: 1;
    pointer-events: all;
}
.single-box.single-box-zoom:hover {
	z-index: 200;
}
ul.data-info li:before {
	display: none;
}
.more-project-block.about-us .about-us__box.single-box h4 {
    height: 3.7vw;
    margin-bottom: 1vw;
}
.fancybox-button {
	background-color: transparent;
}
.pills-video-tabs:last-child {
	margin-bottom: 0;
}
#map,
.ymaps-2-1-75-map{
	-ms-touch-action: auto !important;
	touch-action: auto !important;
}
.swiper-container.swiper-container-single.swiper-container-vertical.swiper-container-wp8-vertical .about-us__box--info {
	   min-height: inherit;
}
.search-box__block input#s,
.search-box__block input#s:hover,
.search-box__block input#s:focus {
	background-color: transparent !important;
	color: #fff;
	font-size: 1vw;
	border: 0 !important;
}
.second-bl-style .all-forms .wpcf7 .your-message:before {
	top: 50%;
}
.second-bl-style .all-forms .wpcf7 .your-message .wpcf7-textarea {
	height: 50px;
}
.second-bl-style .all-forms .wpcf7 .your-message.active:before {
	top: 0;
}
.footer {
	z-index: 990 !important;
}
/*
.page--blue .icon-page,
.page--blue .header.sub .header__items--logo .icon-home,
.page--blue .header.scroll .header__items--logo .icon-home {
  display: none; }

.page--blue .icon-home {
  display: inline; }

.page--blue .header__items--burger > span,
.page--blue .header__items--info ul li a {
  color: #fff; }

.page--blue .header.scroll .header__items--burger > span,
.page--blue .header.scroll .header__items--info ul li a {
  color: #20409a; }
*/
