/******************************************************************
Site Name: Rufa
Author: Tommaso Biondo

Stylesheet: Main Stylesheet

******************************************************************/

@import url('https://fonts.googleapis.com/css?family=Cousine:400,400i,700,700i|Volkhov:400,700&display=swap');
@import url('bootstrap.min.css');
@import url('font-awesome.min.css');
@import url('font.css');
@import url('rufa.css');

/*********************
GENERAL STYLES
*********************/
/*

    font-family: 'Flama', sans-serif;
    font-family: 'Vollkorn', serif;
    font-family: 'Cousine', monospace;

*/

::-webkit-scrollbar {
  background: transparent;  /* optional: just make scrollbar invisible */
}



body {
  font-family: "Flama", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.4;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  margin:0;
  padding:0;
  position: relative;}

.wrapper{
  width:100%;
  margin:0 auto;
  max-width: 1680px;
  padding:0 120px;
}

*{
  outline: none;
}

hr{
  border-color:#000;
}

/*********************
LINK STYLES
*********************/
a, a:visited {
  color: #000;
  /* on hover */
  /* on click */
  /* mobile tap color */ }
  a:hover, a:focus, a:visited:hover, a:visited:focus {
    color:#000; }
  a:link, a:visited:link {
    /*
    this highlights links on iPhones/iPads.
    so it basically works like the :hover selector
    for mobile devices.
    */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3); }

/******************************************************************
H1, H2, H3, H4, H5 STYLES
******************************************************************/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  text-rendering: optimizelegibility;
  font-weight: 500;
  /*
  if you're going to use webfonts, be sure to check your weights
  http://css-tricks.com/watch-your-font-weight/
  */
  /* removing text decoration from all headline links */ }
  h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a {
    text-decoration: none;
  }

h1, .h1 {
  font-size: 5em;
  line-height: 1.2em;
}

h2, .h2 {
  font-size: 4em;
  line-height: 1.4em;
  margin-bottom: 0.375em;
}

h3, .h3 {
  font-size: 2.4em;
  font-weight: 700;
}

h4, .h4 {
  font-size: 2em;
  font-weight: 500;
}

h5, .h5 {
  font-size: 1.8em;
  line-height: 1.15em;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h6, .h6{
  font-size: 1.2em;
}

@media screen and (min-width: 1280px) and (max-width: 1599px) {
  h1, .h1{
    font-size: 4.6em;
  }
  h2, .h2{
    font-size: 3.6em;
  }
  h3, .h3 {
    font-size: 2.2em;
  }
}
@media screen and (min-width: 927px) and (max-width: 1279px) {
  h1, .h1{
    font-size: 4.2em;
  }
  h2, .h2{
    font-size: 3.2em;
  }
  h3, .h3 {
    font-size: 2.0em;
  }
}
@media screen and (max-width: 926px) {
  h1, .h1{
    font-size: 3.8em;
  }
  h2, .h2{
    font-size: 2.8em;
  }
  h3, .h3 {
    font-size: 2.0em;
  }
  h4, .h4 {
    font-size: 1.8em;
  }
}

/*********************
HEADER STYLES
*********************/
.header {
  padding-top:30px;
  margin-bottom: 40px;
 }

.header .navbar-header{
  position:relative;
  width: 100%;
}
.header .navbar{
  background: transparent !important;
  display: block;
  border:none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.header .navbar .container-fluid{
  padding:0;
}
#logo {
  position:fixed;
  margin:0 0 0 -120px;
  display: block;
  padding:0 5px 20px 5px;
  border-bottom: 5px solid #000;
  height:auto;
  z-index:50;
}
#logo i{
  display: block;
  height: 77px;
}
#logo i:before{
  color: #000;
  font-size: 4.25em;
  margin: 0;
  position: relative;
  text-align: left;
  width: 0.85em;
}

#rufa-logo{
  cursor: default;
  font-family: "Flama",sans-serif;
  font-size: 3em;
  height: 77px;
  line-height: 0.9em;
  position: relative;
  top: -2px;
  width: auto;
  font-weight:200;
}

#rufa-logo .rufa-paragraph{
  position:relative;
  white-space:nowrap;
  left:0
}
#rufa-logo .rufa-paragraph:first-child{
  font-weight: 500;
}

#rufa-logo .variant-0{
  font-weight:200
}#rufa-logo .variant-1{
   font-weight:300
 }
#rufa-logo .variant-2{
  font-weight:normal
}
#rufa-logo .variant-3{
  font-weight:500
}
#rufa-logo .variant-4{
  font-weight:600
}
#rufa-logo .variant-5{
  font-weight:bold
}
#rufa-logo .variant-6{
  font-weight:800
}
#rufa-logo .variant-7{
  font-weight:900
}



.header .navbar-center{
  display: block;
  position: relative;
  height: 100%;
  border-bottom: 5px solid #000;
  padding-bottom: 20px;
  z-index: 46;
}
.header .navbar-right-block{
  z-index:50;
}

.header .navbar-right-block button.cls:after{
  font-family: 'rufa';
  content: '\e800';
  display: block;
  position:absolute;
  font-size: 47px;
  top:0;
  color:#000;
  background: #fff;
  z-index: 51;
  line-height: 1em;
  padding:3px;
}
.header .navbar-right-block button.cls *{
  visibility: hidden;
  opacity: 0;
}
.header .search-toggle,
.header .navbar-toggle{
  display: block !important;
  position:fixed;
  margin:0;
  border:0;
  padding:5px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.header .navbar-toggle:hover,
.header .navbar-toggle:focus{
  background: transparent;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
  outline:none;
}
.header .navbar-toggle:focus i{
  outline:none;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
}

.header .navbar-toggle .icon-bar {
  background: #000;
  display: block;
  height: 5px;
  width: 50px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
.header .navbar-toggle .icon-bar + .icon-bar{
  margin-top:14px;
}

.header .search-toggle {
  background: transparent;
  font-size: 5em;
  margin-top: 70px;
}
.header .search-toggle i:before{
  line-height: 1em;
  margin-left: 0;
  margin-right: 0;
  display: block;
}
.header .navbar-right-block button.search-toggle.cls:after{
  top:3px;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
}
.header a.private-link {
  float: right;
  margin-right: 170px;
  font-size: 1.4em;font-weight: 500;
}
.header a.private-link i{
  margin-right: 3px;
}
.header #language-sidebar{
  position:absolute;
  right:0;
  top:0;
}
.header #language-sidebar ul{
  display: table;
  list-style: none;
  margin:0;padding:0;
}
.header #language-sidebar ul li{
  display: block;
  float:left;
}
.header #language-sidebar ul li a{
  color:#000;
  font-weight: 400;
  padding:8px 2px;
  margin:0 0 0 10px;
  background: #e6e6e6;
  font-size: 1.2em;
  line-height: 1em;
  display: block;
}

.header #language-sidebar ul li a.lang-zh{
  font-size: 0.9em;
  letter-spacing: -1px;
}
.header #language-sidebar ul li:hover a,
.header #language-sidebar ul li.active a{
  background: #000;
  color:#fff;
  text-decoration: none;
}
.header #language-sidebar ul li a span{
  display: inline-block;
  min-width: 24px;
  width: auto;
  text-align: center;
}

/*********************
NAVIGATION STYLES
*********************/
#main-menu,
#menu-menu-rufa{
  padding:0;
}
#main-menu{
  position: fixed;
  z-index:49;
  display: none !important;
  height: calc(100% - 35px) !important;
  width:calc(1680px - 240px);

}
#main-menu.collapsing {
  -webkit-transition: none;
  transition: none;
}
#main-menu.in{
  display: block !important;
}
#main-menu .container-main-menu{
  position:relative;
  width:100%;
  height: 94%;
  display: block;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}
body.ios #main-menu .container-main-menu{
  z-index:49;
  padding-right: 15px;
}
.bg-overlay{
  width:100%;
  height: 100%;
  background: #fff;
  display: block;
  position: fixed;
  top:0;
  left:0;
  z-index: 48;
}

#main-menu .navbar-center{
  display: block;
  height:102px;
  z-index: 49;
}
#main-menu .block-menu,
#main-menu #menu-menu-rufa,
#main-menu .block-search{
  display: none;
}

#main-menu.smenu .block-menu{
  display: block;
}
#main-menu.smenu #menu-menu-rufa{
  display: table;
}

.block-search{
  bottom: 20px;
  display: none;
  position: absolute;
  width: 100%;
}
.block-search input{
  font-family: 'Flama',sans-serif;
  border:0;
  font-size: 2.8em;
  width:100%;
  padding:0 100px 0 0;
  font-weight: 200;
  line-height: 1em;
  height: 1.2em;
}
.block-search button{
  border:0;
  margin:0;padding:0;
  position: absolute;
  bottom:0;
  right:0;
  font-family: 'Flama',sans-serif;
  font-size: 2em;
  background: transparent;
  font-weight: 500;
}


.nav {
  border-bottom: 0;
  margin: 0 -15px;
}
  .nav li {
}
    .nav li a {
     }
    .nav li ul.sub-menu li a,
    .nav li ul.children li a {
     }

#menu-menu-rufa{
  -webkit-overflow-scrolling: touch;
  height: auto;
  position: absolute;
  width:calc(100% + 30px);
  z-index: 49;

}
#menu-menu-rufa li{
  width: 20%;
  padding:15px;
}
#menu-menu-rufa li.small-padding a{
  padding-top:0;
}
#menu-menu-rufa li ul{
  margin: -20px 0 0 0;
  padding: 42px 0 50px 0;
  list-style: none;
}
#menu-menu-rufa li ul li{
  width: 100%;
  padding:0;

}
#menu-menu-rufa li ul li ul{
  padding: 62px 0 50px 20px;
}
#menu-menu-rufa li ul li a{
  padding:5px 0;
  font-size: 1.4em;
  text-transform: none;
  color:#000;
  font-weight: 300;
  margin:0;
  border: none;

}

#menu-menu-rufa li ul li.btn-menu a{
  color:#000;
  font-weight: 500;
  font-size: 1.6em;
  text-transform: uppercase;
  line-height: 1em;
  padding:10px 0 10px 2px;
  border-top:1px solid #000;
  width: 100%;
  display: block;


}
#menu-menu-rufa li.contact-menu a{
  padding-top:0;
}
#menu-menu-rufa li ul li.btn-menu.first{
  margin-top: 15px;
}
#menu-menu-rufa li ul li.btn-menu.last a{
  border-bottom:1px solid #000;
}
#menu-menu-rufa li ul li.btn-menu:hover a{
  color:#fff;
  background: #000;
  text-decoration: none;
}

header .search-again{
  font-size:11px;
  font-family: 'Cousine',monospace;
  font-weight: normal;
  text-transform: uppercase;
  position: absolute;
  margin-left: -30px;
  margin-top: 20px;
  width: 114px;
  transform: rotate(13deg) ;
  -webkit-transform: rotate(13deg) ;
  -moz-transform: rotate(13deg) ;
  -o-transform: rotate(13deg) ;
  -ms-transform: rotate(13deg) ;
  text-align: center;
}
header .search-again span{
  display: block;
}
header .search-again span.black{
  background: #000;
  color:#fff;
  text-decoration: underline;
  padding:5px 0px;
  font-size: 1.2em;
  line-height: 1em;
  font-weight: bold;
}
/*********************
        FOOTER
*********************/
.footer {
  clear: both;
  background-color: #000;
  color: #fff; margin:20px 0 0 0;
position: relative;
padding:10px 0 15px 0;}
.single-post .footer{
  margin-top: 0;
}
.footer .row{
  display: table;
  width: 100%;
}
.footer .row > *{
  display: table-cell;
  vertical-align: text-top;
  float: none;
}
.footer h3{
  font-weight: 500;
  font-size: 16px;
}
.footer p{
  font-size: 1.3em;
  line-height: 1.4em;
  font-weight: 300;
  margin-bottom: 0;
}
.footer a{
  color:#fff;
}
.footer a:hover{
  color:#fff;
  text-decoration: underline;
}
.footer h4{
  margin-bottom: 5px;
  font-size: 1.4em;
}
.footer a{
  font-size: 1.3em;
  font-weight: 400;
}
.footer .social a{
  font-size: 3em;
  letter-spacing: 4px;
}
.footer .social a:hover{
  text-decoration: none;
  color: #cccccc;
}
.footer .credits a:hover{
  text-decoration: underline;
  color: #fff;
}
.footer .credits .crediti{
  position: absolute;
  bottom: 0;
}
/*********************
      COOKIE BANNER
*********************/
.bannerStyle{
  background: #000;
  color:#fff;
  top:0;left:0;width: 100%;
  padding:10px;
  display: block;
  position: fixed;
  z-index:9999999999;
}
.contentStyle{
  width:100%;
  margin:0 auto;
  padding-right: 20px;
  max-width: 1440px;
  font-size: 1.3em;
  position: relative;
  display: block;
}
.contentStyle a.italybtn{
  color:#000;
  display: inline-block;
  margin:0 5px;
  text-decoration: none;
  padding:3px 8px;
  background: #fff;
}

/*********************
      HOMEPAGE
*********************/
#home-slider{
  padding-left: 6px;
}
#home-slider-new{
  margin-bottom: 33px;
}
#home-slider-new .bx-wrapper .bx-viewport{
  max-height: 400px;
}

.home-shortlinks > * a{
  display: block;
  background: #fff;
  font-weight: 500;
  text-transform: uppercase;
  padding:15px 5px;
  text-align: center;
  border-bottom: 1px solid #000;
  font-size: 1.8em;
}
.home-shortlinks > * a:hover{
  background: #000;
  color:#fff;
  text-decoration: none;
}

.home #didattica{
  margin-top: 60px;
  margin-bottom: 40px;
}
.home .didatticalinks{
  margin:0;
  padding:0;
  background: #f5f5f5;
  list-style: none;
}
.home .didatticalinks li{
  display:block;
  padding:0 15px;
}
.home .didatticalinks li a{
  display: block;
  background: transparent;
  border-top: 1px solid #000;
  font-size: 1.8em;
  font-weight: 500;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
}
.home .didatticalinks li:first-child a{
  border:0;
}
.home .didatticalinks li a:hover{
  color:#fff;
  background: #000;
  text-decoration: none;
}

.post-list.row > *:nth-child(3n+1),
.post-list .row > *:nth-child(3n+1){
  clear: both;
}
.post-list article{
  margin-bottom:30px;
}
#box-video-home h4,
.post-list article h4.category-name{
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Cousine', monospace;
  font-size: 1.4em;
  text-decoration: underline;
  line-height: 1em;
}

.post-list article.category-cinema-photography h4.category-name{color:#f01032;}
.post-list article.category-didactics h4.category-name{color:#000}
.post-list article.category-graphic-design h4.category-name{color:#007ac9;}
.post-list article.category-initiatives h4.category-name{color:#000}
.post-list article.category-pittura-scultura h4.category-name{color:#80379b;}
.post-list article.category-product-interior-design h4.category-name{color:#00b450}
.post-list article.category-scenography h4.category-name{color:#ff7800;}
.post-list article.category-fotografia h4.category-name{color:#f10032;}
.post-list article.category-film-arts h4.category-name{color:#f10032;}
.post-list article.category-computer-animation-and-visual-effects h4.category-name{color:#007ac9;}
.post-list article.category-visual-and-innovation-design h4.category-name{color:#007ac9;}
.post-list article.category-graphic-design-comics-and-illustration h4.category-name{color:#007ac9;}
.post-list article.category-design-for-humans h4.category-name{color:#00b450;}
.post-list article.category-multimedia-arts-and-design h4.category-name{color:#00b450;}
.post-list article.category-fine-arts h4.category-name{color:#80379b;}
.post-list article.category-scultura-e-installazione h4.category-name{color:#80379b;}
.post-list article.category-fashion-design-sostenibile h4.category-name{color:#00b450}

.post-list article .article-info{
  position:relative;
  z-index: 10;
}
.post-list article .box-image{
  position:absolute;
  z-index: 9;
  display: none;
}
.post-list article:hover .box-image{
  display: block;
}
.post-list article h3.entry-title{
  font-size: 4em;
  font-weight: bold;
  margin-bottom: 30px;
}
.post-list article h3:hover a{
  text-decoration: none;
}
.post-list article h3.entry-title.small{
  font-size: 2.5em;
}
.post-list article h3.entry-title.medium{
  font-size: 3.5em;
}
.post-list article h3.entry-title.large{
  font-size: 5em;
}
.post-list article h3.entry-title.flama{
  font-family: "Flama", Arial, sans-serif;
}
.post-list article h3.entry-title.cousine{
  font-family: 'Cousine', monospace;
}
.post-list article h3.entry-title.volkhov{
  font-family: 'Volkhov', serif;
}

.post-list article .entry-type,
.post-list article .entry-time{
  font-family: 'Cousine', monospace;
  display: block;
  margin:10px 0 5px 0;
  font-size: 1.3em;
}

.post-list article p{
  font-size: 1.6em;
  font-weight: 300;
  margin-bottom: 15px;
}

.excerpt-read-more{
  text-transform: uppercase;
  font-family: 'Cousine', monospace;
  text-decoration: underline;
  font-weight: normal;
  font-size: 0.9em;
}

.home-video{
  margin:30px 0 0;
}
#box-video-home{
  border-top: 5px solid #000;
}
#box-video-home h4{
  margin: 15px 0;
}
.home-video .widget_newsletterwidgetcappelli{
  background: #f5f5f5;
  padding:40px;
}

.home-video .widget_newsletterwidgetcappelli h3{
  margin:0 10px 0 0;
  font-size: 4em;
  text-transform: uppercase;
  font-weight: 600;
}
.home-video .widget_newsletterwidgetcappelli p{
  font-size: 2em;
  font-weight: 300;
  margin: 10px 0;
}

.home-video .widget_newsletterwidgetcappelli .form-control{
  border:0;
  background: transparent;
  border-bottom: 1px solid #000;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  padding:0 3px 0 0;
  font-weight: 300;
  font-family: 'Flama',sans-serif;
  font-size: 1.5em;
  line-height: 1em;
  height: 25px;
  margin-top: 5px;
}
.home-video .widget_newsletterwidgetcappelli label{
  font-family: 'Cousine',monospace;
  text-transform: uppercase;
  font-weight: 400;
  margin:5px 0 0 0;
  font-size: 1.2em;
}
.home-video .widget_newsletterwidgetcappelli .checkbox{
  position: unset;
}
.home-video .widget_newsletterwidgetcappelli .checkbox label{
  text-transform: none;
  font-size: 1em;
}
.home-video .widget_newsletterwidgetcappelli .checkbox input[type="checkbox"]{
  margin-top:-1px;
}
.home-video .widget_newsletterwidgetcappelli form button{
  border:1px solid #000;
  width:100%;
  display: block;
  text-align: center;
  text-transform: uppercase;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 500;
  font-family: 'Flama',sans-serif;
}
.home-video .widget_newsletterwidgetcappelli form button:hover{
  background: #000;
  color:#fff;
}

.widget_newsletterwidgetcappelli a.newsletter-informativa{
  text-decoration: underline;
}

.reddot-logo{
  margin-top:20px;
  max-width: 220px;
}
/*********************
POSTS & CONTENT STYLES
*********************/

#content {
  position: relative;
  z-index: 10;}

.article-image{
  margin-bottom:20px;
}

.single-title,
.entry-title,
.page-title{
  font-family: 'Volkhov','Flama',sans-serif;
  font-weight: bold;
}

.hentry h4.category-name{
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Cousine', monospace;
  font-size: 1.4em;
  text-decoration: underline;
  line-height: 1em;
}

.hentry .entry-type,
.hentry .entry-time{
  font-family: 'Cousine', monospace;
  display: block;
  margin:10px 0 5px 0;
  font-size: 1.3em;
}
.hentry .entry-type{
  margin-top:0;
}

.hentry.category-cinema-photography h4.category-name,
.hentry.category-cinema-photography .entry-content h3,
.hentry.category-cinema-photography .entry-title{
  color:#f01032;
}
.hentry.category-didactics .entry-title,
.hentry.category-didactics .entry-content h3,
.hentry.category-didactics h4.category-name{
  color:#000
}
.hentry.category-graphic-design .entry-title,
.hentry.category-graphic-design .entry-content h3,
.hentry.category-graphic-design h4.category-name{
  color:#007ac9;
}
.hentry.category-initiatives .entry-title,
.hentry.category-initiatives .entry-content h3,
.hentry.category-initiatives h4.category-name{
  color:#000
}
.hentry.category-pittura-scultura .entry-title,
.hentry.category-pittura-scultura .entry-content h3,
.hentry.category-pittura-scultura h4.category-name{
  color:#80379b;
}
.hentry.category-product-interior-design .entry-title,
.hentry.category-product-interior-design .entry-content h3,
.hentry.category-product-interior-design h4.category-name{
  color:#00b450
}
.hentry.category-scenography .entry-title,
.hentry.category-scenography .entry-content h3,
.hentry.category-scenography h4.category-name{
  color:#ff7800;
}
.hentry.category-fotografia .entry-title,
.hentry.category-fotografia .entry-content h3,
.hentry.category-fotografia h4.category-name{
  color:#f10032;
}
.hentry.category-film-arts .entry-title,
.hentry.category-film-arts .entry-content h3,
.hentry.category-film-arts h4.category-name{
  color:#f10032;
}
.hentry.category-computer-animation-and-visual-effects .entry-title,
.hentry.category-computer-animation-and-visual-effects .entry-content h3,
.hentry.category-computer-animation-and-visual-effects h4.category-name{
  color:#007ac9;
}
.hentry.category-visual-and-innovation-design .entry-title,
.hentry.category-visual-and-innovation-design .entry-content h3,
.hentry.category-visual-and-innovation-design h4.category-name{
  color:#007ac9;
}
.hentry.category-graphic-design-comics-and-illustration .entry-title,
.hentry.category-graphic-design-comics-and-illustration .entry-content h3,
.hentry.category-graphic-design-comics-and-illustration h4.category-name{
  color:#007ac9;
}
.hentry.category-design-for-humans .entry-title,
.hentry.category-design-for-humans .entry-content h3,
.hentry.category-design-for-humans h4.category-name{
  color:#00b450;
}
.hentry.category-multimedia-arts-and-design .entry-title,
.hentry.category-multimedia-arts-and-design .entry-content h3,
.hentry.category-multimedia-arts-and-design h4.category-name{
  color:#00b450;
}
.hentry.category-fine-arts .entry-title,
.hentry.category-fine-arts .entry-content h3,
.hentry.category-fine-arts h4.category-name{
  color:#80379b;
}
.hentry.category-scultura-e-installazione .entry-title,
.hentry.category-scultura-e-installazione .entry-content h3,
.hentry.category-scultura-e-installazione h4.category-name{
  color:#80379b;
}
.hentry.category-fashion-design-sostenibile .entry-title,
.hentry.category-fashion-design-sostenibile .entry-content h3,
.hentry.category-fashion-design-sostenibile h4.category-name{
  color:#00b450
}



  .page-content p ,
  .entry-content p {
    font-size: 1.6em;
    font-weight: 300;
    margin: 0 0 1.5em; }

/* end .entry-content */
.page-image{
  margin-bottom:20px;
}
main.page h2{
  font-family: 'Volkhov',serif;
  font-weight: 700;
}

.single-post #related-post{
  margin-top:40px;
  padding:20px 0;
  background: #f5f5f5;
}

.page-template-page_course{
  overflow-x: hidden;
}
.page-template-page_course #related-post,
.page-template-page_master #related-post{
  background: #f5f5f5;
  margin-bottom: -20px;
  margin-left: -120px;
  padding-left: 120px;
  margin-right: -120px;
  padding-right: 120px;
}
.page-id-141776 .related-news{
  display: inline-block;
  background: #f5f5f5;
  margin-bottom: -25px;
  margin-left: -232px;
  padding-left: 232px;
  margin-right: -120px;
  padding-right: 120px;
  padding-bottom: 20px;
}

.entry-content a,
.rte a{
  text-decoration: underline;
}
a.download-btn{
  display: inline-block;
  text-align: center;
  border-top:1px solid #000;
  border-bottom:1px solid #000;
  font-weight: 500;
  font-size: 1em;
  padding:15px 0;
  text-transform: uppercase;
  width: 48%;
  margin-right: 2%;
  text-decoration: none;
  margin-bottom: -1px;
}
a.download-btn:hover{
  background: #000;
  color: #fff;
  text-decoration: none;
}
a.download-btn.full{
  width: 100%;
}
a.download-link{
  position: relative;
  display:block;
  width: 100%;
  padding-left:2em;
  margin:2px 0;
}
a.download-link:before{
  display: block;
  position: absolute;
  left:0;
  content:'\e80a';
  font-family:'rufa';
  color:#000;
  text-decoration: none;
  font-size: 1.3em;
}

/* Sidebar follow social */
.sidebar .fp-soocial-widget{
  border-left: 1px solid #000;
  margin-left: 15px;
  margin-top: 20px;
  padding-left: 30px;
}

.sidebar .fp-soocial-widget > p{
  border-bottom: 2px solid #000;
  display: inline-block;
  font-family: "Cousine",sans-serif;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 0;
  text-transform: uppercase;
}
.sidebar .fp-soocial-widget a {
  display: block;
  font-family: "Cousine",sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  padding: 10px 3px;
}
.sidebar .fp-soocial-widget a i{
  font-size: 2.8em;
  margin-right: 15px;
  text-align: center;
  vertical-align: middle;
  width: 26px;
}
footer .fp-soocial-widget a span{
  display:none;
}
/******************************************************************
 COURSES PAGES
******************************************************************/

.course-item{
  border-bottom: 5px solid #000;
  margin-bottom: 30px;
  position: relative;
  padding-top: 60%;
}
.course-item h2{
  line-height: 1em;
  min-height: 3em;
  font-family: 'Flama',sans-serif;
  font-weight: 700;
  position: absolute;
  margin:0;
  top:20px;
  text-indent: -2px;
}
.course-item h2 a{
  text-decoration: none !important;
}
.course-item p{
  padding:10px 5px 0 10%;
  font-size: 1.6em;
  font-weight: 300;
  position: absolute;
  top:40%;
  display: none;
  overflow: hidden;
  max-height: 8em;
}

.course-item ul.short-course-small-list{
  padding-left: 10px;
  position: absolute;
  bottom:40px;
  font-size: 1.5em;
  line-height: 1.6em;
  font-family: 'Cousine', monospace;
  list-style: none;
  font-weight: bold;
}
.course-item ul.short-course-small-list li{
  position:relative
}
.course-item ul.short-course-small-list li:before{
  position:absolute;
  content:'';
  width:4px;
  height:4px;
  background: #000;
  display: block;
  left:-10px;
  top:50%;
  margin-top:-3px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.course-item .excerpt-read-more{
  position: absolute;
  bottom:15px;
  left:0;
  font-size: 1.6em;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Cousine',monospace;
}
.course-item .excerpt-read-more span.h{
  display: none;
}

.course-item.course-attachment h3{
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  text-align: center;
  top:0;
}
.course-item.course-attachment h3 a{
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  text-decoration: none !important;
  display: block;
  padding: 10px 0;
  width: 50%;
  margin: 15% auto;
}
.course-item:hover ul.short-course-small-list li a,
.course-item:hover h2 a,
.course-item:hover p{
  display: block;
  color:#fff;
}
.course-item:hover .excerpt-read-more span{
  display: none;
}
.course-item:hover .excerpt-read-more span.h{
  display: block;
  color:#fff;
}

/******************************************************************
 SINGLE COURSE PAGE
******************************************************************/
#course .course-image{
  margin-bottom:40px;
}

#course .page-content h3{
  font-weight: 600;
  margin:10px 0 0 0;
}


#course .partner-gallery{
  padding-top:30px;
}

#course .partner-gallery h3{
  margin:0 0 20px 0;
  text-transform: uppercase;
  font-family: 'Flama',sans-serif;
}


#course .partner-gallery .owl-theme .owl-nav [class*="owl-"] {
  color: #ddd;
  font-size: 60px;
  margin: 0 5px;
  padding: 0;
  background: transparent;
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  position: absolute;
  left: 0;
  top: calc(50% - 0.55em);
  line-height: 1em;
  vertical-align: middle;
  opacity: 0;
}
#course .partner-gallery .owl-theme .owl-nav .owl-next{
  right: 0;
  left:auto;
}

#course .partner-gallery .owl-theme .owl-nav [class*="owl-"]:hover{
  background: transparent;
  color:#000;
  opacity: 1;
}

#sidebar-course .sidebar-item{

  text-align: center;
  border-bottom: 2px solid #000;
}

#sidebar-course .sidebar-item:first-child{
  border-top: 2px solid #000;
}

#sidebar-course .sidebar-item a{
  display: block;
  padding:15px 0;
}
#sidebar-course .sidebar-item a:hover{
  background: #000;
  color:#fff;
  text-decoration: none;
}

#sidebar-course .sidebar-item a h3{
  font-size: 2em;
  line-height: 1.3em;
  margin:0;
  padding:0;
  text-transform: uppercase;
}
#sidebar-course .sidebar-item a p{
  font-family: 'Cousine',monospace;
  font-weight: 400;
  font-size: 1.4em;
  margin:5px 0 0 0;
}


#course .course-table h3{
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 2em;
}
#course .course-table h4{
  font-weight: 300;
  font-size: 1.6em;
  margin-top: 5px;
  margin-bottom: 20px;
}
#course-table{
  font-size: 1.5em;
  table-layout: fixed;
}
#course-table .col-year{
  width:20%;
}
#course-table .col-cfa,
#course-table .col-hours{
  width:12%;
  text-align: right;
}
#course-table thead{
  border-top:2px solid #000;
  border-bottom:2px solid #000;
  font-weight: 500;
}
#course-table tfoot{
  border-top:2px solid #000;
  font-weight: 500;
}
#course-table tfoot td{
  text-align: right;
}
#course-table tr{
  border:0;
}
#course-table tr.bordered{
  border-top:1px solid #000;
}
#course-table th,#course-table td{
  border:0;
  white-space: normal;
}
#course-table tbody td{
  padding:3px 8px;
}
#course-table td.group{
  font-weight: bold;
}
#course-table td.child{
  padding-left:25px;
}
/******************************************************************
  PAGE NAVI STYLES
******************************************************************/
#pagination{
  margin:20px 0 ;
  border-top:1px solid #000;
  font-family: 'Cousine',monospace;
  font-weight: 400;
  font-size: 1.2em;
}
#pagination > *{
  padding:15px 0;
}
#pagination a:hover{
  display: block;
  text-decoration: none;
}

/*********************
SIDEBARS & ASIDES
*********************/
.widget ul li {
  /* deep nesting */ }

.no-widgets {
  background-color: white;
  padding: 1.5em;
  text-align: center;
  border: 1px solid #cccccc;
  border-radius: 2px;
  margin-bottom: 1.5em; }

#sidebar-eventi  .container-tax{
  background: #f5f5f5;
  margin-bottom:40px;
  padding-bottom: 5px;
}
#sidebar-eventi  .container-tax h3.title-tax{
  display: block;
  border-bottom:2px solid #000;
  text-transform: uppercase;
  font-family: 'Flama',sans-serif;
  font-weight: 500;
  line-height: 1.4em;
  font-size: 1.4em;
  margin:0 15px;
  padding:10px 0 5px 0;
}
#sidebar-eventi  .container-tax ul{
  list-style: none;
  display: block;
  margin:15px 0;
  padding:0;
}
#sidebar-eventi  .container-tax ul li{display: block}
#sidebar-eventi  .container-tax ul a{
  display: block;
  padding:5px 15px;
  font-size: 1.5em;
  text-transform: uppercase;
  font-family: 'Flama',sans-serif;
  font-weight: 500;
}
.page-template-page_workshop .eventi-list{
  margin-top:30px;
}
.eventi-list .meta-evento .list-tipologie{
  margin:10px 0;
  padding:0;
  list-style: none;
}
#sidebar-eventi  .container-tax.tipologie ul a{
  font-family: 'Cousine',monospace;
  font-weight: bold;
  font-size: 1.3em;
}
#sidebar-eventi  .container-tax.tipologie li a i{
  font-size: 2em;
  margin-right:3px;
  vertical-align: middle;
}
#sidebar-eventi  .container-tax.tipologie li a span{
  border-bottom:2px solid #000;
  display: inline-block;
}


#sidebar-eventi  .container-tax.tema li a span.fotografia,
#sidebar-eventi  .container-tax.tema li a span.cinema,
#sidebar-eventi  .container-tax.tema li a span.arte-cinematografica{
  color:#f01032;
}
#sidebar-eventi  .container-tax.tema li a span.graphic-design,
#sidebar-eventi  .container-tax.tema li a span.design,
#sidebar-eventi  .container-tax.tema li a span.computer-animation-and-visual-effects,
#sidebar-eventi  .container-tax.tema li a span.graphic-design-comics-and-illustration,
#sidebar-eventi  .container-tax.tema li a span.visual-and-innovation-design,
#sidebar-eventi  .container-tax.tema li a span.multimedia-e-game-art{
  color:#007ac9;
}
#sidebar-eventi  .container-tax.tema li a span.scultura,
#sidebar-eventi  .container-tax.tema li a span.pittura,
#sidebar-eventi  .container-tax.tema li a span.fine-arts{
  color:#80379b;
}
#sidebar-eventi  .container-tax.tema li a span.multimedia,
#sidebar-eventi  .container-tax.tema li a span.fashion-design-sostenibile{
  color:#00b450
}
#sidebar-eventi  .container-tax.tema li a span.scenografia{
  color:#ff7800;
}
#sidebar-eventi  .container-tax li a:hover,
#sidebar-eventi  .container-tax li a.active{
  text-decoration: none;
  color:#fff !important;
  background: #000;
}
#sidebar-eventi  .container-tax li a:hover *,
#sidebar-eventi  .container-tax li a.active *{
  color:#fff !important;
}

/*********************
CONTACT PAGE
*********************/
#contacts #map-section p{
  font-size: 1.6em;
}
#contacts #map-wrapper{
  top:0;
  left:0;
  z-index: 40;
  width: 100%;
  height: 650px;
  display: block;
}
#contacts #map{
  display: block;
  width: 100%;
  height: 100%;
}
.page-template-page_contacts.white #rufa-logo,
.page-template-page_contacts.white .header .search-toggle,
.page-template-page_contacts.white .navbar-header #logo i:before{
  //color:#fff;
}
.page-template-page_contacts.white #logo,
.page-template-page_contacts.white .navbar-center{
  //border-color: #fff;
}
.page-template-page_contacts.white .header .navbar-toggle .icon-bar{
  //background: #fff;
}
.page-template-page_contacts .sede-item:nth-child(4n+1){
  clear: both;
}
.page-template-page_contacts .sede-item{
  margin-bottom: 30px;
}
.page-template-page_contacts .sede-item h3{
  border-bottom: 2px solid #000;
  font-weight: 500;
  font-size: 1.6em;
  padding:13px 0;
  cursor: pointer;
  margin-top: 0;


}
.page-template-page_contacts .sede-item h3:hover{
  background: #000;
  color:#fff;
}
.page-template-page_contacts .sede-item .info{
  font-size: 1.2em;
}
.page-template-page_contacts .sede-item .info ul{
  margin:0;
  padding:0 0 0 10px;
  list-style: none;
  font-family: 'Cousine', monospace;
}
.page-template-page_contacts .sede-item .info ul li:before{
  content: '-';
  position: absolute;
  margin-left: -10px;
}
.page-template-page_contacts .container-uffici{
  border-top:2px solid #000;
  margin-top:30px;
}
.page-template-page_contacts .container-uffici .row > *{
  margin-bottom: 15px;
}
.page-template-page_contacts .container-uffici .row > *:nth-child(2n+1){
  clear: both;
}
.page-template-page_contacts .container-uffici h3{
  font-size: 2em;
  font-weight: 500;
  text-transform: uppercase;

}
.page-template-page_contacts .container-uffici h4{
  cursor: pointer;
  font-size: 1.6em;
  font-weight: 500;
  margin-top: 0;
  padding: 13px 0 0 0;
  margin-bottom: 5px;
}

.page-template-page_contacts .container-uffici p{
  font-family: "Cousine",monospace;
  font-size: 1.2em;
}
.page-template-page_contacts .container-uffici p a{
  text-decoration: underline;
}


#contacts #sidebar-contact{
  background: #f5f5f5;
  padding:15px;
}
#contacts #sidebar-contact .sidebar-item{

  text-align: center;
  border-top: 2px solid #000;
}
#contacts #sidebar-contact .sidebar-item:first-child{
  border-top: 0;
}
#contacts #sidebar-contact .sidebar-item a{
  display: block;
  padding:15px 0;
}
#contacts #sidebar-contact .sidebar-item a:hover{
  background: #000;
  color:#fff;
  text-decoration: none;
}

#contacts #sidebar-contact .sidebar-item a h3{
  font-size: 2em;
  line-height: 1.3em;
  margin:0;
  padding:0;
  text-transform: uppercase;
}
#contacts #sidebar-contact .sidebar-item a p{
  font-family: 'Cousine',monospace;
  font-weight: 400;
  font-size: 1.4em;
  margin:5px 0 0 0;
  word-wrap: break-word;
}
.wpcf7 h3{
  font-weight: 500;
  text-transform: uppercase;
  font-size: 2em;
}

.wpcf7 .box-form{
  padding:15px 30px;
  background: #f5f5f5;
}
.wpcf7 .box-form h4{
  font-family: 'Cousine',monospace;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.5em;
  margin-bottom: 10px;
  margin-top: 30px;
}
.wpcf7 .box-form .form-control{
  border:0;
  border-bottom: 1px solid #000;
  background: transparent;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  color:#000;
  font-family: 'Cousine',monospace;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
  padding-left:0;
  font-size: 14px;
  padding-bottom:0;
  font-weight: lighter;
}
.wpcf7 .box-form label{
  font-family: 'Cousine',monospace;
  font-weight: lighter;
  font-size: 14px;
}
.wpcf7 .box-form a,
.wpcf7 .box-form label a{
  text-decoration: underline;
}
.wpcf7-text{
  width: 100%;
}
.wpcf7 .box-form .wpcf7-textarea{
  border:1px solid #000;
  height: 7em;
  resize: none;
}
.wpcf7-textarea{
  width: 100%;
}
.wpcf7 .box-form .info-add.authorize{
  margin-top:40px;
}

.wpcf7 .wpcf7-submit{
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
  border:0;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  text-transform: uppercase;
  font-family: 'Cousine',monospace;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  width:20%;
  min-width: 200px;
  padding: 10px 0;
  background: #fff;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1em;
}
.wpcf7 .wpcf7-submit:hover{
  background: #000;
  color:#fff;
}

.page-template-page_contacts .wpcf7-submit{
  background: #000 !important;
  color: #fff !important;
  width: 100% !important;
}

.page-template-page_contacts .wpcf7-submit:hover{
  background: transparent !important;
  color: #000 !important;
}

.page-template-page_contacts span.wpcf7-list-item{
  margin: 0 !important;
}

.wpcf7-acceptance .wpcf7-list-item{
  margin: 0 !important;
}

.page-template-page_contacts .panel-group .panel{
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  border:0;
  border-top:1px solid #000;
  margin:0;
}
.page-template-page_contacts .panel-group .panel:first-child{
  border-top:0;
}
.page-template-page_contacts .panel-default > .panel-heading{
  background: #fff;
  color:#000;
  padding:30px 0;
}
.page-template-page_contacts .panel-default > .panel-heading h4{
  font-weight: bold;
}
.page-template-page_contacts .panel-default > .panel-heading h4 span.courses{
  display: block;
  margin-top: 20px;
  font-size: 0.4em;
  text-transform: uppercase;
  font-family: 'Cousine', monospace;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.3em;
}
.page-template-page_contacts .panel-default > .panel-heading h4 span.courses span{
  display: inline-block;
  margin:0 3px;
  text-decoration: underline;
}
.page-template-page_contacts .panel-default > .panel-heading h4 span.courses span:before{
  display: inline-block;
  margin-right: 4px;
}
.page-template-page_contacts .panel-default > .panel-heading h4 span.courses span:first-child{
  margin-left:0;
}
.page-template-page_contacts .panel-default > .panel-heading h4 span.courses span:first-child:before{
  content:'';
  display: none;
}

.page-template-page_contacts .panel-default > .panel-heading:hover h4 span.courses span{
  color:#fff !important;
}

.page-template-page_contacts .panel-default > .panel-heading a{
  display: block;
  position:relative;
  text-decoration: none;
  font-family: 'Cousine',monospace;
  font-size: 1.7em;
  padding-right: 80px;
}
.page-template-page_contacts .panel-default > .panel-heading a:before {
  position:absolute;
  right: 0;
  font-family: "Flama";
  font-weight: lighter;
  content:'↓';
  top: -0.32em;
  font-size: 2.5em;
}
.page-template-page_contacts .panel-default > .panel-heading a.collapsed:before {
  transform: rotate(180deg) ;
  -webkit-transform: rotate(180deg) ;
  -moz-transform: rotate(180deg) ;
  -o-transform: rotate(180deg) ;
  -ms-transform: rotate(180deg) ;
}
.page-template-page_contacts .panel-default > .panel-heading:hover{
  background: #000;
  color:#fff;
}
.page-template-page_contacts .panel-default > .panel-heading:hover a{
  color:#fff;
}

.page-template-page_contacts .panel-body{
  border:none !important;
  padding:15px 0 30px 0;
}
.page-template-page_contacts .panel-body h3 {
  text-transform: uppercase;
  font-weight: bold;
}
.inline-row{
  flex-wrap: wrap;
  display: flex;
  align-items: flex-end;
}

/******************************************************************
        EVENTI PAGE LIST
******************************************************************/
.eventi-list article.evento{
  margin-bottom: 60px;
}

.eventi-list .meta-evento .data-ora-bar{
  display: block;
  font-family: 'Cousine',monospace;
  font-size: 14px;
  color:#fff;
  text-align: center;
  line-height: 1em;
  padding:10px 10px 8px 10px;
  background: #000;
}

.eventi-list .meta-evento .list-tipologie{
  margin:10px 0;
  padding:0;
  list-style: none;
}
.eventi-list .meta-evento .list-tipologie li{
  font-family: 'Cousine',monospace;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.3em;
  margin:5px 0;
}
.eventi-list .meta-evento .list-tipologie li i{
  font-size: 2em;
  margin-right:4px;
  vertical-align: middle;
}
.eventi-list .meta-evento .list-tipologie li span{
  border-bottom:2px solid #000;
  display: inline-block;
}

.eventi-list article h2.entry-title{
  margin-top: 0;
  margin-bottom: 15px;
}
.eventi-list article .evento-image a{
  display: block;
  position: relative;
}

.eventi-list article .evento-image a .bg_hover{
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('../images/bg_hover.png');
}
.eventi-list article .evento-image a:hover .bg_hover{
  display: block;
}
.eventi-list .list-tematica{
  font-family: 'Flama',sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.4em;
  margin:15px 0;
}
.eventi-list .list-tematica span{
  display: inline-block;
}
.eventi-list .list-tematica span.fotografia,
.eventi-list .list-tematica span.cinema,
.eventi-list .list-tematica span.arte-cinematografica{
  color: #f01032;
}
.eventi-list .list-tematica span.graphic-design,
.eventi-list .list-tematica span.design,
.eventi-list .list-tematica span.computer-animation-and-visual-effects,
.eventi-list .list-tematica span.graphic-design-comics-and-illustration,
.eventi-list .list-tematica span.visual-and-innovation-design,
.eventi-list .list-tematica span.multimedia-e-game-art{
  color: #007ac9;
}
.eventi-list .list-tematica span.scultura,
.eventi-list .list-tematica span.pittura,
.eventi-list .list-tematica span.fine-arts{
  color: #80379b;
}
.eventi-list .list-tematica span.multimedia,
.eventi-list .list-tematica span.fashion-design-sostenibile{
  color: #00b450;
}
.eventi-list .list-tematica span.scenografia{
  color: #ff7800;
}
article.evento .text-info{
  font-family: 'Cousine',monospace;
  font-weight: bold;
  font-size: 1.4em;
  color:#000;
}
article.evento  .container-tax{
  margin-bottom:15px;
  padding-bottom: 5px;
}
article.evento  .container-tax h3{
  display: inline-block;
  border-bottom:2px solid #000;
  text-transform: uppercase;
  font-family: 'Flama',sans-serif;
  font-weight: 500;
  line-height: 1.4em;
  font-size: 1.4em;
  margin:0;
  padding:10px 5px 5px 0;
}
article.evento  .container-tax ul{
  list-style: none;
  display: block;
  margin: 10px 0;
  padding: 0;
}

article.evento  .container-tax ul li{
  display: block;
  padding: 2px 0;
  font-size: 1.4em;
  text-transform: uppercase;
  font-family: 'Flama',sans-serif;
  font-weight: 500;
}

article.evento .list-tipologie{
  margin: 10px 0;
  padding:0;
  list-style: none;
}
article.evento  .container-tax.tipologie ul li{
  font-family: 'Cousine',monospace;
  font-weight: bold;
  font-size: 1.4em;
}
article.evento  .container-tax.tipologie li i{
  font-size: 2em;
  margin-right:0;
  vertical-align: middle;
}
article.evento  .container-tax.tipologie li i:before{
  text-align: left;
  text-indent: -5px;
}
article.evento  .container-tax.tipologie li span{
  border-bottom:2px solid #000;
  display: inline-block;
}


article.evento  .container-tax.tema li span.fotografia,
article.evento  .container-tax.tema li span.cinema,
article.evento  .container-tax.tema li span.arte-cinematografica{
  color:#f01032;
}
article.evento  .container-tax.tema li span.graphic-design,
article.evento  .container-tax.tema li span.computer-animation-and-visual-effects,
article.evento  .container-tax.tema li span.graphic-design-comics-and-illustration,
article.evento  .container-tax.tema li span.visual-and-innovation-design,
article.evento  .container-tax.tema li span.multimedia-e-game-art{
  color:#007ac9;
}
article.evento  .container-tax.tema li span.scultura,
article.evento  .container-tax.tema li span.pittura,
article.evento  .container-tax.tema li span.fine-arts{
  color:#80379b;
}
article.evento  .container-tax.tema li span.multimedia,
article.evento  .container-tax.tema li span.design,
article.evento  .container-tax.tema li span.design-for-humans,
article.evento  .container-tax.tema li span.fashion-design-sostenibile{
  color:#00b450
}
article.evento  .container-tax.tema li span.scenografia{
  color:#ff7800;
}

/******************************************************************
        SEARCH PAGE
******************************************************************/
.search-list .archive-title{
  font-family: 'Cousine',monospace;
  font-size: 1.4em;
  color:#000;
  font-weight: lighter;
  font-style: italic;
}
.search-list .archive-title span{
  font-style: normal;
}
.search-list article{
  margin-bottom: 30px;
}
.search-list article  .entry-content,
.search-list article  .article-footer{
  border-bottom:1px solid #000;
  padding-bottom: 20px;
}
.search-list article:last-child  .entry-content,
.search-list article:last-child  .article-footer{
  border-bottom:none;
}
.search-list article p{
  margin-bottom: 0;
}
.search-list article .row > *{
  display: table-cell;
  float: none;
  vertical-align: bottom;
}

.search-list .entry-title{
  font-family: 'Flama',sans-serif;
  font-weight: 600;
  font-size: 3em;
}
.search-list .article-footer{
  font-family: 'Cousine',monospace;
  font-size: 1.3em;
  line-height: 1.3em;
}
.search-list .article-footer .info-box + .info-box{
  margin-top: 1em;
}
.article-footer .info-box h4,
.search-list .article-footer h4{
  margin:0;
  text-decoration: underline;
  font-size: 1em;
  display: inline !important;
}
.article-footer .info-box p,
.search-list .article-footer p{
  font-size: 1em;
  display: inline !important;
}
.article-footer .info-box {
  font-size: 1.1em;
  font-family: 'Cousine',monospace;
  line-height: 1.5em;
}

/******************************************************************
       DOCENTI PAGE
******************************************************************/
ul.letter-list{
  margin:0;
  padding:0;
  list-style: none;
}
ul.letter-list li{position:relative}
ul.letter-list li a{
  margin:0;
  list-style: none;
  font-family: 'Cousine',monospace;
  text-transform: uppercase;
  color:#c8c8c8;
  font-size: 2em;
  padding:2px 0;
  line-height: 1em;
  display: block;
}
ul.letter-list li.active a,
ul.letter-list li a:focus,
ul.letter-list li:hover a{
  color:#000;
  font-weight: bold;
  text-decoration: none;
}
ul.letter-list li.active a:after,
ul.letter-list li:hover a:after{
  content: ' ';
  display: block;
  position: absolute;
  width:15px;
  height:1px;
  background: #000;
  top:0.5em;
  left:15px;
}

ul.letter-list.affix{
  position: fixed !important;
}

#aziende-list ul.letter-list.affix{
  top: 60px;
}
.docenti-list article{
  margin-bottom: 60px;
}
.index-docenti{
  color:#dcdcdc;
  font-size: 5em;
  padding: 5px 0;
  margin:10px 0 30px 0;
  text-transform: uppercase;
  border-bottom: 2px solid #dcdcdc;
  font-family: 'Cousine',monospace;
  line-height: 0.9em;
}
.docenti-list h3.entry-title{
  margin:0;
  padding:0;
  font-family: 'Flama',sans-serif;
  font-weight: 600;
  font-size: 4em;
}
.docenti-list h4.jobtitle{
  font-family: 'Flama',sans-serif;
  font-weight: 300;
  font-size: 1.6em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.docenti-list h5.email{
  font-family: 'Cousine', monospace;
  font-weight: normal;
  font-size: 1.3em;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0;
}
.docenti-list a.content-toggle{
  font-family: 'Cousine', monospace;
  font-weight: normal;
  font-size: 1.3em;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: underline;
}
.docenti-list .docente-info{
  display: none;
  margin-top: 10px;
}
.docenti-list .entry-content p{
  font-size: 1.5em;
}

.docenti-list ul.select-type-docenti{
  margin:0;
  list-style: none;
  padding:0;
}
.docenti-list ul.select-type-docenti li{
  margin-bottom: 10px;
  margin-left:20px;
  position: relative;
}
.docenti-list ul.select-type-docenti li a{
  color:#c8c8c8;
  font-family: 'Cousine', monospace;
  font-weight: normal;
  font-size:2em;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: underline;
  padding:0;
}
.docenti-list ul.select-type-docenti li a:hover,
.docenti-list ul.select-type-docenti li a.active{
  color:#000;
}
.docenti-list ul.select-type-docenti li a:hover:after,
.docenti-list ul.select-type-docenti li a.active:after{
  content:'>';
  position:absolute;
  color:#000;
  left:-18px;
  font-family: 'Cousine', monospace;
  font-weight: normal;
  top:0;
}

.docenti-list .docente-img{
  margin-bottom: 15px;
}


/*STAGE*/
.docenti-list ul.select-type-docenti.select-aziende li a{
  font-size: 1.6em;
}
.docenti-list article.stage h4.category,
.docenti-list article.stage h4.settore{
  font-family: "Flama",sans-serif;
  font-weight: 300;
  margin-bottom: 0;
  text-transform: uppercase;
}
.docenti-list article.stage h4.settore{
  text-transform: none;
  margin-top: 2px;
  margin-bottom: 10px;
}
.docenti-list article.stage a.azienda-sito{
  font-family: 'Cousine', monospace;
  font-weight: normal;
  font-size: 1.3em;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0;
}

#aziende-list{
  margin-top: 20px;
  padding-top:40px;
  border-top:1px solid #000;
}
h2.list-title{
  margin-top: 0;
  font-family: 'Flama',sans-serif;
  font-weight: 500;
}



/******************************************************************
       AMMISSIONI PAGE
******************************************************************/

.page-ammissioni .panel-group .panel{
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  border:0;
  border-top:1px solid #000;
  margin:0;
}
.page-ammissioni .panel-group .panel:first-child{
  border-top:0;
}
.page-ammissioni .panel-default > .panel-heading{
  background: #fff;
  color:#000;
  padding:30px 0;
}
.page-ammissioni .panel-default > .panel-heading h4{
  font-weight: bold;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses{
  display: block;
  margin-top: 20px;
  font-size: 0.4em;
  text-transform: uppercase;
  font-family: 'Cousine', monospace;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.3em;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span{
  display: inline-block;
  margin:0 3px;
  text-decoration: underline;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span:before{
  content:'-';
  display: inline-block;
  margin-right: 4px;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span:first-child{
  margin-left:0;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span:first-child:before{
  content:'';
  display: none;
}

.page-ammissioni .panel-default > .panel-heading h4 span.courses span.fotografia,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.arte-cinematografica,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.film-arts,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.cinema{
  color:#f01032;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.graphic-design,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.visual-and-innovation-design,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.computer-animation-and-special-effects,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.comics-and-illustration{
  color:#007ac9;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.scultura,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.sculpture,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.painting,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.graphic-arts,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.pittura{
  color:#80379b;
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.design,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.tecnologie-e-progettazione-dello-spazio-multimediale,
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.multimedia{
  color:#00b450
}
.page-ammissioni .panel-default > .panel-heading h4 span.courses span.scenografia{
  color:#ff7800;
}

.page-ammissioni .panel-default > .panel-heading:hover h4 span.courses span{
  color:#fff;
}

.page-ammissioni .panel-default > .panel-heading a{
  display: block;
  position:relative;
  text-decoration: none;
  font-family: 'Cousine',monospace;
  font-size: 1.7em;
  padding-right: 80px;
}
.page-ammissioni .panel-default > .panel-heading a:before {
  position:absolute;
  right: 0;
  font-family: "Flama";
  font-weight: lighter;
  content:'↓';
  top: -0.32em;
  font-size: 2.5em;
}
.page-ammissioni .panel-default > .panel-heading a.collapsed:before {
  transform: rotate(180deg) ;
  -webkit-transform: rotate(180deg) ;
  -moz-transform: rotate(180deg) ;
  -o-transform: rotate(180deg) ;
  -ms-transform: rotate(180deg) ;
}
.page-ammissioni .panel-default > .panel-heading:hover{
  background: #000;
  color:#fff;
}
.page-ammissioni .panel-default > .panel-heading:hover a{
  color:#fff;
}

.page-ammissioni .panel-default .panel-body{
  border:none !important;
  padding:15px 0 30px 0;
}
.page-ammissioni .panel-default .panel-body h3{
  text-transform: uppercase;
  font-weight: bold;
}
.page-ammissioni .save-the-date{
  margin-bottom: 30px;
}
.page-ammissioni .save-the-date h5{
  display: block;
  border-bottom:1px solid #000;
  padding:10px 0;
  margin:0;
  font-family:'Cousine',monospace;
  text-transform: none;
  line-height: 1.2em;
  letter-spacing: 0;
}
.page-ammissioni .save-the-date span{
  display: block;
  padding:10px 0;
  font-weight: 300;
  font-size: 1.5em;
  line-height: 1.2em;
}

.page-ammissioni a.download-btn{
  background:#000;
  color:#fff;
}

.page-ammissioni a.download-btn:hover{
  text-decoration:underline;
}

.page-ammissioni .block-documents{
  padding:10px 20px;
  background: #f5f5f5;
  font-size: 1.5em;
}
.page-ammissioni .block-documents h4{
  margin:0;
  font-size: 1.1em;
  padding:15px 0;
  border-bottom:1px solid #000;
  line-height: 1.3em;
}
.page-ammissioni .block-documents ul{
  margin:15px 0;
  padding:0;
  list-style: none;
}
.page-ammissioni .block-documents ul li{
  margin:5px 0;
  font-weight: 300;
}

.page-ammissioni .block-documents p{
  margin:0;
  font-size: 1.1em;
}

.page-ammissioni .ammissioni-table{
  text-align: center;
  font-size: 1.5em;
}
.page-ammissioni .ammissioni-table td{
  vertical-align: middle;
  padding: 15px 10px;
  border:1px solid #000;
}
.page-ammissioni .ammissioni-table .double-border td{
  border-top-width: 2px;
  border-bottom-width: 2px;
}

.page-ammissioni .ammissioni-table td .iconp-check{
  font-size: 2em;
  line-height: 0.1em;
}
.page-ammissioni .ammissioni-table td:first-child{
  border-left:0;
}
.page-ammissioni .ammissioni-table td.last{
  border-right:0;
}

.page-ammissioni .ammissioni-table td.red{
  color:#f01032;
  font-weight: bold;
}
.page-ammissioni .ammissioni-table td.blue{
  color:#007ac9;
  font-weight: bold;
}
.page-ammissioni .ammissioni-table td.violet{
  color:#80379b;
  font-weight: bold;
}
.page-ammissioni .ammissioni-table td.green{
  color:#00b450;
  font-weight: bold;
}
.page-ammissioni .ammissioni-table td.orange{
  color:#ff7800;
  font-weight: bold;
}
.page-ammissioni .ammissioni-table td.cell-bg{
  background: url('../images/bg_table.png') top left;
}

/******************************************************************
       NEW AMMISSIONI PAGE
******************************************************************/

.page-template-page_blank .col-sm-9{
  padding: 0;
}

.page-template-page_blank .panel-group .panel{
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  border:0;
  border-top:1px solid #000;
  margin:0;
  box-shadow: none;
}
.page-template-page_blank .panel-group .panel:first-child{
  border-top:0;
}
.page-template-page_blank .panel-default > .panel-heading{
  background: #fff;
  color:#000;
  padding:30px 0;
}
.page-template-page_blank .panel-default > .panel-heading h4{
  font-weight: bold;
}
.page-template-page_blank .panel-default > .panel-heading h4 span.courses{
  display: block;
  margin-top: 20px;
  font-size: 0.4em;
  text-transform: uppercase;
  font-family: 'Cousine', monospace;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.3em;
}
.page-template-page_blank .panel-default > .panel-heading h4 span.courses span{
  display: inline-block;
  margin:0 3px;
  text-decoration: underline;
}
.page-template-page_blank .panel-default > .panel-heading h4 span.courses span:before{
  display: inline-block;
  margin-right: 4px;
}
.page-template-page_blank .panel-default > .panel-heading h4 span.courses span:first-child{
  margin-left:0;
}
.page-template-page_blank .panel-default > .panel-heading h4 span.courses span:first-child:before{
  content:'';
  display: none;
}

.page-template-page_blank .panel-default > .panel-heading:hover h4 span.courses span{
  color:#fff !important;
}

.page-id-26342 .panel-default > .panel-heading a{
  font-family: "Flama" !important;
}

.page-template-page_blank .panel-default > .panel-heading a{
  display: block;
  position:relative;
  text-decoration: none;
  font-family: 'Cousine',monospace;
  font-size: 1.7em;
  padding-right: 80px;
}
.page-template-page_blank .panel-default > .panel-heading a:before {
  position:absolute;
  right: 0;
  font-family: "Flama";
  font-weight: lighter;
  content:'↓';
  top: -0.32em;
  font-size: 2.5em;
}
.page-template-page_blank .panel-default > .panel-heading a.collapsed:before {
  transform: rotate(180deg) ;
  -webkit-transform: rotate(180deg) ;
  -moz-transform: rotate(180deg) ;
  -o-transform: rotate(180deg) ;
  -ms-transform: rotate(180deg) ;
}
.page-template-page_blank .panel-default > .panel-heading:hover{
  background: #000;
  color:#fff;
}
.page-template-page_blank .panel-default > .panel-heading:hover a{
  color:#fff;
}

.page-template-page_blank .panel-body{
  border:none !important;
  padding:15px 0 30px 0;
}
.page-template-page_blank .panel-body h3{
  text-transform: uppercase;
  font-weight: bold;
}
.page-template-page_blank .save-the-date{
  margin-bottom: 30px;
}
.page-template-page_blank .save-the-date h5{
  display: block;
  border-bottom:1px solid #000;
  padding:10px 0;
  margin:0;
  font-family:'Cousine',monospace;
  text-transform: none;
  line-height: 1.2em;
  letter-spacing: 0;
}
.page-template-page_blank .save-the-date p{
  display: block;
  padding:10px 0;
  font-weight: 300;
  font-size: 1.5em;
  line-height: 1.2em;
}

.page-template-page_blank a.download-btn{
  background:#000;
  color:#fff;
  text-decoration:none;
  margin-bottom: 15px;
}

.page-template-page_blank a.download-btn:hover{
  text-decoration:underline;
}

.page-template-page_blank a{
  text-decoration:underline;
}

.page-template-page_blank .block-documents{
  padding:10px 20px;
  background: #f5f5f5;
  font-size: 1.5em;
}
.page-template-page_blank .block-documents h4{
  margin:0;
  font-size: 1.1em;
  padding:15px 0;
  border-bottom:1px solid #000;
  line-height: 1.3em;
}
.page-template-page_blank .block-documents ul{
  margin:15px 0;
  padding:0;
  list-style: none;
}
.page-template-page_blank .block-documents ul li{
  margin:5px 0;
  font-weight: 300;
}

.page-template-page_blank .block-documents p{
  margin:0;
  font-size: 1.1em;
}

.page-template-page_blank a {
    text-decoration: none;
}

@media (max-width: 992px){
  .page-template-page_blank .item-description p,
  .page-template-page_blank .item-description h3,
  .page-template-page_blank .item-description h5
  {
    font-size: 1.28em;
  }
}

@media (max-width: 992px){
  .page-template-page_blank .item-description p span{
    font-size: 0.8em;
  }
}

@media (max-width: 992px){
  .page-template-page_blank .block-documents ul li{
    font-size: 0.8em;
  }
}

@media (max-width: 992px){
  .page-template-page_blank .block-documents p{
    font-size: 0.9em;
  }
}

@media (max-width: 992px){
  .page-template-page_blank .block-documents h4{
    font-size: 0.9em;
  }
}


/******************************************************************
       FINE ARTS PAGE
******************************************************************/

.page-id-26204 .panel-group .panel{
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  border:0;
  border-top:1px solid #000;
  margin:0;
}
.page-id-26204 .panel-group .panel:first-child{
  border-top:0;
}
.page-id-26204 .panel-default > .panel-heading{
  background: #fff;
  color:#000;
  padding:30px 0;
}
.page-id-26204 .panel-default > .panel-heading h4{
  font-weight: bold;
}
.page-id-26204 .panel-default > .panel-heading h4 span.courses{
  display: block;
  margin-top: 20px;
  font-size: 0.4em;
  text-transform: uppercase;
  font-family: 'Cousine', monospace;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.3em;
}
.page-id-26204 .panel-default > .panel-heading h4 span.courses span{
  display: inline-block;
  margin:0 3px;
  text-decoration: underline;
}
.page-id-26204 .panel-default > .panel-heading h4 span.courses span:before{
  display: inline-block;
  margin-right: 4px;
}
.page-id-26204 .panel-default > .panel-heading h4 span.courses span:first-child{
  margin-left:0;
}
.page-id-26204 .panel-default > .panel-heading h4 span.courses span:first-child:before{
  content:'';
  display: none;
}

.page-id-26204 .panel-default > .panel-heading:hover h4 span.courses span{
  color:#fff !important;
}

.page-id-26204 .panel-default > .panel-heading a{
  display: block;
  position:relative;
  text-decoration: none;
  font-family: 'Cousine',monospace;
  font-size: 1.7em;
  padding-right: 80px;
}
.page-id-26204 .panel-default > .panel-heading a:before {
  position:absolute;
  right: 0;
  font-family: "Flama";
  font-weight: lighter;
  content:'↓';
  top: -0.32em;
  font-size: 2.5em;
}
.page-id-26204 .panel-default > .panel-heading a.collapsed:before {
  transform: rotate(180deg) ;
  -webkit-transform: rotate(180deg) ;
  -moz-transform: rotate(180deg) ;
  -o-transform: rotate(180deg) ;
  -ms-transform: rotate(180deg) ;
}
.page-id-26204 .panel-default > .panel-heading:hover{
  background: #000;
  color:#fff;
}
.page-id-26204 .panel-default > .panel-heading:hover a{
  color:#fff;
}

.page-id-26204 .panel-body{
  border:none !important;
  padding:15px 0 30px 0;
}
.page-id-26204 .panel-body h3{
  text-transform: uppercase;
  font-weight: bold;
}



/******************************************************************
       PARTNERS PAGE
******************************************************************/
.partner-list > .row > *{
  margin-bottom: 20px;
}
.partner-list > .row > *:nth-child(4n+1){
  clear: both;
}
.partner-list article.item-partner{
  border-top:2px solid #000;
  padding-top:10px;
}
.partner-list article.item-partner .box-image{
  overflow: hidden;
}
.partner-list article.item-partner .box-image img{
  transition:All 0.4s ease;
  -webkit-transition:All 0.4s ease;
  -moz-transition:All 0.4s ease;
  -o-transition:All 0.4s ease;
}
.partner-list article.item-partner .box-image:hover img{
  transform: scale(1.1);
}
.partner-list article h3.entry-title{
  margin-top: 10px;
  font-family: 'Flama',sans-serif;
  font-weight: 500;
}
.partner-list article .entry-content p{
  font-size: 1.4em;
  margin-bottom: 0;
}
/******************************************************************
        PREMI E RICONOSCIMENTI PAGE
******************************************************************/

.page-template-page_premi .post-list{
  margin-top:30px;
}

/******************************************************************
        ERASMUS PAGE
******************************************************************/


section#erasmus-list {
  background: #000;
  color:#fff;
}
#erasmus-list .wrap-map{
  position: relative;
  padding-top:50%;
  padding-right: 0;
}
#erasmus-list #map{
  display: block;
  width: calc(100% - 15px);
  height: 100%;
  background: #000;
  position: absolute;
  top:0;
}

#erasmus-list .erasmus-wrap{
  overflow:hidden;
  width: 100%;
  padding:15px 15px 15px 0;
}


.erasmus-list .cluster-item p{
  font-size: 1.4em;
  font-family: 'Cousine',monospace;
  padding:15px 0;
  border-bottom: 1px solid #fff;
  margin-bottom: 30px;
}
.erasmus-list .cluster-item p i{
  font-size: 1.1em;
}
.erasmus-list p.empty-list{
  font-size: 2em;
  font-family: 'Cousine',monospace;
  padding:0 0 15px 0;
}
.erasmus-list .item-erasmus{
  margin-bottom:15px;
}
.erasmus-list .item-erasmus h4{
  font-family:'Flama',sans-serif;
  font-weight: 400;
  cursor: pointer;
  margin:0;
}

.erasmus-list .item-erasmus p{
  font-size: 1.2em;
  margin:5px 0 0 0;
  padding:0;
  font-weight: 300;
}
.erasmus-list .item-erasmus a{
  color:#fff;
  font-family: 'Cousine',monospace;
  text-decoration: underline;
  font-weight: lighter;
  font-size: 1.4em;

}
.erasmus-list .item-erasmus span{
  display: block;word-break: break-all;
}
.customInfo .txt{
  font-family:'Flama',sans-serif;
  color:#000;
}
.customInfo h4{
  font-family:'Flama',sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  color:#000;
  margin-bottom: 2px;
}
.customInfo p{
  font-family:'Flama',sans-serif;
  font-size: 1em;
  color:#000;
  margin-bottom: 2px;
}
.customInfo a{
  font-family: 'Cousine',monospace;
  text-decoration: underline;
  font-weight: lighter;
  font-size: 1em;
  color:#000;
}
#erasmus-btn{
  padding:15px;
  font-family: 'Cousine',monospace;
  text-decoration: none;
  font-weight: lighter;
  font-size: 1.5em;
  color:#fff;
  cursor:pointer;
}


#erasmus-btn:hover{
  text-decoration: underline;
}
#erasmus-btn.active i{

}


/*********************
   SEDI PAGE
*********************/


#master-sedi .sede-item{
  border-bottom: 5px solid #000;
  margin-bottom: 30px;
  position: relative;
  padding-top: 55%;
}
#master-sedi .sede-item h2{
  line-height: 1.3em;
  min-height: 3em;
  font-family: 'Flama',sans-serif;
  font-weight: 700;
  position: absolute;
  margin:0;
  top:20px;
  text-indent: -2px;
}
#master-sedi .sede-item h2 a{
  text-decoration: none !important;
}
#master-sedi .sede-item .sede-info{
  padding:10px 5px 0 0;
  font-size: 1.2em;
  font-weight: 300;
  position: absolute;
  top:35%;
  display: block;
  font-family: 'Cousine', monospace;
}
#master-sedi .sede-item .sede-info h4{
  margin:0;
}
#master-sedi .sede-item .sede-info ul{
  padding: 0 0 0 10px;
}
#master-sedi .sede-item .excerpt-read-more{
  position: absolute;
  bottom:15px;
  left:0;
  font-size: 1.6em;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Cousine',monospace;
}
#master-sedi .sede-item .excerpt-read-more span.h{
  display: none;
}
#master-sedi .sede-item:hover{
  background:  #fff  no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#master-sedi .sede-item:hover h2 a,
#master-sedi .sede-item:hover .sede-info{
  display: block;
  color: #FFF;
}
#master-sedi .sede-item:hover .excerpt-read-more span{
  display: none;
}
#master-sedi .sede-item:hover .excerpt-read-more span.h{
  display: block;
  color: #FFF;
}
.sedi-iframe{
  width: 100%;
}
#master-sedi #map-wrapper{
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 650px;
  display: block;
}
#master-sedi #map{
  display: block;
  width: 100%;
  height: 100%;
}

/*********************
   SEDE PAGE
*********************/

.top-sede #map{
  display: block;
  width:100%;
  height: 12vw;
  margin-bottom: 15px;
}
.top-sede #side-excerpt{
  font-family: "Cousine", monospace;
  font-size: 1.2em;
}
.top-sede #side-excerpt h4{
  margin-bottom: 0;
}
.top-sede #side-excerpt ul{
  padding-left: 10px;
}
/*********************
    LOGO RUFA PAGE
*********************/
.page-template-page_logo .rte h4{
  margin-bottom: 5px;
}
.page-template-page_logo .history-logo-row{
  margin:50px 0;
}
.page-template-page_logo .history-logo-row > *{
  padding-left:0;
  border-top:2px solid #000;
}

.page-template-page_logo .history-logo-row .item-logo h4.data-logo{
  display: inline-block;
  margin:0;
  padding:1.3em 1.5em 1.3em 0;
  border-bottom:1px solid #000;
  font-family: 'Cousine',monospace;
}

.page-template-page_logo .history-logo-row .item-logo img{
  margin-top:30px;
  margin-bottom:20px;
}

.page-template-page_logo #new-interactive-logo{
  margin:30px 0 0 0;
}
.page-template-page_logo .new-interactive-logo-didascalia{
  font-family: 'Cousine',monospace;
  font-size: 1.2em;
  position: relative;
  margin-top: 40px;
  font-weight: bold;
  cursor:pointer;
}
.page-template-page_logo .new-interactive-logo-didascalia:before{
  content:' ';
  width:50px;
  height:45px;
  display: block;
  background: url('../images/arrow-curve.png') no-repeat center center;
  cursor:pointer;
  position:absolute;
  left:-60px;
  top:-35px;
}

/*********************
    NUMERI 10 PAGE
*********************/

.migliori-list{
  margin-top:50px;
}
.numeri-10-page ul.select-type-studenti{
  margin:0;
  list-style: none;
  padding:0;
}
.numeri-10-page ul.select-type-studenti li{
  margin-bottom: 10px;
  margin-left:20px;
  position: relative;
}
.numeri-10-page ul.select-type-studenti li a{
  color:#c8c8c8;
  font-family: 'Cousine', monospace;
  font-weight: normal;
  font-size:2em;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: underline;
  padding:0;
}
.numeri-10-page ul.select-type-studenti li a:hover,
.numeri-10-page ul.select-type-studenti li a.active{
  color:#000;
}
.numeri-10-page ul.select-type-studenti li a:hover:after,
.numeri-10-page ul.select-type-studenti li a.active:after{
  content:'>';
  position:absolute;
  color:#000;
  left:-18px;
  font-family: 'Cousine', monospace;
  font-weight: normal;
  top:0;
}
.migliori-list .item-migliori{
  border-bottom:3px solid #000;
  position: relative;
}
.migliori-list .item-migliori h3{
  line-height: 1em;
  font-family: 'Flama',sans-serif;
  font-weight: 700;
  margin:0;
  top:5px;
  text-indent: -2px;
  color:#000;
  position: absolute;
  text-decoration: none;
}
.migliori-list .item-migliori h3 a{
  text-decoration: none;
}
.migliori-list .item-migliori .box-image{
  opacity: 0;
  visibility: hidden;
  height: 428px;
}
.index-artisti{
  color:#dcdcdc;
  font-size: 5em;
  padding: 5px 0;
  margin:10px 0 30px 0;
  text-transform: uppercase;
  border-bottom: 2px solid #dcdcdc;
  font-family: 'Cousine',monospace;
  line-height: 0.9em;
}
.numeri-10-page a.discover-more{
  font-family: 'Cousine', monospace;
  font-weight: normal;
  font-size: 1.3em;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: underline;
}
.numeri-10-page h3.entry-title {
  margin: 0;
  padding: 0;
  font-family: 'Flama',sans-serif;
  font-weight: 600;
  font-size: 4em;
}
.migliori-list .item-migliori:hover .box-image{
  opacity:1;
  visibility: visible;
}

/************************
  NUMERI 10 SINGLE PAGE
************************/

.migliori-header{
  border-bottom:3px solid #000;
  margin-bottom:20px;
}
.migliori-header > .row{
  display: table;
  margin:0;
}
.migliori-header > .row > *{
  display: table-cell;
  float:none;
  vertical-align: top;
}
.migliori-header > .row > .col-sm-5{
  vertical-align: bottom;
}
.migliori-header .migliori-image img{
  position: relative;
  left:20%;
  z-index: 10;
  width:150%;
  max-width: 100%;
}
.migliori-header > .row > .col-sm-7{
  background: #f5f5f5;
  padding:15px 5% 50px 8%;
}

.migliori-header h1{
  font-family: 'Flama',sans-serif;
  border-bottom:1px solid #000;
  font-size: 2.5em;
  padding:10px 0 20px 0;
  margin:0;
}
.migliori-header .migliori-meta{
  font-family: 'Cousine',monospace;
  border-bottom:1px solid #000;
  font-size: 1.4em;
  padding:13px 0;
  line-height:1.1em;
}

/*********************
    RUFA CARE PAGE
*********************/

.progetti-list{
  margin-top:50px;
}

.progetti-list .row > *{
  clear: none !important;
}
.progetti-list .row.prj-list > *:nth-child(2n+1){
  clear: both !important;
}
.progetti-list article{
  padding-bottom:5vw;
}

.single-rufacare .entry-content{
  margin-top:20px;
}

.rufacare-category-list{
  display: table;
  border-bottom:2px solid #000;
  vertical-align: middle;
  width:100%;
  padding:0;
  margin:0;
  margin-top:60px;
}
.rufacare-category-list li{
  display: table-cell;
  float:left;
  width: 15%;
}
.rufacare-category-list li a{
  border-top:1px solid #000;
  display:block;
  width:90%;
  text-align: center;
  font-weight: 500;
  padding: 15px 0;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.3em;
}

.rufacare-category-list li a.active,
.rufacare-category-list li a:hover{
  color:#fff;
  background: #000;
}

/*********************
ERROR PAGE
*********************/
#tools_sketch{
  display: block;
  width: 100%;
  height:800px;
  position: relative;
  background: #000;
  top:0;
}
.tools{
  clear: both;
}

.tools a{
  border:0;
  border-top: 1px solid #000;
  text-transform: uppercase;
  font-family: 'Cousine',monospace;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  padding: 10px 10px;
  background: #fff;
  margin-top: 30px;
  line-height: 1em;
  float:left;
  text-decoration: none;

}
.tools a:focus{
  text-decoration: none;
  outline: none;
}
.tools a:hover{
  background: #000;
  color:#fff;
  text-decoration: none;
}

/*********************
    LANDING  PAGE
*********************/

.page-template-page_landing .courses-list .course-item h2.course-name{
  font-family: 'Flama',sans-serif ;
}
.page-template-page_landing .courses-list h4{
  min-height: 4em;
}
.page-template-page_landing .courses-list .course-item{
  padding-top:70%;
}
.page-template-page_landing .page-content .list {
  list-style: none;
  margin:0 0 1.5em 0;
  padding:0;
  clear: both;
}
.page-template-page_landing .page-content .list li{
  font-size: 1.6em;
  font-weight: 300;
}

/*********************
    LANDING  ARF
*********************/

.page-id-14885 article.post-14885 .page-content ul{
  font-size: 1.6em;
  font-weight: 300;
  padding-left: 20px;
  margin-top: -1em;
}
.page-id-14885 article.post-14885 .side-tickets{
  background: #fef200;
  padding:15px;
  margin-top: 20px;
  margin-bottom: 40px;
}
.page-id-14885 article.post-14885 .side-tickets h4{
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  margin: 0 0 20px 0;
  font-family: 'Cousine',monospace;
  padding-bottom: 5px;
}

.page-id-14885 article.post-14885 .side-tickets .ticket-type{
  margin-bottom: 20px;
  font-family: 'Cousine',monospace;
  font-size: 1.6em;
}
.page-id-14885 article.post-14885 .side-tickets .ticket-type span{
  display:block;
}
.page-id-14885 article.post-14885 .side-tickets .ticket-type .price{
  font-size: 1.8em;
  font-weight: bold;
}
.page-id-14885 article.post-14885 .side-tickets a.eventbrite-link{
  display: block;
  border-top:1px solid #000;
  text-align: center;
  text-transform:uppercase;
  font-size: 2.5em;
  font-family:'Cousine',monospace;
  padding:10px;
  font-weight: bold;
}
.page-id-14885 article.post-14885 .side-tickets a:hover{
  background: #000;
  color:#fef200;
  text-decoration: none;
}

.page-id-14885 article.post-14885 .rte .panel-group .panel{
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  border:0;
  border-bottom:1px solid #000;
  margin:0;
}
.page-id-14885 article.post-14885 .rte .panel-default > .panel-heading{
  background: #fff;
  color:#000;
  padding:30px 0;
}
.page-id-14885 article.post-14885 .rte .panel-default > .panel-heading a{
  display: block;
  position:relative;
  text-decoration: none;
  font-family: 'Cousine',monospace;
  font-size: 1.5em;
  padding-right: 80px;
}
.page-id-14885 article.post-14885 .rte .panel-default > .panel-heading a:before {
  position:absolute;
  right: 0;
  font-family: "rufa";
  content:'\e802';
  transform: rotate(-90deg) ;
  -webkit-transform: rotate(-90deg) ;
  -moz-transform: rotate(-90deg) ;
  -o-transform: rotate(-90deg) ;
  -ms-transform: rotate(-90deg) ;
  bottom:30px;
}
.page-id-14885 article.post-14885 .rte .panel-default > .panel-heading a.collapsed:before {
  transform: rotate(90deg) ;
  -webkit-transform: rotate(90deg) ;
  -moz-transform: rotate(90deg) ;
  -o-transform: rotate(90deg) ;
  -ms-transform: rotate(90deg) ;
}
.page-id-14885 article.post-14885 .rte .panel-default > .panel-heading:hover{
  background: #000;
  color:#fff;
}
.page-id-14885 article.post-14885 .rte .panel-default > .panel-heading:hover a{
  color:#fff;
}

.page-id-14885 article.post-14885 .rte .panel-default .panel-body{
  border:none;
  padding:15px 0;
}
.page-id-14885 article.post-14885 .rte .event-info{
  display: block;
  font-family: 'Cousine',monospace;
  padding-top:1em;
}



/*********************
    SVA PAGE
*********************/
.page-template-page_sva .small-description,
.page-template-page_sva-generica .small-description{
  color:#007ac9;
  margin-bottom:3em;
  font-size: 1.7em;
}
.page-template-page_sva .logo-sva,
.page-template-page_sva-generica .logo-sva{
  position:relative;
  z-index:999;
  margin-left:-30%;
  transform: rotate(-15deg) ;
  -webkit-transform: rotate(-15deg) ;
  -moz-transform: rotate(-15deg) ;
  -o-transform: rotate(-15deg) ;
  -ms-transform: rotate(-15deg) ;
}
.logo-sva-home{
  position: absolute;
  margin-left: -120px;
  max-width: 100px;
}

.page-template-page_sva .page-content,
.page-template-page_sva-generica .page-content{
  margin-top:20px;
}
.page-template-page_sva .page-content .rte,
.page-template-page_sva-generica .page-content .rte{
  font-size:1.1em;
}
.page-template-page_sva section#people > .row > .col-sm-4:nth-child(3n+1),
.page-template-page_sva-generica section#people > .row > .col-sm-4:nth-child(3n+1){
  clear: both;
}
.page-template-page_sva section#people,
.page-template-page_sva-generica section#people{
  background: #f5f5f5;
  position:relative;
  margin:20px 0;
  padding:20px 0;
  z-index: 10;
  color:#007ac9
}
.page-template-page_sva-generica section#people{
  color:#E5007E
}
.page-template-page_sva section#people:before,
.page-template-page_sva-generica section#people:before{
  position: absolute;
  width: calc(100vw - 15px);
  height: 100%;
  z-index: 0;
  background: #f5f5f5;
  content: "";
  display: block;
  top: 0;
  left: calc((100% - (100vw - 15px))/2);
}

.page-template-page_sva section#people h2,
.page-template-page_sva-generica section#people h2{
  font-family: 'Cousine', monospace;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 2em;
  margin:0 0 2em 0;
  padding:0;
  position: relative;
  z-index: 11;
  text-decoration: underline;
}

.page-template-page_sva section#people .item-people,
.page-template-page_sva-generica section#people .item-people{
  position: relative;
  margin-bottom:3em;
  cursor:pointer;
}
.page-template-page_sva section#people .item-people .box-image,
.page-template-page_sva-generica section#people .item-people .box-image{
  position: absolute;
  z-index: 20;
  display: none;
  max-width: 200px;
}
.page-template-page_sva section#people .item-people:hover .box-image,
.page-template-page_sva-generica section#people .item-people:hover .box-image{
  display: block;
}
.page-template-page_sva section#people .item-people h3,
.page-template-page_sva-generica section#people .item-people h3{
  position: relative;
  font-family: 'Flama', sans-serif;
  font-weight: 600;
  padding:0 0 10px 0;
  margin:0;
  z-index: 13;

}
.page-template-page_sva section#people .item-people h5,
.page-template-page_sva-generica section#people .item-people h5{
  position: relative;
  font-family: 'Cousine', monospace;
  font-weight: 400;
  margin:0;
  padding:0;
  text-transform: none;
  z-index: 13;
  line-height: 1.3em;
  letter-spacing: 0;
}
.page-template-page_sva section#people .item-people:hover h3,
.page-template-page_sva section#people .item-people:hover h5,
.page-template-page_sva-generica section#people .item-people:hover h3,
.page-template-page_sva-generica section#people .item-people:hover h5{
  color:#000;
}


.page-template-page_sva #sva-blog .panel-group .panel,
.page-template-page_sva-generica #sva-blog .panel-group .panel{
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  border:0;
  border-bottom:1px solid #000;
  margin:0;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading{
  background: #fff;
  color:#000;
  padding:20px 0;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading h4,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading h4{
  font-weight: normal;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading h4 span,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading h4 span{
  display: block;
  font-size: 0.6em;
  text-decoration: underline;
  margin-bottom: 0.5em;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading a,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading a{
  display: block;
  position:relative;
  text-decoration: none;
  font-family: 'Cousine',monospace;
  font-size: 1.6em;
  padding-right: 80px;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading a:before,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading a:before{
  position:absolute;
  right: 0;
  font-family: "Flama";
  font-weight: lighter;
  content:'↓';
  top: -0.32em;
  font-size: 2em;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading a.collapsed:before,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading a.collapsed:before{
  transform: rotate(180deg) ;
  -webkit-transform: rotate(180deg) ;
  -moz-transform: rotate(180deg) ;
  -o-transform: rotate(180deg) ;
  -ms-transform: rotate(180deg) ;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading:hover,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading:hover{
  background: #007ac9;
  color:#fff;
}
.page-template-page_sva #sva-blog .panel-default > .panel-heading:hover a,
.page-template-page_sva-generica #sva-blog .panel-default > .panel-heading:hover a{
  color:#fff;
}

.page-template-page_sva #sva-blog .panel-default .panel-body,
.page-template-page_sva-generica #sva-blog .panel-default .panel-body{
  border:none;
  padding:15px 0;
}

.page-template-page_sva #sva-blog .gallery-single,
.page-template-page_sva-generica #sva-blog .gallery-single{
  margin-top:30px;
}

.page-template-page_sva #sva-blog .gallery-single .item,
.page-template-page_sva-generica #sva-blog .gallery-single .item{
  height: 250px;
}

.page-template-page_sva #sva-blog .gallery-single .item img,
.page-template-page_sva-generica #sva-blog .gallery-single .item img{
  height: 250px;
  width: auto;
}

.page-template-page_sva #sva-blog .owl-theme .owl-nav [class*="owl-"],
.page-template-page_sva-generica #sva-blog .owl-theme .owl-nav [class*="owl-"]{
  color: #fff;
  font-size: 60px;
  margin: 0 5px;
  padding: 0;
  background: transparent;
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
  position: absolute;
  left: 0;
  top: calc(50% - 0.55em);
  line-height: 1em;
  vertical-align: middle;
}
.page-template-page_sva #sva-blog .owl-theme .owl-nav .owl-next,
.page-template-page_sva-generica #sva-blog .owl-theme .owl-nav .owl-next{
  right: 0;
  left:auto;
}

.page-template-page_sva #sva-blog .owl-theme .owl-nav [class*="owl-"]:hover,
.page-template-page_sva-generica #sva-blog .owl-theme .owl-nav [class*="owl-"]:hover{
  background: transparent;
  color:#000;
}

/* HOVER MASTER */
#course-66618:hover h2 a,
#course-66618:hover p,
#course-66618:hover span,
#course-67788:hover h2 a,
#course-67788:hover p,
#course-67788:hover span,
#course-67793:hover h2 a,
#course-67793:hover p,
#course-67793:hover span{
  color: black;
}

/******************************************************************
        RESPONSIVE STYLESHEET
******************************************************************/

@media (min-width: 1440px) {
  .top-sede #map{
    width:100%;
    height: 223px;
  }


}
@media (max-width: 1440px) {
.migliori-header .migliori-image img{
  max-width: 100%;
  left:0;
}
}
@media (min-width: 1200px) {
  #sidebar-eventi  .container-tax .collapse{
    display: block!important;
    height: auto !important;
  }
  #sidebar-eventi  .container-tax h3.title-tax i{
    display:none;
  }

}
@media (max-width: 1760px) {
  header .search-again{
    display: none;
  }
}
@media (max-width: 1715px) {
  #logo {
    margin: 0 0 0 -110px;
  }
  .logo-sva-home{
    margin-left: -110px;
  }

  .course-item{
    padding-top: 70%;
  }

  .iper-grid{
    grid-template-columns: 1fr 1fr 1fr ;
  }
  .iper-grid.iper-grid-2{
    grid-template-columns: 1fr 1fr;
  }
  .iper-grid.iper-grid-4{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .iper-grid.iper-grid-5{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

}




@media (max-width: 1200px) {
  .home .didatticalinks li a,
  .home-shortlinks > * a{
    font-size: 1.5em;
    padding:12px 3px;
  }
  .course-item{
    padding-top: 80%;
  }
  .course-item p{
    height: 5em;
    overflow: hidden;
    top:auto;
    bottom:40px;
  }

  #sidebar-eventi  .container-tax h3.title-tax{
    cursor: pointer;
  }
  #sidebar-eventi  .container-tax h3.title-tax i{
    float:right;
  }
  #master-sedi  .sede-item{
    padding-top: 90%;
  }
  #master-sedi  .sede-item .sede-info{
    top:auto;
    bottom:40px;
  }
  .migliori-header .migliori-image img{
    max-width: 100%;
    left:0;
  }

  .page-template-page_landing .courses-list .course-item{
    padding-top:90%;
  }

  .rufacare-category-list li{
    width: 18%;
  }
}

@media (min-width: 992px) {
  .home-shortlinks > *:nth-child(4n+1){
    clear: both;
  }



}
@media (max-width: 1100px) {
  .course-item{
    padding-top: 100%;
  }
}
@media (max-width: 992px) {
  .home .didatticalinks li a,
  .home-shortlinks > * a{
    font-size: 1.4em;
  }

  article{
    font-size: 0.8em;
  }
  .post-list article p{
    font-size:1.7em;
  }
  .course-item{
    padding-top: 120%;
  }
  .post-list.row > *:nth-child(3n+1),
  .post-list .row > *:nth-child(3n+1){
    clear: none;
  }
  .post-list.row > *:nth-child(2n+1),
  .post-list .row > *:nth-child(2n+1){
    clear: both;
  }
  .course-item p{
    top:auto;
    bottom:40px;
    height: 5em;
    overflow: hidden;
  }
  .page-template-page_contacts .sede-item:nth-child(2n+1){
    clear: both;
  }
  #contacts #map-wrapper{
    height: 550px;
  }
  .partner-list > .row > *:nth-child(4n+1){
    clear: none;
  }
  .partner-list > .row > *:nth-child(3n+1){
    clear: both;
  }

  .top-sede #map{
    width:100%;
    height: 300px;
  }
  .top-sede #side-excerpt{
    font-family: "Cousine", monospace;
    font-size: 1.4em;
  }
  .page-template-page_landing .courses-list .course-item{
    padding-top:60%;
  }

  .rufacare-category-list li{
    width: 20%;
  }
  .eventi-list .meta-evento .data-ora-bar{
    display: inline-block;
  }

  .page-template-page_sva .small-description,
  .page-template-page_sva-generica .small-description{
    margin-top:20px;
    font-size: 1.7em;
    margin-bottom: 1em;
  }
  .page-template-page_sva .logo-sva,
  .page-template-page_sva-generica .logo-sva{
    margin-left:0;
    transform: rotate(0) ;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    -ms-transform: rotate(0);
  }

  .page-template-page_sva section#people h2,
  .page-template-page_sva-generica section#people h2{
    font-size: 2em;
  }

  .course-item ul.short-course-small-list{
    font-size: 1.4em;
    line-height: 1.2em;
  }



}
@media (max-width: 820px) {
  .course-item ul.short-course-small-list{
    font-size: 1.3em;
    line-height: 1.2em;
  }
}
@media (max-width: 926px) {
  .wrapper{
    padding: 0 15px 0 15px;
  }
  .header{
    padding-left: 80px;
  }
  .logo-sva-home{
    margin-left: -80px;
    max-width: 75px;
  }
  #logo {
    position: relative;
    margin: 0 0 0 -80px;
    width: 60px;
  }
  #logo i{
    display: block;
    height: 59px;
  }
  #logo i:before{
    font-size: 3.25em;
  }
  #rufa-logo{
    font-size: 2.35em;
    height: 59px;
  }
  .container-fluid > .navbar-collapse,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container > .navbar-header{
    margin-left: 0;
  }
  .navbar-center .img-support{
    max-height: 59px;
    max-width: 100%;
    display: block;
  }
  .navbar-header{
    float:left;
  }
  #main-menu .navbar-center{
    height: 83px;
  }
  .header .search-toggle{
    font-size: 3.8em;
  }
  #menu-menu-rufa li{
    width:100%;
  }
  .navbar-collapse.in{
    overflow: visible;
  }
  .header .navbar-toggle .icon-bar{
    width: 40px;
  }
  .header .navbar-toggle .icon-bar + .icon-bar{
    margin-top: 9px;
  }
  .header .navbar-right-block button.cls:after{
    font-size: 36px;

  }
  #menu-menu-rufa li a{
    padding-top:0;
  }

  .footer .row > *{
    display: block;
  }

  #box-video-home{
    margin-bottom: 30px;
  }

  .course-item{
    padding-top: 70%;
  }
  .course-item p{
    top:30%;
    height: 5em;
    overflow: hidden;
  }
  #master-sedi  .sede-item{
    padding-top: 70%;
  }
  #contacts #map-wrapper{
    height: 500px;
  }


  article.evento .container-tax.tipologie li i{
    font-size: 2.2em;
  }
  article.evento .meta-container{
    display: table;
    width:100%;
  }
  article.evento .meta-container > *{
    display: table-cell;
    width:50%;
  }
  .search-list article .row > *{
    display: block;
    float: none;
  }
  .search-list article  .entry-content{
    border:0;
  }
  .single .article-footer .info-box {
    font-size: 1.6em;
  }

  ul.letter-list.affix{
    right: 15px;
  }
  ul.letter-list li a{
    text-align: right;
    font-size: 1.4em;
    padding:2px 0;
  }

  ul.letter-list li.active a:after,
  ul.letter-list li:hover a:after{
    left:auto;
    right: 15px;
  }

  .page-ammissioni .ammissioni-tab{
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    writing-mode: horizontal-tb;
    transform-origin: top right;
    width: 100%;
    left:15px;
    position: relative;
    display: block;
  }
  .page-ammissioni .ammissioni-tab li{

    display: block;
    float: none;
    border-left: none;
    border-top: none;
  }
  .page-ammissioni .ammissioni-tab li:first-child{
    border-top: none;
  }
  .page-ammissioni .ammissioni-tab li a{
    border:0;
    background: transparent;
    font-family: 'Cousine',sans-serif;
    font-size: 1.4em;
    text-align: left;
    color:#c8c8c8;
    padding:0 15px 10px 15px ;
    text-transform: uppercase;
    text-decoration: underline;
  }
  .page-ammissioni .ammissioni-tab li a:hover,
  .page-ammissioni .ammissioni-tab li.active a{
    color:#000;
    background: transparent;
    border: none;
    font-weight: bold;
  }
  .page-ammissioni .ammissioni-tab li a:hover:after,
  .page-ammissioni .ammissioni-tab li.active a:after{
    content:'>';
    position:absolute;
    color:#000;
    left:0;
    font-family: 'Cousine', monospace;
    font-weight: normal;
    top:0;
  }

  .tools a{
    font-size: 13px;
  }
  #tools_sketch{
    height: 400px;
  }
  .partner-list > *:nth-child(3n+1){
    clear: none;
  }
  .partner-list > *:nth-child(4n+1){
    clear: both;
  }

  #erasmus-list .wrap-map{
    padding-right: 15px;
    padding-top:100%;
  }
  #erasmus-list #map {
    width: calc(100% - 30px);
  }
  #erasmus-list .erasmus-list{
    overflow: auto;
    padding:15px;
    width:100%;
    display: none;
    font-size: 0.8em;
  }
  #erasmus-list .erasmus-wrap{
    overflow: auto;
    padding:0;
  }
  a.download-btn{
    width:100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .top-sede #map{
    height: 200px;
  }

  .migliori-header > .row{
    display: block;
  }
  .migliori-header > .row > *{
    display: block;
    float:none
  }

  .migliori-header .migliori-image img{
    max-width: 100%;
    left:0;
  }
  .migliori-header > .row > .col-sm-7{
    background: #f5f5f5;
    padding:15px 5% 50px 5%;
  }

  .sidebar .fp-soocial-widget{
    border-left: 0;
    margin-left: 0;
    margin-top: 20px;
    padding-left: 0;
  }

  .page-template-page_landing .courses-list .course-item{
    padding-top:40%;
  }
  .rufacare-category-list{
    display:block;
    clear:both;
  }
  .rufacare-category-list:after{
    display:block;
    content:" ";
    clear:both;
  }
  .rufacare-category-list li{
    width: 100%;
  }
  .rufacare-category-list li a{
    width: 100%;
  }

  .page-template-page_sva section#people::before,
  .page-template-page_sva-generica section#people::before{
    width: calc(100% + 105px);
    left: -90px;
  }


  .page-template-page_sva section#people h2,
  .page-template-page_sva-generica section#people h2{
    font-size: 1.8em;
  }
  .page-template-page_sva section#people .item-people .box-image,
  .page-template-page_sva-generica section#people .item-people .box-image{
    display: block;
    position: relative !important;
    left:0;
    margin:0 !important;
  }
  .page-template-page_sva section#people .item-people .box-image img,
  .page-template-page_sva-generica section#people .item-people .box-image img{
    margin:0 0 10px 0 !important;
  }

  .page-template-page_sva section#people h2,
  .page-template-page_sva-generica section#people h2{
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
  }
  .page-template-page_sva section#people.open h2,
  .page-template-page_sva-generica section#people.open h2{
    margin-bottom: 2em;
  }

  .page-template-page_sva section#people h2:before,
  .page-template-page_sva-generica section#people h2:before{
    position:absolute;
    right: 0;
    font-family: "Flama";
    font-weight: lighter;
    content:'↓';
    top: 0;
    font-size: 2.5em;
  }
  .page-template-page_sva section#people.open h2:before,
  .page-template-page_sva-generica section#people.open h2:before{
    transform: rotate(180deg) ;
    -webkit-transform: rotate(180deg) ;
    -moz-transform: rotate(180deg) ;
    -o-transform: rotate(180deg) ;
    -ms-transform: rotate(180deg) ;
  }

  .page-template-page_sva section#people > .row,
  .page-template-page_sva-generica section#people > .row{
    display: none;
  }
  .page-template-page_sva section#people.open > .row,
  .page-template-page_sva-generica section#people.open > .row{
    display: table;
  }

  .page-template-page_sva #sva-blog .panel-default > .panel-heading a,
  .page-template-page_sva-generica #sva-blog .panel-default > .panel-heading a{
    font-size: 1.8em;
  }
}
@media (max-width: 580px) {
  .course-item{
    padding-top: 130%;
  }
  .course-item.course-short-list{
    padding-top:100%;
  }
  .item-docente > .row > *{
    float:none;width: 100%;
  }
  #master-sedi  .sede-item{
    padding-top: 80%;
  }
  .page-template-page_landing .courses-list .course-item{
    padding-top:80%;
  }
  .course-item ul.short-course-small-list{
    font-size: 1.4em;
    line-height: 1.3em;
  }
}


@media (max-width: 480px) {
  .partner-list > .row > *{
    width: 100%;
    float:none;
  }
  #master-sedi .sede-item{
    padding-top: 110%;
  }
  .page-template-page_landing .courses-list .course-item{
    padding-top:80%;
  }
  .course-item.course-short-list{
    padding-top:160%;
  }
}

.flickr-embed-frame.embed-responsive-item{
 width:100% !important;
  height: 100% !important;
}

.su-slider-slide-title,
.su-slider-pagination{
  display:none !important;
}

/* Pagina Area Riservata */
.reserved-list .panel{
  margin:0 !important;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
  box-shadow:none;
  border:0 !important;
}
.reserved-list  .panel-heading{
 padding-top:0;
  padding-bottom:0;
}
.reserved-list .panel-heading h4.panel-title{
  border-top: 2px solid #000;
}
.reserved-list .panel-heading h4.panel-title a{
  background: #000;
  color:#fff;
  display: block;
  font-weight: 500;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
}
.reserved-list .panel-heading h4.panel-title a.collapsed{
  background: transparent none repeat scroll 0 0;
  color:#000;
  text-decoration: none;
}
.reserved-list .panel-heading h4.panel-title a:hover{
  color:#fff;
  background: #000;
  text-decoration: none;
}
.reserved-list .panel-heading h4.panel-title a:active,
.reserved-list .panel-heading h4.panel-title a:focus{
  text-decoration: none;
}

.reserved-list .panel-body{
  border: 1px solid #f5f5f5;
  border-top:0 !important;
}
.reserved-list .panel-body ul{
  list-style: none;
}
.reserved-list .panel-body ul:after{
  clear:both;
  display: block;
  content:" ";
}
.reserved-list .panel-body ul li{
  font-size: 15px;
  line-height: 1em;
  margin:15px 0;
  width:100%;
  display: block;
  float:left;
}
.reserved-list .panel-body ul.half li{
  width: 50%;
}
.reserved-list .panel-body ul.half li:nth-child(2n+1){
  clear: both;
}
.reserved-list .panel-body .grouped{
  padding:10px 0 10px 40px;
}
.reserved-list .panel-body .grouped h4{
  margin:0;
}
.reserved-list .panel-body .grouped ul{
  padding:0;
}
.reserved-list .panel-body .grouped ul li{
  padding:5px 0;
  margin:0;
}

.grecaptcha-badge{
  width:1px !important;
  height:1px !important;
  visibility: hidden;
}
.wpcf7-select{
  width:100%;
  height: 29px;
}

.responsive-image{
	width: 100%;
	height: auto;
}

.home-video-container{
  position: relative;
  overflow: hidden;
  width: 100%;
}

.video-container{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1024px) {
  .sticky_sidebar {
    position: fixed;
    top: 0;
    width: 17.2%;
  }

  .sticky_sidebar_course {
    position: fixed;
    top: 30px;
    width: inherit;
    max-width: 337px;
  }

  .iper_icon:hover .over{display: block; }

  .iper_icon .over{
    display: none;
    position: absolute;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'Flama',serif;
    font-weight: 500;
    text-align: center;
    padding: 14px 10px;
    height: 50px;
    color: #fff;
    background: #000;
    right: 9%;
    z-index: 10000000;
    width: fit-content;
    white-space: nowrap;
  }

  .sidebar-item .iper-icon{
    position: relative;
  }
}


@media screen and (max-width: 1024px){

	.page-id-29801 tbody td{
		display: block !important;
	}

  .iper_icon .over{
    position: fixed;
    width: 60px;
    text-transform: uppercase;
    font-size: 10px;
    font-family: 'Flama',serif;
    font-weight: 700;
    padding-top: 55px;
    text-align: center;
  }

  .iper_icon{
    width: 60px;
  }

  .sidebar-item{
    padding-bottom: 20px;
  }
}

.iper_icon{
  position: fixed;
}

.bx-wrapper .bx-controls-direction a{
  z-index: 1 !important;
}

.text_row{
  display: none;
  max-width: fit-content;
}
.title_row:hover{
  cursor: pointer;
  text-decoration: underline;
}




/* NUOVA HOME PAGE*/
.bx-wrapper{
  margin: 0 auto 30px;
}
.bx-wrapper .bx-pager{
  bottom: 20px;
}
.box-didattica{
  background-color: #000000;
  color: #ffffff;
  padding: 6px 18px;
  min-height: 125px;
  max-height: 137px;
}
.box-didattica h4{
  font-size: 2em;
  font-weight: 400;
}
.box-didattica h3{
  line-height: 30px;
  font-weight: bold;
  margin-top: 10px;
}
.box-didattica a{
  color: #ffffff;
}
.box-didattica h3:hover{
  text-decoration: underline;
}
.box-didattica a:hover{
  color: #ffffff;
}
.didattica-links{
  cursor: pointer;
  position: relative;
}
.didattica-links h3{
  font-size: 2.2em;
  line-height: 30px;
  font-weight: bold;
  padding: 46px 20px;
  background: #f5f5f5;
  border: 0;
  border-bottom: 2px solid #000000;
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
}
.spanish_h3{
  font-size: 1.8em !important;
}
.didatticalinksnew{
  position: absolute;
  display: none;
  padding: 0;
  width: 100%;
  z-index: 99999;
}
.didatticalinksnew li{
  display: block;
  font-size: 22px;
  line-height: 30px;
  font-weight: bold;
  padding: 20px 20px;
  background: #f5f5f5;
  border: 0;
  border-bottom: 2px solid #000000;
  margin-top: 0;
}
.didatticalinksnew li:hover,
.didatticalinksnew li:hover > a{
  background: #000000;
}
.didatticalinksnew li:hover > a{
  color: #ffffff;
}
.didatticalinksnew li a:hover{
  text-decoration: none;
}
#home-slider-new .row{
  background: url("https://www.unirufa.it/wp-content/uploads/2021/07/bg-quote.jpg") no-repeat;
  background-position: right;
  text-align: left;
  display: flex;
}
.quote-home h2{
  font-family: "Volkhov";
  font-size: 3.4em;
  line-height: 1.2em;
  font-weight: 600;
  margin: 0;
  padding: 16px 15px;
}
@media screen and (min-width: 1280px) and (max-width: 1599px) {
  .quote-home h2{
    font-size: 2.4em;
    padding: 10px 15px;
  }
  .didattica-links h3{
    padding: 46px 20px;
  }
  .spanish_h3{
    font-size: 1.6em !important;
  }
}
@media screen and (max-width: 1024px) and (max-width: 1279px) {
  .quote-home h2{
    font-size: 1.8em;
    padding: 16px 10px;
  }
  .home-icons .icons-container p{
    font-size: 1.8em !important;
    padding-left: 10px !important;
  }
}
@media screen and (max-width: 768px){
  .footer .credits .crediti{
    position: relative;
  }
}
#info-studenti .row .col{
  padding-bottom: 32px;
}
#info-corsi .row .col{
  padding-bottom: 40px;
}
.image-container-corsi,
.image-container-studenti{
  position: relative;
  width: 100%;
  padding-top: 41.66%;
  margin-bottom: 20px;
}
.image-container-corsi img,
.image-container-studenti img{
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
}
.image-container-corsi h3{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  color: white;
  margin: 0;
}
.quote-home .row{
  background: url("https://www.unirufa.it/wp-content/uploads/2021/01/bg-quote.jpg") no-repeat;
  background-position: center;
  text-align: center;
}
.quote-home .row h2{
  font-family: "Volkhov";
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
  padding: 15px 0;
}
.quote-home .row h2 span{
  font-family: "Volkhov";
  font-size: 110px;
}
.quote-home .row h2 .quote-start{
  padding-bottom: 60px;
}
.quote-home .row h2 .quote-end{
  padding-top: 60px;
}
.overlay-corsi{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #393939;
}
.image-container-corsi:hover .overlay-corsi{
  opacity: 0.5;
  cursor: pointer;
}
.home-icons{
  padding-top: 30px;
  padding-bottom: 40px;
}
.home-icons .icons-container{
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-right: 2px solid black;
}
.home-icons .icons-container p{
  color: #000000;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 70px;
  font-weight: 600;
  padding-left: 20px;
}
.home-icons .icons-container:hover > p{
  text-decoration: underline;
}

.page-template-page_home-new-a .post-list article .box-image{
  display: block;
  position: relative;
}

.page-template-page_home-new-b .post-list article .box-image{
  display: block;
  position: relative;
}

.entry-title a:hover{
  text-decoration: underline !important;
}

.iper-grid{
  margin-left: -15px;
  margin-right: -15px;
  grid-auto-rows: minmax(max-content, 1fr);
  grid-template-columns: 1fr;
  display: grid;
}

.iper-grid.iper-grid-2,.iper-grid.iper-grid-4,.iper-grid.iper-grid-5{
  grid-template-columns: 1fr;
}

.iper-grid .iper-item{
  /*width: 100%;*/
}
.iper-grid a,.iper-grid a:hover, .iper-grid a:active, .iper-grid a:visited{text-decoration: none !important;}

.iper-grid .iper-item .iper-content{
  margin: 7.5px 15px;
  min-height: calc(100% - 15px);
  display: flex;
  flex-direction: column;
  border-bottom: #000 solid 0.14em;
  padding: 10px;
}

.iper-grid .iper-item h3{
  font-family: "Flama", Arial, sans-serif;
  font-weight: bold;
  font-size: 1em;
  line-height: 1.2em;
  color: black;
  margin: 0;
}
.iper-grid .iper-item h4{
  font-family: Cousine, serif;
  font-weight: 300;
  font-size: 1em;
  line-height: 1.2em;
  color: black;
  margin: 0;
}
.iper-grid .iper-item p{
  font-family: "Flama", Arial, sans-serif;
  font-size: 0.9em;
  line-height: 1em;
  color: black;
  font-weight: 300;
  margin: 0;
  margin-top: auto;
  padding-top: 20px;
}
.iper-grid .iper-item p b{
  font-weight: bold;
  padding-right: 10px;
}
.iper-grid .iper-item:hover {}
.iper-grid .iper-item:hover .iper-content { background: #000;}
.iper-grid .iper-item:hover h3{ color: #fff;}
.iper-grid .iper-item:hover h4{ color: #fff;}
.iper-grid .iper-item:hover p{ color: #fff;}

.iper-grid .iper-item-blue {}
.iper-grid .iper-item-blue .iper-content {background: #fff;border-bottom-color:#000;}
.iper-grid .iper-item-blue h3{color: #007AC9;}
.iper-grid .iper-item-blue h4{color: #007AC9;}
.iper-grid .iper-item-blue p{color: #000;}
.iper-grid .iper-item-blue:hover {}
.iper-grid .iper-item-blue:hover .iper-content {background: #007AC9;border-bottom-color:#007AC9;}
.iper-grid .iper-item-blue:hover h3{color: #fff;}
.iper-grid .iper-item-blue:hover h4{color: #fff;}
.iper-grid .iper-item-blue:hover p{color: #fff;}

.iper-grid .iper-item-blue-fill {}
.iper-grid .iper-item-blue-fill  .iper-content { background: #007AC9; border-bottom-color:#007AC9; }
.iper-grid .iper-item-blue-fill h3{color: #F68145; font-size: 1.5em; line-height: 1.6em;}
.iper-grid .iper-item-blue-fill h4{color: #F68145;}
.iper-grid .iper-item-blue-fill p{color: #fff;}
.iper-grid .iper-item-blue-fill:hover {}
.iper-grid .iper-item-blue-fill:hover .iper-content {background: #fff;border-bottom-color:#fff;}
.iper-grid .iper-item-blue-fill:hover h3{color: #007AC9;}
.iper-grid .iper-item-blue-fill:hover h4{color: #007AC9;}
.iper-grid .iper-item-blue-fill:hover p{color: #000;}

.iper-grid .iper-item-green {}
.iper-grid .iper-item-green .iper-content {background: #fff;border-bottom-color:#000;}
.iper-grid .iper-item-green h3{color: #00B450;}
.iper-grid .iper-item-green h4{color: #00B450;}
.iper-grid .iper-item-green p{color: #000;}
.iper-grid .iper-item-green:hover {}
.iper-grid .iper-item-green:hover .iper-content {background: #00B450;border-bottom-color:#00B450;}
.iper-grid .iper-item-green:hover h3{color: #fff;}
.iper-grid .iper-item-green:hover h4{color: #fff;}
.iper-grid .iper-item-green:hover p{color: #fff;}

.iper-grid .iper-item-green-fill {}
.iper-grid .iper-item-green-fill  .iper-content { background: #00B450; border-bottom-color:#00B450; }
.iper-grid .iper-item-green-fill h3{color: #F44D94; font-size: 1.5em; line-height: 1.6em;}
.iper-grid .iper-item-green-fill h4{color: #F44D94;}
.iper-grid .iper-item-green-fill p{color: #fff;}
.iper-grid .iper-item-green-fill:hover {}
.iper-grid .iper-item-green-fill:hover .iper-content {background: #fff;border-bottom-color:#fff;}
.iper-grid .iper-item-green-fill:hover h3{color: #00B450;}
.iper-grid .iper-item-green-fill:hover h4{color: #00B450;}
.iper-grid .iper-item-green-fill:hover p{color: #000;}

.iper-grid .iper-item-orange {}
.iper-grid .iper-item-orange .iper-content {background: #fff;border-bottom-color:#000;}
.iper-grid .iper-item-orange h3{color: #FF7800;}
.iper-grid .iper-item-orange h4{color: #FF7800;}
.iper-grid .iper-item-orange p{color: #000;}
.iper-grid .iper-item-orange:hover {}
.iper-grid .iper-item-orange:hover .iper-content {background: #FF7800;border-bottom-color:#FF7800;}
.iper-grid .iper-item-orange:hover h3{color: #fff;}
.iper-grid .iper-item-orange:hover h4{color: #fff;}
.iper-grid .iper-item-orange:hover p{color: #fff;}

.iper-grid .iper-item-orange-fill {}
.iper-grid .iper-item-orange-fill  .iper-content { background: #FF7800; border-bottom-color:#FF7800; }
.iper-grid .iper-item-orange-fill h3{color: #03588E; font-size: 1.5em; line-height: 1.6em;}
.iper-grid .iper-item-orange-fill h4{color: #03588E;}
.iper-grid .iper-item-orange-fill p{color: #fff;}
.iper-grid .iper-item-orange-fill:hover {}
.iper-grid .iper-item-orange-fill:hover .iper-content {background: #fff;border-bottom-color:#fff;}
.iper-grid .iper-item-orange-fill:hover h3{color: #FF7800;}
.iper-grid .iper-item-orange-fill:hover h4{color: #FF7800;}
.iper-grid .iper-item-orange-fill:hover p{color: #000;}

.iper-grid .iper-item-red {}
.iper-grid .iper-item-red .iper-content {background: #fff;border-bottom-color:#000;}
.iper-grid .iper-item-red h3{color: #EB1F4A;}
.iper-grid .iper-item-red h4{color: #EB1F4A;}
.iper-grid .iper-item-red p{color: #000;}
.iper-grid .iper-item-red:hover {}
.iper-grid .iper-item-red:hover .iper-content {background: #EB1F4A;border-bottom-color:#EB1F4A;}
.iper-grid .iper-item-red:hover h3{color: #fff;}
.iper-grid .iper-item-red:hover h4{color: #fff;}
.iper-grid .iper-item-red:hover p{color: #fff;}

.iper-grid .iper-item-red-fill {}
.iper-grid .iper-item-red-fill  .iper-content { background: #EB1F4A; border-bottom-color:#EB1F4A; }
.iper-grid .iper-item-red-fill h3{color: #69C3A9; font-size: 1.5em; line-height: 1.6em;}
.iper-grid .iper-item-red-fill h4{color: #69C3A9;}
.iper-grid .iper-item-red-fill p{color: #fff;}
.iper-grid .iper-item-red-fill:hover {}
.iper-grid .iper-item-red-fill:hover .iper-content {background: #fff;border-bottom-color:#fff;}
.iper-grid .iper-item-red-fill:hover h3{color: #EB1F4A;}
.iper-grid .iper-item-red-fill:hover h4{color: #EB1F4A;}
.iper-grid .iper-item-red-fill:hover p{color: #000;}


.iper-grid .iper-item-purple {}
.iper-grid .iper-item-purple .iper-content {background: #fff;border-bottom-color:#000;}
.iper-grid .iper-item-purple h3{color: #80379B;}
.iper-grid .iper-item-purple h4{color: #80379B;}
.iper-grid .iper-item-purple p{color: #000;}
.iper-grid .iper-item-purple:hover {}
.iper-grid .iper-item-purple:hover .iper-content {background: #80379B;border-bottom-color:#80379B;}
.iper-grid .iper-item-purple:hover h3{color: #fff;}
.iper-grid .iper-item-purple:hover h4{color: #fff;}
.iper-grid .iper-item-purple:hover p{color: #fff;}

.iper-grid .iper-item-purple-fill {}
.iper-grid .iper-item-purple-fill  .iper-content { background: #80379B; border-bottom-color:#80379B; }
.iper-grid .iper-item-purple-fill h3{color: #8DC477; font-size: 1.5em; line-height: 1.6em;}
.iper-grid .iper-item-purple-fill h4{color: #8DC477;}
.iper-grid .iper-item-purple-fill p{color: #fff;}
.iper-grid .iper-item-purple-fill:hover {}
.iper-grid .iper-item-purple-fill:hover .iper-content {background: #fff;border-bottom-color:#fff;}
.iper-grid .iper-item-purple-fill:hover h3{color: #80379B;}
.iper-grid .iper-item-purple-fill:hover h4{color: #80379B;}
.iper-grid .iper-item-purple-fill:hover p{color: #000;}

.iper-grid .iper-item-black-fill {}
.iper-grid .iper-item-black-fill  .iper-content { background: #000; border-bottom-color:#000; }
.iper-grid .iper-item-black-fill h3{color: #fff; }
.iper-grid .iper-item-black-fill h4{color: #fff;}
.iper-grid .iper-item-black-fill p{color: #fff;}
.iper-grid .iper-item-black-fill:hover {}
.iper-grid .iper-item-black-fill:hover .iper-content {background: #fff;border-bottom-color:#000;}
.iper-grid .iper-item-black-fill:hover h3{color: #000;}
.iper-grid .iper-item-black-fill:hover h4{color: #000;}
.iper-grid .iper-item-black-fill:hover p{color: #000;}


.iper-grid .iper-item-button { padding: 0; }
.iper-grid .iper-item.iper-item-button { padding-bottom: 0; }
.iper-grid .iper-item.iper-item-button .iper-content {position: static; width: auto;
  height: auto;}
.iper-grid .iper-item-button .iper-content {background: #fff;border-bottom: #000 solid 1px;border-top: #000 solid 1px;
  padding-top: 1.4em;
  padding-bottom: 1.4em;

}
.iper-grid .iper-item-button h3{color: #000;}
.iper-grid .iper-item-button h4{color: #000; text-transform: uppercase; padding-bottom: 20px;
  adding: 0px; margin-bottom:
        auto;margin-top: auto; text-align: center;font-weight: 500; line-height: 1.3em;}
.iper-grid .iper-item-button p{color: #000; padding: 0; text-transform: uppercase; margin-bottom:
        auto;margin-top: auto; text-align: center; font-size: 2em; font-weight: 500; line-height: 1.3em;}
.iper-grid .iper-item-button:hover {}
.iper-grid .iper-item-button:hover .iper-content {background: #000;border-bottom-color:#000;border-top-color:#000;}
.iper-grid .iper-item-button:hover h3{color: #fff;}
.iper-grid .iper-item-button:hover h4{color: #fff;}
.iper-grid .iper-item-button:hover p{color: #fff;}



.iper-grid .iper-item-button-black { padding: 0; }
.iper-grid .iper-item.iper-item-button-black { padding-bottom: 0; }
.iper-grid .iper-item.iper-item-button-black .iper-content {position: static; width: auto;
  height: auto;}
.iper-grid .iper-item-button-black .iper-content {background: #000;border-bottom: #000 solid 1px;border-top: #000 solid 1px;
  padding-top: 1.4em;
  padding-bottom: 1.4em;

}
.iper-grid .iper-item-button-black h3{color: #fff;}
.iper-grid .iper-item-button-black h4{color: #fff; text-transform: uppercase; padding-bottom: 20px;
  adding: 0px; margin-bottom: auto;margin-top: auto; text-align: center;font-weight: 500; line-height: 1.3em;}
.iper-grid .iper-item-button-black p{color: #fff; padding: 0px; text-transform: uppercase; margin-bottom:
        auto;margin-top: auto; text-align: center; font-size: 0.8em;font-weight: 500; line-height: 1.3em;}
.iper-grid .iper-item-button-black:hover {}
.iper-grid .iper-item-button-black:hover .iper-content {background: #fff;border-bottom-color:#000;border-top-color:#000;}
.iper-grid .iper-item-button-black:hover h3{color: #000;}
.iper-grid .iper-item-button-black:hover h4{color: #000;}
.iper-grid .iper-item-button-black:hover p{color: #000;}



.iper-grid .iper-item-button-transparent { padding: 0; }
.iper-grid .iper-item.iper-item-button-transparent { padding-bottom: 0; }
.iper-grid .iper-item.iper-item-button-transparent .iper-content {position: static; width: auto;
  height: auto;}
.iper-grid .iper-item-button-transparent .iper-content {background:transparent;border-bottom: #fff solid 1px;border-top: #fff solid 1px;
  padding-top: 0.75em;
  padding-bottom: 0.75em;

}
.iper-grid .iper-item-button-transparent h3{color: #fff;}
.iper-grid .iper-item-button-transparent h4{color: #fff; text-transform: uppercase; padding-bottom: 20px;
  adding: 0px; margin-bottom: auto;margin-top: auto; text-align: center;font-weight: 500; line-height: 1.3em;}
.iper-grid .iper-item-button-transparent p{color: #fff; padding: 0; text-transform: uppercase; margin-bottom:
        auto;margin-top: auto; text-align: center; font-size: 0.8em;font-weight: 500; line-height: 1.3em;}
.iper-grid .iper-item-button-transparent:hover {}
.iper-grid .iper-item-button-transparent:hover .iper-content {background: #000;border-bottom-color:#000;border-top-color:#000;}
.iper-grid .iper-item-button-transparent:hover h3{color: #fff;}
.iper-grid .iper-item-button-transparent:hover h4{color: #fff;}
.iper-grid .iper-item-button-transparent:hover p{color: #fff;}

/* MOBILE*/
@media screen and (max-width: 926px) {

  .page-template-page_course #related-post{
    background: #f5f5f5;
    margin-bottom: -20px;
    margin-left: 0;
    padding-left: 0;
    margin-right: 0;
    padding-right: 0;
  }

  #rufa-logo{
    display: none;
  }

  .header .navbar-center button.cls:after{
    font-family: 'rufa';
    content: '\e800';
    display: block;
    position:absolute;
    font-size: 34px;
    top:0;
    color:#000;
    background: #fff;
    z-index: 51;
    line-height: 1em;
    padding:3px;
  }
  .header .navbar-center button.cls *{
    visibility: hidden;
    opacity: 0;
  }

  .header .navbar-center {
    padding-bottom: 59px;
  }

  .header .search-toggle,
  .header .navbar-toggle{
    display: block !important;
    position: relative;
    margin-top: 22px;
    float: right;
    border: 0;
    padding: 5px;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  .iper_icon{
    position: relative;
  }

  .iper_icon .over{
    display: none;
  }

  .sub-menu {
    display: none;
  }

  #menu-menu-rufa li ul,
  #menu-menu-rufa li ul li ul{
    padding: 20px 0 20px 0;
  }

  #main-menu .navbar-center-2{
    position: relative;
    display: block;
    z-index: 99;
    padding-bottom: 80px;
  }

  #main-menu.smenu #menu-menu-rufa {
    display: grid;
    padding-top: 90px;
  }

  #menu-menu-rufa li {
    overflow-wrap: bre;
    padding: 15px 15px 0 15px;
    width: 100%;
  }

  #menu-menu-rufa li a {
    color: #000;
    font-weight: 400;
    font-size: 2.6em;
    text-transform: uppercase;
    line-height: 1.2em;
    padding: 0;
    width: 100%;
    display: block;
    overflow-wrap: break-word;
  }

  #menu-menu-rufa li ul li a {
    padding: 5px 0;
    font-size: 2em;
    line-height: 1.2em;
    text-transform: none;
    color: #000;
    font-weight: 300;
    margin: 0;
    border: none;
  }

  #menu-menu-rufa li a:hover {
    font-weight: bold;
    text-decoration: underline;
  }

  #menu-menu-rufa li ul li a:hover {
    font-weight: bold;
  }
  #btn-colloquio{
    display: none;
  }
  #btn-openday{
    display: none;
  }
  #btn-ammissioni{
    display: none;
  }
  #btn-meet{
    display: none;
  }
  #btn-biblioteca{
    display: none;
  }
  #btn-erasmus{
    display: none;
  }
  #btn-stage{
    display: none;
  }

  .block-menu .private-link{
    display: none;
  }

  .header #language-sidebar{
    display: flex;
    top: 100px;
    right: 20px;
  }

  .block-menu .menu .sidebar-item #btn-areariservata{
    display: none !important;
  }

  .header #language-sidebar img,
  .header #menu-sidebar img{
    width: 36px !important;
    height: 36px !important;
  }

  .header #language-sidebar ul{
    display: flex;
  }

  #home-slider-new .row{
    display: block;
  }

  #home-slider-new .bx-wrapper .bx-viewport{
    max-height: 200px;
  }

  .box-didattica h4{
    font-size: 1.4em;
  }

  .quote-home .row h2{
    font-size: 20px;
    line-height: 24px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .quote-home .row h2 img{
    height: 24px;
  }

  .quote-home{
    height: auto;
    padding: 0 0 30px;
  }

  .home-icons .icons-container{
    border-right: none;
  }

  .didatticalinksnew{
    position: relative;
  }

  .home-video .widget_newsletterwidgetcappelli h3{
    font-size: 2em;
  }
  .home-video .widget_newsletterwidgetcappelli p{
    font-size: 1.5em;
  }

  .didattica-links h3{
    font-size: 1.4em;
    line-height: 20px;
  }
  .didattica-links h3 img{
    height: 20px;
  }

  .didatticalinksnew li{
    font-size: 14px;
    line-height: 20px;
    padding: 10px 10px;
  }

  .quote-home{
    background: url("https://www.unirufa.it/wp-content/uploads/2021/07/bg-quote.jpg") no-repeat;
    background-position: right;
    text-align: left;
  }
}


@media screen and (min-width: 927px) {
  .sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 90%;
  }

  #main-menu.smenu #menu-menu-rufa {
    display: grid;
    padding-top: 15px;
  }

  #menu-menu-rufa li {
    padding: 15px 15px 0 15px;
    width: 33%;
  }

  #menu-menu-rufa li a {
    color: #000;
    font-weight: 300;
    font-size: 3.8em;
    text-transform: uppercase;
    line-height: 1.2em;
    padding: 0;
    width: 100%;
    display: block;

  }

  #menu-menu-rufa li ul li a {
    padding: 5px 0;
    font-size: 2.5em;
    line-height: 1.2em;
    text-transform: none;
    color: #000;
    font-weight: 300;
    margin: 0;
    border: none;
  }

  #menu-menu-rufa li a:hover {
    font-weight: bold;
    text-decoration: underline;
  }

  #menu-menu-rufa li ul li a:hover {
    font-weight: bold;
  }

  .header .navbar-right-block{
    position:absolute;
    right:-60px;
    top:30px;
  }

  .iper-grid{
    grid-template-columns: 1fr 1fr;
  }
  .iper-grid.iper-grid-2{
    grid-template-columns: 1fr 1fr;
  }
  .iper-grid.iper-grid-4{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .iper-grid.iper-grid-5{
    grid-template-columns: 1fr 1fr 1fr;
  }
  .iper-grid .iper-item{
    position: relative;
    padding-bottom: 56.22%;
  }
  .iper-grid .iper-item .iper-content{
    position: absolute;
    top:0;
    left: 0;
    width: calc(100% - 7.5px);
    height: calc(100% - 7.5px);
  }


}

@media screen and (min-width: 927px) and (max-width: 1023px) {
  #menu-menu-rufa li a {
    color: #000;
    font-weight: 300;
    font-size: 2.3em;
    text-transform: uppercase;
    line-height: 1em;
    padding: 0;
    width: 100%;
    display: block;

  }

  #menu-menu-rufa li ul li a {
    padding: 5px 0;
    font-size: 2em;
    line-height: 1em;
    text-transform: none;
    color: #000;
    font-weight: 300;
    margin: 0;
    border: none;
  }
}


.intl-tel-input,
.intl-tel-input.allow-dropdown input, .intl-tel-input.allow-dropdown input[type=tel], .intl-tel-input.allow-dropdown input[type=text], .intl-tel-input.separate-dial-code input, .intl-tel-input.separate-dial-code input[type=tel], .intl-tel-input.separate-dial-code input[type=text]{
  width: 100%;
}

/* FOOTER MENU */
#outer-footer .row{
  border-bottom: 2px solid #fff;
  padding-bottom: 30px;
}
.footer-menu{
  display: inline;
}
.footer-menu .menu-item-has-children a,
#menu-item-142733 a{
  font-weight: bold;
  text-transform: uppercase;
}
.footer-menu .sub-menu{
  display: inline;
  position: relative;
  left: 0;
  top: 5px;
  width: 100%;
}
.footer-menu .sub-menu a{
  font-weight: normal;
  text-transform: none;
}
.footer-menu li, .footer-menu ul{
  list-style: none;
}
#menu-item-57505,
#menu-item-142733{
  margin-bottom: 25px;
}

/* TIKTOK ICON */
.fa.fa-tiktok{
  background: url(../images/tiktok.svg) no-repeat;
  background-size: contain;
  width: 29px;
  height: 25px;
}
.fa.fa-tiktok:hover{
  opacity: 0.8;
}
.sidebar .fp-soocial-widget .fa.fa-tiktok{
  background: url(../images/tiktok-black.svg) no-repeat;
  background-size: cover;
}


