body {
	font-family: 'Lato', sans-serif;
	scroll-behavior: smooth;
	background-color: #EEEEF4;
}

svg {
  overflow: hidden;
}

a {
	color: #003472;
}

.btn-check:focus + .btn, .btn:focus {
	box-shadow: none;
}

header .navbar {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@media screen and (max-height: 640px) {
	
	.logotype img {
		max-height: 160px;
	}
	
	header .navbar {
		top: 45%;
	}
}

/*
header .navbar .row {
    flex-basis: 100%;
    text-align: center;
}
*/
header .dropdown {
	text-align: center;
}

header .dropdown, header img {
	position: relative;
	z-index: 2;
}

header .dropdown .btn-group {
	margin: 0px 40px;
}

header .dropdown .btn {
	text-transform: uppercase;
	color: #FFFFFF;
    font-size: 1.2rem;
    /*border: 1px solid #fff;*/
    padding: 15px 45px;
    letter-spacing: 1px;
}

header .dropdown-menu {
	background: transparent;
	border: 0;
	width: 100%;
}

header .dropdown-divider {
    height: 20px;
    width: 2px;
    color: #FFFFFF;
    text-align: center;
    margin: 0 auto;
}

header .dropdown-menu li {
	padding: 5px 0;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 2px;
	font-size: 0.85rem;
}

header .dropdown-menu a:hover {
	font-weight: 600;
}

header .dropdown-menu li a {
	text-decoration: none;
	color: #fff;
}

.header__background {
	min-height: 100vh;
	background-size: cover;
	background-position: center center;
	position: relative;
}

.header__background::after {
	content: "";
	filter: invert(9%) sepia(98%) saturate(2822%) hue-rotate(203deg) brightness(98%) contrast(109%);
	background-color:rgba(0, 0, 0, 0.4);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}



.effect_btn {
  position: relative;
  color: white;
  transition: all 0.3s;
}

.effect_btn span {
    transition: all 0.3s;
    tranform: scale(1, 1);
}

.effect_btn::before, .effect_btn::after {
  content: '';
  position: absolute;
  transition: all 0.3s;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


.btn-six::before {
  opacity: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.3, 1.3);
}

.btn-six:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}

.btn-six::after {
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 1);
}

.btn-six:hover::after {
  transform: scale(0, 0);
  opacity: 0;
}


.contact__background {
	min-height: 200px;
	background-size: cover;
	background-position: center center;
	position: relative;
	padding: 25px;
}

.contact__background::after {
	content: "";
	filter: invert(9%) sepia(98%) saturate(2822%) hue-rotate(203deg) brightness(98%) contrast(109%);
	background-color:rgba(0, 0, 0, 0.85);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.contact__background * {
	position: relative;
	z-index: 1;
	color: #fff;
}

.contact__background h2 {
	font-size: 1.6em;
	width: 100%;
	text-align: center;
	margin-bottom: 30px;
}	

#contact a:hover{
	color: #fff;
}

.our_mission {
	margin-top: 100px;
	margin-bottom: 50px;
	text-align: center;
}

.our_mission h2 {
	margin-bottom: 50px;
}

.our_mission img {
	max-height: 98px;
	-webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}

.our_mission img:hover {
  cursor: pointer;
  animation-name: bounce;
  -moz-animation-name: bounce;
}

.our_mission p {
	font-weight: bold;
	color: #003472;
	max-width: 60%;
	display: block;
	margin: 40px auto 20px auto;
	font-size: 1.1em;
}

.homepage_slider {
	margin-bottom: 30px;
}

.homepage_slider .slick-slide {
	margin: 20px;
}

.homepage_slider .slick-slide img {
	box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	-webkit-box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	transition: transform 0.2s;
}

.homepage_slider .slick-slide img:hover {
	transform: scale(1.03);
	transition: transform 0.4s;
}


.homepage_slider .slick-arrow img {
	cursor: pointer;
}

.homepage_slider .slider_left_arrow {
	width: 30%;
	background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(0,0,0,0) 100%);
	z-index: 1;
	position: absolute;
	height: calc(100% - 45px);
	left: 0;
	top: 20px;
}

.homepage_slider .slider_right_arrow {
	width: 30%;
	background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(0,0,0,0) 100%);
	z-index: 1;
	position: absolute;
	height: calc(100% - 45px);
	right: 0;
	top: 20px;
}


.homepage_slider .slider_left_arrow img {
	rotate: 180deg;
	position: absolute;
	left: 10px;
	z-index: 1;
	top: 36%;
}

.homepage_slider .slider_right_arrow img {
	position: absolute;
	right: 10px;
	z-index: 1;
	top: 36%;
}


.homepage_news_shadow {
	position: relative;
	box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
}

.homepage_news_box {
	min-height: 250px;
	position: relative;
	/*
	box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	-webkit-box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	*/
}

/*
.homepage_news_box::after {
	position: absolute;
	content: "";
	background: rgb(0,52,114);
	background: linear-gradient(0deg, rgba(0, 52, 114,0.9) 55%, rgba(255, 255, 255, 0.01) 100%);
	height: 50%;
	width: 100%;
	left: 0;
	bottom: 0;
	transition: all 0.7s;
}
*/

.d-md-block .homepage_news_box:hover::after {
	height: 60%;
	transition: all 0.7s;
}

.homepage_news_box__meta {	
	position: relative;
	width: 100%;
	background-color: #fff;
	color: #003472;
	min-height: 150px;
	padding-top: 10px;
	/*
	box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	-webkit-box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.6);
	*/
}

.homepage_news_container .homepage_news_box__meta:hover, .homepage_news_container .homepage_news_box__meta.hovered {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 160%;
	background-color: rgba(0, 52, 114, 0.9);
	cursor: pointer;
	
	-webkit-transition: background 0.25s ease-in-out;
	-moz-transition: background 0.25s ease-in-out;
	-o-transition: background 0.25s ease-in-out;
	transition: background 0.25s ease-in-out;
	
	box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
}


.homepage_news_box__meta a, .homepage_news_container .homepage_news_box__meta:hover a {
	text-decoration: none; 
}

.homepage_news_container .homepage_news_box__meta:hover a .homepage_news_box__title {
	color: #fff;
}

.homepage_news_container .homepage_news_box__meta:hover .homepage_news_box__date {
	margin-top: 10px;
	color: #fff;
}

.homepage_news_container .homepage_news_box__meta:hover .homepage_news_box__description {
	display: block;
	color: #fff;
	padding: 10px 22px;
	font-size: 0.95em;
	line-height: 165%;
}

.homepage_news_container .homepage_news_box__meta:hover .homepage_news_box__more {
	display: block;
}

.homepage_news_container .homepage_news_box__meta:hover::after {
	content: url('/bundles/velacmssolutiontotalizator/images/rightbottom.svg');
	position: absolute;
	bottom: -7px;
	right: -2px;
	filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(44deg) brightness(102%) contrast(102%);
}

.homepage_news_box__meta::after {
	content: url('/bundles/velacmssolutiontotalizator/images/rightbottom.svg');
	position: absolute;
	bottom: -7px;
	right: -2px;
}

.homepage_news_box__date {
	z-index:2;
	position: relative;
	color: #003472;
	font-size: 0.8em;
	font-weight: 400;
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 3px;
}
	
.homepage_news_box__title {	
	color: #003472;
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
	z-index:2;
	position: relative;
	max-height: 90px;
	overflow: hidden;
	margin-bottom: 0;
	margin-top: 10px;
}

.homepage_news_box__title a {
	color: #003472;
	text-decoration: none;
}

.homepage_news_box__description {
	display: none;	
}

.homepage_news_box__more {
	width: 100%;
	z-index: 2;
	position: absolute;
	display: none;
	text-align: left;
	padding-left: 20px;
	bottom: 0;
	left: 5px;
}

.homepage_news_box__more a {
	color: white;
	font-size: 0.8em;
	text-transform: uppercase;
	text-decoration: none;
}	

/*
.homepage_news_box__more a::after {
	content: '→';
	color: white;
	font-size: 0.8em;
	position: relative;
	top: -2px;
	margin-left: 5px;
}
*/

.homepage_news_box__more a svg {
	fill: #fff;
	width: 1.5rem;
	transition: all .5s ease;
	position: relative;
	top: -1px;
	left: 0;
}

/*
.homepage_news_box__more a:hover {
	position: relative;
	left: -2px;
	letter-spacing: 1.5px;
	transition: all 0.5s ease;
}
*/

.homepage_news_box__more a:hover svg {
	left: 15px;
	transition: all 1s ease;
}

#homepageCarousel .carousel-indicators {
	bottom: -40px;
}

#homepageCarousel .carousel-indicators [data-bs-target] {
	width: 20px;
	height: 20px;
	margin-right: 5px;
	margin-left: 5px;
	border: 1px solid #003472;
	background: transparent;
}

#homepageCarousel .carousel-indicators  .active {
	background: #003472;
}

.dropdown-toggle::after {
	margin-left: 0;
}

.carousel-inner {
	  padding: 10px;
}

.carousel-item .homepage_news_box__meta:hover {
	position: relative;
	min-height: 150px;
	background-color: #fff;
	-webkit-transition: unset;
	-moz-transition: unset;
	-o-transition: unset;
	transition: unset;
	top: initial;
	left: initial;
}

.carousel-item .homepage_news_box__meta:hover::after {
	content: unset;
	position: unset; 
	bottom: unset;
	right: unset;
}

.carousel-item a, .carousel-item a:hover {
	text-decoration: none; 
	color: #003472;
}

.h2_std {
	font-size: 26px;
	text-align: center;
	color: #003472;
	font-weight: 400;
	margin-bottom: 40px;
	text-transform: uppercase;
	letter-spacing: 0.25px;
}

.h2_page {
	font-size: 26px;
	text-align: left;
	color: #003472;
	font-weight: 600;
	letter-spacing: 0.25px;
	margin-top: 20px;
}

.h2_related {
	font-size: 24px;
	text-align: left;
	color: #003472;
	font-weight: 300;
	letter-spacing: 0.25px;
	margin-top: 20px;
}

.image_std {
	float: left;
	margin-right: 20px;
	margin-bottom: 5px;
	position: relative;
	top: 7px;
}

.image_fluid {
	width: 100%;
	height: auto;
	margin-bottom: 50px;
	position: relative;
	top: 15px;
	text-align: center;
}

.button_std {
	background-color: #003472;
	padding: 10px 25px;
	text-transform: uppercase;
	color: #fff;
	border: 0;
	border-radius: 0;
}
	
.bottom__background {
	background-color: #003472;
	color: #fff;
}	

.bottom__background #footer_line a {
	color: #fff;
	text-decoration: none;
}


#footer_line p {
	font-size: 0.7em;
	margin:0;
}

#bottom {
	padding-top: 40px;
	padding-bottom: 80px;
	padding-left: 180px;
	padding-right: 180px;
	margin: 0 auto;
	
}

.form__button {
	background-color: #003472;
	padding-left: 50px;
	padding-right: 50px;
	border: 1px solid white;
	text-transform: uppercase;
	border-radius: 0;
}

#bottom h2 {
	font-size: 26px;
	text-align: center;
	color: #fff;
	font-weight: 400;
	margin-bottom: 40px;
}

.post__issue_date {
	color: gray;
	font-size: 0.8em
}

.post__author {
	color: gray;
	font-size: 0.8em
	
}

.breadcrumb {
	font-size:0.75em;
	margin-bottom: 0;
	position: relative;
	top: -10px;
}

.breadcrumb a {
	color: #003472;
}

.pagination a {
	color: #003472;
}

.pagination .page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #003472;
  border-color: #003472;
}

input, .form-control, .form-check-input[type="checkbox"]  {
	border-radius: 0;
}

.button_hover {
  display: inline-flex;
  height: 40px;
  width: 250px;
  background-color: transparent;
  text-transform: uppercase;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid #003472;
}

.button_hover a {
  position: relative;
  transition: all .35s ease-Out;
  color: #003472;
  text-decoration: none;
}

.button_hover .slide {
  width: 100%;
  height: 100%;
  left: -250px;
  background: #003472;
  position: absolute;
  transition: all .35s ease-Out;
  bottom: 0;
}

.button_hover:hover .slide {
  left: 0;
}

.button_hover:hover a {
  color: #fff;
}

.formbutton_hover {
  display: inline-flex;
  border: 1px solid white;
  height: 40px;
  width: 250px;
  color: #fff;
  background-color: #003472;
  text-transform: uppercase;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.formbutton_hover .slide {
  width: 100%;
  height: 100%;
  left: -250px;
  background: #ffffff;
  position: absolute;
  transition: all .35s ease-Out;
  bottom: 0;
}

.formbutton_hover:hover span {
  color: #003472;
  position: relative;
}

.formbutton_hover:hover .slide {
  left: 0;
}


.page_mission .h2_page {
	display: none !important;
}

.page_mission ul {
	list-style-type: none;
	padding-left: 0;
}

.page_mission ul li {
	font-size: 1em;
	color: #003472;
	margin-left: 95px;
	line-height: 24px;
	margin-bottom: 50px;
	position: relative;
	text-align: justify;
}

.page_mission ul li img {
	min-width: 60px;
	position: absolute;
	left: -95px;
	max-width: 60px;
}

.page_mission ul.section1 li  {
	margin-left: 80px;
	margin-right: 10px;
}

.page_mission ul.section1 li img {
	top: 5px;
	left: -80px;
	min-width: 50px;
	max-width: 50px;
}

.page_mission ul.section2 li img {
	max-width: 75px;
	top: 7px;
}

.page_mission ul.section3 li img {
	max-width: 70px;
	top: 10px;
}

.page_mission ul.section3 li {
	text-align: left;
}

.page_mission h3 {
	font-size: 26px;
	border-bottom: 0.25px solid #003472;
	color: #003472;
	margin-bottom: 40px;
	padding-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.95px;
}

.post-content .innerHtml p, .post-content .innerHtml li {
  line-height: 1.78em;
  font-size: 1.1em;
  font-weight: 500;
}

.staff {
	color: #003472;
}

.staff h4 {
	font-weight: 100;
	margin-top: 1em;
	font-size: 1.25em;
}

.staff ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}

.download a {
	text-decoration: none;
}

.download li {
	padding-bottom: 5px;
	padding-top: 5px;
}

.download img {
	position: relative;
	top: -2px;
}

.wcag {
	position: absolute;
	top: 10px;
	right: 30px;
	height: 50px;
	width: 140px;
	z-index: 2;
}

.wcag__letter--smaller {
  padding-left: 14px;
}

.wcag__letter--normal {
  -ms-flex-pack: center;
  justify-content: center;
}

.wcag__letter {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  width: 38px;
  margin-right: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.wcag__contrast-icon {
  font-size: 20px;
  color: #fff;
}

.wcag__contrast-button {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    width: 45px;
}

.wcag__contrast-button, .wcag__letter {
  height: 45px;
  background: 0 0;
  border: none;
}

.our_programs_list .homepage_news_box__meta {
	min-height: 70px;
}

.our_programs_list .homepage_news_box__meta:hover {
	min-height: 128%;
}

.cookiebar {
  max-width: 100vw;
  font-size: 0.85em;
  border:1px solid #003472;
  position: fixed;
  bottom: 0;
  background: white;
  z-index: 10;
}

.cookiebar > div {
	margin: 15px 10px 30px 10px
}

.close-cookiebar {
	text-align: right;
	font-weight: 800;
	cursor: pointer;
	font-size: 1.5em;
	position: absolute;
	right: 25px;
	bottom: 10px;
}


@media only screen  and (min-width: 768px) and (max-width: 1400px) {
	header .dropdown .btn-group {
	  margin: 0px 20px;
	}
	
	header .dropdown .btn {
		font-size: 1rem;
		padding: 15px 30px;
	}
}

@media only screen  and (min-width: 768px) and (max-width: 991px) {
	
	header .navbar { 
		left: unset;
		right: 0;
		max-width: 60vw;
		top: 20%;
		transform: unset;
	}
	
	header .dropdown {
		max-width: 70%;
	}
	
	header .dropdown .btn-group {
		width: 100%;
		margin: 10px 20px;
	}
	
	header .logotype img {
		max-width: 120px;
	}
	
	 header .dropdown .btn-group, .btn-group-vertical {
	 	width: 90%;
	 	display: grid;
	 	padding-bottom: 20px;
	 	margin: 0 auto;
	 }
	 
	 header .dropdown-menu {
	  	position: unset;
	 }
}

@media only screen and (max-width: 767px) {
	
.wcag {
	width: 150px;
	right: 25px;
	top: 5px;
}

.wcag .wcag__letter--smaller {
	padding-left: 0;
}

.wcag .wcag__letter {
	width: auto;
	font-size: 15px;
	min-width: 100%;
	display: block;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 0;
    margin: 0;
}

.cookiebar {
	max-width: 100%;
	font-size: 0.85em;
	border: 1px solid #003472;
	position: fixed;
	bottom: 0;
	background: white;
	z-index: 10;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.cookiebar > div {
	margin: 15px 10px 15px 10px;
}

.close-cookiebar {
	text-align: right;
	font-weight: 800;
	cursor: pointer;
	font-size: 1.5em;
	position: absolute;
	right: 25px;
	bottom: 10px;
}
	
 .header__background {
  min-height: 30vh;
 }
 
 header .navbar {
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
 }
 
 header .dropdown .btn {
 	padding: 10px 20px;
 	font-size: 1.1em;
 }
 
 header .logotype img {
 	top: -25px;
 	max-height: 170px;
 }

 #bottom {
	padding-top: 40px;
	padding-bottom: 32px;
	padding-left: 20px;
	padding-right: 20px;
 }
 
 #bottom h2, .h2_std, .h2_page {
 	font-size: 24px;
 }
 
 header .logotype {
 	text-align: center;
 }
 
 header .logotype img {
 	margin-top: 50px;
 }

 header .container.navbar {
	padding-left: 20px !important;
	padding-right: 20px !important;
 }
 
 header .row {
 	margin-left: 0;
 	margin-right: 0;
 }
 
 header .dropdown .btn-group, .btn-group-vertical {
 	width: 90%;
 	display: grid;
 	padding-bottom: 20px;
 	margin: 0 auto;
 }
 
 header .dropdown-menu {
  	position: unset;
 }
 
 .our_programs_list .homepage_news_box {
  	min-height: 160px;
  	background-size: contain;
 }
 
 .homepage_news_shadow {
 	min-height: 400px;
 }
 
 .homepage_news_box__meta:hover {
 	min-height: 100% !important;
 }
 
 .carousel-inner .homepage_news_box__meta:hover {
 	min-height: 150px !important;
 }
 
 .homepage_news_box__description {
 	max-height: 130px; 
 	overflow: hidden;
 }
 
 
 .our_programs_list .homepage_news_shadow {
 	min-height: 250px;
 }
 
 .our_programs_list .homepage_news_box__description {
 	max-height: 115px; 
 	overflow: hidden;
 }
 
 .our_programs_list .homepage_news_box__meta {
    min-height: 95px;
 }
 
 .our_programs_list .homepage_news_box__meta:hover {
    min-height: 160%;
 }
 
 .our_programs_list .velacms-widget-news-list .widget-content .row:first-child {
 	min-height: 310px !important;
 }
 
 .form-check-label[for="rodo"] {
    font-size: 0.75em;
    text-align: justify;
 }
 
 .form-label {
 	font-size: 0.85em;
 }
 
 #bottom form .row .col-12 {
 	margin-bottom: 1rem !important;
 }
  
 #footer_line {
 	text-align:center;
 }
  
 #footer_line .text-end {
 	text-align: center !important;
 	margin-top: 20px;
 }
  
 .page_mission ul li {
 	text-align: left;
 
 } 
  
}


@keyframes bounce {
	0%, 100%, 20%, 50%, 80% {
		-webkit-transform: translateY(0);
		-ms-transform:     translateY(0);
		transform:         translateY(0)
	}
	40% {
		-webkit-transform: translateY(-30px);
		-ms-transform:     translateY(-30px);
		transform:         translateY(-30px)
	}
	60% {
		-webkit-transform: translateY(-15px);
		-ms-transform:     translateY(-15px);
		transform:         translateY(-15px)
	}
}