/*
Theme Name:   BUP Tema per Archalp
Description:  Tema per il front-end della rivista
Author: Youtool
Author URI: http://studio.youtool.it
Template:     bupjournals
Version:      1.0.78
Text Domain:  bupjournals-child
*/

/* TESTATA */

#bup-header {position: relative;}
.admin-bar #bup-header {top: 0px;}
#barra-menu {background:white;left:0; right:0;}
#journal-header {padding-top:0;height: 294px;}
#journal-header form {padding-top: 100px;margin: 0;width: 32%;}
#journal-header .tools-btn a {background: rgba(0, 0, 0, 0.9);}
#journal-header .tools-btn a:hover {background: rgba(0, 0, 0, 0.6);}
#journal-header .tools-btn a#newsletter {width:auto;font-size:0.8em;border-radius:20px;padding:0 10px;}
#header-tools {position:relative; height:250px;display: flex;justify-content: space-between;}
#journal-header input[type="search"] {width: 85%;}
#journal-header button[type="submit"] {width: 15%;}
.logo-editore {bottom:0px;}
.logo-testata {width: 66%;padding: 40px 10px 10px;}
.logo-testata img{width: 100%;height:auto;max-width:500px;}
#loghi-header{position: absolute;right: 0;top: 230px;}
#loghi-header .item{display:inline-block; margin-left:20px;}
#loghi-header .item img{display:block;max-height:50px;width:auto;}
.x_close span {background: #fff !important;}
.risultatiricerca .category-editorial, .risultatiricerca .category-notes{
    background: rgba(39, 61, 74, 0.2);
    padding: 0 20px 20px;
    margin-top: 20px;
}
#headline-sito {margin-top:10px;}
#headline-sito p{margin-bottom:0;line-height: 1.4em;}
.entry-content {word-wrap:break-word;}
.entry-title {text-align:left;padding: 40px 0;text-transform:none;}
.entry-summary p{margin-bottom:0;}
.entry-summary .pub-date{margin-top: 1em;}
.entry-content a, #sidebar a {text-decoration:underline;}
.home-content a {text-decoration:underline;font-weight:bold}
.archive-meta {transform: translateY(-20px);}
.archive-meta a {border: 2px solid #262626;color: #262626;text-decoration: none !important;padding: 4px 10px;border-radius: 5px;font-weight: bold;display: inline-block;margin: 20px 0;}

.home-content a:hover, .archive-meta a:hover, .entry-content a:hover, #sidebar a:hover {opacity:0.5;}
.entry-subtitle {font-size: 30px;margin: -10px 0 40px;line-height: 1.2em;}
.entry-content h2, .entry-content h1, .home-content h2, .home-content h1{
    padding: 30px 0;
    font-weight: bold;
    font-size: 1.8em;
    line-height:1.3em;
}
.entry-content h3, .home-content h3{
    padding: 30px 0;
    font-weight: bold;
    font-size: 1.5em;
    line-height:1.3em;
}
.entry-content h4, .home-content h4{
    padding: 25px 0;
    font-weight: bold;
    font-size: 1.4em;
    line-height:1.3em;
}
.entry-content h5, .home-content h5{
    padding: 20px 0;
    font-weight: bold;
    font-size: 1.3em;
    line-height:1.3em;
}
.entry-content h6, .home-content h6{
    padding: 15px 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height:1.3em;
}
.home #latest-issue img {width: 100%;float:none;}
.col-sx {float: left;width: 30%;}
#pulsanti-home{padding-top: 20px;text-align:center;}
#pulsanti-home a{display:inline-block;}
.apri {border: 2px solid #262626;color: #262626;text-decoration:none !important;}
.risultatiricerca .category-editorial::before{content:'Editorial'; margin-top:20px; font-weight: bold; display:inline-block;}
#sidebar #menu-all-issues li span {width: auto;}
.home #sidebar {float:right;}
.page-template-latest-issue #filtra-ricerca, .archive #filtra-ricerca {margin-top:50px;}
#filtra-ricerca h4.intestazione {height:40px;position: relative;font-size:28px;margin-bottom:10px;}
#filtra-ricerca h4.intestazione:before {
  content : "";
  position: absolute;
  left    : 0;
  bottom  : 0;
  height  : 1px;
  width   : 60px;
  border-bottom:2px solid #262626;
}
.searchandfilter h4 {
    margin: 15px 0 5px !important;
    font-size: 16px !important;
    height: auto !important;
    font-weight:bold;
}
.intro-text {padding-top:40px;}
.searchandfilter h4:before {display:none !important;}
.jel-note {padding: 20px 0 0 0; font-size:0.8em;}
ul#loghi {display:table;padding:20px;}
ul#loghi li {display: table-cell;width: 20%;padding: 20px;text-align: center;vertical-align: middle;}
ul#loghi li img {height: auto;max-width: 100%;max-height: 70px;}
#copyright {padding: 20px;font-size: 0.8em;text-align: center;}
ol{list-style-type:decimal;}
.entry-content ul{list-style-type: disc;}
.menu-all-issues-container ul{list-style-type: none;margin-bottom: 30px;}
sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
#filtra-ricerca {display:block !important;}
#ofpost_tag, #ofjel, #ofauthors {width:100%;font-family: 'Source Sans Pro', Arial,sans-serif; -webkit-font-smoothing: antialiased;text-rendering: optimizeLegibility;-moz-osx-font-smoothing: grayscale;font-size: 1em;color: #262626;background-color: white;}
input[type=submit] {font-family: 'Source Sans Pro', Arial,sans-serif; background:white; padding: 4px 10px; border: 2px solid #262626; color: #262626; border-radius: 5px; cursor:pointer; margin-top: 20px; font-size: 1em; float:right;}
#menu-all-issues .sub-menu li{width:50%;float:left;text-align:center;text-indent:0;}
#menu-all-issues .sub-menu li:nth-child(even){border-left: 1px dotted #ddd;}
#menu-all-issues .sub-menu li img {max-height: 250px;width: auto;padding: 10px 0 0 !important;max-width: 100%;}
#menu-all-issues li span {width:100%;float:none;padding:20px 0;}
.footer-header {text-align:center;font-weight:bold;padding:20px 0;}
#latest-issue img, #media_image-2 img {border: 1px solid #bbb;}
.home #menu-all-issues li:nth-child(1) .sub-menu:first-of-type,
.home #menu-all-issues li:nth-child(2) .sub-menu:first-of-type,
.home #menu-all-issues li:nth-child(3) .sub-menu:first-of-type {
    display: block !important;
}
.home #menu-all-issues li:nth-child(1) a,
.home #menu-all-issues li:nth-child(2) a,
.home #menu-all-issues li:nth-child(3) a {cursor: default;pointer-events: none;}
.home #menu-all-issues li:nth-child(1) li a,
.home #menu-all-issues li:nth-child(2) li a,
.home #menu-all-issues li:nth-child(3) li a {cursor: pointer;pointer-events: all;}

/* EDITORIAL BOARD */
.board .gruppo {overflow:auto;clear:all;}
.board h2 {font-weight:bold;}
.board .gruppo .person{width:33%;padding:20px;float:left;}
.board .gruppo .person:nth-child(3n+1){clear:left}
.single-editor #sidebar {background:none;-webkit-box-shadow: none;-moz-box-shadow: none;box-shadow:none; }
.single-editor aside img{width:100%; height:auto;}

/*GALLERY SIDEBAR*/
.sy-slide>a>img, .sy-slide>img {height: auto !important;}
.sy-pager li.sy-active a {background-color: #262626 !important;}
.rl-gallery .rl-gallery-link {padding-bottom: 50px;}
.rl-gallery .rl-gallery-link .rl-gallery-caption {background-color:transparent !important;}
.rl-gallery .rl-gallery-item-caption {color: #000 !important;}

/* NUOVE SIDEBAR */
#sidebar {background:transparent;border-radius:0;padding:0;margin-bottom:0;-webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;}
#sidebar .widget-container, #sidebar .sottomenu, .single #sidebar {padding: 30px; margin-bottom: 30px;border-radius: 5px;background:white;-webkit-box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.2);-moz-box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.2);box-shadow: 2px 2px 6px -3px rgba(0,0,0,0.2);}

/* ALL ISSUES MENU */
#menu-all-issues .sub-menu li{width:50%;float:left;text-align:center;text-indent:0;clear:none;}
#menu-all-issues .sub-menu li:nth-child(even){border-left: 1px dotted #ddd;}
#menu-all-issues .sub-menu li img {height:auto;max-height: 250px;width: auto;padding: 0 0 0 !important;max-width: 100%;border: 1px solid #bbb;}
#menu-all-issues li span {width:100%;float:none;padding:20px 0;}
#menu-all-issues li.menu-item-has-children {}
.menu-all-issues-container ul {margin-bottom:0;}
#menu-all-issues li {margin-bottom:1px;border-bottom: 0px;clear: both;}

/* COOKIE */
#cmplz-document {max-width:100% !important;}
#cmplz-document, #cmplz-document p, #cmplz-document li, #cmplz-document td {font-size:inherit !important;}


@media only screen
and (min-width : 200px)
and (max-width : 768px)
{
.logo-testata {width: 100%;padding: 70px 10px 0;}
#journal-header {height: 350px;}
#header-tools {height: 300px;display:block;}
#headline-sito p {font-size: 0.8em;}
#journal-header form {padding-top: 15px;margin-left: 10px;width: 70%;position: absolute;z-index:2;top: 230px;}
nav#menu {top: 240px;position: absolute;width: 100%;z-index: 1;}
#menu-menu-principale {padding-top: 50px;}
.hamburger:before, .hamburger .icon, .hamburger:after, .hamburger.active:before, .hamburger.active .icon, .hamburger.active:after {background: #222;}
#barra-menu {padding: 12px 20px;top: 0;}
.col-sx {width: 100%;}
 .entry-summary {margin-bottom: 20px;}
.entry-summary p {margin-bottom:0;}
.logo-editore {bottom: 0px;}
.board .gruppo .person{width:50%;padding:10px;}
.board .gruppo .person:nth-child(2n+1){clear:left}
.board .gruppo .person:nth-child(3n+1){clear:none}
#loghi-header {top: 300px;left: 0;}
#loghi-header .item {margin: 0 10px;}
#loghi-header .item img {max-height: 30px;}
}
