/*
	Theme Name: CSMPSZ 2023
	Theme URI: localhost
	Author: Bakos Attila
	Author URI: localhost
	Description: Csongrád-Csanád Vármegyei Pedagógiai Szakszolgálat weboldal sablonja (2023)
	Version: 1.0.0
	License: n/a
	License URI: n/a
	Text Domain: csmpsz23
	Domain Path: /languages/
	Tags: bootstrap, responsive, wordpress
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

:root {
	--color-main: rgb(255, 155, 70);
	--color-main-transparent: rgba(255, 155, 70, 0.85);
	--color-main-link: rgb(255, 229, 206);
	--color-main-light: rgb(255, 191, 108);
	--color-main-medium: rgb(254, 167, 52);
	--color-main-dark: rgb(163, 105, 37);

	--color-alt: rgb(0, 100, 170);
	--color-alt-transparent: rgba(0, 100, 170, 0.85);
	--color-alt-link: rgb(178, 217, 251);
	--color-alt-light: rgb(40, 120, 180);
	--color-alt-medium: rgb(31, 107, 164);
	--color-alt-dark: rgb(20, 60, 90);

	--container-width: 1080px;
}

* {
	outline: none !important;
}

/**
	HTML elemek
**/
html {
	width: 100vw;
	height: 100vh;

	overflow-x: hidden;
}

body {
	width: 100%;

	margin: 0;
	padding: 0;

	position: relative;
	overflow-x: hidden;

	font-family: 'Open Sans', sans-serif;
}

a {
	color: var(--color-alt-medium);
	text-decoration: none;
}

a[data-downloadable="true"]:before {
	content: "\f019";
	display: inline;
	margin-right: 5px;
	font-family: 'FontAwesome' !important;
}

table:not(.no-styling) {
	width: 100%;
	border: 0;
	border-radius: 8px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
	padding: 1rem;
}

table:not(.no-styling) thead {
	background-color: var(--color-alt-medium) !important;
	border-radius: 5px;
	overflow: hidden;
	color: white;
}

table:not(.no-styling) thead td {
	padding: 10px;
	font-size: 1rem;
}

table:not(.no-styling) tr,
table:not(.no-styling) td {
	padding: 5px;
	border-radius: 5px;
}

table:not(.no-styling) tr:nth-child(2n+0) {
	background-color: var(--color-alt-link);
}

table:not(.no-styling) tbody td {
	font-size: 0.85rem;
}

/**
	Háttérelemek
**/
.body-background,
.body-background-layer {
	box-sizing: border-box;

	width: 100%;
	height: 100%;
}

.body-background {
	position: absolute;
	top: 0;
	left: 0;

	background-image: url('./assets/images/bg-header.png');
	background-size: 100% auto;
	background-repeat: no-repeat;

	opacity: 1;
	transition: ease-in-out .5s all;
}

.body-background-layer {
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, transparent 0%, white 400px);
}

.body-wrapper {
	position: relative;
}

/**
	Container
**/
.container {
	padding: 0 40px;
}

.page-title {
	font-weight: bold;
	font-family: 'Outfit', sans-serif;
	font-size: 30px;
	text-align: center;
	display: block;
	margin: 0 auto;
	width: fit-content;
	margin-bottom: 3rem;
}

.page-title:after {
	content: "";
	display: block;
	width: 50%;
	margin: 0 auto;
	margin-top: 10px;
	border-bottom: 5px solid var(--color-alt);
	border-radius: 10px;
}

/**
	További tartalom
**/
.content {
	margin-top: 3rem;
}

/**
	Gyorsformázások
**/
.add-shadow {
	filter: drop-shadow(1px 1px 6px rgba(53, 41, 73, 0.2));
}

.add-lightbox:hover {
	cursor: zoom-in;
}

/**
	CSS Queries
**/
@media screen and (max-width: 719px) {
	.body-background {
		opacity: 0;
		transition: ease-in-out .5s all;
	}

	table:not(.no-styling) {
		display: block !important;
		overflow-y: scroll !important;
	}
}

@media screen and (max-width: 720px) {
	.body-background-layer {
		background: linear-gradient(to bottom, transparent 0%, white 200px);
	}
}

@media screen and (min-width: 721px) and (max-width: 960px) {
	.body-background-layer {
		background: linear-gradient(to bottom, transparent 0%, white 250px);
	}
}

@media screen and (min-width: 961px) and (max-width: 1080px) {
	.body-background-layer {
		background: linear-gradient(to bottom, transparent 0%, white 350px);
	}
}


@media screen and (min-width: 640px) and (max-width: 1360px) {}

@media screen and (min-width: 1361px) and (max-width: 1440px) {}

@media screen and (min-width: 1441px) and (max-width: 1919px) {}

@media screen and (min-width: 1920px) {}