/*-------- Modal Popup  --------*/
.cookie_popup {
  display: none !important;
}

.popup_wrapper {
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 100%;
  z-index: 9999999;
  opacity: 0;
}

.popup_wrapper .popup_content {
  /* background-color: #fff; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 500px;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .popup_wrapper .popup_content {
      width: 300px;
  }
}

.popup_wrapper .popup_content .content {
  /* height: 100%; */
  position: relative;
}

.popup_wrapper .popup_content.newsletter_c {
  width: 970px;
  max-width:970px;
}

@media (max-width: 767px) {
  .popup_wrapper .popup_content.newsletter_c {
      width: 300px;
  }
}

.popup_wrapper .popup_content.newsletter_c figure {
  position: absolute;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
}

.popup_wrapper .popup_content.newsletter_c figure img {
  height: 100%;
  width: auto;
}

.popup_wrapper .popup_content.newsletter_c .content {
  /* height: 100%; */
  padding: 120px 60px;
  text-align: center;
  display: flex;
  align-items: center;
  background-color: #fff;
}

@media (max-width: 767px) {
  .popup_wrapper .popup_content.newsletter_c .content {
      padding: 30px 30px 15px 30px;
      height: auto;
  }
}

.popup_wrapper .popup_content.newsletter_c .content .wrapper {
  width: 100%;
}

.popup_wrapper .popup_content.newsletter_c .content .wrapper h3 {
  font-size: 25px;
  font-size: 1.55rem;
  margin-top: 25px;
}

.popup_wrapper .popup_content.newsletter_c .content .wrapper h2 {
  font-size: 40px;
  line-height:44px;
  margin-top: 25px;
}

.popup_wrapper .popup_content.newsletter_c .content .wrapper p{
  /* margin-bottom:1.5rem; */
  font-size:17px;
  margin: 15px 0 20px;
}

.popup_wrapper .popup_content .main_btn {
  position:unset;
  margin-top:20px;
}

.popup_wrapper .popup_content.newsletter_c .content .wrapper img{
  max-width:135px;
  margin:0 auto;
}

.popup_wrapper .popup_close {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 9999;
  font-size: 28px;
  font-size: 1.75rem;
  color: #555;
  cursor: pointer;
}

.popup_wrapper .popup_close:hover {
  color: #222;
}

.popup_wrapper .popup_close * {
  transition: all .15s;
}

.popup_wrapper .popup_close:hover svg {
  fill: var(--primary-color);
}

/*-------- Buttons --------*/
a.btn_1,
.btn_1 {
border: none;
color: #fff;
background: var(--primary-color);
outline: none;
cursor: pointer;
display: inline-flex;
text-decoration: none;
padding: 14px 25px 14px 25px;
font-size:1rem;
font-weight: 600;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
border-radius: 25px;
align-items: center;
justify-content: center;
line-height: 1;
}
a.btn_1:hover,
.btn_1:hover {
background-color: #4b514d;
}
a.btn_1.inverse,
.btn_1.inverse {
background-color: #fff;
color: #333;
}
a.btn_1.full-width,
.btn_1.full-width {
width: 100%;
text-align: center;
}
a.btn_1.outline,
.btn_1.outline {
background-color: transparent;
border: 2px solid var(--primary-color);
color: var(--primary-color);
}
a.btn_1.outline.white,
.btn_1.outline.white {
border-color: #fff;
color: #fff;
}
a.btn_1.outline:hover,
.btn_1.outline:hover {
background-color: #4b514d;
border: 2px solid transparent;
color: #fff;
}

.btn_4 {
position: relative;
display: inline-block;
cursor: pointer;
}
.btn_4.learn-more {
width: 160px;
height: auto;
}
.btn_4.learn-more .circle {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: relative;
display: block;
margin: 0;
width: 2.6rem;
height: 2.6rem;
background: var(--primary-color);
border-radius: 1.625rem;
}
.btn_4.learn-more .circle .icon {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top: 0;
bottom: 0;
margin: auto;
background: #fff;
}
.btn_4.learn-more .circle .icon.arrow {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
left: 0.425rem;
width: 1.125rem;
height: 0.125rem;
background: none;
}
.btn_4.learn-more .circle .icon.arrow::before {
position: absolute;
content: '';
top: -0.25rem;
right: 0.0625rem;
width: 0.625rem;
height: 0.625rem;
border-top: 0.125rem solid #fff;
border-right: 0.125rem solid #fff;
transform: rotate(45deg);
}
.btn_4.learn-more .button-text {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 0.75rem 0;
margin: 0 0 0 1.5rem;
color: #333;
font-weight: 600;
line-height: 1.1;
text-align: center;
}
.btn_4:hover .circle {
width: 100%;
}
.btn_4:hover .circle .icon.arrow {
background: #fff;
transform: translate(1rem, 0);
}
.btn_4:hover .button-text {
color: #fff;
}

a.animated_link {
position: relative;
text-decoration: none;
}
a.animated_link::before {
content: "";
position: absolute;
display: block;
width: 100%;
height: 2px;
bottom: -5px;
left: 0;
background-color: #24262d;
transform: scaleX(0);
transform-origin: top left;
transition: transform 0.3s ease;
}
a.animated_link:hover::before {
transform: scaleX(1);
}
a.animated_link.active::before {
transform: scaleX(1);
}

.mouse_wp {
position: absolute;
right: 30px;
bottom: 30px;
text-align: right;
width: 40px;
z-index: 999;
}

.mouse {
background: #4e5559 linear-gradient(transparent 0%, transparent 50%, #ffffff 50%, #ffffff 100%);
width: 36px;
height: 58px;
border-radius: 100px;
background-size: 100% 200%;
-webkit-animation: colorSlide 15s linear infinite, nudgeMouse 15s ease-out infinite;
animation: colorSlide 15s linear infinite, nudgeMouse 15s ease-out infinite;
}

.mouse:before,
.mouse:after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
}

.mouse:before {
width: 32px;
height: 54px;
background-color: #222a30;
border-radius: 100px;
}

.mouse:after {
background-color: #ffffff;
width: 5px;
height: 5px;
border-radius: 100%;
-webkit-animation: trackBallSlide 15s linear infinite;
animation: trackBallSlide 15s linear infinite;
}

@-webkit-keyframes colorSlide {
0% {
  background-position: 0% 100%;
}
20% {
  background-position: 0% 0%;
}
21% {
  background-color: #4e5559;
}
29.99% {
  background-color: #ffffff;
  background-position: 0% 0%;
}
30% {
  background-color: #4e5559;
  background-position: 0% 100%;
}
50% {
  background-position: 0% 0%;
}
51% {
  background-color: #4e5559;
}
59% {
  background-color: #ffffff;
  background-position: 0% 0%;
}
60% {
  background-color: #4e5559;
  background-position: 0% 100%;
}
80% {
  background-position: 0% 0%;
}
81% {
  background-color: #4e5559;
}
90%,
  100% {
  background-color: #ffffff;
}
}
@keyframes colorSlide {
0% {
  background-position: 0% 100%;
}
20% {
  background-position: 0% 0%;
}
21% {
  background-color: #4e5559;
}
29.99% {
  background-color: #ffffff;
  background-position: 0% 0%;
}
30% {
  background-color: #4e5559;
  background-position: 0% 100%;
}
50% {
  background-position: 0% 0%;
}
51% {
  background-color: #4e5559;
}
59% {
  background-color: #ffffff;
  background-position: 0% 0%;
}
60% {
  background-color: #4e5559;
  background-position: 0% 100%;
}
80% {
  background-position: 0% 0%;
}
81% {
  background-color: #4e5559;
}
90%,
  100% {
  background-color: #ffffff;
}
}
@-webkit-keyframes trackBallSlide {
0% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
6% {
  opacity: 1;
  transform: scale(0.9) translateY(5px);
}
14% {
  opacity: 0;
  transform: scale(0.4) translateY(40px);
}
15%,
  19% {
  opacity: 0;
  transform: scale(0.4) translateY(-20px);
}
28%,
  29.99% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
30% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
36% {
  opacity: 1;
  transform: scale(0.9) translateY(5px);
}
44% {
  opacity: 0;
  transform: scale(0.4) translateY(40px);
}
45%,
  49% {
  opacity: 0;
  transform: scale(0.4) translateY(-20px);
}
58%,
  59.99% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
60% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
66% {
  opacity: 1;
  transform: scale(0.9) translateY(5px);
}
74% {
  opacity: 0;
  transform: scale(0.4) translateY(40px);
}
75%,
  79% {
  opacity: 0;
  transform: scale(0.4) translateY(-20px);
}
88%,
  100% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
}
@keyframes trackBallSlide {
0% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
6% {
  opacity: 1;
  transform: scale(0.9) translateY(5px);
}
14% {
  opacity: 0;
  transform: scale(0.4) translateY(40px);
}
15%,
  19% {
  opacity: 0;
  transform: scale(0.4) translateY(-20px);
}
28%,
  29.99% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
30% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
36% {
  opacity: 1;
  transform: scale(0.9) translateY(5px);
}
44% {
  opacity: 0;
  transform: scale(0.4) translateY(40px);
}
45%,
  49% {
  opacity: 0;
  transform: scale(0.4) translateY(-20px);
}
58%,
  59.99% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
60% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
66% {
  opacity: 1;
  transform: scale(0.9) translateY(5px);
}
74% {
  opacity: 0;
  transform: scale(0.4) translateY(40px);
}
75%,
  79% {
  opacity: 0;
  transform: scale(0.4) translateY(-20px);
}
88%,
  100% {
  opacity: 1;
  transform: scale(1) translateY(-20px);
}
}
@-webkit-keyframes nudgeMouse {
0% {
  transform: translateY(0);
  }
20% {
  transform: translateY(8px);
}
30% {
  transform: translateY(0);
}
50% {
  transform: translateY(8px);
}
60% {
  transform: translateY(0);
}
80% {
  transform: translateY(8px);
}
90% {
  transform: translateY(0);
}
}
@keyframes nudgeMouse {
0% {
  transform: translateY(0);
}
20% {
  transform: translateY(8px);
}
30% {
  transform: translateY(0);
}
50% {
  transform: translateY(8px);
}
60% {
  transform: translateY(0);
}
80% {
  transform: translateY(8px);
}
90% {
  transform: translateY(0);
}
}
@-webkit-keyframes nudgeText {
0% {
  transform: translateY(0);
}
20% {
  transform: translateY(2px);
}
30% {
  transform: translateY(0);
}
50% {
  transform: translateY(2px);
}
60% {
  transform: translateY(0);
}
80% {
  transform: translateY(2px);
}
90% {
  transform: translateY(0);
}
}
@keyframes nudgeText {
0% {
  transform: translateY(0);
}
20% {
  transform: translateY(2px);
}
30% {
  transform: translateY(0);
}
50% {
  transform: translateY(2px);
}
60% {
  transform: translateY(0);
}
80% {
  transform: translateY(2px);
}
90% {
  transform: translateY(0);
}
}
@-webkit-keyframes colorText {
21% {
  color: #4e5559;
}
30% {
  color: #ffffff;
}
51% {
  color: #4e5559;
}
60% {
  color: #ffffff;
}
81% {
  color: #4e5559;
}
90% {
  color: #ffffff;
}
}
@keyframes colorText {
21% {
  color: #4e5559;
}
30% {
  color: #ffffff;
}
51% {
  color: #4e5559;
}
60% {
  color: #ffffff;
}
81% {
  color: #4e5559;
}
90% {
  color: #ffffff;
}
}

/*-------- Timer -------- */

.popup_wrapper .main_timer {
  margin-top:15px;
  margin-bottom:20px;
}

.popup_wrapper .timer_block {
  height: 55px;
  width: 55px;
  font-size: 14px;
  line-height: 1;
  margin-right: 10px
}

.popup_wrapper .timer_block:last-of-type {
  margin-right: 0
}

.popup_wrapper .timer_block .full {
  display: none
}

.popup_wrapper .timer_block-number {
  color: var(--primary-color)
}

@media screen and (min-width: 575.98px) {
  
  .popup_wrapper .timer_block {
      height: 80px;
      width: 80px;
      margin-right: 15px
  }

  .popup_wrapper .timer_block .short {
      display: none
  }

  .popup_wrapper .timer_block .full {
      display: block
  }

  .popup_wrapper .timer_block-number {
      margin-bottom: 2px
  }
}

/* ------------- Image Modal -------------*/
.popup_content.popup_image {
  /* width: 100% !important; */
  max-width:550px !important;
}

.popup_content.popup_image figure {
  position:relative !important;
}

.popup_content.popup_image figure img {
  width: 100% !important;
}

@media ((max-width:767px) or (max-width:990px)) and (orientation: portrait){
  
  .popup_wrapper .popup_content {
      width:calc(100vw - 40px) !important
  }
}

@media (max-width:990px) and (orientation: landscape){
  
  .popup_content.popup_image {
      max-width:320px !important;
  }   
}

@media (max-width:990px) and (orientation: landscape){
  
  .popup_wrapper .popup_content.popup_video {
      width:640px !important;
  }
  .popup_content.popup_image {object-fit:contain;}
}

.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio) ;
  content: "";
}

.ratio-16x9 {
  --bs-aspect-ratio: calc(9 / 16* 100%);
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video_wrapper {
  max-width: 960px;
}

.video_frame {
  height: 100%;
}

.d-none {
  display:none;
}

.d-flex{
  display:flex;
}

.align-items-center{
  align-items: center;
}

.justify-content-center{
  justify-content: center;
}

.theme-element {
  background: #ffebd7;
  color: var(--primary-color);
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 700;
}

.theme-element--accent {
  color: #fff;
  background: var(--primary-color);
}

.popup_wrapper .timer_block-number{
  font-weight: 800;
}

.popup_wrapper .popup_content.newsletter_c .content .wrapper h2{
  margin-top:8px !important;
}

.popup_wrapper .timer_block-number{
  line-height: 1;
  margin-bottom: 2px;
}

@media (min-width: 1200px) {
  .popup_wrapper .popup_content.newsletter_c .content{
      padding:80px 60px !important;
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x))
}

.row>* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y)
}

.g-0,.gx-0 {
  --bs-gutter-x: 0
}

.g-0,.gy-0 {
  --bs-gutter-y: 0
}

.flex-column{
  flex-direction: column;
}

@media (min-width: 768px) {

  .col-md-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 50%
  }
}