/*
Theme Name: Itbutik
Author: It-Butik
Author URI: https://it-butik.ru
Version: 1.0
 */
.chaty-svg svg {
    /*color: #000;*/
}

.wpcf7-spinner {
   display: none !important;
   visibility: hidden !important;
}


img {
    height: auto;
    max-width: 100%
}
a, a:hover, a:active, a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.site-header {
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 10;
}
.site-logo {
    display: inline-block;
    max-width: 100%;
    margin-right:15px;
}
.site-logo img {
    max-height:55px;
}
.naming-wrap {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
}
.naming-wrap h1 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}
.naming-wrap h4 {
    margin-top:0;
    margin-bottom:0;
    line-height: 26px;
}
.naming-wrap a {
    color:inherit;
}
.foot_list ul.menu {
    list-style-type: none;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.foot_list ul.menu li {
    margin-right:0;
    margin-left:0;
}
#next .content-blocks .content_block:nth-child(2n+1) .content_img {
    margin-left: 50px;
    padding-right: 30px;
}
#next .content-blocks .content_block:nth-child(2n) .content_img {
    margin-right: 50px;
    padding-left: 30px;
}
#next .content-blocks .content_block:nth-child(2n+1) .content_img img {
    box-shadow: 30px 30px 0 #E2E9FF;
}
#next .content-blocks .content_block:nth-child(2n) .content_img img {
    box-shadow: -30px 30px 0 #E2E9FF;
}

.proj_fon .cat_name {
    margin-top: 85px;
}
.section {
    overflow:hidden;
}
section.archive-project, section.archive-service, section.contacts-page, section.blog-page, section.single-post {
    padding-top:150px;
}
.pagi_line {
    position:relative;
}
.pag_left, .pag_right {
    text-indent:100000;
}
.pag_left {
    position: absolute;
    left: -15px;
    top: 9px;
}
.pag_right {
    position: absolute;
    right: -15px;
    top: 9px;
}
.main-menu .menu-item-has-children > a {
    padding-right: 20px;
    background: url(/wp-content/themes/itbutik/img/arr.svg) no-repeat;
	background-position: top 50% right;
}
.main-menu .sub-menu {
    list-style-type: none;
    position: absolute;
    left: -20px;
    top: 22px;
    list-style-type: none;
    z-index: 10;
}

.main-menu .sub-menu .menu-item-has-children > a {
    background: url(/wp-content/themes/itbutik/img/arr_right.svg) no-repeat;
    background-position: top 50% right;
}
.main-menu .sub-menu .sub-menu {
    left: calc(100%);
    top: 0;
} 

.main-menu .menu-item-has-children:hover > .sub-menu > li {
  min-height: 45px !important;
  padding: 15px 10px;	
  height: auto;	
}

.main-menu .sub-menu li {
    min-width: 250px;
    height: 0px;
    background: #fff;
    margin: 0;
  font-size: 17px;
  font-weight: 600;
    transition: 0.3s ease all;
    padding: 0 10px ;
}

.main-menu li a {
    display: block;
    overflow: hidden;
    height: inherit;
}

.main-menu .sub-menu li:hover {
    color: #fff;
}
.pol_row .wpcf7-checkbox .wpcf7-list-item-label {
    margin: 0 0 0 0;
    font-size: 10px;
}
.form_col input.wpcf7-submit {
    color: #fff;
    margin-top: 13px;
    padding: 16px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    width: 100%;
}
.form_col .ajax-loader {
    width:16px;
    height:16px;
}
.about_cif span {
    font-size: 35px;
}
.spoiler-head {
    display:block;
} 
.spoiler-head.folded .spoiler-body {
    display:block!important;
    position:relative;
}
.spoiler-body {
  left: -175px;
}
.spoiler-head.folded .spoiler-body > .menu {
    display:block!important;
}
.spoiler-head.folded .spoiler-body > .menu li {
    margin: 1px 0;
}
.sidebar .usl_col {
    width:100%;
}
.usl_img_wrap {
    position: absolute;
    left: -6%;
    width: 34%;
    border-radius: 0.57vw;
    min-height: 8.54vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.usl_block img {
    max-width: 100%;
    max-height: 100%;
    max-width: none;
    min-width: auto;
    min-height: auto;
    height: 100%;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cont_row {
    justify-content: center;
}


@media (max-width:1400px) {
    
section.archive-project, section.archive-service, section.contacts-page, section.blog-page, section.single-post {
    padding-top:100px;
}
    .proj_fon .cat_name {
        margin-top:125px;
    }
}

@media (max-width:600px) {
    
.form_col input.wpcf7-submit {
    padding: 13px 20px;
    font-size: 12px;
}
}

@media (max-width:530px) {
    .pol_row span {
        font-size: 8px;
    }
.form_col input.wpcf7-submit {
    padding: 10px 20px;
    font-size: 8px;
}
}



/*кнопки обратной связи*/
.floating-social {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.social-button {
  background: linear-gradient(135deg, #0036d6, #1e3a8a);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: subtleWiggle 3s ease-in-out infinite;
}

@keyframes subtleWiggle {
  0%, 95%, 100% {
    transform: rotate(0deg);
  }
  97% {
    transform: rotate(-10deg);
  }
  98% {
    transform: rotate(10deg);
  }
}

.social-button span {
  position: absolute;
  opacity: 0;
  text-transform:uppercase;
  transition: opacity 0.3s ease;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing:.2px;
  font-family:sans-serif;
}

.social-button:hover {
  width: 160px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1e3a8a, #152a6b);
  animation:none;
}

.social-button:hover span {
  opacity: 1;
}

.social-icons {
  position: absolute;
  bottom: 70px;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-social:hover .social-icons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.social-icon:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: rgb(255 255 255 / 85%)!important;
}

.social-button:hover .chat-btn{
	opacity:0;
}

.telegram {
  background: #0088cc;
}

.whatsapp {
  background: #25d366;
}

.max {
  background: #72549d;
}

/* Адаптивность */
@media (max-width: 768px) {
  .floating-social {
    bottom: 20px;
    right: 20px;
  }
  
  .social-button {
    width: 55px;
    height: 55px;
  }
  
  .social-icons {
    bottom: 65px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
}
/*кнопки обратной связи*/