﻿@font-face {
    font-family: 'IM Fell';
    src: url('/Content/css/fonts/im-great-primer-pro/fegprm27c-webfont.woff2') format('woff2'), url('../fonts/im-great-primer-pro/fegprm27c-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #cfd475 !important;
}

.cookie_banner {
    background-color: #cfd475 !important;
}

.login-hero figure {
    position: relative;
    min-height: 750px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-hero figure img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.login-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    z-index: 1;
}

.login-box {
    background-color: #cfd475;
    border: 1px solid #ffffff;
    padding: 30px;
    text-align: center;
    font-family: 'IM Fell', serif;
    font-weight: 600;
    color: #004a93;
}

    .login-box h3 {
        font-size: 26px;
        margin-bottom: 5px;
        color: #004a93;
        font-weight: 600;
    }

.login-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    color: #004a93;
}

.login-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

    .login-row label {
        width: 100px;
        text-align: right;
        margin-right: 15px;
        font-size: 14px;
        color: #004a93;
    }

@media (max-width:768px) {
    .login-row label {
        margin-bottom: 3px;
        text-align: center;
    }
}

.login-row label.lblBig {
    width: 200px;
}

.login-row input {
    width: 300px;
    height: 35px;
    border: 1px solid #004a93;
    padding: 5px;
    background-color: #ffffff;
}

.forgot-password {
    display: block;
    font-size: 13px;
    color: #004a93;
    text-decoration: underline;
    margin: 10px 0 10px 0;
}

.btn-accedi {
    background-color: #ffffff;
    color: #004a93;
    border: 1px solid #004a93;
    padding: 8px 40px;
    font-family: 'IM Fell', serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-accedi:hover {
        background-color: #004a93;
        color: #ffffff;
    }

#pin {
    text-transform: uppercase;
}

#lblError {
    color: #c82522 !important
}

.news_title {
    font-family: IM Fell !important;
    font-weight: 700;
    padding: 0 !important;
}

.border_bottom_notizie {
    border-bottom: 2px solid #004a93;
}

.button, .button2 {
    font-family: IM Fell !important;
}

.button_mob div {
    font-family: IM Fell;
    font-weight: 600;
}

    .button_mob div.open {
        color: #fff !important;
        background-color: #004a93;
        border-color: #004a93 !important;
    }

.thumb_notizie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 201px;
}

.bck_notizie {
    background-color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    max-height: 201px;
}

    .bck_notizie .abstract {
        overflow: hidden;
        display: -webkit-box;
        display: -box;
        line-clamp: 6;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
    }

#elenco_notizie_integratori a, #elenco_notizie_cosmesi a {
    color: #004a93;
}

.box_notizia_oli {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
    border: none !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    padding-top: 5px !important;
    display: flex;
    align-items: stretch;
    height: 206px;
}

    .box_notizia_oli .title {
        background-color: #ffffff;
        font-family: IM Fell;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        margin-top: 5px;
    }

    .box_notizia_oli .data {
        font-family: IM Fell !important;
        font-weight: 600;
    }

    .box_notizia_oli .row {
        flex: 0 0 calc(100% + 30px);
        overflow: hidden;
    }

@media (min-width: 768px) {
    .col-news-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

#elenco_notizie_integratori .altre_notizie a, #elenco_notizie_cosmesi .altre_notizie a {
    font-family: IM Fell;
    font-weight: 600;
    text-decoration: underline;
    color: #004a93;
}

#speisekammer, #bandierine {
    display: none;
}

/** MODIFICHE TAMARA **/

.olip-paragraph_container {
    width: 100%;
    max-width: 1090px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    -moz-box-shadow: 0 0 14px rgba(0,0,0,.65);
    background-color: #fffff1 !important;
    margin: 0 auto;
    margin-top: 3%;
    display: flow-root;
   
}

.olip-hr-container {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  text-align: center;
}

.olip-img-header {
  width: 100%;
  height: auto;
  display: block;
}

.olip-divider {
  border: 0;
  height: 1px;
  background-color: #003366;
  width: 100%;
  margin: 20px 0;
}

.olip-subtitle {
  color: #003366;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 10px;
}


.olip-container  .row div img {
    display: inline-block;
}

.olip-text {
    line-height: 2rem;
    font-size: 18px;
}

@media (min-width: 718px) {
.img-olip {
padding-right: 2% !important
}
}
.olip-img-container {
  float: left;
  width: 40%;
  margin-right: 30px;
  margin-bottom: 20px;
}
.olip-img-container img {
  width: 100%;
  display: block;
  height: auto;
}

.olip-img-news-container {
  margin-right: 30px;
  margin-bottom: 20px;
}
.olip-img-news-container img {
  width: 100%;
  display: block;
  height: auto;
}

.olip-caption {
  font-size: 13px;
  color: #003366;
  margin-top: 8px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.olip-testo-colonne {
  column-count: 2;
  column-gap: 40px;
  column-fill: auto;
  height: auto;
}

.olip-testo-colonne p:first-child {
  break-after: column;
}

@media (max-width: 731px) {
  .olip-testo-colonne {
    column-count: 1;
  }
  .olip-testo-colonne p:first-child {
    break-after: auto;
  }
}

.olip-testo-dx {
  overflow: hidden; 
}

@media (max-width: 731px) {
  .olip-testo-dx {
    overflow: visible;
  }
}

@media (max-width: 731px) {
  .olip-img-container {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}


.olip-wrapper {
  width: 100%;
  overflow-x: auto;
}

.olip-table_container {
    width: 100%;
    max-width: 1090px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
    -moz-box-shadow: 0 0 14px rgba(0,0,0,.65);
    background-color: #fffff1;
    margin: 0 auto;
    margin-top: 3%;
    display: flow-root;
   
}


.olip-table {
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 731px) {
    
    .olip-premi-table {
    background-color: #cfd475 !important; 
    border: none !important;
  }


  .olip-table thead {
    display: none !important;
  }
  .olip-table, 
  .olip-table tbody, 
  .olip-table tr, 
  .olip-table td {
    display: block !important;
    width: 100% !important;
  }
  .olip-table tr {
    margin-bottom: 20px;
    border: 1px solid #003366;
  }
  .olip-table td {
    text-align: left !important;
    padding: 12px !important;
    border-bottom: 1px solid #eeeeee;
    position: relative;
  }
  .olip-table td:last-child {
    border-bottom: none;
  }
  .olip-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #003366;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 4px;
  }
}
.olip-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.olip-premi-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.olip-premi-table thead th {
  background-color: #003366;
  color: #ffffff;
  padding: 12px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  border: solid 1px #003366;
}

.olip-premi-table td {
  border: 1px solid #003366;
  padding: 10px;
  vertical-align: top;
  font-size: 13px;
  color: #003366;
}

@media screen and (max-width: 731px) {
  .olip-testo-colonne {
    column-count: 1;
  }
  
  .olip-testo-colonne p:first-child {
    break-after: auto;
  }

  .olip-tech-container {
    flex-direction: column;
  }

  .olip-premi-table thead {
    display: none !important;
  }

  .olip-premi-table, 
  .olip-premi-table tbody, 
  .olip-premi-table tr, 
  .olip-premi-table td {
    display: block !important;
    width: 100% !important;
  }

  .olip-premi-table tr {
    margin-bottom: 20px !important;
    border: 1px solid #003366 !important;
    background-color: #ffffff;
  }

  .olip-premi-table td {
    border: none !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 12px 15px !important;
    text-align: left !important;
    position: relative;
    display: block !important;
  }

  .olip-premi-table td:last-child {
    border-bottom: none !important;
  }

  .olip-premi-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #003366;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
    opacity: 0.8;
  }

  .olip-premi-table td img {
    max-width: 150px;
    margin: 10px 0;
    display: block;
  }
}
.olip-main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.olip-research-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.olip-img-col {
  flex: 0 0 250px;
}

.olip-img-col img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
}

.olip-text-col {
  flex: 1;
  background-color: #ffffff;
  padding: 25px;
  border: 1px solid #eaeaea;
}

.olip-text-col h3 {
  color: #000000;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.olip-text-col a {
  color: #0044cc;
  font-size: 13px;
  text-decoration: underline;
  display: block;
  margin-bottom: 8px;
  word-break: break-all;
}

.olip-meta {
  color: #000000;
  font-style: italic;
  font-size: 13px;
  margin-bottom: 15px;
}

.olip-abstract {
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .olip-research-block {
    flex-direction: column;
    gap: 15px;
  }
  
  .olip-img-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .olip-text-col {
    padding: 20px;
  }
}

.olip-img-news-wrapper {
  display: flex;
  align-items: flex-start;
}

.olip-news-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}


@media screen and (min-width: 730px) {
.olip-news-img {
  width: 100%;
  height: 300px !important; 
  object-fit: cover; 
  display: inline;
}
}


  
  @media screen and (max-width: 730px) {
  .olip-img-news-wrapper {
    flex-direction: column;
   /* gap: 25px;*/
  }

  
  
}

/** MODIFICHE TAMARA **/

