/* =gridlicious
-------------------------------------------------------------- */
body {
	-moz-transition: left .25s ease-in-out;
	-webkit-transition: left .25s ease-in-out;
	transition: left .25s ease-in-out;
	position: relative;
	left: 0;
	color: #555;
    line-height: 1.6875;
	}
a, h1, h2, h3, h4, h5, h6 {
	color: #333;
	}
h4{
    font-family: PT_Sans!important;
}
	a:hover {
		color: #000;
		}

ul ul,
ol ol {
	margin: 0;
	}

pre,
code {
	background: #fff;
	border: 1px solid #ccc;
	color: #666;
	font-size: 12px;
	padding: 2px 4px;
	border-radius: 3px;
	}

pre {
	white-space: pre;
	word-wrap: normal;
	overflow-x: scroll;
	}

table {
	width: 100%;
	}

	tr:nth-of-type(odd) {
		background: #eee;
	}

	td, th {
		background: #fff;
		padding: 6px;
		border: 1px solid #bbb;
		text-align: left;
		}

	th {
		background: #eee;
		font-weight: bold;
		}

.fl {
	float: left;
	}

.fr {
	float: right;
	}

/*
 * Legacy Gridiculous Child CSS extracted for use as a plugin stylesheet
 * so it continues to apply after switching to Astra.
 *
 * Source: /wp-content/themes/gridiculous-child/style.css
 */

/* Astra Header Builder: logo and menu stacked (above each other), full width */
.main-header-bar-wrap .ast-builder-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  grid-column-gap: 20px;
  overflow-wrap: anywhere;
}

.main-header-bar-wrap .site-header-primary-section-left,
.main-header-bar-wrap .site-header-primary-section-right {
  width: 100%;
}

/* Menu row: full width, left-aligned (override Astra's flex-end) */
.main-header-bar-wrap .site-header-primary-section-right,
.main-header-bar-wrap .site-header-primary-section-right.ast-flex {
  justify-content: flex-start;
}

.main-header-bar-wrap .main-header-bar-navigation,
.main-header-bar-wrap .ast-builder-layout-element.ast-header-primary-navigation {
  width: 100%;
  flex: 1 1 auto;
  justify-content: flex-start;
}

.main-header-bar-wrap .main-header-menu {
  width: 100%;
  justify-content: flex-start;
}

@font-face {
  font-family: 'Josefin Slab';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url(/wp-content/themes/gridiculous-child/assets/fonts/Josefin_Slab/JosefinSlab-VariableFont_wght.woff2) format("woff2");
}

@font-face {
  font-family: 'PT Sans';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url(/wp-content/themes/gridiculous-child/assets/fonts/PT_Sans/PTSans-Regular.woff2) format("woff2");
}

h1 {
  font-size: 1.5em;
}

h6 {
  font-family: 'Josefin Slab', serif;
  font-weight: 400;
  text-align: justify;
  font-size: 1.5em;
}

body {
  font-family: 'PT Sans', Arial, sans-serif;
}

#site-title a {
  font-family: 'PT Sans', sans-serif;
}

#header hgroup {
  margin-bottom: 10px;
}

#site-navigation {
  margin: 10px 0 0 0;
}

/* ul#therapeutin li:first-child { */
/*   list-style: none; */
/* } */

/* 01.09.2021 changed from padding: 5px 18px; to prevent navbar wrap*/
#site-navigation li a {
  padding: 5px 16px;
}

#site-navigation li a:not(:last-child):after {
  content: "";
  width: 0;
  height: 0;
  margin: 0;
  background: none;
  float: right;
}

#site-navigation ul ul li a:not(:last-child):after {
  background-position: 0 0;
  width: 0;
  height: 0;
}

#site-navigation ul ul {
  top: 2.3em;
}

#main {
  padding-bottom: 0;
}

#footer-spacer {
  height: 70px;
}

.meteor-slides {
  border: 8px solid transparent;
}

div .post-content > p:first-child {
  position: relative;
  top: -8px;
  margin: 0;
}

td {
  border: none;
  vertical-align: top;
  padding: 10px;
  background: none;
}

#main {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.8)!important;
}

article {
  padding: 10px;
  border-bottom: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.post-title {
  font-family: 'Josefin Slab', serif;
  font-weight: 400;
  text-align: center;
}

.post-meta {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
}

.post-category,
.post-format,
.page-title {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
}

.post-content {
  font-family: 'PT Sans', Arial, sans-serif;
}

article img,
.home-widget img {
  padding: 10px;
  background: none;
  border: none;
}

.format-status .author a {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
}

.format-status .the-time {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
}

.archive-meta {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
}

ul .rsswidget {
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
}

/* 31.08.2021 fix wrapping navbar */
#site-navigation li a {
  padding: 5px 15px !important;
}

/* =Media query for smaller tablets and larger handheld devices
-------------------------------------------------------------- */
@media handheld, only screen and (max-width: 768px), only screen and (max-device-width: 768px) and (orientation: portrait) {
  .header-widget.widget_search,
  #site-navigation,
  #site-navigation li.menu-item-home,
  #footer-content span.gridiculous,
  #site-navigation li a:not(:last-child):after,
  #site-navigation ul ul li a:not(:last-child):after {
  }

  #site-navigation li,
  #site-navigation li a,
  #site-navigation ul ul {
    width: 100%;
  }

  #mobile-menu {
    display: block;
  }

  #site-navigation ul.menu {
    max-height: 260px;
    overflow-y: scroll;
  }

  #site-navigation li:hover,
  #site-navigation li li:hover {
    background: #444;
  }

  #site-navigation ul ul {
    display: block;
    position: static;
    opacity: 1 !important;
    background: inherit;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  #site-navigation ul ul li {
    padding-left: 20px;
  }

  #site-navigation ul ul {
    display: block;
    position: static;
    opacity: 1;
    background: inherit;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  #site-navigation li,
  #site-navigation li a,
  #site-navigation ul ul {
    width: 100%;
  }

  #site-navigation ul ul li {
    padding-left: 20px;
  }

  #site-navigation li li {
    clear: both;
    width: 100%;
  }

  #site-navigation li,
  #site-navigation li a,
  #site-navigation ul ul {
    width: 100%;
  }

  #site-navigation li {
    display: inline-block;
    position: relative;
    text-align: left;
    -moz-transition: color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
    -moz-transition: background-color 0.25s ease-in-out;
    -webkit-transition: background-color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out;
    float: left;
  }

  #site-navigation li a {
    padding: 5px 18px;
  }

  #site-navigation li,
  #site-navigation li a,
  #site-navigation ul ul {
    width: 100%;
  }

  #site-navigation li a {
    color: #eee;
    padding: 10px 15px;
    display: inline-block;
    text-shadow: 1px 1px 0 #000;
    text-decoration: none;
    width: 100%;
  }

  #site-navigation li,
  #site-navigation li a,
  #site-navigation ul ul {
    width: 100%;
  }

  #site-navigation li {
    display: inline-block;
    position: relative;
    text-align: left;
    -moz-transition: color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
    -moz-transition: background-color 0.25s ease-in-out;
    -webkit-transition: background-color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out;
    float: left;
  }

  #site-navigation .sub-menu {
    max-height: 260px;
    overflow-y: scroll;
  }
}


 .ast-theme-transparent-header #masthead {
    position: relative!important;
  }
.main-header-bar-wrap .site-header-primary-section-right, .main-header-bar-wrap .site-header-primary-section-right.ast-flex {
  justify-content: space-around;
}
#page .site-content {
  flex-grow: 1;
  min-height: 90vh;
}
 .ast-no-sidebar .site-content .ast-article-image-container--wide {
    display: none;
  }
 .site-content .ast-container {
    padding-bottom: 8rem;
  }
header.entry-header .entry-title {
  font-weight: 400;
  text-align: center;
}



body.myatu_bgm_body {
  background-size: cover!important;
}
.ast-footer-copyright {
  text-shadow: 1px 1px 0 #000;
}
header.entry-header .entry-title {
  font-size: 1.6rem!important;
}
p, .entry-content p {
  margin-bottom: 1em!important;
  margin-top: 1em!important;
}
/* Gridiculous table styling, reused with Astra */
.entry-content table {
  width: 100%;
}

.entry-content table tr:nth-of-type(odd) {
  background: #eee;
}

.entry-content table td,
.entry-content table th {
  /* background: #fff; */
  padding: 6px;
  border: 1px solid #bbb;
  text-align: left;
}
.entry-content table {

  background: rgba(255, 255, 255, 0.8);
}
.entry-content table th {
  background: #eee;
  font-weight: bold;
}
div.meteor-slides,
.meteor-slides .meteor-clip,
.meteor-slides .mslide,
.meteor-slides .mslide img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

#meteor-slideshowhome{
    margin-bottom: 4rem;
}

.site .site-content #primary .ast-article-single{
  padding-left: 1.5em;
  padding-right: 1.5em;
}

body.myatu_bgm_body { background-size: cover !important; }

.post-93 h4{
    font-family:Arial, Helvetica, sans-serif!important;
    font-size:16px!important;
    font-weight: 700!important;
}
h6, .entry-content :where(h6) {
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 1.7em;
  font-weight: 400;
}
