/*
 Theme Name:   MIT Portugal (GeneratePress Child)
 Theme URI:    https://mitportugal.org
 Description:  GeneratePress child theme for MIT Portugal
 Author:       RJW
 Template:     generatepress
 Version:      1.0

 This theme was downloaded from:
 https://docs.generatepress.com/article/using-child-theme/
 and then customized.

*/
/* test */
/* body { border: 8px solid red; } */

/* I don't know why, but the top is not set properly, so do this */
.screen-reader-text:focus,
.screen-reader-shortcut:focus {
	top: 0;
}

/* try to outline all elements for accessibility reasons */
*:focus {
	outline: 2px dotted red;
}

/* Text styles for basic dynamic content areas
 *
 * The classes "basic-content-title" etc. must be placed
 * on the widget within elementor.
 *
 * Extra selectors (such as #content) are needed in some cases
 * to override other styles (from Elementor etc.).
 *
 */

.elementor-tab-content {
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	color: #707070;
	margin: 0 0 1.4em 0;
}

/* page title */
.basic-content-title h1.elementor-heading-title {
	font-family: "Montserrat", sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #003c6e;
	margin: 0 0 36px 0;
}

/* introduction */
.basic-content-intro p,
.basic-content-intro {
	font-family: "Rokkitt", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	color: #003c6e;
	margin: 0 0 1.4em 0;
}

.basic-content-intro ul {
	margin: 0 0 1.4em 0;
	padding: 0 0 0 1em;
}

.basic-content-intro ol {
	margin: 0 0 1.4em 0;
	padding: 0 0 0 2em;
}

.basic-content-intro li {
	font-family: "Rokkitt", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	color: #003c6e;
	margin: 0;
	padding: 0 0 0 1.8em;
}

a {
	transition: all 0.15s linear;
}

/* main text, extended text, sidebar text */
h1 {
	font-family: "Montserrat", sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #003c6e;
	margin: 1.2em 0 1.2em 0;
}

h2 {
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: #003c6e;
	margin: 0;
}

.basic-content-text h3 {
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #003c6e;
}

.basic-content-text h4 {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4;
	color: #707070;
	margin: 0;
}

.basic-content-text h5 {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 700;
	font-style: italic;
	line-height: 1.4;
	color: #707070;
	margin: 0;
}

.basic-content-text h6 {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.4;
	color: #707070;
	margin: 0;
}

.basic-content-text p {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	color: #707070;
	margin: 0 0 1.4em 0;
}

ul {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 1.4em 0;
	padding: 0 0 0 1.4em;
}

.basic-content-text ol {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 1.4em 0;
	padding: 0 0 0 2em;
}

li {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	color: #707070;
	margin: 0;
	padding: 0 0 0 1.8em;
}

#content .basic-content-text hr {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	display: block;
	height: 1px;
	border: none;
	color: #707070;
	background-color: #707070;
	margin: 1.2em 0 1.4em 0;
}

/* WP media image inserted into WYSIWYG */
#content .basic-content-text figure {
	margin: 0 0 1.4em 0;
}

#content .basic-content-text figcaption {
	padding-top: 10px;
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	color: #707070;
	margin: 0;
	/* override WP styles */
	opacity: 1;
}

.basic-content-text p a,
.basic-content-text li a,
.basic-content-text th a,
.basic-content-text td a {
	color: #ef4136;
	text-decoration: none;
}

.basic-content-text a:hover {
	text-decoration: underline;
}

/* Custom styles from Formats button in WYSIWYG -
 * see also editor-style.css and functions.php
 */

/* alert box (green) */
.basic-content-text div.alert-box {
	border: 2px solid #50a050;
	padding: 12px;
	background-color: #e0f0d8;
	margin-bottom: 26px;
}

.basic-content-text div.alert-box > *:last-child {
	margin-bottom: 0;
}

/* danger box (pink) */
/* .basic-content-text div.danger-box {
	border: 2px solid #a05050;
	padding: 12px;
	background-color: #f2dede;
	margin-bottom: 26px;
} */

.danger-box {
	border: 2px solid #a05050;
	padding: 12px;
	background-color: #f2dede;
	margin-bottom: 26px;
}

.danger-box > *:last-child {
	margin-bottom: 0;
}

/* orange button link */
.basic-content-text a.orange-button {
	display: inline-block;
	padding: 22px 26px;
	background-color: #f4a219;
	border-radius: 28px;
	color: #000000;
	text-decoration: none;
}

/* blue button link */
.basic-content-text a.orange-button {
	background-color: #003c6e;
	border-radius: 5px;
	color: #fff;
	display: inline-block;
	font-family: "Montserrat", sans-serif;
	padding: 12px 26px;
	text-decoration: none;
}

.basic-content-text a.orange-button:hover,
.basic-content-text a.orange-button:active {
	color: #ffffff;
	text-decoration: none;
}

/* blue button link hover */
.basic-content-text a.orange-button:hover,
.basic-content-text a.orange-button:active {
	background-color: #1b75bc;
	color: #ffffff;
	text-decoration: none;
}

/* paragraphic list */
.basic-content-text ul.paragraphic-list,
.basic-content-text ol.paragraphic-list {
	margin-bottom: 0;
}

.basic-content-text ul.paragraphic-list li,
.basic-content-text ol.paragraphic-list li {
	margin: 0 0 1.4em 0;
}

/* bottom margin */
.basic-content-text p.bottom-margin,
.basic-content-text h1.bottom-margin,
.basic-content-text h2.bottom-margin,
.basic-content-text h3.bottom-margin,
.basic-content-text h4.bottom-margin,
.basic-content-text h5.bottom-margin,
.basic-content-text h6.bottom-margin {
	margin-bottom: 1.4em;
}

/* no bottom margin */
.basic-content-text p.no-bottom-margin,
.basic-content-text h1.no-bottom-margin,
.basic-content-text h2.no-bottom-margin,
.basic-content-text h3.no-bottom-margin,
.basic-content-text h4.no-bottom-margin,
.basic-content-text h5.no-bottom-margin,
.basic-content-text h6.no-bottom-margin {
	margin-bottom: 0;
}

/* Special text styles for event pages
 *
 */

/* page title */
.event-content-title h1.elementor-heading-title {
	font-family: "Montserrat", sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #003c6e;
	margin: 0 0 10px 0;
}

/* date and location */
.event-content-date p.elementor-heading-title,
.event-content-location p.elementor-heading-title {
	font-family: "Rokkitt", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.4;
	color: #003c6e;
	margin: 0 0;
}

.parent {
	display: grid;
	grid-column-gap: 26px;
	grid-row-gap: 50px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-template-rows: repeat(1, 1fr);
}

.alum-header {
	height: 56px;
}

.card {
	border-right: 1px solid #d2d2d2;
}

.card:last-child {
	border-right: none;
}

/* Text styles for list items
 *
 * The classes "person-list-item" etc. must be placed
 * on the section in the Anywhere Elementor template.
 *
 */

/* text styles for person list items on people page */
.person-list-item h3.elementor-heading-title {
	/* person name */
	font-family: "Rokkitt", serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #606060;
	margin: 0;
}

.person-list-item p.elementor-heading-title {
	/* person title and role */
	font-family: "Rokkitt", serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	color: #606060;
	margin: 0;
}

.person-list-item .person-title p.elementor-heading-title {
	/* person title */
	font-weight: 700;
}

/* text styles for research area list items */
.ra-list-item h3.elementor-heading-title {
	/* research area teaser title */
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 26px;
	color: #606060;
	text-transform: uppercase;
	margin: 0;
}

/* text styles for activity list items */
.activity-list-item span.elementor-heading-title {
	/* IDEA SPRINT text */
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #1b75bc;
	text-transform: uppercase;
	margin: 0;
}

.activity-list-item h3.elementor-heading-title {
	/* idea sprint teaser title */
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: #202020;
	margin: 0;
}

.activity-list-item p.elementor-heading-title {
	/* idea sprint teaser text */
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	color: #202020;
	margin: 0;
}

/* text styles for news list items */
.news-list-item h3.elementor-heading-title {
	/* news teaser title */
	font-family: "Rokkitt", serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	color: #003c6e;
	margin: 0;
}

.news-list-item p.elementor-heading-title {
	/* news date */
	font-family: "Rokkitt", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #707070;
	margin: 0;
}

/* text styles for event list items (same as news) */
.event-list-item h3.elementor-heading-title {
	/* event teaser title */
	font-family: "Rokkitt", serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	color: #003c6e;
	margin: 0;
}

.event-list-item p.elementor-heading-title {
	/* event date */
	font-family: "Rokkitt", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #707070;
	margin: 0;
}

/* text styles for competitive call list items */
.compcall-list-item span.elementor-heading-title {
	/* COMPETITIVE CALL text */
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #1b75bc;
	text-transform: uppercase;
	margin: 0;
}

.compcall-list-item h3.elementor-heading-title {
	/* competitive call teaser title */
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: #202020;
	margin: 0;
}

.compcall-list-item p.elementor-heading-title {
	/* competitive call teaser text */
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	color: #202020;
	margin: 0;
}

/* text styles for funded project list items */
.project-list-item span.elementor-heading-title {
	/* FUNDED PROJECT text */
	font-family: "Montserrat", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #1b75bc;
	text-transform: uppercase;
	margin: 0;
}

.project-list-item h3.elementor-heading-title {
	/* funded project teaser title */
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: #202020;
	margin: 0;
}

.project-list-item p.elementor-heading-title {
	/* funded project teaser text */
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	color: #202020;
	margin: 0;
}

/*** TablePress tables ***
 * see https://tablepress.org/faq/ and also note that this css comes before
 * the tablepress css, so it has to use heavier selectors when there are conflicts.
 * If any problems, the CSS can be added on the TablePress options page instead.
 */

/* remove edit button on all tables (don't do this if captions are needed) */
body .tablepress caption {
	display: none;
}

/* Deadline table (originally on Blue Origin page) */

/* table */
body .deadline-table {
	margin: 0 0 1.4em 0;
}

/* borders around rows */
body .deadline-table tbody tr:first-child td,
body .deadline-table tbody tr td {
	font-family: "Rokkitt", serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.4;
	color: #707070;
	margin: 0;
	border-top: 1px solid #707070;
}

body .deadline-table tbody tr:last-child td {
	border-bottom: 1px solid #707070;
}

/* cell styles */
body .deadline-table tbody .column-1 {
	text-align: left;
	padding-left: 0;
}

body .deadline-table tbody .column-2 {
	text-align: right;
	padding-right: 0;
}

.entry-content {
	margin: 0;
}

table.borderless td {
	border-width: 0;
}

/* mpp table */

body .mpp-table tbody tr:first-child td,
body .mpp-table tbody tr td {
	font-family: "Montserrat", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #003c6e;
	margin: 0;
	border-top: none;
}

body .mpp-table tbody tr:last-child td {
	border-bottom: none;
}

/* cell styles */
body .mpp-table tbody .column-1 {
	text-align: left;
	padding-left: 0;
	width: 25%;
}

body .mpp-table tbody .column-2 {
	text-align: left;
	padding-right: 0;
}

/* Twitter */

.ctf {
	font-family: montserrat, sans-serif;
}

hr {
	color: #e8e8e8;
}

.accordion-style-table {
	background-color: #fff;
}

.accordion-style-table a {
	color: #202020;
	font-weight: 700;
	text-decoration: underline !important;
}

.accordion-style-table td {
	padding: 15px 20px !important;
}

.accordion-style-tables a:before {
	content: "\f067";
}

.awsm-filter-btn {
	color: #707070;
	font-family: "Montserrat", Sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.card-1 {
	min-height: 350px;
	color: #003c6e;
	font-family: "Rokkitt", serif;
	font-size: 20px;
	font-weight: 400;
	align: center;
	text-align: center;
}

.card-1 a {
	color: #003c6e;
}

.card-1 img {
	object-fit: cover;
}

blockquote {
	color: #003c6e;
	font-size: 1.5em;
	border-left: 5px solid #003c6e63;
}

.elementor-widget-nav-menu {
	max-height: 60px;
}

.basic-image {
	margin-bottom: 1.5rem;
}

.modal-style.style-1 .awsm-modal-content-main {
  font-size: 1rem;
}

.elementor-widget-html {
	margin: 0!important;
	padding: 0!important;
}
ul.sub-menu {
	white-space: nowrap !important;
}

ul.menu {
padding-left: 0;
}

ul.menu li {
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	list-style: none;
	margin-bottom: 1em;
	padding: 0;
}

ul.menu li a:hover {
	color: #003c6e;
	text-decoration: none;
}

li.current-menu-item a {
	color: #003c6e;
}

.elementor-2182 .elementor-element.elementor-element-4830e99b .elementor-nav-menu--dropdown .elementor-item, .elementor-2182 .elementor-element.elementor-element-4830e99b .elementor-nav-menu--dropdown .elementor-sub-item {
	font-size: 11px!important;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1px;
}