/*
Theme name: IZSLT - Centri di referenza
Description: Tema per il portale dell'Istituto Zooprofilattico Sperimentale del Lazio e della Toscana dei siti satelliti
Version: 1.0
 
Author: Parisi Daniele
 
Tags: 2 colonne, responsive, clean, minimal
*/

/* Fonts */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);

.banner {
	width:98%; 
	height:80%; 
	margin: 15px auto 0 5px;
}

/* Newsletter Daniele */

@media screen and (max-width:1200px) {
	aside #form-wysija-3 input[type=text] {width: 190px; }

}

aside #form-wysija-3 {
	margin-top:20px;
	border:	1px solid #009bd0;
	
		}
aside #form-wysija-3 input[type=text] { 
	background: #fafafa none repeat scroll 0 0;
    border: 1px solid #ebebeb;
    color: #333;
    display: block;
    font-size: 13px;
    /* line-height: 26px; */
    margin-bottom: 10px;
    text-indent: 10px;
    width: 206px;
	height: 26px;
	margin-left:auto;
	margin-right:auto;
	}
aside #form-wysija-3 label {
	display:block;
	font-size: 13px;
	width: 206px;
	margin-left:auto;
	margin-right:auto;
	color:rgba(144,141,141,1.00);
	} 
aside #form-wysija-3 input[type="submit"] {
    background: #30acea none repeat scroll 0 0;
    border: 1px solid #30acea;
    border-radius: 5px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    text-transform: uppercase;
	margin-bottom:10px;
	margin-left:10px;
}
aside #form-wysija-3 h5	{	
	background: #009bd0 none repeat scroll 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    height: 32px;
    /* line-height: 30px; */
    padding: 0 20px;
    text-transform: uppercase;}

aside #form-wysija-3 input[type=submit]:hover { background: #3DBAF8; background-color:rgba(13,39,245,1.00); }



/* end newsletter */


/* Citazione */
blockquote {
    background: #cde5ea url(assets/images/postquote.png) no-repeat scroll 0 0;
    border: 1px dotted #9fcdd6;
    clear: both;
    color: #020000;
    font-family: "Droid Serif",Arial,"Arial Unicode MS",Helvetica,sans-serif;
    font-style: italic;
    font-weight: normal;
    margin: 0 10px 10px 10px;
    overflow: auto;
    padding: 12px 12px 2px 36px;
	border-radius: 7px;
}

/* SIDEBAR */

aside#sidebar_sx {
 width:245px;
 float:left;
}
aside#sidebar_sx .textwidget { margin:15px 10px 0px; }
aside#sidebar_sx .textwidget img { max-width: 240px; }

/* Regole Template */
* { margin:0; padding:0; border: none; position: relative; font-family: 'Open Sans', Arial, sans-serif; }
html, body { height:100%; }

/* Utility */
a, input, textarea, select { outline: none; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.transition { transition: all 0.3s; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; }
hr { border-bottom: 1px solid #EBEBEB; margin-bottom: 10px; }
.hide-on-desktop {display:none;}

/* Wrapper */
#wrapper { min-height:100%; height:auto !important; height:100%; width:100%; margin-bottom: -126px; }
#wrapper .pushfooter{ height:126px; clear:both; }
.container { width: 1150px; margin: 0 auto; }

/* Header */
header { background: #F6F6F6; border-bottom: 1px solid #EBEBEB; }
header h1 { width: 378px; height: 71px; padding: 10px; float: left; text-indent: -100000px; background: url(assets/images/logo_izslt.png) 10px 10px no-repeat transparent; }
header h1 a { display: block; height: 71px;}

header nav#generalNav .show-main-nav { display: none }
header nav#generalNav .main-nav { float: right; height: 31px; padding: 30px 0; /* line-height: 31px; */ font-size: 14px; font-weight: 400;  }
header nav#generalNav .main-nav .menu-menu-generale-container { float: left; }
header nav#generalNav .main-nav ul { list-style: none; }
header nav#generalNav .main-nav ul li { float: left; margin: 0 6px; }
header nav#generalNav .main-nav ul li.current-menu-item a { color: #082af9; }
header nav#generalNav .main-nav a { text-decoration: none; color: #1E1E1E; }
header nav#generalNav .main-nav a:hover { color: #082af9; }
header nav#generalNav .main-nav .qtranxs_language_chooser { float: left; margin: 0 10px 0 7px; }
header nav#generalNav .main-nav .qtranxs_language_chooser li { margin: 0; }
header nav#generalNav .main-nav .qtranxs_language_chooser li.active { display: none; }
header nav#generalNav .main-nav .qtranxs_language_chooser li a.qtrans_flag_and_text { background-position: 14px 4px; background-size: 16px auto; padding-left: 39px; }
header #searchform { display: none; }

/* Nav */
nav#websiteNav,
nav#loggedNav { width: 240px; margin: 20px 0; background: #F6F6F6; border: 1px solid #EBEBEB; }
nav#websiteNav .show-nav,
nav#loggedNav .show-nav { display: none; }
nav#websiteNav .menu,
nav#loggedNav .menu { list-style: none; }
nav#websiteNav .menu > li,
nav#loggedNav .menu > li { border-bottom: 1px dotted #EBEBEB; }
nav#websiteNav .menu > li:last-child,
nav#loggedNav .menu > li:last-child { border-bottom: none; }
nav#websiteNav .menu li.menu-item-has-children > a { background: url(assets/images/dir_arrowdown.png) right center no-repeat transparent; }
nav#websiteNav .menu li.menu-item-has-children > a:hover,
nav#websiteNav .menu li.menu-item-has-children.current-menu-parent > a,
nav#loggedNav .menu li.menu-item-has-children > a,
nav#loggedNav .menu li.menu-item-has-children > a:hover,
nav#loggedNav .menu li.menu-item-has-children.current-menu-parent > a { background: url(assets/images/dir_arrowdown_hover.png) right center no-repeat transparent; }
nav#websiteNav .menu li a,
nav#loggedNav .menu li a { display: block; padding: 10px 30px 10px 10px; /* line-height: 16px;*/ font-size: 15px; font-weight: 400; color: #000000; text-decoration: none; text-transform: uppercase; transition: all 0.3s; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; }
nav#websiteNav .menu li a:hover,
nav#websiteNav .menu li.current-menu-item > a,
nav#websiteNav .menu li.current-menu-parent > a,
nav#loggedNav .menu li a:hover,
nav#loggedNav .menu li.current-menu-item > a,
nav#loggedNav .menu li.current-menu-parent > a { color: #0301DC; }
nav#websiteNav .menu li ul,
nav#loggedNav .menu li ul { display: none; list-style: none; background: #FCFCFC; padding: 5px 0; }
nav#websiteNav .menu li ul li a,
nav#loggedNav .menu li ul li a { text-transform: none; font-size: 13px; font-weight: 400; padding: 5px 20px; }
nav#websiteNav .menu li ul li.current-menu-item a,
nav#loggedNav .menu li ul li.current-menu-item a { color: #0301DC; } 
nav#websiteNav .menu li ul li a:hover,
nav#loggedNav .menu li ul li a:hover { padding: 5px 15px 5px 25px; background-color: transparent; }

nav#loggedNav { width: 228px; margin: 0 0 20px; }
nav#loggedNav .menu li { margin: 0; }

/* Section */
section { float: right; width: 820px; margin: 20px 45px 20px 0; }
section .top-banner { width: 100%; margin-bottom: 20px; }
section #mainContent { float: left; width: 850px; }
section aside { float: right; width: 230px; }

/* Breadcrumb */
.breadcrumb { font-size: 11px; margin-bottom: 10px; color: #AAA; }
.breadcrumb a { color: #57A5CF; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline;}

/* Content Box */
.content-box { border: 1px solid #009bd0 ; }
.content-box .content-box-title { background: #009bd0 ; color: #FFF; font-size: 16px; font-weight: 700; /* line-height: 20px; */ padding: 5px 20px; text-transform: uppercase; }
.content-box .content-box-title a { color: #FFF !important; text-decoration: none; }
.content-box #pagination { margin: 0 20px; padding: 10px 0; border-top: 1px dotted #009bd0 ; text-align: right; }
.content-box #pagination strong, 
.content-box #pagination a { display: inline-block; margin: 0 5px; font-size: 12px; color: #57A5CF; }
.content-box #pagination a {  text-decoration: none; }
.content-box #pagination a:hover { color: #333; }

/* Article */
.content-box article { margin: 15px 20px; padding-bottom: 10px; border-bottom: 1px dotted #009bd0 ; }
.content-box article:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 10px; }
.content-box article h1 { font-size: 18px;  /* line-height: 22px; */ margin-bottom: 10px; }
.content-box article h1 a { color: black; text-decoration: none; }
.content-box article h1 a:hover { color: #0301dc; }
.content-box article h1.content-box-title { width: 100%; margin: -16px -20px 10px; background: #009bd0; color: #FFF; font-size: 16px; font-weight: 700; /* line-height: 20px; */ padding: 5px 20px; text-transform: uppercase; }
.content-box article h1.content-box-title a { color: #FFF !important; }
.content-box article h2, .content-box article h3,
.content-box article h4, .content-box article h5,
.content-box article h6 { font-size: 15px;  /* line-height: 20px; */ margin-bottom: 10px; }
.content-box article h3 { font-size: 14px; font-weight: 500; }
.content-box article h4, .content-box article h5,
.content-box article h6 { font-size: 14px; }
.content-box article p { font-size: 14px; /* line-height: 20px; */ font-weight: 500; color: #000000; margin-bottom: 10px; }
.content-box article p a.pdf { display: inline-block; background: url(assets/images/files_pdf.png) 0 0 no-repeat; padding-left: 24px; }
.content-box article p a, .content-box article ul li a, 
.content-box article ol li a { color: #0301dc; text-decoration: none; }
.content-box article p a:hover, .content-box article ul li a:hover, 
.content-box article ol li a:hover { text-decoration: underline; }
.content-box article ul, .content-box article ol { margin-left: 20px; margin-bottom: 10px; }
.content-box article ul li, .content-box article ol li { font-size: 13px; /* line-height: 20px; */  color: #000000; }
.content-box article .faq { list-style-type: none; margin: 0 0 20px !important; }
.content-box article .faq li { margin-bottom: 10px; }
.content-box article .faq li .more { display: none}
.content-box article img.alignleft { float: left; margin: 5px 10px 5px 0; }
.content-box article img.alignright { float: right; margin: 5px 0 5px 10px; }

.content-box article a.thumbnail { float: left; z-index: 10; }
.content-box article a.thumbnail img { margin: 3px 10px 3px 0px; padding: 3px; background: #F6F6F6; border: 1px solid #CDCDCD; border-radius: 3px; }

.content-box article .people { border: 1px solid #ECECEC; border-left: none; border-right: none; padding: 10px 0; }
.content-box article .people .basic-info { float: left; padding-right: 10px; width: 160px; }
.content-box article .people .curriculum { float: right; padding-left: 10px; border-left: 1px solid #ECECEC; width: 335px; }
.content-box article .people .curriculum .more { display: none; }

.content-box article .box-sede { padding-left: 180px; min-height: 150px; border-top: 1px solid #ECECEC; }
.content-box article .box-sede h3 { text-transform: uppercase; margin-top: 10px; }
.content-box article .box-sede h3 a { color: #333; text-decoration: none; }
.content-box article .box-sede h3 a:hover { color: #57A5CF; }
.content-box article .box-sede .cover-img { position: absolute; top: 15px; left: 0; }

.content-box article .sedi-infobox { padding-left: 255px; min-height: 140px; }
.content-box article .sedi-infobox .sedi-infobox-img { position: absolute; top: 0; left: 0; }

.content-box article .at-sections { list-style: none; margin: 0; }
.content-box article .at-sections h2 { margin: 20px 0 2px; font-size: 18px; }


.contacts-list { list-style: none; margin: 0 0 10px 0 !important; }
.contacts-list li { padding-left: 25px; /* line-height: 20px; */ background-image: url(assets/images/contact_sprite.png); background-repeat: no-repeat; margin-bottom: 5px; }
.contacts-list li.phone { background-position: 0px 0px; }
.contacts-list li.fax { background-position: 0px -20px; }
.contacts-list li.email { background-position: 0px -40px; }
.contacts-list li.address { background-position: 0px -60px; }
.contacts-list li.time { background-position: 0px -100px; }
.contacts-list li.person { background-position: 0px -180px; }

.content-box article .post-info { margin-top: 20px; padding: 16px 0; height: 24px; border-top: 1px dotted #99D9F5; }
.content-box article .post-info span { display: block; float: left; font-size: 11px; text-transform: uppercase; /* line-height: 16px; */ padding-left: 25px; margin: 4px 30px 4px 0; color: #0000000; background-image: url(assets/images/post_sprite.png); background-repeat: no-repeat}
.content-box article .post-info span.date { background-position: 0 0; }
.content-box article .post-info span.category { background-position: 0 -16px; }
.content-box article .post-info span.tags { background-position: 0 -32px; }
.content-box article .post-info span.comments { background-position: 0 -48px; }
.content-box article .post-info span a { color: #0000000; text-decoration: none; }
.content-box article .post-info span a:hover { color: #57A5CF; }

.content-box article.repository { border-color: #EBEBEB; }
.content-box article.repository h1 { margin: 0; padding-left: 30px; font-size: 14px; line-height: normal; background: url(assets/images/files_def.png) 0 0 no-repeat; }
.content-box article.repository h1.pdf { background: url(assets/images/files_pdf.png) 0 0 no-repeat; }
.content-box article.repository h1.doc, .content-box article.repository h1.docx,
.content-box article.repository h1.rtf, .content-box article.repository h1.odt,
.content-box article.repository h1.dot, .content-box article.repository h1.odf { background: url(assets/images/files_doc.png) 0 0 no-repeat; }
.content-box article.repository h1.xls, .content-box article.repository h1.xlsx,
.content-box article.repository h1.ods { background: url(assets/images/files_xls.png) 0 0 no-repeat; }
.content-box article.repository h1.ppt, .content-box article.repository h1.pptx,
.content-box article.repository h1.odp { background: url(assets/images/files_ppt.png) 0 0 no-repeat;; }
.content-box article.repository h1.jpg, .content-box article.repository h1.jpeg,
.content-box article.repository h1.png, .content-box article.repository h1.bmp,
.content-box article.repository h1.gif, .content-box article.repository h1.tga { background: url(assets/images/files_img.png) 0 0 no-repeat;; }
.content-box article.repository small { float: right; text-transform: uppercase; color: #CDCDCD; }

/* Login */
#loginurl,
#logouturl { display: block; height: 30px; padding-left: 40px; font-size: 14px; color: #333;  line-height: 30px;  text-decoration: none; background: url(assets/images/icon_login.png) 0 0 no-repeat; }
#logouturl { background: url(assets/images/icon_logout.png) 0 0 no-repeat; }
#loginurl strong,
#logouturl strong { font-weight: 700; }
#loginurl i,
#logouturl i { display: block; float: right; height: 17px; width: 10px; margin: 6.5px 10px; background: url(assets/images/icon_rarrow.png) left top no-repeat; }
#loginform { margin: 10px; }
#loginform input[type=text], 
#loginform input[type=email], 
#loginform input[type=password] { display: block; height: 26px; width: 100%; margin-bottom: 10px; background: #FAFAFA; border: 1px solid #EBEBEB;  line-height: 26px;  text-indent: 10px; font-size: 13px; color: #333; }
#loginform input[type=submit] { padding: 5px 10px; background: #30ACEA; border: 1px solid #30ACEA; border-radius: 5px; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset; font-size: 12px; font-weight: bold; text-transform: uppercase; color: #FFF; cursor: pointer; }
#loginform input[type=submit]:hover { background: #3DBAF8; background-color: #3DBAF8;  }

/* Commenti */
#comments h3 { font-size: 18px;  margin: 40px 0 10px; color: #57A5CF; }
#comments .commentlist { list-style: none; margin-bottom: 40px; }
#comments .commentlist li { margin-bottom: 20px }
#comments .commentlist li .children{ list-style: none; margin: 20px 0 0 50px; }
#comments .comment-body .comment-author { height: 40px; margin-bottom: 5px; }
#comments .comment-body .comment-author .avatar { float: left; height: 40px; width: 40px; margin-right: 10px; }
#comments .comment-body .comment-author cite { position: absolute; top: 0; left: 50px; color: #333; font-size: 15px; font-style: normal; font-weight: 600; }
#comments .comment-body .comment-author cite a { color: #333; text-decoration: none; }
#comments .comment-body .comment-author cite a:hover { color: #57A5CF; }
#comments .comment-body .comment-author .says { display: none; }
#comments .comment-body .comment-meta { position: absolute; top: 23px; left: 50px; font-size: 11px; /* line-height: 16px; */ text-transform: uppercase; }
#comments .comment-body .comment-meta a { color: #0000000; text-decoration: none; }
#comments .comment-body .comment-meta a.comment-edit-link { color: #57A5CF; }
#comments .comment-body .comment-awaiting-moderation { color: #E33; font-size: 10px; font-style: normal; line-height: 20px; margin: 0 0 5px 50px; text-transform: uppercase; display: block; }
#comments .comment-body > br { display: none !important; }
#comments .comment-body p { margin: 0 0 0 50px; }
#comments .comment-body .reply { text-align: right; }
#comments .comment-body .reply a { color: #57A5CF; font-size: 14px; text-decoration: none; }
#comments .comment-body .reply a:hover { color: #333; }

#comments #respond h2 { font-size: 18px;  margin-bottom: 10px; color: #57A5CF; }
#commentform { width: 518px; }
#commentform label { display: none !important; }
#commentform input[type=text], 
#commentform input[type=email], 
#commentform input[type=url], 
#commentform textarea { float: left; width: 144px; padding: 0 10px; margin: 0 10px 10px 0; height: 26px; border: 1px solid #EBEBEB; background: #FAFAFA; font-size: 13px; color: #333; line-height: 26px; }
#commentform input[type=text].error, 
#commentform input[type=email].error, 
#commentform input[type=url].error, 
#commentform textarea.error { border-color: #FAA; color: #F66; }
#commentform #url { margin: 0 0 10px 0; }
#commentform textarea { width: 496px; height: auto !important; margin: 0 0 10px 0; padding: 5px 10px; line-height: 16px; clear: both; }
#commentform input[type=submit] { padding: 5px 10px; background: #30ACEA; border: 1px solid #30ACEA; border-radius: 5px; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset; font-size: 12px; font-weight: bold; text-transform: uppercase; color: #FFF; cursor: pointer; }
#commentform input[type=submit]:hover { background: #3DBAF8; background-color: #3DBAF8; }
#commentform small { float: right; font-size: 12px; color: #0000000; }

/* Aside 
aside ul { list-style: none; }
aside ul li { margin-bottom: 20px; }
aside .banner { display: block; width: 228px; border: 1px solid #ECECEC; }  
aside .banner img { display: block; width: 100%; }
*/

aside #utility li { border: 1px solid #99d9f5; }
aside #utility li h3 { height: 32px; padding: 0 20px; line-height: 30px; font-size: 16px; font-weight: 700; color: #FFF; text-transform: uppercase; background: #99D9F5; }
aside #utility li form { margin: 10px; }
aside #utility li form input[type=text], 
aside #utility li form input[type=email], 
aside #utility li form input[type=password] { display: block; height: 26px; width: 206px; margin-bottom: 10px; background: #FAFAFA; border: 1px solid #EBEBEB; line-height: 26px; text-indent: 10px; font-size: 13px; color: #333; }
aside #utility li form input[type=submit] { padding: 5px 10px; background: #30ACEA; border: 1px solid #30ACEA; border-radius: 5px; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset; font-size: 12px; font-weight: bold; text-transform: uppercase; color: #FFF; cursor: pointer; }
aside #utility li form input[type=submit]:hover { background: #3DBAF8; background-color: #3DBAF8; }

/* Widget */
#searchform { height: 40px; }
#searchform label { display: none; }
#searchform input[type="text"] { display: block; height: 38px; width: 94%; position: absolute; top: 0; left: 0; padding-left: 10px; border: 1px solid #EBEBEB; background: #FCFCFC; line-height: 38px; font-size: 13px; color: #333; }
#searchform input[type="submit"] { display: block; height: 40px; width: 40px; position: absolute; top: 0; right: 0; border: 1px solid #EBEBEB; border-left: none; text-indent: -100000px; background: url(assets/images/search.png) 0 0 no-repeat #FCFCFC; cursor: pointer; }

/* Footer */
footer { height: 115px; padding: 15px 0px; background: #F6F6F6; border-top: 1px solid #EBEBEB; overflow: hidden; text-align: center; }
footer h1 { font-size:13px; margin:3px; font-weight:600; }
footer p { margin: 0; font-size: 11px;  line-height: 18px; color: #000000; }
footer p strong { font-weight: 600; color: #000000; }
footer p a { color: #000000; }
footer p a:hover { color: #57A5CF; }
footer p.aside-access { display: none; }

@media (max-width:1150px) {
aside#sidebar_sx { width:235px; float:left; }
.container { width: 1030px; margin: 0 auto; }
/* Section */
section { float: right; width: 720px; margin: 20px 45px 20px 0; }
section .top-banner { width: 100%; margin-bottom: 20px; }
section #mainContent { float: left; width: 750px; }
section aside { float: right; width: 230px; }

}

@media (max-width: 1100px) {
	
/* SIDEBAR */

aside#sidebar_sx {
 width:192px;
 float:left;
}
aside#sidebar_sx .textwidget img { max-width: 190px; }

.banner {
	width:95%; 
	height:80%; 
	margin:10px auto 0 auto;
}

    /* Utility */
    .hide-on-tablet { display: inline; }
       
    /* Wrapper */
    #wrapper { margin-bottom: -20px; }
    .container { width: 860px; }
    
    /* Header */
    header nav#generalNav .main-nav { display: block; float: none; clear: both; padding: 7px 0; border-top: 1px solid #EBEBEB; }
    header nav#generalNav .main-nav .lang { float: right; margin-right: 7px; border-left: none; }
    header #searchform { display: block; position: absolute; right: 5px; top: -62px; width: 220px; }
    
    /* Nav */
	nav#websiteNav,
nav#loggedNav { float: left; width: 190px; margin: 20px 15px 20px 10px; background: #F6F6F6; border: 1px solid #EBEBEB; font-size:9px !important; }
    nav#loggedNav { margin: 0 0 10px; width: auto; float: none; border-radius: 3px; overflow: hidden; }
    nav#loggedNav .show-nav { display: block; line-height: 40px; padding: 0 10px; font-size: 16px; color: #000000; text-decoration: none; text-transform: uppercase; background: url(assets/images/toggle_section_nav.png) right 0 no-repeat; }
    nav#loggedNav .show-nav:active { background-position: right -40px; }
    nav#loggedNav .show-nav.active { background-position: right -80px; }
    nav#loggedNav .show-nav.active:active { background-position: right -120px; }
    nav#loggedNav .menu { display: none; border-top: 3px double #EBEBEB; }
    nav#loggedNav a:active { background-color: #FFF !important; color: #57A5CF; transition: none !important; -webkit-transition: none !important; -moz-transition: none !important; }
    nav#loggedNav .menu li ul { padding: 10px 0; }
    nav#loggedNav .menu li ul li a { padding: 10px 20px !important; }
    
    /* Section */
    section { width: 590px; }
    section #mainContent { float: none; width: 100%; margin-bottom: 20px; }
    section aside { float: none; width: 100%;}
    
    /* Article */
    .content-box article .people .curriculum { width: 250px; }
    
    /* Commenti */
    #commentform { width: 434px; }
    #commentform input[type=text], 
    #commentform input[type=email], 
    #commentform input[type=url] { width: 116px; }
    #commentform textarea { width: 412px; }
    
    /* Aside */
    aside #searchform  { display: none; }
    aside #editable-sidebar { float: left; margin-right: 20px; }
    aside #editable-sidebar li:first-child { display: none; }
    aside #utility { float: left; width: 200px; }
    aside #utility li form input[type=text], 
    aside #utility li form input[type=email], 
    aside #utility li form input[type=password] { width: 202px; }
    
}
@media (max-width: 768px) {
	
	.banner {
	width:95%; 
	height:80%; 
	margin:10px auto 0 10px;
	}
	
    /* Utility */
    .hide-on-mobile { display: none; }
    .show-on-mobile { display:inline; }

    aside .textwidget { max-width: 80%; margin:15px auto; }
       
    /* Wrapper */
    #wrapper { min-width: 320px; }
    #wrapper .pushfooter { height: 20px; }
    .container { width: 100%; }
    
    /* Header */
    header h1 { height: 47px; width: 250px; background-size: 250px auto; }
    header h1 a { height: 47px; }    
    
     header nav#generalNav .show-main-nav { display: block; position: absolute; right: 10px; top: 13px; width: 41px; height: 41px; background: url(assets/images/toggle_nav.png) left top no-repeat; text-indent: -100000px; }
    header nav#generalNav .show-main-nav:active { background-position: 0 -41px; background-color: #FFF; border-radius: 5px; }
    header nav#generalNav .show-main-nav.active { background-position: -41px 0; }
    header nav#generalNav .show-main-nav.active:active { background-position: -41px -41px; }
    header nav#generalNav .main-nav { display: none; height: auto; padding: 0; font-size: 14px; background-color: #F9F9F9; }
    header nav#generalNav .main-nav .menu-menu-generale-container { float: none; }
    header nav#generalNav .main-nav ul { float: none; }
    header nav#generalNav .main-nav ul li { float: none; display: block; margin: 0; padding: 0; border-bottom: 1px dotted #EBEBEB; }
    header nav#generalNav .main-nav ul li:last-child { border-bottom: 3px double #EBEBEB; }
    header nav#generalNav .main-nav ul li a { display: block; padding: 5px 20px; }
    header nav#generalNav .main-nav a:active { color: #082af9; background-color: #FFF; }
    header nav#generalNav .main-nav .qtrans_language_chooser { float: none; display: block; margin: 0; border-left: none; }
    header nav#generalNav .main-nav .qtrans_language_chooser li a.qtrans_flag_and_text { display: block; padding: 5px 20px 5px 45px; background-position: 20px 16px; }
    
    /* Nav */
    nav#websiteNav { margin: 20px; width: auto; float: none; border-radius: 3px; overflow: hidden; }
    nav#websiteNav .show-nav { display: block; line-height: 40px; padding: 0 10px; font-size: 16px; color: #0000000; text-decoration: none; text-transform: uppercase; background: url(assets/images/toggle_section_nav.png) right 0 no-repeat; }
    nav#websiteNav .show-nav:active { background-position: right -40px; }
    nav#websiteNav .show-nav.active { background-position: right -80px; }
    nav#websiteNav .show-nav.active:active { background-position: right -120px; }
    nav#websiteNav .menu { display: none; border-top: 3px double #EBEBEB; }
    nav#websiteNav a:active { background-color: #FFF !important; color: #57A5CF; transition: none !important; -webkit-transition: none !important; -moz-transition: none !important; }
    nav#websiteNav .menu li ul { padding: 10px 0; }
    nav#websiteNav .menu li ul li a { padding: 10px 20px !important; }
    header #searchform { margin: 20px; left: 0; position: relative; top: 0; width: auto; }
    
    /* Section */
    section { margin: 0 20px 20px; width: auto; float: none; }
    section .top-banner { display: none; }
    section aside * { width: 100% !important; }
    
    /* Article */
    .content-box article .sedi-infobox { padding-left: 0; min-height: 20px; }
    .content-box article .sedi-infobox .sedi-infobox-img { position: relative; margin: 0 10px 10px 0; float: left; }
    
    /* Content Box */
    .content-box #pagination { text-align: center; }
    
    /* Commenti */
    #commentform { width: 96.5%; }
    #commentform input[type=text], 
    #commentform input[type=email], 
    #commentform input[type=url] { width: 100%; }
    #commentform textarea { width: 100%; }
    
    /* Footer */
    footer { height: auto; padding: 10px 10px 15px; }
    
}

@media (max-width: 400px) {
	
	.banner { width:90%; height:80%; margin:10px auto 0 10px; }
	
    /* Article */
    .content-box article a.thumbnail { float: none }
    .content-box article a.thumbnail img { width: 100%; height: auto; margin: 5px -4px; }
    .content-box article img { width: 100%; height: auto; margin: 0 !important; float: none !important; }
    
    .content-box article .people .basic-info,
    .content-box article .people .curriculum { float: none; padding: 0; border: none; width: 100%; } 
    .content-box article .people .basic-info img { margin: 0 auto; }
    
    .content-box article .box-sede { padding-left: 0; }
    .content-box article .box-sede h3 { margin-bottom: 0; }
    .content-box article .box-sede .cover-img { position: relative; margin-bottom: 20px; }
    
    .content-box article .sedi-infobox .sedi-infobox-img { position: relative; margin: 0 0 10px 0; float: none; }
        
    /* Commenti */
    #commentform { width: 93%; } 

    /*widget */
    aside .textwidget { width: 100% !important; margin:auto; }


}

@media (max-width: 600px) {
    #wpadminbar { top: -46px !important; }
}