/*
	Theme Name: Solgerd2.0
	Description: A theme for solgerd.com developed using the HTML5 Blank WordPress Theme
	Version: 2.0.0
	Requires at least: 6.6
	Tested up to: 7.1.3
	Requires PHP: 8.2
	Text Domain: html5blank
	License: MIT
	License URI: LICENSE.md
	Update URI: false
	Author: Ivan Lokhov
*/

/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/



/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 11px;
	line-height: 1.4;
	font-weight: 100;
	color: #444;

	background: no-repeat center center fixed;
	background-image: url(img/bg.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1 {
	font-weight: 400;
	margin: 0;
}
.mobile {
	display: none;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:100%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {
	position: fixed;
	bottom: 18px;
	right: 50px;
}
.logo a {
	font-size: 80px;
	color: #fff;
}
/* nav */
.nav {
	position: fixed;
	bottom: 40px;
	left: 50px;
}
.nav ul {
	padding: 0;
	margin: 0;
}
.nav ul li {
	list-style: none;
	display: inline-block;
	margin-right: 20px;
}
.nav ul li a {
	color: #fff;
	font-size: 30px;
	font-weight: 300;
}

.current-menu-item > a,
.current-page-ancestor > a,
body.page-template-page-about-php .menu-item-about > a,
body.page-template-page-calendar-php .menu-item-calendar > a {
	padding-bottom: 2px;
	border-bottom: 1px solid #fff;
}

.nav ul.sub-menu {
	position: absolute;
	display: none;
}

.nav .menu-item-has-children:hover ul.sub-menu {
	display: block;
}

.nav ul.sub-menu li {
	margin-right: 10px;
}

.nav ul.sub-menu li a {
	font-size: 20px;
}


/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* general */
main {
	background-color: #fff;
	background-color: rgba(255,255,255,0.7);
	color: #444;
	font-weight: 300;
	font-size: 20px;
	width: 568px;
	height: 500px;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 20px 20px 20px 52px;
	position: fixed;
	bottom: 114px;
	left: 0;
}
.page-template-page-home main,
.home.page:not(.page-template-page-about):not(.page-template-page-calendar):not(.page-template-page-news) main {
	display: none;
}
main a {
	text-decoration: none;
	font-weight: 700;
}
main a:hover {
	color: #a3a3a3;
}
.inline-links-container {
	margin-top: 16px;
}
.inline-links-container a {
	margin: 0 50px 0 0;
	display: inline-block;
	text-decoration: underline;
}
.inline-links-container a:last-child {
	margin: 0;
}
.anchor-target {
	display: block;
	padding: 10px 0;
	font-weight: 700;
}

/* about page */

/* -- repertoire */
body.repertoire .inline-links-container a {
	margin: 0 10px;
}
body.repertoire .inline-links-container a:first-child {
	margin: 0 10px 0 0;
}
body.repertoire .inline-links-container a:last-child {
	margin: 0 0 0 10px;
}

/*calendar*/
.cal-button.active {
	color: #8b8b8c;
}
.calendar-list {
	display: none; /* hide on initial load */
}
.calendar-wrap {
	margin-top: 16px;
}
.calendar-wrap .ui-widget {
	font-family: 'Josefin Sans', sans-serif;
}
.calendar-wrap .fc-header-title h2 {
	font-size: 20px;
}
.calendar-wrap .fc-button {
	border: 0;
	background: transparent;
}

.calendar-wrap .ui-icon,
.calendar-wrap .ui-state-default .ui-icon,
.calendar-wrap .ui-widget-content .ui-icon,
.calendar-wrap .ui-widget-header .ui-icon {
	width: 15px;
	height: 27px;
	background: url(img/arrow-left.png);
	top: -4px;
}
.calendar-wrap .fc-button.fc-button-next {
	left: 90px;
}
.calendar-wrap .fc-button.fc-button-today {
	font-size: 24px;
	left: -32px;
}
.calendar-wrap .fc-button.fc-button-today:hover {
	color: #8b8b8c;
}
.calendar-wrap .fc-button.fc-button-next .ui-icon,
.calendar-wrap .fc-button.fc-button-next.ui-state-default .ui-icon,
.calendar-wrap .fc-button.fc-button-next.ui-widget-content .ui-icon,
.calendar-wrap .fc-button.fc-button-next.ui-widget-header .ui-icon {
	background: url(img/arrow-right.png);
}
.calendar-wrap .fc .fc-header-space {
	display: none;
}



.calendar-wrap .ui-widget-header {
	background: transparent;
	border: 0;
}
.calendar-wrap .fc-grid th {
	text-align: right;
}
.calendar-wrap .ui-widget-content {
	background: transparent;
	border: 0;
}
.calendar-wrap .fc-event {
	border: 0 !important;
	background-color: transparent !important;
	color: #000 !important;
}
.calendar-wrap .fc-event-inner {
	text-align: right;
}
.calendar-wrap .fc-event-title {
	font-weight: 400;
}

.qtip,
.qtip .ui-tooltip {
	border-width: 0 !important;
}
.qtip .ui-widget-header {
	background: #fff;
	padding: 0 9px;
}
.qtip .ui-tooltip-content {
	background: #fff;
	background: rgba(255, 255, 255, 0.75);
}

.eventorganiser-event-meta hr {
	display: none;
}


/*media*/

/* - gallery*/
.gallery {
	width: 578px;
	position: relative;
	right: 20px;
	
}
.gallery img {
	border: 0!important;
	border-radius: 2px;
}
.gallery-caption {
	display: none;
}
.jp-carousel-image-meta {
	display: none;
}
.jp-carousel-titleanddesc {
	display: none !important;
}

/* - lightbox*/
.lb-outerContainer {
	background: transparent;
}

.lb-data .lb-close {
	width: 20px;
	height: 20px;
	background-image: url(img/close_small.png);
}

/* contact page */
.twitter-logo {
	width: 50px;
	height: auto;
}

/*------------------------------------*\
    LANGUAGE SWITCHER
\*------------------------------------*/

ul.bogo-language-switcher {
	padding: 0;
	margin: 0;
	position: fixed;
	bottom: 620px;
	left: 52px;
}
ul.bogo-language-switcher li {
	background: none !important;
	list-style: none;
	padding: 0;
	display: inline-block;
	color: #000;
	font-size: 20px;
	font-weight: 400;
	margin-right: 5px;
}
ul.bogo-language-switcher li:after {
	content: '|';
	margin-left: 5px;
}
ul.bogo-language-switcher li:last-child:after {
	content: '';
}
ul.bogo-language-switcher li a {
	color: #000;
}


/*------------------------------------*\
    POSTS
\*------------------------------------*/

.post {
	margin-bottom: 50px;
}

/* single post view */
body.single-post {
	background-image: url(img/bg.jpg);
}

/* single event view*/
body.single-event {
	background-image: url(img/bg_calendar.jpg);
}

.type-event ul {
	list-style: none;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    404
\*------------------------------------*/
body.error404 {
	background-image: url(img/bg.jpg);
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/*------------------------------------*\
    UNDER CONSTRUCTION
\*------------------------------------*/
body.under-construction-page {
	background-image: url(img/bg.jpg);
}
.under-construction-note {
	max-width: 600px;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	font-weight: 300;
	font-size: 40px;
	position: relative;
	top: 250px;
}


/*------------------------------------*\
    NANO
\*------------------------------------*/
.nano { width: 625px; height: 500px; overflow: hidden; }
.nano > .nano-content {
  position: absolute; overflow-y: auto; overflow-x: hidden;
  top: 0; right: 0; bottom: 0; left: 0;
  padding: 20px 20px 20px 52px;
  scrollbar-width: thin; scrollbar-color: #666 transparent;
}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

/* up to and including tablet portrait */
@media only screen and (max-width: 768px) {
	.mobile {
		display: block;
	}
	.no-mobile {
		display: none;
	}
	body {
		background: #fff !important;
	}
	.mobile-bg {
		background-image: url(img/bg_m.jpg);
		position: absolute;
		top: 50px;
		width: 100%;
		height: 200px;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center;
		background-attachment: scroll;
	}
	.single-event .mobile-bg {
		background-image: url(img/bg_calendar_m.jpg);
	}
	body.under-construction-page {
		background: no-repeat center center fixed !important;
	  	background-image: url(img/bg.jpg) !important;
	    -webkit-background-size: cover !important;
	    -moz-background-size: cover !important;
	    -o-background-size: cover !important;
	    background-size: cover !important;
	}
	.overlay {
		z-index: 10;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: #000;
		opacity: 0.8;
		display: none;
	}
	.header {
		z-index: 100;
		position: relative;
	}
	.logo {
		position: relative;
		right: auto;
		bottom: auto;
		line-height: 1;
		height: 50px;
		background: #fff;
	}
	.logo a {
		color: #444;
		font-size: 36px;
		height: 50px;
	  	display: inline-block;
	  	padding: 10px 10px 0 10px;
		/*font-weight: 300;*/
	}
	.mobile-menu-button {
		position: absolute;
		right: 0;
		top: 0;
		width: 50px;
		height: 50px;
		background: url(img/mobile-menu-button.png) no-repeat;
		background-size: 60%;
		background-position: 10px 10px;
		opacity: .8;
	}
	.nav {
		position: absolute;
		top: 50px;
		bottom: auto;
		left: 0;
		width: 100%;
		padding: 10px 0;
		background: #fff;

		display: none; /* hide on init load */
	}
	.nav ul li {
		margin: 0;
		width: 100%;
	}
	.nav ul li a {
		color: #444;
		display: block;
		padding: 2px 10px;
		height: 45px;
		line-height: 45px;
		font-size: 24px;
	}
	.nav ul.sub-menu {
		display: block;
		position: relative;
	}
	.nav ul.sub-menu li a {
		font-size: 20px;
		padding-left: 20px;
	}
	.nav ul.sub-menu li {
	  	margin: 0;
	}
	.current-menu-item > a,
	.current-page-ancestor > a,
	body.page-template-page-about-php .menu-item-about > a,
	body.page-template-page-calendar-php .menu-item-calendar > a {
		padding-bottom: 0;
		border-bottom: 0;
		font-weight: 700 !important;
	}

	ul.bogo-language-switcher {
		display: none;
	}
	.nav ul ul.bogo-language-switcher {
		display: block;
		position: relative;
		bottom: auto;
		left: auto;
		border-top: 1px solid #ccc;
	}
	.nav ul ul.bogo-language-switcher li:after {
		display: none;
	}
	.nav ul ul.bogo-language-switcher li a {
	  font-size: 20px;
	  text-transform: uppercase;
	}
	.nav ul ul.bogo-language-switcher li.current {
		color: #444;
		display: block;
		padding: 2px 10px;
		height: 45px;
		line-height: 45px;
		font-weight: 700;
		font-size: 20px;
		text-transform: uppercase;
	}

	.nav-front {
		position: relative;
		top: 200px;
		padding: 20px 10px;
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
		font-size: 28px;
		font-weight: 300;
		text-align: center;
	}
	.nav-front ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	.nav-front ul li {
		list-style: none;
		height: 50px;
		line-height: 50px;
	}
	.nav-front ul li a {
		display: block;
	}
	.nav-front .sub-menu {
		display: none;
	}


	main.nano {
		background: #fff;
		position: relative;
		top: 200px;
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
		height: auto;
		bottom: auto;
		overflow: auto;
		padding: 20px 10px;
	}
	.nano > .nano-content {
		position: relative;
		padding: 0;
		margin: 0 !important;
		overflow: auto;
	}
	h1 {
		font-size: 30px;
		line-height: 1;
	}
	.inline-links-container {
		padding-left: 10px;
		border-left: 1px solid #ccc;
	}
	.inline-links-container a {
		display: block;
		margin: 0 0 10px 0;
		text-decoration: none;
	}
	.inline-links-container a:last-child {
		margin: 0 0 10px 0;
	}
	.anchor-target {
		font-weight: 400;
		font-size: 30px;
		line-height: 1;
		padding-bottom: 0;
	}



	body.repertoire .inline-links-container a {
		margin: 0 0 10px 0;
	}
	body.repertoire .inline-links-container a:first-child {
		margin: 0 0 10px 0;
	}
	body.repertoire .inline-links-container a:last-child {
		margin: 0 0 10px 0;
	}

	.post {
		margin: 1em 0 2em;
		border-bottom: 1px solid #ccc;
	}

	.gallery {
		width: 100%;
		right: auto;
	}
	.gallery .gallery-item {
		width: 100% !important;
		text-align: left !important;
		float: none !important;
	}

	.calendar .inline-links-container {
		display: none;
	}
	.calendar-full {
	  	display: none !important;
	}
	.calendar-list {
	  	display: block !important;
	}
	.calendar-list ul {
	  	padding: 0;
	  	margin: 20px 0;
	}
	.calendar-list ul li {
	  	list-style: none;
	  	margin: 15px 0;
	}
}

/* between mobile and tablet portrait (including tablet portrait) */
@media only screen and (min-width: 420px) and (max-width: 768px) {
	.mobile-bg {
		height: 300px;
	}
	main.nano,
	.nav-front {
		top: 300px;
	}
}

/* everything after tablet portrait */
@media only screen and (min-width: 769px) {
	.nav {
		display: block !important;
	}
}

/* between tablet portrait and tablet landscape */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.logo {
		bottom: 26px;
		right: 26px;
	}
	.logo a {
		font-size: 60px;
	}
}

/* IE10+: corrects the image position in the lightbox view */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.jp-carousel-slide.selected {
	  	-ms-transform: none !important;
        transform: none !important;
	}
}
/* Solgerd2.0: modern blocks, keyboard navigation and short screens. */
img { height: auto; }
.wp-block-image img, .wp-block-gallery img, iframe, video { max-width: 100%; }
.wp-block-embed iframe { width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; width: auto; height: auto; top: 8px; left: 8px; padding: 12px; background: white; z-index: 100001; }
a:focus-visible, button:focus-visible { outline: 2px solid #04a4cc; outline-offset: 3px; }
.nav .menu-item-has-children:focus-within > ul.sub-menu { display: block; }
.mobile-menu-button { border: 0; cursor: pointer; padding: 0; background-color: transparent; }
.nav .bogo-language-switcher.mobile { display: none; }
@media (min-width: 769px) {
  main.nano { max-height: calc(100dvh - 146px); max-width: 100vw; }
  .bogo-language-switcher { bottom: min(620px, calc(100dvh - 30px)); }
  .home.blog main { display: block; }
}
@media (max-width: 768px) {
  .nav .bogo-language-switcher.mobile { display: block; position: static; border-top: 1px solid #ccc; }
  .no-js .header .nav { display: block; position: relative; top: 0; }
  .no-js .mobile-menu-button { display: none; }
  .gallery, .wp-block-gallery { max-width: 100%; }
}

.under-construction-page .under-construction-note { background: transparent; position: relative; bottom: auto; left: auto; width: auto; height: auto; overflow: visible; padding: 20px; }
