/*!
Theme Name: kraftsy
Theme URI: http://underscores.me/
Author: Kraftsy
Author URI: https://www.kraftsy.ch
Description: Wordpress Template for kraftsy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kraftsy
Tags: custom-background, custom-logo, custom-menu, featu#F2F2F2-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

kraftsy is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Links
# Setup
# Custom Content
# Navigation
	## Menus
#Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Forms
# Accessibility
--------------------------------------------------------------*/


.maincolor {
    color: #F2F2F2;
}
.secondary-color{
    color: #F4F0DE;
}
.background-color {
    color: #F2F2F2;
}
.textcolor {
    color: #111111;
}
.highlight.color {
    color: #FF9F28;
}
.links {
    color: gray;
}
.links-hover {
    color: darkslategray;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
    font-family: 'Barlow', sans-serif; /* 400 / 700 */
    font-weight: 400;
	font-size: 18px;
	font-size: 1.125rem;
	line-height: 1.7;
	color: #111111;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif; /* 400 / 700 */
	clear: both;
    line-height: 1.3;
}

h1 {
    font-weight: 700;
	font-size: 2em;
	margin: 0.67em 0;
}

h2 {
    font-size: 28px;
    font-size: 1.75rem;
}

.page-template-page-literatur h1 {
    -moz-hyphens: auto;
    hyphens: auto;
}

h2, h3, h4, h5, h6 {
    font-weight: 400;
}

p {
	margin-bottom: 1.5em;
}

dfn, em, i {
	font-style: italic;
}

blockquote {
    font-family: 'Roboto Slab', serif; /* 400 / 700 */
    font-weight: 700;
    font-size: 24px;
    font-size: 1.5rem;
	margin: 3em  3em 3em 1em;
}

blockquote p {
    margin-bottom: .5em;
}

cite {
    font-family: 'Barlow', sans-serif; /* 400 / 700 */
    font-weight: 400;    
    font-size: 15px;
    font-size: 0.9375rem;
    font-style: normal;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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%;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: grey;
    -webkit-transition: color .3s ease;
    transition: color .3s ease;        
}

a:visited {
	color: grey;
}

a:hover, a:focus, a:active {
	color: darkslategray;
}

a:focus {
	outline: none;
}

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

.main-navigation a,
.main-navigation a:visited {
    color: #111111;
}

.main-navigation a:hover, 
.main-navigation a:focus, 
.main-navigation a:active {
    color: #FF9F28;
}

.current-menu-ancestor > a,
.current-menu-parent > a,
.current-menu-item > a {
    text-decoration: underline;
    color: #FF9F28 !important;
}

@media screen and (max-width: 896px) {
    .main-navigation a,
    .main-navigation a:visited {
        color: #FFF;
    }    
}


/*--------------------------------------------------------------
# Custom Typografie
--------------------------------------------------------------*/
.layout-col-wrapper h2 {
    margin-top: 0;
}

.layout-col-wrapper h5 {
    margin-bottom: 0;
}

.namen {
    margin-bottom: 0;
}

.zusatz {
    margin-top: 0;
    font-size: 15px;
    font-size: 0.9375rem;
}

.footer-disclaimer {
    font-size: 14px;
    font-size: .875rem;
}

.site-branding {
    
}

.site-branding h1 {
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 24px;
}

.site-branding p {
    font-size: 32px !important;
}

.site-branding p,
.footer-left p {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-size: 1.5rem;
}

.site-branding p {
    font-weight: 700;
}

.site-branding a {
    color: #111111;
    text-decoration: none;
}

.site-branding a:hover,
.site-branding a:focus,
.site-branding a:active {
    color: inherit;
}

.footer-title {
    margin-top: .82em;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}


/*--------------------------------------------------------------
# Template Setup
--------------------------------------------------------------*/

/***** General *****/
body {
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale
}

.site {
    position: relative;
    overflow: hidden;
}

.site-header,
.post-header-wrapper,
.site-content,
.footer-content {
    margin: 0 auto;
    width: 992px; /* 128px Steps */
    padding-left: 16px;
    padding-right: 16px;    
}

.site-content {
    margin-top: 5em;
    margin-bottom: 10em;
}

.page-template-default .content-area {
    width: 768px;
    margin: 0 auto;
}

.page-template-page-header .site-content,
.page-template-page-veranstaltungen .site-content {
    margin-top: 3em;
}

.page #secondary { /* Disable Standard Sidebar */
    display: none;
    visibility: hidden;
}

@media screen and (max-width: 1024px) {
    .site-header,
    .post-header-wrapper,    
    .site-content,
    .footer-content {
        width: 100%;
        margin-left: inherit;
        margin-right: inherit;
        padding-left: 24px;
        padding-right: 24px;    
    }
}

@media screen and (max-width: 896px) {
    .site-content {
        margin-top: 2em;
        margin-bottom: 4em;
    }
}

@media screen and (max-width: 768px) {
    .page-template-default .content-area {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .post-header-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .site-content {
        margin-bottom: 2em;
    }
}

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

}

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

}

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

}


/*--------------------------------------------------------------
# Flexbox
--------------------------------------------------------------*/
.flexbox,
.layout-col-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.col-2 { /* 1/2  - 2 columns per row / 10px - spacing between columns */
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-right: 5px;
    width: calc(1/2*100% - (1 - 1/2)*10px);
}

.layout-col-wrapper {
    
}

.wp-block-columns:first-of-type .wp-block-column:last-child {
    padding-top: 1.8em;
}

.wp-block-columns:first-of-type .wp-block-column:last-child > p {
    margin-top: 0;
}


.layout-col-wrapper .wp-block-column {
    flex-basis: auto !important;
    margin: 0 !important;
}

.layout-col-wrapper .wp-block-column:first-child {
    text-align: right;
}

.layout-col-wrapper .wp-block-column:first-child h1 {
    width: 100%;
}

.col-left,
.post-header-col-left,
.layout-col-wrapper .wp-block-column:first-child { /* Media Query */
    width: 320px;
}

.col-right,
.post-header-col-right,
.layout-col-wrapper .wp-block-column:last-child { /* Media Query */
    width: calc(100% - 320px);;
    padding-left: 2em;
    padding-right: 4em;
/*    border: 1px solid purple; */
}


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

@media screen and (max-width: 896px) {
    .col-left,
    .layout-col-wrapper .wp-block-column:first-child { /* Media Query */
        width: 100%;
    }
    .layout-col-wrapper .wp-block-column:first-child {
        text-align: left;
    }
    .col-right,
    .layout-col-wrapper .wp-block-column:last-child {
        padding-left: 0;
        width: 100%;
    }
    .footer-right {
        text-align: center;
    }
    .wp-block-columns:first-of-type .wp-block-column:last-child {
        padding-top: 0;
    }
    .layout-col-wrapper .wp-block-column:first-child h1 {
        padding-right: 4em;
    }
    .layout-col-wrapper .wp-block-column:first-child br {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .col-right,
    .layout-col-wrapper .wp-block-column:last-child {
        padding-right: 0;
    }
}

@media screen and (max-width: 640px) { /* Breakpoint Header */
    .post-header-col-left {
        width: 100%;
    }
    .post-header-col-right {
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
    }
    .layout-col-wrapper .wp-block-column:first-child h1 {
        padding-right: 0;
    }    
}

@media screen and (max-width: 576px) {
    .col-2,
    .col-3 {
      width: 100%;
    }
}



/*--------------------------------------------------------------
# Gutenberg Blocks
--------------------------------------------------------------*/

@media (max-width: 1024px) {
  .wp-block-columns {
      display: block !important;
  }
 .wp-block-columns .wp-block-column {
      margin-left: 0 !important;
      margin-right: 0 !important;
     margin-bottom: 3em;
  }
}


/*--------------------------------------------------------------
# Site Header
--------------------------------------------------------------*/
.site-header-wrapper {
}

.site-header {
    padding-left: 32px;
    padding-right: 32px;
}

.site-branding {
    color: white;
    background-color: #111111;
}

.header-col-left {
    width: 199px;
}

.header-col-right {
    width: calc(100% - 200px);    
}

.page-template-default .site-branding,
.error404 .site-branding,
.search .site-branding {
    position: relative; 
}

.page-template-default .site-branding:before,
.error404 .site-branding:before,
.search .site-branding:before {
    z-index: -1;
    position: absolute; 
    background: #111111;
    content: '';
    width: 99em;
    height: 100%;
    bottom: 0;
    right: 0;
}

.site-branding a {
    color: white;
}

.site-branding img {
    max-width: 300px;
}

@media screen and (max-width: 512px) {
    .site-header {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media screen and (max-width: 320px) { /* Break Point Mobile Navigation */
    .header-col-left {
        width: 100%;
        text-align: center;
    }
    .site-title {
        margin-bottom: 0;
    }
    .header-col-right {
        width: 100%;    
    }    
}



/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

.site-footer {
    margin-top: 8em;
}

.footer-content {
    padding: 0;
}

.footer-content p {
    margin: 0;
}

.footer-inside-wrapper {
    
}

.footer-left,
.footer-right {
    padding-top: 2em;
}

.footer-left {
    text-align: center;
/*    background: #F4F0DE;*/
    background: #111111;
    color: white;
}

.footer-right {
    padding-top: 2em;
    padding-left: 2em;
    position: relative;
    background: #F2F2F2;
}

.footer-right:after {
    z-index: -1;
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 99em;
    height: 100%;
    background: #F2F2F2;
    padding-bottom: 2em;
}

.footer-content-right {
    margin-bottom: 5em;
}

.site-info {
    margin: 3em 0 2em 0;
}

.site-info p {
    margin: 0;
    font-size: 13px;
    font-size: 0.8125rem;
}

@media screen and (max-width: 896px) {
    .site-footer {
        margin-top: 5em;
    }    
    .footer-right {
        padding-left: 1em;
        padding-right: 1em;
    }
}

@media screen and (max-width: 640px) {
    .site-footer {
        margin-top: 4em;
    }
}

/*--------------------------------------------------------------
# Post Header
--------------------------------------------------------------*/
/***** Header Image *****/
.post-header-wrapper {
    position: relative;
    height: auto;
    text-align: center;
/*    border: 1px solid green; */
    margin-top: 1em;
}

.post-header-image {
    width: auto;
    height: auto;
    margin: 0 auto;
    padding-right: 1.5em;
    padding-left: 1.5em;
}

.post-header-image img {
    width: auto;
    height: auto;
    max-height: 448px;
    
}

.post-header-background {
    position: relative;
    content: '';
    height: auto;
}

.post-header-background:before {
    z-index: -1;
    position: absolute; 
/*    background: #F2F2F2;    */
    background: #111111;
    content: '';
    width: 99em;
    height: 99em;
    bottom: 0;
    right: 0;
}

.post-header-text,
.wp-block-image {
    text-align: left;
    font-size: 14px;
    font-size: 0.875rem !important;
}

@media screen and (max-width: 896px) {
    .post-header-image img {
        width: auto;
        height: auto;
    } 
}

@media screen and (max-width: 640px) { /* Breakpoint Header */
    .post-header-text {
        margin-top: 0;
        text-align: center;
    }
    .post-header-image {
        padding-right: 1.5em;
        padding-left: 1.5em;
        padding-bottom: .8em;
    }
    .post-header-background:before {
        bottom: 5em;
    }    
}


/*--------------------------------------------------------------
# Veranstaltungen Query / Literatur Query
--------------------------------------------------------------*/

.veranstaltungen-wrapper,
.literatur-wrapper {
    position: relative;
    margin-top: 2em;
    width: 704px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 704px) {
    .veranstaltungen-wrapper,
    .literatur-wrapper {
        width: 100%;
        margin-left: inherit;
        margin-right: inherit;        
    }
}

.veranstaltungen-box,
.literatur-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1em;
    padding-top: .6em;
    border-top: 1px solid #111111;
}

.veranstaltungen-box h2 {
    line-height: 1.3;
    margin: 0 0 .2em 0;
}

.literatur-box h2 {
    line-height: 1.3;
    margin: 0.2em 0 .5em 0;
}

.veranstaltungen-box h4 {
    margin: 0 0 1em 0;
}

.veranstaltungen-box p,
.literatur-box p {
    font-size: 16px;
    font-size: 1rem;
    margin: 0 0 .4em 0;
}

.literatur-bild {
    content: '';
    height: 100%;
    width: 100%;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.veranstaltungen-col-left,
.literatur-col-left {
    overflow: hidden;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 24px;
    text-align: right;
    line-height: 1.08;
    word-spacing: 100px; 
    color: #FFFFFF;
}

.veranstaltungen-col-left {
    width: 100px;
    padding: .4em;    
}

.literatur-col-left {
    width: 150px;
}


.veranstaltungen-col-right,
.literatur-col-right {
    padding-bottom: 2em;
}

.veranstaltungen-col-right {
    padding-left: 1em;
    width: calc(100% - 101px);
}

.literatur-col-right {
    padding-left: 1em;
    width: calc(100% - 151px);
}


.veranstaltungen-col-left span {
  display: inline-block;
  vertical-align: middle;
}

.now {
    background-color: #EB7536;
}

.past, 
.grau {
    background-color: #CFD3D6;
}

@media screen and (max-width: 512px) {
    .veranstaltungen-box,
    .literatur-box {
        width: 100%;
        display: block;
        margin-bottom: 3em;
        padding-top: 1em;
    }
    .veranstaltungen-col-right,
    .literatur-col-right {
        margin-top: 1.5em;
        padding-left: 0;
        padding-bottom: .5em;
        width: 100%;;
    }
    .literatur-bild {
        height: 100px;
        width: 100px;
    }    
}


/*--------------------------------------------------------------
# Custom Content
--------------------------------------------------------------*/
.wp-block-spacer {
    height: 2em !important;
}

.entry-content .wp-block-image {
    position: relative;
    margin-top: 4em;
    margin-bottom: 4em;
    padding-top: 1.7em;
    padding-bottom: .5em;
}

.entry-content .wp-block-image:before {
    z-index: -1;
    position: absolute; 
    background: #F2F2F2;    
    content: '';
    width: 99em;
    height: 100%;
    bottom: 0;
    right: 4em;
}

.no-margin-top {
    margin-top: 0;
}

/*--------------------------------------------------------------
# Search and 404
--------------------------------------------------------------*/
.search h2 {
    margin-top: 2em;
    margin-bottom: 0;
}

.search .entry-summary p {
    margin-top: 0;
}

/*--------------------------------------------------------------
# Go Portfolio
--------------------------------------------------------------*/
#gw_go_portfolio_werke-gallerie {
    margin-top: 2em !important;
}

#gw_go_portfolio_werke-gallerie .gw-gopf-style-flex a.gw-gopf-post-overlay-circle {
    -webkit-transition: background .2s ease !important;
    transition: background .2s ease !important;  
}


.gw-gopf-filter {
    margin-bottom: 1em !important;
}

#gw_go_portfolio_werke-gallerie .gw-gopf-style-flex .gw-gopf-cats > span a.gw-gopf-btn-outlined {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

/*--------------------------------------------------------------
# Page Content
--------------------------------------------------------------*/
.entry-header {
    
}

.entry-content {
    
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.menu {
}

.main-navigation {
    clear: both;
    margin: auto 0;
    text-align: right; 
}

.main-navigation ul {
    display: block;
    text-align: right; 
    padding-left: 0;
	list-style: none;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;    
}

.main-navigation li {
    z-index: 100; /* 1 hoeher als overlay bei 99 */
    margin-bottom: .2em;
	-webkit-transition: color 0.3s ease;
	transition: color 0.3s ease;
}

.main-navigation li:before {
    display: none;
    content: '';
}

.main-navigation li:hover,
.current-menu-item { 
}

.main-navigation li:hover a,
.current-menu-item a { 
}

.main-navigation a {
	text-decoration: none;
}

/*--------------------------------------------------------------
# Navigation Toggle reset to Desktop > Desktop only properties
--------------------------------------------------------------*/
@media screen and (min-width: 896px) {
	.menu-toggle {
		display: none;
	}
    .main-navigation ul {
        padding-top: 3em;
        text-align: right;
	}
    .main-navigation ul ul {
        z-index: 99999;
        position: absolute;
        float: left;
        margin-left: 0;
        top: 100%;
        left: -999em;
        padding-top: .5em;
        padding-bottom: .3em;
        min-width: 150px;
        border: 1px solid #BABABA;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
        background-color: #FFFFFF;
        text-align: left;
    }

    .main-navigation ul ul ul {
        left: -999em; 
        top: 0;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        top: 0;
        left: 100%;
    }

    .main-navigation ul ul a {
        
    }

    .main-navigation ul li {
	    display: inline-block;
        position: relative;
        margin-left: 1.2em;
    }
    
    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        left: -.5em;
    }
    
    .main-navigation .nav-menu > li {
        padding-bottom: .5em;
    }

    .main-navigation ul ul li {
        display: block;
        margin-left: .6em;
    }    
    
    .main-navigation.toggled ul {
    }

    .main-navigation .menu {
        position: inherit;
        opacity: 1;
        height: auto;
        margin-left: auto;
        background-color: none;
        -webkit-transition: opacity .5s ease;
        transition: opacity .5s ease;   
    }
    .main-navigation.toggled .menu {
        height: auto; 
    }
    
    .menu-item-has-children {}
}

/*--------------------------------------------------------------
# Navigation Toggle Mobile
--------------------------------------------------------------*/
@media screen and (max-width: 896px) {
    .menu-toggle {
        position: relative;
        z-index: 999;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        background-color: white;
        border: none;
        margin-top: 2em;
        margin-right: .5em;
    }
    
    .menu-toggle:hover {
        background-color: none;
    }

    .menu-toggle input {
        z-index: 999;
        width: 40px;
        height: 32px;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0; /* hide this */
        -webkit-touch-callout: none;
    }

    .menu-toggle span {
        z-index: 999;
        display: block;
        width: 32px;
        height: 3px;
        margin-bottom: 7px;
        position: relative;
        background-color: #111111;
        border-radius: 2px;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.5s ease;
    }

    .menu-toggle span:first-child {
        transform-origin: 0% 0%;
    }

    .toggled .menu-toggle {
    }
    .toggled .menu-toggle span {
        z-index: 999;
        opacity: 1;
        background-color: #FFFFFF;
        transform: rotate(-45deg) translate(-2px, -1px);
    }

    .toggled .menu-toggle span:nth-last-child(3) {
        opacity: 1;	
        transform: rotate(45deg) translate(1px, 0);
    }

    .toggled .menu-toggle span:nth-last-child(2) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);	
    }

    /*--------------------------------------------------------------
    # Mobile Navigation
    --------------------------------------------------------------*/
    .main-navigation .menu {
        z-index: 99;
        position: absolute;
        display: block;
        opacity: 0;
        top: 0;
        left: -105vw;
        height: 9999em;
        width: 100%;
        margin-left: 0;
        padding-top: 140px;
        padding-right: 1.8em;
        background-color: rgba(0,0,0,.90);
        -webkit-transition: opacity .5s ease;
        transition: opacity .5s ease;
    }

    .main-navigation.toggled .menu  {
        top: 0;
        left: 0;
        -webkit-opacity: 1;
        opacity: 1;
    }
    
    .main-navigation a {
        color: #FFFFFF;
    }
    
    .main-navigation ul {
        position: relative;
        -webkit-opacity: 0;
        opacity: 0;
        width: 100%;
        font-size: 32px;
        font-size: 2rem;
        text-align: right;
        margin-right: 0;
        -webkit-transition: opacity .5s ease;
        transition: opacity .5s ease;
    }
    
    .main-navigation ul ul {
        width: inherit;
        font-size: 24px;
        font-size: 1.5rem;
        margin-bottom: .7em;
    }
    
    .main-navigation ul ul li {
        margin-top: .3em;
    }

    .main-navigation.toggled ul {
        opacity: 1;
    }
    
    .main-navigation li {
        position: relative;
        left: -30em;
    	-webkit-transition: opacity .5s ease;
	    transition: opacity .5s ease;
    }
    
    .main-navigation.toggled li {
        left: 0;
        line-height: 1.5em;
    }
}

@media screen and (max-width: 640px) {
    .main-navigation .menu {
        padding-top: 100px;
        padding-right: 1.5em;
    }    
    .menu-toggle {
        margin-top: 2em;
        margin-right: 0;
    }
    .menu-toggle span {
        background-color: #FFFFFF;
    }
}

@media screen and (max-width: 512px) {
    .main-navigation.toggled .menu,
    .main-navigation.toggled .menu {
        padding-left: 1em;
    }
    .main-navigation ul {
        padding-top: 120px;
        font-size: 26px;
        font-size: 1.625rem;
    }
    .main-navigation ul ul {
        padding-top: 0;
    }    
    .main-navigation.toggled .lang-item {
        font-size: 17px;
        font-size: 1.0625rem;
    }
}

@media screen and (max-width: 350px) {
   .main-navigation ul {
       width: 100%;
    }  
}

@media screen and (max-width: 320px) { /* Break Point Mobile Navigation */
    .menu-toggle {
        padding: .6em .2em 0 .8em;
    }
    .main-navigation {
        text-align: center;
    }
    .main-navigation.toggled .menu, .main-navigation.toggled .menu {
        padding-left: 0;
    }
    .main-navigation .menu {
        padding-top: 170px;
        width: 100%;
        padding-left: .2em;
        padding-right: .2em;
    }
   .main-navigation ul {
       width: 100%;
       text-align: center;
    }
   .main-navigation ul li {
       margin-bottom: .7em;
    }
   .main-navigation ul ul li:first-child {
       margin-top: .2em;
    }    
   .main-navigation ul ul li {
       margin-bottom: .3em;
    }
   .main-navigation ul ul {
       margin-left: 0;
       margin-bottom: .4em;
    }      
}


/*--------------------------------------------------------------
# Post-Navigation
--------------------------------------------------------------*/
.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%;
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# 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;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	
}

.updated:not(.published) {
	display: none;
}

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

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

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# 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%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.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-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

.site-header button, 
.site-header button:hover, 
.site-header button:active, 
.site-header button:focus {
	border-radius: 0;
  	background: none;
  	border-color: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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