/*!
 * KW Intranet Plugin Styles
 */

#top-menu a,
.page-404 {
font-family: var(--font-body);
}

.et_header_style_left .logo_container {
width: 50%;
margin-left: auto;
margin-right: auto;
}

.et_pb_svg_logo #logo {
height: auto;
}

.nav li {
line-height: 1.3em;
}

@media (min-width: 981px) {
.et_vertical_nav #page-container #main-header {
    min-width: 310px !important;
}
#main-header {
    min-height: 100vh !important;
}
.et_vertical_nav #et-main-area,
.et_vertical_nav #top-header {
    margin-left: 310px !important;
}
}

.et_pb_fullwidth_section .et_pb_title_container {
width: 100%;
max-width: none;
padding-left: 40px;
padding-right: 40px;
}

.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul { padding: 16px 0 16px !important }
.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li>a { padding-bottom: 9px; }
.horisontal-menu ul.fullwidth-menu li::after {
    content: '•';
    padding: 0;
    padding-right: 1px;
    padding-left: 9px;
    font-weight: 900;
    font-size: 1rem;
    vertical-align: middle;
}
.horisontal-menu ul.fullwidth-menu li {
padding-right: 0;
}

.horisontal-menu ul.fullwidth-menu a {
display: inherit;
}
.et_vertical_nav #main-header #top-menu > li > a {
padding-right: 0px;
padding-bottom: 2px;
margin-bottom: 19px;
}

#top-menu a {
display: inline-block;
position: relative;
text-decoration: none;
transition: all 0.1s ease-in-out;
border-bottom: 4px solid transparent;
}
#top-menu a:hover {
color: #000000;
border-bottom-width: 4px;
border-bottom-style: solid;
}

a {
text-decoration: underline;
text-underline-position: under;
}

a:hover {
text-decoration: underline;
}

.et_vertical_nav #main-header #top-menu > li > a:after {
right: -20px;
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a {
color: #000 !important;
border-bottom-width: 4px !important;
border-bottom-style: solid !important;
}

#main-header.et-fixed-header #top-menu li.current-menu-item > a {
color: #000 !important;
}

#top-menu li li a {
text-transform: none;
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
margin-bottom: 3px;
width: auto;
}

.nav-account {
margin-top: 2em;
}

#top-menu .nav-account a,
#top-menu .nav-logout a {
text-transform: none;
margin-bottom: 9px !important;
}

.nav ul li a:hover {
opacity: 0.7;
background-color: #fff;
}

.unclickable > a {
pointer-events: none !important;
}

.element-is-sticky {
border-bottom: 1px solid #f1f1f1;
}

.hidden {
display: none !important;
}

/* Forms */

.nf-form-title h3 {
font-size: 27px;
}

.nf-form-fields-required {
display: none;
}
.form-section-heading {
margin-top: 72px;
}

.label-above .nf-field-label {
margin-bottom: 1px !important;
}

.nf-field-element input[type='text'],
.nf-field-element input[type='tel'],
.nf-field-element input[type='password'],
.nf-field-element input[type='email'],
.nf-field-element textarea {
font-size: 16px;
padding: 0.8em;
}

.nf-field-element input[type='button'] {
padding-left: 0.8em !important;
cursor: pointer;
}

/* 404 */

.page-404 .container {
display: flex;
align-items: center;
justify-content: center;
min-height: 80vh;
}

.page-404 .brand-logo {
width: 160px;
margin-bottom: 2rem;
}

.page-404 .message {
text-align: center;
text-transform: uppercase;
letter-spacing: 0.1em;
}

.page-404 h1 {
margin-bottom: 2rem;
}

/* Password protected page - Login */
.post-password-required .et_builder_inner_content {
display: flex;
height: 90vh;
flex-direction: column;
align-items: center;
justify-content: center;
}
.post-password-required .et_pb_section {
padding: 60px;
width: 90%;
max-width: 500px;
}

.post-password-required h2 {
font-size: 20px;
line-height: 1.3em;
}

.post-password-required .et_pb_button {
font-size: 14px;
border-width: 5px !important;
border-radius: 0px;
font-weight: bold;
font-style: normal;
text-transform: uppercase;
text-decoration: none;
}

.post-password-required .et_password_protected_form .et_submit_button {
color: #fff;
}

.post-password-required .et_password_protected_form .et_pb_button:after {
font-size: 22.4px;
}
body .post-password-required .et_password_protected_form .et_pb_button:hover {
border-radius: 0px;
}

body .post-password-required .et_password_protected_form .et_pb_button:hover {
left: 0;
padding-right: 0.7em;
padding-left: 2em;
border-color: transparent;
}

.nf-after-field .nf-input-limit { margin: 0; }
.nf-after-field .nf-error {
    overflow: visible;
    height: 0;
    padding: 0;
    margin: 0;
}
