/*
Animate.css - http: //daneden.me/animate
Licensed under the MIT license

Copyright (c) 2013 Daniel Eden

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

[data-appear-animation],
.appear-animation {
	opacity: 0;
}
.animated,
.appear-animation {
	@include animation-fill-mode(both);
	@include animation-duration(1s);
}
.appear-animation-visible {
	opacity: 1;
}

@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

.fadeIn {
	@include animation-name(fadeIn);
}

@keyframes zoomIn {
	0% {
		opacity: 0;
		transform: scale(.3);
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
.zoomIn {
	animation-name: zoomIn;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(359deg);
	}
}

@keyframes navItemArrow {
	0% {
		position: relative;
		right: -1px;
	}

	50% {
		position: relative;
		right: 3px;
	}

	100% {
		position: relative;
		right: -1px;
	}
}
@keyframes arrowLeftRight {
	0% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(3px);
	}

	100% {
		transform: translateX(0);
	}
}

.highlight {
	position: relative;
	animation-name: highlightAnim;
	background-size: 200%;
	background-position: 0;
	transition: background-position .8s;
	background-image: none;
	background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, rgba(0, 136, 204, 0.2) 0);
}
@keyframes highlightAnim {
	from {
		background-position: 0;
	}
	to {
		background-position: -100%;
	}
}

@keyframes highlightProgress {
	from {
		width: 0%;
	}

	to {
		width: 100%;
	}
}

@keyframes highlightShape {
	0% {
		stroke-dashoffset: 1500;
		opacity: 0;
	}
	1% {
		opacity: 1;
	}
	100% {
		stroke-dashoffset: 0;
		opacity: 1;
	}
}

@keyframes gradientTransition {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.blinker-effect { animation: blinker 1s linear infinite; }

@keyframes blinker {
	50% { opacity: 0.4; }
}

.rotate-effect { animation: rotate-animation 10s linear infinite; }

@keyframes rotate-animation {
	0% { transform: rotate(0deg); }
	50% { transform: rotate(180deg); }
	100% { transform: rotate(360deg); }
}

@keyframes revealContent {
    0% {
        visibility: hidden;
    }
    50% {
        visibility: hidden;
    }
    50.1% {
        visibility: visible;
    }
}
@keyframes revealSubContent {
    0% {
		opacity: 0;
    }
    50% {
		opacity: 0;
    }
    50.1% {
		opacity: 1;
    }
}
// Reveal with Color
[class*="revealDir"] {
	position: relative;
	overflow: hidden !important;
	animation-duration: var( --porto-reveal-animation-duration, 1s );
	animation-delay: var( --porto-reveal-animation-delay, 0s );
	animation-fill-mode: both;
    animation-name: revealContent;
	animation-timing-function: linear;
}
[class*="revealDir"] > * {
	animation-duration: inherit;
	animation-delay: inherit;
	animation-fill-mode: both;
	animation-timing-function: linear;
	animation-name: revealSubContent;
}
[class*="revealDir"]:after {
	display: block !important;
	content: '' !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var( --porto-reveal-clr, var( --porto-primary-color ) );
    position: absolute;
    z-index: 1000;
    animation-duration: inherit;
	animation-delay: inherit;
    animation-fill-mode: both;
	visibility: visible;
	animation-timing-function: linear;
}