/*--------------------------------------------------------------
    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:60px; font-weight:300; }

	.error404 .wdt-button, 
	.error404 .wdt-button.type2 { padding: var(--wdtPadding_Btn); display: inline-block; letter-spacing: var(--wdtLetterSpacing_1X); }

	.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; }



/*--------------------------------------------------------------
    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); }



/*--------------------------------------------------------------
    Accents
--------------------------------------------------------------*/

	.error404 h2 { color: var(--wdtPrimaryColor); }


/* type 2 */

.error404 .type2 h2 { 
	font-size:300px; font-weight:bold; display:inline-block; line-height: 300px; top:20px; 
	position:relative; margin-bottom: 26px; margin-top: 0; font-family: var(--wdtFontTypo_Base); }

.error404 .type2 h3 { font-size:70px; font-weight:400; 
	letter-spacing:var(--wdtLetterSpacing_3X); text-transform:capitalize; line-height: 1.4; margin: 0 0 40px; }

.error404 .type2 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 .type2 { font-size:16px; color: var(--wdtBodyTxtColor); }

.error404 .type2 p { font-size:var(--wdtFontSize_Base); margin-bottom: clamp(1.25rem, 0.95rem + 1.5vw, 2.75rem); }

.error404 .type2.wdt-dark-bg p { color: var(--wdtAccentTxtColor); }




/* ---------------------
custom styles
------------------------- */

.error404 .type2 .wdt-button {
	transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.error404 .type2 .wdt-button:hover,
.error404 .type2 .wdt-button:focus {
	background-color: var(--wdtPrimaryColor) !important;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
}

.error404 .type2.wdt-dark-bg .wdt-button:hover,
.error404 .type2.wdt-dark-bg .wdt-button:focus {
	color: var(--wdtSecondaryColor);
}

.error404 .type2 .wdt-button::after {
	content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    width: 2200px;
    height: 126px;
    bottom: 0;
    top: auto;
    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 198 133.3' style='enable-background:new 0 0 198 133.3;' xml:space='preserve'%3E%3Cpath d='M198,16C159.5,16,147.3,0,97.6,0C48.1,0,35.8,16,0,16v117.3l198-0.3C198,132.9,198,22.8,198,16z'/%3E%3C/svg%3E");
    -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 198 133.3' style='enable-background:new 0 0 198 133.3;' xml:space='preserve'%3E%3Cpath d='M198,16C159.5,16,147.3,0,97.6,0C48.1,0,35.8,16,0,16v117.3l198-0.3C198,132.9,198,22.8,198,16z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position:bottom center;
    -webkit-mask-position:bottom center;
    transition: inherit;
    -webkit-transition: inherit;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    background-color: var(--wdtSecondaryColor);
    z-index: -1;
}

.error404 .type2.wdt-dark-bg .wdt-button::after {
	background-color: var(--wdtTertiaryColor);
}

.error404 .type2 .wdt-button:hover::after,
.error404 .type2 .wdt-button:focus::after {
	transform: translateY(35%);
    transition: inherit;
    -webkit-transition: inherit;
    animation: qodef-wave 7.5s cubic-bezier(.36,.45,.63,.53) infinite;
    -webkit-animation: qodef-wave 7.5s cubic-bezier(.36,.45,.63,.53) infinite;
    top: auto;
    bottom: 0;
    height: 126px;
}


/* ---------------------
custom styles
------------------------- */



/*--------------------------------------------------------------
 Responsive
--------------------------------------------------------------*/

@media only screen and (min-width:768px) and (max-width:1024px) {

   .error404 .type2 h2 { font-size: 190px; line-height: 190px; }
   .error404 .type2 h3 { font-size: 50px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.error404 .type2 h3 { font-size: 30px; letter-spacing: var(--wdtLetterSpacing_2X); margin: 0 0 30px; }
	.error404 .type2 h2 { line-height: 120px; font-size: 120px; margin-bottom: 36px; }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
	.error404 .type2 h3 { font-size:26px; margin: 0 0 20px; }
	.error404 .type2 h2 { font-size:100px; line-height: 100px; top: 10px; }
}




/* 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); }

}