/*
Theme Name: Terra Balcanica
Theme URI: www.oktalstudio.com
Author: Oktal Studio
Author URI: www.oktalstudio.com
Description: TB theme
Version: 2025.1
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: terra-balcanica
*/

/* reset */
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,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

/*
MAIN BREAKPOINTS:
	mobile
		0-575
		576-767
	desktop
		768-991
		992-1199
		1200-1399
		1400-...
*/

/* SET BASIC ELEMENTS */
body {
	background: #fdfdfd;
	font-family: Montserrat-Light;
	font-size: 18px; /*the most common size*/
	color: var(--tb-faux-black);
	text-align: left;
}
* {box-sizing: border-box;}
*:focus {outline: none !important;}

#is_desktop_indicator {with:0; height:0; overflow:hidden; display: none;}
@media only screen and (min-width: 992px) { #is_desktop_indicator {display: block;} }

a {
	text-decoration: none;
	color: #207E99;
	font-weight: 600;
	cursor: pointer;
}
a:hover {color: var(--tb-copper);}
::selection {
  color: #ffffff;
  background: var(--tb-copper);
}
img {
	border: none;
	max-width: 100%; height: auto; /*responsive by default*/
}

p {
	line-height: var(--default-line-height);
}

h1, h2, h3 {
	font-family: "Yanone-TB-Semibold";
}

.grey_1 {background-color: #fafafa;}
.grey_2 {background-color: #f4f4f4;}
.grey_3 {background-color: #eaeaea;}

.tb_none {display: none !important;}
.tb_block {display: block !important;}
.tb_inline_block {display: inline-block !important;}
.tb_inline {display: inline !important;}
.tb_invisible {opacity: 0;}
.tb_ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tb_clearer {width: 100%; clear: both;}
.tb_hide {display: none !important;}

strong {font-weight: bold;}

.dashicons.dashicons-saved {position: relative; top: 0.2em;}

/*fixing responsive tables with "Make Tables Responsive" plugin*/
@media (max-width: 659px) {
	figure.wp-block-table .mtr-table tr {border-bottom: solid 1px var(--tb-blue) !important;}
}

/* custom lightbox */
#tb_lightbox_wrap,
#tb_html_lightbox_wrap {
	width: 100vw; height: 100vh;
	position: fixed; top:0; left:0; z-index: 100000;
	/* background-color: rgba(119,41,10,0.5); */
	background-color: rgba(255,255,255,0.5);
	backdrop-filter: blur(5px);
	transition: all 0.5s ease-in;
	
	display: none;
	/*opacity: 0;*/
}
#tb_lightbox_wrap.show_lightbox,
#tb_html_lightbox_wrap.show_html_lightbox {display: flex; justify-content: center; align-items: center;}

#tb_lightbox_container,
#tb_html_lightbox_container {
	position: relative;
	max-width: 95vw;
	max-height: 95vh;
	background-color: #ffffff;
}
#tb_lightbox_container img,
#tb_html_lightbox_container #tb_lightbox_html {
	position: relative;
	max-width: 95vw;
	max-height: 95vh;
	border: solid 5px #ffffff;
}

#tb_lightbox_wrap #close_this,
#tb_html_lightbox_wrap #close_this_html {
	display: flex; align-items: center; justify-content: center;
	position: absolute;
	top: 2px;	right: 2px;
	z-index: 10001;
	text-align: center;
	width: 30px; height: 30px;
	background-color: #ffffff;
	border: solid 1px var(--tb-blue);
	border-radius: 50%;
	cursor: pointer;
	transition: var(--default-transition);
}
#tb_lightbox_wrap #close_this:hover,
#tb_html_lightbox_wrap #close_this_html:hover {
	background-color: var(--tb-blue);
	color: #ffffff;
}

.tb_html_content {display: none;}
/* /custom lightbox */

main#content {
	min-height: 70vh;
}

.wp-block-table {text-align: center; padding-bottom: 1em;}
.wp-block-table tr {
	height: 40px;
	background-color: #ffffff;
}
.wp-block-table tr:nth-child(odd) {
	background-color: var(--tb-gray-light);
}
.wp-block-table tr td {
	vertical-align: middle;
	padding-top: 8px; padding-bottom: 8px;
	border-right: solid 1px var(--tb-blue-dark);
}
.wp-block-table tr td:first-child {/*border-left: solid 1px var(--tb-blue-dark);*/}
.wp-block-table tr td:last-child {border-right: none;}

.tb-text-table td, .tb-text-table th {padding: 15px 10px 15px 10px; line-height: 1.3em;}

.tb_blue_bg {background-color: var(--tb-blue); color: #ffffff;}
.tb_copper_bg {background-color: var(--tb-copper); color: #ffffff;}
.tb_blue_bg a, .tb_copper_bg a {color: var(--tb-gold);}
.tb_blue_bg a:hover, .tb_copper_bg a:hover {color: var(--tb-gold-dark);}

.tb_default_list {padding: 15px 20px;}
.tb_default_list ul {
	list-style-type: none; /*remove default bullet*/
	position: relative;
	margin-left: 5px;
}
.tb_default_list ul li {
	position: relative;
	line-height: 1.7em;
	padding-left: 0.3em;
}
.tb_default_list ul li:before {
	content: '\2219';
	font-size: 3em;
	position: absolute;
	top: 0.02em; left: -0.25em;
}
.tb_default_list ul li > ul {
	padding-left: 0.3em;
	font-size: 0.9em;
}
.tb_default_list ul li > ul li:before {
	content: '\2218';
	font-size: 0.9em;
	top: 0em; left: -0.65em;
}
.tb_default_list ul li > ul li > ul {
	padding-left: 0.3em;
	font-size: 0.95em;
}
.tb_default_list ul li > ul li > ul li {
	padding-left: 0.2em;
}
.tb_default_list ul li > ul li > ul li:before {
	content: '\2010';
	top: -0.1em; left: -0.65em;
}

ul.tb_list {list-style-type: disc;	list-style-position: inside;}
ul.tb_list li {line-height: var(--default-line-height);}
ul.tb_list li:before {content: "";	display: inline-block;margin-left: -9px;}


/* basic TB text block */
.tb_basic_block {
	width: 100%;
	padding: 35px var(--tb-side-padding-small) 25px var(--tb-side-padding-small);
}

.tb_basic_block h2 {
	font-family: "Yanone-TB-Semibold";
    font-size: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--tb-blue-dark);
    text-transform: uppercase;
    padding-bottom: 5px;
    padding-left: 10px;
    border-bottom: solid 2px var(--tb-blue-dark);
}
.tb_basic_block p {
	padding-left: 10px;
}
.tb_basic_block h3 {
	font-family: "Montserrat-Medium";
    font-size: 22px;
	padding: 25px 10px 10px 10px;
    color: var(--tb-blue-dark);
}

/* /basic TB text block */


/* HEADER & MENU */
header {
	width: 100%;
	position: fixed;
	z-index: 99999;
	top: 0;
}

#branding {
	height: 72px;
	background-color: rgb(255,255,255,1);
	box-shadow: 0px 1px 10px rgb(12, 60, 70, 0.45);
}
#branding.transparent_branding {
	background-color: rgb(255,255,255,0);
	/*background-image: linear-gradient(to bottom, rgba(12,60,70,0.8), rgba(12,60,70,0.6), rgba(12,60,70,0));*/
	box-shadow: none;
}

#tb_ticker {
	width: 100%;
	color: #ffffff;
	height: auto;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: var(--tb-blue-dark);
	font-size: 12px;
	overflow: hidden;
	letter-spacing: 0.03em; line-height: 1.4em;
	
}
#tb_ticker.ticker_close {
	height: 0px;
	padding-top: 0;
}
#tb_ticker > div {
	width: 100%;
	padding: 3px 5px 3px 15px;
	text-align: right;
	/*opacity: 0.66;*/
}
#tb_ticker > div:hover {opacity: 1;}
#tb_ticker span.ticker_address {display: none; /*not on mobile*/}

#site-title {
	position: absolute;
	
	bottom: 15px;
	left: 20px;
	width: 188px;
	height: 72px;
}

#main_logo_wrap {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}
#main_logo_wrap img {
	position: absolute;
	bottom: 0; left:0;
}

#social_icons_tab_wrap {
	position: fixed;
	z-index: 5000;
	top: 0; right: 0;
	width: 37px; height: 100%;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	
	display: none;
}
@media (min-width: 992px) {#social_icons_tab_wrap {display: flex;}}

#social_icons_tab_content {
	/*background-color: var(--tb-copper);*/
	background-color: #f0f0f0;
	border: dotted 1px var(--tb-copper);
	border-right-color: #ffffff;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	width: 100%; padding-left: 2%;
	opacity: 0.45;
	/*margin-left: 40%;*/
	transition: all 0.2s ease-in;
}
#social_icons_tab_content:hover {
	opacity: 1;
	/*margin-left: 0%;*/
}
#social_icons_tab_content > div {
	position: relative;
	width: 23px; height: 23px;
	margin: 20px 0px 20px 6px;
	color: #ffffff;
	display: flex;
	justify-content: center; align-items: center;
	opacity: 0.7;
	transition: all 0.2s ease-in;
}
#social_icons_tab_content > div:hover {opacity: 1;}
#social_icons_tab_content > div a {width: 100%; height: 100%; display: block;}
#social_icons_tab_content > div a svg {width: 100%; height: auto;}
#social_icons_tab_content svg path {fill: var(--tb-copper);}

/* common properties */
nav.tb_menu {
	font-family: Yanone-TB-Light, Arial, sans-serif;
	font-size: 28px;
	text-transform: uppercase;
	
	opacity: 0;
	transform: var(--default-transform);
}
nav.tb_menu.loaded {opacity: 1;}
nav.tb_menu a {
	color: var(--tb-blue-dark);
	font-weight: 200;
}

nav.tb_menu li {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

nav.tb_menu a:hover {color: var(--tb-copper);}
nav.tb_menu li.current-menu-item a, 
nav.tb_menu li.current-menu-item a:hover,
nav.tb_menu li.current-menu-ancestor > a {color: var(--tb-copper);}
nav.tb_menu li a.ui-state-active {color: var(--tb-copper);}

nav.tb_menu ul li ul.sub-menu {
	text-transform: none;
	font-size: 22px;
	font-family: Montserrat-Light, Arial, sans-serif;
}

.wp-bootstrap-blocks-button {
	/* prevent the button width from messing with the layout on small screens*/
	max-width: 95%;
}

/*language switcher*/
#m_lang_switch, #m_lang_switch * {display: block;}
#d_lang_switch, #d_lang_switch * {display: none;}

.tb_lang_switch ul li a {color: var(--tb-blue-dark); text-transform: uppercase; padding: 0 4px;}
.tb_lang_switch ul li.current-lang a {color: var(--tb-copper);}
.tb_lang_switch ul li a:hover {opacity: 1;}

.tb_lang_switch#d_lang_switch.homepage_language_switch ul li a {color: #ffffff;}


.tb_lang_switch#m_lang_switch {
	padding-left: 15%;
}
.tb_lang_switch#m_lang_switch ul {
	position: absolute; top: 75px;
	width: 150px; max-width: 60vw;
	font-size: 0.8em;
	padding-bottom: 0px;
	/*padding-top: 75px;*/
	border-bottom: dotted 1px var(--tb-blue);
}
.tb_lang_switch#m_lang_switch ul li {
	display: inline-block;
}
.tb_lang_switch#m_lang_switch ul li.lang-item-first {
	padding-right: 10px;
}


@media only screen and (min-width: 992px) {
	#m_lang_switch, #m_lang_switch * {display: none;}
	#d_lang_switch, #d_lang_switch * {display: block;}
	
	.tb_lang_switch {
		position: absolute; z-index: 100000;
		top: 45px; right: 14px;
		font-size: 0.75em;
		line-height: 1.65em;
	}
	
	.tb_lang_switch ul li.current-lang a {background-color: var(--tb-blue); color: #ffffff; border-radius: 3px;}
	
}

/* /lang switcher */



/* mobile menu */
@media only screen and (max-width: 991.99px) {
	#d_menu {display: none;}
	#m_menu {
		display: block;
		position: fixed;
		z-index: 99998;
		top: 0; left: 0;
		width: 100%;
		background-color: #ffffff;
		
		overflow: hidden;
		height: 0;

	}
	#m_menu.menu_opened {
		overflow: auto;
		height: auto;
		min-height: 67vh;
	}
	#mobile_menu_overlay {
		position: fixed;
		z-index: 99997;
		background-color: var(--tb-blue-dark);
		opacity: 0.75;
		width: 100%; height: 100%;
	}
	#mobile_menu_overlay.invisible_overlay {
		opacity: 0;
	}
	#mobile_menu_trigger {
		display: block;
		width: 32px; height: 32px;
		position: absolute;
		z-index: 99999;
		bottom: 20px;
		right: 20px;
		cursor: pointer;
	}
	#mobile_menu_trigger:hover .burger_bg {fill: var(--tb-copper-dark);}
	.burger_bg,
	.the_x {fill: var(--tb-copper);}
	.burger_itself {fill: #ffffff;}
	
	nav#m_menu.tb_menu ul.menu {
		padding-top: 125px;
		padding-left: 15%;
		padding-bottom: 2em;
	}
	nav#m_menu.tb_menu ul.menu > li {
		line-height: 1.8em;
	}
	nav#d_menu.tb_menu ul li.menu-item-has-children > a {
		position: relative;
	}
	nav#m_menu.tb_menu ul li.menu-item-has-children > a::after {
		/*content: '\000BB';*/
		content: '\FE3E';
		position: relative;
		top: -0.05em;
		padding-left: 15px; padding-right: 7px;
		transform-origin: center center;
		font-size: 0.67em;
		opacity:0.75;
		display: inline-block;
		
		transform: rotate(-90deg);
	}
	nav#m_menu.tb_menu ul li.menu-item-has-children.opened_indicator > a::after {
		transform: rotate(0deg);
		padding-left: 7px;
	}
	nav#m_menu.tb_menu ul.menu li ul.sub-menu {
		padding-left: 15px;
		
		overflow: hidden;
		max-height: 0px;
		padding-bottom: 0em;
	}
	nav#m_menu.tb_menu ul.menu li ul.sub-menu.submenu_opened {
		overflow: visible;
		max-height: 10000px;
		padding-bottom: 0.5em;
	}
	
	nav#m_menu.tb_menu ul.menu li ul.sub-menu > li {
		line-height: 1.6em;
		padding-top: 5px; padding-bottom: 5px;
	}
	
}

/* desktop menu */
@media only screen and (min-width: 992px) {
	#d_menu {display: block;}
	#m_menu {display: none;}
	#mobile_menu_trigger {display: none;}
	
	nav#d_menu {
		position: absolute;
		left: 320px; /*ex 375*/
		/*bottom: 35px;*/
		
		bottom: 28px;
	}

	nav#d_menu.homepage_menu ul.menu li a {
		color: #ffffff;
	}
	nav#d_menu.homepage_menu ul.menu li a:hover {
		text-decoration: underline;
	}

	nav#d_menu.tb_menu ul.menu li {
		display: inline;
		padding: 0 5px 0 5px 0;
		margin-right: 10px;
		font-size: 22px;
		letter-spacing: 0.01em;
	}

	nav#d_menu.tb_menu ul li.menu-item-has-children > a {
		position: relative;
	}
	nav#d_menu.tb_menu ul li.menu-item-has-children > a::after {
		/*content: '\000BB';*/
		content: '\FE3E';
		/*position: relative;*/
		position: absolute;
		text-align: center;
		top: 1.7em;
		left: 50%;
		margin-left: -0.5em;
		font-size: 0.65em;
		display: block;
	}

	nav#d_menu.tb_menu ul li.menu-item-has-children:hover ul.sub-menu {
		display: block;
	}
	
	nav#d_menu.tb_menu ul.menu li ul.sub-menu {
		position: absolute;
		width: 100vw;
		border-top: solid 1px var(--tb-blue);
		background-color: #ffffff;
		
		overflow: hidden;
		text-align: center;
		box-shadow: 0 5px 10px rgb(19,85,104,0.5);
	}
	nav#d_menu.tb_menu.homepage_menu ul.menu li ul.sub-menu {
		border-top: solid 1px #ffffff;
		background-color: rgb(19,85,104,0.5);
		box-shadow: none;
	}
	nav#d_menu.tb_menu ul.menu li ul.sub-menu.desktop_submenu_open {
		height: auto;
	}
	nav#d_menu.tb_menu ul.menu li ul.sub-menu li {
		font-size: 18px;
		display: block;
		margin: 25px 0px;
		padding: 5px 0;
	}
	#menu_size_indicator {display: none;}
	
}

@media only screen and (min-width: 1280px) {
	#menu_size_indicator {display: inline;}
	nav#d_menu.tb_menu ul.menu li {
		padding: 0 5px 0 5px 0;
		margin-right: 15px;
		font-size: 26px;
		letter-spacing: 0.01em;
	}
	nav#d_menu {
		left: 455px; /*ex right: 75px;*/
	}
	nav#d_menu.tb_menu ul.menu li .sub-menu li {
		font-size: 18px;
		margin: 20px 0px;
		padding: 5px 0;
	}
}
/* end HEADER & MENU */


/* "to top" button */
div#back_to_top_wrap {
	display: none;	
}
div#back_to_top_btn {
	width: 42px; height: 42px;
	border-radius: 50%;
	position: fixed;
	bottom: 15px; right: 15px;
	z-index: 999;
	cursor: pointer;
	opacity: 0.5;
	-webkit-transition: opacity 0.3s;
	-ms-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
div#back_to_top_btn:hover {
	opacity: 1;
	/*box-shadow: 2px 2px 3px rgb(0,0,0,0.6);*/
}
div#back_to_top_btn .to_top_lines{fill:#ffffff;}
div#back_to_top_btn .to_top_bg{fill:#8B3D1E;}


/* local, i.e. in-page navigation */
.tb_local_nav {
	width: 100%;
	min-height: 2em;
	color: var(--tb-faux-black);
	padding: 0.5em 5.6% 0.8em 5.6%;
	/*background-color: #f0f0f0;*/	
	background-color: var(--tb-copper);
	
	display: grid;
	template-grid-column: 3fr auto;
	template-grid-rows: auto auto;
}
.tb_local_nav > p {
	display: block;
	font-size: 0.75em;
	
	color: var(--tb-gray-light);
}
.tb_local_nav ul {
	padding-left: 0;
	margin-top: 5px;
	font-size: 18px;
}
.tb_local_nav ul li {
	/*line-height: 1.75em;*/
	margin-top: 0.2em;
	margin-bottom: 0.6em;
}
.tb_local_nav ul li:before {
	content: '\00BB';
	padding-right: 0.25em;
	font-size: 1.2em;
	
	color: #ffffff;
}
.tb_local_nav ul li a {
	line-height: 1.3em;
	font-weight: normal;
	/*color: var(--tb-faux-black);*/
	color: #ffffff;
}
.tb_local_nav ul li a:hover {
	/*color: var(--tb-copper);*/
	color: var(--tb-gold);
}
.tb_local_nav ul li:hover:before {
	color: var(--tb-gold);
}

/* /in-page navigation */


/*-------- LANDING SCREEN ---------*/
#main_photo_wrap {
	width: 100%;
	position: relative;
}
#main_photo_wrap.homepage_photo_wrap {
	height: 100vh;
}
#main_photo_wrap.homepage_photo_wrap > img {
	object-fit: cover;
	width: 100%; height: 100%;
}
#main_photo_wrap.homepage_photo_wrap.collapsed {
	height: 100px;
}
#homepage_tagline_wrap {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 135px auto;
	row-gap: 35px;
	position: absolute;
	bottom: 55px;
	left: 25px;
	padding-right: 25px;
	/*position: absolute;
	top: 4.5%; left: 4.5%;
	width: 90vw; height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;*/
}
#homepage_tagline {width: 100%;}
#homepage_tagline_symbol {
	padding-bottom: 30px;
	display: flex;
	flex-direction: row;
	justify-content: center;
}
#homepage_tagline_symbol img {}
h1#homepage_title {
	text-align: center;
	font-size: 32px;
	line-height:1.1em;
	letter-spacing:0.022em;
	color: #ffffff;
	text-shadow: 1px 1px 4px #240D04;
}

@media only screen and (min-width: 400px) {
	h1#homepage_title: {font-size: 36px;}
}

@media only screen and (min-width: 460px) {
	h1#homepage_title {font-size: 42px;}
	#homepage_tagline_symbol {padding-top: 20px;}
}

@media only screen and (min-width: 590px) {
	h1#homepage_title {font-size: 50px;}
	#homepage_tagline_symbol {padding-top: 5px;}
}

@media only screen and (min-width: 768px) {
	h1#homepage_title {
		font-size: 42px;
		padding-left: 25px;
	}
	#homepage_tagline_wrap {
		grid-template-columns: auto 1fr;
		grid-template-rows: 1fr;
	}
	#homepage_tagline_symbol {
		display: initial;
		border-right: 2px solid #ffffff;
		padding-right: 35px;
	}
	
}
@media only screen and (min-width: 992px) {
	h1#homepage_title {font-size: 62px;}
}

@media only screen and (min-width: 1100px) {
	h1#homepage_title {font-size: 72px;}
}

/*-------- // LANDING SCREEN ---------*/

/* HOMEPAGE CONTENT */
.tb_homepage_intro {
	text-align: left;
	padding-left: var(--tb-side-padding-small);
	padding-right: var(--tb-side-padding-small);
}
.tb_homepage_intro > .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {margin:0 !important; padding:0 !important;}
.tb_homepage_intro h2 {
	font-size: 38px;
	color: var(--tb-blue-dark);
	margin-top: 1.65em;
	margin-bottom: 0.2em;
}
.tb_homepage_intro h3 {
	font-family: "Yanone-TB-Light";
	font-size: 24px;
	line-height: 1.3em;
	color: var(--tb-copper-dark);
	margin-bottom: 0.5em;
}
.tb_homepage_intro p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.go_to_news_btn_wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0 60px 0;
	text-align: center;
}
.go_to_news_btn {
	display: inline-block;
	width: 420px;
	max-width: 90%;
	height: 52px;
	padding-top: 14px;
	font-size: 20px;
	background-color: #ffffff;
	color: var(--tb-copper);
	border: solid 1px var(--tb-copper);
	-webkit-transition: all 0.5s;
	-ms-transition: all 0.5s;
	transition: all 0.5s;
}
.go_to_news_btn:hover {
	background-color: var(--tb-copper);
	color: #ffffff;
}


/* OUR PROJECTS (ex Carousel)*/
/*
.our_projects_home {
	background-color: #f4f4f4;
	padding: 60px var(--tb-side-padding-small) 60px var(--tb-side-padding-small);
	position: relative;	
}

.our_projects_home h2 {
	font-family: "Yanone-TB-Semibold";
	font-size: 47px;
	margin-top: 15px;
	margin-bottom: 35px;
	color: var(--tb-blue-dark);
	text-transform: uppercase;
	padding-bottom: 12px;
	padding-left: 10px;
	border-bottom: solid 2px var(--tb-blue-dark);
}

.our_projects_grid {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 24px;
	row-gap: 30px;
}
.our_projects_grid > div {
	display: block;
	position: relative;
}

.our_projects_grid h3 {
	display: inline-block;
	min-width: 45%;
	font-size: 28px;
	padding: 12px 10px 6px 15px;
	text-align: left;
	color: var(--tb-blue-dark);
	background-color: rgba(255,255,255,0.8);
	position: absolute;
	top: 30px; left: 30px;
	z-index: 100;
}

.our_projects_home .wp-block-cover {
	padding: 0;
	position: relative;
	overflow: hidden;
}
.our_projects_home .wp-block-cover__inner-container {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 10;
}
.our_projects_home .wp-block-cover__inner-container p {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	background-color: rgba(19,85,104,0.6);
	transition: all 1s;
}
.our_projects_home .wp-block-cover__inner-container p a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%; height: 100%;
	font-family: "Yanone-TB-Semibold";
	color: #ffffff;
	transition: all 1s;
}
.our_projects_home .wp-block-cover__inner-container p a:hover {
	text-shadow: 0 0 #000000;
}

.our_projects_home .wp-block-cover img {
	transition: all 1s;
}
.our_projects_home .wp-block-cover:hover img {
	transform: scale(1.06);
}
.our_projects_home .wp-block-cover:hover .wp-block-cover__inner-container p {
	background-color: rgba(19,85,104,0);
}


@media (min-width: 576px) {
	.our_projects_home {
		padding: 30px var(--tb-side-padding-large) 90px var(--tb-side-padding-large);
	}
	.our_projects_home h2 {
		margin-top: 55px;
	}
	.our_projects_grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 24px;
		row-gap: 30px;
	}	
	
}
*/

/* FLAGSHIP PROJECT */

.flagship_project_home {
	/* background-color: #f4f4f4; */
	display: flex;
	flex-direction: column;
	justify-content:flex-end;
	
	min-height: 80vh;
	padding: 60px var(--tb-side-padding-small) 60px var(--tb-side-padding-small);
	position: relative;
	background-color: var(--tb-blue);
	
	background-image: url("photo/flagship-project-bg.jpg");
	background-repeat: no-repeat;
	background-position: center center;	
}

.flagship_project_home h2 {
	font-family: "Yanone-TB-Semibold";
	font-size: 40px;
	margin-top: 15px;
	margin-bottom: 15px; /*35*/
	color: #ffffff;
	text-transform: uppercase;
	/* padding-bottom: 12px;
	padding-left: 10px;
	border-bottom: solid 2px var(--tb-blue-dark); */
}

.flagship_project_home h3 {
	color: #ffffff;
	font-family: Montserrat-Light;
    font-size: 18px;
	line-height: 1.2em;
	margin-bottom: 40px;
}


.flagship_project_home .tb_.to_project_btn {
	width: 420px;
	max-width: 90%;
	height: 55px;
	border: solid 1px var(--tb-gold);
}
.flagship_project_home .tb_.to_project_btn > p {width: 100%; height: 100%; margin:0; padding:0;}
.flagship_project_home .tb_.to_project_btn > p > a {
	display: block; width: 100%; height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-family: "Montserrat-Medium";
	color: rgb(243,203,150,1);
	background-color: rgb(243,203,150,0);
	
	-webkit-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
.flagship_project_home .tb_.to_project_btn > p > a:hover {
	color: rgb(77,77,77,1);
	background-color: rgb(243,203,150,1);
}


@media (min-width: 576px) {
	.flagship_project_home {
		min-height: 60vh;
		padding: 30px var(--tb-side-padding-large) 90px var(--tb-side-padding-large);
	}
	.flagship_project_home h2 {
		font-size: 47px;
		margin-top: 55px;
	}
	
}/* END min 576px */

/* END flagship project*/




/* WHY TERRA homepage section */
.why_terra_section {
	background-color: #ffffff;
	padding: 30px var(--tb-side-padding-small);
	padding-bottom: 75px;
	position: relative;
}
.why_terra_section h2 {
	font-family: "Yanone-TB-Semibold";
	font-size: 40px;
	margin-top: 65px;
	margin-bottom: 35px;
	color: var(--tb-blue-dark);
	text-transform: uppercase;
	padding-bottom: 12px;
	padding-left: 10px;
	border-bottom: solid 2px var(--tb-blue-dark);
}
.why_terra_section h3 {
	font-size: 28px;
	margin-bottom: 20px;
	text-align: center;
}

.why_terra_grid {}

.why_terra_block {
	background-color: #f4f4f4;
	position: relative;
	flex-grow: 0;
	flex: 1;
	margin: 0 10px;
	margin-top: 80px; /*override later for large screens*/
	/*padding-bottom: 60px; for button*/
	text-align: center;
	border-radius: 0 0 6px 6px;
	box-shadow: inset 0px 5px 0px var(--tb-blue), 0 0 7px rgba(0,0,0,0.33);
	transition: var(--default-transition);
}
.why_terra_block:hover {
	box-shadow: inset 0px 5px 0px var(--tb-copper), 0 0 3px rgba(0,0,0,0.2);
	background-color: #fbfbfb;
	color: var(--tb-copper-dark);
}
.why_terra_block:hover .why_terra_picto_wrap {
	background-color: var(--tb-copper);
	box-shadow: 0 0px 6px rgba(0,0,0,0.9);
}
.why_terra_block:hover h3 {color: var(--tb-copper-dark);}

.why_terra_picto_wrap {
	width: 80px; height: 80px;
	border-radius: 40px;
	background-color: var(--tb-blue);
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	top: -40px;
	left: calc(50% - 40px);
	transition: var(--default-transition);
}
.why_terra_picto_wrap figure {
	margin:0; padding:0; line-height:0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.why_terra_content {
	margin-top: -25px;
	padding: 0 15px 10px 20px;
	text-align: left;
}

.why_terra_content ul li {
	margin-bottom: 15px;
	line-height: 1.4em;
}

.why_terra_content ul li > ul {
	padding-left: 25px;
	list-style-type: circle;
	list-style-type: "→ ";
}
.why_terra_content ul li > ul li {
	
}

.why_terra_block .why_terra_button_area {
	position: absolute;
	width: 100%;
	bottom: 25px;
}
.why_terra_block .why_terra_button_area .wp-bootstrap-blocks-button {
	text-align: center;
	max-width: 100%; /*override weird max-width 95%*/
}

.why_terra_block .why_terra_button_area a.btn {
	display: inline-block;
	border: solid 1px var(--tb-blue);
	color: var(--tb-blue);
	background-color: transparent;
	text-align: center;
	padding: 15px 30px;
	min-width: 160px;
	font-size: 15px;
	transition: var(--default-transition);
}
.why_terra_block .why_terra_button_area a.btn:hover {
	background-color: var(--tb-copper);
	color: #ffffff !important;
}

.why_terra_block:hover .why_terra_button_area a.btn {
	border: solid 1px var(--tb-copper);
	color: var(--tb-copper);
}


@media (min-width: 992px) {

	.why_terra_section h2 {
	font-size: 47px;
	}
	.why_terra_section h3 {
		margin-top: 5px;
	}
	
	.why_terra_grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: stretch;
		margin-top: 75px;
	}
	.why_terra_block {margin-top: 0;}
}


/* Art of discovery*/


/* Latest news section */

.tb_homepage_news {
	background-color: var(--tb-gray-light);
	padding: 30px var(--tb-side-padding-large);
}

.tb_homepage_news h2 {
	font-family: "Yanone-TB-Semibold";
	font-size: 40px;
	margin-top: 65px;
	margin-bottom: 35px;
	color: var(--tb-blue-dark);
	text-transform: uppercase;
	padding-bottom: 12px;
	padding-left: 10px;
	border-bottom: solid 2px var(--tb-blue-dark);
}

.single_homepage_news {
	display: grid;
	grid-template-columns: 1fr 4fr;
	/*grid-template-rows: 1fr;*/
	min-height: 250px;
	background-color: #ffffff;
	margin-bottom: 30px;
}
.homepage_news_date {
	border-right: solid 2px var(--tb-blue-dark);
}
.hpd_wrap {
	text-align: right;
	padding-top: 28px;
	padding-right: 35px;
	padding-left: 30px;
}
.hpn_y {font-family: "Yanone-TB-Semibold"; font-size: 36px;}
.hpn_slash {font-family: "Yanone-TB-Semibold"; font-size: 30px; letter-spacing: 0.001em;}
.hpn_m {font-family: "Yanone-TB-Light"; font-size: 30px; text-transform: uppercase;}

.homepage_news_content {
	padding-top: 30px;
	padding-left: 35px;
}
.homepage_news_title h3,
.homepage_news_title h3 a {
	font-family: "Yanone-TB-Semibold";
	font-size: 36px;
	color: var(--tb-blue-dark);	
	padding-right: 45px;
	text-decoration: none;
	transition: color 0.2s;
}
.homepage_news_title h3 a:hover {
	color: var(--tb-copper) !important;
}
.homepage_news_excerpt {
	padding-top: 16px;
	padding-right: 45px;
	min-height: 120px;
}
.homepage_news_excerpt p {
	font-size: 16px;
}
.homepage_news_button {
	width: 100%;
	height: 28px;
	margin-top: 15px;
	margin-bottom: 20px;
	padding-right: 25px;
	text-align: right;
}
.homepage_news_button a {
	display: inline-block;
	background-color: var(--tb-gray-light);
	color: var(--tb-blue-dark);
	font-size: 11px;
	text-align: center;
	text-transform: uppercase;
	width: 120px;
	height: 33px;
	padding-top: 12px;
	-webkit-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
.homepage_news_button a:hover {
	background-color: var(--tb-blue-dark);
	color: var(--tb-gray-light);
}
a#homepage_view_all_news {
	display: block;
	text-align: center;
	position: relative;
	margin-left: auto; margin-right: auto;
	margin-top: 45px;
	margin-bottom: 25px;
	width: 420px; height: 52px;
	max-width: 90%;
	padding-top: 14px;
	color: var(--tb-copper);
	font-family: "Montserrat-Light";
	font-size: 20px;
	background-color: #ffffff;
	border: solid 1px var(--tb-copper);
	-webkit-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
a#homepage_view_all_news:hover {
	background-color: var(--tb-copper);
	color: #ffffff;
}

/*homepage news for mobile*/
@media only screen and (max-width: 575px) {

	.tb_homepage_news {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.tb_homepage_news h2 {
		font-size: 38px;
		margin-top: 55px;
		margin-bottom: 35px;
		padding-bottom: 6px;
		padding-left: 10px;
	}
	
	.single_homepage_news {
		grid-template-columns: 1fr;
	}
	.homepage_news_date {
		border-right: none;
		background-color: var(--tb-gray-light);
	}
	.hpd_wrap {
		text-align: left;
		padding-top: 10px;
		padding-left: 5px;
		padding-bottom: 10px;
	}
	.hpn_y {font-size: 32px;}
	.hpn_slash {font-size: 27px;}
	.hpn_m {font-size: 27px;}

	.homepage_news_title h3 {
		font-size: 30px;
		padding-right: 15px;
	}
	.homepage_news_content {
		padding-left: 15px;
		border-left: solid 2px var(--tb-blue-dark);
	}
	.homepage_news_excerpt {
		padding-right: 15px;
	}
	.homepage_news_excerpt p {
		font-size: 14px;
	}	
}


/* TYPICAL INNER PAGE */
.tb_page_cover {
	position: relative;
	margin-top: 80px; /* 72 site-title, 25 ticker minus some pixels (16) to avoid revealing of the upper edge while scrolling to top */
	width: 100%;
	height: 416px; /* 300+16 */
	overflow: hidden;
}

/*deprecated*/.tb_page_cover.shrinked {
	height: 250px;
	margin-top: 55px; /* 72 site-title - some pixels (17) to avoid revealing of the upper edge while scrolling to top*/
}
figure.wp-block-image {
	position: relative;
	margin:0; padding:0;
	width: 100%; height: 100%;
}
.tb_page_cover img {
	object-fit: cover;
	width: 100%; height: 100%; /* necessary to declare some w/h for object-fit to function */
}
/*fixing The Team cover*/
@media only screen and (max-width: 500px) {
	.team_page .tb_page_cover {height: 316px;}
}
@media only screen and (max-width: 370px) {
	.team_page .tb_page_cover {height: 266px;}
}

.tb_page_cover .tb_main_page_title,
.tb_short_cover .tb_main_page_title {
	position: absolute;
	bottom: 20px;
	left: 5.3%;
}
.tb_page_cover .tb_main_page_title h1,
.tb_short_cover .tb_main_page_title h1 {
	color: #ffffff;
	font-size: 40px;
	font-family: "Yanone-TB-Light";
	text-transform: uppercase;
	text-shadow: 1px 1px 4px #240D04;
}

.tb_short_cover {
	position: relative;
	margin-top: 89px; /* 72 site-title, 18 ticker */
	width: 100%;
	height: 180px; /* see queries */
	overflow: hidden;
	background-color: var(--main-blue);
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	
}
.tb_short_cover img {max-width: none; }

.XXX_tb_short_cover::before {
	content: "";
	/*position: absolute; top: 0;	left: 0; width: 100%; height: 100%;*/
	min-height: 100%; width: auto;
	/*background-image: url('/wp-content/themes/terra_balcanica/elements/world_map.jpg');*/ /*Add this into template*/
	/*background-size: cover;*/
}
@media only screen and (min-width: 992px) {.tb_short_cover {margin-top: 105px; /* 88 site-title, 18 ticker */}}	



/*CORPORATE*/
.tb_corporate_profile_intro {
	width: 100%;
	background-color: var(--tb-copper);
	color: #ffffff;
	padding-left: 5.3%;
	padding-right: 5.3%;
	padding-top: 70px;
	padding-bottom: 25px;
	box-shadow: inset 0 -15px 12px -15px rgba(0,0,0,0.8);
}
.tb_corporate_profile_intro p {
	font-size: 18px;
	padding-bottom: 35px;
}
.tb_corporate_profile_intro a {
	color: var(--tb-gold);
}
.tb_corporate_profile_intro a:hover {
	color: var(--tb-gold-hover);
}
.tb_corporate_profile_buttons {
	text-align: center;
	margin-top: 15px;
}
.tb_corporate_profile_buttons a {
	position: relative;
	display: block;
	width: 309px;
	height: 70px;
	font-size: 22px;
	font-weight: 400;
	text-align: center;
	padding-top: 21px;
	margin: 0 auto 35px auto;
	color: #ffffff;
	border: solid 1px #ffffff;
	background-color: var(--tb-blue);
	-webkit-transition: background-color 0.2s;
	-ms-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
.tb_corporate_profile_buttons a:hover {
	background-color: var(--tb-blue-dark);
	color: #ffffff;
}


/* THE TEAM*/
/* -upper- */
.tb_team_upper,
.tb_team_lower {
	padding: 60px 15px 0 15px;
	display: grid;
	grid-template-columns: 1fr;
}
.tb_team_upper .tb_ h2,
.tb_team_lower .tb_ h2 {
	border-bottom: solid 2px var(--tb-blue);
	font-size: 36px;
	text-align: left;
	padding-left: 10px;
	color: var(--tb-blue-dark);
	text-transform: uppercase;
}
.tb_team_upper .tb_ h3,
.tb_team_lower .tb_ h3 {
	font-family: "Yanone-TB-Light";
	font-size: 36px;
	color: var(--tb-blue-dark);
	text-transform: uppercase;
	text-align: left;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 25px;
}
.tb_team_upper .tb_single_person_wrap {
	padding-top: 30px; padding-bottom: 15px;
}
.tb_team_upper .tb_single_person_wrap .tb_person_header {
	display: flex;
	flex-direction: column;
	align-items: center;
	column-gap: 20px;
}
.tb_team_upper .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image {
	width: 175px;
	height: 175px;
	border-radius: 4px; overflow: hidden;	
}
.tb_team_upper .tb_person_header,
.tb_team_lower .tb_person_header {
	margin-bottom: 30px;
}

.tb_team_upper .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image img,
.tb_team_lower .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image img {
	object-fit: cover;
	width: 100%; height: 100%;
}
.tb_team_upper .tb_person_name h4 {
	font-family: "Yanone-TB-Semibold";
	color: var(--tb-blue-dark);
	font-size: 26px;
	margin-bottom: 0.25em;
	padding-top: 20px;
	text-align: center;
}
.tb_team_upper .tb_person_function h5 {
	font-family: "Yanone-TB-Light";
	color: var(--tb-copper-dark);
	line-height: 0.5em;
	margin-top: 10px;
	font-size: 20px;
	text-align: center;
}
.tb_team_upper .tb_person_content {padding-bottom: 25px; padding-left: 10px; padding-right: 10px;}

/* -lower- */
.tb_team_lower .tb_ > .tb_ {
	display: grid;
	grid-template-columns: 1fr;
}
.tb_team_lower .tb_single_person_wrap {
	padding-top: 30px; padding-bottom: 15px;
}
.tb_team_lower .tb_single_person_wrap .tb_person_header {
	display: flex;
	flex-direction: column;
	align-items: center;
	column-gap: 20px;
}
.tb_team_lower .tb_single_person_wrap .tb_person_image_wrap figure.wp-block-image {
	width: 125px;
	height: 125px;
	border-radius: 4px; overflow: hidden;	
}
.tb_team_lower .tb_person_name h4 {
	font-family: "Yanone-TB-Semibold";
	color: var(--tb-blue-dark);
	font-size: 26px;
	margin-left: 5px; margin-right: 5px;
	padding-top: 20px;
	margin-bottom: 0.25em;
}
.tb_team_lower .tb_person_function h5 {
	font-family: "Yanone-TB-Light";
	color: var(--tb-copper-dark);
	line-height: 0.5em;
	margin-top: 10px;
	margin-left: 5px; margin-right: 5px;
	font-size: 20px;
}
.tb_team_lower .tb_person_content {font-size: 0.9em; padding-bottom: 25px; padding-left: 10px; padding-right: 10px;}


/* /the team*/

/* corporate governance */
.tb_corp_gov_block {
	width: 100%;
	padding: 35px 15px 25px 15px;
}

.tb_corp_gov_block h2 {
	font-family: "Yanone-TB-Semibold";
    font-size: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--tb-blue-dark);
    text-transform: uppercase;
    padding-bottom: 5px;
    padding-left: 10px;
    border-bottom: solid 2px var(--tb-blue-dark);
}
.tb_corp_gov_block p {
	padding-left: 10px;
}
.tb_corp_gov_block h3 {
	font-family: "Montserrat-Medium";
    font-size: 22px;
	padding: 25px 10px 10px 10px;
    color: var(--tb-blue-dark);
}
/* new */
.tb_governance_page {
	padding: 30px 5.6%;
	position: relative;
}
.tb_governance_page h2 {font-size: 36px; border-bottom: solid 1px var(--tb-blue);}
.tb_directory_grid {
	display: grid;
	grid-template-columns: 1fr;
	margin-top: 25px;
}
.tb_directory_grid > div,
.tb_qualified_grid > div {
	padding: 15px;
	padding-top: 20px;
	background-color: #fafafa;
	margin-bottom: 15px;
	border-left: solid 1px var(--tb-blue);
}
.tb_directory_grid h3,
.tb_qualified_grid h3 {
	font-size: 28px;
	margin-bottom: 5px;
}

.tb_qualified_grid {
	display: grid;
	grid-template-columns: 1fr;
	margin-top: 25px;	
}
.tb_qualified_grid h4 {
	font-weight: bold; margin-bottom: 15px;
}

@media only screen and (min-width: 768px) {

}

@media only screen and (min-width: 992px) {
	.tb_directory_grid {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 25px;
	}
	.tb_directory_grid > div {
		width: calc(50% - 20px);
		border-left: solid 1px var(--tb-blue);
	}
	
	.tb_qualified_grid > div {
		
	}
}


/* PROJECTS */
/*
.tb_project_cover is defined in the template cause it uses WP's page featured image
*/
.tb_project_data_section {
	position: relative;
	padding: 45px 20px 35px 20px;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0 -15px 12px -15px rgba(0,0,0,1);
}

sup,
.tb_project_data_section sup {vertical-align: baseline; position: relative; top: -0.4em;} /*supscript fix*/

.tb_project_data_grid {
	display: grid;
	grid-template-columns: 1fr;	
}

.tb_project_data_title {
	text-align: left;
	border-bottom: dotted 1px rgba(255,255,255,0.5);
	padding: 15px 15px 0 15px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 22px;
	line-height: 1.3em;
}

.tb_project_data_content {
	font-size: 18px;
	padding: 5px 15px 15px 15px;
	/*align-self: end;*/
}

.tb_project_main_title {
	display: grid;
	grid-template-columns: 1fr;
	font-size: 36px;
	text-transform: uppercase;	
	padding-bottom: 15px;
	padding-top: 10px;
	padding-left: 10px;
}
/*
.tb_project_main_title h1 {
	display: inline-block;
	text-align: left;
	position: relative;
}
*/
.tb_project_main_title h2 {
	display: inline-block;
	font-family: "Yanone-TB-Light";
}

.tb_project_description {
	width: 100%;
	padding: 55px 15px 35px 15px;
	background-color: var(--tb-gray-light);
}
.tb_project_description h2 {
	font-size: 36px;
	margin-bottom: 0.5em;
	text-transform: uppercase;
	color: var(--tb-copper);
}
.tb_project_description p {
	font-size: 18px;
	line-height: 1.5em;
}

.project_doc_bar {
	background-color: var(--tb-blue);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px 30px;
	box-shadow: 0 3px 3px rgba(0,0,0,0.33) inset, 0 -3px 4px rgba(0,0,0,0.4) inset;
}
.project_doc_bar .wp-bootstrap-blocks-button .btn.project_doc_btn.btn-primary {
	
}
.project_doc_bar .project_doc_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	
	height: auto;
	min-width: 260px;
	padding: 15px 15px;
	margin: 10px 0;
	font-size: 20px;
}
a.project_doc_btn {
	display: block;
	width: 80%;
	max-width: 80%;
	height: 55px;
	position: relative;
	margin-left: auto; margin-right: auto;
	padding-top: 18px;
	text-align: center;
	font-size: 18px;
	/*font-size: 1.146vw;*/
	margin-bottom: 25px;
	font-family: "Montserrat-Medium";
	color: rgb(243,203,150,1);
	background-color: rgb(243,203,150,0);
	border: solid 1px var(--tb-gold);
	-webkit-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
a.project_doc_btn:hover {
	color: rgb(77,77,77,1);
	background-color: rgb(243,203,150,1);
}

				
@media (min-width: 570px) {
	.project_doc_bar {
		flex-direction: row;
		padding: 30px 30px;
	}
	.project_doc_bar a.project_doc_btn {
		width: auto;
		margin: 0 10px;
	}
}
@media (min-width: 992px) {
	.project_doc_bar {
		justify-content: flex-end;
	}
}



/* main content of Projects */
.tb_project_main_content_grid {
	padding: 0 15px 0 15px; /*padding: 55px 15px 45px 15px;*/
	display: grid;
	grid-template-columns: 1fr;
}
.tb_project_content_title {
	border-bottom: solid 2px var(--tb-blue-dark);
	padding: 0 0 5px 5px;
	text-align: left;
}
.tb_project_content_title h2 {
	font-size: 28px;
	text-transform: uppercase;
	color: var(--tb-blue-dark);
}
.tb_project_content_block {
	padding: 15px 5px 55px 5px;
}

.tb_project_content_block > figure.wp-block-image {
	position: relative; width: auto; height: auto;	
}
.tb_project_content_block > figure.wp-block-image.tb_expandable_image {
	position: relative;
	width: auto;
	height: 260px;
	overflow-y: hidden;
	overflow-x: hidden;
}
.tb_project_content_block > figure.wp-block-image.full_height {
	height: auto;
}
.tb_project_content_block > figure.wp-block-image.expanded {
	height: auto;
}
.tb_project_content_block > figure.wp-block-image .expand_btn {
	position: absolute;
	bottom: 0; left: 0;
	width: 100%;
	height: 46px;
	padding-top: 18px;
	background-color: rgb(250,250,250,0.7);
	border-top: solid 1px #dddddd;
	border-bottom: solid 1px #dddddd;
	cursor: pointer;
	text-align: center;
	text-transform: lowercase;
	font-size: 11px;
	font-weight: bold;
	letter-spacing:0.05em;

	-webkit-transition: background-color 0.3s;
	-ms-transition: background-color 0.3s;
	transition: background-color 0.3s;
}
.tb_project_content_block > figure.wp-block-image .expand_btn:hover {
	background-color: rgb(19,85,104,1);
	color: #ffffff;
	border-top: solid 1px var(--tb-blue-dark);
	border-bottom: solid 1px var(--tb-blue-dark);
}

.tb_project_content_block p {
	margin-bottom: 20px;
}

.tb_project_content_block ul,
.tb_investors_block ul {
	list-style-type: disc;
	list-style-position: inside;
}
.tb_project_content_block ul li,
.tb_investors_block ul li {
	line-height: var(--default-line-height);
}
.tb_project_content_block ul li:before,
.tb_investors_block ul li:before {
	content: "";
	display: inline-block;
	margin-left: -9px;
}

.tb_project_content_block ul li ul {
	list-style-type: circle;
	list-style-position: inside;
	margin-left: 18px;
}
.tb_project_content_block ul li ul li {
	line-height: var(--default-line-height);	
}
.tb_project_content_block ul li ul li:before {
	content: "";
	display: inline-block;
	margin-left: -9px;	
}

.tb_project_video_wrap {
	width: 100%;
	display: flex; justify-content: center; align-items: center;
}
.tb_project_video_wrap .single_video_wrap {
	width: 75%;
	max-width: 800px;	
}
@media (max-width: 600px) {
	.tb_project_video_wrap .single_video_wrap {width: 100%;}
}

figure.wp-block-pullquote {
	font-weight: bold;
	margin: 20px 0;
	padding: 15px;
	border: dotted 1px var(--tb-blue);
	background-color: var(--tb-gray-light) !important;
	display: flex; justify-content: center; align-items: center;
}
figure.wp-block-pullquote blockquote p {font-size: 15px; margin: 0;}

.tb_project_main_content_grid thead {border-bottom: solid 2px var(--tb-faux-black); font-weight: bold}
.tb_project_main_content_grid thead tr th {padding-top: 10px; padding-bottom: 10px; vertical-align: middle;}
.tb_project_main_content_grid tfoot {border-top: solid 2px var(--tb-faux-black); font-weight: bold;}


/* zoomable image */
.tb_zoomable_image_wrap {
	display: flex; align-items: center; justify-content: center;
	position: relative;
	width: 100%; height: 260px;
	margin-top: 10px; margin-bottom: 5px;
	overflow: hidden;
	background-color: #eaeaea;
	border: solid 1px #e4e4e4;
}
.tb_zoomable_image_wrap figure.wp-block-image {padding: 0; text-align: center; display: flex; align-items: center; justify-content: center;}
.tb_zoomable_image_wrap .tb_zoom_pictogram_wrap {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
}
.tb_zoomable_image_wrap img{transition: transform 0.5s;}
.tb_zoomable_image_wrap:hover img {transform: scale(1.1);}

.tb_zoom_pictogram.dashicons {
	display: block;
	vertical-align: center !important;
	width: 50px; height: 50px;
	border-radius: 4px;
	text-align: center;
	background-color: #ffffff;
	color: var(--tb-copper);
	cursor: pointer;
	opacity: 0.75;
	transition: var(--default-transition);	
}

.tb_zoom_pictogram.dashicons::before {
	content: "\f188";
	font-size: 40px !important;
	display: block !important;
	position: relative; top: 0.13em;
}
.tb_zoomable_image_wrap .tb_zoom_pictogram_wrap .tb_zoom_pictogram:hover {opacity: 1; background-color: var(--tb-copper); color: #ffffff;}

.tb_caption {font-size: 15px;}
/* /zoomable image */


/* gallery in Projects */
@media (min-width: 992px) {
	main#content.tb_gallery_page .tb_local_nav {display: none;}
}
.tb_project_gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.tb_project_gallery_item {
	overflow: hidden;
	height: 160px;
	margin: 1px;
}
.tb_project_gallery_item figure.wp-block-image img {
	cursor: pointer;
	width: 100%; height: 100%; object-fit: cover;
	
	transform: scale(1.05); /*prevent flicker near the border on hover*/
	
	-webkit-transition: all 0.5s;
	-ms-transition: all 0.5s;
	transition: all 0.5s ease-in;
}
.tb_project_gallery_item figure.wp-block-image img:hover {
	transform: scale(1.25);
}
#image_full {
	display: none;
	
	background-color: #ffffff;
	border-radius: 3px;
	border: solid 1px #dddddd;
	padding: 5px;
	/* Nope. JQuery UI modal dialog doesn't support relative sizes. Size is set dynamically in JS
	min-width: 90%; min-height: 90%;
	max-width: 95vw; max-height: 95vh;
	*/
}
/*override JQ UI modal close button*/
.ui-dialog .ui-dialog-titlebar {display: none}

.modal_overlay {
	width: 100vw; height: 100vh;
	/* background-color: rgba(119,41,10,0.5); */
	background-color: rgba(255,255,255,0.5);
	position: fixed; top:0; left:0;
	backdrop-filter: blur(5px);
}
.close_modal {
	cursor: pointer;
	position: absolute;
	top: 15px; right: 15px;
	width: 32px; height: 32px;
}
.cmb_idle, .cmb_hover {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99;
}
.cmb_idle .st0{fill:#FFFFFF;stroke:#0D3C46;stroke-miterlimit:10;}
.cmb_idle .st1{fill:none;stroke:#0D3C46;stroke-width:2;stroke-miterlimit:10;}
.cmb_hover .st0{fill:#165669;stroke:#0D3C46;stroke-miterlimit:10;}
.cmb_hover .st1{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-miterlimit:10;}
.cmb_hover {
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	-ms-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.close_modal:hover .cmb_hover {opacity: 1;}


.gal_nav {
	width: 25px; height: 75px;
	position: absolute;
	z-index: 101;
	top: calc(50% - 37px);
	cursor: pointer;
	opacity: 0.5;
	-webkit-transition: opacity 0.3s;
	-ms-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.gal_nav:hover {opacity: 1;}
.gal_nav .st0 {fill:#FFFFFF;}
.gal_nav .st1 {fill:none;stroke:#0D3C46;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:10;}
.gnav_right {right: 0; border-left: solid 1px var(--tb-blue-dark);}
.gnav_left {left: 0; border-right: solid 1px var(--tb-blue-dark);}
.gnav_right.last_slide {display: none;}
.gnav_left.first_slide {display: none;}

.gallery-container {
	position: relative;
	width: 100%; height: 100%;
	overflow: hidden;
	background-color: #ffffff;
}
.gallery-container .swiper-wrapper {
	width: 100%; height: 100%;
}
.gallery-container .swiper-wrapper .swiper-slide {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gallery-container .swiper-wrapper .swiper-slide img {
	max-width: 100%; max-height: 100%; /*avoid clipping*/
}


@media only screen and (min-width: 480px) {
	.tb_project_gallery {
		grid-template-columns: 1fr 1fr 1fr;
	}
}


@media only screen and (min-width: 768px) {
	.tb_project_gallery {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
}

/* MAIN GALLERY */
.tb_project_gallery.tb_gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.tb_project_gallery.tb_gallery .tb_project_gallery_item {
	overflow: hidden;
	height: 180px;
	margin: 1px;
	background-color: var(--tb-copper);
}
.tb_project_gallery.tb_gallery .tb_project_gallery_item figure.wp-block-image img {
	cursor: pointer;
	width: 100%; height: 100%; object-fit: cover;
	/*opacity: 0.75;*/ /*only on desktop*/
	
	transform: scale(1.05); /*prevent flicker near the border on hover*/
	
	-webkit-transition: all 0.5s;
	-ms-transition: all 0.5s;
	transition: all 0.5s;
}
.tb_project_gallery.tb_gallery .tb_project_gallery_item figure.wp-block-image img:hover {
	/*opacity: 1;*/ /*only on desktop*/
	transform: scale(1.25);
}

.tb_gallery_page h3 {
	padding-top: 0;
	padding-bottom: 5px;
	margin-bottom: 20px;
	border-bottom: dotted 1px var(--tb-blue);
	text-transform: uppercase;
	font-family: "Yanone-TB-Light";
	font-size: 30px;
}
.tb_gallery_page p.tb_caption {margin-top: 15px; padding-left: 0;}

@media only screen and (min-width: 480px) {
	.tb_project_gallery.tb_gallery {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (min-width: 768px) {
	.tb_project_gallery.tb_gallery {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
}

@media only screen and (min-width: 992px) {
	.tb_project_gallery.tb_gallery {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
	.tb_project_gallery.tb_gallery .tb_project_gallery_item figure.wp-block-image img {
		/* opacity: 0.9; */
		/* transition: var(--default-transition); */
		transition: all 0.8s;
		transition-timing-function: ease-out;
	}
	.tb_project_gallery.tb_gallery .tb_project_gallery_item figure.wp-block-image img:hover {
		/* opacity: 1; */
		filter: brightness(110%);
	}
}

@media only screen and (min-width: 1200px) {
	.tb_project_gallery.tb_gallery {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	}	
}

/*video gallery*/
.tb_video_gallery {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	grid-row-gap: 60px;
	padding-top: 35px;
}
@media (min-width: 768px) {
	.tb_video_gallery {
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 25px;
	}
}
@media (min-width: 992px) {

}
@media (min-width: 1200px) {
	.tb_video_gallery {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.tb_video_gallery .wp-block-video {
	margin: 0px;
	margin-bottom: -2px;
}
.tb_video_gallery .tb_caption {margin-top: 6px;}

/* END main gallery */

/* NEWS */

/* News navigation */
nav#news_year_nav ul {
	text-align: right;
	margin-bottom: 15px;
}
nav#news_year_nav ul li {
	display: inline-block;
	font-family: "Yanone-TB-Light";
	font-size: 28px;
	margin-left: 25px;
	cursor: pointer;
}

nav#news_year_nav ul li:hover {
	color: var(--tb-copper);
}
nav#news_year_nav ul li.curr_year,
nav#news_year_nav ul li.curr_year a {
	font-family: "Yanone-TB-Semibold";
	font-size: 36px;
	cursor: default;
}
nav#news_year_nav ul li.curr_year:hover {
	color: var(--tb-blue-dark);
}

.tb_news_wrapper {
	background-color: var(--tb-gray-light);
	padding-left: 8.5%;
	padding-right: 8.5%;
	padding-top: 30px;
	padding-bottom: 30px;
}

.tb_news_wrapper h2 {
	font-family: "Yanone-TB-Semibold";
	font-size: 47px;
	margin-top: 65px;
	margin-bottom: 35px;
	color: var(--tb-blue-dark);
	text-transform: uppercase;
	padding-bottom: 12px;
	padding-left: 10px;
	border-bottom: solid 2px var(--tb-blue-dark);
}

.single_news_content h3 {
	/*margin: 30px 0 15px 0;*/
	font-size: 24px;
}
 
.year_wrapper {
	display: none;
}
.year_wrapper.current {
	display: block;	
}

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

	.tb_news_wrapper {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.tb_news_wrapper h2 {
		font-size: 38px;
		margin-top: 55px;
		margin-bottom: 35px;
		padding-bottom: 6px;
		padding-left: 10px;
	}
}

/* SINGLE NEWS (post page) */

.entry-content#single_news_entry {
	position: relative;
}
#single_news_entry h2.entry-title {
	font-size: 32px;
	margin-bottom: 25px;
	margin-top: 0.011em;
	line-height: 1.1em;
}

#single_news_entry em,
.entry-content em {font-style: italic;}

#single_news_entry ul {
	list-style-type: disc;
	list-style-position: inside;
}
#single_news_entry ul li {
	line-height: var(--default-line-height);
	margin-top: 1em;
}
#single_news_entry ul li > ul {list-style-type:circle; margin-left: 2em;}
#single_news_entry ul li:before {
	content: "";
	display: inline-block;
	margin-left: -9px;
}

#single_news_entry blockquote {
	padding: 45px 1.5em 30px 1.5em;
	font-style: italic;
	background-color: var(--tb-gray-light);
	border-radius: 8px;
	border: solid 1px #afafaf;
	background-image: url("elements/quote-open.png"), url("elements/quote-close.png");
	background-repeat: no-repeat, no-repeat;
	background-position: left top, right bottom;
}

#single_news_entry thead {border-bottom: solid 2px var(--tb-faux-black); font-weight: bold}
#single_news_entry thead tr th {padding-top: 10px; padding-bottom: 10px; vertical-align: middle;}
#single_news_entry tfoot {border-top: solid 2px var(--tb-faux-black); font-weight: bold;}


.single_news_grid {
	display: grid;
	grid-template-columns: 1fr;
	margin-top: 90px;
	padding: 45px 15px 50px 15px;
	position: relative;
	min-height: 50vh;
}
.single_news_date {
	border-bottom: solid 2px var(--tb-blue-dark);
	text-align: left;
	padding: 0;
	margin-bottom: 20px;
	font-family: "Yanone-TB-Semibold";
	text-transform: uppercase;
	font-size: 28px;
}
.single_news_content {
	padding: 10px 5px 10px 5px;
	min-width: 0;
}
.single_news_y {
	font-size: 1.2em;
}
.single_news_m {
	font-family: "Yanone-TB-Light";
}
.single_news_slash {}


/* next & prev links */
.next_prev_container {
	display: grid;
	grid-template-columns: 1fr;
	text-align: center;
	font-size: 15px;
	
	width: 100%;
	margin-top: 100px; margin-bottom: 15px;
	padding-top: 10px;
	border-top: solid 1px #eaeaea;
}
.next_prev_container > div {min-width: 0; padding: 10px;}

.btnlw_mobile {
	display: block;
	
	text-align: center;
	font-size: 15px;
	border-top: solid 1px #eaeaea;
}
.btnlw_desktop {display: none;}

.next_prev_link_wrap a,
.back_to_news_link_wrap a {
	display: block;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	padding: 10px; margin-top: 5px;
	transition: var(--default-transition);
}
.next_prev_link_wrap a:hover,
.back_to_news_link_wrap a:hover {background-color: #fafafa;}

@media (min-width: 768px) {
	.next_prev_container {
		grid-template-columns: 3fr 2fr 3fr;	
	}
	.btnlw_mobile {display: none;}
	.btnlw_desktop {display: block;}
}

@media only screen and (min-width: 1300px) {
	.single_news_grid {
		grid-template-columns: 3fr 21fr;
	}
}

/* /SINGLE NEWS (post page) */


/* INVESTORS */
.tb_investors_block table {text-align: left;}
.tb_investors_block table td {padding-left: 15px; padding-right: 5px;}
/* /INVESTORS */

/* CONTACT page */
.tb_contact_item.tb_ {
	padding: 60px 20px 45px 20px;
	display: grid;
	grid-template-columns: 1fr;
}

.tb_contact_item .tb_contact_subtitle {
	border-bottom: solid 2px var(--tb-blue-dark);
	padding: 0 0 5px 15px;
	text-align: left;
}
.tb_contact_item .tb_contact_subtitle h2 {
	font-size: 28px;
	text-transform: uppercase;
	color: var(--tb-blue-dark);
}
.tb_contact_data {
	padding-left: 15px;
	padding-top: 25px;
}

/* /contact page */

/* Expandable box */
.expandable_box {
	width: 100%;
	height: 300px;
	position: relative;
	overflow-y: hidden;
	padding: 10px 5px 50px 5px;
	transition: var(--default-transition);
}
.expandable_box.box_open {
	height: auto;
}
.expandable_box .curle_btn_open {display: flex;}
.expandable_box .curle_btn_close {display: none;}
.expandable_box.box_open .curle_btn_open {display: none;}
.expandable_box.box_open .curle_btn_close {display: flex;}

.expandable_box .curle_btn_open, 
.expandable_box .curle_btn_close {
	justify-content: center;
	align-items: center;
	position: absolute;
	bottom: 0; left: 0;
	width: 100%;
	padding: 25px 15px 21px 15px;
	background-color: #f3f3f3;
	border-top: solid 1px #bfbfbf;
	text-transform: uppercase;
	line-height: 0;
	font-size: 0.8em;
	cursor: pointer;
	/* transition: var(--default-transition); */
	margin-bottom: 0px !important;/* override P margin */
	transition: height 2s;
}
.expandable_box .curle_btn_open:hover, 
.expandable_box .curle_btn_close:hover {
	background-color: #e3e3e3;
}
.expandable_box .curle_btn_open::before {
	content: '';
	width: 100%;
	height: 100px;
	position: absolute;
	top: -101px; left: 0;
	background-image: linear-gradient(transparent, rgba(255,255,255,1));
}

/* Expandable box - top control*/
.expandable_box_top {
	width: 100%;
	height: 120px;
	position: relative;
	overflow-y: hidden;
	overflow-x: hidden;
	padding: 10px 5px 50px 5px;
	margin-bottom: 0;
	transition: var(--default-transition);
}

.expandable_box_top .tb_project_main_content_grid {
	padding-top: 130px;
}

.expandable_box_top.box_open {
	height: auto;
}
.expandable_box_top .curle_btn_open {display: flex;}
.expandable_box_top .curle_btn_close {display: none;}
.expandable_box_top.box_open .curle_btn_open {display: none;}
.expandable_box_top.box_open .curle_btn_close {display: flex;}

.expandable_box_top .curle_btn_open, 
.expandable_box_top .curle_btn_close {
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 120px;
	/* padding: 25px 15px 21px 15px; */
	background-color: #f3f3f3;
	border-top: solid 1px #bfbfbf;
	/* text-transform: uppercase; */
	line-height: 0;
	font-size: 0.8em;
	cursor: pointer;
	margin-bottom: 0px !important;/* override P margin */
	/* transition: var(--default-transition); */
	transition: height 2s;
}
.expandable_box_top .curle_btn_open:hover, 
.expandable_box_top .curle_btn_close:hover {
	background-color: #e3e3e3;
}
/*
.expandable_box_top .curle_btn_open::after {
	content: '';
	width: 100%;
	height: 50px;
	position: absolute;
	z-index: 500;
	top: -101px; left: 0;
	background-image: linear-gradient(transparent, rgba(255,255,255,1));
}
*/

/* Accordion */
/*
.tb_accordion__wrap {
	width: 100%;
	position: relative;
}
.tb_accordion_item {
	width: 100%;
	margin: 0; padding:0;
	margin-top: 3px;
	height: 48px;
	overflow-y: hidden;
	
	transition: height 2s;
}
.tb_accordion_item.open {
	overflow-y: visible;
	height: auto;
}
.tb_accordion_bar {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f3f3f3;
	height: 48px;
	text-align: center;
	cursor: pointer;
	line-height: 0;
}
.tb_accordion_bar:hover {
	background-color: #e3e3e3;
}
.tb_accordion_bar h4 {
	font-size: 0.8em;	
}
.tb_accordion_item_content {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 12px;
}
@media (min-width: 768px) {
	.tb_accordion_item_content {
		grid-template-columns: 1fr 1fr;	
	}
}

@media only screen and (min-width: 1300px) {
	.tb_accordion_item_content {
		grid-template-columns: 1fr 1fr 1fr;	
	}
}
*/

/* Downloadables @Investors*/
h4.tb_downloadables_title {
	font-size: 0.8em;
	font-weight: bold;
	margin-bottom: 1.2em;
	padding-left: 8px;
}
.tb_downloadables_wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 12px;
	padding-left: 8px;
	padding-right: 8px;
}
.tb_downloadables_wrap p.downloadable {
	padding: 0px;
}
.tb_downloadables_wrap p.downloadable a {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 64px;
	background-color: #f3f3f3;
	border-radius: 4px;
	font-size: 0.8em;
	
	transition: var(--default-transition);
}
.tb_downloadables_wrap p.downloadable a:hover {
	background-color: #e3e3e3;
}

@media (min-width: 768px) {
	.tb_downloadables_wrap {
		grid-template-columns: 1fr 1fr 1fr;	
	}
}

@media only screen and (min-width: 1300px) {
	.tb_downloadables_wrap {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;	
	}
}



/*FOOTER*/
#footer_deco {
	width: 100%;
	height: 9px;
	display: grid;
	grid-template-columns: 16fr 5fr 3fr;
}
#footer_deco div {height: 100%;}
#fd1 {background-color: #1E7E98;}
#fd2 {background-color: #F3CB95;}
#fd3 {background-color: #8A3D1E;}
#footer {
	min-height: 360px;
	position: relative;
	background-color: var(--tb-footer-bg);
	color: #ffffff;
	background-image: url("elements/footer_logo_bg.jpg");
	background-repeat: no-repeat;
	background-position: bottom right;
	padding-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
	line-height: 1.3em;
	box-shadow: inset 0 15px 12px -15px rgba(0,0,0,0.66);
}
#footer h3 {
	color: var(--tb-gold);
	font-family: "Montserrat-Medium";
	font-size: 22px;
	padding-bottom: 15px;
}
#footer_content {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 290px;
}
#footer_content > div {
	padding-top: 20px;
	padding-bottom: 35px;
}
div#footer_col_1 {
	border-bottom: 1px solid var(--tb-gold);
	padding-left: 0px;
	padding-right: 0px;
}
div#footer_col_2 {
	border-bottom: 1px solid var(--tb-gold);
	padding-left: 0px;
	padding-right: 0px;
}
div#footer_col_3 {
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 30px;
}

a.footer_doc_btn {
	display: block;
	width: 80%;
	height: 55px;
	position: relative;
	margin-left: auto; margin-right: auto;
	padding-top: 18px;
	text-align: center;
	font-size: 18px;
	/*font-size: 1.146vw;*/
	margin-bottom: 25px;
	font-family: "Montserrat-Medium";
	color: rgb(243,203,150,1);
	background-color: rgb(243,203,150,0);
	border: solid 1px var(--tb-gold);
	-webkit-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
a.footer_doc_btn:hover {
	color: rgb(77,77,77,1);
	background-color: rgb(243,203,150,1);
}

#footer_subscribe_form input[type="text"],
#footer_subscribe_form input[type="email"],
#mc-embedded-subscribe-form input[type="text"],
#mc-embedded-subscribe-form input[type="email"] {
	display: block;
	width: 100%;
	height: 36px;
	margin-bottom: 20px;
	font-size: 18px;
	background-color: var(--tb-gray-light);
	border-radius: 3px;
	padding-left: 10px;
	border: solid 2px var(--tb-gray-light);
}
#footer_subscribe_form input[type="text"]:focus,
#footer_subscribe_form input[type="email"]:focus,
#mc-embedded-subscribe-form input[type="text"]:focus,
#mc-embedded-subscribe-form input[type="email"]:focus {
	background-color: #ffffff;
	border: solid 2px var(--tb-gold-hover);
	-moz-box-shadow: inset 0 0 8px #B2B2B2;
	-webkit-box-shadow: inset 0 0 8px #B2B2B2;
	box-shadow: inset 0 0 8px #B2B2B2;
}
#footer_subscribe_form input[type="text"]::placeholder,
#footer_subscribe_form input[type="email"]::placeholder,
#mc-embedded-subscribe-form input[type="text"]::placeholder,
#mc-embedded-subscribe-form input[type="email"]::placeholder {
	font-family: "Montserrat-Light";
	color: #B2B2B2;
}
#footer_subscribe_form #footer_submit,
#mc-embedded-subscribe-form #mc-embedded-subscribe {
	width: 140px;
	height: 36px;
	font-size: 17px;
	/*font-family: "Montserrat-Light";*/
	color: var(--tb-footer-bg);
	background-color: var(--tb-gold);
	border: none;
	float: right;
	cursor: pointer;
	border-radius: 3px;
	-webkit-transition: background-color 0.2s;
	-ms-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
#footer_subscribe_form #footer_submit:hover,
#mc-embedded-subscribe-form #mc-embedded-subscribe:hover {
	background-color: var(--tb-gold-hover);
}

footer address {
	font-style: normal;
	margin-bottom: 20px;
}
.footer_phone {
	margin-bottom: 20px;
}
footer #footer_social {margin-top: 30px;}
footer #footer_social a {
	display: inline-block;
	width: 30px; height: 30px;
	margin-right: 30px;
}
footer #footer_social a svg path {fill: #ffffff;}

footer #copyright {
	font-size: 13px;
	position: absolute;
	bottom: 10px;
	right: 15px;
	color: #cccccc;
}

/*------ privremeni ---------*/
.athabasca_header .tb_project_data_title,
.athabasca_header .tb_project_data_content {border:none !important;}








