body {margin: 0; font-family: 'Zona Pro';}
.sitegrid { margin: 0 auto; max-width: 1200px; width: 100%; }
.header_up .sitegrid {
  display: flex;
  justify-content: space-between;
}

.header_up_left {display: inline-block; max-width: 315px; width: 100%;}
.header_up_left_img { max-width: 114px; width: 100%;}
.header_up_left_name { font-size: 22px; font-family: 'Zona Pro Bold'; color: #06395F; }
.header_up_left_title {font-size: 16px; color: #464637;}
.header_up_right_menu > li {display: inline-block; padding: 0 5px;}
.header_up_right_menu > li > a {font-family: 'Zona Pro SemiBold';text-decoration: none; color: #07395F; font-size: 18px; }
.header_up_right_menu { display: inline-block; margin: 0; padding: 0; list-style-type: none;
  /*max-width: calc(100% - 325px);*/
   width: 100%; text-align: right; vertical-align: top; position: relative; }
.header_up_espa { height: 115px; background-image: url(images/sponsor_eu_espa_2014_2020_e.png); background-size: 350px; background-position: 100%; background-repeat: no-repeat; }
.header_up_right_menu:after { content: ""; position: absolute; bottom: -10px; border-bottom: 2px solid #093A5F; left: 0px; right: 0; }

.welcome_main {background-color: #093A5F;margin: 25px 0; }
/*.welcome_title { font-size: 26px; font-family: 'Zona Pro Black'; color: #ffffff;     margin: 140px 0 20px; }*/
.welcome_name { font-size: 56px; font-family: 'Zona Pro Black'; color: #ffffff; position: relative; margin: 170px 0 20px; }
.welcome_name::after { display: block; content: ""; position: absolute; border-bottom: 8px solid #D6AC88; bottom: -15px; left: 0; width: 180px; }
.welcome_left { display: inline-block; vertical-align: top;}

.welcome_right { display: inline-block; vertical-align: top; position: relative; max-width: 680px; width: 100%; height: 505px; }
.welcome_img { position: absolute; transform: translate(-50%, -50%); max-width: 680px; width: 100%; top: 50%; left: 50%; }
.welcome_right:before { display: block; position: absolute; content: ""; border-left: 135px solid #093A5F; z-index: 1; border-top: 0 solid transparent; border-bottom: 505px solid transparent; border-right: 0 solid transparent; top: 0; left: 0;}
.welcome_right:after { display: block; position: absolute; content: ""; border-right: 135px solid #093A5F; z-index: 1; border-bottom: 0 solid transparent; border-top: 505px solid transparent; border-left: 0 solid transparent; top: 0; right: 0; }
.keypoint_text { font-size: 18px; color: #07395F}
.keypoint_list {margin: 15px 0 0; padding: 0; list-style-type: none;}
.keypoint_list > li {position: relative; padding-left: 20px; font-size: 20px; font-family: 'Zona Pro SemiBold'; color: #07395F; line-height: 32px;}
.keypoint_list > li::before { position: absolute; content: ""; display: block; background-image: url(images/listarrow.png); width: 15px; height: 15px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 9px; left: 0px;}

.banners_table { width: 100%; border-spacing: 30px; }
.banners_table > tbody > tr > td { width: 33%; border: 3px solid #07395F; padding: 0; border-radius: 50px 0px 50px 0px; overflow: hidden; }
.banners_table > tbody > tr > td:nth-child(1) .banners_img {background-image: url(images/itea.jpg);}
.banners_table > tbody > tr > td:nth-child(2) .banners_img {background-image: url(images/logo.PNG); position: relative;}
.banners_table > tbody > tr > td:nth-child(2) .banners_img:after { position: absolute; background-image: url(images/play_icon.png); content: "";
    width: 80px; height: 80px; background-repeat: no-repeat; background-size: contain; top: 20px; left: 20px; }
.banners_table > tbody > tr > td:nth-child(2):hover .banners_img:after {background-image: url(images/play_icon_h.png);}
.banners_table > tbody > tr > td:nth-child(3) .banners_img {background-image: url(images/lamia.jpg);}
.banners_table > tbody > tr > td .banners_img { width: 100%; height: 300px; background-size: cover; background-position: center; background-repeat: no-repeat; }

.bio_main { padding: 70px 0; }
.bio_title {font-size: 26px; font-family: 'Zona Pro Black'; color: #07395F; border-bottom: 1px solid #CFA887; padding-bottom: 5px;}

.bio_img_out { width: 240px; height: 240px; border-radius: 50%; position: relative; overflow: hidden; margin-top: 20px;}
.bio_img_in { width: 340px; position: absolute; top: 53%; left: 50%; transform: translate(-50%, -50%); }
.bio_right { display: inline-block; vertical-align: top; color: #07395F; font-size: 20px; margin: 20px 0px 0 20px; line-height: 28px;}
.bio_left { display: inline-block;  vertical-align: top;}



.study_main {background-color: #07395F; padding: 30px 0;}
.study_title { color: #CDA685; font-size: 26px; font-family: 'Zona Pro Black'; margin-bottom: 20px; }
.study_body { font-size: 20px; color: #ffffff; font-family: 'Zona Pro SemiBold';}

.partic_main {padding: 30px 0;}
.partic_title {font-size: 26px; font-family: 'Zona Pro Black';color: #07395F;margin-bottom: 20px;}
.partic_list { color: #07395F; font-size: 20px; margin: 0; padding: 0; list-style-type: none; }
.partic_list > li { position: relative; padding: 0 0 20px 20px; }
.partic_list > li::before { position: absolute; content: ""; display: block; background-image: url(images/listarrow.png); width: 15px; height: 15px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: 0px;}



.contact_title { font-size: 26px; font-family: 'Zona Pro Black'; color: #07395F; margin-bottom: 20px; }
.contact_table { margin: 50px auto; border-spacing: 15px; }
table.contact_table_in > tbody > tr > td { padding: 0 10px; }
.contact_box { line-height: 26px; font-family: 'Zona Pro SemiBold'; border: 3px solid #07395F; font-size: 20px; padding: 15px; margin: 10px auto; border-radius: 50px 0; text-align: center; width: 120px; }
.itea { background-color: #CDA685; color: #07395F; }
.lamia { background-color: #07395F;color: #ffffff; }
.contact_box.contact_box_title { margin: 0 auto; }
.contact_day { font-size: 22px; padding-bottom: 5px; font-family: 'Zona Pro Bold'; text-align: center;}
.contact_time { font-size: 18px; padding: 5px;  font-family: 'Zona Pro Bold'; text-align: center;}
.contact_table > tbody > tr > td { padding: 30px; border: 3px solid #07395F; border-radius: 50px 0; width: 20%; }
.contact_time > span { display: block; text-align: center; padding: 5px 0;}


.address_main { background-color: #07395F; padding: 0; }
.address_main > div > div {display: inline-block; width: calc(50% - 3px);vertical-align: top;font-family: 'Zona Pro SemiBold';}
.address_main > div > a > div {display: inline-block; width: calc(50% - 3px);vertical-align: top;font-family: 'Zona Pro SemiBold';background-size: cover;}
.address_right { width: 100%; height: 380px; background-position: center; background-size: 150%; }
.address_title {font-size: 26px; font-family: 'Zona Pro Black';color: #ffffff;margin-bottom: 20px; margin-top: 17%;}
.address_list {margin: 0; padding: 0; list-style-type: none;color: #ffffff;font-size: 22px; }
.address_list > li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.address_list > li::before { position: absolute; content: ""; display: block; background-image: url(images/listarrow_w.png); width: 15px; height: 15px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: 0px;}
.address_address{position: relative; padding: 0px 30px 15px; cursor: pointer;}
.address_address::before { position: absolute; content: ""; display: block; background-image: url(images/address_w.png); width: 20px; height: 20px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: -2px;}
.address_phone{position: relative; padding: 0px 30px 15px;}
.address_phone::before { position: absolute; content: ""; display: block; background-image: url(images/telephone_w.png); width: 20px; height: 20px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: -2px;}

.address_fax{position: relative; padding: 0px 30px 15px;}
.address_fax::before { position: absolute; content: ""; display: block; background-image: url(images/fax.png); width: 20px; height: 20px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: -2px;}

.address_mail{position: relative; padding: 0px 30px 15px;}
.address_mail::before { position: absolute; content: ""; display: block; background-image: url(images/email_w.png); width: 20px; height: 20px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: -2px;}



.newsletter_main { background-image: url(images/newsletter_back.png); padding: 70px 0 40px; background-size: cover; position: relative;}
.newsletter_main_after { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #CEA786; opacity: 0.8;}
.newsletter_title { font-family: 'Zona Pro Bold'; font-size: 30px; color: #ffffff; position: relative;padding: 0px 45px 10px;}
.newsletter_title::before { position: absolute; content: ""; display: block; background-image: url(images/letter_w.png); width: 30px; height: 28px; background-repeat: no-repeat; background-position: center; background-size: contain; top: 3px; left: -2px;}
.newsletter_text { color: #ffffff; font-size: 26px; position: relative;margin-bottom: 10px;}

.newsletter_input { font-size: 22px; padding: 5px 10px; width: 100%; max-width: 750px; outline: none; box-sizing: border-box;}
.newsletter_btn { padding: 0px 25px; border: 1px solid; background-color: transparent; color: #fff; font-size: 22px; line-height: 35px; box-sizing: border-box;}
.newsletter_input_line {position: relative; margin: 30px 0 50px;}
.sitegrid_inside { max-width: 950px; width: 100%; margin: 0 auto; }

.footer_main > div > div { display: inline-block; vertical-align: middle; color: #878787;}
.footer_main .footer_left { width: 70%; font-size: 13px; text-align: left}
.footer_main .footer_right { width: 29%; font-size: 13px; text-align: right; }
.footer_main { padding: 15px 0; }
.footer_right a {color: #878787; text-decoration: none;}

@media all and (max-width: 1200px){
  .header_up_espa {display: none; }
  .header_up_espa_mob { padding-top: 15px; height: 60px; background-image: url(images/sponsor_eu_espa_2014_2020_e.png); background-size: 200px; background-position: calc(100% - 20px); background-repeat: no-repeat; }
  .sitegrid { padding: 0 20px; box-sizing: border-box;}
  .welcome_left { width: 49%; }
  .welcome_right { width: 49%; height: 42vw;}
  .welcome_right:before { border-left: 10vw solid #093A5F; border-bottom: 42vw solid transparent; left: -1px;}
  .welcome_right:after { border-right: 10vw solid #093A5F; border-top: 42vw solid transparent; right: -1px;}
  .welcome_name { font-size: 4.5vw; margin: 15vw 0 20px;}
  /*.welcome_title {font-size: 2.1vw; margin: 10vw 0 20px; }*/
  .header_up_right_menu > li { display: block; padding: 0.4vw 0px; line-height: 1.5vw;}
  .header_up_right_menu { margin: 20px 0 0 0; padding-top: 50px;}
  .address_title { font-size: 2.2vw; }
  .address_list { font-size: 1.9vw; }
  .keypoint_text { font-size: 1.5vw;}
  .keypoint_list > li { font-size: 1.6vw; line-height: 2.9vw; }
  .partic_list {font-size: 1.6vw;}
  .contact_title, .study_title,
  .partic_title, .bio_title { font-size: 2.1vw;}
  .bio_right { font-size: 1.7vw; line-height: 2.5vw; }
  .study_body { font-size: 1.7vw; }
  .header_up_right_menu > li > a {font-size: 1.5vw;}
  .header_up_left_img {max-width: 9.6vw;}
  .header_up_left_name {font-size: 1.8vw; }
  .header_up_left_title {font-size: 1.4vw; }
  .keypoint_list > li::before { width: 1.2vw; height: 1.2vw; top: 0.8vw; }
  .partic_list > li::before { width: 1.2vw; height: 1.2vw; top: 0.2vw; }
  .contact_day { font-size: 1.9vw; }
  .contact_time { font-size: 1.6vw; }
  .contact_time::before { padding-right: 0.5vw; }
  .newsletter_title { font-size: 2.2vw; }
  .newsletter_text { font-size: 2.1vw; }
  .newsletter_input { font-size: 2.0vw;max-width: 62vw;}
  .newsletter_btn {font-size: 2.0vw;line-height: 3.2vw;}
  .footer_main .footer_left,  .footer_main .footer_right { font-size: 1.1vw; }
  .contact_box { line-height: 2.2vw; font-size: 1.7vw; padding: 2.2vw; border-radius: 50px 0; width: 10vw; }

      .accesib {
      top: 10px;
      display: flex;
      align-items: center;
    }

    .accesib > span {
      margin: 0 2px;
    }

    .header_up_right_menu:after {
      bottom: -3px;
    }

    .welcome_main {
      margin-top: 10px;
    }

    .accesib > span:last-child {
      margin-top: 0!important;
    }
}

@media all and (max-width: 700px){
  .contact_table > tbody > tr > td { padding: 0 10px; }
  .header_up_left_name { font-size: 12px; }
  .header_up_left_title { font-size: 10px; }
  .header_up_right_menu > li > a { font-size: 12px; }
  .header_up_left_img { max-width: 70px; }
  .header_up_left { max-width: 30%; }
  /*.header_up_right_menu { max-width: calc(70% - 6px); }*/
  .header_up_right_menu > li { padding: 2px 0px; line-height: 10px; }
  .keypoint_text { font-size: 12px; }
  .keypoint_list > li { font-size: 12px; line-height: 20px; }
  .keypoint_list > li::before { width: 10px; height: 10px; top: 5px; }
  .contact_title, .study_title, .partic_title, .bio_title { font-size: 16px; }
  .bio_right { font-size: 12px; line-height: 18px; }
  .bio_left { display: block; text-align: center; }
  .bio_img_out { margin: 20px auto 10px; }
  .study_body { font-size: 12px; }
  .partic_list { font-size: 12px; }
  .partic_list > li::before { width: 10px; height: 10px; top: 1px; }
  .address_title { font-size: 16px; margin-bottom: 20px; margin-top: 30px; }
  .address_list { font-size: 14px; }
  .address_main > div > div { width: 100%; }
  .address_main > div > a > div { width: 100%; }
  .newsletter_title { font-size: 16px; }
  .newsletter_title::before { top: -8px; left: 5px; }
  .newsletter_text { font-size: 14px; }
  .newsletter_input { font-size: 14px; max-width: 60%; }
  .newsletter_btn { font-size: 14px; line-height: 26px; }
  .banners_table { width: 100%; border-spacing: 0; }
  .banners_table .bx-viewport > tr > td {display: block;}
  .banners_table .bx-viewport > tr > td:nth-child(1) .banners_img {background-image: url(images/itea.jpg);}
  .banners_table .bx-viewport > tr > td:nth-child(2) .banners_img {background-image: url(images/logo.PNG); position: relative;}
  .banners_table .bx-viewport > tr > td:nth-child(2) .banners_img:after { position: absolute; background-image: url(images/play_icon.png);
    content: ""; width: 70px; height: 70px; background-repeat: no-repeat; background-size: contain; top: 20px; left: 20px; }
  .banners_table .bx-viewport > tr > td:nth-child(3) .banners_img {background-image: url(images/lamia.jpg);}
  .banners_table .bx-viewport > tr > td .banners_img { width: 100%; height: 300px; background-size: cover; background-position: center; background-repeat: no-repeat; }
  .contact_box { line-height: 18px; font-size: 12px; padding: 15px; border-radius: 50px 0; width: 70px; }
}

@media all and (max-width: 700px){
  .contact_table {display: block;}
  .contact_table > tbody {display: block;}
  .contact_table > tbody > div { border: 3px solid #093A5F; padding: 20px; border-radius: 50px 0; }
  .contact_table > tbody > div > div > tr {display: block;}
  .contact_table > tbody > div > div > tr > td {display: block;}
  .contact_table_in { width: 100%; }
  .contact_box.itea { width: 24%; display: inline-block; margin: 10px; }
  .contact_itea_mob {text-align: center; }
  .contact_day { font-size: 16px; }
  .contact_time { font-size: 14px; padding: 10px;}
  .contact_time > span { padding: 0; float: right;}

    .newsletter_btn {
        width: 100%;
        margin-top: 15px;
    }

    .newsletter_input {
        width: 100%;
        max-width: 100%;
        border-width: 0;
    }

    .footer_main .footer_left, .footer_main .footer_right {
        font-size: 2vw;
        width: 100%;
    }

    .footer_main .footer_right {
        text-align: left;
        padding-top: 10px;
    }

    .bio_right {
        margin: auto;
    }
}


@media all and (min-width: 700px) and (max-width: 800px) and (max-height: 1280px) {
    .bio_right {
        width: 75%;
        margin: auto;
        display: block;
    }

    .bio_left {
        display: block;
    }

    .bio_img_out {
        margin: 20px auto;
    }

    .contact_table {
        border-spacing: 4px;
    }

    .footer_main .footer_left, .footer_main .footer_right {
        font-size: 1.5vw;
        width: 100%;
    }

    .footer_main .footer_right {
        text-align: left;
        padding-top: 10px;
    }
}


@media all and (min-width: 700px) and (max-width: 1280px) and (max-height: 800px) {
    .bio_right {
        width: 75%;
        margin: auto;
        display: block;
    }

    .bio_left {
        display: block;
    }

    .bio_img_out {
        margin: 20px auto;
    }

}

/* This applies only to screens smaller than 768px */
@media screen and (max-width: 768px) {
  .contact_table, 
  .contact_table tbody, 
  .contact_table tr, 
  .contact_table td {
    display: block; /* Forces elements to stack vertically */
    width: 100%;
  }

  .contact_table td {
    margin-bottom: 20px; /* Adds space between days */
    border-bottom: 1px solid #eee; /* Optional: adds a separator line */
    padding-bottom: 10px;
  }
  
  .contact_day {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
}