/*
Theme Name:     Link Deib
Theme URI:      http://www.link.deib.polimi.it/
Description:    Tema Child del tema Twenty Thirteen per il sito Link
Author:         Stefano Zaniboni
Author URI:     stefano1.zaniboni@gmail.com
Template:       twentythirteen
Version:        0.1.0
*/

.site-title, .site-description {
   display: none;
}

#logo {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 203px;
	height: 188px;
	background: transparent url(img/logo_link.png) center center/contain no-repeat;
}

#navbar {
   background-color: #fff;
}

.search-form {
   display: none;
}

.nav-menu li a {
	color: #5a5a5a;
	display: block;
	font-size: 15px;
	line-height: 1;
	padding: 15px 20px;
	text-decoration: none;
	text-transform: lowercase;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #057dce;
	color: #fff;
}

.nav-menu .sub-menu,
.nav-menu .children {
	background-color: #fff;
	border: none;
	border-top: 0;
	padding: 0;
	position: absolute;
	left: -2px;
	z-index: 99999;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

ul.nav-menu {
	text-align: right;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
	color: #5a5a5a;
	margin: 0;
	width: 200px;
        text-align: left;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #057dce;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #057dce;
	font-style: normal;
}

.site-info {
	display: none;
}
/*
sfondo: f8fbff
testo blu: 057dce
testo grigio: 5a5a5a
font: Open Sans (google)
*/

/* Footer */
.site-footer, .site-footer .sidebar-container {
	background-color: #f8fbff;
}

/* Full Width Page style */

.page-template-full-width .hentry {
	max-width: 100%;
}
.page-template-full-width .entry-header, .page-template-full-width .entry-content, .page-template-full-width .entry-summary, .page-template-full-width .entry-meta {
    max-width: 1024px;
}

@media screen and (min-width: 673px) {
	.page-template-full-width .site-content {
		margin-right: 0;
	}

	.page-template-full-width .site-content .has-post-thumbnail .entry-header,
	.page-template-full-width.singular .site-content .hentry.has-post-thumbnail {
		margin-top: -48px;
	}
}

@media screen and (min-width: 810px) {
	.page-template-full-width .site-content blockquote.alignleft,
	.page-template-full-width .site-content blockquote.alignright {
		width: -webkit-calc(50% + 130px);
		width:         calc(50% + 130px);
	}

	.page-template-full-width .site-content .alignleft {
		clear: left;
	}

	.page-template-full-width .site-content .alignright {
		clear: right;
	}
}

@media screen and (min-width: 846px) {
	.page-template-full-width.singular .site-content .hentry.has-post-thumbnail {
		margin-top: -72px;
	}
}

@media screen and (min-width: 1040px) {
	.page-template-full-width .archive-header,
	.page-template-full-width .comments-area,
	.page-template-full-width .image-navigation,
	.page-template-full-width .page-header,
	.page-template-full-width .page-content,
	.page-template-full-width .post-navigation,
	.page-template-full-width .site-content .entry-header,
	.page-template-full-width .site-content .entry-content,
	.page-template-full-width .site-content .entry-summary,
	.page-template-full-width .site-content footer.entry-meta {
		padding-right: 30px;
		padding-left: 30px;
	}
}

@media screen and (min-width: 1218px) {
	.page-template-full-width .archive-header,
	.page-template-full-width .comments-area,
	.page-template-full-width .image-navigation,
	.page-template-full-width .page-header,
	.page-template-full-width .page-content,
	.page-template-full-width .post-navigation,
	.page-template-full-width .site-content .entry-header,
	.page-template-full-width .site-content .entry-content,
	.page-template-full-width .site-content .entry-summary,
	.page-template-full-width .site-content footer.entry-meta {
		margin-right: auto;
	}
}