/*
 Theme Name: Calypso
 Theme URI: https://calypso.by
 Description: Дочерняя тема для Astra
 Author: Irina Vorobyeva
 Template: astra
 Version: 1.0
*/
/* Меняет цвет подменю */
.main-header-menu .sub-menu {
  background-color: #132851; 
}

/*  СТИЛИ ДЛЯ ГЛАВНОГО МЕНЮ  */
.main-header-menu > li > a {
  position: relative;
  padding: 12px 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-header-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 18px;
  width: 0%;
  height: 2px;
  background-color: #98c6fc;
  transition: width 0.3s ease;
}

.main-header-menu > li:hover > a::after {
  width: 60%;
}

/*  Стиль для ссылки услуги  */
.main-header-menu > li > a[href="#"] {
  pointer-events: none;
  cursor: default;
}

/*  Уберает рамку вокруг ссылки  */
.main-header-menu > li > a:focus,
.main-header-menu > li > a:active,
.main-header-menu > li > a:hover {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* для ссылок в футере*/
.has-white-color a:hover {
    color: #98c6fc !important;
}

/* Для Viber */
.wp-block-group-is-layout-flex a[href^="viber://"]:hover img {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Для Telegram */
.wp-block-group-is-layout-flex a[href*="t.me"]:hover img {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Для Instagram */
.wp-block-group-is-layout-flex a[href*="instagram.com"]:hover img {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
input.wpcf7-submit:hover {
    background-color: #ff7700 !important;
    color: white !important;
}


/* ОБЩИЕ СТИЛИ ФОРМЫ  */
.wpcf7 form {
    padding: 20px;
    background-color: #98c7fc70;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

/* ПОЛЯ INPUT И TEXTAREA  */
.wpcf7 input.wpcf7-form-control:not([type=submit]),
.wpcf7 textarea.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control {
    border: 2px solid #072a7e;
    background: #cee4ff;
    color: #132851;
}

/* Цвет плейсхолдера */
.wpcf7-form-control::placeholder {
    color: #6983A4;
}

/* Эффект при фокусе */
.wpcf7-form-control:focus {
    color: #132851 !important;
    border-color: #ff7700;
    box-shadow: 0 0 0 2px rgba(255, 119, 0, 0.2);
}

/*  ЧЕКБОКС = */
.wpcf7 input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #072a7e;
	display: inline-block;
}

/*  МЕТКИ И ССЫЛКИ  */
.wpcf7-list-item {
    margin: 4px;
}

.wpcf7-list-item-label {
    color: #132851;
}

.wpcf7-list-item-label a {
    color: #072a7e;
}

/*  ОТКЛЮЧЕНИЕ СПИННЕРА  */
.wpcf7-spinner {
    display: none;
}

/*  СООБЩЕНИЯ  */
.wpcf7-response-output {
    font-size: 14px;
    text-align: center;
    color: #132851;
    font-weight: 500;
    margin-top: 15px;
    padding: 10px 20px;
    border: 2px solid #ff7700 !important;
    background-color: #cee4ff;
    border-radius: 4px;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #cee4ff;
    color: #132851;
    border: 2px solid #98c6fc;
}

/*  КНОПКА ОТПРАВКИ  */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background-color: #ff7700;
    padding: 14px 48px;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff !important;
    border: 2px solid #ff7700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    outline: none;
}

/* Ховер-состояние кнопки */
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background-color: transparent !important;
    color: #ff7700 !important;
}

/* Выравнивание кнопки */
.wpcf7-form p:has(.wpcf7-submit) {
    text-align: center !important;
}

/*  МОДАЛЬНОЕ ОКНО POPUP MAKER  */
.pum-theme-647 .pum-title,
.pum-theme-floating-bar .pum-title {
    color: #ff7700;
    text-align: center;
    text-shadow: none;
    font-family: 'Oswald';
    font-weight: 600;
    font-size: 34px;
    line-height: 36px;
}

.pum-theme-647 .pum-container,
.pum-theme-floating-bar .pum-container {
    padding: 20px;
    border-radius: 14px;
    box-shadow: 1px 1px 3px 0px rgba(2, 2, 2, 0.23);
    background-color: #072a7e;
}

.pum-theme-647 .pum-content + .pum-close, .pum-theme-floating-bar .pum-content + .pum-close{
	color: #ffffff;
	border: 1px solid #ffffff;
	
/* фипсираваная позиция*/
.main-header-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.site-content {
  padding-top: 75px;
}

/* бургер меню позиция*/
.ast-header-break-point .ast-mobile-header-wrap {
  position: fixed;
  top: 75px; /* высота шапки */
  left: 0;
  width: 100%;
  z-index: 99999;
}

.ast-mobile-popup-drawer.active {
  overflow-y: auto;
  max-height: 100vh;
}




