/*
 Theme Name:   Irpi
 Description:  Irpi theme
 Template:     Slide
 Version:      1.0.0
*/

/* INDEX:

    =GENERAL
    =LAYOUT
    =HEADER
    =MENUS
    =POST
    =SITEMAP
    =CONTACT FORM
    =SLIDER
    =WP-PAGENAVI
    =FOOTER
    =WIDGETS
    =COMMENTS
*/

/* =GENERAL
-------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=Roboto');

/* print */

 @media print {

  #logocnr,
  a#arearis,
  #search,
  #lang_sel_list,
  #fontsize,
  .videohp,
  .widget-container #widget-easy-twitter-feed-widget-kamn-2,
  .widget-container #text-2,
  #sidebar-primary,
  #tabs,
.menu-secondary-responsive-container,
.menu-secondary-container,
.header-right
  {
        display: none;
  }


}


html {
    /* impostato staticamente via CSS a 62.5%, 93.75% e 125% con i pulsanti di accessibilita' */
    font-size:75%;
}

body {
    /* background: #E1E1E1 url(images/background.jpg) left top repeat-x; */
    background: #e1e1e1;
    color: #555555;
}

small, sub, sup { font-size: .75em }
sub             { vertical-align: sub }
sup             { vertical-align: super }

body, .logo h1.site_title, .logo h2.site_description, .fp-title, .posts-widgettitle, .posts-widget-entry, .comments-widget-entry, .tabs-widget li a, .tweets-widget ul, .fn, .fn a:link, .fn a:hover, .fn a:visited {
    font-family: 'Roboto', sans-serif;
}

div#responsive-menu {
    display: none;
}

a {
    color: #79ba5c;
    text-decoration: underline;
}

a:hover, a:focus {
    color: #88d167;
    text-decoration: none;
}

a:focus {
    outline: none;
}

/* Eventi */

.single-tribe_events .tribe-events-sub-nav {
    display: none;
}

.tribe-events-meta-group .url {
    overflow: hidden;
}

.tribe-events-single-event-title {
    font-weight: bold;
}

.tribe-events-schedule h2 {
    font-size: 1.6em;
    font-weight: normal !important;
}

#tribe-events-pg-template {
    background-color: white;
    padding: 2em;
}

.tribe-events-event-image {
    display: none;
}

#tribe-events-header .tribe-events-sub-nav li.atribe-events-nav-next,
#tribe-events-footer .tribe-events-sub-nav li.atribe-events-nav-next {
    float: right;
}


#content h1 {
    font-size: 2em;
}

#content h2 {
    font-size: 1.8em;
}

#content h3 {
    font-size: 1.6em;
    padding: 0.5em 0;
    font-family: "Oswald",sans-serif;
    border-bottom: 2px solid #555;
    line-height: 1.2em;
}

#content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5em;
}

#lang_sel_list {
    color: #555;
    height: auto;
    margin: 0;
    padding: 0;
    top: -10px;
}

#lang_sel_list li {
    float: right;
}
#lang_sel_list a, #lang_sel_list a:visited {
    font-size: 1.1rem;
}

#content p, #content ul,
#main-fullwidth p, #main-fullwidth ul, #main-fullwidth td, #main-fullwidth th,
div.text span,
#sidebar-primary p, #sidebar-primary ul {
    font-size: 1.2rem;
}

#sidebar-primary ol {
    list-style-position: inside;
}

#sidebar-primary #progetti {
    margin-top: 2em;
}

#sidebar-primary #progetti ul {
    margin-top: 1em;
}

.field label {
    font-weight: bold;
}

th {
    text-align: left;
}

thead th {
    background-color: transparent;
}


table.em-calendar td.eventful a, table.em-calendar td.eventful-today a {
    color: #79BA5C;
}

p#fontsize {
    text-align: right;
}

div.col-md-3 {
    width: 27%;
    float: left;
    line-height: normal !important;
    padding: 5px;
}

.col-md-3:nth-of-type(3n) {
    clear: left;
}

span#socialheader {
    float: left;
    display: block;
    padding-top: 5px;
    padding-right: 40px;
}

a#arearis {
    float: left;
    color: #555;
    text-transform: uppercase;
    text-decoration: none;
    font-family: "Oswald",sans-serif;
    font-size: 1.3rem;
    line-height: 4rem;
}

a#arearis:hover {
    color: #79BA5C;
}

div.menu-primary-container {
    display: none;
}

div#menu-primary-mobile {
    display: none;
}

li#menu-item-60, li#menu-item-985 {
    border-top: 1px solid white;
}

li#menu-item-60, li#menu-item-985 {
        border-top: 1px solid white;
}

li#menu-item-3887 ul, li#menu-item-3888 ul {
        display: none;
}

/* home page lists */

.home #content ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.home #content li {
  padding: 0.5em;
  border-bottom: 1px solid #ccc;
  line-height: 1em;
}

.home #content li:last-child {
  border: none;
}

.home #content li a {
  text-decoration: none;
  color: #000;
  display: block;
}

.home #content li:hover {
  font-size: 100%;
  line-height: 1em;
  background: #f6f6f6;
}

#boxevents h2 {
    display: none;
 }

#boxevents h2.title {
    display: block;
}

h2.page-title span#originallanguage,
h3 span#originallanguage {
    font-size: 11.7px;
    color: #909090;
    display: block;
    font-weight: normal;
    text-transform: none;
    padding-top: 0.5em;
}


#personaletable .personalecell {
    width: 43%;
    float: left;
    padding: 2%;
    height: 150px;
    margin-bottom: 20px;
    border: 2px solid #79BA5C;
}

#personaletable .personalecell:nth-child(odd) {
    margin-right: 20px;
}

#personaletable .personalecell .personalecellimg {
    max-width: 150px;
    max-height: 150px;
    float: left;
    margin-right: 10px;
}

#tabs #personaletable .personalecell .personalecellimg {
    max-width: 30%;
}

#personaletable .personalecell .personalecellimg img {
    max-width: 100%;
    max-height: 150px;
}

.field:nth-child(odd) {
}

.scheda #fotosezione {
    width: 300px;
    float: left;
}

.scheda #datianagrafici {
    margin-left: 30px;
    float: left;
}

.scheda #gruppi {
    clear: left;
}

.scheda #datianagrafici, .scheda #pubblicazioni, .scheda #currattivita {
}

.scheda #datianagrafici .icona, .scheda #pubblicazioni .icona, .scheda #currattivita .icona {
    display: none;
}


.scheda #datianagrafici .icona {
    background-image: url(images/datianagrafici.png);
}

.scheda #pubblicazioni .icona {
    background-image: url(images/pubblicazioni.png);
}

.scheda #currattivita .icona {
background-image: url(images/currattivita.png);
}
/* =LAYOUT
-------------------------------------------------------------- */

#container {
    width: 960px;
    margin: 0 auto;
    position: relative;
    border-top: 3px solid #79BA5C;
}

#main {
    padding: 15px;
    background: #FFFFFF;
}

#main-fullwidth {
    padding: 15px;
    background: #FFFFFF;
}

#content {
    overflow: hidden;
    float: left;
    width: 615px;
}

#sidebar-primary {
    overflow: hidden;
float: left;
    width: 300px;
    margin-left: 15px;
}

#sidebar-primary ul li {
    margin-bottom: 0.5em;
}
/* =HEADER
-------------------------------------------------------------- */

#header {
    height: 100px;
    padding: 10px 0px 0px 0px;
    background: #FFFFFF;
}

#logomobile {
    display: none;
}

.logo img {
    float: left;
   margin: 0px 9px 0px 15px;
}

#sidebar-primary .logo img {
    margin-bottom: 15px;
}

.logo h1.site_title {
    margin: 0;
    padding:0;
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 48px;
    font-size: 4.8rem;
    line-height: 40px;
    line-height: 4rem;
    font-weight: bold;
}

.logo h1.site_title a, .logo h1.site_title a:hover {
    color: #898A8C;
    text-decoration: none;
}

.logo h2.site_description {
    margin: 0;
    padding:0;
    color: #898A8C;
    font-family: Arial, Helvetica, Sans-serif;
    font-size:14px;
    font-size: 1.4rem;
    line-height: 14px;
    font-size: 1.4rem;
}

.header-right {
    float: right;
    margin-right: 15px;
    padding-top: 10px;
    width: 261px;
}

#top-social-profiles {
    padding-top: 10px;
    height: 32px;
    text-align: right;

}
#top-social-profiles img {
    margin: 0 0 0 6px !important;
}

#top-social-profiles img:hover {
    opacity: 0.8;
}
#top-social-profiles .widget-container {
  background: none;
  padding: 0;
  border: 0;
}

#header-widgetarea {
    max-width: 50%;
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 8px;
    padding-right: 15px;
    background-image: none;
    border: 0;
    background-color: transparent;
}
#header-widgetarea p {
    text-align: right;
}

li.widget_wpctc_widget h3 {
    display: none;
}

li#text_icl-3 h3 {
    margin-top: 1em;
}

#font1 {
    font-size: 100%;
}

#font2 {
    font-size: 150%;
}

#font3 {
    font-size: 200%;
}
/* =MENUS
-------------------------------------------------------------- */

.menus li {
    float: none;
    display: inline-block;
}
/* Menu Primary
----------------------------*/

.menu-primary-container {
    padding:0;
    position:relative;
    background: url(images/menu-primary-bg.png) left bottom repeat-x;
    background-color: white;
    z-index: 400;
}

.menu-primary {
}

.menu-primary ul {
    min-width: 160px;
}

/* First Level - Menu Primary */

.menu-primary li a {
    color: #555555;
    padding: 17px 15px 16px 15px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0 3px 0 0;
}


.menu-primary li a:hover, .menu-primary li a:active, .menu-primary li a:focus,
.menu-primary li:hover > a, .menu-primary li.current-cat > a, .menu-primary li.current_page_item > a, .menu-primary li.current-menu-item > a {
    color: #79ba5c;
    outline: 0;
    background: url(images/menu-primary-bg.png) left -146px repeat-x;
}

/* Child Levels - Menu Primary */

.menu-primary li li a {
    color: #fff;
    text-transform: none;
    background: #79ba5c;
    padding: 10px 15px;
    margin: 0;
    border: 0;
    font-weight: normal;
}

.menu-primary li li a:hover, .menu-primary li li a:active, .menu-primary li li a:focus,
.menu-primary li li:hover > a, .menu-primary li li.current-cat > a, .menu-primary li li.current_page_item > a, .menu-primary li li.current-menu-item > a {
    color: #fff;
    background: #88d167;
    outline: 0;
    border-bottom:0;
    text-decoration: none;
}


/* Arrows Menu Primary */

.menu-primary a.sf-with-ul {
    padding-right: 20px;
    min-width: 1px;
}
.menu-primary  .sf-sub-indicator {
    position: absolute;
    display: block;
    overflow: hidden;
    right: 0;
    top:  0;
    padding: 16px 10px 0 0;
}

.menu-primary  li li .sf-sub-indicator {
    padding: 9px 10px 0 0;
}

/* Shadows Menu Primary */

.wrap-menu-primary .sf-shadow ul {
    background: url('images/menu-primary-shadow.png') no-repeat bottom right;
}

/* Menu Secondary
----------------------------*/

#menu-principale {
    float: none;
    position: static;
}

.menu-secondary-container {
    position:relative;
    z-index: 300;
    /*background: url(images/menu-secondary-bg.png) left top repeat-x;*/
    background-color: #79ba5c;
    font-size: 0;
}

.menu-secondary-responsive-container {
    display: none;
}

.menu-secondary li {
    border-right: 1px solid #E5E5E5;
    font-size: 13px;
    font-size: 1.3rem;
}

.menu-secondary ul {
    min-width: 160px;
}

/* First Level - Menu Secondary */
.menu-secondary li a {
    color: #FFFFFF;
    padding: 14px 15px 13px 15px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: normal;
    background-color: #79BA5C;
}

.menu-secondary li#menu-item-696, .menu-secondary li#menu-item-2515 {
    float: right;
}

.menu-secondary li#menu-item-696 a, .menu-secondary li#menu-item-2515 a {
    text-transform: none;
}

.menu-secondary li a:hover, .menu-secondary li a:active, .menu-secondary li a:focus,
.menu-secondary li:hover > a, .menu-secondary li.current-cat > a, .menu-secondary li.current_page_item > a, .menu-secondary li.current-menu-item > a {
    color: #FFFFFF;
    text-decoration: underline;
    outline: 0;
    background: #88d167;
}

/* Child Levels - Menu Secondary */

.menu-secondary ul li {
    border-right:0;
}

.menu-secondary li li a {
    color: #fff;
    background: #79ba5c;
    padding: 10px 15px;
    text-transform: none;
    margin: 0;
    font-weight: normal;
    border-right:0;
}

.menu-secondary li li a:hover, .menu-secondary li li a:active, .menu-secondary li li a:focus,
.menu-secondary li li:hover > a, .menu-secondary li li.current-cat > a, .menu-secondary li li.current_page_item > a, .menu-secondary li li.current-menu-item > a {
    color: #fff;
    background: #88d167;
    outline: 0;
}

/* Arrows - Menu Secondary */

.menu-secondary a.sf-with-ul {
    padding-right: 26px;
    min-width: 1px;
}
.menu-secondary  .sf-sub-indicator {
    position: absolute;
    display: block;
    overflow: hidden;
    right: 0;
    top:  0;
    padding: 13px 13px 0 0;
}

.menu-secondary li li .sf-sub-indicator {

    padding: 9px 13px 0 0;
}

/* Shadows - Menu Secondary */

.wrap-menu-secondary .sf-shadow ul {
    background: url('images/menu-secondary-shadow.png') no-repeat bottom right;
}

/* =POST
-------------------------------------------------------------- */

/* Post General
----------------------------*/

.post {
    margin-bottom: 15px;
    border-bottom: 0;
}

.page, .post-single {
    border-bottom: 0;
    margin-bottom: 0;
}

.title {
    color: #333333;
    margin: 0 0 10px 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-size: 2rem;
    line-height: 20px;
    line-height: 3rem;
    font-weight: normal;
}

.title a {
    color: #333;
    text-decoration: none;
}

.title a:hover {
    color: #79ba5c;
    text-decoration: none;
}

.entry {
    line-height: 20px;
}

.entry img {
    max-width: 98%;
    height: auto;
}

.featured_image {
    background: #fff;
    padding: 5px;
    border: 1px solid #E5E1E1;
}

.page-title {
    color: #333;
    margin: 0px 0 10px 0;
    padding: 0 0 10px 0;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 20px;
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    border-bottom: 2px solid #333;
}

/* Post Metas
----------------------------*/

.postmeta-primary {
    color: #999999;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 18px;
    padding: 0 0 10px 0;
}

.postmeta-secondary {
    color: #999999;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 18px;
    line-height: 1.8rem;
    padding: 0 0 10px 0;
}

.postmeta-primary span, .postmeta-secondary span {
    padding:3px 0 3px 20px;
    background-position:left center;
    background-repeat: no-repeat;
}

.meta_date {
    background-image: url(images/date.png);
}

.meta_author {
    background-image: url(images/author.png);
}

.meta_comments {
    background-image: url(images/comments.png);
}

.meta_edit {
    background-image: url(images/edit.png);
}

.meta_categories {
    background-image: url(images/category.png);
}

.meta_tags {
    background-image: url(images/tags.png);
}

/* Read More
----------------------------*/

.readmore {
    margin-bottom: 15px;
    float: right;
}

.readmore a {
    color: #79ba5c;
    background: #E4E4E4 url(images/readmore-bg.png) left top repeat-x;
    padding: 8px 14px;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 12px;
    line-height: 1.2rem;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #E5E1E1;
}

.readmore a:hover {
    color: #fff;
    background: #88d167 url(images/readmore-bg.png) left -126px repeat-x;
    text-decoration: none;
    border: 1px solid #79ba5c;
}

p.responsabile {
    clear: left;
}

/* =SITEMAP
-------------------------------------------------------------- */
.sitemap {
}

.sitemap-col {
    width: 30%;
    padding: 0 0 0 10px;
}

.sitemap-col-archives {
    width: 45%;
    padding: 0 0 0 10px;
}

.sitemap h2 {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
}

.sitemap h3 {
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0;
    margin: 0 0 10px 0;
}

.sitemap-list {
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 22px;
    line-height: 2.2rem;
}

.sitemap-list, .sitemap-list ul {
    padding: 0 0 0 20px;
}

/* =CONTACT FORM
-------------------------------------------------------------- */
.contact-form {
}

.contact-form-label {
    width: 90px;
    font-weight: bold;
    font-size: 14px;
    font-size: 1.4rem;
    padding: 7px 0;
}

.contact-form-input {
    margin-left: 90px;
}

.contact-form input[type=text] {
    padding: 6px;
    width: 60%;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form input[type=submit] {
    padding: 5px 50px;
    border: 1px solid #ccc;
    background: #eee;
}
.contact-form textarea {
    width: 96%;
    padding: 6px;
    height: 160px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form-required {
    color: red;
}

/* =SLIDER
-------------------------------------------------------------- */

.fp-slider {
    margin: 0 0 15px 0;
}

.fp-slides-container {}

.fp-slides, .fp-thumbnail, .fp-prev-next, .fp-nav {
    width: 615px;
}

.fp-slides, .fp-thumbnail {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.fp-title {
    font-family: Arial, Helvetica, Sans-serif;
    color: #fff;
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0 0 2px 0;
    margin: 0;
}

.fp-title a, .fp-title a:hover {
    color: #fff;
    text-decoration: none;
}

.fp-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    opacity: 0.7;
    filter: alpha(opacity = 70);
    padding: 10px 15px;
    overflow: hidden;
}

.fp-content p {
    color: #fff;
    padding: 0;
    margin: 0;
    line-height: 18px;
}

.fp-more,  .fp-more:hover{
    color: #fff;
    font-weight: bold;
}

.fp-nav {
    height: 12px;
    text-align: center;
    padding: 10px 0;
    background: #333;
}

.fp-pager a {
    background-image: url(images/featured-pager.png);
    cursor:pointer;
    margin: 0 8px 0 0;
    padding: 0;
    display: inline-block;
    width: 12px;
    height: 12px;
    overflow: hidden;
    text-indent: -999px;
    background-position: 0 0;
    float: none;
    line-height: 1;
    opacity: 0.7;
    filter: alpha(opacity = 70);
}

.fp-pager a:hover, .fp-pager a.activeSlide  {
    text-decoration: none;
    background-position: 0 -112px;
    opacity: 1.0;
    filter: alpha(opacity = 100);
}

.fp-prev-next-wrap {
    position: relative;
    z-index: 200;
}

.fp-prev-next {
    position: absolute;
    bottom: 130px;
    left: 0;
    right: 0;
    height: 37px;
}

.fp-prev {
    float:left;
    margin-left: 14px;
    width:37px;
    height:37px;
    background:url(images/featured-prev.png) left top no-repeat;
    opacity: 0.6;
    filter: alpha(opacity = 60);
}

.fp-prev:hover {
    opacity: 0.8;
    filter: alpha(opacity = 80);
}

 .fp-next {
    float:right;
    width:36px;
    height:37px;
    margin-right: 14px;
    background:url(images/featured-next.png) right top no-repeat;
    opacity: 0.6;
    filter: alpha(opacity = 60);
}

.fp-next:hover {
    opacity: 0.8;
    filter: alpha(opacity = 80);
}

/* =WP-PAGENAVI
-------------------------------------------------------------- */

.wp-pagenavi {
    float: left;
}

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    padding: 5px 8px;
    margin: 2px;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 15px;
    font-size: 1.5rem;
    float: left;
}

.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    color: #333333;
    background:none;
}

.wp-pagenavi span.current {
    font-weight: bold;
    color: #fff;
    background:#79ba5c;
}

.wp-pagenavi a:hover {
    color: #fff;
    background:#8C8D8F;
}

.wp-pagenavi span.pages {
    color: #333333;
    background: none;
    padding: 4px 8px 4px 0;
}

.wp-pagenavi span.extend {
    background:transparent;
    color: #333333;
    background: none;
}

/* =FOOTER
-------------------------------------------------------------- */

#footer {
    margin-bottom:15px;
}

#footer .menu {
    list-style-type: none;
    margin: 1em;
}

#footer .menu li {
    display: inline;
    padding: 0 0.5em;
    border-right: 1px solid #434141;
}

#footer .menu li:last-child {
    border-right: 0;
}

#copyrights {
    color: #434141;
    background: #E4E4E4 url(images/copyrights-bg.png) left top repeat-x;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #6da753;
}

#copyrights a {
    color: #434141;
}

#copyrights a:hover {
    color: #434141;
    text-decoration: none;
}

#credits {
    color: #636262;
    text-align: center;
    font-size: 11px;
    font-size: 1.1rem;
    padding: 10px 0 0 0;
}

#credits a {
    color: #636262;
    text-decoration: none;
}

#credits a:hover {
    text-decoration: none;
    color: #636262;
}

/* =WIDGETS
-------------------------------------------------------------- */

/* Widgets Defaults
----------------------------*/

.widget-container {
    list-style-type: none;
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    color: #585858;
    font-size: 13px;
    font-size: 1.3rem;
}

.widget-container a {
    color: #585858;
    text-decoration: none;
}

.widget-container a:hover {
    color: #79ba5c;
    text-decoration: none;
}

.widgettitle {
    background: url(images/widgettitle-bg.png) left bottom repeat-x;
    margin: 0 0 20px 0;
    padding: 10px 10px 9px 10px;
}

.widgettitle, .widgettitle a, .widgettitle a:hover {
    color: #414445;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 16px;
    line-height: 1.6rem;
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}

.widgettitle {
    border-bottom: 3px solid #6da753;
    border-top: 1px solid #E5E1E1;
    border-left: 1px solid #E5E1E1;
    border-right: 1px solid #E5E1E1;
}


.widget ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: 0 0 9px 0;
    margin: 0 0 8px 0;

}

.widget-focus .focus {
    padding-bottom: 10px;
    clear: right;
    padding-top: 10px;
}


.widget-focus img {
    float: right;
    width: 139px !important;
    height: auto !important;
    margin-left: 10px;
}

.widget-focus h4 {
    text-decoration: none;
    font-weight: normal;
    font-size: 12.5px;
    line-height: 1.2em;
    font-family: "Open Sans",sans-serif;
    margin: 0;
    padding: 0;
}

.widget-focus h4 a {
    color: #292F33;
    text-decoration: none;
}

.widget-focus h4 a:hover {
    color: #79BA5C;
}


/* Search
----------------------------*/

#search {
    border: 1px solid #D8D8D8;
    background: #FFFFFF url(images/search.png) 99% 50% no-repeat;
    text-align: left;
    padding: 6px 24px 6px 6px;
}

#search #s {
    background: none;
    color: #979797;
    border: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    outline: none;
}

#content-search {
    width: 300px;
    padding: 15px 0;
}

/* Wp Calendar
----------------------------*/

#wp-calendar td:hover, #wp-calendar #today {
    background: #6da753;
    color: #fff;
}

#wp-calendar td:hover a, #wp-calendar #today a {
    color: #fff;
}

/* Text Widget
----------------------------*/

.textwidget {
    line-height: 18px;
    line-height: 1.8rem;
}

/* 125x125 Banners Widget
----------------------------*/

.banners-125 {
    text-align: center;
    margin-bottom: -10px;
}

.banners-125 img {
    margin: 0 5px 5px 5px;
}


/* Posts Widget
----------------------------*/

.posts-widget ul {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.posts-widget ul li {
    list-style-type: none;
    list-style: none;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 0;
}

.posts-widgettitle {
    font-weight: bold;
    padding: 0 0 20px 0;
    margin: 0;
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
}

.posts-widgettitle a {}

.posts-widgettitle a:hover {}

.posts-widget-meta {
    font-style: italic;
    padding: 0 0 5px 0;
}

.posts-widget-entry {
    font-family: Arial, Helvetica, Sans-serif;
    line-height: 20px;
    line-height: 2rem;
}

.posts-widget-more {
    font-weight: bold;
}

.posts-widget-more:hover {}

.posts-widget-featured-image {
    border: 1px solid #E5E1E1;
    padding: 4px;
    background-color: #fff;
}

.posts-widget .alignleft {
    margin: 0 8px 8px 0;
}

.posts-widget .alignright {
    margin: 0 0 8px 8px;
}

.posts-widget .aligncenter {
    margin-bottom: 8px;
}

/* Comments Widget
----------------------------*/

.comments-widget ul {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.comments-widget ul li {
    list-style-type: none;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    border-bottom: 0;
}

.comments-widget-author {
    text-decoration: none;
    font-weight: bold;
    padding: 0 0 5px 0;
    margin: 0;
}

.comments-widget-author:hover {}

.comments-widget-entry {
    font-family: Arial, Helvetica, Sans-serif;
    line-height: 20px;
    line-height: 2em;
}

.comments-widget-more {
    font-weight: bold;
}

.comments-widget-more:hover {}

.comments-widget-avatar {
    border: 1px solid #E5E1E1;
    padding: 4px;
    background-color: #fff;
}

.comments-widget .alignleft {
    margin: 0 8px 0 0;
}

.comments-widget .alignright {
    margin: 0 0 0 8px;
}

.comments-widget .aligncenter {
    margin-bottom: 8px;
}

/* Info Box Widget
----------------------------*/

.infobox-widget ul {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.infobox-widget ul li {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.infobox-widget ul li a {
    text-decoration: none;
}

.infobox-widget-description {
    line-height: 20px;
    line-height: 2em;
}

.infobox-widget-more {
    font-weight: bold;
}

.infobox-widget-more:hover {
}


.infobox-widget .alignleft {
    margin: 0 10px 10px 0;
}

.infobox-widget .alignright {
    margin: 0 0 10px 10px;
}

.infobox-widget .aligncenter {
    margin-bottom: 10px;
}

.infobox-widget .inbottom {
    margin-top: 10px;
}

/* Social Profiles Widget
----------------------------*/
.social-profiles-widget img {
    margin: 0 4px 0 0;
}

.social-profiles-widget img:hover {
    opacity: 0.8;
}

/* Tabs Widget
----------------------------*/

.tabs-widget {
    list-style: none;
    list-style-type: none;
    margin: 0 0 10px 0;
    padding: 0;
    height: 26px;
}

.tabs-widget li {
    list-style: none;
    list-style-type: none;
    margin: 0 0 0 4px;
    padding: 0;
    float: left;
}

.tabs-widget li:first-child {
    margin: 0;
}

.tabs-widget li a {
    color: #4F4E42;
    background: #F0F0F0;
    padding: 6px 16px;
    font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
    display: block;
    text-decoration: none;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 12px;
    line-height: 1.2rem;
}

.tabs-widget li a:hover, .tabs-widget li a.tabs-widget-current {
    background: #79ba5c;
    color: #fff;
}

.tabs-widget-content {
}

/* Tweets Widget
----------------------------*/

.tweets-widget ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 20px;
    line-height: 2em;
    font-family: Arial, Helvetica, Sans-serif;
}

.tweets-widget ul li {
    list-style-type: none;
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.tweets-widget ul li:first-child {
    margin-top: 5px;
}

.tweets-widget li.tweets-bird {
    padding-left: 24px;
    background: url(images/tweets.png) left 2px no-repeat;
}

.tweets-widget a {}

.tweets-widget a:hover {}

a.tweets-widget-time {
    text-decoration: underline;
}

a.tweets-widget-time:hover {
    text-decoration: none;
}

/* Facebook Widget
----------------------------*/

.facebook-widget {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =COMMENTS
-------------------------------------------------------------- */

#comments {
    margin-bottom: 15px;
}

#comments p {
    margin: 5px 0 10px 0;
}

h3#comments-title {
    font-weight: bold;
    font-size: 20px;
    font-size: 2em;
    padding: 0;
    margin: 0 0 15px 0;
}

.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.commentlist li.comment {
    line-height: 24px;
    line-height: 2.4rem;
    margin: 0 0 15px 0;
    padding: 0 0 0 0px;
    position: relative;
}

.commentlist li:last-child {
    border-bottom:none;
    margin-bottom:0;
}

#comments .comment-body ul,
#comments .comment-body ol {
    margin-bottom: 15px;
}

#comments .comment-body blockquote p:last-child {
    margin-bottom: 15px;
}

.commentlist .avatar {
    border: 3px solid #ffffff;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-bottom: 2px;
}

.comment-author {
    padding: 5px;
    display: block;
    background: #F2F2F2;
    border: 1px solid #DFDFDF;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.comment-author cite {
    font-style: normal;
    font-weight: bold;
}

.comment-author .says {
    font-style: italic;
}

.fn, .fn a:link, .fn a:hover, .fn a:visited {
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
}

.comment-meta {
    margin: -23px 0 0 65px;
    display: block;
    font-size: 11px;
    font-size: 1.1rem;
    padding:0;
}

.comment-meta a:link,
.comment-meta a:visited {
    text-decoration: none;
}
.commentlist .bypostauthor {
}
.reply {
    text-align: right;
    margin-bottom: 10px;
}

.comment-reply-link  {
    font-size: 11px;
    font-size: 1.1rem;
    font-weight: normal;
    text-decoration: none;
    background: #EDEDED;
    color: #333;
    padding: 2px 8px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border:  1px solid #999999;
}

.comment-reply-link:hover {
    background: #F5F5F5;
    color: #333;
}


.commentlist .children {
    list-style: none;
    margin: 0;
}

/* Children */

.commentlist .children li {
    border: none;
    margin: 0;
}

.nocomments {
    display: none;
}

#comments .pingback {
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.commentlist li.comment+li.pingback {
    margin-top: -6px;
}

#comments .pingback p {
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 18px;
    line-height: 1.8rem;
    display:block;
    margin: 0;
}

#comments .pingback .url {
    font-style: italic;
    font-size: 13px;
    font-size: 1.3rem;
}

/* Comments form */

#respond {
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

h3#reply-title {
    font-weight: bold;
    font-size: 20px;
    font-size: 2rem;
    padding: 0;
    margin: 0 0 15px 0;
}

#respond .required {
    color:#FF4B33;
}

#respond .comment-notes {
    margin-bottom: 1em;
}

.form-allowed-tags {
    display: none;
}

.children #respond {
    margin: 0 48px 0 0;
}

#comments-list #respond {
    margin: 0 0 18px 0;
}

#comments-list ul #respond {
    margin: 0;
}

#cancel-comment-reply-link {
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 18px;
    line-height: 1.8rem;
    font-weight: normal;
}

#respond .required {
    color:#FF4B33;
    font-weight:bold;
}

#respond label {
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: bold;
}

#respond input {
    margin:10px 0 0 0;
    width:98%;
}

#respond textarea {
    width:98%;
    margin:10px 0 0 0;
}

#respond .form-allowed-tags {
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 18px;
    line-height: 1.8rem;
}

#respond .form-allowed-tags code {
    font-size: 11px;
    font-size: 1.1rem;
}

#respond input[type=submit] {
    margin: 0;
}

#respond .form-submit {
    margin: 0;
}

#respond .form-submit input {
    width: auto;
    font-size: 14px;
    font-size: 1.4rem;
}
#respond dl {
    margin: 0 0 10px;
}

#respond dt {
    display: inline;
    font-weight: normal;
}

#respond dd {
    display: inline;
}

/* =END
-------------------------------------------------------------- */
/* =RESPONSIVE
-------------------------------------------------------------- */

.menu-primary-responsive-container, .menu-secondary-responsive-container  {
    display: none;
    margin: 10px;
}

.menu-primary-responsive, .menu-secondary-responsive  {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
}





/* Some General Formattings ----------- */

/*
embed,
img,
object,
video,
.wp-caption {
    max-width: 100%;
}

img {
    height: auto;
}

*/

/* WooCommerces ----------- */

/*
.woocommerce .content, .woocommerce #main-fullwidth {
    background: #fff;
}

.variations .label {
    background-color:inherit;
    color: inherit;
    display: block !important;
    font-size: inherit;
    font-weight: inherit;
    line-height:inherit;
    text-shadow: none;
    vertical-align: inherit;
    white-space: inherit;
    padding: 8px 8px 8px 0 !important;
}
.woocommerce input[type="text"], .woocommerce input[type="password"], .woocommerce input.text, .woocommerce input.title, .woocommerce textarea, .woocommerce select {
    margin: 0;
    padding: 4px !important;
}

.quantity input[type="text"], .quantity input.text, .quantity input{
    margin: 0;
    padding: 0 !important;
}

.woocommerce img {
    width: auto !important;
    height: auto !important;
}

*/
#maingallery .gallery-item {
    list-style-type: none;
}

#maingallery .gallery-item li {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 33%;
}

#maingallery .gallery-item img {
    border: 2px solid #cfcfcf;
}

#sidebar-primary p.logo {
    margin: 0;
}

#sidebar-primary p.logo img {
    max-width: 270px;
}

div#hpzone {
    clear: both;
    border-top: 3px solid #6DA753;
    padding-top: 1em;
    margin-top: 1em;
}

div#hpzonelicenza {
    border-bottom: 3px solid #6DA753;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

div#hpzone div, div#hpcol1, div#hpcol2, div#hpcol3 {
    width: 32.65%;
    float: left;
    margin-right: 1%;
    text-align: center;
}

div#hpcol1 h2.title.temadelgiorno {
    background-image: url('images/icon-temadelgiorno.png');

}

div#hpcol3 h2.title.tematiche {
    background-image: url('images/icon-tematiche.png');
}

div#hpcol1 h2.title.news {
    background-image: url('images/icon-news3.png');
}

div#hpcol1 h2.title.eventi {
    background-image: url('images/icon-events.png');
}

div#hpcol2 h2.title.bandi {
    background-image: url('images/icon-tender.png');
    background-position: 3px center;
}

div#hpcol3 h2.title.pubblicazioni {
    background-image: url('images/icon-pubblicazioni.png');
}


div#hpcol2 h2.title.media {
    background-image: url('images/icon-media.png');
}


div#hpcol1 h2.title,
div#hpcol2 h2.title,
div#hpcol3 h2.title,
div#homepagevideo h2.title.othervideos {
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 22px;
    padding-left: 28px;
}

div#homepagevideo h2.title.othervideos {
    background-image: url('images/icon-video.png');
    background-position: left 7px;
    clear: both;
}

div#hpzone div#hpzonamondo {
    width: 258px;
    margin-right: 1px;
}

div#hpzone div#hpzonaeuropa {
    width: 200px;
    margin-right: 1px;
}

div#hpzone div#hpzonaitalia {
    width: 150px;
    margin-right: 0;
}

div#hpcol1, div#hpcol2, div#hpcol3 {
    min-height:200px;
    text-align: left;
}

div#hpcol1 h2, div#hpcol2 h2, div#hpcol3 h2, div#hpzone div h2 {
    text-align: left;
}

div#hpcol2 ul + h2 {
    margin-top: 0.5em;
}

div#hpzone div:last-child, div#hpcol3 {
    margin-right: 0;
    float: right;
}


div#hpzone div.leaflet-popup-content,
div#mappazona div.leaflet-popup-content {
    margin: auto;
    float: none !important;
}

div#hpzone div img {
    margin: 0 auto;
    border: 1px solid #cdcdcd;
}

div#hpcol3 ul, div#hpcol1 ul, div#hpcol2 ul {
    margin: 0;
    padding: 0;
    margin-left: 1.5em;
}

div#hpcol3 ul li, div#hpcol1 ul li, div#hpcol2 ul li  {
    margin-bottom: 0.5em;
}

div#tipologie_cloud {
    text-align: center;
    line-height: 2.5em;
    margin-top: 3em;
    margin-bottom: 3em;
}

/* reset mappe */
div#hpzone div#map div, div#hpzone div#map2 div, div#hpzone div#map3 div,
div#mappazona div#map div, div#mappazona div#map2 div, div#mappazona div#map3 div {
    width: auto;
    float: inherit;
    margin-right: auto;
    text-align: left;
}


div#mappazona {
    width: 530px;
    margin-bottom: 20px;
}

div#tagcloud_page div h2, div#tagcloudhp div h2 {
    display: none;
}

div#tagcloudhp li {
    border: 0;
}

div#homepagevideo {
    margin-top: 20px;
}

div.videohp {
    max-width: 45%;
    float: left;
    margin-bottom: 20px;
}

h2.videohp span {
    font-size: 120%;
}

div.videohp iframe {
    max-width: 100%;
}

div.videohp:nth-child(odd) {
    margin-right:  5%;
}

div.ngg-gallery-thumbnail, div#maingallery li.gallery-icon img {
    margin: 10px 17px;
}

div#maingallery li.gallery-icon img {
    width: 150px;
    height: 150px;
    padding: 4px;
    border: 1px solid #A9A9A9;
}

div.slideshowlink {
    display: none;
}

td.eventful ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin: 1em;
    margin-top: 0;
}

 table.fullcalendar td { height: auto; }

#menu-item-23432, #menu-item-23437,
#menu-item-25054, #menu-item-26394,
#menu-item-23781, #menu-item-23785 {
    border-top: 1px solid white;
}

.archive .entry img {
    float: left;
    margin-right: 10px;
}

.widget-easy-twitter-feed-widget-container {
    margin-top: 18px;
}

.secondarycontent {
}

.secondarycontent h4 {
    border-bottom: 1px solid #555;
}

.secondarycontent h4.more+div+div,
.secondarycontent h4.more2+div+div,
.secondarycontent h4.more3+div+div,
.secondarycontent h4.more4+div+div
 {
    display: none;
}

.secondarycontent h4.more,
.secondarycontent h4.more2,
.secondarycontent h4.more3,
.secondarycontent h4.more4 {
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
        color: #79BA5C;
        text-decoration: underline;
}

.secondarycontent h4.more.opened,
.secondarycontent h4.more2.opened,
.secondarycontent h4.more3.opened,
.secondarycontent h4.more4.opened
 {
    background-image: url(images/iconminus.png);
}

.secondarycontent h4.more.closed,
.secondarycontent h4.more2.closed,
.secondarycontent h4.more3.closed,
.secondarycontent h4.more4.closed
 {
    background-image: url(images/iconplus.png);
}

#content .secondarycontent ul, #content .secondarycontent p {
}

#fotoresp {
    max-width: 50px;
    float: right;
    margin-left: 1em;
}

.responsabileist a {
    color: #333;
    text-decoration: none;
}

.responsabileist {
    text-transform: capitalize;
}

.responsabileist span {
    text-transform: lowercase;
}

div.type-outreach img.featured_image,
div.category-news img.featured_image,
div.category-news-en img.featured_image,
div.type-event img.featured_image,
div.type-tender img.featured_image,
div.type-collaboration img.featured_image
 {
    max-width: 50px;
}

div#wpctc_widget-3_canvas_tags ul  {
    display: none;
}


li#menu-item-60, li#menu-item-985,
li#menu-item-25952, li#menu-item-26953,
li#menu-item-26546, li#menu-item-26544,
li#menu-item-26944, li#menu-item-26945,
li#menu-item-25951, li#menu-item-26954,
li#menu-item-26969, li#menu-item-26970,
li#menu-item-26979, li#menu-item-26978
{
    border-top: 1px solid white !important;
}
.fp-thumbnail img {
    min-width: 615px !important;
    min-height: 280px !important;
}

div#timeline-box {
    width: 930px;
    overflow-x: auto;
    overflow-y: hidden;
    overflow: -moz-scrollbars-horizontal;
}

div#timeline-box div.charttip {
    max-width: 200px;
    float: left;
}

div#timeline-box img.chartlogo {
    float: left;
    width: 100px;
    margin: 10px;
}

div#timeline-box .chartp {
    margin: 10px;
    max-width: 300px;
}

div#timeline-box .charttitle {
    font-weight: bold;
    font-size: 110%;
}

div#timeline-box br.clear {
    clear: both;
}

div#pesi-progetti-box,
div#pesi-progetti-stacked-box,
div#numero-progetti-stacked-box,
div#pesi-progetti-aree-box,
div#numero-progetti-aree-box,
div#numero-progetti-box,
div#numero-media-anno-box,
div#numero-media-categorie-box,
div#numero-media-stacked-box,
div#numero-media-stacked-box,
div#personale-contratti-stacked-box,
div#sedi-progetti-sankey-box,
div#sesso-sede-tipocontratto-sankey-box,
div#numero-personale-anno-box {
    width: 460px;
    float: left;
    margin-bottom: 20px;
}


div#sedi-progetti-sankey-box,
div#sesso-sede-tipocontratto-sankey-box {
    clear: left;
}


#grafico-tipoprogetto {
    margin-bottom: 30px;
}

/* Tablets ----------- */



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

  #logocnr,
  a#arearis,
  #search,
  #lang_sel_list,
  #fontsize,
  .videohp,
  .widget-container #widget-easy-twitter-feed-widget-kamn-2,
  .widget-container #text-2,
  #sidebar-primary
  /* #tabs */
  {
    display: none;
  }


.home #sidebar-primary {
    display: block;
}

div#hpzone div, div#hpcol1, div#hpcol2, div#hpcol3 {
    width: 100%;
}

div#menu-primary-mobile {
    display: block;
}

div#menu-primary-mobile #click-menu {
}

div.menu-secondary-container {
    display: none;
}
     #container, #footer-container {
        width: 100%;
    }

    #main,
    #main-fullwidth,
    #header,
    #footer-widgets,
    #footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    #main, #main-fullwidth {
        background-image: none;
    }

    #header {
        height: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo, .header-right {
        float: none;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .header-right {
        padding-top: 10px;
    }

    #search {
        float: none;
        width: 90%;
        margin: 20px auto;
    clear: both;
    }

   #search input {
    margin-top: 20px;
    margin-bottom: 20px;
}

    #header #topsearch {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #top-social-profiles {
        float: none;
        width: 100%;
        display: block;
        text-align: center;
    }

    #content, #sidebar-secondary {
        width: 100%;
        float: none;
        padding: 0;
        margin: 0;
        display: block;
    }

    #sidebar-primary {
        width: 100%;
        float: none;
        padding: 0;
        margin: 0;
    }

    .menu-primary-container, .menu-secondary-container {
        float: none;
        margin-left: 0;
        margin-right: 0;
        display: block;
    }

    .fp-slider, #fb-root {
        display: none;
    }

    .post-box {
        width: 100%;
        height: 100%;
        float: none;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    #footer-widgets-container #footer-widgets {
        width: inherit;
    }

    .footer-widget-box {
        width: 100%;
        float: none;
        margin: 0;
        padding: 0;
    }
    #copyrights, #credits {
        display: block;
        float: none;
        text-align: center;
    }

    #footer-container #copyrights, #footer-container #credits {
        padding: 5px 0;
    }

    #footer-container #footer {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

div.videohp:nth-child(odd) {
    clear: left;
}

div.videohp h2 {
    min-height: 3em;
}

div#homepagevideo h2.title,
div#hpzonelicenza {
    clear: left;
}

div#hpzone div:last-child {
    float: left;
    margin-left: 5px;
}

#personaletable div.personalecell {
    width: 96%;
}

  img.wp-image-297 {
    display: none;
  }

div#grafico-tipoprogetto {
    display: none;
}

.single-project #sidebar-primary,
.single-focus #sidebar-primary,
.single-product #sidebar-primary,
.single-outreach #sidebar-primary
 {
    display: block;
}

div.col-md-3 {
        width: 100%;
        line-height: normal !important;
        padding: 5px;
}

#logodesktop,
#logocnr {
        display: none;
}

.logo img {
        margin-left: 0px;
}

#logomobile {
        display: block;
}



}



/* Mobile Phones ----------- */


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

.menu-secondary-responsive-container {
    display: none;
    margin: 20px auto;
}

    .menu-primary-container, .menu-secondary-container {
        display: none;
    }

    #header .menu-primary-responsive-container, #header .menu-primary-responsive-container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }



    div.videohp {
    max-width: 90%;
    }

    div#hpcol1,
    div#hpcol2,
    div#hpcol3 {
    width: 90%;
    float: left;
    }


}

/* Convegni */

.single-conference #content {
}

div#proceedings {
    border: 2px solid #79BA5C;
    padding: 10px;
}

.conference h2.title+p {
    line-height: 1.5em;
}

.conference #descrizione table td {
    vertical-align: middle;
}

.single-conference #sidebar-primary h4 {
       font-weight: bold;
       padding-bottom: 0.5em;
       border-bottom: 1px solid #555;
}

#publicationfilter {
    margin-bottom: 1em;
}

#p_tipo {
    max-width: 50%;
}



#p_sede {
    max-width: 20%;
    margin-right: 0;
}


#p_anno {
    max-width: 15%;
}

#p_anno, #p_tipo, #p_sede {
    border: 1px solid #d8d8d8;
    border-radius: 0;
    padding: 4px 10px;
    margin-right: 6px;
}

#p_submit {
    color: #79ba5c;
    background: #E4E4E4 url(images/readmore-bg.png) left top repeat-x;
    padding: 8px 14px;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 12px;
    line-height: 1.2rem;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #E5E1E1;
    float: right;
}

#p_submit:hover {
    color: #fff;
    background: #88d167 url(images/readmore-bg.png) left -126px repeat-x;
    text-decoration: none;
    border: 1px solid #79ba5c;
}

@media only screen and (max-width: 800px)  {
        #p_tipo {
                max-width: 40%;
        }

}

@media only screen and (max-width: 600px)  {
        #p_tipo {
                max-width: 30%;
        }
        #p_submit {
                float: none;
        }
}
