
@media (min-width: 576px) {/* ---------------------- Small devices (landscape phones, 576px and up)*/

.tb_homepage_intro {
	padding: 30px var(--tb-side-padding-large);
}

.tb_homepage_news {
	padding: 30px var(--tb-side-padding-large);
}

/* common inner page style */
.tb_page_cover .tb_main_page_title h1, .tb_short_cover .tb_main_page_title h1 {font-size: 48px;}
/* /common inner page style */

/* project */
.tb_project_main_title {font-size: 32px;}
/* /project */

/* footer */
a.footer_doc_btn, 
a.project_doc_btn {
	width: 60%;
}
/* /footer */

}/* ---------------------- END 576px and up -------------- */



@media (min-width: 768px) {/* ---------------------- Medium devices (tablets, 768px and up) */

/* basic TB text block */
.tb_basic_block h2 {
	font-size: 38px;
	padding-bottom: 8px;
}
/* /basic TB text block */

/* 'to top' button */
div#back_to_top_btn {
	width: 46px; height: 46px;
	bottom: 30px; right: 30px;
}

/* homepage style */
/*.tb_homepage_intro {padding-left: 50px; padding-right: 50px;}*/
.tb_homepage_intro h2 {font-size: 41px;}
.tb_homepage_carousel {
	height: 570px;		
}

.tb_homepage_carousel h2 {
	font-size: 41px;
	left: 25px;
}
.tb_homepage_carousel h3 {
	font-size: 41px;
	bottom: 150px;
	left: 25px;
}
.tb_homepage_carousel .wp-block-buttons .wp-block-button a {
	bottom: 75px;
	left: 25px;
	width: 270px;
	height: 52px;
	font-size: 20px;
	padding-top: 15px;
}

.why_terra_section {
	padding: 30px var(--tb-side-padding-large) 60px var(--tb-side-padding-large);
}

/* /homepage style */

/* common inner page style */
.tb_page_cover .tb_main_page_title h1, .tb_short_cover .tb_main_page_title h1 {font-size: 52px;}
/* /common inner page style */


/* THE TEAM */
.tb_team_lower .tb_single_person_wrap .tb_person_header {
	display: flex;
	flex-direction: row;
	align-items: left;
	align-items: flex-end;
	gap: 20px;
}
.tb_team_lower .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image {
	margin-left: 10px;
}


/* /the team */

/* project */
.tb_project_main_title {
	font-size: 32px;
}
.tb_project_description {
	padding: 55px 4.17% 35px 4.17%;
}
/* /project */

/* contact */
/*---*/
/* /contact */

/* footer */
a.footer_doc_btn,
a.project_doc_btn {
	width: 50%;
}
/* /footer */

}/* ---------------------- END 768px and up -------------- */



@media (min-width: 992px) {/* ---------------------- Large devices (desktops, 992px and up) */

/* basic TB text block */
.tb_basic_block {
	padding: 35px 5.6% 25px 5.6%;
}
.tb_basic_block h2 {
	font-size: 42px;
	padding-bottom: 10px;
}
/* /basic TB text block */

/* header for desktop */
#branding {height: 88px;}
#branding.transparent_branding {background-color: rgb(19,85,104,0.5);}
#site-title {
	left: 40px;	bottom: 20px;
	width: 246px; height: 88px;
}

#tb_ticker span.ticker_address {display: inline; /*on desktop only*/}

/* 'to top' button */
div#back_to_top_btn {
	width: 50px; height: 50px;
	bottom: 50px; right: 50px;
}

/* homepage style */
/*.tb_homepage_intro {padding-left: 60px; padding-right: 60px;}*/
.tb_homepage_intro h2 {font-size: 44px;}
.tb_homepage_carousel {
	height: 615px;		
}
.tb_homepage_carousel h2 {
	font-size: 44px;
	left: 55px;
}
.tb_homepage_carousel h3 {
	font-size: 44px;
	bottom: 160px;
	left: 55px;
}
.tb_homepage_carousel .wp-block-buttons .wp-block-button a {
	left: 55px;
}

/* carousel */
.tb_homepage_carousel h3 {
	bottom: 160px;
}

/* WHY TERRA */
/**/

/*
.tb_art_of_discovery {
	padding: 40px 5.6%;
	grid-template-columns: 1fr 2fr;
}
.tb_art_of_discovery figure.wp-block-image {padding: 0;}
*/


/*homepage news*/
.tb_homepage_news h2 {
	font-size: 47px;
}

/* /homepage style */

/* common inner page style */
.tb_page_cover {
	margin-top: 95px; /* 88 site-title, 25 ticker minus some pixels (17) to avoid revealing of the upper edge while scrolling to top */
	height: 0; /*padding-bottom: 33.3%;*//* relative padding is relative to width - CSS craziness*/
	/*padding-bottom: calc(25% + 17px);*/ /*compromise, once the shrinking is no more*/
	padding-bottom: calc(35% + 17px); /*compromise, once the shrinking is no more*/
}
/*deprecated*/.tb_page_cover.shrinked {
	height: 0; margin-top: 87px; /* 88 site-title */
	padding-bottom: 20%;
}
.tb_page_cover img {
	width: auto; height: auto;
}
.tb_page_cover .tb_main_page_title h1, .tb_short_cover .tb_main_page_title h1 {font-size: 62px;}
.tb_short_cover {
	height: 370px;
}
/*#content.corporate_profile_content .tb_page_cover figure.wp-block-image {top: -100px;}*/
#content.corporate_profile_content .tb_page_cover img {
	transform:translateY(-110px);
}
/* /common inner page style */


/* THE TEAM */
/* -upper- */
.tb_team_upper,
.tb_team_lower {
	/*padding: 80px 8.3% 45px 8.3%;*/
	padding: 80px 5.6% 45px 5.6%;
	grid-template-columns: 1.5fr 7fr;
	display: grid;
}
.tb_team_upper .tb_ h2,
.tb_team_lower .tb_ h2 {
	border-right: solid 2px var(--tb-blue);
	border-bottom: none;
	height: 100%;
	padding-left: 0;
	padding-right: 25px;
	padding-top: 15px;
	text-align: right;
}
.tb_team_upper .tb_ h3,
.tb_team_lower .tb_ h3 {
	padding-left: 25px;
	padding-top: 15px;
	text-align: left;	
}
.tb_team_upper .tb_single_person_wrap {
	margin-left: 25px;
}
.tb_team_upper .tb_single_person_wrap .tb_person_header,
.tb_team_lower .tb_single_person_wrap .tb_person_header {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 20px;
}
.tb_team_lower .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image {
	margin-left: 0;
}
.tb_team_upper .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image {
	width: 175px;
	height: 175px;
	border-radius: 3px;
}
.tb_team_upper .tb_person_name h4 {
	font-size: 36px;
	text-align: left;
}
.tb_team_upper .tb_person_function h5 {
	font-size: 24px;
	text-align: left;
}
.tb_team_upper .tb_person_content,
.tb_team_lower .tb_person_content {padding-left: 0; padding-right: 0;}

/* -lower- */
/*.tb_team_lower .tb_ > .tb_ {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}*//* changes at 1200px */
.tb_team_lower .tb_single_person_wrap {
	margin-left: 25px;
}
.tb_team_lower .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image {
	width: 125px;
	height: 125px;
	border-radius: 3px;
}


/* /the team */



/*corporate governance*/
.tb_corp_gov_block {
	padding: 35px 5.6% 25px 5.6%;
}
.tb_corp_gov_block h2 {
	font-size: 42px;
	padding-bottom: 10px;
}
/* /management */

/* project */
.tb_project_data_section {
	/*padding: 35px 8.3% 45px 8.3%;*/
	padding: 35px 50px 45px 30px;
}
.tb_project_main_title {
	grid-template-columns: 1fr 4fr;
	font-size: 38px;

	text-align: left;
    padding-top: 15px;
    padding-bottom: 30px;
	padding-left: 0;
}
/*
.tb_project_main_title h1 {
	text-align: right;
	right: -0.25em;
}
*/
.tb_project_main_title h2 {
	padding-left: 0.5em;
	grid-column-start: 2;
}
.tb_project_data_grid {
	grid-template-columns: 1fr 4fr;	
}
.tb_project_data_title {
	text-align: right;
	border-bottom: none;
	border-right: solid 2px #ffffff;
	padding: 15px 25px 15px 0;
}
.tb_project_data_content {
	font-size: 18px;
	padding: 15px 0 15px 25px
	/*align-self: end;*/
}

.tb_project_data_grid .wp-block-wrapper-block-wrapper-block:nth-child(1),
.tb_project_data_grid .wp-block-wrapper-block-wrapper-block:nth-child(2) {
	padding-top: 10px;
}
.tb_project_data_grid .wp-block-wrapper-block-wrapper-block:nth-last-child(1),
.tb_project_data_grid .wp-block-wrapper-block-wrapper-block:nth-last-child(2) {
	padding-bottom: 10px;
}

.tb_project_main_content_grid {
	padding: 0 3.3% 0 3.3%; /*padding: 55px 3.3% 45px 3.3%;*/
	/*grid-template-columns: 2fr 9fr; */
	grid-template-columns: 3fr 10fr;
}
.tb_project_content_title {
	border-bottom: none;
	border-right: solid 2px var(--tb-blue-dark);
	padding: 10px 30px 0 0;
	text-align: right;
}
.tb_project_content_title h2 {
	font-size: 24px; /*30*/
}
.tb_project_content_block {
	padding: 7px 0 65px 30px;
}
figure.wp-block-pullquote blockquote p {font-size: 18px;}
/* /project */

/* contact */
.tb_contact_item.tb_ {
	padding: 90px 5.6% 15px 5.6%;
	grid-template-columns: 3fr 9fr;
	text-align: left;
}
.tb_contact_item .tb_contact_subtitle{
	padding: 10px 30px 0 0;
	border-bottom: none;
	border-right: solid 2px var(--tb-blue-dark);
}
.tb_contact_item .tb_contact_subtitle h2 {
	font-size: 30px;
	text-align: right;
}
.tb_contact_data {
	padding-left: 25px;
	padding-top: 5px; padding-bottom: 20px;
}
/* /contact */

/* news */
#single_news_entry h2.entry-title {
	font-size: 42px;
}
.single_news_grid {
	grid-template-columns: 4fr 20fr;
	margin-top: 120px;
}
.single_news_date {
	height: 100%;
	border-right: solid 2px var(--tb-blue-dark);
	margin-bottom: 0;
	border-bottom: none;
	text-align: right;
	padding: 10px 15px 0 0;
	font-size: 36px;
}
.single_news_content {
	padding: 10px 0 10px 25px;
}
/* /news */

/* footer */
#footer {
	padding-top: 35px;		
}
#footer_content {
	grid-template-columns: 9fr 8fr 7fr;
}
#footer_content > div {
	min-height: 100%;
}
div#footer_col_1 {
	border-right: 1px solid var(--tb-gold);
	border-bottom: none;
	padding-left: 45px;
	padding-right: 45px;
}
div#footer_col_2 {
	border-right: 1px solid var(--tb-gold);
	border-bottom: none;
	padding-left: 20px;
	padding-right: 20px;
}
div#footer_col_3 {
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 20px;		
}
footer #footer_social {display: none;}
a.footer_doc_btn, 
a.project_doc_btn {
	width: 100%;
	height: 60px;
	margin-left: 0; margin-right: 0;
	padding-top: 20px;
	font-size: 18px;
}
/* /footer */

}/* ---------------------- END 992px and up -------------- */



@media (min-width: 1200px) {/* ---------------------- X-Large devices (large desktops, 1200px and up) */

/* basic TB text block */
.tb_basic_block h2 {
	font-size: 47px;
	padding-bottom: 12px;
}
/* /basic TB text block */

/* homepage style */
/*.tb_homepage_intro {padding-left: 70px; padding-right: 70px;}*/
.tb_homepage_intro h2 {font-size: 47px;}
.tb_homepage_carousel h2 {
	font-size: 47px;
	left: 75px;
}
.tb_homepage_carousel h3 {
	font-size: 47px;
	bottom: 160px;
	left: 75px;
}
.tb_homepage_carousel .wp-block-buttons .wp-block-button a {
	left: 75px;
}
/* /homepage style */

/* common inner page style */
.tb_page_cover .tb_main_page_title h1, .tb_short_cover .tb_main_page_title h1 {font-size: 72px;}
/* /common inner page style */

/* THE TEAM */
.tb_team_lower .tb_ > .tb_ {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
/* /the team */

/* management */
/*
.tb_management,
.tb_technical {
	padding: 60px 8.3% 45px 8.3%;
	grid-template-columns: 1fr 7fr;
}
.tb_management > div,
.tb_technical > div {
	grid-template-columns: 1fr 1fr;
}
.tb_management > div:first-child,
.tb_technical > div:first-child {
	border-bottom: none;
	border-right: solid 2px var(--tb-blue-dark);
}
.tb_management h2,
.tb_technical h2 {
	padding-left: 0;
	padding-right: 25px;
	text-align: right;
}
.tb_management .tb_people_level_2,
.tb_technical .tb_people_level_2 {
	margin-top: 0;
	margin-bottom: 55px;
	padding-left: 35px;
}
.tb_management .tb_people_level_2 > p,
.tb_technical .tb_people_level_2 > p {
	padding-left: 0; padding-right: 0;
	padding-top: 10px;
}
*/
/* /management */

/*corporate governance*/
.tb_corp_gov_block h2 {
	font-size: 47px;
	padding-bottom: 12px;
}
/* /corporate governance */

/* project */
.tb_project_main_title {font-size: 47px;}

.tb_project_main_content_grid {
	padding: 0 4.17% 0 4.17%; /*padding: 45px 4.17% 45px 4.17%;*/
}
.tb_project_content_title h2 {
	font-size: 28px; /*34*/
}
/* /project */

/* contact */
.tb_contact_item.tb_ {}
.tb_contact_item .tb_contact_subtitle h2 {
	font-size: 34px;
}
/* /contact */

/* footer */	
#footer {
	padding-left: 55px;
	padding-right: 55px;
}
div#footer_col_1 {
	padding-left: 85px;
	padding-right: 85px;		
}
div#footer_col_2 {
	padding-left: 30px;
	padding-right: 30px;		
}
div#footer_col_3 {
	padding-left: 60px;
	padding-right: 60px;		
}
a.footer_doc_btn,
a.project_doc_btn {
	height: 65px;
	padding-top: 20px;
	font-size: 22px;
}
/* /footer */

}/* ---------------------- END 1200px and up -------------- */



@media (min-width: 1400px) {/* ---------------------- XX-Large devices (larger desktops, 1400px and up) */
	
	
	
}/* ---------------------- END 1400px and up -------------- */