/* 
	Theme Name: CSEF2020
	Description: Tema con Foundation6 XY-GRID + less
	Author: Websushi.it
	Version: 2.0
	Date: Luglio 2020
*/
@import url('css/foundation.css');
/* regole generali =========================================*/
/* Apply styles  ========================================= */
body {
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  font-family: 'Spartan', sans-serif;
  text-align: left;
  background: #0b2966;
  color: #fff;
}
/*link*/
a,
a:visited {
  color: #004ba1;
  text-decoration: none;
}
a:hover {
  color: #004ba1;
  text-decoration: underline;
}
/* align */
.alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}
.alignright {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}
/* struttura  */
.grid-container.page {
  max-width: 90rem;
  background: url('images/oval_footer.svg') right bottom no-repeat;
  background-size: 30%;
}
#header {
  padding: 1em 0;
}
#wrapper {
  padding: 2em 0;
  /*background:@white; color:@darkblue; */
}
#wrapper #mainCol {
  background: #fff;
  color: #0b2966;
  padding: 50px;
}
#wrapper .whitebox {
  background: #fff;
  color: #0b2966;
  padding: 50px;
}
#footer {
  padding: 120px 0 40px;
}
/* style */
h1,
h2,
h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  font-family: 'Spartan', sans-serif;
  color: #ff762d;
  font-weight: 800;
}
h4,
h5,
h6 {
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  font-family: 'Spartan', sans-serif;
  color: #0b2966;
  font-weight: 800;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 25px;
}
h4 {
  font-size: 16px;
}
p {
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  font-family: 'Spartan', sans-serif;
}
/* common elements */
.page-title {
  font-size: 45px;
  font-weight: 300;
  color: white;
  margin-bottom: 40px;
}
.section-title {
  font-size: 25px;
  color: #ff762d;
  text-transform: uppercase;
}
.view-all a {
  color: #fff;
  font-size: 16px;
}
.back-to-all {
  position: relative;
  top: 15px;
  right: 10px;
}
.back-to-all a {
  color: #ff762d;
}
.single-post .back-to-all a {
  color: #009933;
}
.top-scroll a {
  background: #004ba1;
  padding: 5px 10px;
}
.top-scroll a:hover {
  text-decoration: none;
  background: #0b2966;
}
.button {
  background: none;
  color: #004ba1;
  border: 1px solid #004ba1;
  text-transform: uppercase;
}
.button:hover,
.button:focus {
  background: #004ba1;
  color: #fff;
}
/************************************************
*	Header  									*
************************************************/
#testata .testata-foto {
  height: 160px;
  background-position: top center;
  background-size: cover;
}
.circle-left {
  background: url('images/Oval_sx_blue.svg') no-repeat;
  width: 123px;
  height: 330px;
  position: absolute;
  top: 510px;
  background-size: 100%;
  z-index: -1;
  opacity: .6;
}
/* personalizzazioni */
body.tax-research_tax .circle-left {
  background-image: url('images/Oval_sx_orange.svg');
}
body.page-template-tmp_events-seminar .circle-left,
body.page-template-tmp_events-conference .circle-left {
  background-image: url('images/Oval_sx_gold.svg');
}
body.category .circle-left,
body.single-post .circle-left {
  background-image: url('images/Oval_sx_green.svg');
}
#header {
  position: relative;
  margin-bottom: 40px;
  /*.loghi-uni { position:absolute; top:20px; right:0;
			.logo-uni-item {width:100px; height:100px; display:inline-block; }
		}*/
}
#header .logo-wrap {
  padding: 1em 0;
}
#header .logo-wrap .logo img {
  max-width: 250px;
  height: auto;
}
#header .menubar {
  padding-top: 45px;
  position: relative;
  text-align: right;
}
#header .menubar #menu-icon {
  position: relative;
}
/* il menù */
.menubar ul {
  display: block;
}
.menubar ul li {
  display: inline-block;
  position: relative;
  padding: 10px;
}
.menubar ul li a {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 0;
  padding-bottom: 6px;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 3px solid #0b2966;
}
.menubar ul li a:hover {
  text-decoration: none;
  border-bottom: 3px solid #fff;
}
/* menu active */
.menubar ul li.current-menu-item a,
.menubar ul li.current-page-ancestor a,
.menubar ul li.current_page_item a {
  border-bottom: 3px solid #ff762d;
}
.single-people .menubar ul li.m-people a {
  border-bottom: 3px solid #ff762d;
}
.tax-research_tax .menubar ul li.m-research a,
.page-template-tmp_project-grants ul li.m-research a {
  border-bottom: 3px solid #ff762d;
}
.single-event .menubar ul li.m-conference a {
  border-bottom: 3px solid #ff762d;
}
.archive.category .menubar ul li.m-media a,
.archive.date .menubar ul li.m-media a {
  border-bottom: 3px solid #009933;
}
.single-post .menubar ul li.m-media a {
  border-bottom: 3px solid #009933;
}
/************************************************
*	Homepage  									*
************************************************/
#hp-about .entry {
  padding-right: 80px;
}
#hp-about p {
  font-size: 20px;
  font-weight: 400;
  line-height: 160%;
  font-family: 'Spartan', sans-serif;
}
#hp-about a {
  color: #fff;
  font-size: 16px;
}
#hp-about .feat-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  min-height: 280px;
  transition: all .5s;
}
#hp-about .feat-image:hover {
  transform: scale(1.1);
  background-color: #0b2966;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: luminosity;
}
ul.glide__slides {
  margin: 0;
}
.glide__bullets {
  bottom: -15px !important;
}
#hp-news {
  margin-top: 80px;
}
#hp-news .news-hp-item {
  padding-right: 80px;
  position: relative;
  top: 0;
  transition: all .3s;
}
#hp-news .news-hp-item:hover {
  top: -10px;
  opacity: .7;
}
#hp-news .news-hp-item a {
  color: #fff;
  text-decoration: none;
}
#hp-news .news-hp-item p.meta-date {
  margin: 15px 0;
}
#hp-news .news-hp-item h4 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 15px;
  line-height: 120%;
}
#hp-news .news-hp-item p {
  font-size: 16px;
  font-weight: 200;
}
#hp-forthcoming {
  margin-top: 120px;
  /* comune */
}
#hp-forthcoming .hp-for-box {
  background: #fff;
  color: #555;
  padding: 40px 90px;
  margin-bottom: 55px;
  position: relative;
  top: 0;
  transition: all .3s;
}
#hp-forthcoming .hp-for-box .oval {
  width: 130px;
  height: 130px;
  position: absolute;
  top: -65px;
  background-size: 100%;
}
#hp-forthcoming .hp-for-box h3.section-title {
  font-size: 28px;
  line-height: 120%;
  color: #004ba1;
  text-transform: uppercase;
  margin-bottom: 40px;
  margin-top: 30px;
}
#hp-forthcoming .hp-for-box p.meta-date {
  margin: 0;
}
#hp-forthcoming .hp-for-box p.view-all {
  margin-top: 30px;
}
#hp-forthcoming .hp-for-box p.view-all a {
  color: #004ba1;
  text-transform: uppercase;
}
#hp-forthcoming .hp-for-box.top-box h3.section-title {
  margin-top: 70px;
}
#hp-forthcoming .hp-for-box:hover {
  top: -15px;
}
#hp-forthcoming .hp-for-left {
  padding-right: 15px;
}
#hp-forthcoming .hp-for-left .hp-for-box {
  padding-left: 17%;
}
#hp-forthcoming .hp-for-left .hp-seminar-item,
#hp-forthcoming .hp-for-left .hp-conference-item,
#hp-forthcoming .hp-for-left .hp-working-item {
  margin-bottom: 20px;
  margin-top: 15px;
}
#hp-forthcoming .hp-for-left h4 {
  color: #004ba1;
}
#hp-forthcoming .hp-for-left h4 span.where {
  font-weight: 400;
}
#hp-forthcoming .hp-for-left p {
  margin: 0;
}
#hp-forthcoming .hp-for-left .oval {
  background: url('images/Oval_blue.svg');
}
#hp-forthcoming .hp-for-left .hp-for-box.sx-2 h4 {
  color: #ff762d;
}
#hp-forthcoming .hp-for-right {
  padding-left: 15px;
  margin-top: 100px;
}
#hp-forthcoming .hp-for-right .hp-for-box {
  padding-right: 17%;
}
#hp-forthcoming .hp-for-right .hp-forthcoming-item,
#hp-forthcoming .hp-for-right .hp-article-item {
  margin-top: 15px;
  margin-bottom: 20px;
}
#hp-forthcoming .hp-for-right h4 {
  color: #ff762d;
}
#hp-forthcoming .hp-for-right .meta-date {
  font-size: 16px;
}
#hp-forthcoming .hp-for-right .oval {
  background: url('images/Oval_orange.svg');
}
#hp-wp-media-info {
  margin-top: 100px;
}
#hp-wp-media-info .hp-wp-media .hp-working-item h4 {
  color: #fff;
}
#hp-wp-media-info .hp-contacts p {
  margin: 60px 60px 0 140px;
}
#hp-wp-media-info .hp-contacts a {
  color: #fff;
}
/************************************************
*	about										*
************************************************/
#gallery-1 img {
  border: 0 !important;
  transition: all .5s;
}
#gallery-1 img:hover {
  opacity: .8;
  transform: scale(1.05);
}
/************************************************
*	people 										*
************************************************/
.people_list_cs .card-wrap,
.people_list_res .card-wrap {
  background: #fff;
  margin-bottom: 50px;
  margin-top: 20px;
}
.people_list_cs .card,
.people_list_res .card {
  border: 0;
  background: #fff;
  padding: 10px 10px 10px;
}
.people_list_cs .card-thumb,
.people_list_res .card-thumb {
  width: 100%;
  padding-top: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
.people_list_cs .card-section,
.people_list_res .card-section {
  padding: 15px 5px;
}
.people_list_cs .card-section h4,
.people_list_res .card-section h4 {
  font-size: 19px;
  color: #004ba1;
  word-break: break-word;
}
.people_list_cs .card-section p,
.people_list_res .card-section p {
  margin: 0;
  padding: 0;
  font-size: 18px;
}
.single-people-info p.pe-bio {
  margin: 50px 100px 30px 0;
}
.single-people-info .work-box {
  border-top: 20px solid #0b2966;
}
.single-people-info .work-box li {
  margin-top: 15px;
}
.single-people-info .work-box h3 {
  color: #004ba1;
  margin-top: 40px;
}
/************************************************
*	research 									*
************************************************/
.research-nav #menu-research-menu {
  border-top: 2px solid #014be2;
}
.research-nav #menu-research-menu li {
  display: block;
  width: 100%;
}
.research-nav #menu-research-menu li a {
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid #014be2;
  text-decoration: none;
  padding: 20px 10px 15px 5px;
}
.research-nav #menu-research-menu li.current-menu-item a,
.research-nav #menu-research-menu li.current-research_tax-ancestor a {
  color: #ff762d;
  font-weight: 800;
}
.research-list h2.section-title {
  margin-bottom: 30px;
}
.research-list h2.section-title .r-year {
  color: #004ba1;
}
.research-list .filter-years {
  margin-right: 40px;
}
.research-list .res-items-wrap {
  margin-bottom: 3em;
}
.research-list .res_item {
  padding-right: 50px;
  margin-bottom: 40px;
}
.research-list .res_item h5 {
  color: #004ba1;
  font-size: 18px;
}
.research-list .res_item h1 {
  font-size: 24px;
  line-height: 120%;
}
.research-list .res_item p {
  color: #555;
  font-size: 14px;
}
/************************************************
*	seminars 									*
************************************************/
.seminars-list h2.section-title {
  margin-bottom: 30px;
}
.seminars-list .sem_item {
  padding-right: 50px;
  margin-bottom: 50px;
}
.seminars-list .sem_item .item-sem-date {
  color: #555;
  font-size: 16px;
  margin-bottom: 5px;
}
.seminars-list .sem_item .item-sem-type {
  font-size: 16px;
  font-weight: 800;
}
.seminars-list .sem_item h3 {
  font-size: 21px;
}
.seminars-list .sem_item h5 {
  font-size: 18px;
  color: #004ba1;
}
.seminars-list .sem_item .item-sem-info p {
  font-size: 18px;
}
.seminars-list .sem_item.type-L .item-sem-type {
  color: #555;
}
.seminars-list .sem_item.type-C .item-sem-type {
  color: #555;
}
.vertical.tabs {
  border-top: 2px solid #014be2;
  padding: 0;
}
.tabs-content.vertical {
  border: 0;
}
.tabs {
  border: 0;
  background: none;
}
.tabs-title > a {
  font-size: 19px;
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid #014be2;
  text-decoration: none;
  padding: 20px 10px 15px 5px;
}
.tabs-title > a:hover {
  background: none;
  color: inherit;
}
.tabs-title > a:focus,
.tabs-title > a[aria-selected="true"] {
  background: none;
  color: #ff762d;
  font-weight: 800;
}
.tabs-panel {
  padding: 0;
}
/************************************************
*	conference 									*
************************************************/
.conference-list h2.section-title {
  margin-bottom: 30px;
}
.conference-list .conf_item {
  padding-right: 160px;
  margin-bottom: 50px;
  position: relative;
}
.conference-list .conf_item .item-conf-date {
  color: #555;
  font-size: 16px;
  margin-bottom: 5px;
}
.conference-list .conf_item h5 {
  font-size: 18px;
  color: #004ba1;
}
.conference-list .conf_item .button.readmore {
  position: absolute;
  top: 30px;
  right: 0;
}
.single-conf .box-info {
  background: #014be2;
  padding: 30px;
}
.single-conf h3 {
  color: #fff;
  margin-bottom: 25px;
}
.single-conf h5 {
  color: #fff;
}
.single-conf h1 {
  margin-bottom: 30px;
}
#old-archive h3 {
  margin-bottom: 20px;
}
#old-archive strong {
  color: #ff762d;
}
#old-archive span {
  color: #555;
  font-size: 16px;
}
#old-archive em {
  color: #004ba1;
  font-style: normal;
}
/************************************************
*	Media 									*
************************************************/
#menu-media-menu {
  border-top: 2px solid #014be2;
}
#menu-media-menu li {
  display: block;
  width: 100%;
}
#menu-media-menu li a {
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid #014be2;
  text-decoration: none;
  padding: 20px 10px 15px 5px;
}
#menu-media-menu li.current-menu-item a,
#menu-media-menu li.current-post-parent a {
  color: #009933;
  font-weight: 800;
}
.post-list h2.section-title {
  margin-bottom: 30px;
  color: #009933;
}
.post-list h1 {
  font-size: 24px;
}
.post-list .article {
  margin-bottom: 40px;
}
.post-list .article .post-meta {
  font-size: 13px;
  padding: 5px 0;
}
.post-list .article .post-meta .post-date {
  color: #555;
  text-transform: uppercase;
}
.post-list .article .post-meta .post-cat a {
  color: #009933;
}
.post-single h1 {
  font-size: 28px;
  color: #004ba1;
  margin-top: 15px;
}
.post-single .article {
  margin-bottom: 40px;
}
.post-single .article .post-meta {
  font-size: 13px;
  padding: 5px 0;
}
.post-single .article .post-meta .post-date {
  color: #555;
  text-transform: uppercase;
}
.post-single .article .entry {
  margin-top: 30px;
}
.archive-years-menu {
  margin-top: 80px;
}
.archive-years-menu h3 {
  color: white;
  font-weight: normal;
  font-size: 22px;
}
.archive-years-menu a[aria-current] {
  color: #009933 !important;
}
.archive-years-menu #menu-media-menu,
.archive-years-menu #menu-media-menu li a {
  border-color: #004ba1;
  font-weight: normal;
}
/* paginazione standard */
.navigation {
  position: relative;
  margin: 1em 0 2em;
  width: 100%;
  border-top: 2px solid #004ba1;
}
.navigation a {
  position: absolute;
  top: 0;
  color: #004ba1;
  text-transform: uppercase;
}
.navigation .prev a {
  left: 0;
  top: 10px;
}
.navigation .next a {
  right: 0;
  top: 10px;
}
/* paginazione pagenavi */
.wp-pagenavi {
  border-top: 2px solid #004ba1;
  padding-top: 12px;
  color: #555;
}
.wp-pagenavi a,
.wp-pagenavi span {
  border: 0 !important;
}
.wp-pagenavi .pages {
  margin-right: 10px;
}
.wp-pagenavi .current {
  color: #ff762d;
}
/* attachment */
.attachment {
  text-align: center;
}
.attachment h1 {
  text-align: left;
}
/************************************************
*	Sidebar      								*
************************************************/
/* widget */
.box {
  margin-bottom: 2em;
  padding: 1em;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  font-family: 'Spartan', sans-serif;
}
/************************************************
*	Footer      								*
************************************************/
#footer .address {
  margin-bottom: 40px;
}
#footer p.copy {
  font-size: 16px;
}
#footer a {
  color: #fff;
}
/** Hamburger menu mobile */
.hamburger {
  position: absolute;
  top: 30px;
  right: 20px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: #fff;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
/** Spin */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* == media queries ================================================== */
/* Small only */
@media screen and (max-width: 39.9375em) {
  #testata .testata-foto {
    height: 70px;
  }
  #header .logo-wrap .logo img {
    max-width: 150px;
  }
  #header {
    margin-bottom: 0;
  }
  #header .menubar {
    padding-top: 0px;
  }
  .menubar {
    margin-top: 0;
    display: none;
  }
  .menubar li {
    display: block;
  }
  #wrapper {
    padding: 1em 0;
  }
  #wrapper #mainCol {
    position: relative;
    padding: 50px 20px;
  }
  #wrapper .whitebox {
    padding: 15px 10px;
  }
  .page-title {
    font-size: 32px;
    margin-bottom: 25px;
  }
  .section-title {
    font-size: 20px;
  }
  .back-to-all-wrap .float-left {
    width: 300px;
  }
  .back-to-all-wrap .back-to-all {
    top: -10px;
    text-transform: uppercase;
  }
  .back-to-all-wrap .back-to-all span {
    display: none;
  }
  .menu-drop-mobile.button {
    border-color: #fff;
    color: #fff;
  }
  /* hp */
  #hp-about .entry {
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 0;
  }
  #hp-news .news-hp-item {
    padding-right: 20px;
  }
  #hp-news .news-hp-item h4 {
    font-size: 24px;
  }
  #hp-forthcoming .hp-for-left {
    padding-right: 0;
  }
  #hp-forthcoming .hp-for-right {
    padding-left: 0;
  }
  #hp-forthcoming .hp-for-box {
    padding: 40px;
    margin-bottom: 25px;
  }
  #hp-forthcoming .hp-for-left .hp-for-box {
    padding-left: 30px;
  }
  #hp-forthcoming .hp-seminar-item {
    margin-bottom: 30px;
  }
  #hp-forthcoming .hp-seminar-item p {
    font-size: 15px;
  }
  /* people */
  .people_list_cs .card-wrap,
  .people_list_res .card-wrap {
    margin-bottom: 20px;
  }
  .single-people-info h2 {
    font-size: 20px;
  }
  .single-people-info p.pe-bio {
    margin: 20px 0;
  }
  /* reasearch */
  #menu-research-menu {
    display: none;
  }
  .research-list .filter-years {
    margin-right: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }
  .is-dropdown-submenu {
    min-width: 150px;
  }
  .research-list .res_item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }
  .research-list .res_item h1 {
    font-size: 20px;
  }
  /* seminars */
  #seminars-tabs {
    display: none;
  }
  /* conference */
  #conferences-tabs {
    display: none;
  }
  .conference-list .conf_item {
    padding-right: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
  }
  .conference-list .conf_item .button.readmore {
    position: relative;
    top: auto;
    right: auto;
  }
  .single-conf h1 {
    font-size: 24px;
  }
  /* media */
  .archive-years-menu {
    display: none;
  }
  .single-post .back-to-all {
    display: none;
  }
  /* others */
  .wp-pagenavi .pages {
    display: block;
  }
  /* paginazione */
  #footer {
    padding-top: 60px;
  }
  #footer .address {
    margin-bottom: 20px;
  }
  #footer p {
    font-size: 16px;
  }
  #footer p.copy {
    font-size: 14px;
  }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  #header .menubar {
    padding-top: 15px;
  }
}
/* Large and up */
/* DEBUG ************  
@media screen and (max-width: 39.9375em) {#header .logo-wrap  {background:pink;} }
@media screen and (min-width: 40em) and (max-width: 63.9375em) {#header .logo-wrap  {background:green;}}
@media screen and (min-width: 64em)  {}
*/
/* 
.container {border:1px dotted #fff;}
.grid-x {border:1px dotted #ccc;}
.cell {border:1px dotted pink;}
*/
