/*--------------------------------------------------------------
    404 Error / Not-found Page
--------------------------------------------------------------*/
.error404 .type2 .center-content .error-box-inner img {
	max-width: 600px; display: block; margin: auto; margin-bottom: clamp(1.5625rem, 1.2019rem + 1.6026vw, 3.125rem); }

body.error404 div.wrapper:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; background-color: transparent; opacity: .9; width: 100%; height: 100%; }

.error404, .error404 > .wrapper { width:100%; height:100%; }
.error404 > .wrapper { display: flex; padding: 50px 0 50px; height: 100vh; }

.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 img { max-width: 650px; margin-bottom: 50px; }

.error404 h2 { position: relative; display: inline-block; font-size:  clamp(1.75rem, 1.4327rem + 1.4103vw, 3.125rem); /* Min-28 & Max-50 */ 
	font-weight: var(--wdtFontWeight_H1); line-height: 1.1; margin-bottom: 16px; margin-top: 0; }

.error404 h3 { font-size: clamp(1.75rem, 1.4327rem + 1.4103vw, 3.125rem); /* Min-28 & Max-50 */ ; font-weight: var(--wdtFontWeight_Alt); 
	margin: 0; margin-bottom: clamp(1.25rem, 1.1058rem + 0.641vw, 1.875rem); /* Min-20 & Max-30 */ }
.error404 h4 { font-size:42px; font-weight:300; text-transform:uppercase; border-bottom:1px solid var(--wdtBorderColor); padding-bottom:30px; margin-bottom:30px; margin-left:auto; margin-right:auto; width:570px; }
.error404 p { font-size:var(--wdtFontSize_Base); max-width: 850px; margin-inline: auto; color: var(--wdtHeadAltColor); }
.error404 .wdt-button,
.error404 .wdt-button.type2 {
	font-size: var(--wdtButton_size);
	padding: var(--wdtPadding_Btn);
	display: inline-block;
	margin-top: clamp(0.625rem, 0.4087rem + 0.9615vw, 1.5625rem);
	margin-bottom: 0;
}

.error404 .wdt-dark-bg .wdt-button:hover { background-color: var(--wdtSecondaryColor); 
	color: var(--wdtAccentTxtColor); }
.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 p { font-size:var(--wdtFontSize_Base); max-width: 600px; margin-inline: auto; color: var(--wdtAccentTxtColor); }


/*--------------------------------------------------------------
 Default Colors
--------------------------------------------------------------*/

.error404 .menu-links li:hover a { background: var(--wdtHeadAltColor); }
.error404 .wdt-dark-bg { background-color: var(--wdtSecondaryColor); }
body.error404 div.wrapper.wdt-dark-bg { background-color: #000000; }
.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); }



/*--------------------------------------------------------------
 Accents
--------------------------------------------------------------*/

.error404 h2 { color: var(--wdtPrimaryColor); }
.error404 .wdt-dark-bg h2 { color: var(--wdtAccentTxtColor); }



/*--------------------------------------------------------------
Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 1280px){
.error404 .type2 .center-content .error-box-inner img{
	max-width: 400px;
}
}

@media screen and (max-width: 767px){
.error404 .type2 .center-content .error-box-inner img{
	max-width: 290px;
}
}
