/*--------------------------------------------------------------
    404 Error / Not-found Page
--------------------------------------------------------------*/

	.error404, .error404 > .wrapper { width:100%; height:100%;overflow-x: visible; }
	.error404 > .wrapper { display: flex; padding: 35px 0 50px; }

	.center-content-wrapper { display:table; width:100%; height:100%; }
	.center-content-wrapper .center-content { display:table-cell; width:100%; height:100%; vertical-align:middle; }

	.error404 h1, .error404 h2, .error404 h3, .error404 h4, .error404 h5, .error404 h6 { line-height: 1em; }
	.error404 h2 { font-size: 170px; font-weight: bold; }
	.error404 h3 { font-size:70px; font-weight:bold; }
	.error404 h4 { font-size:60px; font-weight:300; }
	.error404 .wdt-button, .error404 .wdt-button.type2 { padding: 15px 35px; display: inline-block; letter-spacing:0; }
	.error404 .type2 #wdt-style-picker ul li::before, .error404 #wdt-style-picker ul li:before { content:none; }
	.error404 .type2 #wdt-style-picker h3, .error404 #wdt-style-picker h3 { letter-spacing:0; text-transform:capitalize; }
	.error404 #wdt-style-picker h2 { top:0; }

	.error-box-inner * { text-align: center; }

	.error404 .menu-links { margin:40px 0; }
	.error404 .menu-links li { display:inline-block; text-transform:uppercase; font-size:16px; padding:0; margin:0 2px 5px; }
	.error404 .menu-links li a { padding:7px 20px; display:inline-block; }

	.error404 #searchform .wdt-search-icon { display:none; }
	.error404 #searchform { display: inline-block; margin: 0 auto; position: relative; width: 60%; }
	.error404 #searchform input[type="text"], .error404 #searchform input[type="submit"] { height:52px; }
    .error404 #searchform input[type="submit"] { border-radius: 0; padding: 13px 20px 13px; position: absolute; right: 0; top: 0; margin-top:0; }

    .error404 .container { height:100%; text-align:center; }

	.error404 .type2 .error-box-inner h2:after {content: '';background-image: url(../images/404-page-image.png);background-position: center center;background-size: contain;background-repeat: no-repeat;width: 508px;height: 100%;top: 170px;left: 0;right: 0;position: absolute;z-index: 0;margin: auto;}

	body.error404 div.wrapper{background-color: var(--wdtBodyBGColor) !important;}

	.error404 .type2 h2 { font-size:200px; font-weight:bold; display:inline-block; line-height: 200px; top:0; position:relative; margin-bottom: 20px; width: 100%;pointer-events: none;}
	.error404 .type2 h3 { font-size:60px; font-weight:600; letter-spacing:0; text-transform:capitalize; line-height: normal;display: inline-block; }
	.error404 .type2 h4 { font-size:60px; font-weight:600; text-transform:capitalize; border-bottom:none; width:auto;display: inline-block; }

	.error404 .type2 .error-box-inner h2:after {content: '';background-image: url(../images/404-page-image.png);background-position: center center;background-size: contain;background-repeat: no-repeat;width: 508px;height: 100%;top: 170px;left: 0;right: 0;position: absolute;z-index: 0;margin: auto;}
	.error404 .type2 { font-size:16px; }
	.error404 .type2 p {font-size: 20px;font-weight: normal; }
	.error404 .type2 a.wdt-back { color: var(--wdtAccentTxtColor); display: inline-block; padding: 15px 50px; font-size:16px; letter-spacing:1px; text-transform:uppercase; border-radius:25px; }
	.error404 .type2 h2 {
		color: #e6e6e6;
	}

/*--------------------------------------------------------------
    Default Colors
--------------------------------------------------------------*/

	.error404 .wdt-dark-bg, .error404 .menu-links li:hover a { background: var(--wdtHeadAltColor); }
	.error404 .menu-links li a { background:rgba(var(--wdtHeadAltColorRgb),0.05); }

	.error404 .wdt-button, .error404 .wdt-button.type2, .error404 .menu-links li:hover a { color: var(--wdtAccentTxtColor); }

	.error404 .wdt-button { background-color: var(--wdtPrimaryColor); }
	.error404 .wdt-button:hover { background-color: var(--wdtSecondaryColor); }

	.error404 .menu-links li a { color: var(--wdtHeadAltColor); }

	/* body.error404 div.wrapper{background-color:var(--wdtBodyBGColor) !important;} */

/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

	.error404 h2 { color: var(--wdtPrimaryColor); }



/*--------------------------------------------------------------
 Responsive
--------------------------------------------------------------*/



@media (min-width: 1281px)
{
	.error404 .type2 h2 {
		font-size: 500px;
		line-height: 450px;
		top: -80px;
	}
}
@media (max-width: 1280px) 
{
	.error404 .type2 .error-box-inner h2:after{display: none;}
}

@media only screen and (min-width:768px) and (max-width:1024px) 
{
	.error404 .type2 h2 { font-size: 190px;line-height: 190px;margin: 0; }
	.error404 .type2 h3, .error404 .type2 h4{font-size:40px; }
}
@media only screen and (min-width: 480px) and (max-width: 767px) 
{
	.error404 .container { width: 100%; padding: 0 10%; }
	.error404 .type1 h3,
	.error404 .type2 h3,
	.error404 .type5 h3,
	.error404 h3 { font-size: 80px; letter-spacing: 0px; }
	.error404 .type1 h2,
	.error404 .type2 h2,
	.error404 .type5 h2,
	.error404 h2 { line-height: 120px; font-size: 120px; }
	.error404 .type2 h3, .error404 .type2 h4 {
		font-size: 40px;
		margin: 0;
		line-height: normal;
	}
	.error404 .type2 h2 { line-height: 150px; font-size: 180px; }
}

/* Common Styles for the devices below 479px width */
@media only screen and (max-width: 479px) {
	.error404 h2 { font-size: var(--wdtFontSize_H1); }
	.error404 h3 { font-size: var(--wdtFontSize_H2); }
	.error404 h4 { font-size: var(--wdtFontSize_H3); }
	.error404 .type1 h3,
	.error404 .type2 h3,
	.error404 .type5 h3,
	.error404 h3 { font-size:70px; letter-spacing:0; }
	.error404 .type1 h2,
	.error404 .type2 h2,
	.error404 .type5 h2,
	.error404 h2 { line-height: 120px; font-size: 120px; }
	.error404 h1, .error404 h2, .error404 h3, .error404 h4, .error404 h5, .error404 h6 { line-height: normal; }
	.error404 .container { width: 100%; padding: 0 10%; }
}
@media only screen and (min-width: 320px) and (max-width: 479px) 
{
	.error404 .type2 h2 { font-size:130px; top:0;line-height: 130px;margin: 0;}
	.error404 .type2 h3, .error404 .type2 h4 {font-size: 25px;margin: 0; }
}
@media only screen and (max-width: 319px) 
{
	.error404 .type2 h3 { font-size:30px; margin-top:20px; }
	.error404 .type2 h2 { font-size:80px; line-height:normal; top:-20px; }
	.error404 .type2 h4 { text-transform:capitalize; font-size:19px; }
}