html, body {
	height: 100%;
}

body {
	/* display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center; */
}

body>.cabecera {
	flex:1 auto;
}

footer {
	background-color: white;
	padding: 0px;
	height: 30%;
	width: 100%;
}

.FooterBackground {
	width: 100%;
	background: url(../img/FooterBackground.jpg) no-repeat;
	background-size: 100% 100%;
	padding: 10px 0px;
	background-position: bottom;
	display: flex;
	align-items: center;
	flex-direction: column;
	color: white;
	justify-content: center;
	margin-top: 5px;
}

.footer_content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 90%;
}

.content {
	display: flex;
	align-items: stretch;
	flex-direction: row;
	/* width: 95%; */
}

.content_text {
	width: 80%;
	margin-bottom: 5px;
	margin-right: 5px;
}

.content_end {
	align-items: flex-end;
}

#communication>* {
	margin:0;
}

.content_text >h5 {
	font-size: 22px;
}

.content_text>h4 {
	margin-bottom: 2px;
}

.logo_rrss {
	width: 11%;
}

.block_logos {
	padding: 7.5px 0px;
}

#twitter {
	/* height: 22%; */
	padding-right: 10px;
	width: 5%;
}

#youtube {
	padding-left: 10px;
	width: 7.5%;
}

#linkedin {
	height: 7.5%;
}

.copyright>* {
	margin: 0;
}

#logoEU {
	width: 40%;
	height: 40%;
	margin-top: 8%;
}

#description {
	margin: 0;
	width: 95%;
	font-size: small;
}

.container {
	padding-top: 1.5%;
	padding-bottom: 1.5%;
}

#background {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	min-height: 50vh;
}

.logos {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-self: center;
}

#logos {
	width: 10%;
	/* height: 50%; */
	/* margin: 0% 1% auto; */
}

#logos_helcom {
	width: 10%;
	height: 55%;
}

.div_logo_EU {
	display: flex;
	align-items: flex-end;
}

.filter-remap {
	filter: invert(47%) sepia(63%) saturate(644%) hue-rotate(328deg) brightness(90%) contrast(84%);
}

@media (min-width:2560px) {
	.logos {
		width: 85%;
		margin: 0 auto;
		height: 60%;
	}

	#logos {
		width: 25%;
		height: 75%;
	}
}

@media (min-width:1440px) and (max-width:2559px) {
 .logos {
		width: 79%;
		margin: 0 auto;
		height: 40%;
	}

	#logos {
		width: 23%;
		height: 85%;
	}

	#logos_helcom {
		width: 15%;
		height: 70%;
	}
}

@media (min-width:1024px) and (max-width:1439px) {
	.logos {
		width: 67%;
		margin: 0 auto;
	}

	#logos {
		width: 15%;
	}
}

@media (min-width: 425px) and (max-width: 768px) {
	#logos {
		width: 13%;
		margin: 0 0.5%;
	}
}

@media (max-width:424px) {
	#logos {
		width: 12%;
	}

	.logos {
		height: auto;
	}
}

@media (max-width: 925px) {
	.content_text {
		font-size: small;
	}

	.content_text>h4 {
		font-size: medium;
	}

	.content_text>h5 {
		font-size: medium;
	}

	#communication>*, .content_text>address {
		font-size: smaller;
	}

	#description {
		font-size: 0.6rem;
	}
}

@media (max-width:725px) {
	.div_logo_EU {
			height: 50%;
	}

	.logo_rrss {
		width: 20%;
	}

	#twitter {
		width: 16.5%;
	}

	#linkedin {
		width: 21.5%;
	}
}

@media (max-width:514px) {
	.div_logo_EU {
		height: 65%;
	}

	.logo_rrss {
		width: 27%;
	}

	#twitter {
		width: 18.5%;
	}

	#linkedin {
		width: 23.5%;
	}

	#logo_EU {
		height: 44%;
	}
}

@media (max-width:425px) {
	#twitter {
		width: 23.5%;
	}

	.div_logo_EU {
		height: 60%;
	}

	#logoEU {
		height: 49%;
		width: 55%;
	}

	.logo_rrss {
		width: 30%;
	}

	#linkedin {
		width: 32.5%;
	}

	#logo_EU {
		height: 44%;
	}
}
#trapezoid {
	border-top: 20px solid #69B7CD;
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	height: 0px;
	width: 100%;
}

#header-banner {
	position: absolute;
	top: 0px;
	width: 300px;
	display: flex;
	justify-content: center;
}

#header-banner p {
	position: absolute;
	font-family: monospace;
	font-size: 1rem;
	color: white;
	top: 0px;
}

.box {
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	justify-content: center;
	overflow : hidden;
}

.cabecera {
	max-height: 15vh;
	background-color: white;
	padding: 0px;
	display: flex;
	width: 100%;
	align-content: center;
	justify-content: flex-start;
	flex-direction: column;
	align-items: center;
}

.logo {
	margin-top: 2%;
	width: 25%;
	margin: 1% auto;
	height: 50%;
	left: 5%;
}

.circle {
	height: 150px;
	width: 150px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 16px;
}

.circle img {
	height: 100px;
	width: 100px;
}

.card {
	margin: 1rem!important;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: 210px ;
	width: 520px;
	min-width: 300px;
	border: #AFC1C6 1.5px solid;
}

.card-toolkit, .card-toolkit-hidden {
	margin: 1rem!important;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: 210px ;
	width: 520px;
	min-width: 300px;
	border: #AFC1C6 1.5px transparent;
}

.card:hover {
	cursor: pointer;
}

.card-toolkit:hover {
	cursor: pointer;
}

.card p {
	font-size: 1rem;
}

.card-toolkit p {
	font-size: 1rem;
}

.card .card-title {
	font-size: x-large;
	color: #4D6E76;
}

.card-toolkit .card-title {
	font-size: x-large;
	color: #4D6E76;
}

.links-container {
	width: 1070px;
	min-width: 295px;
}

.card-links, .card-links_v2, .card-links_v3, .card-links_v4 {
	background-color: #e47045;
	color: white;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding-left: 2.5%;
	/* justify-content: space-around; */
	align-items: center;
	min-height: 100px;
}

.card-links_v2, .card-links_v3, .card-links_v4 {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
}

.card-links_v3 {
	align-items: flex-end;
	padding-left: 0%;
	padding-right: 2.5%;
	text-align: end;
}

.card-links .box, .card-links_v2 .box , .card-links_v3 .box {
	width: 450px;
	justify-content: start;
	margin: 12px;
	margin-top: 0px;
}

.card-links_v3 .box {
	justify-content: end;
}

.card-links_v4 .box {
	width: 950px;
	justify-content: start;
	margin: 12px;
	margin-top: 0px;
}

.div_content {
	padding-top: 2.5%;
}

.card-links .box:hover, .card-links_v2 .box:hover, .card-links_v3 .box:hover {
	cursor: pointer;
}

.link-icon {
	/* width: 25%; */
	height: 60px;
}

.link-text, .link-text-no-hover {
	width: 100%;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow : hidden;
}

.link-text * {
	margin: 0px;
}

.link-text *:hover {
	font-size: large;
	font-weight: 700;
}

.link-text > p {
	font-size: 0.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.link-text > h6 {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 5px 0px;
}

.hidden {
	display: none;
}

@media (max-width: 1199px) {
	.links-container {
		width: 516px;
		margin: 1rem 0px;
	}
}

@media(max-width:1121px){}

@media (max-width: 760px) {
	footer img {
		height: auto;
		width: 100%;
	}

	#logoEU {
		width: 70%;
	}

	.links-container {
		width: 476px;
	}
}

@media (max-width: 576px) {
	#header-banner {
		width: 210px;
	}

	#trapezoid {
		border-top-width: 18px;
	}

	#header-banner p {
		font-size: 0.9rem;
	}

	.cabecera {
		height: 95px;
	}

	.logo {
		width: 300px;
	}

	.circle {
		height: 100px;
		width: 100px;
	}

	.circle img {
		height: 75px;
		width: 75px;
	}

	.link-icon,.link-text {
		height: 50px;
	}

	.link-icon {
		width: 50px;
	}

	.link-text {
		font-size: 0.8rem;
	}

	.link-text > p {
		font-size: 0.7rem;
	}

	.card p {
		font-size: 0.9rem;
	}

	.card .card-title {
		font-size: large;
	}
}

.active-card .card-title {
	color: #F9C9B6;
}

.active-card {
	background-color: #02333C;
	border-color: transparent;
}

.active-card-left:before,.active-card-right:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: #02333c;
	border-top-color: #02333c;
	border-width: 25px;
	z-index: -1;
}

.active-card-left:before {
	left: 50%;
	margin-left: -41.7%;
}

.active-card-right:before {
	right: 50%;
	margin-right: -41.7%;
}

.border-up {
	display:flex;
	flex-direction:row;
	background-color: #e47045;
}

.right-border-up-right, .right-border-up-left, .left-border-up-right, .left-border-up-left {
	border-bottom: 25px solid #e47045;
}

.left-border-up-left {
 border-right: 23px solid #02333c;
}

.left-border-up-right {
 border-left: 26px solid #02333c;
}

.right-border-up-left {
	border-right: 26px solid #02333c;
}

.right-border-up-right {
	 border-left: 23px solid #02333c;
}

.right-border-up-right,.left-border-up-left {
	width: 13%;
}
.right-border-up-left,.left-border-up-right {
	width: 90%;
}

@media (max-width: 424px) {
	.right-border-up-right,.left-border-up-left {
		width: 16%;
	}

	.right-border-up-left,.left-border-up-right {
		width: 84%;
	}
}
@media (max-width: 550px) {
	.right-border-up-right,.left-border-up-left {
		width: 14.5%;
	}

	.right-border-up-left,.left-border-up-right {
		width: 86%;
	}

	.links-container {
		width: 60% ;
	}

	.card {
		height: 200px;
		width: 60%;
		margin: 1rem 0px !important;
	}
}

@media (max-width: 376px) {
	.card-links .box {
		width: 320px;
	}

	.circle {
		height: 85px;
		width: 85px;
	}

	.circle img {
		height: 65px;
		width: 65px;
	}

	.link-icon,.link-text {
		height: 43px;
	}

	.link-icon {
		width: 43px;
	}

	.link-text {
		font-size: 0.7rem;
	}

	.link-text > p {
		font-size: 0.6rem;
	}

	.card {
		height: 150px;
		width: 60%;
}

	.card p {
		font-size: 0.7rem;
	}

	.card .card-title {
		font-size: small;
	}
}

@media(min-width:1028px) {
	.right-border-up-right,.left-border-up-left {
		width: 6.4%;
	}

	.right-border-up-left,.left-border-up-right {
		width: 98%;
	}
}

@media(max-width:1199px) {
	.left-border-up-left {
		border-right: 23px solid #02333c00;
	}

	.left-border-up-right {
		border-left: 26px solid #02333c00;
	}

	.right-border-up-left {
		border-right: 26px solid #02333c00;
	}

	.right-border-up-right {
		border-left: 23px solid #02333c00;
	}
}

@media (min-width:2174px) {
	.links-container {
		margin: 1rem;
	}
}

@media (min-width:2206px) {
	.box {
		max-width: 80%;
	}
}