/*--------------------------------------------------------------
    404 Error / Not-found Page
--------------------------------------------------------------*/

	.error404, .error404 > .wrapper { width:100%; height:100%; }
	.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: calc(var(--wdtFontSize_Alt) + 10px);
		font-weight: bold;
		display: inline-block;
		line-height: 1.2;
		position: relative;
		margin-bottom: 20px;
		margin-top: 0;
		font-family: var(--wdtFontTypo_Base);
	}
	.error404 h3 { font-size:70px; font-weight:bold; }
	.error404 h4 {
		font-size: 24px;
		font-weight: 300;
		text-transform: uppercase;
		margin-bottom: 30px;
		margin-left: auto;
		margin-right: auto;
		width: 570px;
	}
	.error404 .wdt-button, .error404 .wdt-button.type2 { 
		padding: var(--wdtPadding_Btn);
		display: inline-block;
		letter-spacing: 0;
		border: 2px solid var(--wdtHeadAltColor);
		color: var(--wdtHeadAltColor);
		font-family: var(--wdtFontTypo_Alt);
		font-weight: var(--wdtFontWeight_Alt);
		font-size: var(--wdtFontSize_Base);
		text-transform: uppercase; 
	}
	.error404 .wdt-button:hover, 
	.error404 .wdt-button.type2:hover{
		color: var(--wdtAccentTxtColor);
		border-color: var(--wdtPrimaryColor);
	}
	.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; }
	body.error404 div.wrapper.type2 { background-color: var(--wdtAccentTxtColor); }
	.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: 100%; max-width: 600px; margin-bottom: 20px; }
	.error404 #searchform input[type="text"], .error404 #searchform input[type="submit"] { height:52px; }
	.error404 #searchform input[type="text"] { width: 100%; text-align: left; }
    .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; }



/*--------------------------------------------------------------
    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(--wdtHeadAltColor); }

	.error404 .wdt-button { background-color: transparent; }
	.error404 .wdt-button:hover { background-color: var(--wdtPrimaryColor); }

	.error404 .menu-links li a { color: var(--wdtHeadAltColor); }



/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

	.error404 h2 { color: var(--wdtPrimaryColor); }

/* Additional For Search Form */

.error404 #searchform ul.quick_search_results li.quick_search_data_item a{
	width: 100%;
    font-size: 0.9rem;
    display: grid;
    gap: 10px;
    grid-template-columns: 55px 1fr;
    text-align: left;
    font-weight: var(--wdtFontWeight_Alt);
}
.error404 #searchform ul.quick_search_results li.quick_search_data_item a > img{
	border-radius: var(--wdtRadius_Zero);
	-webkit-border-radius: var(--wdtRadius_Zero);
}
.error404 #searchform ul.quick_search_results.active{
	display: grid;
    grid-template-columns: repeat(2,1fr);
	width: 100%;
	max-width: 100%;
}

/* End */



/*--------------------------------------------------------------
 Responsive
--------------------------------------------------------------*/

/* 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 .wdt-button, .error404 .wdt-button.type2{
		padding: var(--wdtPadding_MiniBtn);
		font-size: 10px;
	}
	.error404 #searchform ul.quick_search_results.active{
		grid-template-columns: 100%;
	}

}