/*SEMM Style 2022*/
/*
0. Variables and fonts
1. Header
2. Sidebar
3. Footer
4. Content

*/
/*
0. Variables and fonts
*/
/***colors***/
/***body***/
/***titles***/
/***margin***/
/***
Fonts and text
***/
@font-face {
  font-family: 'Oswald-Regular';
  src: url("../fonts/Oswald/Oswald-Regular.ttf") format("truetype");
}

@font-face {
  font-family: 'Oswald';
  src: url("../fonts/Oswald/Oswald-Light.ttf") format("truetype");
}

@font-face {
  font-family: 'Oswald-Bold';
  src: url("../fonts/Oswald/Oswald-Bold.ttf") format("truetype");
}

@font-face {
  font-family: 'Lato-Regular';
  src: url("../fonts/Lato/Lato-Regular.ttf") format("truetype");
}

@font-face {
  font-family: 'Lato-Bold';
  src: url("../fonts/Lato/Lato-Bold.ttf") format("truetype");
}

.up {
  text-transform: uppercase;
}

.font-bold, b, strong {
  font-family: 'Lato-Bold';
}

/*function and mixin pxtorem*/
/***Media queries mixin***/
/*@use 'sass:math';
@function pxToRem($pxValue) {
    @return math.div($pxValue, 16px) * 1rem; 
}*/
.btn-primary {
  background: #072c59;
  border-color: #072c59;
  border-radius: 0;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  color: #555555;
}

h3, .h3 {
  font-size: 25px;
  font-family: 'Oswald-Regular';
  line-height: 28px;
}

h4, .h4 {
  font-size: 1.125rem;
}

h5, .h5 {
  font-size: 1rem;
  color: #072c59;
  font-family: 'Oswald-Regular';
}

a {
  color: #072c59;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.font_1, h1, .h1, .sidebar_first a, .block-banner-page .banner-page .banner-text {
  font-family: 'Oswald-Regular', sans-serif;
}

.font_2 {
  font-family: 'Oswald-Regular';
  font-size: 12px;
  line-height: 28px;
  text-transform: uppercase;
  color: #555555;
}

.font_3, body {
  font-family: 'Lato-Regular', sans-serif;
}

.box {
  background: #f2f2f2;
  padding: pxToRem(20px);
  padding: 20px;
}

@media (max-width: 767px) {
  .box {
    margin-bottom: 1rem;
  }
}

.titolo-main {
  font-family: 'Oswald-Regular', sans-serif;
  line-height: 1.2;
}

#page h1.title {
  background: #072c59;
  color: white;
  padding: 15px;
}

.titolo-main {
  font-size: 33px;
  font-size: 2.0625rem;
}

.main-category h4 {
  text-transform: uppercase;
}

body[class^="events"] #block-page-title-block h1.title {
  background: #9fc350;
  color: white;
  padding: 15px;
}

.title-section {
  padding: 30px 0;
}

.title-section h1.section-title {
  text-transform: uppercase;
  /*    font-size: $title-page;*/
  align-items: center;
  display: flex;
  justify-content: start;
  /*    width: 80%;*/
}

.title-section span.text {
  text-transform: uppercase;
  line-height: 2.8rem;
}

.title-section span.text .fa {
  vertical-align: middle;
}

@media (max-width: 767px) {
  .title-section span.text .fa {
    vertical-align: top;
  }
}

@media (max-width: 767px) {
  .title-section span.text .mobile {
    display: none;
  }
}

#latestnews h1, #education h1 {
  color: #072c59;
}

#latestnews h1:after, #education h1:after {
  width: 75%;
  height: 5px;
  background: #072c59;
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: 2rem;
}

.box-wrapper:hover {
  background: #8b97a8;
}

.box-wrapper:hover a, .box-wrapper:hover p, .box-wrapper:hover div {
  color: white;
}

.box-news .news-link {
  color: #323232;
}

.box-news .news-link .field-news {
  color: #323232;
}

.box-news .news-link h2 {
  color: #072c59;
}

.box-news:hover {
  background: #8b97a8;
}

.box-news:hover div, .box-news:hover .titolo-main, .box-news:hover p {
  color: white;
}

#seminars h1 {
  color: #da4747;
}

#seminars h1:after {
  width: inherit;
  height: 5px;
  background: #da4747;
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: 2rem;
}

#seminars a {
  color: #da4747;
}

.view-seminars-homepage h1, .view-seminars-homepage h1 a, .view-seminars-homepage .text-end, .view-seminars-homepage .titolo-main {
  color: #da4747;
}

.view-seminars-homepage .seminar-link {
  color: #323232;
  transition: all 0.4s ease;
}

.view-seminars-homepage .seminar-link:hover .box {
  background: #da4747;
  color: white;
}

.view-seminars-homepage .seminar-link:hover h1, .view-seminars-homepage .seminar-link:hover .text-end, .view-seminars-homepage .seminar-link:hover .titolo-main {
  color: white;
}

body.-seminars-seminars #block-mainnavigation-2 h2, .page-view-seminars #block-mainnavigation-2 h2 {
  background: #da4747;
  color: white;
  padding: 3px;
}

#event h1 {
  color: #9fc350;
}

#event h1:after {
  width: inherit;
  height: 5px;
  background: #9fc350;
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: 2rem;
}

#event a {
  color: #9fc350;
}

.view-home-events h1, .view-home-events h1 a, .view-home-events .text-end, .view-home-events .titolo-main {
  color: #9fc350;
}

.view-home-events .seminar-link {
  color: #323232;
  transition: all 0.4s ease;
}

.view-home-events .seminar-link:hover .box {
  background: #9fc350;
  color: white;
}

.view-home-events .seminar-link:hover h1, .view-home-events .seminar-link:hover .text-end, .view-home-events .seminar-link:hover .titolo-main {
  color: white;
}

.box-contact h1 {
  color: #9fc350;
  text-transform: uppercase;
}

.box-contact a {
  color: #9fc350;
}

#contact h1 {
  color: #9fc350;
  text-transform: uppercase;
  text-align: center;
}

#contact h1:after {
  width: 80%;
  height: 5px;
  background: #9fc350;
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin: 0 2rem;
}

#contact .title {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

#contact i {
  color: #9fc350;
  margin-top: 5px;
  display: none;
}

.view-home-education .view-header .container-fluid, .view-home-events .view-header .container-fluid {
  padding: 0 10px;
}

.view-seminars-homepage .view-header .container-fluid {
  padding: 0px;
}

/*
1. Header
*/
#CollapsingNavbar .navbar-form {
  width: 100%;
}

#CollapsingNavbar ul.nav, #CollapsingNavbar .block-menu {
  float: right;
}

header#header {
  background: rgba(255, 255, 255, 0.85);
  position: fixed;
  width: 100%;
  z-index: 9;
  top: 0;
  left: 0;
}

.user-logged-in header#header {
  margin-top: 35px;
}

#navbar-main a {
  color: #072c59;
}

@media (max-width: 767px) {
  #navbar-main a {
    padding: .5rem 0.8rem;
  }
  #navbar-main a img {
    width: 100px;
    height: auto;
  }
}

@media (max-width: 767px) {
  #navbar-main .navbar-collapse {
    background: white;
    padding-bottom: 0.5rem;
  }
  #navbar-main .navbar-collapse .menu--main {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  #navbar-main {
    padding-bottom: 0;
  }
}

#page #main {
  margin-top: 140px;
}

.path-frontpage #page #main {
  margin-top: 0;
}

#block-semm-main-menu {
  margin-right: 1rem;
  float: none !important;
}

#block-semm-main-menu .nav {
  border: 1px solid #072c59;
}

@media (max-width: 767px) {
  #block-semm-main-menu .nav {
    margin-top: 10px;
    width: 100%;
    float: none;
  }
}

#block-semm-main-menu .nav li {
  border-right: 1px solid #072c59;
}

#block-semm-main-menu .nav li:last-of-type {
  border-right: none;
}

@media (max-width: 767px) {
  #block-semm-main-menu .nav li {
    border-bottom: 1px solid #072c59;
  }
}

#block-semm-main-menu .nav li a {
  text-transform: uppercase;
  font-family: 'Oswald-Regular', sans-serif;
  padding: 0.5rem 1.8rem;
  line-height: 26px;
}

#block-semm-main-menu .nav li a:hover {
  background: #072c59;
  color: white;
}

#block-semm-main-menu .nav li a.nav-link--search {
  padding: 20px 10px 15px 10px;
  font: 0/0 a;
  display: block;
}

#block-semm-main-menu .nav li a.nav-link--search:before {
  content: "\f002";
  font-family: 'FontAwesome';
  color: #072c59;
  font-size: 1rem;
}

/* Link social */
a.nav-link-https--wwwfacebookcom-semmeu-, a.nav-link-https--twittercom-semm-it,
a.nav-link-https--wwwinstagramcom-semm-it-hlit {
  font: 0/0 a;
  color: transparent;
}

a.nav-link-https--wwwfacebookcom-semmeu-:before, a.nav-link-https--twittercom-semm-it:before,
a.nav-link-https--wwwinstagramcom-semm-it-hlit:before {
  font-family: 'FontAwesome';
  font-size: 1.125rem;
  color: #072c59;
  line-height: 18px;
}

a.nav-link-https--wwwfacebookcom-semmeu-:before {
  content: "\f09a";
}

a.nav-link-https--twittercom-semm-it:before {
  content: "\f099";
}

a.nav-link-https--wwwinstagramcom-semm-it-hlit:before {
  content: "\f16d";
}

/* home main banner image */
.view-banner-homepage img {
  width: 100%;
}

.region-featured-top {
  margin-bottom: -130px;
}

.view-banner-curriculum img {
  width: 100%;
}

/*
2. Sidebar
*/
.sidebar_first {
  background: #f2f2f2;
}

.sidebar_first a {
  color: #555555;
  text-transform: uppercase;
}

.sidebar_first a:hover, .sidebar_first a:active, .sidebar_first a:focus, .sidebar_first a.active {
  color: #072c59;
}

.sidebar_first .block {
  border: none;
}

.sidebar_first .block ul {
  display: block;
  list-style-type: none;
}

.sidebar_first .block-menu h2 {
  color: #072c59;
}

.sidebar_first .block-menu ul {
  padding-left: 1rem;
}

#block-education li a, #block-education ul li ul li a {
  color: #555555;
}

#block-education li a.is-active, #block-education ul li ul li a.is-active {
  color: #072c59;
}

.sidebar_second .block {
  border-color: #072c59;
}

/*
3. Footer
*/
.featured-bottom {
  background: #f7f7f7;
  padding-top: 30px;
  margin-top: 30px;
}

.featured-bottom ul {
  list-style-type: none;
}

.featured-bottom img {
  /*        max-width: 190px;*/
}

.site-footer__bottom {
  margin-top: 0;
}

.site-footer__bottom .region.row {
  margin-top: 0;
}

.site-footer {
  background: #ededed;
  padding: 10px 0 15px;
}

.site-footer .block {
  margin: 0;
}

.site-footer .block ul {
  margin-top: 1rem;
}

.site-footer .block ul li {
  margin: 0 5px 0 2px;
}

.site-footer .block ul li a:before {
  font-size: 1.5rem;
}

.site-footer .menu--footer a {
  font-size: 0.9rem;
  color: #072c59;
}

.site-footer .menu--footer a:hover {
  color: #0d6efd;
}

.site-footer p {
  color: #555555;
}

#block-loghifooter a {
  font-size: 14px;
}

#block-footerbottomdata p.text-end {
  margin-top: 0;
}

@media (min-width: 1200px) {
  #block-footerbottomdata p.text-end {
    margin-top: -38px;
  }
}

@media (max-width: 767px) {
  #block-footerbottomdata p.text-end {
    text-align: left !important;
  }
}

.sidebar ul li.menu-item--expanded ul li.nav-item {
  font-size: 0.9rem;
}

.sidebar ul li.menu-item--expanded ul li.nav-item a::before {
  content: '-';
  margin-right: 5px;
  font-size: 1.5rem;
  line-height: 1rem;
}

/*
4. Content
*/
table {
  font-size: 1rem;
}

/* Homepage */
#main-news-bg {
  background: #f2f2f2;
  margin-bottom: 20px;
}

#main-news-bg a.news-link {
  display: block;
  transition: all 0.4s ease;
  padding: 20px;
}

#main-news-bg a.news-link .text-news {
  color: #323232;
}

#main-news-bg a.news-link:hover {
  background: #8b97a8;
  color: #f2f2f2;
}

#main-news-bg a.news-link:hover .text-news {
  color: #f2f2f2;
}

#main-news-bg a.news-link:hover .main-category h4 {
  text-transform: uppercase;
}

.education h1, #education h1, .-education-phd-program-systems-medicine h1 {
  color: #072c59;
}

.education .link-hover, #education .link-hover, .-education-phd-program-systems-medicine .link-hover {
  color: #323232;
  transition: all 0.4s ease;
}

.education .link-hover .titolo-main, .education .link-hover .text-end, #education .link-hover .titolo-main, #education .link-hover .text-end, .-education-phd-program-systems-medicine .link-hover .titolo-main, .-education-phd-program-systems-medicine .link-hover .text-end {
  color: #072c59;
}

.education .link-hover:hover .box, #education .link-hover:hover .box, .-education-phd-program-systems-medicine .link-hover:hover .box {
  background: #072c59;
  color: white;
}

.education .link-hover:hover h1, .education .link-hover:hover .text-end, .education .link-hover:hover .titolo-main, .education .link-hover:hover .text-body, #education .link-hover:hover h1, #education .link-hover:hover .text-end, #education .link-hover:hover .titolo-main, #education .link-hover:hover .text-body, .-education-phd-program-systems-medicine .link-hover:hover h1, .-education-phd-program-systems-medicine .link-hover:hover .text-end, .-education-phd-program-systems-medicine .link-hover:hover .titolo-main, .-education-phd-program-systems-medicine .link-hover:hover .text-body {
  color: white !important;
}

.education .box, #education .box, .-education-phd-program-systems-medicine .box {
  position: relative;
}

.education .box .text-end, #education .box .text-end, .-education-phd-program-systems-medicine .box .text-end {
  /*            position: absolute;
                        bottom: 20px;
                        right: 20px;*/
}

.education .sidebar h2#block-education-menu, #education .sidebar h2#block-education-menu, .-education-phd-program-systems-medicine .sidebar h2#block-education-menu {
  background: #072c59;
  color: white;
}

/*
* standard page
*/
.node--type-standard-page .block-page-title-block h1.title {
  background: #072c59;
  color: white;
  padding: 15px;
}

/*
* node--type-seminar
*/
.node--type-seminar .block-page-title-block h1.title, .path-seminars .block-page-title-block h1.title {
  background: #da4747 !important;
  color: white;
  padding: 15px;
}

.node--type-seminar .field-seminar, .path-seminars .field-seminar {
  margin-top: -20px;
  padding-left: 15px;
}

.node--type-seminar .field-box, .path-seminars .field-box {
  background: #da4747;
  padding: 0.1rem 0;
  color: #f2f2f2;
}

.node--type-seminar .field-box a, .path-seminars .field-box a {
  color: #f2f2f2;
}

.field-calendar {
  color: white;
}

.field-calendar .addtocal-container button {
  color: black;
}

.field-calendar .addtocal-container .addtocal-link a {
  color: black;
}

.page-view-seminars.path-seminars #block-semm-page-title h1 {
  background: #da4747;
}

.view-seminars .node__title {
  font-family: 'Lato-Bold';
}

.view-seminars .node__title a {
  color: #072c59;
  transition: all 1.5s ease;
}

.view-seminars .node__title a:hover {
  color: #da4747;
}

.view-seminars .node--view-mode-teaser {
  border-bottom: 2px solid #072c59;
}

nav.semm-pager {
  display: flex !important;
}

nav.semm-pager .pagination {
  margin: 0 auto !important;
}

nav.semm-pager .pagination .page-item.active .page-link {
  background: #072c59;
  border-color: #072c59;
}

/*
* node--type-event
*/
.node--type-event .block-page-title-block h1.title, .path-events .block-page-title-block h1.title, .-events-events .block-page-title-block h1.title, body[class^="-events"] .block-page-title-block h1.title, body[class*="-events-"] .block-page-title-block h1.title {
  background: #9fc350 !important;
  color: white;
  padding: 15px;
}

.node--type-event h2#block-mainnavigation-menu, .path-events h2#block-mainnavigation-menu, .-events-events h2#block-mainnavigation-menu, body[class^="-events"] h2#block-mainnavigation-menu, body[class*="-events-"] h2#block-mainnavigation-menu {
  background: #9fc350;
  color: white;
  padding: 3px;
}

.path-education .block-page-title-block h1.title, body[class^="-education"] .block-page-title-block h1.title {
  background: #072c59;
  color: white;
  padding: 15px;
}

#block-education h2#block-education-menu, #block-views-block-news-block-2 h2 {
  background: #072c59;
  color: white;
  padding: 3px;
}

/* Courses */
.view-courses .course-title {
  background: #f2f2f2;
  padding: 20px;
  margin-top: 5px;
  font-family: 'Oswald-Regular';
}

.view-courses .course-title a {
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
}

.view-courses .course-title .time {
  font-size: 16px;
  color: black;
  font-weight: normal;
}

.view-courses .course-title .open {
  font-family: 'Lato-regular';
  font-size: 14px;
}

.view-courses .field--type-entity-reference {
  margin: 0 0 0.5em;
}

.view-courses.view-abstracts .abstract a {
  text-transform: none;
}

.view-courses .well {
  background: #f2f2f2;
  padding: 1rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.view-courses .course-info {
  color: black;
}

.view-courses .field--name-field-date-lesson, .view-courses .field--name-field-timetable, .view-courses .field--name-field-tbd-date-lesson {
  width: 20%;
  float: left;
  padding-right: 10px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .view-courses .field--name-field-date-lesson, .view-courses .field--name-field-timetable, .view-courses .field--name-field-tbd-date-lesson {
    width: 100%;
  }
}

.view-courses .field--name-field-lesson-argument .field__item {
  clear: both;
}

.view-courses .field--name-field-lesson-argument-1 .field__item p {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: black;
}

.view-courses .field--name-field-timetable-group {
  float: left;
  width: 78%;
  margin-bottom: 0;
  border-bottom: none;
  position: relative;
  border-left: 2px solid #072c59;
}

.view-courses .field--name-field-timetable-group .field__label {
  display: none;
}

.view-courses .field--name-field-timetable-group .paragraph {
  padding-left: 1rem;
}

.view-courses .field--name-field-timetable-group .paragraph:before {
  content: "\f111";
  font-family: 'FontAwesome';
  color: #072c59;
  top: -5px;
  position: absolute;
  left: -8px;
}

.view-courses .field--name-field-timetable-group .field--name-field-lesson-argument .field__label,
.view-courses .field--name-field-timetable-group .field--name-field-external-teacher .field__label {
  display: none;
}

.view-courses .field--name-field-timetable-group .field--name-field-teachers p, .view-courses .field--name-field-timetable-group field--name-field-affiliations p {
  margin-bottom: 0.2rem;
}

.view-courses .field--name-field-timetable-group .field--name-field-teachers {
  margin-top: 0.01rem;
}

.view-courses .field--name-field-timetable-group .field--name-field-lesson-location {
  display: flex;
  width: 100%;
}

.view-courses .field--name-field-timetable-group .field--name-field-lesson-location .field__label {
  display: block;
}

.view-courses .field--name-field-timetable-group .field--name-field-lesson-location .field__label:after {
  content: ':';
}

.view-courses .paragraph--type--timetable-group .field--name-field-timetable {
  width: 100%;
}

.view-courses .paragraph--type--timetable-group .field--name-field-lesson-argument .field__item {
  margin-left: 10px;
}

.view-courses .paragraph--type--timetable-group .field--name-field-teachers, .view-courses .paragraph--type--timetable-group .field--name-field-affiliations {
  display: inline-block;
  margin-right: 5px;
}

.view-courses .paragraph--type--timetable-group .field--name-field-affiliations p {
  margin-bottom: 0.2rem;
}

.list-accordion .views-exposed-form {
  display: flex;
}

.list-accordion .views-exposed-form .js-form-item {
  width: auto;
}

.list-accordion .views-exposed-form select {
  border-radius: 0;
}

.list-accordion .views-exposed-form .form-actions {
  width: auto;
}

.list-accordion .views-exposed-form .form-actions button {
  margin-top: 1.5rem;
}

/*News nodo*/
.wrapper-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.wrapper-box .field-box {
  display: inherit;
  padding: 0.5rem 1rem;
  background: #072c59;
  color: white;
  margin-right: 1rem;
}

.wrapper-box .field-box a {
  color: white;
}

.wrapper-box .field-box a:hover {
  color: lightgrey;
}

.wrapper-box .field-box .fa {
  line-height: 1.5rem;
  margin-right: 5px;
}

.news-side .views-field-body {
  border-bottom: 1px solid #d6d6d6;
}

/*News list*/
.view-news .news-item {
  border-radius: 0;
}

.view-news .news-item .field-box {
  background: #072c59;
  color: white;
  text-align: center;
}

/*Banner pages*/
@media (max-width: 767px) {
  .block-banner-page {
    margin-top: 100px;
  }
}

.block-banner-page .banner-page {
  position: relative;
}

.block-banner-page .banner-page .banner-text {
  position: absolute;
  bottom: 10%;
  left: 30px;
  text-shadow: 2.5px 4.3px 5px rgba(0, 0, 0, 0.4);
}

.block-banner-page .banner-page .banner-text .subtitle {
  color: white;
  font-size: 28px;
}

@media (max-width: 767px) {
  .block-banner-page .banner-page .banner-text .subtitle {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .block-banner-page .banner-page .banner-text {
    left: 15px;
  }
}

.title-big {
  font-size: 54px;
  color: white;
}

.title-big::after {
  content: "";
  display: block;
  height: 4px;
  width: 85px;
  margin-top: 10px;
  background: #fff;
  margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
  .title-big {
    font-size: 25px;
  }
}

/*view education research*/
.list-table thead tr {
  background: #072c59;
}

@media (min-width: 900px) {
  #block-mailinglistfooter {
    margin-left: 30%;
  }
}

@media (max-width: 767px) {
  #block-loghifooterenti .col-6 {
    margin-bottom: 1rem;
  }
  .text-read {
    text-align: right;
  }
  .field-box {
    display: inline-block;
  }
  .titolo-main {
    height: auto !important;
  }
  .field-seminar .field-box {
    display: block;
    margin-bottom: 0.5rem;
  }
  .field-seminar .col-sm-1.text-center.ps-0.pe-0 {
    padding-right: 12px !important;
  }
  .addtocal-container {
    position: relative;
    float: none;
    margin: -5px 0 35px 0;
    display: block;
    margin-bottom: 35px;
    text-align: center;
  }
}
