/* FHW STYLEGUIDE */

/* 
 *
 * FONTS
 *
 */
@font-face {
    font-family: 'Gelion Regular';
    src: url('../fonts/gelion_regular.woff2') format('woff2'),
        url('../fonts/gelion_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gelion Light';
    src: url('../fonts/gelion_light.woff2') format('woff2'),
        url('../fonts/gelion_light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 
 *
 * GENERAL STYLES 
 *
 */

/* Offset fixed header on scroll */
html {
    scroll-padding-top: 170px;
}

body {
    font-family: 'Gelion Light';
}

footer {
    margin-top: 0 !important;
}

/*
 * LINKS
 */
a {
    color: #0050FF;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

.footer-menu a:hover {
    color: #fff;
    border-bottom: 2px solid #fff;
}

/*
 * TEXT
 */
p {
    font-size: 1rem;
    line-height: 1.5;
}

p.body-large {
    font-size: 1.25rem;
    line-height: 1.3;
}

p.body-small {
    font-size: 0.75rem;
    line-height: 1.5;
}

p.body-tagline {
    font-size: 0.81rem;
    line-height: 1.5;
    font-family: 'Gelion Regular' !important;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.intro-text p {
    font-family: 'Gelion Regular';
    line-height: 1.4;
}

/*
 * HEADLINES
 */
h2,
h3,
h4 {
    font-family: 'Gelion Regular' !important;
}

h1 {
    font-size: 2.2rem;
    line-height: 1;
    margin: 3em 1em;
    font-family: 'Gelion Light' !important;
}

h1.large {
    font-size: 3rem;
    line-height: 1em;
    margin: 0;
}

h2,
.h2 {
    font-size: 2.2rem;
    line-height: 1em;
    margin: 2em 0 1em 0;
}

h3,
.h3 {
    font-size: 1.8rem;
    line-height: 1.1em;
    margin: 1em 0 0.6em 0;
}

h4,
.h4 {
    font-size: 1.5rem;
    line-height: 1.1em;
    margin: 1em 0 0.6em 0;
}

h5 {
    font-size: 1.2rem;
    line-height: 1.1em;
    font-family: 'Gelion Light' !important;
    text-transform: none;
    margin: 1em 0 0.6em 0;
}

/* 
 *
 * CUSTOM STYLES
 *
 */
.mb-large {
    margin-bottom: 5em !important;
}

.mb-medium {
    margin-bottom: 4em !important;
}

.container-block {
    margin: 0 0 4.5em 0;
}

.border-block {
    border-top: 1px solid #001033;
    border-bottom: 1px solid #001033;
}

/*
 * DESKTOP MENU
 */
.menu-active {
    color: #fff;
    background-color: #0050FF;
    border-bottom: 3px solid #0050FF !important;
}

.menu-active a:hover {
    color: #fff;
}

.menu-active:hover {
    color: #fff !important;
    background-color: #0050FF !important;
    border-bottom: 3px solid #0050FF !important;
}

/* 
 *
 * WP OVERRIDES
 *
 */
.wp-bootstrap-blocks-container {
    max-width: 1290px;
}

.wp-site-blocks>*+* {
    margin-block-start: 0 !important;
}

.wp-block-spacer {
    margin-block-start: 0 !important;
}

.wp-block-button__link:hover {
    text-decoration: none;
}

.wp-block-navigation-item__content:hover {
    text-decoration: none;
}

@media (min-width: 600px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

.wp-block-navigation__responsive-container {
    display: none;
}

.wp-block-navigation__responsive-close {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block !important;
    position: absolute;
    top: 10px;
    right: 10px;
}

.menu-top #modal-2:not(.has-modal-open) .wp-block-navigation-item {
    padding: 3em 1.3em 1.444em 1.3em;
    border-bottom: 3px solid #fff;
    transition: all 0.2s;
}

.wp-dark-mode-active .menu-top #modal-2:not(.has-modal-open) .wp-block-navigation-item {
    padding: 3em 1.3em 1.444em 1.3em;
    border-bottom: 3px solid #001033;
    border-color: #001033 !important;
    transition: all 0.2s;
}

.menu-top #modal-2:not(.has-modal-open) .wp-block-navigation-item:hover {
    color: #0050FF;
    border-bottom: 3px solid #0050FF;
}

.wp-block-buttons>.wp-block-button {
    margin: 1em 0 0 0;
}

.wp-block-buttons>.wp-block-button a {
    font-size: 1em;
    font-family: 'Gelion Regular';
}

.wp-block-buttons>.wp-block-button:hover {
    box-shadow: 0 5px 5px 0px rgba(0, 16, 51, 0.2);
}

.wp-block-navigation__submenu-container {
    display: none !important;
}

.is-menu-open .wp-block-navigation__submenu-container {
    display: block !important;
}

.wpcf7-form label,
.wpcf7-form input {
    width: 100%;
}

.wpcf7-form select {
    width: 100%;
    padding: 0.3em 0.4em;
}

/* 
 *
 * EXTRAS
 *
 */

/* Centering content in a div */
.centerparent {
    text-align: center;
}

.centercontent {
    display: inline-block;
    text-align: left;
}

/* CSS Styleguide */
hr {
    margin-block-start: 50px !important;
    margin-block-end: 10px !important;
}

.button-back img {
    position: relative;
    left: -16px;
    top: -2px;
}

.button-next img {
    position: relative;
    right: -16px;
    top: -2px;
}

/* Intro Page */
.welcome-box {
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.11);
    -webkit-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.11);
}

.welcome-box p {
    margin-block-start: 0.2em !important;
}

.welcome-box a {
    text-decoration: none;
}

/* Menu */
.is-layout-flex.styleguide-menu {
    gap: 10px;
}

.styleguide-menu .dashicons {
    margin-top: 2px;
}

.styleguide-menu .dashicons-menu-alt:before {
    content: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-icon-menu.png');
}

.sidemenu {
    background-color: #fff;
}

.sidemenu .close_sidemenu {
    color: #001033 !important;
    padding: 1rem;
}

.sidemenu_open .sidemenu {
    max-width: 320px;
}

.sidemenu .widget li,
.sidemenu .menu li {
    padding: 10px 0;
}

.sidemenu section {
    margin: 0 1rem;
}

.sidemenu section a {
    color: #001033;
    text-decoration: none;
}

.sidemenu section a:hover {
    text-decoration: underline;
}

#menu-main {
    padding-left: 0rem;
}

.menu-open .open_sidemenu {
    margin-left: 15px;
}

.menu-open a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.menu-item:before {
    content: "";
    display: block;
    margin-top: 5px;
    margin-right: 30px;
    width: 25px;
    height: 25px;
    float: left;
}

.menu-item:nth-of-type(1):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-1.png') no-repeat;
}

.menu-item:nth-of-type(2):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-2.png') no-repeat;
}

.menu-item:nth-of-type(3):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-3.png') no-repeat;
}

.menu-item:nth-of-type(4):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-4.png') no-repeat;
}

.menu-item:nth-of-type(5):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-5.png') no-repeat;
}

.menu-item:nth-of-type(6):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-6.png') no-repeat;
}

.menu-item:nth-of-type(7):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-7.png') no-repeat;
}

.menu-item:nth-of-type(8):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-8.png') no-repeat;
}

.menu-item:nth-of-type(9):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-9.png') no-repeat;
}

.menu-item:nth-of-type(10):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-10.png') no-repeat;
}

.menu-item:nth-of-type(11):before {
    background: url('https://novamondo-dev.de/fhw-styleguide/wp-content/uploads/2023/02/fhw-menu-icon-11.png') no-repeat;
}

/* Startseite */
.first-featured {
    margin-top: -150px;
    z-index: 1;
    position: relative;
}

.styleguide-overview a {
    color: #000;
    font-family: 'Gelion Regular';
}

.styleguide-overview a:hover {
    color: #0050FF;
    text-decoration: underline;
}

.styleguide-overview .wp-block-image img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 !important;
}

/* Media Queries */
@media (max-width: 767.98px) {
    .wp-block-cover.styleguide-cover {
        min-height: 160px !important;
    }
    .first-featured {
        margin-top: -40px;
    }
}