/**
Theme Name: Zcooly Hack
Author: Agnes Leijon
Author URI: https://www.iusinnovation.se
Description: A child theme of Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zcooly-hack
Template: astra
*/
* {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

body {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}

p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
div,
br,
li,
td,
article {
  -moz-user-select: text;
  -webkit-user-select: text;
  user-select: text;
}

img,
div {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

#page {
  flex: 1 0 auto;
  /* sticky footer fix */
}

h1:not(.print-heading),
h2:not(.print-heading),
h3:not(.print-heading),
h4:not(.print-heading),
h5:not(.print-heading),
h6:not(.print-heading) {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

p {
  line-height: 1.7;
  margin-bottom: 1em;
}

.text-upper {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

button,
input[type=submit] {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

body:not(.search) .entry-title {
  display: none;
}

.text404 {
  max-width: 800px;
  margin: auto;
  padding: 2em;
  font-weight: 600;
  font-size: 18px;
}

.disable {
  pointer-events: none;
}

/* boxed content on theme and lessons */
body.logged-in-teacher .js-show-if-student {
  display: none;
}

body.logged-in-student .js-show-if-teacher {
  display: none;
}

body.page-template-tema #content,
body.page-template-lektion #content,
body.page-template-information #content,
body.search #content {
  max-width: 1500px;
  margin: auto;
}

/* header */
header .main-header-bar {
  background: linear-gradient(#1c899a, #005b69);
  position: relative;
  line-height: 2.7;
  box-shadow: 0 5px 15px 0 #666;
}

header .main-header-bar .site-branding {
  width: 100%;
  text-align: center;
  position: absolute;
  padding-bottom: 0;
}

header .main-header-bar .main-header-bar-navigation .main-navigation {
  width: 100%;
  padding-top: 1em;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex {
  display: block;
  /* disable flex to be able to split menu */
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li {
  float: left;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.menu-item-27 {
  float: right;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item {
  float: right;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item .ast-search-icon {
  right: -1em;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item .ast-search-icon a:before {
  color: #1c899a;
  font-size: 20px;
  background-color: #fff;
  border-radius: 100%;
  font-weight: 600;
  padding: 0.2em;
  transition: all 0.2s linear;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item .ast-search-icon a:hover:before {
  background-color: #005b69;
  transition: all 0.2s linear;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item .ast-search-menu-icon form {
  border: none;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item .ast-search-menu-icon form input {
  border-radius: 10px;
  padding: 0.3em 0.6em;
  line-height: 1.3;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex li.search-custom-menu-item .ast-search-menu-icon form input:focus {
  outline: none;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex a {
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 0 0.7em;
  transition: all 0.2s linear;
}

header .main-header-bar .main-header-bar-navigation .main-navigation .main-header-menu.ast-flex a:hover {
  color: #005b69;
}

.secondary-header-content {
  position: relative;
  width: 80%;
  max-width: 1000px;
  margin: 3em auto;
}

.secondary-header-content .greeting {
  background-color: #f9f9f9;
  padding: 1.8em;
}

.secondary-header-content .greeting h1 {
  margin-bottom: 0.8em;
  font-size: 20px;
}

body.logged-in-student header .main-header-bar {
  background: linear-gradient(#97ca4f, #628a29);
}

body:not(.logged-in) .astra-search-icon {
  pointer-events: none;
}

body:not(.page-template-startsida) .greeting {
  display: none;
}

.ast-search-menu-icon form {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
}

.ast-search-menu-icon form label {
  margin-right: 5px;
}

.ast-search-menu-icon form .search-submit {
  display: inline-block;
  background-color: #1c899a;
  transition: all 0.2s linear;
}

.ast-search-menu-icon form .search-submit:hover {
  background-color: #005b69;
  transition: all 0.2s linear;
}

.ast-mobile-menu-buttons .menu-toggle {
  transition: all 0.2s linear;
}

.ast-mobile-menu-buttons .menu-toggle:hover {
  background-color: #1c899a;
  transition: all 0.2s linear;
}

/* footer */
footer {
  flex-shrink: 0;
  /* for sticky footer */
}

footer .ast-small-footer {
  border-top: none;
}

/* login */
#user-type-choice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.75);
}

#user-type-choice .content-wrapper {
  height: 100%;
  width: 100%;
  padding: 10rem 1rem 0;
}

#user-type-choice .content {
  max-width: 650px;
  margin: 0 auto 0;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.separator {
  height: 1px;
  background-color: #707070;
  max-width: 350px;
  margin: auto;
}

.separator .separator-text {
  transform: translateY(-50%);
  display: inline-block;
  padding: 5px 10px;
  color: #707070;
  background-color: #f5f5f5;
  font-size: 14px;
}

.btn {
  display: inline-block;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: "nunito-extrabold", sans-serif;
  font-weight: 800;
  font-style: normal;
  border-radius: 0.31rem;
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.btn.inactive,
.btn:disabled {
  background-color: #b3b3b3 !important;
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
  color: white;
}

.btn:focus {
  outline: none;
}

.btn.btn--grass {
  background-color: #7eb135;
  color: #fff;
  border-radius: 0.31rem;
}

.btn.btn--grass:hover {
  background-color: rgba(126, 177, 53, 0.9);
}

/*body.page-id-4 {
    background: linear-gradient($teal, #fff 18em);
    position: relative;

    &:before {
        content: '';
        width: 100%;
        height: 8em;
        position: absolute;
        top: 3em;
        left: 0;
        background: url('img/zcooly-hack.png') no-repeat center;
        background-size: contain;
    }

    header,
    p.message,
    .ast-main-header-bar-alignment,
    .tml-user-links {
        display: none;
    }

    .entry-content {
        max-width: 650px;
        margin: 13em auto 0;
        padding: 0 2em;

        #loginform {

            input {
                line-height: 30px;
            }

            p {
                margin-bottom: 0;
                text-align: right;

                &#forgot {
                    font-weight: 600;
                    display: inline-block;
                    float: right;
                    clear: left;
                    margin: -.3em 0.2em 1.4em 0;
                    color: $dark-teal;
                    cursor: pointer;
                }
            }
        }
    }

    .tml-login {
        max-width: 600px;

        .login-intro {
            padding: .5em;
            font-weight: 600;
        }

        p.error {
            border: none;
            background-color: transparent;
            color: red;
            margin-bottom: 0;
        }

        input[type=text],
        input[type=password] {
            background: #fff;
            height: 3.5em;
            border: 2px solid $dark-teal;
            border-radius: 15px;
            color: $black;
            font-weight: 600;
            line-height: 3.5em;
            padding-left: 1.3em;
            outline: none;
        }

        input[type=submit] {
            width: 50%;
            max-width: 250px;
            transition: all .2s linear;

            &:hover {
                background-color: $teal;
                transition: all .2s linear;
            }

            &.inactive,
            &.inactive:hover {
                background-color: $gray;
                cursor: auto;
                pointer-events: none;
            }
        }
    }

    #forgot-popup {
        position: fixed;
        z-index: 500;
        width: 100%;
        height: 100%;
        overflow: auto;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 0 10px;
        cursor: pointer;

        #forgot-popup-container {
            z-index: 1000;
            max-width: 500px;
            margin: 7em auto;
            background-color: #fff;
            border-radius: 10px;
            cursor: default;
            padding: 2em 3em;

            .forgot-heading {
                font-size: 22px;
                font-weight: 600;
                color: $dark-teal;
                margin-bottom: 0;
                line-height: 1.5;

                &.main-heading {
                    padding-bottom: .4em;
                    border-bottom: 4px solid $light-teal;
                    margin-bottom: 1.2em;
                }
            }

            .forgot-text {
                margin-bottom: 1em;
            }

            button {
                width: 45%;
                margin: 2em auto 0;
                display: block;
                transition: all .2s linear;

                &:hover {
                    background-color: $teal;
                    transition: all .2s linear;
                }
            }
        }
    }

    .noaccess {
        font-weight: 600;
        color: red;
        padding: .5em;
    }

}*/
/* theme headings */
.theme-heading {
  border-bottom: 4px solid #59b5ca;
  position: relative;
  padding-bottom: 0.8em;
}

.theme-heading .heading-button {
  position: absolute;
  bottom: 0.5em;
  width: 3.5em;
  height: 3.5em;
  border-radius: 100%;
  cursor: pointer;
  transition: all 0.2s linear;
}

.theme-heading .heading-button.back-button {
  left: -10%;
  background: #fff url("/wp-content/themes/zcooly-hack/img/ikon_arrow_blue.svg") no-repeat center;
  background-size: 100%;
}

.theme-heading .heading-button.printer-button {
  right: -10%;
  background: #fff url("/wp-content/themes/zcooly-hack/img/ikon_printer_button.svg") no-repeat center;
  background-size: 60%;
}

.theme-heading .heading-button.printer-button>div {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.theme-heading .heading-button:hover {
  background-color: #005b69;
  transition: all 0.2s linear;
}

.theme-heading .choice {
  position: absolute;
  width: 2.5em;
  height: 2.5em;
  bottom: 1em;
  background-color: #005b69;
  border-radius: 100%;
}

.theme-heading .choice.stage-chosen {
  left: 0;
}

.theme-heading .choice.stage-chosen:before {
  content: "?";
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 2.9em;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.theme-heading .choice.stage-chosen.stage-fsk:before {
  content: "FSK";
}

.theme-heading .choice.stage-chosen.stage-fklass:before {
  content: "F";
}

.theme-heading .choice.stage-chosen.stage-1-3:before {
  content: "1-3";
}

.theme-heading .choice.stage-chosen.stage-4-6:before {
  content: "4-6";
}

.theme-heading .choice.stage-chosen.stage-7-9:before {
  content: "7-9";
}

.theme-heading .choice.stage-chosen.stage-gy:before {
  content: "GY";
}

.theme-heading .choice.all-themes {
  left: 3em;
  background: #005b69 url("img/ikon_all_themes.svg") no-repeat center;
  background-size: 80%;
}

.theme-heading .choice.theme-chosen {
  left: 6em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.theme-heading .choice.lesson-chosen {
  left: 9em;
}

.theme-heading .choice.lesson-chosen span {
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  line-height: 2.9em;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

body:not(.logged-in) .printer-button {
  pointer-events: none;
}

body:not(.logged-in) .printer-button:hover {
  background-color: #fff;
}

body:not(.logged-in) .printer-button>div {
  pointer-events: all !important;
  cursor: default;
}

body.page-template-lektion .theme-chosen,
body.page-template-lektion .stage-chosen,
body.page-template-lektion .all-themes {
  cursor: pointer;
  transition: all 0.2s linear;
}

body.page-template-lektion .theme-chosen:hover,
body.page-template-lektion .stage-chosen:hover,
body.page-template-lektion .all-themes:hover {
  background-color: #1c899a;
  transition: all 0.2s linear;
}

body.page-template-tema .stage-chosen,
body.page-template-tema .all-themes {
  cursor: pointer;
  transition: all 0.2s linear;
}

body.page-template-tema .stage-chosen:hover,
body.page-template-tema .all-themes:hover {
  background-color: #1c899a;
  transition: all 0.2s linear;
}

body.page-template-startsida .stage-chosen {
  cursor: pointer;
  transition: all 0.2s linear;
}

body.page-template-startsida .stage-chosen:hover {
  background-color: #1c899a;
  transition: all 0.2s linear;
}

/* start page */
.page-template-startsida .site-content {
  background: linear-gradient(#d9ecf0, #fff);
  padding-top: 1.8em;
}

.stage-buttons {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  justify-content: space-around;
  width: 90%;
  max-width: 600px;
  margin: 3em auto;
  flex-wrap: wrap;
}

.stage-buttons .stage-button {
  background: linear-gradient(#59b5ca, #005b69 70%);
  background-size: 200px;
  width: 9.2em;
  height: 9.2em;
  border-radius: 100%;
  border: 6px solid #fff;
  cursor: pointer;
  position: relative;
  margin: 0 0.75em 2em;
  transition: background 0.2s linear;
}

.stage-buttons .stage-button:hover {
  background-position: 100px;
  transition: background 0.2s linear;
}

.stage-buttons .stage-button span {
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  line-height: 4.4em;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 30px;
}

#choose-theme {
  width: 80%;
  max-width: 1000px;
  margin: auto;
}

#choose-theme .theme-heading .heading-button.back-button {
  background: #1c899a url("/wp-content/themes/zcooly-hack/img/ikon_arrow_white.svg") no-repeat center;
  background-size: 100%;
}

#choose-theme .theme-heading .heading-button.back-button:hover {
  background-color: #005b69;
}

#choose-theme .theme-buttons {
  margin: 4em auto 12em;
  display: flex;
  /*grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
  justify-items: center;*/
  justify-content: center;
  flex-wrap: wrap;
}

#choose-theme .theme-buttons .theme-button {
  width: 7.8em;
  padding-top: 7.8em;
  margin: 0 0.5em 3.8em;
  background-color: #59b5ca;
  border-radius: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s linear;
}

#choose-theme .theme-buttons .theme-button span {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

#choose-theme .theme-buttons .theme-button span.theme-name {
  bottom: -2.2em;
}

#choose-theme .theme-buttons .theme-button span.disabled {
  bottom: -3.7em;
}

#choose-theme .theme-buttons .theme-button:hover {
  background-color: #005b69;
  transition: all 0.2s linear;
}

#choose-theme .theme-buttons .theme-button:hover:before {
  background-color: #59b5ca;
}

#choose-theme .theme-buttons .theme-button:hover span.theme-name {
  display: block;
}

#choose-theme .theme-buttons .theme-button:before {
  content: "";
  display: inline-block;
  width: 3em;
  height: 0.5em;
  background-color: #59b5ca;
  position: absolute;
  left: -3em;
  top: 3.75em;
}

#choose-theme .theme-buttons .theme-button.firstinrow:before {
  display: none;
}

#choose-theme .theme-buttons .theme-button.inactive {
  background-color: #ccc;
}

#choose-theme .theme-buttons .theme-button.inactive:before {
  background-color: #ccc;
}

#choose-theme .theme-buttons .theme-button.inactive:hover {
  background-color: #ccc;
}

#choose-theme .theme-buttons .theme-button.inactive:hover span.disabled {
  display: block;
}

#choose-theme .theme-buttons.mobile .theme-button span.theme-name {
  display: block;
}

#choose-theme .theme-buttons.mobile .theme-button.inactive span.disabled {
  display: block;
}

.no-lessons {
  margin: 2em auto 3em;
}

/* intro section for themes and lessons */
.intro-section {
  padding: 1.8em 0;
  background: linear-gradient(#1c899a, #59b5ca 70%);
  position: relative;
  z-index: 1;
  z-index: 2;
}

.intro-section:after {
  background: #59b5ca;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.intro-section:after {
  bottom: 0;
  transform: skewY(-2deg);
  transform-origin: 100%;
}

.intro-section .intro-container {
  width: 80%;
  max-width: 1000px;
  margin: auto;
  color: #fff;
}

.intro-section .intro-container h3,
.intro-section .intro-container h4,
.intro-section .intro-container h6 {
  color: #fff;
}

.intro-section .intro-container .theme-intro-text {
  margin-top: 2em;
}

.intro-section .intro-container .theme-intro-text .theme-intro-wrap.cropped-text {
  overflow: hidden;
  max-height: 100px;
}

.intro-section .intro-container .theme-intro-text .theme-intro-wrap.cropped-text.height-auto {
  max-height: none;
}

.intro-section .intro-container .theme-intro-text #readmore {
  cursor: pointer;
}

.intro-section .intro-container .theme-intro-text img,
.intro-section .intro-container .theme-intro-text iframe {
  max-height: 320px;
  display: block;
  margin: 0 auto 1em;
}

.intro-section .intro-container .theme-intro-text div:not(.nopadding) {
  padding-top: 320px !important;
  margin-bottom: 1em;
}

.intro-section .intro-container a {
  color: #fff;
  font-weight: 600;
}

.intro-section .intro-container a:hover {
  color: #f9f9f9;
}

.intro-section .intro-container p:last-child {
  margin-bottom: 0;
}

/* lesson list section for theme */
.lesson-list-section {
  padding-top: 4%;
  width: 95%;
  max-width: 1000px;
  margin: auto;
}

.lesson-list-section .lesson-list-container {
  margin: 1em auto 12em;
  display: flex;
  /* fallback for older browsers that do not support grid */
  flex-wrap: wrap;
  justify-content: space-around;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  justify-items: center;
}

.lesson-list-section .lesson-list-container a {
  height: 7em;
  width: 7em;
  margin: 1.5em 0;
  padding: 0.4em 0.8em;
  border-radius: 100%;
  background-color: #1c899a;
  box-shadow: 0 0 0 5px #d9ecf0;
  color: #fff;
  text-align: center;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.lesson-list-section .lesson-list-container a span {
  font-weight: 600;
  line-height: 1.3;
}

.lesson-list-section .lesson-list-container a span.lesson-number {
  font-size: 35px;
}

.lesson-list-section .lesson-list-container a span.lesson-name {
  font-size: 12px;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.lesson-list-section .lesson-list-container a:after {
  content: "";
  width: 7.6em;
  height: 8px;
  background-color: #d9ecf0;
  position: absolute;
  right: -7.6em;
  top: calc(50% - 3px);
}

.lesson-list-section .lesson-list-container a.lastinrow:after {
  display: none;
}

.lesson-list-section .lesson-list-container a:hover {
  background-color: #005b69;
}

#choose-stage-theme {
  margin-top: 2em;
}

#choose-stage-theme .stage-buttons .stage-button {
  border: 6px solid #d9ecf0;
}

/* intro section for lessons */
.section-toggle {
  padding: 1.1em 0;
  border-bottom: 4px solid #59b5ca;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section-toggle button {
  width: 30%;
  color: #1c899a;
  background-color: #fff;
  border: none;
  padding: 0.2em;
  transition: all 0.2s linear;
}

.section-toggle button:hover,
.section-toggle button.active {
  color: #fff;
  background-color: #1c899a;
  transition: all 0.2s linear;
}

.lesson-intro-text {
  margin-top: 1em;
}

.lesson-intro-text p {
  margin-top: 1em;
}

/* lesson and evaluation section */
.lesson-section .lesson-tip,
.lesson-section .slide-tip {
  background-color: #fdf2d6;
  padding: 1em 2em 2em;
  margin-bottom: 1em;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
}

.lesson-section .lesson-tip .bulb,
.lesson-section .slide-tip .bulb {
  height: 5em;
  width: 5em;
  padding: 1em;
  background: linear-gradient(#f9e019, #e39907);
  border-radius: 100%;
  margin-right: 2em;
}

.lesson-section .lesson-tip p,
.lesson-section .slide-tip p {
  margin: 0;
}

.lesson-section .lesson-tip {
  width: 100%;
  position: relative;
  z-index: 1;
}

.lesson-section .lesson-tip:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .lesson-tip:before {
  top: 0;
  transform: skewY(1.5deg);
  transform-origin: 100% 0;
}

.lesson-section .lesson-wrap {
  width: 100%;
  background-color: #f9f9f9;
  padding: 2em 3em;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.lesson-section .lesson-wrap>div {
  width: 46%;
}

.lesson-section .lesson-wrap>div p:last-child {
  margin-bottom: 0;
}

.lesson-section .lesson-wrap.lesson-wrap-1 {
  position: relative;
  z-index: 1;
  position: relative;
  z-index: 1;
  margin: 4.7% 0 3.8%;
}

.lesson-section .lesson-wrap.lesson-wrap-1:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .lesson-wrap.lesson-wrap-1:before {
  top: 0;
  transform: skewY(-2deg);
  transform-origin: 0 0;
}

.lesson-section .lesson-wrap.lesson-wrap-1:after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .lesson-wrap.lesson-wrap-1:after {
  bottom: 0;
  transform: skewY(-1.5deg);
  transform-origin: 100%;
}

.lesson-section .lesson-wrap.lesson-wrap-2 {
  position: relative;
  z-index: 1;
  margin: 3.8% 0 1em;
}

.lesson-section .lesson-wrap.lesson-wrap-2:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .lesson-wrap.lesson-wrap-2:before {
  top: 0;
  transform: skewY(-1.5deg);
  transform-origin: 0 0;
}

.lesson-section .lesson-wrap.lesson-wrap-2.wrap-with-tip {
  position: relative;
  z-index: 1;
  margin-bottom: 3.8%;
}

.lesson-section .lesson-wrap.lesson-wrap-2.wrap-with-tip:before,
.lesson-section .lesson-wrap.lesson-wrap-2.wrap-with-tip:after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .lesson-wrap.lesson-wrap-2.wrap-with-tip:before {
  top: 0;
  transform: skewY(-1.5deg);
  transform-origin: 0 0;
}

.lesson-section .lesson-wrap.lesson-wrap-2.wrap-with-tip:after {
  bottom: 0;
  transform: skewY(1.5deg);
  transform-origin: 0 0;
}

.lesson-section .lesson-wrap .wrap-divider {
  position: absolute;
  top: -14%;
  left: calc(50% - .5em);
  width: 1.2%;
  height: 115%;
  background-color: #fff;
}

.lesson-section .lesson-wrap h4 {
  margin-bottom: 1em;
}

.lesson-section .lesson-wrap .lesson-props .downloadable:after {
  content: "";
  width: 1.3em;
  height: 1.3em;
  border-radius: 100%;
  background: #1c899a url("/wp-content/themes/zcooly-hack/img/ikon_download_button.svg") no-repeat center;
  background-size: 35%;
  margin-left: 0.5em;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.2s linear;
}

.lesson-section .lesson-wrap .lesson-props .downloadable:hover:after {
  background-color: #59b5ca;
  transition: all 0.2s linear;
}

.lesson-section .lesson-wrap .lesson-props h6:before,
.lesson-section .lesson-wrap .lesson-props div:before {
  content: "";
  width: 1.6em;
  height: 1.6em;
  margin-right: 1em;
  background-size: contain;
  display: inline-block;
}

.lesson-section .lesson-wrap .lesson-props p {
  display: inline-block;
}

.lesson-section .lesson-wrap .lesson-props .timespend {
  margin-bottom: 2em;
}

.lesson-section .lesson-wrap .lesson-props .timespend:before {
  vertical-align: middle;
  background-image: url("img/ikon_time.svg");
}

.lesson-section .lesson-wrap .lesson-props .props:before {
  vertical-align: top;
  background-image: url("img/ikon_document.svg");
}

.lesson-section .lesson-wrap .lesson-process li {
  margin-bottom: 0.8em;
}

.lesson-section .lesson-wrap ul {
  margin-bottom: 0.7em;
}

.lesson-section .teacher-section .teacher-sub-sections img {
  max-width: 60%;
  margin: auto;
  display: block;
}

.lesson-section .teacher-section .teacher-sub-sections iframe {
  max-width: 100%;
  margin: auto;
  display: block;
}

.lesson-section .eval-wrap {
  position: relative;
  z-index: 1;
  margin: 4.7% 0 1em;
}

.lesson-section .eval-wrap:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .eval-wrap:before {
  top: 0;
  transform: skewY(-2deg);
  transform-origin: 0 0;
}

.lesson-section .eval-wrap .eval-heading {
  margin-bottom: 1em;
}

.lesson-section .eval-wrap .eval-heading .heading-img {
  width: 2.7em;
  margin-right: 1em;
}

.lesson-section .eval-wrap .eval-heading h4 {
  display: inline;
  vertical-align: middle;
}

.lesson-section .eval-wrap .document-link {
  width: 4em;
  height: 4em;
  border-radius: 100%;
  background: #1c899a url("img/ikon_download_button.svg") no-repeat center;
  background-size: 35%;
  margin: auto;
  display: block;
}

.lesson-section .eval-wrap .document-link:hover {
  background-color: #005b69;
}

.lesson-section .student-slide .slide-content-wrapper {
  position: relative;
  z-index: 1;
  background-color: #f9f9f9;
  margin: 4.7% 0 1em;
}

.lesson-section .student-slide .slide-content-wrapper:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .student-slide .slide-content-wrapper:before {
  top: 0;
  transform: skewY(-2deg);
  transform-origin: 0 0;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content {
  width: 80%;
  max-width: 1000px;
  margin: auto;
  padding: 1em 0 2em;
  position: relative;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content h4 {
  padding-bottom: 0.7em;
  border-bottom: 4px solid #59b5ca;
  margin-bottom: 2em;
  position: relative;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content h4 span {
  font-size: 14px;
  position: absolute;
  bottom: 0.7em;
  right: 0;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .slide-image,
.lesson-section .student-slide .slide-content-wrapper .slide-content>iframe {
  max-width: 60%;
  display: block;
  margin: auto;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .slide-image,
.lesson-section .student-slide .slide-content-wrapper .slide-content iframe {
  max-height: 320px;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content>div:not(.change-slide) {
  padding-top: 320px !important;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide {
  position: absolute;
  width: 3.5em;
  height: 3.5em;
  border-radius: 100%;
  background: #1c899a url("img/ikon_arrow_white.svg") no-repeat center;
  background-size: 100%;
  top: 2.1em;
  cursor: pointer;
  transition: all 0.2s linear;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide:hover {
  background-color: #005b69;
  transition: all 0.2s linear;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide.prev-slide {
  left: -11%;
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide.next-slide {
  right: -11%;
  transform: rotate(180deg);
}

.lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide.end-slide {
  pointer-events: none;
  background-color: #ccc;
}

.lesson-section .student-slide .slide-content-wrapper.slide-with-tip {
  position: relative;
  z-index: 1;
  margin-bottom: 3.6%;
}

.lesson-section .student-slide .slide-content-wrapper.slide-with-tip:after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .student-slide .slide-content-wrapper.slide-with-tip:after {
  bottom: 0;
  transform: skewY(-1.5deg);
  transform-origin: 100%;
}

.lesson-section .student-slide .slide-tip {
  position: relative;
  z-index: 1;
}

.lesson-section .student-slide .slide-tip:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.lesson-section .student-slide .slide-tip:before {
  top: 0;
  transform: skewY(-1.5deg);
  transform-origin: 0 0;
}

.lesson-section a {
  font-weight: 600;
}

/* information pages */
.intro-information {
  padding: 4em 0 5em;
}

.info-section {
  width: 100%;
}

.info-section .info-content-wrap {
  padding: 1em 0 0.1em;
  background-color: #f9f9f9;
  margin: 3.8% 0;
}

.info-section .info-content-wrap .info-content {
  width: 80%;
  max-width: 1000px;
  margin: auto;
}

.info-section .info-content-wrap .info-content h4 {
  margin-bottom: 1em;
}

.info-section .info-content-wrap .info-content>img,
.info-section .info-content-wrap .info-content>iframe {
  max-width: 60%;
  display: block;
  margin: 0 auto 1em;
}

.info-section .info-content-wrap .info-content>img,
.info-section .info-content-wrap .info-content iframe {
  max-height: 320px;
}

.info-section .info-content-wrap .info-content>div {
  padding-top: 320px !important;
}

.info-section .info-content-wrap:nth-child(even) {
  position: relative;
  z-index: 1;
}

.info-section .info-content-wrap:nth-child(even):before,
.info-section .info-content-wrap:nth-child(even):after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.info-section .info-content-wrap:nth-child(even):before {
  top: 0;
  transform: skewY(-1.5deg);
  transform-origin: 0 0;
}

.info-section .info-content-wrap:nth-child(even):after {
  bottom: 0;
  transform: skewY(1.5deg);
  transform-origin: 0 0;
}

.info-section .info-content-wrap:nth-child(odd) {
  position: relative;
  z-index: 1;
}

.info-section .info-content-wrap:nth-child(odd):before,
.info-section .info-content-wrap:nth-child(odd):after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.info-section .info-content-wrap:nth-child(odd):before {
  top: 0;
  transform: skewY(1.5deg);
  transform-origin: 100% 0;
}

.info-section .info-content-wrap:nth-child(odd):after {
  bottom: 0;
  transform: skewY(-1.5deg);
  transform-origin: 100%;
}

.info-section .info-content-wrap:first-child {
  position: relative;
  z-index: 1;
  position: relative;
  z-index: 1;
  margin-top: 4.7%;
}

.info-section .info-content-wrap:first-child:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.info-section .info-content-wrap:first-child:before {
  top: 0;
  transform: skewY(-2deg);
  transform-origin: 0 0;
}

.info-section .info-content-wrap:first-child:after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.info-section .info-content-wrap:first-child:after {
  bottom: 0;
  transform: skewY(-1.5deg);
  transform-origin: 100%;
}

.info-section .info-content-wrap:last-child {
  margin-bottom: 1em;
}

.info-section .info-content-wrap:last-child:after {
  display: none;
}

/* search result page */
/* since we cannot easily change the theme's result page, we have to override some theme styles instead */
.intro-search {
  padding: 4em 0 5em;
}

.intro-search .ast-archive-description {
  padding: 0;
  border-bottom: none;
  margin: 0;
}

.intro-search .ast-archive-description .page-title {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.875rem;
  color: #fff;
  margin: 0;
}

.intro-search .result-count {
  font-size: 1.2rem;
  margin-top: 0.5em;
}

body.search .no-results form {
  margin-top: 2.5em;
}

body.search .no-results form .search-field {
  border-radius: 10px;
  padding: 0.4em 0.75em;
}

body.search .no-results form .search-submit {
  border-radius: 10px;
  padding: 0.23em 0.75em;
}

body.search .ast-row {
  margin: auto;
}

body.search .ast-row article {
  border-bottom: none;
  background-color: #f9f9f9;
  margin: 1.9% 0;
  text-align: center;
}

body.search .ast-row article:nth-child(odd) {
  position: relative;
  z-index: 1;
}

body.search .ast-row article:nth-child(odd):before,
body.search .ast-row article:nth-child(odd):after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

body.search .ast-row article:nth-child(odd):before {
  top: 0;
  transform: skewY(-1.5deg);
  transform-origin: 0 0;
}

body.search .ast-row article:nth-child(odd):after {
  bottom: 0;
  transform: skewY(1.5deg);
  transform-origin: 0 0;
}

body.search .ast-row article:nth-child(even) {
  position: relative;
  z-index: 1;
}

body.search .ast-row article:nth-child(even):before,
body.search .ast-row article:nth-child(even):after {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

body.search .ast-row article:nth-child(even):before {
  top: 0;
  transform: skewY(1.5deg);
  transform-origin: 100% 0;
}

body.search .ast-row article:nth-child(even):after {
  bottom: 0;
  transform: skewY(-1.5deg);
  transform-origin: 100%;
}

body.search .ast-row article:last-child {
  margin-bottom: 1em;
}

body.search .ast-row article:last-child:after {
  display: none;
}

body.search .ast-row article:first-child {
  position: relative;
  z-index: 1;
  margin-top: 4.7%;
}

body.search .ast-row article:first-child:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

body.search .ast-row article:first-child:before {
  top: 0;
  transform: skewY(-2deg);
  transform-origin: 0 0;
}

body.search .ast-row article:first-child:before {
  height: 40%;
}

body.search .ast-row article .blog-layout-1 {
  border-bottom: 0;
  padding: 1.3em 0;
}

body.search .ast-row article .entry-header {
  margin: 2em 0;
}

body.search .ast-row article .entry-header .entry-title {
  font-size: 1.25rem;
}

body.search .no-results {
  background-color: #f9f9f9;
  margin: 4.7% 0 1em;
  padding: 4em 0;
  position: relative;
  z-index: 1;
}

body.search .no-results:before {
  background: inherit;
  content: "";
  display: block;
  height: 30%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

body.search .no-results:before {
  top: 0;
  transform: skewY(-2deg);
  transform-origin: 0 0;
}

body.search .no-results #ajaxsearchlite2 {
  display: none;
}

/* theme icons */
#theme-intro {
  background-image: url("img/ikon_tema01_intro.svg");
}

#theme-intro.inactive {
  background-image: url("img/ikon_outline_tema01_intro.svg");
}

#theme-analog {
  background-image: url("img/ikon_tema_analog.svg");
}

#theme-analog.inactive {
  background-image: url("img/ikon_outline_tema_analog.svg");
}

#theme-scratchjr {
  background-image: url("img/ikon_tema_scratchJR.svg");
}

#theme-scratchjr.inactive {
  background-image: url("img/ikon_outline_tema_scratchJR.svg");
}

#theme-scratch {
  background-image: url("img/ikon_tema_scratch.svg");
}

#theme-scratch.inactive {
  background-image: url("img/ikon_outline_tema_scratch.svg");
}

#theme-microbit {
  background-image: url("img/ikon_tema_microbit.svg");
}

#theme-microbit.inactive {
  background-image: url("img/ikon_outline_tema_microbit.svg");
}

#theme-kommunikation {
  background-image: url("img/ikon_tema02_kommunikation.svg");
}

#theme-kommunikation.inactive {
  background-image: url("img/ikon_outline_tema02_kommunikation.svg");
}

#theme-halsa {
  background-image: url("img/ikon_tema03_halsa.svg");
}

#theme-halsa.inactive {
  background-image: url("img/ikon_outline_tema03_halsa.svg");
}

#theme-kultur {
  background-image: url("img/ikon_tema04_kultur.svg");
}

#theme-kultur.inactive {
  background-image: url("img/ikon_outline_tema04_kultur.svg");
}

#theme-hallbarhet {
  background-image: url("img/ikon_tema05_hallbarhet.svg");
}

#theme-hallbarhet.inactive {
  background-image: url("img/ikon_outline_tema05_hallbarhet.svg");
}

#theme-samhalle {
  background-image: url("img/ikon_tema06_samhalle.svg");
}

#theme-samhalle.inactive {
  background-image: url("img/ikon_outline_tema06_samhalle.svg");
}

#theme-entreprenor {
  background-image: url("img/ikon_tema07_entreprenor.svg");
}

#theme-entreprenor.inactive {
  background-image: url("img/ikon_outline_tema07_entreprenor.svg");
}

#theme-introFSK {
  background-image: url("img/ikon_temaFSK01_intro.svg");
}

#theme-introFSK.inactive {
  background-image: url("img/ikon_outline_temaFSK01_intro.svg");
}

#theme-utomhus {
  background-image: url("img/ikon_temaFSK02_utomhus.svg");
}

#theme-utomhus.inactive {
  background-image: url("img/ikon_outline_temaFSK02_utomhus.svg");
}

#theme-berattande {
  background-image: url("img/ikon_temaFSK03_berattande.svg");
}

#theme-berattande.inactive {
  background-image: url("img/ikon_outline_temaFSK03_berattande.svg");
}

#theme-bee {
  background-image: url("img/ikon_temaFSK04_bee.svg");
}

#theme-bee.inactive {
  background-image: url("img/ikon_outline_temaFSK04_bee.svg");
}

#theme-sphero {
  background-image: url("img/ikon_temaFSK05_sphero.svg");
}

#theme-sphero.inactive {
  background-image: url("img/ikon_outline_temaFSK05_sphero.svg");
}

#theme-dot {
  background-image: url("img/ikon_temaFSK06_dot.svg");
}

#theme-dot.inactive {
  background-image: url("img/ikon_outline_temaFSK06_dot.svg");
}

#theme-introGY {
  background-image: url("img/ikon_temaGY01_intro.svg");
}

#theme-introGY.inactive {
  background-image: url("img/ikon_outline_temaGY01_intro.svg");
}

#theme-teknik {
  background-image: url("img/ikon_temaGY02_teknik.svg");
}

#theme-teknik.inactive {
  background-image: url("img/ikon_outline_temaGY02_teknik.svg");
}

#theme-matematik {
  background-image: url("img/ikon_temaGY03_matematik.svg");
}

#theme-matematik.inactive {
  background-image: url("img/ikon_outline_temaGY03_matematik.svg");
}

#theme-hosttermin {
  background-image: url("img/ikon_temaF01_hosttermin.svg");
}

#theme-hosttermin.inactive {
  background-image: url("img/ikon_outline_temaF01_hosttermin.svg");
}

#theme-vartermin {
  background-image: url("img/ikon_temaF02_vartermin.svg");
}

#theme-vartermin.inactive {
  background-image: url("img/ikon_outline_temaF02_vartermin.svg");
}

/* print templates */
.print-header#print-header-student,
.print-header#print-header-evaluation {
  page-break-before: always;
}

.print-header h3:not(.print-heading) {
  color: #1c899a;
  padding: 0.5em;
  border-bottom: 3px solid #59b5ca;
  border-top: 3px solid #59b5ca;
  margin-bottom: 0.8em;
}

.print-header h3.print-heading {
  line-height: 1;
}

.print-header h5 {
  margin-bottom: 1em;
}

.print-header .tag-list {
  font-weight: 600;
}

html.html-print {
  height: auto;
}

body.body-print {
  margin-left: 15mm;
  margin-right: 15mm;
  font-size: 95%;
  height: auto;
  display: block;
}

body.body-print p,
body.body-print li {
  line-height: 1.4;
}

body.body-print header.site-header,
body.body-print footer {
  display: none;
}

body.body-print .lesson-section .lesson-wrap {
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  flex-direction: column;
  padding: 1em 2em;
}

body.body-print .lesson-section .lesson-wrap.lesson-wrap-1,
body.body-print .lesson-section .lesson-wrap.lesson-wrap-2 {
  margin: 1em 0;
}

body.body-print .lesson-section .lesson-wrap.lesson-wrap-1:before,
body.body-print .lesson-section .lesson-wrap.lesson-wrap-1:after,
body.body-print .lesson-section .lesson-wrap.lesson-wrap-2:before,
body.body-print .lesson-section .lesson-wrap.lesson-wrap-2:after {
  display: none;
}

body.body-print .lesson-section .lesson-wrap>div {
  width: 100%;
  position: relative;
}

body.body-print .lesson-section .lesson-wrap>div.wrap-divider {
  display: none;
}

body.body-print .lesson-section .lesson-wrap>div:first-child {
  margin-bottom: 3em;
}

body.body-print .lesson-section .lesson-wrap>div:first-child:after {
  content: "";
  position: absolute;
  bottom: -2em;
  left: -3em;
  height: 1em;
  width: calc(100% + 6em);
  background-color: #fff;
}

body.body-print .lesson-section .student-slide .slide-content-wrapper {
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  margin: 1em 0;
}

body.body-print .lesson-section .student-slide .slide-content-wrapper:before {
  display: none;
}

body.body-print .lesson-section .student-slide .slide-content-wrapper .slide-content {
  padding: 1em 0;
}

body.body-print .lesson-section .student-slide .slide-content-wrapper .slide-content h4 {
  border-bottom: none;
  margin-bottom: 0;
}

body.body-print .lesson-section .lesson-tip,
body.body-print .lesson-section .slide-tip {
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  margin-bottom: 1em;
}

body.body-print .lesson-section .lesson-tip:before,
body.body-print .lesson-section .slide-tip:before {
  display: none;
}

body.body-print .lesson-section .lesson-tip .bulb,
body.body-print .lesson-section .slide-tip .bulb {
  height: 4em;
  width: 4em;
  padding: 0;
  margin-right: 1.3em;
}

body.body-print .lesson-section .eval-wrap {
  margin: 1em 0;
}

body.body-print .lesson-section .eval-wrap:before {
  display: none;
}

/* media queries */
@page {
  margin-top: 20mm;
  margin-bottom: 20mm;
}

@media screen {
  header.print-only {
    display: none;
  }

  .print-header {
    padding-top: 15mm;
  }
}

@media print {
  header.print-only {
    position: fixed;
    /* Display only on print page (each) */
    top: 0;
    right: 0;
  }

  header.print-only img {
    width: 12mm;
    height: auto;
  }
}

@media screen and (max-width: 1210px) and (min-width: 921px) {

  .lesson-section .teacher-section .teacher-sub-sections img,
  .lesson-section .teacher-section .teacher-sub-sections iframe {
    max-width: 100%;
  }

  header .main-header-bar .main-header-bar-navigation a {
    font-size: 12px;
  }

  .ast-search-menu-icon.ast-dropdown-active .search-field {
    width: 175px;
  }
}

@media screen and (max-width: 1060px) {
  .theme-heading .heading-button {
    position: relative;
    bottom: 0.2em;
    width: 2.5em;
    height: 2.5em;
  }

  .theme-heading .heading-button.back-button {
    left: 0;
    float: left;
  }

  .theme-heading .heading-button.printer-button {
    right: 0;
    float: right;
  }

  .theme-heading .choice {
    position: relative;
    float: left;
    bottom: 0.2em;
  }

  .theme-heading .choice.stage-chosen {
    left: 0.5em;
  }

  .theme-heading .choice.all-themes {
    left: 0.9em;
  }

  .theme-heading .choice.theme-chosen {
    left: 1.3em;
  }

  .theme-heading .choice.lesson-chosen {
    left: 1.7em;
  }
}

@media screen and (max-width: 920px) {
  header .main-header-bar .site-branding {
    position: relative;
  }

  .ast-header-break-point .ast-mobile-menu-buttons {
    justify-content: flex-end;
  }

  .ast-header-break-point header .main-header-bar .main-header-bar-navigation .main-header-menu.ast-flex {
    border-top: none;
  }

  .ast-header-break-point header .main-header-bar .main-header-bar-navigation .main-header-menu.ast-flex a {
    border-bottom: none;
    padding: 0 1.6em;
  }

  .ast-header-break-point header .main-header-bar .main-header-bar-navigation .main-header-menu.ast-flex form {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
  }

  .ast-header-break-point header .main-header-bar .main-header-bar-navigation .main-header-menu.ast-flex form label {
    flex-grow: 1;
    margin-right: 10px;
  }

  .ast-header-break-point header .main-header-bar .main-header-bar-navigation .main-header-menu.ast-flex form input.search-submit {
    position: relative;
  }

  .section-toggle-button {
    font-size: 0.9rem;
  }

  .lesson-section .lesson-wrap {
    flex-direction: column;
  }

  .lesson-section .lesson-wrap>div {
    width: 100%;
    position: relative;
  }

  .lesson-section .lesson-wrap>div.wrap-divider {
    display: none;
  }

  .lesson-section .lesson-wrap>div:first-child {
    margin-bottom: 6em;
  }

  .lesson-section .lesson-wrap>div:first-child:after {
    content: "";
    position: absolute;
    bottom: -3em;
    left: -3em;
    height: 0.7em;
    width: calc(100% + 6em);
    background-color: #fff;
    transform: skewY(-1.5deg);
  }
}

@media screen and (min-width: 769px) {
  body.page-template-lektion .theme-heading h3 {
    font-size: 1.5rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 768px) {

  .theme-heading .choice.stage-chosen:before,
  .theme-heading .choice.lesson-chosen span {
    line-height: 2.6em;
  }

  .stage-buttons .stage-button span {
    line-height: 4em;
  }

  .section-toggle-button {
    font-size: 0.75rem;
  }

  #choose-theme .theme-buttons .theme-button {
    width: 7em;
    padding-top: 7em;
  }

  #choose-theme .theme-buttons .theme-button:before {
    top: 3.25em;
  }

  .lesson-section iframe {
    height: auto;
  }

  .lesson-section .student-slide .slide-content-wrapper .slide-content .slide-image,
  .lesson-section .student-slide .slide-content-wrapper .slide-content iframe {
    max-width: 100%;
    margin-bottom: 1em;
  }

  .info-section .info-content-wrap .info-content>img,
  .info-section .info-content-wrap .info-content iframe {
    max-width: 100%;
  }

  .lesson-section .student-slide .slide-content-wrapper .slide-content {
    padding-bottom: 5em;
  }

  .lesson-section .student-slide .slide-content-wrapper .slide-content h4 {
    padding-bottom: 0.5em;
    font-size: 1rem;
  }

  .lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide {
    top: auto;
  }

  .lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide.prev-slide {
    left: 0;
  }

  .lesson-section .student-slide .slide-content-wrapper .slide-content .change-slide.next-slide {
    right: 0;
  }

  .lesson-section .teacher-section .teacher-sub-sections iframe {
    max-width: 100%;
  }

  .intro-section .intro-container .theme-intro-text iframe {
    max-width: 100%;
  }

  body.page-id-4 .entry-content #loginform .tml-submit-wrap {
    text-align: left;
    margin-top: 1em;
  }
}

@media screen and (max-width: 540px) {
  .section-toggle {
    padding-bottom: 0.4em;
  }

  .section-toggle .section-toggle-button {
    width: 48%;
    margin-bottom: 1em;
  }

  body.search .ast-row article {
    margin: 5% 0;
  }

  .lesson-section .teacher-section .teacher-sub-sections img {
    max-width: 100%;
  }
}

@media screen and (max-width: 440px) {
  .section-toggle-button {
    font-size: 0.7rem;
  }

  .lesson-section .lesson-tip .bulb,
  .lesson-section .slide-tip .bulb {
    height: 4em;
    width: 4em;
    margin-right: 1.3em;
  }
}

/* placeholder text */
::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ccc;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ccc;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ccc;
}

.float-right-important {
  float: right !important;
}

.w-4\/5 {
  width: 80%;
}

.text-dark {
  color: #6a6a6a;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

.horizontal-break {
  height: 1px;
  background-color: #717171;
}

.max-auto {
  margin-left: auto;
  margin-right: auto;
}

.js-show-if-teacher a,
.js-show-if-student a {
  padding-right: 0 !important;
}

.header-user-type {
  position: absolute;
  top: -10px;
  right: 0;
  color: white;
  font-size: 1rem;
}

@media screen and (max-width: 543px) {
  .header-user-type {
    position: absolute;
    top: 45px;
    right: 0;
    color: white;
    font-size: 1rem;
  }
}