/*
Theme Name: Twenty Seventeen Child
Author: KMK Group
Template: twentyseventeen
*/

/* Біжуча стрічка */
.marquee-container {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 15px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
  background-color: red;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 17s linear infinite;
  color: white;
  font-size: 1.5rem;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* Header */
.my-sticky-header {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.logo a:hover,
.logo a:focus,
.logo a:active {
  text-decoration: none;
}

.move {
  position: relative !important;
  animation: move 1000ms infinite linear alternate !important;
}

.move:hover,
.move:focus {
  animation: none !important;
}

/* Main page */
body.elementor-page-3211:not(
    .elementor-motion-effects-element-type-background
  ) {
  background-attachment: fixed;
}

@keyframes move {
  0% {
    transform: translateY(7%);
  }
  100% {
    transform: translateY(-7%);
  }
}

.card__container {
  margin-bottom: 15px;
}

.card__container span {
  font-family: "Montserrat";
  font-size: 1.2rem;
  text-transform: uppercase;
}
.card__container .card__title {
  margin-bottom: 0;
}

/* Footer */
/* Останні статті */
.shordcode-post__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  list-style: none;
}

.shordcode-post__item {
  display: inline-block;
}

@media (max-width: 767px) {
  .shordcode-post__item:not(:last-child) {
    margin-bottom: 20px;
  }
}

.shordcode-post__item:not(:last-child) {
  margin-right: 20px;
}

.shordcode-post__link,
.shordcode-post__link:hover,
.shordcode-post__link:focus,
.shordcode-post__link:active {
  color: var(--e-global-color-primary);
  text-decoration: none;
}

.shordcode-post__link:hover,
.shordcode-post__link:focus,
.shordcode-post__link:active {
  opacity: 0.8;
}

/* CF7 */
/* Common */
@media screen and (max-width: 767px) {
  .pum .pum-container.pum-responsive {
    width: 85%;
  }
}

.wpcf7-not-valid-tip {
  position: absolute;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
}

.captcha-image {
  width: 100%;
  border: none !important;
}

.captcha-image .cf7ic_instructions {
  margin-bottom: 20px;
}

.captcha-image .cf7ic_instructions span,
.captcha-image label > input:checked + svg,
.captcha-image label > input:focus + svg {
  color: #69715c !important;
  border: none !important;
}

.wpcf7-response-output {
  position: absolute;
  left: -5px;
  width: 100%;
  text-align: center;
}

/* Order form */
.shelter-standart-order .wpcf7-submit,
.shelter-credit-order .wpcf7-submit,
.blog-ask-us .wpcf7-submit {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: var(--e-global-typography-accent-font-weight);
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
}

.shelter-standart-order .wpcf7-submit:focus,
.shelter-standart-order .wpcf7-submit:hover,
.shelter-standart-order .wpcf7-submit:active,
.shelter-credit-order .wpcf7-submit:focus,
.shelter-credit-order .wpcf7-submit:hover,
.shelter-credit-order .wpcf7-submit:active,
.shelter-credit-order .wpcf7-submit:focus,
.shelter-credit-order .wpcf7-submit:hover,
.blog-ask-us .wpcf7-submit:active {
  background-color: rgb(0, 0, 0);
}

.shelter-standart-order .wpcf7-spinner,
.shelter-credit-order .wpcf7-spinner,
.blog-ask-us .wpcf7-spinner {
  background-color: grey;
  position: absolute;
  left: -5px;
  z-index: 1;
  bottom: 12px;
}

.blog-ask-us textarea {
  resize: none;
}

.blog-ask-us .wpcf7-response-output {
  color: #ffffff;
}

/* Calculation form */
.pum-content .table a {
  color: #ffffff;
}

.calculation p {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: 600;
}

.calculation .wpcf7-list-item-label {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: var(--e-global-typography-accent-font-weight);
}

.calculation .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
}

.calculation .subtitle {
  display: block;
  background-color: rgb(128, 128, 128);
  padding: 10px;
  border-radius: 3px;
  color: #ffffff;
}

.calculation .wpcf7-form-control {
  display: grid;
}

.calculation .wpcf7-acceptance label {
  color: #59614c;
}

.calculation .wpcf7-submit {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: var(--e-global-typography-accent-font-weight);
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
}

.calculation .wpcf7-submit:focus,
.calculation .wpcf7-submit:hover,
.calculation .wpcf7-submit:active {
  background-color: rgb(0, 0, 0);
}

.calculation .user-contacts {
  position: relative;
}

.calculation .user-contacts .wpcf7-spinner {
  position: absolute;
  top: 135px;
}

/* Steps call-back form */
/* .steps-call-back {
  display: flex;
  justify-content: center;
}

.steps-call-back {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}

@media screen and (min-width: 768px) {
  .steps-call-back {
    flex-direction: row;
    gap: 5px;
  }
}

.steps-call-back input {
  width: 250px;
}

@media screen and (min-width: 768px) {
  .steps-call-back input {
    width: 200px;
  }
} */

.steps-call-back .wpcf7-acceptance label {
  color: #59614c;
}

.steps-call-back .call-back-submit {
  width: 100%;
}

.steps-call-back p {
  margin-bottom: 0;
}

/* .steps-call-back .wpcf7-submit {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: var(--e-global-typography-accent-font-weight);
  background-color: rgba(0, 0, 0, 0.7);
  height: 48px;
}

.steps-call-back .wpcf7-submit:focus,
.steps-call-back .wpcf7-submit:hover,
.steps-call-back .wpcf7-submit:active {
  background-color: rgb(0, 0, 0);
}

.steps-call-back .wpcf7-spinner {
  position: absolute;
  padding: 10px;
  margin: 0;
  top: 80px;
  left: calc(50% - 12px);
}

.steps-call-back .wpcf7-response-output {
  position: absolute;
  bottom: -40px;
  padding: 10px;
  margin: 0;
  color: rgba(0, 0, 0, 0.77);
  text-align: center;
}

@media screen and (min-width: 768px) {
  .steps-call-back .wpcf7-response-output {
    bottom: -60px;
    margin: 0;
    line-height: 2;
  }
} */

/* Installation & Steps call-back */
/* .installation-call-back,
.steps-call-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.installation-call-back .wpcf7-acceptance .wpcf7-list-item-label {
  color: #dadada;
}

.installation-call-back p,
.steps-call-back p {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}

@media screen and (min-width: 768px) {
  .installation-call-back p,
  .steps-call-back p {
    flex-direction: row;
    gap: 5px;
  }
}

.installation-call-back p input,
.steps-call-back p input {
  width: 250px;
}

@media screen and (min-width: 768px) {
  .installation-call-back p input,
  .steps-call-back p input {
    width: 200px;
  }
}

.installation-call-back .privacy-policy,
.steps-call-back .privacy-policy {
  width: auto;
}

.installation-call-back p .wpcf7-submit,
.steps-call-back p .wpcf7-submit {
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: var(--e-global-typography-accent-font-weight);
  background-color: rgba(0, 0, 0, 0.77);
  height: 48px;
}

.installation-call-back p .wpcf7-submit:focus,
.installation-call-back p .wpcf7-submit:hover,
.installation-call-back p .wpcf7-submit:active,
.steps-call-back p .wpcf7-submit:focus,
.steps-call-back p .wpcf7-submit:hover,
.steps-call-back p .wpcf7-submit:active {
  background-color: rgb(0, 0, 0);
}

.installation-call-back p .wpcf7-spinner,
.steps-call-back p .wpcf7-spinner {
  position: absolute;
  padding: 10px;
  margin: 0;
  top: 80px;
  left: calc(50% - 12px);
}

.installation-call-back .wpcf7-response-output,
.steps-call-back .wpcf7-response-output {
  position: absolute;
  bottom: -40px;
  padding: 10px;
  margin: 0;
  color: rgba(0, 0, 0, 0.77);
  text-align: center;
}

@media screen and (min-width: 768px) {
  .installation-call-back .wpcf7-response-output,
  .steps-call-back .wpcf7-response-output {
    bottom: -60px;
    margin: 0;
    line-height: 2;
  }
} */

/* Contact us */
.contact-us {
  position: relative;
}

.contact-us p .wpcf7-submit {
  width: 100%;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: inherit;
  font-weight: var(--e-global-typography-accent-font-weight);
  background-color: #ffffff36;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var(--e-global-color-primary);
  border-radius: 3px 3px 3px 3px;
}

.contact-us p .wpcf7-submit:focus,
.contact-us p .wpcf7-submit:hover,
.contact-us p .wpcf7-submit:active {
  background-color: #59614c;
}

.contact-us .wpcf7-spinner {
  position: absolute;
  top: calc(50% - 80px);
  left: calc(50% - 80px);
  width: 80px;
  height: 80px;
}

.contact-us .wpcf7-spinner::before {
  top: 20px;
  left: 20px;
  transform-origin: 20px 20px;
  animation-duration: 2000ms;
}

.contact-us .wpcf7-response-output {
  color: #dadada;
}

.contact-us textarea {
  resize: none;
}

.wpcf7-acceptance label,
.cf7ic_instructions,
.captcha-image label {
  color: #dadada;
}

/* Flip Feature Card */
.flip {
  position: relative;
  display: inline-block;
  width: calc(300px - 10px - 10px);
  height: calc(300px - 10px - 10px);
}

@media screen and (min-width: 768px) {
  .flip {
    width: calc((768px - 10px - 10px) / 3);
    height: calc((768px - 10px - 10px) / 3);
  }
}

@media screen and (min-width: 1200px) {
  .flip {
    width: calc(900px / 3);
    height: calc(900px / 3);
  }
}

.flip > .front,
.flip > .back {
  display: block;
  color: #000000;
  width: inherit;
  background-size: cover !important;
  background-position: center !important;
  height: 100%;
  padding: 1.2em 1.2em;
  background: #dadada;
  text-align: center;
  transition: transform 700ms ease-in-out 0ms, opacity 200ms ease-in-out 300ms;
}

.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  display: flex;
  align-items: center;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
}
.flip:hover > .front {
  transform: rotateY(180deg);
  transition: transform 700ms ease-in-out 0ms, opacity 200ms ease-in-out 300ms;
}
.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
  transition: transform 700ms ease-in-out 0ms, opacity 200ms ease-in-out 300ms;
}

/* shelter-slider */
.shelter-slider__option .swiper-slide img {
  height: 300px;
  object-fit: cover;
}

.elementor-pagination-position-outside .swiper-container {
  padding-bottom: 0px;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 20px;
  left: 0;
  width: 100%;
}

.swiper-pagination-bullet {
  background-color: #959595;
}

.swiper-pagination-bullet-active {
  background-color: #ffffff;
}

.shelter-slider__option .swiper-wrapper {
  height: 280px;
}

/* Бітрікс 24 Колір тексту полів вводу усіх форм */
.b24-form-control-string .b24-form-control,
.b24-form-control-list .b24-form-control,
.b24-form-control-text .b24-form-control,
.b24-form-control-select .field-item {
  color: var(--b24-text-color) !important;
}

/* Заберає підсвітку фону input авто-вводу для Yandex and Google browser*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition: color 9999s ease-out, background-color 9999s ease-out;
  -webkit-transition-delay: 9999s;
}

/* BLOG */
.blog .page {
  background-color: #dadada;
}

.blog .page-title {
  font-size: 2rem;
}

.blog .wrap {
  padding-top: 120px;
  padding-bottom: 60px;
}

.blog .post .entry-title {
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

.blog .post .post-thumbnail img {
  height: 200px;
  object-fit: none;
  border-radius: 3px;
}

.blog .post .entry-title a {
  padding: 10px;
  color: #59614c;
}

.blog .post .entry-title a:hover,
.blog .post .entry-title a:active {
  color: #59614c;
  box-shadow: none;
}

.blog .post .entry-title a {
  text-decoration: none;
  text-transform: uppercase;
}

.blog .post .entry-content,
.blog .post .entry-meta {
  display: none;
}

/* title border */
.blog .post .entry-title {
  padding-top: 0.5em;
  border-top: 2px #000000c4 solid;
  margin-bottom: 20px;
}

aside .widget ul li {
  border: none;
}

aside .widget ul li a {
  text-decoration: none;
  color: #000000;
}

aside .widget ul li a:hover,
aside .widget ul li a:focus,
aside .widget ul li a:active {
  box-shadow: none;
  color: #59614c;
}


.page-404{
  margin: 150px 0;
}
.page-404 .wrap-404{
	width: 100%;
	text-align: center;
}
.page-404 .flex{
	align-items: center;
	justify-content: center;
}
.page-404 .flex span{
	font-size: 250px;
	line-height: normal;
}
.page-404 .flex .bg-image{
	width: 190px;
	height: 190px;
}
.page-404 .flex .bg-image svg{
	display: flex;
	width: 100%;
	height: 100%;
}
.page-404 .block-404{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.page-404 .text-404{
	display: block;
	margin: 45px 0;
	font-size: 33px;
}
.page-404 .button-404{
	padding: 10px 35px;
	font-size: 21px;
	color: #fff;
	background: #000;
}