/*-----BODY-----*/

body {
    font-size: 16px;
}

/*-----HEADER-----*/

.main-header {
    background-color: #fff;
}

.main-header__title img {
    width: auto;
    max-height: 20vh;
}

.page_index:not(.indexSite) .main-header {
    padding-top: 0;
}

.page_index:not(.indexSite) .main-header__title, .main-header__title {
    margin: 0 auto 0.8em auto;
	max-height: 40vh;
}

.container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    padding-right: 0;
    padding-left: 0;
}

/*-----TOP MENU-----*/

#languageNav .main-header__lang-link {
    color: #000;
    background: transparent;
    border: 1px solid transparent;
}

#languageNav .main-header__lang-link:hover, #languageNav .main-header__lang-link:focus, #languageNav .main-header__lang-link:active {
    color: #000;
    border: 1px dotted #000;
}

.task_count, .task_count:active, .task_count:focus, .task_count:hover {
    background: #c7c7c7;
    padding: 0 0.5ex;
    border-radius: 4px;
	color: #000;
}

.nav-link:focus, .nav-link:hover, .nav-link {
    color: inherit;
}

.dropdown-menu {
	font-size:inherit;
}

.dropdown-item {
	font-weight: inherit;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #3586b3;
	color: #fff;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #4091b8;
}

.main-header__admin-link, .main-header__lang-link {
    background-color: #fff;
    color: #000;
}

.main-header a {
    border: 1px solid transparent;
}

.main-header__admin-link:hover, .main-header__lang-link:hover, .main-header__admin-link:focus, .main-header__lang-link:focus, .main-header__admin-link:active, .main-header__lang-link:active {
    background-color: #fff;
    color: #000;
    border: 1px dotted #000;
}

.main-header__nav-link {
	background: transparent;
	color: #fff;
}

.main-header__nav-link:hover, .main-header__nav-link:focus, .main-header__nav-link:active {
    color: #fff;
    background-color: transparent;
    border: 1px dotted #fff;
}

/*-----MAIN MENU-----*/

#navigationPrimary .dropdown-item a {
    border: 1px solid transparent;
	color:#fff;
}

#navigationPrimary .dropdown-item a:active,
#navigationPrimary .dropdown-item a:hover,
#navigationPrimary .dropdown-item a:focus {
    background-color: #3586b3;
    color: #fff;
	border: 1px dotted #fff;
}

#navigationPrimary .dropdown-menu.show {
    background-color: #3586b3;
    box-shadow: 0 10px 9px rgba(0,0,0,0.1);
	margin-top: -1px;
	justify-content: space-evenly;
}

.navbar-expand-sm {
	background: #3586B3;
    box-shadow: 0 6px 5px rgba(0,0,0,0.1);
}

@media (min-width: 576px) {			/*per non avere sottomenu fisso in linea*/
	#navigationPrimary .nav-item {
		position: relative;
	}
	
	#navigationPrimary .dropdown-menu.show {
		display: block;
		width: auto;
	}
	
	.dropdown-menu.show li {
		display: block;
	}
}

/*-----responsive main menu-----*/

@media (max-width: 575px) {
	
	#navigationPrimary .dropdown-item a {
		color:inherit;
	}

	#navigationPrimary .dropdown-menu.show {
		background-color: #fff;
	}

	#navigationPrimary .dropdown-item a:active, #navigationPrimary .dropdown-item a:hover, #navigationPrimary .dropdown-item a:focus {
		border: 1px solid transparent;
	}
	
	.main-header__nav-link:focus {
		border: 1px solid transparent;
	}

}

/*-----INFO CONTAINER-----*/

.journal-description {
    background: #3586B3;
	padding: 1em 0 1em 0;
}

.btn-primary {
    background-color: transparent;
}

h3 {
    margin: 1.5rem 0 1rem 0;
}

/*-----AVVISI CONTAINER-----*/

.announcements {
    background: #eef;
    padding: 0.8vh 0 0 0;
}

.announcement__title {
    margin: 0 0 -0.5em 0;
}

/*-----AVVISI PAGE-----*/

article .text-muted {
    margin: -0.5em 0 0.5em 0;
}

.obj_announcement_full .description {
    margin-top: 1.3em;
}

/*-----ARTICLE CONTAINER-----*/

.issue {
	background: #fff;
	color: #000;
	padding-top: 5vh;
}

.col-md-6 {
    flex: 0 0 60%;
    max-width: 60%;
}

.issue-desc {
    border-bottom: 3px dotted #000;
}

.issue-desc a {
    color: #3586b3;
    padding-left: 5px;
}

.issue-desc a:hover, .issue-desc a:focus, .issue-desc a:active {
    color:  rgba(53,134,179,0.7);
}

.issue-section {
    padding: 7.5vh 0 0 0;
}

.issue-section__toc {
    padding: 0;
}

.issue-section__title {
    font-family: 'Spectral',serif;
}

.article {
    margin-bottom: 1.5em;
}

.article:hover {
    background: rgba(200,200,200,0.2);
}

.issue-desc__btn-group .article__btn {
    border: 1px solid #000;
	color: #000;
}

.issue-desc__btn-group .article__btn:hover {
    background-color: #000;
    color: #fff;
}

.offset-md-4 {
    margin-left: 5%;
}

.article__meta {
     margin-bottom: 0.8em;
}

.article__btn {
    margin-right: 1.5vw;
}	
	
.article__btn-group li {
    margin-bottom: 0.8em;
    margin-top: -1.5em;
}

@media (min-width: 768px) {
	.col-md-8 {
		/* allarga spazio per titolo in visualizzazione desktop */
		flex: 0 0 75%;
		max-width: 75%;
	}

	.col-lg-3 {
		/* bisogna ridimensionare la colonna di dx secondo l'istruzione precedente */
		flex: 0 0 20%;
		max-width: 20%;
	}
	.offset-lg-1 {
		margin-left: 3%;
	}
	
}

@media (max-width: 767px) {
	.issue-desc__title {
		/* aggiunge spazio vert in visualizzazione smartphone*/
		margin-top: 1.5rem;
	}
}

/*-----ASIDE (SOLO PER NON-OA)-----*/

aside p, aside dt, aside dd, aside li {
    font-size: inherit;
    font-family: 'Spectral',serif;
	margin-bottom: 0;
}

.additional-home-content {
    padding-top: 4vh;
    padding-bottom: 4vh;
    text-align: center;
}

aside img{
    box-shadow: 8px 8px 5px rgba(0,0,0,0.2);
}

/*-----ARTICLE PAGE-----*/

.article-page {
    background: transparent;
    color: #000;
}

.article-page a {
    color: #000;
}

.list-galleys a {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}

.list-galleys a:hover {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

.article-sidebar {
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.references li {
	margin-bottom: 0;
}

.authors-string__item .orcid_icon {
    margin-left: 0.5em;
}

/*-----CONTACT PAGE-----*/

.contact_section .affiliation, .contact_section .email {
	font-variant: all-small-caps;
}

/*-----FOOTER-----*/

.sidebar_wrapper {
    border-top: 3px dotted #000;
    padding-top: 7.5vh;
}

.main-footer {
    border-top: none;
	padding: 0 0 1.5em 0;
}

/*-----LOG IN-----*/

.btn-primary {
	color: #000;
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    background-color: #000;
    color: #fff;
}

.modal-content {
	background: #3586b3;
}

.modal-content .btn-primary {
    background-color: transparent;
    color: #fff;
}

.modal-content .btn.btn-primary:hover,
.modal-content .btn.btn-primary:focus,
.modal-content .btn.btn-primary:active {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}

.modal-content .btn.btn-secondary:hover,
.modal-content .btn.btn-secondary:focus,
.modal-content .btn.btn-secondary:active {
    text-decoration: none;
}

.modal-content a:hover,
.modal-content a:focus,
.modal-content a:active {
    text-decoration: underline;
}

.form-control:focus {
    border-color: #000;
}

#register legend {
    margin: 0.5rem 0;
    font-size: inherit;
    font-weight: 600;
}

/*-----SEARCH FORM-----*/

.search__form {
    background-color: #3586b3;
}

.search__form button {
    color: #fff;
}

/*-----ELENCO RIVISTE-----*/

.is_img {
  max-width: 550px;
}

.about_site ul {
  margin-bottom: 0;
}

.index-site__journals .description {
  font-size: 14px;
}

.about_site {
  margin-top: 0.5em;
  font-size: 14px;
}

.img-thumbnail {
  max-width: 130px;
}

.has_thumb:hover {
    background: rgba(200,200,200,0.2);
}

/*--per avere una visualizzazione a tabella delle riviste--*/
	.has_thumb:after {	
		content: "";
		display: table;
		clear: both;
	}
	
	.index-site__journals .thumb {
		width: 22%;
		float: left;
	}
	
	.index-site__journals .description {
		width: 77%;
		float: right;
	}
	
	.index-site__links {
		width: 77%;
		float: right;
	}
	
	.has_thumb h3 {
		font-size: 19px;
		width: 77%;
		float: right;
		margin-top: 0;
	}
/*--end--*/

/*---visualizzazione riviste responsive---*/
@media (max-width: 991px) {
	.index-site__journals .thumb {
		float: none;
		margin-bottom: 1em;
	}
	
	.has_thumb h3 {
		float: none;
	}
	
	.index-site__journals .description {
		float: none;
	}
	
	.index-site__links {
		width: auto;
		float: none;
	}
}
/*--end--*/