/*
Theme Name: ETT
Author: Divs
Author URI: https://divs.hu/
Requires at least: 4.7
Requires PHP: 5.2.4
Tested up to: 7.4
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
Original: WP Bootstrap Starter
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Footer
--------------------------------------------------------------*/
:root {
  --ett1: #CCCEAF; /* Homok */
  --ett2: #030303; /* Fekete */
  --ett3: #F5F5F5; /* Background grey */
  --ett4: #E6E6E6; /* Line grey */
  --ett5: #B7C6B3; /* Map green */
  /* Shadows:
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  */
  /* +Fehér FFFFFF
  Használat:
  body {
    background: var(--xyz);
  }
  */
}
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: auto;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #24292e;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}
h1 {
  font-size: 32px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
.schoollist h2 {
  font-size: 18px;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}

p {
  margin-bottom: 1.5em;
}
h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}
/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/
.cn-buttons-container a {
  color: #030303;
}
.pc-menu {
  display: flex;
}
.mobile-menu {
  display: none;
  flex-direction: column;
}
.mobile-menu .menubuttons {
  flex-direction: column;
}

.mobile-menu .hamburger {
  height: 50px;
  display: flex;
  justify-content: end;
  padding: 10px 0;
  z-index: 1001;
}
.mobile-menu .hamburger span {
  font-weight: 500;
  height: 30px;
  font-size: 32px;
  cursor: pointer;
  position: relative;
}
.mobile-menu .mobmenu-wrap {
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 100vh;
  min-height: 100vh;
  top: 0;
  right: -400px;
  background: #ffffff;
  position: absolute;
  padding: 70px 20px;
  z-index: 999;
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  transition: 0.6s;
}
.mobmenu-active {
  right: 0px !important;
}
.menubar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #ffffff;
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  height: 70px;
  padding: 10px 30px;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 99;
}
.menubuttons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.menubar .banner {
  display: flex;
  flex-direction: row;
}
.menubar .logo {
  background-image: url("/wp-content/themes/ETT_by_divs/inc/img/graphics/FULL_HD_B.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
}
.menubar .logotext {
  padding-left: 5px;
  color: var(--ett2);
}
.menubar .logotext  {
  padding-left: 5px;
}
.menubar .banner {
  color: var(--ett2);
}
.menubar .banner:visited {
  color: var(--ett2);
}
.menubar .banner:hover {
  text-decoration: none;
}
.menubar .logotext .logotext1 {
  font-size: 36.5px;
  font-weight: 700;
  line-height: 50px;
}
.menubar .logotext .logotext2 {
  font-size: 7px;
  font-weight: 700;
  line-height: 7px;
  padding-left: 2px;
  top: -8px;
  position: relative;
}
.mbutton {
  display: flex;
  line-height: 40px;
  height: 40px;
  margin: 5px 5px;
  border-radius: 6px;
  transition: 0.3s;
}
.mbutton a {
  text-decoration: none;
  color: var(--ett2);
  padding: 10px;
  height: 40px;
  line-height: 20px;
  font-size: 16px;
  transition: 0.3s;
  width: 100%;
}
.mbutton a:hover, .mbutton:hover a {
  text-decoration: none;
  color: #ffffff;
}
.mbutton:hover {
  background-color: var(--ett2);
  color: #ffffff;
}
/*--------------------------------------------------------------
# Search forms
--------------------------------------------------------------*/
.mainpage-search {
  z-index: 3;
  position: relative;
}
.searccontainer {
  position: relative;
}
.search-form {
  border: 1px solid var(--ett2);
  border-radius: 6px;
  width: fit-content;
  overflow: hidden;
  margin: auto;
  background: #ffffff;
}
.search-form .form-control {
  border: 0;
  height: 100%;
  border-radius: 0;
  width: 500px;
}
.search-form .search-submit {
  background: var(--ett2);
  color: #ffffff;
  border-radius: 0;
}
.search-form .search-submit:hover {
  text-decoration: underline;
}
.search-form label {
  margin-bottom: 0;
}
.searchdecor {
  height: 4px;
  background-color: var(--ett4);
  width: 90%;
  margin: 0 5%;
  position: relative;
  top: -22px;
  border-radius: 99px;
  z-index: 2;
}
.categoryarchive article .entry-content {
  display: none;
}
/*--------------------------------------------------------------
# Footerbar
--------------------------------------------------------------*/
.site-info {
  width: 100%;
  height: 30px;
  background: black;
  display: flex;
  flex-direction: row;
  color: #ffffff;
  font-size: 14px;
  line-height: 30px;
}
.site-info a {
  color: #ffffff;
  text-decoration: none;
}
.cred1 {
  margin-left: 30px;
}
.sep {
  margin: 0 10px;
}
.cred3 {
  margin-left: auto;
  margin-right: 30px;
}
.credits {
  margin-right: 30px;
}
.credits img {
  width: 40px;
  position: relative;
  top: -1px;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}
/*--------------------------------------------------------------
# Middle content
--------------------------------------------------------------*/
.wrapper {
  margin-top: 120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.column {
  width: calc(100% + 20px);
  margin: 0 -10px;
  height: 30px;
  background: var(--ett1);
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
}
.column2 {
  width: calc(100% + 10px);
  margin: 0 -5px;
  height: 15px;
  background: var(--ett1);
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
}
.headblock {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
}
.spinner {
  height: 200px;
  width: 100%;
  position: relative;
}
.spinner-overlay, .spinner-img {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 220px;
}
.spinner-overlay {
  z-index: 2;
}
.spinner-img {
  z-index: 1;
  top: -220px;
}
.spinner-overlay img {
  max-width: 520px;
  position: absolute;
  top: -79px;
}
.spinner-img img {
  width: 500px;
  height: 500px;
}
.main-section1 {
  display: flex;
  flex-direction: column;
}
.main-section2 {
  display: flex;
  flex-direction: row;
  width: 90%;
  position: relative;
  margin: auto;
}
.mainpage-left, .mainpage-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.mainpage-left .main-button {
  height: 50px;
  font-weight: 600;
  border: 1px solid var(--ett2);
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 50px;
  overflow: hidden;
}
.mainpage-left .main-button a {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: var(--ett2);
  overflow: hidden;
  position: relative;
  padding-left: 10px;
  transition: 0.3s;
}
.mainpage-left .main-button a:hover {
  background: var(--ett2);
  text-decoration: none;
  color: #ffffff;
}
.mainpage-left .main-button .main-button-arrow {
  transform: skew(-20deg);
  background: var(--ett2);
  width: 50px;
  margin-right: -10px;
  text-align: center;
  padding-right: 10px;
  position: relative;
}
.mainpage-left .main-button .main-button-arrow span {
  transform: skew(20deg);
  color: #ffffff;
  font-weight: 500;
  line-height: 50px;
}
.mainpage-right2 {
  border: 1px solid var(--ett2);
  border-radius: 6px;
  height: 290px;
  margin-bottom: 10px;
  justify-content: center;
  display: flex;
  padding: 10px;
  position: relative;
}
.mainpage-right3 {
  border: 1px solid var(--ett2);
  border-radius: 6px;
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
}
.mapbutton {
  background: var(--ett2);
  width: fit-content;
  padding: 10px 20px;
  position: absolute;
  color: #ffffff;
  border-radius: 6px 0 6px 0;
  left: -1px;
  top: -1px;
  transition: 0.3s;
}
/* Disabled
.mapbutton:hover {
  color: var(--ett2);
  background: white;
  border: 1px solid var(--ett2);
}
*/
.mainpage-right2 img {
  height: 100%;
  width: auto;
  margin: auto;
  filter: invert(82%) sepia(9%) saturate(361%) hue-rotate(62deg) brightness(95%) contrast(88%);
}
.spacer1 {
  height: 4px;
  background-color: var(--ett4);
  width: 90%;
  margin: 20px 5%;
  position: relative;
  border-radius: 99px;
}
/*--------------------------------------------------------------
# MapFunction
--------------------------------------------------------------*/
.humaprender {
  fill: var(--ett5);
  transition: 0.3s;
}
.humaprender a {
  transition: 0.3s;
}
.humaprender a:visited {
  fill: var(--ett1);
  transition: 0.3s;
}
.humaprender a:hover {
  fill: var(--ett2);
  transition: 0.3s;
}
#baranya, #borsod, #vas, #bacskiskun, #hajdubihar, #pest, #somogy, #szabolcs, #bekes, #szolnok, #veszprem, #fejer, #csongrad, #sopron, #zala, #tolna, #heves, #nograd, #komarom, #budapest {
  display: none;
}
/* Disabled
.map-on .mainpage-left {
  width: 0px;
  padding: 0;
  border-radius: 0;
}
.map-on .mainpage-rigth {
  width: 100%;
  height: 600px;
}
.map-on .mainpage-rigth2 {
  height: 550px;
}
.map-on-spacer {
  height: 0;
  margin: 0;
}
.map-on-intro {
  height: 0;
  opacity: 0;
}
*/
/*--------------------------------------------------------------
# Intro
--------------------------------------------------------------*/
.main-intro {
  width: 40%;
  text-align: justify;
  margin: auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
  position: relative;
  margin-top: 30px;
  transition: 0.5s;
}
.intro-apo {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  font-weight: 700;
  position: absolute;
  width: fit-content;
  top: -35px;
  left: -60px;
}
.intro-title {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
}
.intro-text {

}
.intro-author1 {
  background: var(--ett2);
  color: #ffffff;
  width: fit-content;
  padding: 0 10px;
  margin-left: auto;
  margin-top: 10px;
}
.intro-author2 {
  margin-left: auto;
  width: 200px;
  text-align: right;
  font-size: 12px;
}
/*--------------------------------------------------------------
# Tile content
--------------------------------------------------------------*/
.tileswrapper {
  width: 79%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 150px;
}
.tilesrow {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 20px;
}
.tilesrow .tile1, .tilesrow .tile2 {
  background-color: #ffffff;
  border-radius: 6px;
  height: initial;
  padding: 15px;
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.16);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.tilesrow .tile1 {
  width: 60%;
}
.tilesrow .tile2 {
  width: 35%;
}
.tile1 h2, .tile2 h2 {
  margin-top: 0;
}
.tile1 ul li, .tile2 ul li {
  margin-bottom: 10px;
}
.tile1 ul li a, .tile2 ul li a {
  color: var(--ett2);
  font-weight: 500;
}
.tile1 ul li a:hover, .tile2 ul li a:hover {
  text-decoration: none;
}
.contriwrap {
  display: flex;
  flex-direction: column;
}
.tile2 .contributor {
  width: 100%;
  height: 24%;
  margin-bottom: 15px;
  display: flex;
  position: relative;
  max-height: 100px;
}
.tile1 .contributor img {
  height: 80px;
  width: auto;
}
.morebutton {
  padding: 10px;
  background: var(--ett2);
  border-radius: 6px;
  color: #ffffff;
  border: 1px solid var(--ett2);
  transition: 0.3s;
  width: fit-content;
  margin-top: auto;
}
.morebutton:hover {
  color: var(--ett2);
  background: #ffffff;
  text-decoration: none;
}
/*--------------------------------------------------------------
# CustomPosts1
--------------------------------------------------------------*/
.pagetitle {
  text-align: center;
  margin-bottom: 0;
}
.customtitle {
  text-align: center;
}
.custompostscontent {
  width: 80%;
  margin: auto;
  margin-bottom: 100px;
}
.custompostscontent .latestlist li {
  margin-bottom: 10px;
}
.custompostscontent .latestlist li a {
  color: var(--ett2);
  border: 1px solid var(--ett2);
  border-radius: 6px;
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 60%;
  transition: 0.3s;
  font-weight: 500;
}
.custompostscontent .latestlist li a:hover {
  color: #ffffff;
  background: var(--ett2);
}
.custompostscontent .schoollist li {
  width: 44%;
  border-radius: 6px;
  border: 1px solid var(--ett2);
  margin-bottom: 0;
  padding: 10px 10px 40px 10px;
  position: relative;
  height: initial;
}
.custompostscontent .schoollist li h2 {
  margin: 0;
  border-bottom: 3px solid var(--ett4);
  width: fit-content;
  padding-right: 15px;
}
.custompostscontent .schoollist li a {
  position: absolute;
  bottom: -1px;
  right: -1px;
  padding: 5px 15px;
  background: var(--ett2);
  color: #ffffff;
  border-radius: 6px 0 6px 0;
  transition: 0.3s;
  border: 1px solid var(--ett2);
}
.custompostscontent .schoollist li a:hover {
  background: #ffffff;
  color: var(--ett2);
  text-decoration: none;
}
.custompostscontent .schoollist .schoolcard {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 15px;
  flex-wrap: wrap;
  height: initial;
}
.custompostscontent .schoollist .schoolcard li:nth-child(4n+1), .custompostscontent .schoollist .schoolcard li:nth-child(4n) {
  width: 50%;
  height: fit-content;
  height: initial;
}
.custompostscontent .schoollist .schoolcard li .wp-block-post-excerpt__excerpt {
}
.custompostscontent .schoollist .schoolcard li:nth-child(4n+1) .wp-block-post-excerpt__excerpt, .custompostscontent .schoollist .schoolcard li:nth-child(4n) .wp-block-post-excerpt__excerpt {
  display: block;
}
.custompostscontent .postlist .postcard {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 15px;
  flex-wrap: wrap;
}
.custompostscontent .postlist li {
  width: 35%;
  border-radius: 6px;
  border: 1px solid var(--ett2);
  height: 150px;
  margin-bottom: 0;
  padding: 10px 10px 40px 10px;
  position: relative;
  height: 80px;
}
.custompostscontent .postlist li h3 {
  margin: 0;
  border-bottom: 3px solid var(--ett4);
  width: fit-content;
  padding-right: 15px;
}
.custompostscontent .postlist li a {
  color: var(--ett2);
}
.custompostscontent .postlist li h2 {
  margin: 0;
  border-bottom: 3px solid var(--ett4);
  width: fit-content;
  padding-right: 15px;
}
.custompostscontent .postlist .postcard li:nth-child(4n+1), .custompostscontent .postlist .postcard li:nth-child(4n) {
  width: 60%;
}
.page-template-customposts .jetpack-video-wrapper {
  display: flex !important;
  justify-content: center;
}
.mediapostscontent .schoollist .schoolcard .wp-block-post-featured-image {
  margin-top: 0;
}
.mediapostscontent .schoollist .schoolcard li:nth-child(4n+1), .mediapostscontent .schoollist .schoolcard li:nth-child(4n) {
  width: 32%;
}
.mediapostscontent .schoollist li {
  width: 32%;
}
.mediapostscontent .schoollist .schoolcard .wp-block-post-featured-image {
  border: 1px solid #000;
  overflow: hidden;
  margin-top: 0;
}
.mediapostscontent .schoollist .schoolcard .wp-block-post-featured-image a {
  position: relative;
  padding: 0;
  background: none;
  transition: 0.3s;
  border-radius: 0;
  border: 0;
  top: 0;
  left: 0;
}
.mediapostscontent .schoollist .schoolcard .wp-block-post-featured-image a img {
  transition: 0.3s;
}
.mediapostscontent .schoollist .schoolcard .wp-block-post-featured-image a:hover img {
  transform: scale(1.2);
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background-color: #563d7c ;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
  padding: .74rem 1rem;
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}
body:not(.theme-preset-active) #page-sub-header p {
color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: #cdbfe3;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #fff;
  font-weight: 600;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
    position: relative;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>.dropdown-menu {
    display: block;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>a:after {
    border-left-color: #fff;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
    float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.875rem;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}
.widget_categories .nav-link {
  display: inline-block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 3.75rem;
  padding-top: 4.125rem;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}
.force-justify .wp-block-latest-posts__post-title {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: #000000;
}
.force-justify .wp-block-latest-posts__post-excerpt {
  text-align: justify;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  font-size: 85%;
}
body:not(.theme-preset-active) footer#colophon {
  color: #99979c;
  background-color: #f7f7f7;
}
.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## PC
--------------------------------------------------------------*/
@media only screen and (max-width: 1500px) {

}
@media only screen and (max-width: 1366px) {

}
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}
@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .main-intro {
    width: 70%;
  }
  .mainpage-left, .mainpage-right {
    width: 100%;
  }
  .main-section2 {
    flex-wrap: wrap;
  }
  .tilesrow {
    gap: 20px;
    flex-wrap: wrap;
  }
  .tilesrow .tile1, .tilesrow .tile2 {
    width: 100%;
  }
  .mediapostscontent .schoollist li, .mediapostscontent .schoollist .schoolcard li:nth-child(4n+1), .mediapostscontent .schoollist .schoolcard li:nth-child(4n) {
    width: 48%;
  }
}
@media only screen and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
}
/*--------------------------------------------------------------
## Tablet
--------------------------------------------------------------*/
@media only screen and (min-width: 960px) and (max-width: 1024px) and (min-height: 1200px) {
  .pc-menu {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }
  .pc-menu {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}
@media only screen and (max-width: 799px) {
}
@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
}

/*--------------------------------------------------------------
## Phone
--------------------------------------------------------------*/
@media only screen and (max-width: 500px) {
  html {
    font-size: 75%;
  }
  .main-intro {
    width: 70%;
  }
  .mainpage-left, .mainpage-right {
    width: 100%;
  }
  .main-section2 {
    flex-wrap: wrap;
  }
  .tilesrow {
    gap: 20px;
    flex-wrap: wrap;
  }
  .tilesrow .tile1, .tilesrow .tile2 {
    width: 100%;
  }
  .menubar .logotext .logotext1 {
    font-size: 20.5px;
    line-height: 33px;
  }
  .menubar .logotext .logotext2 {
    display: none;
  }
  .menubar .logo {
    width: 30px;
    height: 30px;
  }
  .menubar {
    padding: 10px;
    height: 50px;
  }
  .mbutton {
    height: 40px;
    margin: 0 5px 10px 0;
  }
  .mbutton a {
    padding: 9px 8px;
    height: 40px;
    line-height: 22px;
    font-size: 16px;
    position: relative;
  }
  .wrapper {
    margin-top: 50px;
  }
  .pc-menu {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  .site-info {
    flex-wrap: wrap;
    height: fit-content;
  }
  .cred3 {
    margin-right: auto;
  }
  .credits {
    margin-right: auto;
  }
  .tileswrapper {
    width: 90%;
    margin-bottom: 50px;
  }
  .headblock {
    width: 100%;
    overflow: hidden;
  }
  .main-section2 {
    width: 100%;
  }
  .search-form .form-control {
    width: 100%;
    display: flex;
  }
  .search-form {
    width: 90%;
    display: flex;
  }
  .search-form label {
    width: 100%;
  }
  .searchdecor {
    width: 100%;
    margin: 0;
    top: -18px;
  }
  .spinner-overlay, .spinner-img {
    height: 215px;
  }
  .spinner-img {
    top: -215px;
  }
  .spinner-img img {
    max-width: unset;
  }
  .intro-apo {
    font-size: 70px;
    top: -30px;
    left: -35px;
  }
  .main-intro {
    margin-top: 10px;
  }
  .mobile-menu .hamburger {
    padding: 5px 0;
  }
  .mobile-menu .hamburger span {
    height: 24px;
    font-size: 24px;
  }
  .mobile-menu .mobmenu-wrap {
    width: 100vw;
    right: -100vw;
  }
  .mobmenu-active {
    right: 0;
  }
  .spacer1 {
    margin: 0 5%;
  }
  .custompostscontent {
    width: 95%;
  }
  .custompostscontent .latestlist li a {
    width: 100%;
  }
  .custompostscontent .schoollist .schoolcard li:nth-child(4n+1), .custompostscontent .schoollist .schoolcard li:nth-child(4n) {
    width: 100%;
  }
  .custompostscontent .schoollist li {
    width: 100%;
  }
}
@media only screen and (max-width: 480px) {
  .gdpr {
    margin: auto;
  }
  .site-info {
    padding: 0 40px;
  }
  .site-info a {
    margin: auto;
  }
  .site-info .sep3 {
    display: none;
  }
}
@media only screen and (max-width: 350px) {

}
/*--------------------------------------------------------------
## Odd sizes
--------------------------------------------------------------*/
@media only screen and (width: 800px) and (height: 600px) {
  .main-intro {
    width: 70%;
  }
  .mainpage-left, .mainpage-right {
    width: 100%;
  }
  .main-section2 {
    flex-wrap: wrap;
  }
  .tilesrow {
    gap: 20px;
    flex-wrap: wrap;
  }
  .tilesrow .tile1, .tilesrow .tile2 {
    width: 100%;
  }
  .menubar .logotext .logotext1 {
    font-size: 20.5px;
    line-height: 33px;
  }
  .menubar .logotext .logotext2 {
    display: none;
  }
  .menubar .logo {
    width: 30px;
    height: 30px;
  }
  .menubar {
    padding: 10px;
    height: 50px;
  }
  .mbutton {
    height: 30px;
    margin: 0 5px;
  }
  .mbutton a {
    padding: 9px 8px;
    height: 30px;
    line-height: 14px;
    font-size: 11px;
    position: relative;
  }
  .wrapper {
    margin-top: 80px;
  }
  .pc-menu {
    display: flex;
  }
  .mobile-menu {
    display: none;
  }
}
@media only screen and (min-width: 1024px) and (max-height: 850px) {

}
@media only screen and (max-width: 960px) and (min-width: 801px) {

}
/*--------------------------------------------------------------
## Animations
--------------------------------------------------------------*/
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 120s linear infinite;
  -moz-animation: rotating 120s linear infinite;
  -ms-animation: rotating 120s linear infinite;
  -o-animation: rotating 120s linear infinite;
  animation: rotating 120s linear infinite;
}