/*
Theme Name: Joinweb Main
Text Domain: joinweb
Domain Path: /languages
Theme URI: http://joinweb.gr
Description: Lightweight naked Joinweb Theme. Containerless, responsive, blocks.
Author: Joinweb
Author URI: http://joinweb.gr
Version: 3.0.1
License: MIT License
License URI: http://opensource.org/licenses/MIT
*/

/* breakpoints  -  based on Bootstrap 4 breakpoints
0 full
576 540
768 720
992 960
1140 1140
1220 1220
1440 1440
1640 1640
*/
:root {
	--colorOverlay: rgba(0,0,0,0.3);
	--colorBG: #fff;
	--colorMain: #000;
	--colorAccent: #DD5B33;
	--colorWhite: #fff;
	--colorBlack: #000;

	--breakpoint: 1024px;
}

/* colors */

/* Initializations, resets */
html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-size: 10px;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	font-size: 14px;
	line-height: 1.42857143;
	margin: 0;
}

figure {
	margin: 0;
}
img {
	vertical-align: middle;
	border: 0;
}
.img-responsive,
figure img {
	display: block;
	max-width: 100%;
	height: auto;
}
.video-container,
.videoWidgetContainer,
.embed-youtube {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}
.video-container iframe,
.video-container object,
.video-container embed,
.videoWidgetContainer iframe,
.videoWidgetContainer object,
.videoWidgetContainer embed,
.embed-youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
svg:not(:root) {
	overflow: hidden;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
}

.inlineList {
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 0;
	list-style: none;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
a.skip-main {
	left:-999px;
	position:absolute;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
	z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
	color: var(--colorWhite);
	background-color: var(--colorBlack);
	left: auto;
	top: auto;
	width: 30%;
	height: auto;
	overflow:auto;
	margin: 10px 35%;
	padding:5px;
	border-radius: 15px;
	border:4px solid yellow;
	text-align:center;
	font-size:1.2em;
	z-index:999;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

/* layout */
.content-grid {
	--padding-inline: 1rem;
	--content-max-width: 900px;
	--breakout-max-width: 1200px;

	--breakout-size: calc(
			(var(--breakout-max-width) - var(--content-max-width)) / 2
	);

	display: grid;
	grid-template-columns:
    [full-width-start] minmax(var(--padding-inline), 1fr)
    [breakout-start] minmax(0, var(--breakout-size))
    [content-start] min(
      100% - (var(--padding-inline) * 2),
	  var(--content-max-width)
    )
    [content-end]
    minmax(0, var(--breakout-size)) [breakout-end]
    minmax(var(--padding-inline), 1fr) [full-width-end];
}

.content-grid > :not(.alignwide, .alignfull),
.alignfull > :not(.alignwide, .alignfull) {
	grid-column: content;
}

.content-grid > .alignwide,
.alignfull > .alignwide {
	grid-column: breakout;
}

.content-grid > .alignfull {
	grid-column: full-width;
	display: grid;
	grid-template-columns: inherit;
}

.alignfull > .alignfull {
	grid-column: full-width;
}

img.alignfull {
	width: 100%;
	max-height: 45vh;
	object-fit: cover;
}

/*
.flow > * + * {
	margin-top: var(--flow-spacing, 1em);
}*/

.section-padding {
	padding-block: 2.5rem;
}
.even-columns {
	display: flex;
	gap: 1rem;
}
.grid {
	display: grid;
	column-gap: 15px;
}
.grid.noGutter {
	column-gap: 0;
}
.relative {
	position: relative;
}

/* effects */
.mainContent {
	padding-top: 25px; /* header height */
	position: relative;
	z-index: 1;
	background: var(--colorWhite);
	margin-bottom: 80px; /* footer height */
}
.hiddenFootnote {
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: -1;
	padding: 30px 0;
	background: #333;
}
.hiddenFootnote,
.hiddenFootnote a {
	color: #bbb;
	text-decoration: none;
}
.overLay {
	background: var(--colorOverlay);
	padding: 30px;
	box-shadow: 0 0 25px 25px var(--colorOverlay);
	border-radius: 25px;
}

/* buttons */
.button {
	background: var(--colorAccent);
	color: var(--colorWhite);
	font-weight: bold;
	border-radius: 16px;
	padding: 18px 32px;
	font-size: 1.8rem;
	text-align: center;
	line-height: 1;
	text-decoration: none;
	display: inline-block;
	border: none;
	cursor: pointer;
}
.bigButton {
	width: 280px;
	padding: 18px 32px;
	font-size: 1.8rem;
}
.smallButton {
	width: 150px;
	padding: 18px;
	font-size: 1.6rem;
}
