/*
Theme Name: Exemplarie
Theme URI: https://old.exemplarie.com
Author: Exemplarie
Author URI: https://old.exemplarie.com
Description: This theme is used for Exemplarie Website. 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
    font-family: IowanOldStyleBT-Black;
    src: url('fonts/IowanOldStyleBT-Black.otf');
}
@font-face {
    font-family: IowanOldStyleBT-Bold ;
    src: url('fonts/IowanOldStyleBT-Bold.otf');
}
@font-face {
    font-family: IowanOldStyleBT-Roman ;
    src: url('fonts/IowanOldStyleBT-Roman.otf');
}

body, div{
    font-family: IowanOldStyleBT-Roman !important;
}
h1,h2,h3,h4,span {
    font-family: IowanOldStyleBT-Bold !important;
}

h5 {
    font-family: IowanOldStyleBT-Black !important;
}
p {
    font-family: IowanOldStyleBT-Roman !important;
   
}

/* New CSS */
.custom-search {
    padding-top: 0px;
    padding-left: 0px;
    display: inline-block;
    width: auto;
    position: relative;
    z-index: 99;
}
span.menu-search-icon {
    display: inline-block;
    cursor: pointer;
}
span.menu-search-icon img {
    height: 22px;
}
.search-form {
    display: none;
    position: absolute;
    left: -158px;
    top: 52px;
}
/* Header Menu*/
.header_mid_menu ul li{list-style:none;display:inline-block}
.header_mid_menu ul li a{color:#000;text-decoration:none;font-size:18px;padding:0 22px;font-weight:400}
.header-right{margin-top:0;display:flex;align-items:center;justify-content:end}
.logo img{width:230px}
.header_mid {display: flex;align-items: center;justify-content: space-between}
.header_mid_left{width:1064px;float:left}
.header_mid_right ul li.current-menu-item a{color:#00508b}
.sub-menu{display:none;position:absolute;height:auto;margin:0;padding:10px 0 10px 0;z-index:99;background:#fff;box-shadow: 0px 8px 10px -3px #00000045;}
.menu-d li .sub-menu li{width:100%;line-height:40px;border-bottom:1px solid #000}
.menu-d li .sub-menu li:last-child{border-width:0}
.menu-d li a:hover{color:#00508b}
.menu-d li.menu-item-has-children a{background:url("images/arrow_icon.png");background-position-x:0%;background-position-y:0%;background-repeat:repeat;background-repeat:no-repeat;background-position:right 11px}
.menu-d li.menu-item-has-children ul li a{background:0 0;padding-left:5px;padding-right:10px}
@keyframes fadeOut {
  0% {opacity: 1}
  100% {opacity: 0}
}
.menu-item-has-children:hover .sub-menu{display:block}
.menu-d li .sub-menu li::before{color:#000;content:"\e89e";font-family:eicons;font-size:1em;font-weight:700;padding-left:10px;top:1px;position:relative}

/* Header Menu*/
.error-page {
    min-height: 500px;
    padding-top: 180px;
    padding-bottom: 130px;
}
.error-page-wrapper {
    width: 92%;
    max-width: 1250px;    margin: auto;
}
.error-page h1 {
    font-size: 80px;
    font-weight: 500;
    margin-bottom: 0;
}
.error-page p.center {
    font-size: 20px;
    font-weight: 400;
    margin-top: 10px;
    padding-bottom: 20px;
    color: #000;
}
.error-page a.elementor-button.button.btn {
    font-family: Jost,Sans-serif;
    font-size: 25px;
    font-weight: 500;
    fill: #3FC1C0;
    color: #3FC1C0;
    background-color: #fff;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #3FC1C0;
    border-radius: 50px 50px 50px 50px;
    padding: 12px 35px 12px 35px;
    text-decoration: none;
    margin-right: 16px;
    transition: .5s;
}
.error-page .col-md-6 {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}
body.error404 .header_mid_right > .menu-d > ul > li > a {
    color: #000 !important;
}
body.error404 .custom-search span.menu-search-icon > img {
    filter: inherit !important;
}