/*
 Theme Name:   Clarity
 Theme URI:
 Description:  Clarity Theme
 Author:       Mathias Bader
 Author URI:
 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:  clarity
*/
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 300; src: url('fonts/hind/Hind-300-Light.ttf'   ) format('woff2'); }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 400; src: url('fonts/hind/Hind-400-Regular.ttf' ) format('woff2'); }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 500; src: url('fonts/hind/Hind-500-Medium.ttf'  ) format('woff2'); }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 600; src: url('fonts/hind/Hind-600-SemiBold.ttf') format('woff2'); }
@font-face { font-family: 'Hind'; font-style: normal; font-weight: 700; src: url('fonts/hind/Hind-700-Bold.ttf'    ) format('woff2'); }
body {
    background-color: #f8f8f8;
    margin: 0; }
* { font-family: Hind, sans-serif; }
a { color: #486cd2; }
a:hover {
    text-decoration: underline; }
p { margin-top: 0; }
div.blog-post img.full-width { width: 100%; }


/* ------- Header */
header>div {
    width: 100%;
    padding-right: 16px;
    text-align: right; }
header {
    display: flex;
    border-bottom: 1px solid #eee; }
header>a>img {
    height: 115px;
    margin: 6px 32px 0 55px; }
header #title,
header nav {
    padding-left: 8px;
    padding-top: 13px; }
header #title {
    padding: 42px 12px 12px 40px;
    font-size: 1.8em; }
header nav ul {
    margin: 0;
    padding: 0 0 8px; }
header nav ul li {
    display: inline-block; }
header nav a {
    padding: 12px;
    font-size: 14px;
    text-decoration: none;
    color: black;
    font-weight: normal; }
header nav li.current-menu-item a {
    color: #005071;
    font-weight: bold; }
header nav a:hover {
    background-color: #e8f4fa;
    text-decoration: none;
    color: #005071; }
/* ------- Header END */


/* ------- Footer */
footer>nav {
    box-sizing: border-box;
    background-color: #3da8d5;
    width: 100%;
    padding: 16px 48px; }
footer a,
footer>div {
    color: #fff; }

footer nav a {
    display: inline-block;
    text-decoration: none;
    padding: 4px 30px;
    color: #fff; }
footer ul {
    margin: 0;
    padding: 0; }
footer ul li {
    display: inline-block; }
footer nav ul li.current-menu-item a { font-weight: bold; }
/* ------- Footer END */


/* ------- Main */
#wrapper {
    margin: 0 auto;
    max-width: 1300px;
    background-color: #fff;
    box-shadow: 4px 4px 16px 4px #ccc;
    line-height: 1.4em; }
main {
    padding: 0;
    min-height: 400px; }
main ul { margin-left: 36px; }
main ul { margin-left: 36px; }


div#title-div,
main>div.blog-post>div.wp-block-group:first-child {
    padding: 32px 80px;
    background-color: #00a48a;
    color: white; }
div#title-div { margin-bottom: 48px; }
div#title-div h2 {
    font-size: 30px;
    font-weight: normal; }
div.blog-post { padding: 32px 58px; }



main>div.blog-post>div.wp-block-group:first-child { margin-bottom: 32px; }
main>div.blog-post>div.wp-block-group {
    position: relative;
    overflow: hidden; }
div.blog-post>div.wp-block-group:first-child { background-color: #00a48a; }
div.blog-post>div.wp-block-group:first-child h2,
div.blog-post>div.wp-block-group:first-child h3 {
    font-weight: normal;
    font-size: 30px;
    line-height: 1.3em; }
main>div.blog-post>div.wp-block-group:first-child h3 {
    margin-top: 0;
}
div.blog-post>div.wp-block-group:first-child h3 { color: #203a86; }
div.blog-post>div.wp-block-group:first-child h2,
div.blog-post>div.wp-block-group:first-child p { color: white; }
div.blog-post>div.wp-block-group:first-child p {
    font-style: italic;
    margin-top: 46px; }

div.blog-post h3,
div.blog-post h4 {
    color: #203a86;
    margin-bottom: 0;
    margin-top: 0; }
div.blog-post h4 { margin-bottom: 8px; }

div.blog-post>h2 {
    font-weight: normal;
    font-size: 1.8em;
    margin-bottom: 18px; }

div.blog-post h3 { font-weight: bold; }
div.blog-post h3:first-child { margin-top: 0; }
div.blog-post h3 {
    margin-top: 64px;
    margin-bottom: 12px;
    font-size: 18px; }
main>div.blog-post>.wp-block-columns {
    align-items: flex-start; }
main>div.blog-post>.wp-block-columns>.wp-block-column:first-child>p {
    margin-top: 18px; }
/* ------- Main END */


/* ------- Themes */
main.layout-krankenbett-gruen>div.blog-post>div.wp-block-group:first-child {
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 80px;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-image: url("/wp-content/themes/clarity/img/krankenbett.png");
}
main.layout-hessenkarte img#hessenkarte {
    position: absolute;
    z-index: 10;
    margin-left: 502px;
    margin-top: 63px;
    width: 450px;
    height: 658px; }
main.layout-tischrunde .blog-post>p,
main.layout-hessenkarte .blog-post>p {
    max-width: 430px; }
main.layout-hessenkarte .blog-post p { max-width: 400px; }
main.layout-tischrunde img#tischrunde {
    position: absolute;
    z-index: 10;
    margin-left: 470px;
    margin-top: 64px; }
main.layout-tischrunde .blog-post>.wp-block-group:not(:first-child) {
    max-width: 600px; }
main.layout-krankenbett-gruen>div.blog-post>div.wp-block-group>.wp-block-group__inner-container {
    display: inline-block;
    background-color: rgba(0, 164, 138, 0.8); }
main.layout-krankenbett-gruen>div.blog-post>.wp-block-columns>.wp-block-column:first-child {
    margin-top: 24px;
    padding: 42px 24px 24px;
    color: white;
    background-color: #005581; }
main.layout-krankenbett-gruen>div.blog-post>.wp-block-columns>.wp-block-column:first-child>h2 {
    font-weight: normal;
    font-style: italic;
    color: white; }
main.layout-krankenbett-gruen>div.blog-post>.wp-block-columns>.wp-block-column:nth-child(2) {
    background-image: url("/wp-content/themes/clarity/img/krankenbett-denkblasen.png");
    background-repeat: no-repeat;
    height: 337px;
}
main.layout-multitasker>div.blog-post>.wp-block-columns>.wp-block-column:first-child {
    background-image: url("/wp-content/themes/clarity/img/multitasker.png");
    background-repeat: no-repeat;
    height: 360px;
    background-position: 0 42px; }
main.layout-multitasker>div.blog-post { padding-top: 64px; }

main.layout-krankenbett-denkblasen img#krankenbett-denkblasen {
    position: absolute;
    z-index: 10;
    margin-left: 502px;
    margin-top: 200px; }
/* ------- Themes END */


/* ------- Pulsating circle (Hessen map) */
.pulsating-circle {
    position: absolute;
    transform: translateX(-50%) translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: 20; }
.pulsating-circle:before {
    content: '';
    position: relative;
    display: block;
    width: 300%;
    height: 300%;
    box-sizing: border-box;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 45px;
    background-color: #00a48a;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; }
.pulsating-circle.bw:before {
    background-color: #a5a5a5; }
.pulsating-circle:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
    animation: pulse-dot 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite; }
@keyframes pulse-ring {
    0% { transform: scale(.33); }
    80%, 100% { opacity: 0; } }
@keyframes pulse-dot {
    0% { transform: scale(.8); }
    50% { transform: scale(1); }
    100% { transform: scale(.8); } }
/* ------- Pulsating circle END */

.btn a,
a.btn {
    background-color: #007bff;
    font-size: 16px;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin: 12px 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
.btn a:hover,
a.btn:hover {
    background-color: #0069d9;
    cursor: pointer; }
.btn.btn-red a,
a.btn.btn-red { background-color: #ff0000; }
.btn.btn-red:hover a,
a.btn.btn-red:hover { background-color: #e00000; }
.btn:disabled a,
.btn[disabled] a,
a.btn:disabled,
a.btn[disabled]{
    border: none;
    background-color: #eee;
    color: #666;
    cursor: not-allowed; }
+
/* Smartphone */
@media only screen and (max-width: 640px) {
    header { display: block; }
    header a { display: block; text-align: center; }
    header a img { margin: 8px auto 0; }
    header div#title { padding: 8px; line-height: 1.2; text-align: center; }
    header nav a { padding: 4px 8px; display: inline-block; }
    main>div.blog-post>div.wp-block-group { padding: 24px; }
    footer nav a { padding: 6px 18px; font-size: 12px; }
    .mobile-only { display: block; }
    .less-margin-top { margin-top: 0; }
    .img-container .bottom-right { font-size: 0.8em; padding: 2px 4px; }
    .it { display: block; margin-bottom: 24px; }
    .it .it-img { display: none; }
    .it .it-text img.mobile-only { width: 100%; margin-bottom: 8px; }
    .it .it-text { width: 100%; }
    .flex-boxes { display: block; }
    .flex-boxes>div { max-width: 100%; padding: 6px; border-radius: 6px; margin: 8px; }
    .img-float-left { float: none; display: block; margin: 12px auto; }
    .image-and-text { display: block; }
    .image-and-text img { margin: 0 12px;    }
    .image-and-text div { margin: 12px; padding: 0; }
    h1 { font-size: 2em; }
}
