/**
Theme Name: DigitalSchool
Author: Sotirios Boutris - RDC
Author URI: https://www.rdc.gr
Description: Custom Wordpress theme for DigitalSchool
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalschool
Template: astra
*/

/*
 * Faithful port of the original www.digitalschool.gr stylesheet (formatCO_1.css),
 * adapted to the Elementor markup. Class names follow the original site.
 */

/* ------------------------------------------------------------------
 * Fonts
 * ------------------------------------------------------------------ */
@font-face {
	font-family: SegoeRegular;
	src: url(assets/fonts/segoeui.ttf) format("truetype");
	font-display: swap;
}

@font-face {
	font-family: SegoeLight;
	src: url(assets/fonts/segoeuil.ttf) format("truetype");
	font-display: swap;
}

@font-face {
	font-family: SegoeSBold;
	src: url(assets/fonts/seguisb.ttf) format("truetype");
	font-display: swap;
}

/* ------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------ */
html,
body {
	overflow-x: hidden;
}

body {
	font-family: "Open Sans", sans-serif;
	font-size: 12.25px;
	font-weight: 400;
	line-height: 1.5;
	color: #151b1e;
	background-color: #f2f4f8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.site-content {
	background-color: #fff;
}

.elementor-template-full-width .site-content > .ast-container {
	display: block;
	max-width: 100%;
	padding: 0;
}

/* The original resets every element to font-weight 400 (* { font-weight: 400 }),
 * so links stay regular even inside <strong>. */
.elementor a {
	font-weight: 400;
	color: #20a8d8;
	text-decoration: none;
}

.elementor a:hover {
	color: #167495;
	text-decoration: underline;
}

.elementor .elementor-widget-text-editor p {
	font-family: SegoeLight;
	font-size: 16px;
	line-height: 25px;
	color: #747373;
	margin: 0 0 14px;
}

.elementor .elementor-widget-heading .elementor-heading-title {
	font-family: "Open Sans", sans-serif;
	line-height: 1.5;
}

.elementor .elementor-widget-image a img[src$=".svg"] {
	width: auto;
}

.text-align-center {
	text-align: center !important;
}

/* ------------------------------------------------------------------
 * Fixed header (Theme Builder headers)
 * ------------------------------------------------------------------ */
.platform__header.e-con {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 2px;
	padding: 25px 140px;
	background-color: #fff;
	box-shadow: 0 4px 7px -4px rgba(0, 0, 0, .2);
}

.admin-bar .platform__header.e-con {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .platform__header.e-con {
		top: 46px;
	}
}

.platform__header .platform__logo {
	width: auto;
	text-align: left;
	line-height: 0;
}

.platform__header .platform__logo img {
	display: block;
}

.platform__links {
	width: auto;
}

.platform__links .elementor-nav-menu--main .elementor-nav-menu {
	display: flex;
	flex-wrap: nowrap;
	gap: 45px;
}

.platform__links .elementor-nav-menu--main .elementor-nav-menu a.elementor-item,
.platform__links .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:focus,
.platform__links .elementor-nav-menu--main .elementor-nav-menu a.elementor-item.elementor-item-active {
	padding: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #272727;
	text-decoration: none;
}

.platform__links .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:hover {
	color: #272727;
	text-decoration: underline;
}

.elementor .button-primary.elementor-widget {
	width: auto;
	font-size: 20px;
	line-height: 1.5;
}

.elementor .button-primary .elementor-button-content-wrapper,
.elementor .button-primary .elementor-button-text {
	display: inline;
}

.elementor .button-primary .elementor-button {
	display: inline;
	padding: 10px 26px;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	color: #1c8df2;
	text-decoration: none;
	background-color: transparent;
	border: 1px solid #1c8df2;
	border-radius: 0;
	fill: #1c8df2;
}

.elementor .button-primary .elementor-button:hover,
.elementor .button-primary .elementor-button:focus {
	color: #1c8df2;
	text-decoration: none;
	background-color: transparent;
	opacity: .7;
}

@media (max-width: 1200px) {
	.platform__header.e-con {
		flex-direction: column;
		padding: 25px 15px;
	}

	.elementor .platform__header .platform__logo.elementor-widget {
		margin-bottom: 40px;
	}
}

@media (max-width: 760px) {
	.platform__links .elementor-nav-menu--main .elementor-nav-menu {
		gap: 12px;
	}

	.platform__links .elementor-nav-menu--main .elementor-nav-menu a.elementor-item,
	.platform__links .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:hover {
		font-size: 11px;
		line-height: 18.375px;
	}
}

/* ------------------------------------------------------------------
 * Sections + scroll reveal (desktop only, as on the original)
 * ------------------------------------------------------------------ */
.platform__section.e-con {
	overflow: hidden;
}

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
	.ds-js body:not(.elementor-editor-active) .platform__section {
		opacity: 0;
		transform: translateY(-150px);
		transition: all 1s cubic-bezier(0, .64, 1, 1);
	}

	.ds-js body:not(.elementor-editor-active) .platform__section.normal-position {
		opacity: 1;
		transform: translateY(0);
	}
}

.platform__block.e-con {
	position: relative;
	max-width: 1550px;
	margin: 0 auto;
	padding: 100px 15px;
}

@media (max-width: 1400px) {
	.platform__block.e-con::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(255, 255, 255, .5);
	}
}

@media (max-width: 991px) {
	.platform__block.e-con {
		padding: 50px 15px;
	}
}

.platform__block .content.e-con {
	position: relative;
	z-index: 1;
}

.elementor .platform__block--title.elementor-widget {
	margin: 0 0 30px;
}

.elementor .platform__block--title .elementor-heading-title {
	font-size: 24px;
	font-weight: 700;
	color: #1c8df2;
}

@media (max-width: 991px) {
	.elementor .platform__block--title .elementor-heading-title {
		text-align: center;
	}
}

.elementor .platform__block--title-main.elementor-widget {
	padding: 0 15px;
}

.elementor .platform__block--title-main .elementor-heading-title {
	font-size: 28px;
	font-weight: 800;
	color: #151b1e;
	text-align: center;
}

/* Bullet lists */
.platform__list--bullets ul {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
}

.platform__list--bullets li {
	position: relative;
	margin: 0 0 30px;
	font-family: SegoeRegular;
	font-size: 17px;
	line-height: 1.5;
	color: #151b1e;
}

.platform__list--bullets li:last-child {
	margin: 0;
}

.platform__list--bullets li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: -20px;
	width: 8px;
	height: 8px;
	background-color: #1c8df2;
	border-radius: 50%;
}

/* ------------------------------------------------------------------
 * Home: banner
 * ------------------------------------------------------------------ */
.platform__banner.e-con {
	position: relative;
	margin-top: 80px;
	margin-bottom: 150px;
	background-image: url(assets/img/platform-banner-overlay.svg), url(assets/img/banner-bg.jpg);
	background-size: auto 100%, cover;
	background-position: left top, center;
	background-repeat: no-repeat, no-repeat;
}

.platform__banner--container.e-con {
	position: relative;
	z-index: 1;
	max-width: 1670px;
	margin: 0 auto;
	padding: 130px 15px 230px;
}

.platform__banner--block.e-con {
	max-width: 620px;
}

.platform__banner--block .elementor-widget-image {
	text-align: inherit;
}

.elementor .platform__banner--title .elementor-heading-title {
	font-family: SegoeSBold;
	font-size: 86px;
	font-weight: 400;
	color: #fff;
}

.platform__banner--text-group.e-con {
	margin-top: 50px;
}

.platform__banner--text {
	padding: 20px 0;
	font-family: SegoeLight;
	font-size: 22px;
	line-height: 1.5;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

.platform__banner--text:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

@media (max-width: 991px) {
	.platform__banner.e-con {
		background-image: url(assets/img/banner-bg.jpg);
		background-size: cover;
		background-position: center;
	}

	.platform__banner--container.e-con {
		padding: 130px 15px;
		background-color: rgba(28, 141, 242, .9);
	}

	.platform__banner--block.e-con {
		max-width: 100%;
		text-align: center;
	}

	.elementor .platform__banner--title .elementor-heading-title {
		font-size: 40px;
	}
}

/* ------------------------------------------------------------------
 * Home: feature sections
 * ------------------------------------------------------------------ */
.platform__section.section-1 {
	background-image: url(assets/img/platform-bg-1.jpg);
	background-position: center;
	background-size: cover;
}

.section-1 .content.e-con {
	max-width: 800px;
	padding: 64px 0;
}

.platform__section.section-2 {
	background-image: url(assets/img/platform-bg-2.jpg);
	background-position: center;
	background-size: cover;
}

.section-2 .content.e-con {
	max-width: 880px;
	margin-left: auto;
}

.platform__section.section-3 {
	background-image: url(assets/img/platform-bg-3.jpg);
	background-position: center;
	background-repeat: no-repeat;
}

@media (max-width: 991px) {
	.platform__section.section-1,
	.platform__section.section-2 {
		background-image: none;
	}

	.section-1 .platform__block.e-con {
		background-color: #e2e3ff;
	}

	.section-1 .content.e-con {
		max-width: 100%;
		padding: 0;
	}

	.section-2 .platform__block.e-con {
		background-color: #7946a8;
	}

	.section-3 .platform__block.e-con {
		background-color: #e071b4;
	}
}

/* Information */
.platform__section.section-6 {
	background-image: url(assets/img/platform-bg-4.png);
	background-position: center;
	background-size: cover;
}

.section-6 .platform__block.e-con {
	padding: 111px 15px;
}

.elementor .section-6 .platform__block--title .elementor-heading-title,
.elementor .section-7 .platform__block--title .elementor-heading-title {
	color: #272727;
	text-align: center;
}

.elementor .platform__text p {
	margin: 0;
}

.section-6 .platform__text p,
.section-7 .platform__text p {
	color: #272727;
	text-align: center;
}

.section-6 .platform__text p {
	max-width: 1075px;
	margin: 0 auto;
}

/* Contact */
.platform__section.section-7 {
	background-color: #fbfbfb;
}

.floating-inputs-container.e-con {
	width: 100%;
	max-width: 430px;
	margin: 40px auto 0;
}

.ds-contact-form .wpforms-field-container,
.ds-contact-form .wpforms-field {
	margin: 0;
	padding: 0;
}

.ds-contact-form .wpforms-field {
	position: relative;
	margin-bottom: 35px;
}

.ds-contact-form .wpforms-field-label {
	display: inline-block;
	margin: 0 0 7px;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #1c8df2;
}

.ds-contact-form .wpforms-required-label {
	display: none;
}

.ds-contact-form input[type="text"],
.ds-contact-form input[type="email"] {
	display: inline-block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 8px 10px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: #1c8df2;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #1c8df2;
	border-radius: 0;
	box-shadow: none;
}

.ds-contact-form input[type="text"]:focus,
.ds-contact-form input[type="email"]:focus {
	border-color: #1c8df2;
	box-shadow: none;
}

.ds-contact-form em.wpforms-error,
.ds-contact-form label.wpforms-error {
	display: block;
	margin-top: 5px;
	font-size: 14px;
	font-style: normal;
	color: red;
}

.ds-contact-form .wpforms-submit-container {
	margin: 0;
	padding: 0;
}

.ds-contact-form button.wpforms-submit,
.ds-contact-form button.wpforms-submit:hover,
.ds-contact-form button.wpforms-submit:focus {
	width: 100%;
	padding: 15px;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	background-color: #1c8df2;
	border: none;
	border-radius: 0;
	cursor: pointer;
}

.ds-contact-form button.wpforms-submit:hover {
	opacity: .7;
}

.ds-contact-form .wpforms-submit-spinner {
	display: block;
	margin: 10px auto 0;
}

.wpforms-confirmation-container-full {
	font-family: SegoeLight;
	font-size: 16px;
	line-height: 25px;
	color: #272727;
	text-align: center;
}

/* RDC contact band */
.platform__section.section-8 {
	color: #fff;
	text-align: center;
	background-color: #103658;
}

.section-8 .platform__block.e-con {
	padding: 50px 15px;
}

.section-8 .content.e-con {
	width: 100%;
	max-width: 222px;
	margin: 0 auto;
}

.elementor .section-8 .text .elementor-heading-title {
	font-size: 18px;
	font-weight: 300;
	color: #fff;
}

.elementor .section-8 .text.lg.elementor-widget {
	margin-top: 25px;
}

.elementor .section-8 .text.lg .elementor-heading-title {
	font-size: 20px;
	font-weight: 800;
}

.elementor .section-8 .text.xl.elementor-widget {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, .3);
}

.elementor .section-8 .text.xl .elementor-heading-title {
	font-size: 32px;
	font-weight: 700;
}

/* ------------------------------------------------------------------
 * MELO footer (Theme Builder footer)
 * ------------------------------------------------------------------ */
.section-9.e-con {
	background-image: url(assets/img/platform-bg-5.png);
	background-position: center;
	background-size: cover;
}

.section-9 .footer_right.e-con {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 589px;
	margin: 0 auto;
	padding: 16px 22px;
	text-align: center;
	border: none;
}

.footer_right_text {
	font-size: 14px;
	line-height: 1.5;
	color: #5e5e5e;
}

.footer_right_text strong {
	font-weight: 700;
}

.section-9 .footer_right_awards.e-con {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 100%;
	max-width: 296px;
	margin: 45px 0;
}

.footer_right_awards .footer_right_award {
	width: auto;
	line-height: 0;
}

.footer_right_awards .footer_right_award img {
	display: block;
	border-radius: 10px;
}

@media (max-width: 480px) {
	.section-9 .footer_right_awards.e-con {
		flex-direction: column;
		align-items: center;
	}

	.footer_right_awards .footer_right_award img {
		margin: 10px;
	}
}

/* ------------------------------------------------------------------
 * Support page
 * ------------------------------------------------------------------ */
.platform__page--heading.e-con {
	margin-top: 80px;
	padding: 45px 15px 0;
	text-align: center;
	background-color: #f8f8f8;
}

.elementor .platform__page--title .elementor-heading-title {
	margin: 0;
	line-height: 1.2;
	padding: 20px 0 30px;
	font-size: 28px;
	font-weight: 800;
	color: #272727;
	text-align: center;
}

@media (max-width: 1200px) {
	.platform__page--heading.e-con {
		margin-top: 150px;
	}
}

.platform__page.e-con {
	padding: 0 15px;
}

.platform__page--subtitle.e-con {
	padding: 100px 0 50px;
}

.elementor .platform__page--subtitle-title .elementor-heading-title {
	padding: 15px 0 0;
	font-size: 22px;
	font-weight: 800;
	color: #1c8df2;
	text-align: center;
}

/* Manuals (Loop Grid of "Εγχειρίδια Χρήσης") */
.manuals__grid .elementor-loop-container.elementor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(395px, auto));
	grid-gap: 22px;
	max-width: 1650px;
	margin: 0 auto;
	padding-bottom: 100px;
}

.elementor .elementor-loop-container > .e-loop-item {
	margin: 0;
}

.manuals__grid .elementor-loop-container > .e-loop-item {
	display: flex;
}

.elementor a.manuals__item.e-con,
.elementor a.manuals__item.e-con:hover {
	position: relative;
	display: block;
	width: 100%;
	max-width: 395px;
	margin: 0 auto;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 0 8px -1px rgba(0, 0, 0, .2);
}

.manuals__head.e-con {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 155px;
	padding: 20px 0;
	background: url(assets/img/manuals-head-bg.svg) no-repeat left top;
}

.elementor .manuals__head--text .elementor-heading-title {
	font-family: SegoeSBold;
	font-size: 18px;
	font-weight: 400;
	color: #fff;
}

.manuals__body img {
	max-width: none;
}

.manuals__body.e-con {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	min-height: 357px;
	padding: 20px 30px 40px;
	text-align: center;
}

.manuals__footer.e-con {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0 30px 30px;
}

.manuals__footer--content.e-con {
	width: auto;
	min-width: 0;
	flex: 0 1 auto;
}

.elementor .manuals__footer--text .elementor-heading-title {
	font-size: 16px;
	color: #1c8df2;
	text-align: left;
}

.elementor .manuals__footer--text.lg .elementor-heading-title {
	font-weight: 800;
	color: #585858;
}

.manuals__footer--pdf {
	width: auto;
	flex: 0 0 auto;
	line-height: 0;
}

/* Videos (Loop Grid of "Βίντεο Οδηγιών") */
.video.e-con {
	background-color: #f8f8f8;
}

.elementor .video__grid .elementor-loop-container.elementor-grid {
	gap: 0;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	max-width: 1440px;
	margin: 0 auto;
}

.elementor .video__grid .elementor-loop-container > .e-loop-item {
	width: 100%;
	max-width: 648px;
	margin: 35px;
}

.elementor .video__iframe .elementor-wrapper {
	position: relative;
	height: auto;
	padding-top: 360px;
	aspect-ratio: auto;
}

.video__iframe .elementor-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 1200px) {
	.elementor .video__iframe .elementor-wrapper {
		padding-top: 57%;
	}
}

.elementor .video__title.elementor-widget {
	margin-top: 35px;
}

.elementor .video__title .elementor-heading-title {
	font-size: 22px;
	font-weight: 800;
	color: #585858;
	text-align: center;
}
