/*
Theme Name: Galileo
Theme URI: 
Author: Paolo Pizzuti
Author URI: https://www.paolopizzuti.it
*/

/* IMPORTS */

/* VARIABLES */
:root {
  --main-color: #262626; 
  --secondary-color: #007a91;
  --secondary-color-op: rgba(99,165,195,.2);
  --global-transition-timing: .5s;
  --aside-width: 380px;
}
/* STARTERS */
*, :after, :before {
	box-sizing: border-box;
	outline: none;
}
* {
	-webkit-overflow-scrolling: touch;
	outline: 0 !important;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
a, a :hover, a:link, a:visited {
	text-decoration: none;
	color: inherit;
}
.container {
	max-width: 1300px;
}
.noscroll {
	overflow: hidden;
	position: relative;
	touch-action: none;
}
p {
	font-weight: 300;
	line-height: 1.5em;
}
.text ul {
	padding-left: 20px;
}
.text ul li {
	list-style: disc;
}
.text ol {
	padding-left: 20px;
}
.text ol li {
	list-style: decimal;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700 !important;
}
h1 {
	font-size: 36px;
	font-weight: 300;
	color: var(--main-color);
}
h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--main-color);
}
h3 {
	font-size: 28px;
	font-weight: 700;
	color: var(--main-color);
}
h4 {
	font-size: 24px;
	font-weight: 700;
	color: var(--main-color);
}
strong {
	font-weight: 700;
}
i, em {
	font-style:italic;
}
.border-box {
	background-color: #fff;
	border-radius: 12px;
	border: 1px solid var(--secondary-color-op);
	box-shadow: 0 13px 12px rgba(0,0,0,.05);
	padding: 40px;
	margin-bottom: 15px;
}
.border-box.dark {
	background-color: var(--main-color);
}
a.cta,button.cta {
	appearance:none;
	display: inline-block;
	background-color: var(--main-color);
	border: 1px solid var(--secondary-color);
	color: #fff !important;
	max-width: 160px;
	width: 100%;
	text-align: center;
	margin-top: 20px;
	padding: 8px 12px;
	font-size: 18px;
	border-radius: 100px;
	cursor: pointer;
}

html, body {
	font-family: 'UniCredit','Roboto', helvetica, arial, 'sans-serif';
	height: 100%;
	color: #222;
	font-weight: normal;
	// background-color: #eee;
	color: var(--main-color);
}
body {
	background-image: url(../images/background-galileo-2.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
}
section.login {
	padding: 100px 0 100px 0;
}
section.login .logo {
	text-align: center;
	margin-bottom: 70px;
}
section.login .logo svg {
	width: 240px;
}
section.login form#loginform {
	max-width: 400px;
	//background-color: rgba(255,255,255,.8);
	//-webkit-backdrop-filter: saturate(180%) blur(15px);
	//backdrop-filter: saturate(180%) blur(15px);
	// padding: 60px;
	border-radius: 12px;
	//box-shadow: 0 3px 50px rgba(0,0,0,.03);
	margin: 0 auto;
}
section.login form#loginform input {
	width: 100%;
	margin-bottom: 25px;
	border-radius: 100px;
	-webkit-appearance: none;
	border: 1px solid var(--secondary-color-op);
	// border: 0;
	box-shadow: 0 0 30px rgba(0,0,0,.05);
	font-size: 16px;
	font-weight: 300;
	color: #444;
	padding: 16px 30px;
	transition-duration: var(--global-transition-timing);
}
section.login form#loginform input:focus {
	// border-color: var(--secondary-color);
	box-shadow: 0 2px 30px rgba(0,0,0,.15);
}
section.login form#loginform .submit {
	font-weight: 600;
	font-size: 20px;
	text-align: right;
}
section.login form#loginform button {
	-webkit-appearance: none;
	border: 0;
	background-color: var(--secondary-color);
	border-radius: 100px;
	color: #fff;
	font-size: 22px;
	padding: 5px 18px;
	margin-left: 5px;
	cursor: pointer;
}
section.login form#loginform button {
	
}


header {
	width: 100%;
	background-color: #fff;
	border-bottom: 1px solid rgba(0,0,0,.1);
	z-index: 1000000;
}
header .header-content {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
header .logo svg {
	width: 200px;
}
header .logo .st0,
.login .logo .st0 {
	fill: #64A5C3;
}
header .logo .st1,
.login .logo .st1 {
	fill: #024358;
}
header .client-logo {
	width: 120px;
}
header .client-logo img {
	width: 100%;
	height: auto;
}
section.nav-top {
	width: 100%;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 20px 0 50px 0;
}
section.nav-top:after {
	content:"";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	background-color: rgba(255, 255, 255, .70);
	//background-color: rgba(2, 67, 88, .9);
	-webkit-backdrop-filter: saturate(180%) blur(15px);
	backdrop-filter: saturate(180%) blur(15px);
	transition-duration: .3s;
}
body.scroll section.nav-top:after {
	opacity: 1;
}
section.nav-top .position {
	position: relative;
	display: flex;
	justify-content: space-between;
	max-width: 700px;
	margin: 0 auto;
}
section.nav-top .position:after {
	content:"";
	position: absolute;
	width: 100%;
	height: 2px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	background-color: var(--secondary-color);
}
section.nav-top .position .pin {
	position: relative;
	display: inline-block;
}
section.nav-top .position .pin a {
	display: block;
}
section.nav-top .position .pin .pin-icon {
	position: relative;
	width: 22px;
	height: 22px;
	background-color: #fff;
	border-radius: 50%;
	border: 1px solid var(--secondary-color);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	transition-duration: var(--global-transition-timing);
}
section.nav-top .position .pin.active .pin-icon {
	background-color: var(--secondary-color);
}
section.nav-top .position .pin.active .pin-icon:before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #fff;
}
section.nav-top .position .pin .pin-name {
	position: absolute;
	top: 28px;
	left: 50%;
	font-size: 13px;
	line-height: 1.2em;
	font-weight: 500;
	transform: translateX(-50%);
	text-align: center;
	color: var(--main-color);
	transition-duration: var(--global-transition-timing);
}
body.scroll section.nav-top .position .pin .pin-name {
	// color: #fff;
}
section.galileo {
	padding: 100px 0;
}
section.galileo .content {
	float: left;
	padding: 0 30px 30px 0;
	width: calc(100% - var(--aside-width));
}
section.galileo h1 {
	margin-bottom: 50px;
}
aside.sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	width: var(--aside-width);
	float: right;
}
aside.sidebar .box {
	width: 100%;
}
aside.sidebar .box .profile {
	width: 100%;
}
aside.sidebar .box .profile .avatar {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 90px;
	height: 90px;
	overflow: hidden;
	border-radius: 50%;
	border: 2px solid #fff;
	float: left;
	margin: 0 auto;
	background-color: var(--secondary-color);
}
aside.sidebar .box .profile .avatar .letters {
	font-size: 40px;
	font-weight: 700;
	color: var(--main-color);
}
aside.sidebar .box .profile .personal-data {
	padding-left: 10px;
	float: left;
}
aside.sidebar .box .profile .name {
	color: #fff;
	font-size: 20px;
	font-weight: 400;
}
aside.sidebar .box .profile a {
}
aside.sidebar .box .profile a.logout {
	background-color: #ED5886;
	display: inline-block;
	font-size: 12px;
	color: #fff;
	padding: 1px 16px;
	border-radius: 100px;
	margin-bottom: 5px;
}
aside.sidebar .box .profile a.simple {
	display: block;
	color: #fff;
	font-size: 12px;
	text-decoration: underline;
}
aside.sidebar .box .icon {
	margin-bottom: 15px;
}
aside.sidebar .box .text p {
	line-height: 1.2em;
}
.calendar {

}
.calendar .date h2 {
	font-size: 20px;
	margin: 0;
}
.calendar .date h3 {
	font-size: 16px;
	font-weight: 300 !important;
}
.calendar .schedule .block {
	width: 100%;
	min-height: 80px;
	padding: 18px;
	background-color: var(--main-color);
	margin-bottom: 8px;
	border-radius: 14px;
	display: flex;
	justify-content: center;
	text-align: left;
	flex-direction: column;
}
.calendar .schedule .block.break {
	background-color: #4ED19F;
	min-height: 60px;
}
.calendar .schedule .block .time {
	font-size: 12px;
	color: #fff;
	line-height: 1.2em;
}
.calendar .schedule .block .task {
	font-size: 18px;
	line-height: 1.2em;
	color: #fff;
	font-weight: 600;
}
.prework h2 {
	font-size: 26px;
}
.galileo .download {
	margin-top: 20px;
}
.galileo .download a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: 14px;
	line-height: 1.2em;
	font-weight: 600;
	margin-right: 20px;
}
.galileo .download a:last-of-type {
	margin: 0;
}
.galileo .download a img {
	width: 50px;
	height: auto;
	margin-bottom: 10px;
}

footer {
}
footer .footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(0,0,0,.1);
	padding: 20px 0;
	font-size: 12px;
}
footer .ha-credits {
	display: flex;
	align-items: flex-end;
}
footer .ha-credits .ha-logo {
	width: 70px;
	margin-right: 10px;
}
footer .ha-credits .ha-logo img {
	width: 100%;
	height: auto;
}
.g-modal {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 50px;
	z-index: 100000000000;
	background-color: rgba(0,0,0,.5);
}
.g-modal .g-modal-content {
	background-color: #fff;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(0,0,0,.5);
	padding: 70px;
	overflow-y: scroll;
}

@media screen and (max-width: 1200px) {

}
@media screen and (max-width: 992px) {

}
@media screen and (max-width: 920px) {
	section.galileo .content {
		width: calc(100% - 300px);
	}
	aside.sidebar {
		width: 300px;
	}
}
@media screen and (max-width: 768px) {
	section.nav-top .position {
		max-width: 500px;
	}
	section.galileo {
		padding: 50px 0;
	}
	section.galileo .content {
		width: 100%;
		float: none;
		padding-right: 0;
	}
	aside.sidebar {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 10000;
		height: 100vh;
		width: 50vw;
		// overflow-y: scroll;
		padding: 15px;
		transform: translateX(100%);
		transition-duration: var(--global-transition-timing);
	}
	aside.sidebar .toggle {
		content: "";
		display: block;
		position: absolute;
		top: 220px;
		left: -65px;
		width: 50px;
		height: 50px;
		background-color: var(--main-color);
		cursor: pointer;
		// transform: translateX(-100%);
	}
	body:before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 9999;
		background-color: rgba(0,0,0,.9);
		-webkit-backdrop-filter: saturate(180%) blur(15px);
		backdrop-filter: saturate(180%) blur(15px);
		opacity: 0;
		pointer-events: none
	}
	body.opensidebar {
		overflow: auto !important;
	}
	body.opensidebar:before {
		opacity: 1;
		transition-duration: var(--global-transition-timing);
	}
	.opensidebar aside.sidebar {
		transform: translateX(0);
	}
	.g-modal .g-modal-content {
		padding: 50px;
	}
}
@media screen and (max-width: 576px) {
	aside.sidebar {
		width: 80vw;
	}
}
@media screen and (max-width: 414px) {
	section.nav-top .position {
		max-width: 300px;
	}
	section.nav-top .position .pin .pin-name {
		font-size: 10px;
	}
	header .logo svg {
		width: 150px;
	}
	header .client-logo {
		width: 90px;
	}
	.border-box {
		padding: 30px;
	}
	.calendar .schedule .block {
		min-height: 60px;
	}
	.calendar .schedule .block.break {
		min-height: 40px;
	}
	.calendar .schedule .block .task {
		font-size: 14px;
	}
	.g-modal {
		padding: 20px;
	}
	.g-modal .g-modal-content {
		padding: 40px;
	}
	
}
@media screen and (max-width: 320px) {

}

/* DEBUG 
* { outline: 2px dotted red !important }
* * { outline: 2px dotted green !important}
* * * { outline: 2px dotted orange !important}
* * * * { outline: 2px dotted blue !important}
* * * * * { outline: 1px solid red !important}
* * * * * * { outline: 1px solid green !important}
* * * * * * * { outline: 1px solid orange !important}
* * * * * * * * { outline: 1px solid blue !important}*/

