* {
    margin: 0;
    padding: 0;
}
a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.current {
    display: block !important;
}

.in, .out {
	-webkit-animation-timing-function: linear ;
	-webkit-animation-duration: 300ms;
}

.fade.in {
	-webkit-animation-name: fadein;
}
.fade.out {
	-webkit-animation-name: fadeout;
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1.0; }
}

@-webkit-keyframes fadeout {
    from { opacity: 1.0; }
    to { opacity: 0; }
}

.slide.out {
	-webkit-animation-name: slideup;
}

.slide.in {
	-webkit-animation-name: slidedown;
}

.slide.search.out {
	-webkit-animation-name: search-slideup;
}

.slide.search.in {
	-webkit-animation-name: search-slidedown;
}

@-webkit-keyframes slideup {
    from { -webkit-transform: translateY(0); }
    to { -webkit-transform: translateY(-100%); }
}

@-webkit-keyframes slidedown {
    from { -webkit-transform: translateY(-100%); }
    to { -webkit-transform: translateY(0); }
}

@-webkit-keyframes search-slideup {
    from { -webkit-transform: translateY(0); }
    to { -webkit-transform: translateY(-68px); }
}

@-webkit-keyframes search-slidedown {
    from { -webkit-transform: translateY(-680px); }
    to { -webkit-transform: translateY(0); }
}

/* Hackish, but reliable. */

@-webkit-keyframes dontmove {
    from { opacity: 1; }
    to { opacity: 1; }
}

.swipe.in {
	-webkit-animation-name: slideinfromright;
}

.swipe.out {
	-webkit-animation-name: slideouttoleft;
}

.swipe.in.reverse {
	-webkit-animation-name: slideinfromleft;
}

.swipe.out.reverse {
	-webkit-animation-name: slideouttoright;
}

@-webkit-keyframes swipeinfromright {
    from { -webkit-transform: translateX(100%); }
    to { -webkit-transform: translateX(0); }
}

@-webkit-keyframes swipeinfromleft {
    from { -webkit-transform: translateX(-100%); }
    to { -webkit-transform: translateX(0); }
}

@-webkit-keyframes swipeouttoleft {
    from { -webkit-transform: translateX(0); }
    to { -webkit-transform: translateX(-100%); }
}

@-webkit-keyframes swipeouttoright {
    from { -webkit-transform: translateX(0); }
    to { -webkit-transform: translateX(100%); }
}
