/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.3
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Look of the old Drupal site (lexicon_theme on Zen), measured from
 * https://idioms.iliauni.edu.ge.
 */

@font-face {
	font-family: "BPG Square Mtavruli 2009";
	src: url("assets/fonts/bpg_square_mtavruli_2009.woff") format("woff"),
		url("assets/fonts/bpg_square_mtavruli_2009.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--idioms-font: Verdana, Tahoma, "DejaVu Sans", sans-serif;
	--idioms-font-caps: "BPG Square Mtavruli 2009", var(--idioms-font);
	--idioms-link: #551a8b;
}

body {
	margin: 0;
	padding: 48px 0 40px;
	background: #fff;
	color: #000;
	font-family: var(--idioms-font);
	font-size: 16px;
	line-height: 1.5;
}

a,
a:hover,
a:active {
	color: var(--idioms-link);
}

/* Header */

.idioms-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	width: 100%;
	height: 45px;
	background-color: #f5f5f5;
}

.admin-bar .idioms-header {
	top: 32px;
}

.idioms-header__logo {
	position: absolute;
	top: 5px;
	left: 10px;
	line-height: 0;
}

.idioms-header__logo img {
	width: 35px;
	height: 35px;
}

.idioms-header__languages {
	display: flex;
	gap: 6px;
	margin: 10px 10px 0 0;
	padding: 0;
	list-style: none;
	line-height: 24px;
}

.idioms-header__languages img {
	box-sizing: content-box;
	display: inline-block;
	vertical-align: middle;
	border: 1px solid #d2d2d2;
}

.idioms-header__menu .menu {
	display: flex;
	margin: 10px;
	padding: 0 0 0 30px;
	list-style: none;
	line-height: 24px;
}

/* 15px padding plus the ~4px word space the old inline <li>s had. */
.idioms-header__menu .menu li {
	padding-right: 15px;
	margin-right: 4px;
}

.idioms-header__menu .menu a {
	color: var(--idioms-link);
	font-family: var(--idioms-font-caps);
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
}

/* Footer */

.idioms-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 199;
	width: 100%;
	padding: 5px 0;
	border-top: 1px solid #ccc;
	background-color: #fff;
	color: #525252;
	font-size: 12px;
	line-height: 24px;
	text-align: center;
}

/* Page */

/* Zen's #page: centered, at most 1200px wide, 10px side padding. */
.site-main,
body:not([class*="elementor-page-"]) .site-main {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}

.page-header .entry-title {
	max-width: none;
	margin: 20px 0 0;
	color: #000;
	font-family: var(--idioms-font-caps);
	font-size: 32px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
}

.page-content p,
.page-content h3 {
	margin: 24px 0;
	font-size: 16px;
	line-height: 1.5;
}

.page-content h3 {
	font-weight: bold;
}

/* First-line indent the old pages had (made with &nbsp; in Drupal). */
.page-content .indent {
	text-indent: 36px;
}

.page-content .wp-block-image {
	margin: 0;
	text-align: center;
}

.page-content .wp-block-image img {
	width: 800px;
	max-width: 100%;
	height: auto;
	border: 1px solid #ccc;
}

.page-content .has-text-align-right a {
	font-size: 12px;
}

/*
 * Small screens: the old fixed header covered the page title on phones,
 * so here the header flows with the page instead.
 */
@media (max-width: 767px) {
	body {
		padding-top: 0;
	}

	.idioms-header,
	.admin-bar .idioms-header {
		position: static;
		flex-wrap: wrap;
		height: auto;
		min-height: 45px;
		padding-left: 50px;
		box-sizing: border-box;
	}

	.idioms-header__menu .menu {
		flex-wrap: wrap;
		margin: 10px 0;
		padding: 0;
	}
}
