@font-face {
  font-family: "NotesEsa";
  src: url("../fonts/NotesESA_font/NotesEsaReg.otf") format("opentype");
 }
 @font-face {
  font-family: "NotesEsa";
  font-weight: bold;
  src: url("../fonts/NotesESA_font/NotesEsaBol.otf") format("opentype");
 }
 @font-face {
  font-family: "NotesEsa";
  font-style: italic;
  src: url("../fonts/NotesESA_font/NotesEsaRegta.otf") format("opentype");
 }
 @font-face {
  font-family: "NotesEsa";
  font-weight: bold;
  font-style: italic;
  src: url("../fonts/NotesESA_font/NotesEsaBolta.otf") format("opentype");
 }


body, a>section {
  color: #003249;
  font-family: 'Arial', sans-serif;
}
a, button {
  color: #fff;
  font-family: 'Arimo', sans-serif;
}
/* , a:hover, a:active @vinz */
.footer__copyright a:visited {
  color: #fff;
  font-family: 'Arimo', sans-serif;
} 
solid-form-checkbox a {
  color: #A40034;
}

body * {
  box-sizing: border-box;
  font-family:'Arimo';
}
a {
  text-decoration: none;
}
.d-none {
  display: none;
}
.is-hidden {
  visibility: hidden;
}

body {
  background-color: #003249; /*@SIB: #140651;*/
  /*background-image: url('../img/background3.png');*/
  /*background-image: url('../img/BSGN_AgriFood_Community-Platform_background_900x873px.png');*/
  background-image: url('../img/background/BSGN_background2c_2552x3119_progressive70.jpg');

  background-size: cover;  /*@VB  100% 873px;*/
  background-repeat: no-repeat;
  background-position: top center;
}

.header {
  margin: 0px 0px 50px 0px; /*@VB margin: 10px 0px 10px 0px; */ 
  padding: 50px 0;
  background: #EEEEEC;
  text-align: center;
}
.header__logo {
  display: inline-block;
  margin: 20px;/*auto;*/
  height: 100px;
}

.main {
  margin: auto;
  width:90%;
  max-width: 992px;
}
@media (min-width:576px) {
  .main {
    width:80%;
  }
}

.video-section{
  margin: auto;
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
@media (min-width:768px) {
  .video-section {
    width: 480px;
    min-height: 240px;
    padding: 0;
  }
}
.video-section .mejs__container{
  width: 100%;
  position: absolute;
  top:0;
  left: 0;
  background-color: #2E3192;
}
@media (min-width:768px) {
  .video-section .mejs__container{
    width: 480px;
    height: 240px;
    position: unset;
  }
}

.legal-section {
  padding: 40px 40px 40px 40px;
  margin: 40px auto 0px;
  background-color: rgba(0, 0, 0, 0.2); /* blue  #2E319255;*/
  border-radius: 15px;
  max-width: 800px;
  /*style="color:#FFFFFF;background:rgba(0, 0, 0, 0.2);padding:20px;border-radius: 15px 15px 15px 15px;"*/
}
.legal-section__title {
  margin-top: 0;
  text-align: center;
}

.form-section .flex-center-wrapper {
  width: 100%;
  min-height: 300px;
    display: flex;
    align-items: center;
}
.form-section .flex-center-wrapper>.flex-center-content {
  flex: 1;
  width: 100%;
}
.form-section form>solid-form-dropdown-label,
  .form-section form>solid-form-label-text {
  width: 100%;
}
.form-section__title {
  margin-top: 0;
  text-align: center;
  line-height: 1.8;
}
.form-section__title span {
 color:#fff;
 background-color: #A40034;
 display: inline-block;
 padding: 5px;
 line-height: 1;
 text-transform: uppercase;
 font-family: NotesEsa;
}

.form-section__content {
  padding: 20px 40px 20px 40px;
    margin: 40px auto 0;
    background-color: #EEEEEC;
    border-radius: 10px;
    max-width: 600px;
}
.form-section__text {
  text-align: center;
}
/*Step counter text when replace time to complete  */
.form-section__text.isStepCount {
  Font-size: 1.4em;
}
.form-section__text--ty {
  font-size: 110%
}
.form-section__buttons {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 34px;
  display: flex;
}
.button {
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.button--next {
  padding: 8px 16px;
  border-radius: 48px;
  background-color: #A40034;
  font-weight: 600;
}
.button--next:hover {
  color: #A40034;
  background-color: #fff;
}
.button--last {
  background-color: transparent;
  color: #A40034;
  font-size: 80%;
  padding: 8px 16px;
  line-height: 18px;
}
.button--last:hover {
  text-decoration: underline;
}
.button__info {
  padding-left: 8px;
  color : #003249;
  text-transform: uppercase;
  font-size: 0.8em;
  line-height: 34px;
  vertical-align: top;
}
.button__info strong {
  font-weight: 500;
}

.form-section__buttons .return-icon {
  color: #A40034;
  font-size: 1.8em;
  padding-left: 5px;
}

#form-thankyou {
  position: relative;
  top: -50px;
  color: #003249;
  font-weight: bold;
}
[data-id="error"]  {
  color:#A40034;
  font-weight:bold;
  font-size:10px;
}

.carousel-section {
  margin: 20px auto 0;
  background-color: rgba(255, 255, 255, .8);
  border-radius: 10px;
  max-width: 780px;
}

.footer {
  margin: 20px auto 32px;
  text-align: center;
  font-weight: 500;
  font-size: 80%;
}
.footer__mentions {
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 20px;
  color: #fff;
}
.footer__mentions a:hover {
  text-decoration: underline;
}
.footer__copyright a {
  font-size:90%;
  color:  #007aff;  /*@SIB #008E3F; */
}
.footer__copyright a:hover {
  text-decoration: underline;
}

/*
    startin'blox
*/

solid-form-dropdown-label,
solid-form-radio,
solid-form-checkboxes,
solid-form-label-text,
solid-form-checkbox,
input[type="submit"] {
  display: none;
}
.is-animated {
  animation: fadeInDown 0.5s;
}
.form-section .label-div,
.form-section label {
  display: flex;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: .5px;
}
.form-section .i-desc {
  display: block;
  font-style: italic;
  font-size: 11px;
  font-weight: normal;
  margin-bottom: 16px;
}
.form-section input[type="text"],
.form-section select {
  width: 100%;
  height: 48px;
  margin-bottom: 16px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.form-section input,
.form-section select {
  background-color: #DADADA;  /* TODO TO BE FIXED */
  color: #003249;
}
.form-section select {
  cursor: pointer;
}
.form-section option {
  color:#140651;
}
.form-section select option:hover {
  background:#140651;
}
.form-section solid-form-checkbox {
  /*height: 102px;*/
  padding-top: 16px;
  margin-bottom: 16px;
}
@media(min-width:768px) {
  .form-section solid-form-checkbox {
    padding-top: 32px;
    font-size: 110%;
  }
}
.form-section solid-form-checkbox label {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.form-section solid-form-checkboxes label input,
  .form-section solid-form-checkbox label input {
  margin-left: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.5em;
  height: 1.5em;
  border: solid 2px;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  padding: 0.75em;
  outline: 2px solid transparent;
  transform: scale(0.7);

  /*outline: 2px solid #ff0000;*/
}
.form-section solid-form-checkbox label input[type="checkbox"] {
  transform: scale(0.7);
  margin-left: -10px;
}
.form-section solid-form-radio label input {
  /*height: 10px;*/
  vertical-align: middle;
  line-height: 30px;
  margin-right: 5px;
  /*outline: 2px solid #ff0000;*/
}
.form-section solid-form-checkboxes label input[type="checkbox"]::before,
.form-section solid-form-checkbox label input[type="checkbox"]::before {
  position: absolute;
  content: '';
  display: block;
  top: 2px;
  left: 8px;
  width: 8px;
  height: 14px;
  border-style: solid;
  border-color: #A40034;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  opacity: 0;
}
.form-section solid-form-checkboxes label input[type="checkbox"]:checked::before,
.form-section solid-form-checkbox label input[type="checkbox"]:checked::before {
    opacity: 1;
}
.form-section solid-form-checkbox > label > div {
  max-width: 480px;
}
.form-section solid-form-checkboxes label > span {
   vertical-align: top;
    display: inline-block;
    padding-left: 10px;
    font-size: 13px;
    font-weight: normal;
    position: relative;
    top: 5px;
}
.form-section solid-form-radio label,
  .form-section solid-form-checkboxes label {
    margin-bottom: 8px;
    line-height: 15px;
}


.form-section solid-form-radio label > span {
   font-family: Arial;
    font-size: 13px;
    font-weight: normal;
}

.form-section solid-form-label-text[required] > label:after,
.form-section solid-form-radio[required] > .label-div:after,
.form-section solid-form-checkboxes[required] > .label-div:after,
.form-section solid-form-dropdown-label[required] > label:after {
    content: ' *';
    color: #A40034;
}

/*
  File link (condition and policy)
*/
.link-div {
  padding: 5px;
  text-align: center;
  margin-bottom: 16px;
}
.link-div a {
  text-decoration: underline;
}


input:focus-visible {
  outline-offset: 0px;
  outline: 2px solid black!important; 
}


/*
    media element
*/
.mejs__overlay-button {
  background: url('../img/PlayButton.svg') no-repeat !important;
}

/*
    swiper
*/
.swiper-slide {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  font-size: 90%;
  padding: 32px;
  color:#2E3192;
}
@media (min-width:768px) {
  .swiper-slide {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px 64px;
  }
}
.swiper-container .swiper-button-prev:after,
.swiper-container .swiper-button-next:after {
  width:20px;
  height:20px;
}
.swiper-container .swiper-button-prev:after {
  content: url('../img/Left_arrow.svg');
}
.swiper-container .swiper-button-next:after {
  content: url('../img/Right_arrow.svg');
}
.swiper-slide__portrait {
  position: relative;
  margin: auto;
  margin-bottom: 16px;
}
@media (min-width:768px) {
  .swiper-slide__portrait {
    margin: 0;
  }
}
.swiper-slide__portrait__img img{
  height: 120px;
  border-radius: 50%;
}
.swiper-slide__portrait__deco {
  position: absolute;
}

.swiper-slide__portrait__deco img {
  height: 16px;
}
.swiper-slide__portrait__deco--1 {
  top: 4px;
  left: 4px;
}
.swiper-slide__portrait__deco--2 {
  bottom: 4px;
  right: 4px;
}

@media (min-width:768px) {
  .swiper-slide__text {
    padding: 0 16px;
  }
}
.swiper-slide__text__statement {
  text-align: center;
}
@media (min-width:768px) {
  .swiper-slide__text__statement {
    text-align: left;
  }
}
.swiper-slide__text__statement p {
  margin: 0;
}

.swiper-slide__text__presentation {
  width: 100%;
  padding: 0 16px 16px;
  text-align: center;
}
@media (min-width:768px) {
  .swiper-slide__text__presentation {
    padding: 0 0 16px;
    text-align: left;
  }
}
.swiper-slide__text__presentation__name-role {
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
  font-weight: 600;
}
@media (min-width:768px) {
  .swiper-slide__text__presentation__name-role {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.swiper-slide__text__presentation__name-role__name {
  color:  #008E3F;
}
.swiper-slide__text__presentation__name-role__sep {
  display: none;
}
@media (min-width:768px) {
  .swiper-slide__text__presentation__name-role__sep {
    display: block;
    padding: 0 .25em;
  }
}
.swiper-slide__text__presentation__name-role__role {

}
.swiper-slide__text__presentation__company-url {
  display: flex;
  flex-direction: column;
}
@media (min-width:768px) {
  .swiper-slide__text__presentation__company-url {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.swiper-slide__text__presentation__company-url__sep {
  display: none;
}
@media (min-width:768px) {
  .swiper-slide__text__presentation__company-url__sep {
    display: block;
    padding: 0 .25em;
  }
}
.swiper-slide__text__presentation__company-url__url {
  color:#2E3192;
}
.swiper-slide__text__presentation__company-url__url:hover {
  text-decoration: underline;
}

@-webkit-keyframes fadeInDown {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0)
	}
	to {
		opacity: 1;
		-webkit-transform: translateZ(0);
		transform: translateZ(0)
	}
}
