/*--------------------------------------------------------------
    404 Error / Not-found Page
--------------------------------------------------------------*/

	.error404, .error404 > .wrapper { width:100%; height:100%; }
	.error404 > .wrapper { display: flex; padding: 0; }

	.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:72px;font-weight: 600; }
	.error404 .wdt-button, .error404 .wdt-button.type2 { padding: var(--wdtPadding_Btn); display: inline-block; letter-spacing:0px; }
	.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 .wdt-button:before {content: '';display: inline-block;width: 8px;height: 8px;background: var(--wdtPrimaryColor);border-radius: 0;margin-right: 8px;transform: translateY(-2px);transition: var(--wdtBaseTransition);} */
	/* .error404 .wdt-button:hover:before {background: var(--wdtAccentTxtColor);} */
	.error404 .wdt-button{position: relative;}

	body.error404 div.wrapper{position: relative;}
	body.error404 div.wrapper:after{content: '';position: absolute;width: 100%;height: 100%;top: 0;left: 0;background: rgba(var(--wdtBodyBGColorRgb), 0.9);z-index: 0;}
	.error404 .container{z-index: 1;}

/*--------------------------------------------------------------
    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: transparent; }
	.error404 .wdt-button:hover { background-color: transparent;border-color: var(--wdtPrimaryColor);color: var(--wdtPrimaryColor); }

	.error404 .menu-links li a { color: var(--wdtHeadAltColor); }



/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

	.error404 h2 { color: var(--wdtPrimaryColor); }

/*--------------------------------------------------------------
    custom
--------------------------------------------------------------*/


	.error-box.square {
		display: grid;
		grid-template-columns: 1fr 1.5fr;
		align-items: center;	
	}

	.error404 .wdt-button{
		z-index: 1;
		display: inline-flex;
		align-items: center;
		margin-bottom: 6px;
		padding: clamp(0.75rem, 0.6923rem + 0.2564vw, 1rem) clamp(1.5rem, 1.3558rem + 0.641vw, 2.125rem);
		font-size: clamp(var(--wdtFontSize_Base), 0.9423rem + 0.2564vw, var(--wdtFontSize_H6));
		background-color: var(--wdtPrimaryColor);
		border: 1px solid;
		border-color: var(--wdtPrimaryColor);
		color: var(--wdtAccentTxtColor);
		box-shadow: 4px 4px 0px 0px Rgba(var(--wdtSecondaryColorRgb), .8);
		-webkit-transition: var(--wdtBaseTransition);
		transition: var(--wdtBaseTransition);
	}

	.error404 .wdt-button:hover {
		border-color: var(--wdtSecondaryColor);
		color: var(--wdtAccentTxtColor);
		box-shadow: 0px 0px 0px 0px Rgba(var(--wdtSecondaryColorRgb), .8);
		-webkit-transition: all 0.3s ease-out;
		transition: all 0.3s ease-out;
		background-color: transparent;
	}

	.error404 .wdt-button::before {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		background-color: rgba(var(--wdtSecondaryColorRgb));
		width: 100%;
		height: 100%;
		opacity: 0;
		-webkit-transform: translate(4px, 4px);
		transform: translate(4px, 4px);
		z-index: -1;
		-webkit-transition: all 0.3s ease-out;
		transition: all 0.3s ease-out;
	}

	.error404 .wdt-button:hover:before {
		opacity: 1;
		-webkit-transform: translate(0px, 0px);
		transform: translate(0px, 0px);
	}

	.error404 .wdt-button::after {
		content: '';
		position: relative;
		display: inline-block;
		width: 20px;
		height: 18px;
		margin-left: 10px;
		margin-bottom: 0;
		background-color: currentColor;
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30.2 25.9' style='enable-background:new 0 0 30.2 25.9;' xml:space='preserve'%3E%3Cpath d='M19.8,3.7c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.3l6.9,6.9H2.5c-0.5,0-1,0.4-1,1c0,0.5,0.4,1,1,1h22.8l-6.9,6.9 c-0.4,0.4-0.4,1,0,1.4c0.4,0.4,1,0.4,1.4,0l8.5-8.5c0.4-0.4,0.4-1,0-1.3L19.8,3.7z'%3E%3C/path%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30.2 25.9' style='enable-background:new 0 0 30.2 25.9;' xml:space='preserve'%3E%3Cpath d='M19.8,3.7c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.3l6.9,6.9H2.5c-0.5,0-1,0.4-1,1c0,0.5,0.4,1,1,1h22.8l-6.9,6.9 c-0.4,0.4-0.4,1,0,1.4c0.4,0.4,1,0.4,1.4,0l8.5-8.5c0.4-0.4,0.4-1,0-1.3L19.8,3.7z'%3E%3C/path%3E%3C/svg%3E");
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: cover;
		mask-size: cover;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-transition: 0s, transform 0.3s ease-out;
		transition: 0s, transform 0.3s ease-out;
	}

	.error404 .type2.wdt-dark-bg h4:first-child {
		font-family: var(--wdtFontTypo_Base);
		font-size: clamp(1.875rem, 1rem + 4.375vw, 6.25rem);
		font-weight: var(--wdtFontWeight_H6);
		line-height: clamp(1.875rem, 1rem + 4.375vw, 6.25rem);
		color: var(--wdtPrimaryColor);
	}

	.error404 .type2.wdt-dark-bg h4:nth-child(2) {
		font-size: clamp(5rem, 3.2692rem + 7.6923vw, 12.5rem);
		font-weight: bold;
		display: inline-block;
		line-height: 1;
		top: -60px;
		position: relative;
		margin-bottom: 20px;
		color: var(--wdtSecondaryColor);
	}

	.error404 .type2.wdt-dark-bg p{
		margin-top: -25px;
		margin-bottom: 20px;
		font-size: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);
		font-weight: 600;
		font-family: var(--wdtFontTypo_H4);
		color: var(--wdtPrimaryColor);
	}

	.error404 .type2.wdt-dark-bg .error-box.square .error-box-inner,
	.error404 .type2.wdt-dark-bg .error-box.square .error-box-inner * { text-align: start; }

	.error404 .type2.wdt-dark-bg .error-box.square .error-box-inner {
		padding-left: clamp(3.125rem, -14.7696rem + 27.933vw, 18.75rem);
	}


/*--------------------------------------------------------------
 Responsive
--------------------------------------------------------------*/

/* Common Styles for the devices below 479px width */

@media only screen and (max-width: 1024px) {
	.error-box.square { display: flex; flex-direction: column-reverse; }
	.error404 .type2.wdt-dark-bg .error-box.square .error-box-inner,
	.error404 .type2.wdt-dark-bg .error-box.square .error-box-inner * { text-align: center; }
	.error404 .type2.wdt-dark-bg .error-box.square .error-box-inner { padding-left: 0; }
	.error404 .type2.wdt-dark-bg h4:nth-child(2) { top: -35px; }
}

@media only screen and (max-width: 768px) 
{
	.error404 h4{font-size: 46px;}
}



@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); }

}