/*.block-wrapper>.menu {
    display: flex;
    flex-flow: row wrap;
}*/

.button-tabs.button-primary-color {
    padding-right: 2em;
}

.block-button .icon {
    width: auto;
}

/*.button-menu {
    background-image: linear-gradient(transparent calc(100% - 1px),currentColor 0) !important;
}*/

.menu-item:not(.current-menu-item) .button-tabs.button-primary-color {
    border-color: transparent;
    border-bottom-color: currentColor;
    padding-left: 0;
}

.menu-item:not(.current-menu-item) .button-tabs.button-primary-color:hover {
    background-color: transparent;
    color: #000;
    border-color: transparent;
    border-bottom-color: currentColor;
}

.button-tabs.button-primary-color:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 0;
    display: block;
    height: 3px;
    background-color: #D21E46;
    transition: width 0.4s ease-in-out;
    
}

.button-tabs.button-primary-color:hover:after {
    width: calc(100% + 2px);
}

.current-menu-item .button-tabs.button-primary-color {
    background-color: #D21E46;
    border-color: #D21E46;
}

.area-withWpEditor h1,
.area-withWpEditor h2,
.area-withWpEditor h3,
.area-withWpEditor h4,
.u-richtext .rich-text h1,
.u-richtext .rich-text h2,
.u-richtext .rich-text h3,
.u-richtext .rich-text h4{
    text-wrap: balance;
    break-after: avoid-column;
}

.area-withWpEditor a,
.u-richtext a {
    background-size: 100% 100% !important;
}
.area-withWpEditor a:hover,
.u-richtext a:hover {
    background-size: 0 100% !important;
}


.u-richtext .rich-text p {
    text-wrap: pretty;
    break-inside: avoid;
}

.u-richtext .rich-text ul {
    padding-left: 1em;
    break-inside: avoid;
}

.u-richtext .rich-text li {
    text-wrap: pretty;
}

.u-richtext--two .rich-text {
    column-count: 2;
    column-gap: 2rem;
}

.u-richtext--three .rich-text {
    column-count: 3;
    column-gap: 2rem;
}

.u-richtext--three .rich-text h2 {
    column-span: all;
}

.u-richtext--three .rich-text h2:first-child + h3 {
    margin-top:0;
}

.is-mega-menu >.grid > div {
    box-shadow: 0 0 20px 1px rgba(0,0,0,.1);
    margin-left: 2.5rem;
    margin-right: 2.5rem;
}

.has-left-center-position.is-repeat .media-wrapper {
    background-size: 2000px;
}

.mouse_scroll {
	display: block;
	margin: 0 auto;
	width: 24px;
	height: 80px;
}


.m_scroll_arrows
{
  display: block;
  width: 5px;
  height: 5px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
   
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  margin: 0 0 3px 4px;
  
  width: 16px;
  height: 16px;
}


.one
{
  margin-top: 1px;
}

.one, .two, .three
{
    -webkit-animation: mouse-scroll 1s infinite;
    -moz-animation: mouse-scroll 1s infinite;
    animation: mouse-scroll 1s infinite;
  
}

.one
{
  -webkit-animation-delay: .1s;
  -moz-animation-delay: .1s;
  -webkit-animation-direction: alternate;
  
  animation-direction: alternate;
  animation-delay: alternate;
}

.two
{
  -webkit-animation-delay: .2s;
  -moz-animation-delay: .2s;
  -webkit-animation-direction: alternate;
  
  animation-delay: .2s;
  animation-direction: alternate;
  
  margin-top: -6px;
}

.three
{
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  -webkit-animation-direction: alternate;
  
  animation-delay: .3s;
  animation-direction: alternate;
  
  
  margin-top: -6px;
}

.mouse {
  height: 42px;
  width: 24px;
  border-radius: 14px;
  transform: none;
  border: 2px solid white;
  top: 170px;
}

.wheel {
  height: 5px;
  width: 2px;
  display: block;
  margin: 5px auto;
  background: white;
  position: relative;
  
  height: 4px;
  width: 4px;
  border: 2px solid #fff;
  -webkit-border-radius: 8px;
          border-radius: 8px;
}

.wheel {
  -webkit-animation: mouse-wheel 1.2s linear infinite;
  -moz-animation: mouse-wheel 1.2s linear infinite;
  animation: mouse-wheel 1.2s linear infinite;
}

@-webkit-keyframes mouse-wheel{
   0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }
}
@-moz-keyframes mouse-wheel {
  0% { top: 1px; }
  25% { top: 2px; }
  50% { top: 3px;}
  75% { top: 2px;}
  100% { top: 1px;}
}
@-o-keyframes mouse-wheel {
   0% { top: 1px; }
  25% { top: 2px; }
  50% { top: 3px;}
  75% { top: 2px;}
  100% { top: 1px;}
}
@keyframes mouse-wheel {
   0% { top: 1px; }
  25% { top: 2px; }
  50% { top: 3px;}
  75% { top: 2px;}
  100% { top: 1px;}
}

@-webkit-keyframes mouse-scroll {
  0%   { opacity: 0;}
  50%  { opacity: .5;}
  100% { opacity: 1;}
}
@-moz-keyframes mouse-scroll {
  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@-o-keyframes mouse-scroll {
  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@keyframes mouse-scroll {
  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
