/* uuu Utilities uuu */

/* yyy Transitions yyy */

.active-submenu,
.nav-social,
.nav-ancillary {
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

a,
a:before,
a:after,
:before,
:after,
a img,
a p,
a video,
button,
.button,
input,
textarea,
label,
.searcher,
.lightbox,
.feed,
.nav-main,
.sharer,
.searcher,
.site-branding,
.site-branding a,
.site-branding a img,
li:after,
ul.block.featured-content li,
.anim,
a h2,
a h3,
a h4,
a h5,
a h6,
.tabs h3,
input,
select,
tr,
tr td,
.circle,
.entry-title:not(.rellax),
ul.controller a:before,
.tabs > .tab-button,
.tabs > .tab-button:after,
.subnav.full ul li,
.facetwp-counter,
.facetwp-facet > div,
.type-title,
a strong,
li.card .inside,
.meta-hide,
.featured-content ul li,
.lSGallery li,
ul#main-archive li,
a.control span,
span.ui.seduce,
ul.fancy li,
span.wpcf7-form-control-wrap.your-message,
.bread-btn u {
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* Breaking a fair number of Fixed + Firefox svg transitions */
    /*
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    */
}

/* Slower */
.site-header .nav-ui,
.search-form,
.notification,
.nav-title {
    -moz-transition: all 0.8s ease-in-out;
    -webkit-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    -ms-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Breaking a fair number of Fixed + Firefox svg transitions */
    /*
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    */
}

/* Without preserve-3d for svg icon paths (Firefox bug) + fixed elements */
svg,
.icon-path,
g,
.site-header,
.main-navigation,
.main-navigation li,
.main-navigation li a,
.drawer,
ul.menu li > ul,
ul#main-archive {
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Slower fixed */
.subnav.full,
.type-title {
    -moz-transition: all 0.6s ease;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    transition: all 0.6s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.stagger.opacity.margin {
    -moz-transition: margin 0.2s ease, opacity 0.4s;
    -webkit-transition: margin 0.2s ease, opacity 0.4s;
    -o-transition: margin 0.2s ease, opacity 0.4s;
    -ms-transition: margin 0.2s ease, opacity 0.4s;
    transition: margin 0.2s ease, opacity 0.2s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Breaking a fair number of Fixed + Firefox svg transitions */
    /*
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    */
}

/* Center transforms */

.center-text {
    text-align: center;
}

.center-x {
    position: relative;
    float: left;
    left: 50%;
    right: auto;
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.center-y {
    position: absolute;
    top: 50%;
    bottom: auto;
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.center-xy {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Zoom scaler gpu accelerated */

.zoom {
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-transform: translateZ(0) scale3d(1.00, 1.00, 1);
    -ms-transform: translateZ(0) scale3d(1.00, 1.00, 1);
    -o-transform: translateZ(0) scale3d(1.00, 1.00, 1);
    -webkit-transform: translateZ(0) scale3d(1.00, 1.00, 1);
    transform: translateZ(0) scale3d(1.00, 1.00, 1);
}

.zoom:hover {
    -moz-transform: translateZ(0) scale3d(1.02, 1.02, 1);
    -ms-transform: translateZ(0) scale3d(1.02, 1.02, 1);
    -o-transform: translateZ(0) scale3d(1.02, 1.02, 1);
    -webkit-transform: translateZ(0) scale3d(1.02, 1.02, 1);
    transform: translateZ(0) scale3d(1.02, 1.02, 1);
}

.align_center-xy.zoom {
    position: absolute;
    right: auto;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%) scale3d(1.0, 1.0, 1.0);
    -o-transform: translate(-50%, -50%) scale3d(1.0, 1.0, 1.0);
    -ms-transform: translate(-50%, -50%) scale3d(1.0, 1.0, 1.0);
    -webkit-transform: translate(-50%, -50%) scale3d(1.0, 1.0, 1.0);
    transform: translate(-50%, -50%) scale3d(1.0, 1.0, 1.0);
}

.align_center-xy.zoom:hover {
    position: absolute;
    right: auto;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%) scale3d(1.01, 1.01, 1.0);
    -o-transform: translate(-50%, -50%) scale3d(1.01, 1.01, 1.0);
    -ms-transform: translate(-50%, -50%) scale3d(1.01, 1.01, 1.0);
    -webkit-transform: translate(-50%, -50%) scale3d(1.01, 1.01, 1.0);
    transform: translate(-50%, -50%) scale3d(1.01, 1.01, 1.0);
}

/* Drop shadow */

.shadow {
    -webkit-box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.zoom.shadow {
    -webkit-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.05);
}

.zoom.shadow:hover {
    -webkit-box-shadow: 0 25px 30px -10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 25px 30px -10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 30px -10px rgba(0, 0, 0, 0.1);
}


.shadow.eighty {
    -webkit-box-shadow: 0 0 80px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 80px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.1);
}


/* Background shadow */
.bg-shadow {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.slide.bg-shadow {
    overflow: hidden !important;
}

.bg-shadow:after {
    position: absolute;
    z-index: -2;
    content: "";
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./assets/img/shadows/shadow-bg-100.svg) no-repeat !important;
    background-size: 100% !important;
    opacity: 0.4;
}

.bg-shadow.light:after {
    opacity: 0.3;
}

.bg-shadow.lighter:after {
    top: 2%;
    opacity: 0.1;
}

.bg-shadow:hover:after {
    top: 6%;
    left: -5%;
    width: 110%;
    height: 110%;
    opacity: 0.3;
}

.bg-shadow.light:hover:after {
    opacity: 0.2;
}

.bg-shadow.lighter:hover:after {
    top: 2%;
    opacity: 0.05;
}

.slide.bg-shadow:hover:after {
    top: 6%;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Shapes */

.ratio {
    position: relative;
    width: inherit;
}

.ratio:after {
    content: "";
    display: block;
    position: relative;
    z-index: -1;
}

.ratio.square:after {
    padding-bottom: 100%;
}

.ratio.landscape:after {
    padding-bottom: 66%;
}

.ratio.portrait:after {
    padding-bottom: 132%;
}

.circle {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: none;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    border-left: 2px solid rgba(0, 0, 0, 0.2);
    border-right: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.circle.three-quarters {
    border-right: 2px solid rgba(0, 0, 0, 0);
    transform: rotate(45deg);
}

.circle.three-quarters.bg {
    position: absolute;
    top: 0;
    left: 0;
}

.circle.three-quarters:hover {
    transform: rotate(135deg);
    border-top: 2px solid rgba(216, 0, 255, 1);
    border-bottom: 2px solid rgba(216, 0, 255, 1);
    border-left: 2px solid rgba(216, 0, 255, 1);
    border-right: 2px solid rgba(216, 0, 255, 0);
}

/* Inset */
.inset {
    /*padding: 5%;*/
}

.inset.square {
    margin: 0;
    padding: 0;
}

.inset.square h2,
.inset.square p {
    padding: 0 60px;
}

/* Link utilities */

a.link-full {
    position: absolute;
    z-index: 1;
    float: left;
    width: 100%;
    height: 100%;
}


/* Title images "flare" */
.flare {
    position: absolute;
    float: left;
    width: 100px;
    height: auto;
}

/* Sizers */

.block.stretch {
    position: relative;
    float: left;
    width: 110%;
    left: -5%;
}

.w300 {
    width: 300px;
    height: auto;
}

.w280 {
    width: 280px;
    height: auto;
}

.w260 {
    width: 260px;
    height: auto;
}

.w240 {
    width: 240px;
    height: auto;
}

.w220 {
    width: 220px;
    height: auto;
}

.w200 {
    width: 200px;
    height: auto;
}

.w180 {
    width: 180px;
    height: auto;
}

.w160 {
    width: 160px;
    height: auto;
}

.w140 {
    width: 140px;
    height: auto;
}

.w120 {
    width: 120px;
    height: auto;
}

.w100 {
    width: 100px;
    height: auto;
}

.w80 {
    width: 80px;
    height: auto;
}

.w70 {
    width: 70px;
    height: auto;
}

.w60 {
    width: 60px;
    height: auto;
}

.w50 {
    width: 50px;
    height: auto;
}

.w40 {
    width: 40px;
    height: auto;
}

.w30 {
    width: 30px;
    height: auto;
}

.w20 {
    width: 20px;
    height: auto;
}

.w10 {
    width: 10px;
    height: auto;
}

.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px;
}

.padding-30 {
    padding: 30px;
}

.padding-40 {
    padding: 40px;
}

.padding-50 {
    padding: 50px;
}

.padding-60 {
    padding: 60px;
}

.padding-70 {
    padding: 70px;
}

.padding-80 {
    padding: 80px;
}

.padding-100 {
    padding: 100px;
}

.padding-120 {
    padding: 120px;
}

.padding-0-40-40 {
    padding: 0 40px 40px;
}

/* Rotate 360 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate {
    -webkit-animation: rotate 1s ease-in-out infinite;
    -moz-animation: rotate 1s ease-in-out infinite;
    -ms-animation: rotate 1s ease-in-out infinite;
    -o-animation: rotate 1s ease-in-out infinite;
    animation: rotate 1s ease-in-out infinite;
}

/* Hue rotator */

@-webkit-keyframes ooo {
    0% {
        -webkit-filter: hue-rotate(0deg);
        filter: hue-rotate(0deg);
    }

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

.ooo {
    -webkit-animation: ooo 4s linear infinite;
    -moz-animation: ooo 4s linear infinite;
    -ms-animation: ooo 4s linear infinite;
    -o-animation: ooo 4s linear infinite;
    animation: ooo 4s linear infinite;
}

@-webkit-keyframes throb {
    0% {
        opacity: 1;
    }

    60% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes throb-stagger {
    0% {
        opacity: 0.2;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.throb {
    -webkit-animation: throb 8s linear infinite;
    -moz-animation: throb 8s linear infinite;
    -ms-animation: throb 8s linear infinite;
    -o-animation: throb 8s linear infinite;
    animation: throb 8s linear infinite;
}

.throb-stagger {
    -webkit-animation: throb-stagger 8s linear infinite;
    -moz-animation: throb-stagger 8s linear infinite;
    -ms-animation: throb-stagger 8s linear infinite;
    -o-animation: throb-stagger 8s linear infinite;
    animation: throb-stagger 8s linear infinite;
}


/* Wobble/shake animations */

.wobble {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

.wobble,
a.wobble:hover {
    animation: wobble 0.5s;
    animation-iteration-count: infinite;
}

.wobble.slow,
a.wobble.slow:hover {
    animation: wobble 3s;
    animation-iteration-count: infinite;
}

@keyframes wobble {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-4deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(0px, 1px) rotate(1deg);
    }
}

/* Alt wobble */
.wobble-alt {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

.wobble-alt,
a.wobble-alt:hover {
    animation: wobble-alt 0.5s;
    animation-iteration-count: infinite;
}

.wobble-alt.slow,
a.wobble-alt.slow:hover {
    animation: wobble-alt 3s;
    animation-iteration-count: infinite;
}

@keyframes wobble-alt {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    30% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    40% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-4deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    100% {
        transform: translate(0px, 1px) rotate(1deg);
    }
}


/* Seduce animations */

.seduce {
    transform: translate(0px, 0px) rotate(180deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

.seduce,
a.seduce:hover {
    animation: seduce 4s;
    animation-iteration-count: infinite;
}

.seduce.slow,
a.seduce.slow:hover {
    animation: seduce 10s;
    animation-iteration-count: infinite;
}


@keyframes seduce {
    0% {
        transform: translate(0px, 0px) rotate(180deg);
    }

    /*
    10% {
        transform: translate(0px, 0px) rotate(180deg);
    }

    20% {
        transform: translate(0px, -6px) rotate(180deg);
    }

    30% {
        transform: translate(0px, 0px) rotate(180deg);
    }*/

    40% {
        transform: translate(0px, -6px) rotate(180deg);
    }


    60% {
        transform: translate(0px, 0px) rotate(180deg);
    }

    80% {
        transform: translate(0px, -6px) rotate(180deg);
    }

    /*
    70% {
        transform: translate(0px, 4px) rotate(180deg);
    }

    80% {
        transform: translate(0px, -6px) rotate(180deg);
    }
/*
    90% {
        transform: translate(0px, 0px) rotate(180deg);
    }
    */

    100% {
        transform: translate(0px, 0px) rotate(180deg);
    }
}


/* Material ripple effect */

.ripple {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    /* to contain zoomed ripple */
    transform: translateZ(0);
    border-radius: inherit;
    /* inherit from parent (rounded buttons etc) */
    pointer-events: none;
    /* allow user interaction */
    animation: ripple-shadow 0.4s forwards;
    -webkit-animation: ripple-shadow 0.4s forwards;
}

.rippleWave {
    position: absolute;
    backface-visibility: hidden;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    animation: ripple 2s forwards;
    -webkit-animation: ripple 2s forwards;
}

@keyframes ripple-shadow {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
    }

    20% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
    }
}

@-webkit-keyframes ripple-shadow {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
    }

    20% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
    }
}

@keyframes ripple {
    to {
        transform: scale(24);
        opacity: 0;
    }
}

@-webkit-keyframes ripple {
    to {
        -webkit-transform: scale(24);
        opacity: 0;
    }
}


/* Alignments */

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clearings */

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/* Selection */

::selection {
    color: #fff;
    background: #00ffa7;
}

::-moz-selection {
    color: #fff;
    background: #00ffa7;
}


/* Accessibility */
/* Text meant only for screen readers */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    word-wrap: normal !important;
    border: 0;
    /* Many screen reader and browser combinations announce broken words as they would appear visually */
}

.screen-reader-text:focus {
    display: block;
    z-index: 100000;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: normal;
    text-decoration: none;
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
}


/* Do not show the outline on the skip link target */

#content[tabindex="-1"]:focus {
    outline: 0;
}

/* Wordpress utilities */

a.post-edit-link {
    position: fixed;
    z-index: 9;
    bottom: 20px;
    left: 5px;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0.8;
    transform: rotate(90deg);
}

#wpadminbar {
    display: none;
}

/* Lazy load fade */
.lazy img,
img.lazy {
    display: block;
    opacity: 0;
}

.lazy:not(.no-transition) img:not(.initial),
img.lazy:not(.initial):not(.no-transition) {
    transition: all 0.4s;
}

.lazy img.initial,
.lazy img.loaded,
.lazy img.error,
img.lazy.initial,
img.lazy.loaded,
img.lazy.error {
    opacity: 1;
}

.lazy img:not([src]),
img.lazy:not([src]) {
    visibility: hidden;
}

/* Scroll tools */
.scroll-table {
    float: left;
    width: 100%;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

body ::-webkit-scrollbar {
    width: 0px;
    /* Remove scrollbar space */
    background: transparent;
    /* Optional: just make scrollbar invisible */
    height: 0;
}

html {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -ms-overflow-style: none;
}
