/*
Theme Name: Cornelsen H5P Twenty Twenty One Child Theme
Author: THIS IS! DMG
Author URI: https://www.thisisdmg.com
Description: Customized child theme for Cornelsen H5P
Template: twentytwentyone
Version: 4.0
*/

.site-main {
  margin-top: 0px;
  padding-bottom: 0px;
  min-height: 90vh;
}

.entry-header {
  display: none;
}

.entry-content
  > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 80rem !important;
  width: calc(100% - 8rem);
}
@media (max-width: 767px) {
  .entry-content
    > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    width: calc(100% - 2rem);
  }
}

.single .site-main > article > .entry-footer {
  display: none;
}

.comments-area {
  display: none;
}

.post-navigation {
  display: none;
}

.copyright-text {
  margin-top: 10px;
}

.entry-content p.copyright-text {
  font-size: 16px;
  line-height: 20px;
  color: #cccccc;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 10px;
  width: 100%;
  display: block;
}

header .container {
  background-color: #f6f7f9;
}

header .logoContainer {
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  align-items: flex-start;
  border-bottom: 1px solid #e1e5ea;
  padding: 12px 0px 12px 16px;
  font-size: 16px;
  font-weight: 600;
}

header .logoWrapper {
  max-width: 32px;
}

header .logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

header .title {
  align-self: center;
}

header .title h3 {
  margin-left: 8px;
  flex-wrap: wrap;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}

footer .container {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  padding: 10px 30px 60px;
  flex-direction: column;
  background-color: #ffffff;
  flex-wrap: wrap;
  margin-top: 1rem;
  gap: 1rem;
}

footer .copy-content {
  color: #a6b1bf;
}

footer .links {
  text-align: left;
  color: #666;
}

footer .links a {
  color: #a6b1bf;
  text-decoration: none;
}

footer .links .icon {
  object-fit: contain;
}

@media only screen and (min-width: 660px) {
  footer .links {
    text-align: right;
  }
  footer .container {
    flex-direction: row;
  }
}

/* 10/Jul/2023 */
.device-screen.off {
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
}
.device-screen.on {
  display: block;
  opacity: 1;
  transform: translateY(0px);
  pointer-events: unset;
}
.device-screen {
  width: calc(100% - 2rem);
  max-width: 500px;
  position: relative;
  border: 1px solid #ffa500;
  padding: 5px 10px;
  margin: 2rem auto -1rem;
  background-color: rgba(255, 167, 0, 0.3);
  transition: all 0.3s ease;
}
.device-screen p {
  font-family: inherit;
  font-size: 0.8rem;
}
.device-screen i.icon-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z' stroke='%23FFA500' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.16998 14.83L14.83 9.17004' stroke='%23FFA500' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.83 14.83L9.16998 9.17004' stroke='%23FFA500' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.device-screen i.icon-close:hover {
  transform: scale(1.2);
}
.device-screen i.icon-close:active {
  transform: scale(0.98);
}

.h5p_accordions {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e0e0e0;
}
.h5p_accordion_item_title {
  padding: 10px 15px;
  padding-right: 69px;
  background-color: #fafafa;
  color: #757575;
  cursor: pointer;
  position: relative;
}
.h5p_accordion_item_title:before,
.h5p_accordion_item_title:after {
  position: absolute;
  display: block;
  content: '';
  top: 26px;
  right: 17px;
  width: 16px;
  height: 2px;
  background-color: #757575;
}
.h5p_accordion_item_title:before {
}
.h5p_accordion_item_title:after {
  transform: rotate(90deg);
}
.h5p_accordion_item_title:hover {
  /* opacity: 0.8; */
}
.h5p_accordion_item_text {
  display: none;
  padding: 24px;
  border-top: 0;
  background-color: #f8f7f6;
  color: #757575;
}
.h5p_accordion_item.toggled .h5p_accordion_item_title {
  background-color: #f2efed;
  border-bottom: 1px solid #e0e0e0;
}
.h5p_accordion_item.toggled .h5p_accordion_item_title:before {
  transform: rotate(180deg);
}
.h5p_accordion_item.toggled .h5p_accordion_item_title:after {
  transform: rotate(0deg);
}
