

@media screen and (max-width: 549px) 
{
  .small-col-first 
  {
    -ms-flex-order: -1;
    order: -1;
  }
}



@media screen and (max-width: 849px) 
{
  .medium-col-first 
  {
    -ms-flex-order: -1;
    order: -1;
  }

  .col 
  {
    padding-bottom: 30px;
  }
}



@media (max-width: 849px) 
{
  .medium-flex-wrap {
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
  }

  .medium-flex-wrap .flex-col {
    padding-top: 5px;
    padding-bottom: 5px;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 100%;
  }
}

@media (max-width: 549px) {
  .small-flex-wrap {
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
  }

  .small-flex-wrap .flex-col {
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 100%;
  }
}



@media screen and (max-width: 549px) {
  .small-row-reverse {
    -ms-flex-direction: col-reverse;
    flex-direction: col-reverse;
  }
}

@media screen and (max-width: 849px) {
  .medium-row-reverse {
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
}



@media (max-width: 849px) {
  .medium-nav-center {
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media (max-width: 549px) {
  .small-nav-center {
    -ms-flex-pack: center;
    justify-content: center;
  }
}



@media (max-width: 549px) {
  .small-nav-collapse>li {
    width: 100%;
    margin: 0 !important;
  }

  .small-nav-collapse>li a {
    width: 100%;
    display: block;
  }
}

@media (max-width: 549px) {
  .small-nav-touch {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-flex-flow: nowrap;
    flex-flow: nowrap;
  }

  .small-nav-touch>li {
    display: inline-block;
  }
}

@media screen and (max-width: 549px) {
  .small-nav-vertical {
    -ms-flex-flow: column;
    flex-flow: column;
    margin-bottom: 20px;
  }

  .small-nav-vertical>li {
    list-style: none;
    margin: 0 !important;
    width: 100%;
    border-bottom: 1px solid #ececec;
  }
}



@media (max-width: 549px) {
  .banner-layers {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}



@media (max-width: 549px) {
  .box-text {
    font-size: 85%;
  }
}

@media screen and (max-width: 549px) {
  .box-vertical .box-image {
    width: 100% !important;
  }
}


@media only screen and (max-device-width: 1024px) {
  .image-tools {
    opacity: 1 !important;
    padding: 5px;
  }
}




@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0,0,0,0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
}



@media screen and (max-width: 549px) {
  .slider-wrapper .flickity-prev-next-button {
    display: none;
  }

  .row-slider .flickity-prev-next-button {
    width: 20px !important;
    opacity: 0.8;
    background-color: transparent !important;
    box-shadow: none !important;
    -ms-transform: translateX(0) !important;
    transform: translateX(0) !important;
  }

  .row-slider .flickity-prev-next-button svg {
    padding: 3px !important;
    border: 0 !important;
  }

  .flickity-page-dots {
    pointer-events: none;
  }
}

@media (max-width: 849px) {
  .touch-scroll-table {
    width: calc(100% + 30px);
    padding: 15px;
    position: relative;
    overflow-y: hidden;
    margin-left: -15px;
    overflow-x: scroll;
    box-shadow: inset -2px 0px 18px -5px rgba(0,0,0,0.5);
  }

  .touch-scroll-table table {
    width: 100%;
  }
}


@media (max-width: 549px) {
  h1 {
    font-size: 1.4em;
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1em;
  }
}


@media (max-width: 549px) {
  .is-xxlarge {
    font-size: 2.5em;
  }

  .is-xlarge {
    font-size: 1.8em;
  }

  .is-larger {
    font-size: 1.2em;
  }

  .is-large {
    font-size: 1em;
  }
}

@media (max-width: 549px) {
  [data-show="hide-for-small"],.hide-for-small {
    display: none !important;
  }

  .small-text-center {
    text-align: center !important;
    width: 100% !important;
    float: none !important;
  }
}



@media (max-width: 849px) {
  [data-show="hide-for-medium"],.hide-for-medium {
    display: none !important;
  }

  .medium-text-center .pull-left,.medium-text-center .pull-right {
    float: none;
  }

  .medium-text-center .ml {
    margin-left: auto;
  }

  .medium-text-center .mr {
    margin-right: auto;
  }

  .medium-text-center {
    text-align: center !important;
    width: 100% !important;
    float: none !important;
  }
}



@media (max-width: 549px) {
  .small-block {
    display: block;
  }
}

@media (max-width: 549px) {
  .sm-touch-scroll {
    overflow-y: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


@media screen and (max-width: 549px) {
  .x5 {
    left: 5%;
  }

  .x15 {
    left: 15%;
  }

  .x25 {
    left: 25%;
  }

  .x35 {
    left: 35%;
  }

  .x45 {
    left: 45%;
  }

  .x55 {
    right: 45%;
  }

  .x65 {
    right: 35%;
  }

  .x75 {
    right: 25%;
  }

  .x85 {
    right: 15%;
  }

  .x95 {
    right: 5%;
  }

  .x0 {
    left: 0%;
  }

  .x10 {
    left: 10%;
  }

  .x20 {
    left: 20%;
  }

  .x30 {
    left: 30%;
  }

  .x40 {
    left: 40%;
  }

  .x60 {
    right: 40%;
  }

  .x70 {
    right: 30%;
  }

  .x80 {
    right: 20%;
  }

  .x90 {
    right: 10%;
  }

  .x100 {
    right: 0%;
  }

  .y0 {
    top: 0%;
  }

  .y10 {
    top: 10%;
  }

  .y20 {
    top: 20%;
  }

  .y30 {
    top: 30%;
  }

  .y40 {
    top: 40%;
  }

  .y60 {
    bottom: 40%;
  }

  .y70 {
    bottom: 30%;
  }

  .y80 {
    bottom: 20%;
  }

  .y90 {
    bottom: 10%;
  }

  .y100 {
    bottom: 0%;
  }

  .y5 {
    top: 5%;
  }

  .y15 {
    top: 15%;
  }

  .y25 {
    top: 25%;
  }

  .y35 {
    top: 35%;
  }

  .y45 {
    top: 45%;
  }

  .y55 {
    bottom: 45%;
  }

  .y65 {
    bottom: 35%;
  }

  .y75 {
    bottom: 25%;
  }

  .y85 {
    bottom: 15%;
  }

  .y95 {
    bottom: 5%;
  }

  .x50 {
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .y50 {
    top: 50.3%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .y50.x50 {
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-width: 550px) and (max-width: 849px) {
  .md-x5 {
    left: 5%;
  }

  .md-x15 {
    left: 15%;
  }

  .md-x25 {
    left: 25%;
  }

  .md-x35 {
    left: 35%;
  }

  .md-x45 {
    left: 45%;
  }

  .md-x55 {
    right: 45%;
  }

  .md-x65 {
    right: 35%;
  }

  .md-x75 {
    right: 25%;
  }

  .md-x85 {
    right: 15%;
  }

  .md-x95 {
    right: 5%;
  }

  .md-y5 {
    top: 5%;
  }

  .md-y15 {
    top: 15%;
  }

  .md-y25 {
    top: 25%;
  }

  .md-y35 {
    top: 35%;
  }

  .md-y45 {
    top: 45%;
  }

  .md-y55 {
    bottom: 45%;
  }

  .md-y65 {
    bottom: 35%;
  }

  .md-y75 {
    bottom: 25%;
  }

  .md-y85 {
    bottom: 15%;
  }

  .md-y95 {
    bottom: 5%;
  }

  .md-x0 {
    left: 0%;
  }

  .md-x10 {
    left: 10%;
  }

  .md-x20 {
    left: 20%;
  }

  .md-x30 {
    left: 30%;
  }

  .md-x40 {
    left: 40%;
  }

  .md-x60 {
    right: 40%;
  }

  .md-x70 {
    right: 30%;
  }

  .md-x80 {
    right: 20%;
  }

  .md-x90 {
    right: 10%;
  }

  .md-x100 {
    right: 0%;
  }

  .md-y0 {
    top: 0%;
  }

  .md-y10 {
    top: 10%;
  }

  .md-y20 {
    top: 20%;
  }

  .md-y30 {
    top: 30%;
  }

  .md-y40 {
    top: 40%;
  }

  .md-y60 {
    bottom: 40%;
  }

  .md-y70 {
    bottom: 30%;
  }

  .md-y80 {
    bottom: 20%;
  }

  .md-y90 {
    bottom: 10%;
  }

  .md-y100 {
    bottom: 0%;
  }

  .md-x50 {
    left: 50%;
    -ms-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
  }

  .md-y50 {
    top: 50%;
    -ms-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
  }

  .md-x50.md-y50 {
    -ms-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
  }
}


@media (max-width: 849px) {
  .header-main li.html.custom {
    display: none;
  }
}

@media (max-width: 549px) {
  .nav-mobile>li>a:not(.button) {
    line-height: 5em;
  }
}



@media screen and (max-width: 849px) {
  .header-inner .nav {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  .medium-logo-left .flex-left {
    -ms-flex-order: -1;
    order: -1;
    -ms-flex: 0;
    flex: 0;
  }

  .medium-logo-left .logo {
    -ms-flex: 1;
    flex: 1;
  }

  .medium-logo-center .flex-left {
    -ms-flex-order: 1;
    order: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
  }

  .medium-logo-center .logo {
    -ms-flex-order: 2;
    order: 2;
    text-align: center;
    margin: 0 15px;
  }

  .medium-logo-center .logo img {
    margin: 0 auto;
  }

  .medium-logo-center .flex-right {
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
    -ms-flex-order: 3;
    order: 3;
  }
}
