/*

Theme Name: Bioreactor of Ideas
Theme URI: https://bioreactorofideas.eu
Author: Andrii Shekhirev
Description: custom WP theme for the pilot event in Riga '20
Version: 1.0
Text Domain: boi
Domain Path: /languages/

*/



/* Table of Contents
-------------------------------------



/*



/* 
1. General
-------------------------------------
*/

/* Resets */

html, 
body, 
div, 
span, 
applet, 
object, 
iframe, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
p, 
blockquote, 
pre, 
a, 
abbr, 
acronym, 
address, 
big, 
cite, 
code, 
del, 
dfn, 
em, 
font, 
ins, 
kbd, 
q, 
s, 
samp, 
small, 
strike, 
strong, 
sub, 
sup, 
tt, 
var, 
dl, 
dt, 
dd, 
ol, 
ul, 
li, 
fieldset, 
form, 
label, 
legend, 
table, 
caption, 
tbody, 
tfoot, 
thead, 
tr, 
th, 
td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow-y: scroll;
	font-size: 62.5%;
	height: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

/* Defaults */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

body {
	font-family: 'Open Sans', Arial, sans-serif;
	line-height: 1.4;
	background-color: #fff;
	color: #000;
	height: 100%;
}

.clear:after {
	display: table;
	clear: both;
	content: '';
}

a {
	text-decoration: none;
}

.uppercase {
	text-transform: uppercase;
}

ul {
	list-style: none;	
}

textarea {
	height: auto;
}

::-webkit-input-placeholder { 
	color:#aaa; 
}
::-moz-placeholder { 
	color:#aaa; 
}
:-ms-input-placeholder { 
	color:#aaa; 
}
input:-moz-placeholder { 
	color:#aaa; 
}

input[type="checkbox"] {
	margin: 0;
    vertical-align: middle;	
}

input[type="submit"] {
	border: none;
    padding: 16px 20px;
	padding: 1.6rem 2rem;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 0;
}

strong {
	font-weight: 800;
}

p {
	margin-bottom: 30px;
}

select {
	display: block;
    width: 100%;	
}

label {
		
}

small {
	font-size: 12px;
	font-size: 1.2rem;	
}

img {
	max-width: 100%;
	height: auto;	
}

embed,
iframe {
	max-width: 100%;	
}

.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

@font-face {
    font-family: 'Cascadia';
    src: url('fonts/cascadia-webfont.woff2') format('woff2'),
         url('fonts/cascadia-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.monospace {
	font-family: 'Cascadia', 'Open Sans', monospace;
}


/* Header */

.boi-announcement {
	width: 100%;
	padding: 20px 40px;
	background-color: #9326FF;
	color: #fff;
	z-index: 1000;
	top: 0;
}

.boi-announcement a {
	color: #fff;
	border-bottom: 1px dashed;
}

.boi-announcement a:hover {
	border-bottom: none;
}

.site-header {
	padding: 40px;
}

.boi-logo {
	float: left;
	line-height: 0;
}

.boi-header-menu {
	float: right;
	padding: 12px 0;
}

.boi-mobile-menu-hamburger {
	float: right;
	color: #7545f1;
	cursor: pointer;
}

.boi-mobile-menu-close {
	margin-top: 20px;
}

.boi-mobile-menu-close .dashicons {
	font-size: 34px;
	color: #c6b5f2;
	cursor: pointer;
	height: 34px;
	width: 34px;
	margin-left: -6px;
}

.boi-header-menu li {
	display: inline-block;
	font-family: 'Cascadia', 'Open Sans', monospace;
}

.boi-header-menu li a {
	color: #3992A4;
	text-transform: lowercase;
	position: relative;
}

.boi-header-menu li a:hover:before {
	content: "";
	width: 100%;
	height: 5px;
	background-color: #B7DEE6;
	display: inline-block;
	position: absolute;
	top: -4px;
}

.boi-header-menu .menu-link-apply a {
	color: #9226FF;
}

.boi-header-menu li.menu-link-apply a:hover::before {
	background-color: #E6CCFF;
}


/* Body */

.boi-container {
	max-width: 1100px;
	margin: 0 auto;
}

.boi-hero {
	text-align: center;
	background-image: url('images/boi-hero.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.boi-hero-text {
	color: #000;
	display: inline;
	background-color: #fff;
	box-shadow: 1px 1px #000, 2px 2px #000, 3px 3px #000, 4px 4px #000, 5px 5px #000, 6px 6px #000, 7px 7px #000, 8px 8px #000, 9px 9px #000;
	-webkit-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 12px 20px;
}

.boi-corporate {
	text-align: center;
	grid-template-columns: repeat(6, auto);
	justify-content: space-between;
}

.boi-box {
	background-color: #3994A4;
	margin: 50px 0 0 0;
}

.boi-cta-notice {
	padding: 0 0 40px 0;
	color: #fff;
	font-size: 18px;
}

.boi-button {
	display: inline-block;
	padding: 20px 30px;
	/* border: 1px solid #3994A4; */
	line-height: 1;
	color: #3994A4;	
	position: relative;
	box-shadow: inset 1px 1px 0 0 #3994A4, inset -1px 1px 0 0 #3994A4;
	background-color: #fff;
	text-align: center;
}

.boi-button:after {
	content: "";
	display: block;
	border: 1px solid #3994a4;
	height: 6px;
	background: #ECF7F9;
	width: 100%;
	position: absolute;
	bottom: -5px;
	left: 0;
}

.boi-button:hover {
	background: #9226FF;
	color: #fff;
	top: 5px;
}

.boi-button:hover svg * {
	fill: #fff !important;
}

.boi-button:hover:after {
	content: none;
}

.boi-cta-message {
	color: #fff;
}

.boi-cta-message a,
.boi-cta-contact a {
	color: #fff;
	border-bottom: 1px dashed;
}

.boi-cta-message a:hover,
.boi-cta-contact a:hover {
	border-bottom: 1px solid;
}

.boi-cta-contact {
	color: #fff;
	padding-top: 20px;
	font-style: italic;
}

.boi-counter {
	font-size: 18px;
	color: #FFB27A;
	padding-top: 30px;
}

.boi-spacetime {
	display: grid;
	justify-content: space-between;
	grid-row-gap: 40px;
	color: #B7DEE5;
}

.boi-spacetime-item-desc {
	font-size: 18px;
}

.boi-spacetime-item-val {
	font-weight: 800;
}

.boi-timeline {
	padding-top: 40px;
}

.boi-timeline-event {
	position: relative;
}

.boi-timeline-event:last-child {
	padding-bottom: 0;
}

.boi-timeline-done,
.boi-timeline-done .highlight-timeline {
	color: #aaa;
}

.boi-timeline-event-line {
	width: 16px;
	position: absolute;
	position: absolute;
	top: 0;
	bottom: 0;
}

.boi-timeline-event-line-mark {
	width: 16px;
	height: 16px;
	position: absolute;
	top: 0;
	left: 16px;
}

.boi-timeline-event-datetime {
	flex: 1 0 12em;
	position: relative;
}

.boi-timeline-event-time {
	color: #999;
	font-style: italic;
	font-size: 0.8em;
	line-height: 2;
}

.boi-timeline-event-description {
	flex: 1 1 auto;
}

.highlight-timeline {
	padding: 0 4px;
	border: 1px solid;
}

.highlight-offline {
	border-color: #9326ff;
	color: #9326ff;
}

.highlight-prize {
	background: #3994A4;
	color: #fff;
	padding: 0 3px;
	font-family: 'Cascadia', 'Open Sans', monospace;
}

.boi-section-activities {
	padding-top: 100px;
	background-color: #f5f5f5;
}

.boi-points {
	display: grid;
	grid-row-gap: 80px;
	justify-content: space-between;
}

.boi-point-icon {
	text-align: center;
}

.boi-point-number {
	color: #ddd;
	font-size: 110px;
	font-family: 'Cascadia', 'Open Sans', monospace;
	line-height: 110px;
	margin-left: -8px;
}

.boi-description {
	display: grid;
}

.boi-description-title {
	text-transform: uppercase;
	color: #9326FF;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 2px;
	padding: 0 20px 40px 0;
}

.boi-text-bolditalic {
	font-weight: 600;
	font-style: italic;
}

p a,
.boi-point a {
	color: #3994a4;
	text-decoration: underline;
}

p a:hover {
	border-bottom: none;
}

.boi-section-partners {
	padding-bottom: 80px;
}

.boi-partner {
	float: left;
}

.boi-partner-logo svg {
	max-width: 100%;
}

.boi-partner-description {
	font-size: 14px;
	color: #888;
	padding-top: 4px;
}

.boi-section-reapply {
	background-color: #3994A4;
}

.boi-questions {
	font-size: 14px;
	color: #B7DEE5;
	padding-top: 30px;
}

.boi-apply {
	padding: 120px 5% 20px 5%;
}

.boi-apply-desc {
	max-width: 500px;
	margin: 0 auto;
}

.boi-apply-action {
	text-align: center;
}

.boi-form-subscribe {
	display: grid;
	max-width: 700px;
	margin: 40px auto;
	grid-row-gap: 20px;
}

.boi-input {
	width: 100%;
	height: 100%;
	border: 5px solid #666;
	padding: 10px 25px;
	font-size: 30px;
	color: #666;
	line-height: 1;
}

.boi-form-notice-success {
	padding: 20px;
	border: 4px solid #fff;
	max-width: 580px;
	margin: 40px auto 0 auto;
	color: #fff;
}

::-webkit-input-placeholder {
	color: inherit;
	font-size: inherit;
	font-style: italic;
}
::-moz-placeholder {
	color: inherit;
	font-size: inherit;
	font-style: italic;
	opacity: 1;
}
:-ms-input-placeholder {
	color: inherit;
	font-size: inherit;
	font-style: italic;
}
:-moz-placeholder {
	color: inherit;
	font-size: inherit;
	font-style: italic;
	opacity: 1;
}

.boi-section-contact {
	background-color: #245C66;
	padding: 100px 5%;
	color: #72B7C1;
}

.boi-contact {
	display: flex;
}

.boi-contact input {
	border: 1px solid;
	background: none;
	padding: 16px 24px;
	font-size: inherit;
	color: #73B7C2;
}

.boi-contact-message {
	flex: 1 0 auto;
}

.boi-contact-send {
	cursor: pointer;
	color: #245B66;
	background-color: #73B7C2;
	font-family: 'Cascadia', 'Open Sans', monospace;
	padding: 0 20px;
	line-height: 55px;
	text-align: center;
}

.boi-contact-send:hover {
	background-color: #9326FF;
	color: #fff;
}

.boi-page-title {
	font-size: 40px;
	margin: 1em 0;
}

.page-template-default .content-page {
	padding: 20px 0 80px 0;
}

.content-page h2,
.content-page h3 {
	font-size: 20px;
	font-family: 'Cascadia', 'Open Sans', monospace;
	margin-bottom: 1em;
}


/* Footer */

.site-footer {
	background-color: #245C66;
	font-size: 16px;
	color: #72B7C1;
}

.site-footer a {
	color: #72B7C1;
	border-bottom: 1px solid;
}

.site-footer a:hover {
	border-bottom: none;
}

.boi-slogan {
	text-align: center;
	padding: 50px 0 100px 0;
}

h2.boi-hero-text {
	color: #9226FF;
	background-color: #fff;
	box-shadow: 1px 1px #9226FF, 2px 2px #9226FF, 3px 3px #9226FF, 4px 4px #9226FF, 5px 5px #9226FF, 6px 6px #9226FF;
	-webkit-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
}

.footer-menu {
	margin-top: 5px;
}

.footer-menu li a {
	color: #72B7C1;
}

.footer-right svg {
	max-width: 100%;
}


/* Smaller mobile screens */
@media screen and (min-width: 10em) {
	
	body {
		font-size: 16px;
		font-size: 1.6em;
	}
	
	.boi-mobile-menu-hamburger {
		display: none;
	}
	
	.boi-header-menu {
		display: none;
	}
	
	.boi-container {
		padding: 0 5%;
	}
	
	.boi-hero {
		background-size: cover;
		padding: 50px 20px;
	}
	
	.boi-hero-text {
		font-size: 24px;
		line-height: 52px;
	}
	
	h2.boi-hero-text {
		font-size: 20px;
		line-height: 48px;
	}
	
	.boi-hero-text br {
		display: none;
	}
	
	.boi-hero-text-mobile {
		display: inline;
	}
	
	.boi-section {
		padding-bottom: 80px;
	}
	
	.boi-section-content {
		padding-bottom: 40px;
	}
	
	.boi-corporate {
		padding-top: 80px;
		margin: 0 -15px;
	}
	
	.boi-corporate-logo {
		margin: 0 15px 20px 15px;
		display: inline-block;
	}
	
	.boi-corporate-logo svg {
		max-height: 30px;
		max-width: 90px;
	}
	
	.boi-box {
		padding: 40px 20px;
	}
	
	.boi-cta-notice br {
		display: none;
	}
	
	.boi-button .boi-arrow {
		display: none;
	}
	
	.boi-cta-message {
		font-size: 20px;
	}
	
	.boi-spacetime {
		margin-top: 100px;
	}
	
	.boi-spacetime-item-val {
		font-size: 30px;
	}
	
	.boi-timeline-event {
		padding-bottom: 20%;
	}
	
	.boi-timeline-event-info {
		margin-left: 20%;
	}
	
	.boi-timeline-event-datetime {
		top: -6px;
	}
	
	.boi-point-number {
		text-align: center;
	}
	
	.boi-point-icon {
		width: 90px;
		float: left;
		margin-right: 40px;
		padding: 0;
	}
	
	.boi-button {
		font-size: 26px;
		width: 100%;
	}
	
	.boi-section-event .boi-description {
		padding-top: 80px;
	}
	
	.boi-partner {
		padding: 0 20px 20px 0;
	}
	
	.boi-apply {
		padding-top: 80px;
	}
	
	.boi-form-subscribe {
		margin-bottom: 10px;
	}
	
	.boi-contact {
		flex-direction: column;
	}
	
	.boi-contact input {
		margin: 0 0 20px 0;
	}
	
	.site-footer {
		padding: 40px 0;
	}
	
	.bottom-footer {
		text-align: center;
	}
	
	.footer-right {
		margin-top: 30px;
	}
	
}


/* Larger mobile screens - 768px and wider */
@media screen and (min-width: 48em) {
	
	body {
		font-size: 18px;
		font-size: 1.8em;
	}
	
	.boi-mobile-menu-hamburger {
		display: none;
	}
	
	.boi-mobile-menu-close {
		display: none;
	}
	
	.boi-header-menu {
		display: block;
	}
	
	.boi-header-menu li {
		font-size: 18px;
		margin: 0 0 0 20px;
	}
	
	.boi-logo svg {
		max-width: 150px;
	}
	
	.boi-hero {
		padding: 100px;
		padding: 8vw;
	}
	
	.boi-hero-text {
		font-size: 38px;
		line-height: 68px;
	}
	
	h2.boi-hero-text {
		font-size: 30px;
		line-height: 59px;
	}
	
	.boi-hero-text br {
		display: block;
	}
	
	.boi-hero-text-mobile {
		display: none;
	}
	
	.boi-section {
		padding-bottom: 100px;
	}
	
	.boi-section-content {
		padding-bottom: 50px;
	}
	
	.boi-corporate {
		display: grid;
		padding-top: 120px;
		margin: 0;
	}
	
	.boi-corporate-logo {
		margin: 0;
		display: block;
		align-self: center;
	}
	
	.boi-corporate-logo svg {
		max-height: 35px;
		max-width: 100px;
	}
	
	.boi-box { 
		padding: 60px;
	}
	
	.boi-cta {
		padding: 0 5%;
		text-align: center;
	}
	
	.boi-cta-notice br {
		display: inline;
	}
	
	.boi-button .boi-arrow {
		display: inline;
	}
	
	.boi-cta-message {
		font-size: 28px;
	}
	
	.boi-spacetime {
		margin-top: 150px;
		grid-template-columns: repeat(3, auto);
		grid-column-gap: 10%;
	}
	
	.boi-timeline-event {
		padding-bottom: 7%;
	}
	
	.boi-timeline-event-info {
		margin-left: 10%;
		display: flex;
	}
	
	.boi-timeline-event-datetime {
		top: 0;
	}
	
	.boi-points {
		grid-template-columns: repeat(4,auto);
	}
	
	.boi-point-number {
		text-align: left;
	}
	
	.boi-point {
		max-width: 150px;
	}
	
	.boi-point-icon {
		width: auto;
		float: none;
		margin-right: 0;
		padding: 0 20px 30px 0;
	}
	
	.boi-button {
		font-size: 40px;
		width: auto;
	}
	
	.boi-section-event .boi-description {
		padding-top: 120px;
	}
	
	.boi-description {
		grid-template-columns: 3fr 5fr;
	}
	
	.boi-partners {
		margin: 10px -30px;
	}
	
	.boi-partner {
		padding: 30px;
	}
	
	.boi-apply {
		padding-top: 120px;
		text-align: center;
	}
	
	.boi-form-subscribe {
		grid-template-columns: 1fr 1fr;
		margin-bottom: 40px;
	}
	
	.boi-contact {
		flex-direction: row;
	}
	
	.boi-contact input {
		margin: 0 20px 0 0;
	}
	
	.footer-left {
		float: left;
	}

	.footer-right {
		float: right;
		margin-top: 0;
	}
	
	.site-footer {
		padding: 40px;
	}
	
	.bottom-footer {
		text-align: left;
	}
	
}


/* Laptops and medium screens - 1280px and wider */
@media screen and (min-width: 80em) {
	
	.boi-logo svg {
		max-width: none;
	}
	
	.boi-header-menu li {
		margin: 0 0 0 50px;
		font-size: 24px;
	}
	
	.boi-container {
		padding: 0;
	}
	
	.boi-hero-text {
		font-size: 50px;
		line-height: 81px;
	}
	
	h2.boi-hero-text {
		font-size: 38px;
		line-height: 67px;
	}
	
	.boi-corporate-logo svg {
		max-height: none;
		max-width: none;
	}
	
	.boi-spacetime-item-val {
		font-size: 34px;
		padding-top: 4px;
	}
	
	.boi-box {
		padding: 100px;
	}
	
	.boi-point {
		max-width: 220px;
	}
	
}


/* Large screens - 1920px and wider */
@media screen and (min-width: 120em) {
	
	
		
}