/**
 * ------------------------------------------------------------------------
 * Tp Runway Template
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
 */

/* Main Error Style
---------------------- */
.site-main .error-404 {
  font-size: 13px;
  text-align: center;
  padding: 40px 0;
  color: #696969;
  background: url("../img/kids-pattern.png") no-repeat scroll center center;
  background-size: cover;
}

.error{
	margin-top: 6%;
}

/* Error Code
------------------------ */
.error-code span {
	font-size: 200px;
	color: #77D0E4;
	padding: 30px;
	position: relative;
	display: inline-block;
	font-weight: bold;
}

.first-err {
	left: 0;
	animation: fisrt 0.9s linear;
}

@keyframes fisrt {
	0% {top: 226px; opacity: 0;}
	100% {top: 60px; opacity: 1;}
}

.first-err + span {
	color: #fd7e72;
	animation: center 1.2s;
}

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

.last-err {
	right: 0;
	animation: last 0.9s linear;
}

@keyframes last {
	0% {bottom: 226px;}
	100% {bottom: 60px;}
}

/* Error Message
--------------------- */
.error-message {
	margin-top: 60px;
}

.error-message h2 {
	margin-bottom: 10px;
}

#errorboxbody p {
	margin-bottom: 35px;
	margin-top: 0;
}

#errorboxbody .button-home {
	border: 2px solid #000;
	background-color: transparent;
    color: #000;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    text-decoration: none;
    text-transform: uppercase;
    margin: 20px;
}

#errorboxbody .button-home:hover {
	background: #000;
	color:#fff;
	transition: 500ms;

}

/* Screen control mobile/tablet
---------------------------- */
@media screen and (max-width: 767px) {
	.error-code span {
		padding: 0;
		position: static;
		background: transparent;
		font-size: 150px;
    border-radius: 0;
    box-shadow: none;
	}

	.error-code span.first-err {
		animation: fisrt 0s;
	}

	.error-code span.first-err + span {
		animation: center 0s;
	}

	.error-message {
		margin-top: 10px;
	}
}
