/* BASE
 * -------------------------------------------------- 
 *  Base styles 
 * 
 *  Default styles of the project, these will not
 *  be changed or altered in most of the cases
 * -------------------------------------------------- */
body {
    font-family: 'Livvic', sans-serif;
    font-family: var(--sg-font-paragraph);
    position: relative;
    overflow-x: hidden;
    color: #78849e;
    color: var(--sg-paragraph);
    font-size: 16px;
    font-size: var(--sg-font-p-min);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body:not(.sg-content-only) > #container {
    flex-grow: 1;
    padding-top: 80px;
}

h1,
h3,
h3,
h4,
h5,
h6,
p,
a,
ul li {
    font-style: normal;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Livvic', sans-serif;
    font-family: var(--sg-font-title);
    line-height: 1.1;
    margin: 0;
}

a {
    font-family: 'Livvic', sans-serif;
    font-family: var(--sg-font-paragraph);
    color: var(--sg-brand);
    opacity: 0.7;
    transition: all 0.2s ease;
}

b,
strong {
    font-weight: 700;
}

a:hover {
    color: var(--sg-brand);
    opacity: 1;
}

p,
ul li {
    font-family: 'Livvic', sans-serif;
    font-family: var(--sg-font-paragraph);
    margin: 0;
    font-weight: 300;
}

a,
p a {
    font-weight: 500;
}

img {
    display: block;
}

ul,
ol {
    padding-left: 32px;
    list-style-position: outside;
}

.sg__block ul ul,
.sg__block ul ol,
.sg__block ol ul,
.sg__block ol ol {
    margin: 8px 0 0;
}

.sg__block:not(.block-login) ul li,
.sg__block:not(.block-login) ol li {
    margin-bottom: 8px;
}

/* Login form */
body.sg-content-only header,
body.sg-content-only footer {
    display: none;
}

body.sg-content-only .sg__container {
    min-height: 100vh;
    width: 100%;
    background-color: #f2f2f2;
}

body.sg-content-only .bg-background:before {
    display: none;
}

.sg-content-only .login__logo {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.sg-content-only .login__logo a {
    display: inline-block;
    opacity: 1;
}

.sg-content-only .login__logo img {
    max-width: 320px;
    min-height: 32px;
    max-height: 84px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

.sg-content-only .login__logo.logo--sg img {
    max-width: 64px;
}

.sg-content-only .login__logo.logo--sg > p a {
    text-align: left;
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.7;
}

.sg-content-only .login__logo.logo--sg > p a:hover {
    opacity: 1;
}

.sg-content-only .login__logo.logo--sg > p a svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.sg-content-only form {
    max-width: 480px;
    margin: 32px auto 0;
    border-radius: 4px;
    overflow: hidden;
}

.sg-content-only form label span {
    color: #212121;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.sg-content-only form label svg {
    color: #212121;
}

.sg-content-only form input[type='email'],
.sg-content-only form input[type='password'],
.sg-content-only form input[type='text'] {
    border: 1px solid rgba(77, 77, 77, 0.25);
    transition: border-color 0.2s ease;
    color: #212121;
}

.sg-content-only form input[type='email']:focus,
.sg-content-only form input[type='password']:focus,
.sg-content-only form input[type='text']:focus {
    border: 1px solid rgba(77, 77, 77, 0.75);
}

.sg-content-only form .form__row {
    position: relative;
}

.sg-content-only form .form__row:not(:first-of-type) {
    margin-top: 16px;
}

.sg-content-only .visibility__icon {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 48px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sg-content-only .visibility__icon svg {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 14px;
    top: 14px;
    display: block;
}

.sg-content-only .visibility__icon svg:nth-of-type(1) {
    display: none;
}

.sg-content-only .visibility__icon.icon--closed svg:nth-of-type(1) {
    display: block;
}

.sg-content-only .visibility__icon.icon--closed svg:nth-of-type(2) {
    display: none;
}

.sg-content-only form input[type='submit'] {
    background-color: #212121;
    color: #fff;
    border-radius: 4px;
    padding: 14px 24px;
    font-weight: 600;
}

.sg-content-only form input[type='submit']:hover {
    opacity: 0.85;
}

.sg-content-only form input[type='submit'].loading {
    opacity: 0.5;
}

.sg-content-only .row--submit > a {
    font-size: 15px;
    font-weight: 500;
    opacity: 1;
    margin-left: 24px;
    color: #212121;
}

.sg-content-only .row--submit > a:hover {
    text-decoration: underline;
}

.sg-content-only .login__tabs ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

.sg-content-only .login__tabs ul li {
    flex: 1 1 50%;
}

.sg-content-only .login__tabs ul li a {
    padding: 16px;
    font-size: 18px;
    opacity: 1;
    border-bottom: 1px solid;
    border-color: rgba(77, 77, 77, 0.1);
    display: block;
    width: 100%;
    outline: none;
    transition: none;
    text-align: center;
    font-weight: 400;
    color: #212121;
    background-color: #fff;
    opacity: 0.45;
}

.sg-content-only .login__tabs ul li a:hover {
    opacity: 0.6;
}

.sg-content-only .login__tabs ul li.js-tab-active a {
    color: #212121;
    border-bottom-color: rgba(77, 77, 77, 0.05);
    border-right-color: #fff;
    border-left-color: #fff;
    background-color: #fff;
    font-weight: 600;
    opacity: 1;
}

.sg-content-only .login__tabs ul li:first-of-type a {
    border-right-width: 1px;
    border-right-style: solid;
}

.sg-content-only .login__tabs ul li:last-of-type a {
    border-left-width: 1px;
    border-left-style: solid;
}

.sg-content-only .login__tabs ul li.leerkracht--disabled {
    display: none;
}

.sg-content-only form .login__content {
    padding: 32px;
    background-color: #fff;
}

.sg-content-only .tab--wachtwoord-vergeten > p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.sg-content-only p.login--error {
    margin-top: 16px;
    color: #e74c3c;
    line-height: 1.4;
}

.sg-content-only p.login--success {
    margin-top: 16px;
    color: #4cbb17;
    line-height: 1.4;
}

.sg-content-only form input.js-input-error {
    border-color: #e74c3c;
}

.tab--hidden {
    display: none;
}

/* HEADER / NAV 
 * --------------------------------------------------
 *  Header/nav/hamburger styles 
 * -------------------------------------------------- */
header .wpbf-navigation {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

header .wpbf-navigation,
header .wpbf-navigation .wpbf-mobile-menu-container {
    background-color: #ffffff;
    background-color: var(--sg-menu-background);
}

header .wpbf-sub-menu > .menu-item-has-children > .sub-menu {
    background-color: #ffffff;
    background-color: var(--sg-menu-background);
}

.wpbf-container.wpbf-nav-wrapper {
    max-width: 1200px;
    max-width: var(--sg-grid);
    padding: 24px 16px;
}

.wpbf-menu-right .wpbf-menu a {
    padding: 0 16px;
}

.wpbf-menu-right .wpbf-menu > li:last-of-type a {
    padding-right: 0;
}

.wpbf-menu .sub-menu .menu-item a {
    padding: 12px 16px;
}

.wpbf-mobile-logo,
.wpbf-logo {
    max-height: 60px;
}

.wpbf-mobile-logo a,
.wpbf-logo a {
    opacity: 1;
    display: inline-block;
}

.wpbf-mobile-logo img,
.wpbf-logo img {
    max-height: 60px;
    width: 100%;
}

nav .wpbf-menu li.menu-item a {
    color: #2c3e50;
    color: var(--sg-menu-color-link);
}

nav .wpbf-menu li a.link-disabled {
    cursor: initial;
}

nav .wpbf-menu li.menu-active > a,
nav .wpbf-menu li a:hover {
    color: #2c3e50;
    color: var(--sg-menu-color-link);
    opacity: 1;
}

nav .wpbf-menu .wpbf-sub-menu > .menu-item-has-children > a:after {
    font-size: 12px;
    margin-top: 5px;
    display: inline-block;
}

nav .menu-item.menu-item-icon > a {
    max-height: 24px;
}

nav .wpbf-menu .menu-item- {
    display: none;
}

nav#navigation .wpbf-menu {
    display: flex;
    align-items: center;
}

/* Mobile menu */
.wpbf-menu-toggle-container button {
    color: #2c3e50;
    color: var(--sg-menu-color-link);
    width: 48px;
    height: 48px;
}

.wpbf-menu-toggle-container button:before {
    font-size: 24px;
}

.wpbf-mobile-menu-hamburger .wpbf-mobile-nav-wrapper {
    padding: 10px 24px;
}

.wpbf-mobile-menu > .menu-item:last-child {
    border-bottom: none;
}

.wpbf-mobile-menu a {
    padding: 12px 24px;
    max-height: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.wpbf-mobile-menu .sub-menu a {
    padding-left: 40px;
}

.wpbf-mobile-menu-container nav {
    overflow-y: initial;
}

.wpbf-mobile-menu .menu-item-has-children .wpbf-submenu-toggle {
    height: 56px;
    padding: 12px 24px;
}

.wpbf-mobile-menu .menu-item {
    border-top: 1px solid #fff;
    border-top: 1px solid var(--sg-menu-border);
}

/* MEDIA QUERIES
 * --------------------------------------------------
 *  Media query styles
 * -------------------------------------------------- */
@media (min-width: 480px) {
    /* HEADER / NAV */
    .wpbf-container.wpbf-nav-wrapper {
        padding: 24px;
    }
}

@media (min-width: 768px) {
}

@media (min-width: 1025px) {
    body {
        font-size: 17px;
        font-size: var(--sg-font-p-max);
    }

    body:not(.sg-content-only) > #container {
        padding-top: 0;
    }

    /* HEADER / NAV */
    header .wpbf-navigation {
        position: relative;
        left: initial;
        right: initial;
        top: initial;
    }

    .wpbf-container.wpbf-nav-wrapper {
        padding: 24px 32px;
    }
}

@media (min-width: 1200px) {
    /* HEADER / NAV */
    .wpbf-container.wpbf-nav-wrapper {
        padding: 24px 48px;
    }
}
