/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/

/* скрывает элемент у пользователя, но отображается в DOM*/
.display-none:not(.vb-item) {
    display: none;
}

@media only screen and (min-width: 1239px) {
  .container,
  .section_wrapper {
    padding-left: 40px!important;
    padding-right: 40px!important;
    box-sizing: border-box;
  }
}

@media only screen and (min-width: 960px) {
  .mhb-menu .menu > li > a.menu-toggle {
    display: none;
  }
}

@media only screen and (max-width: 1239px) {
  .container,
  .section_wrapper {
    padding-left: 28px!important;
    padding-right: 28px!important;
    max-width: 1400px !important;
  }

  header .mhb-item {
    margin: 0 15px;
  }
}

@media only screen and (max-width: 1024px) {
  .container,
  .section_wrapper {
    padding-left: 20px!important;
    padding-right: 20px!important;
  }

  .mhb-menu .menu > li > a > span {
    padding: 0 14px;
  }
}

@media only screen and (max-width: 959px) and (min-width: 768px) {
  .container,
  .section_wrapper {
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
}

.section-slider-block .section_wrapper {
    padding-left: 0px!important;
    padding-right: 0px!important;
  }

@media only screen and (max-width: 767px) {
  /* .container,
  .section_wrapper {
    padding-left: 10px!important;
    padding-right: 10px!important;
    max-width: 100% !important;
  } */

  #Content {
    padding-top: 30px !important;
  }

  #Subheader .one.column {
    padding: 0 !important;
  }
}

#Footer a:not(.button):not(.icon_bar):hover{
    color: #b12933;
    text-decoration: none;
}

.footer__menu img{
    vertical-align: middle;
    margin-right: 10px;
}

.footer__menu li{
    margin-bottom: 0.5em;
}

@media ( min-width: 768px ){
    .footer__menu{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__menu li{
        margin-bottom: 0.5em;
    }
}

@media (max-width: 769px ){
    .footer__menu li{
        margin-bottom: 0.8em;
    }

    .footer__menu li > a {
      display: flex;
      align-items: center;
    }

    .footer__menu li img {
      max-width: 20px;
      max-height: 20px;
    }
}

.services-form {
  width: 100%;
}

@media ( min-width: 960px ) {
  .services-text {
      width: calc(100% - 400px);
  }

  .services-form {
      width: 370px;
      padding-left: 30px;
  }
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 52.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.wp-block-embed__wrapper iframe {
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.section-slider .mcb-wrap-background-overlay {
    background-image: url(https://sercons.kr/wp-content/uploads/2022/08/pattern.png);
    background-position: center;
    border-radius: 0px 0px 0px 0px;
}

.section-slider h1 {
    line-height: 66px;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 54px;
}

.section-slider__sub .title {
    font-family: Roboto;

    font-weight: 400;
    font-size: 26px;
    transform-origin: 50% 50%;
    opacity: 1;
    transform: translate(0px, 0px);
    visibility: visible;

    margin: 40px 0;
}

.section-slider .button {
    background-color: rgba(177, 41, 51, 0.75);
    font-family: Roboto;
    text-transform: uppercase;
    height: auto;
    color: rgb(255, 255, 255);
    text-decoration: none;
    white-space: normal;
    width: 245px;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: center;
    line-height: 31px;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 24px;
    padding: 17px;
    transform-origin: 50% 50%;
    opacity: 1;
    transform: translate(0px, 0px);
    visibility: visible;
    border-width: 0px;
    border-radius: 0px;
    border-color: rgb(255, 255, 255);
}


.section-slider .button i {
    color: #fff !important;
}

@media (max-width: 767px) {
    .section-slider .mcb-wrap-inner {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .section-slider h1 {
        font-size: 24px;
        line-height: normal;
        text-align: center;
    }

    .section-slider__sub .title {
        font-size: 20px;
        line-height: normal;
        text-align: center;
    }

    .section-slider .mcb-wrap-inner .column_button {
        text-align: center;
    }

    .section-slider .mcb-wrap-inner .column_button a {
        padding: 10px 17px !important;
        width: fit-content !important;
    }

    .section-slider .button_right.has-icon .button_label {
        font-size: 17px;
        margin-right: 20px !important;
    }
}

/**************************\
  Basic Modal Styles
\**************************/
.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

#modal-3 {
    display: none;
}

#modal-3.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background-color: #fff;
    padding: 30px;
    max-width: 500px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #00449e;
    box-sizing: border-box;
}

.modal__close {
    background: transparent;
    border: 0;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: rgba(0,0,0,.8);
}

.modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
    from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}


#back_to_top.sticky{
    left: 5px !important;
    bottom: 0px !important;
}

@media (max-width: 575px) {
	.play_video_block {
    	height: 300px;
	}
}

@media (max-width: 991px) {
	.play_video_block {
    	height: 400px;
	}
}

.play_video_block {
    position: relative;
    height: 600px;
    background-size: cover;
}

.play_video_block__shadow.shadow_1 {
    left: 0;
}

.play_video_block__shadow {
    position: absolute;
    background-color: rgba(0,0,0,.7);
    top: 0;
    bottom: 0;
    z-index: 0;
    width: 50%;
}

.play_video_block__shadow.shadow_2 {
    right: 0;
}

.play_video_block__shadow_border {
    background-color: rgba(255,255,255,.3);
    height: calc(50% - 85px);
    position: absolute;
    width: 1px;
    left: 0;
    right: 0;
    margin: auto;
}

.play_video_block__shadow_border.border_2 {
    bottom: 0;
}

.play_video_block__button_play {
    padding: 15px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 150px;
    position: absolute;
    width: 170px;
    height: 170px;
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    overflow: hidden;
    transition: .7s;
    -webkit-transition: .7s;
    -moz-transition: .7s;
    -ms-transition: .7s;
    -o-transition: .7s;
}

.icon_before.icon_play:before {
    -webkit-mask-image: url(img/play.svg);
    mask-image: url(play.svg);
}

.play_video_block__button_play:after {
    content: '';
    -webkit-mask-image: url(img/text_button_play.svg);
    mask-image: url(img/text_button_play.svg);
    background-color: #fff;
    width: 145px;
    height: 145px;
    display: block;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-animation-name: rotation;
    animation-name: rotation;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.section--full-width .section_wrapper,
.section--full-width .mcb-column-inner{
    max-width: 100% !important;
    padding-left: 0px!important;
    padding-right: 0px!important;
    margin-left: 0px!important;
    margin-right: 0px!important;
}
