 /*
 Theme Name:     Twenty Thirteen Child for Massarosa
 Theme URI:      http://example.com/twenty-thirteen-child/
 Description:    Twenty Thirteen Child Theme for Associazione musicale Massarosa
 Author:         Cesare Bacchini
 Author URI:     http://www.bacchini.net
 Template:       twentythirteen
 Version:        1.0.0
*/

@import url("../twentythirteen/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */
html, body,page {
 	height: 100%
}

body{
background-image:url("headers/massarosabackground.png"); 
/*	background-color: grey; */
 background-repeat: repeat-x;
}

.menu-item a{
    font-weight: bold;

}
/* to avoid border on tables*/
#whoweare td {
	border-top: 0px;
	padding: 0px;
}

/*body{
    background-color:#78a4d5;
}*/
.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
	margin-left: 0px;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
	margin-right: 0px;
}

#page {
    background-color:transparent;
    border-left:0px none;
    border-right:0px none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica;
}

#navbar{
    background-color: transparent;
    margin: 3px 0 0;
}

#menu-home > .menu-item{
border: 2px dotted #BCC6CC;
}

#langSel {
width:100%;
height:20px;
display:table;
margin: 0 auto;
}

#langleft{
	float:left;
    margin:0px;
	display: inline;
	color:#98bae0;
}

#langright{
	float:right;
    margin:0;
}

#langcenter{
	overflow:hidden;
	color:white;
	display:inline;
}

#langSel .qtranxs_language_chooser{
	float:right;
    margin:0;
}

#langSel .qtranxs_language_chooser li {
    list-style-type:none;
	display: inline;
	margin: 0 auto;
}

#langSel .qtranxs_language_chooser li .qtranxs_image{
    float:right;
    padding-right:20px;
	margin:0 auto;
	display: table;
}
#langSel .qtranxs_widget_end{
	margin:0 auto;
	display: table;
}

/*h1.site-title
{
font-size:30px;
color:white;
max-width:270px;
text-align: center;
}
*/

	.site-header .home-link {
		 text-align: center;
		 max-width: 1157px;
		 max-height:170px;
	}


#site-navigation, #langSel, .ccontainer{
	 max-width: 1157px;
	}

@media (max-width: 2157px) {
	.site-title
	{
	font-size:30px;
	}
	.entry-title
	{
	font-size:30px;
	}
	.ccontainer{
		margin: 0 auto;
		max-width:1157px;
		min-height: 135px;
		min-height:70px !important;
		-webkit-text-size-adjust: 100%;
		}
	.site-header .home-link {
		 text-align: center;
		 max-height:170px !important;
		 min-height:170px !important;
	}
	#langleft{
	font-size:100%;
	} 
}

@media (max-width: 767px) {
	#langSel, .ccontainer, #overlay {
	max-width:670px !important;
	}
	#headbk{
		min-height:75px;
		margin: 0 auto;
		display:block;
	}
	.site-header .home-link{
    max-height: 70px  !important;	    
    min-height: 70px  !important;	    
	}
}


@media (max-width: 643px) {
	#langSel, .ccontainer, #overlay {
	max-width:599px !important;
	}
	#menu-main{
	    text-align:center;
	}
	#navbar{
	text-align:center;
    background-color: transparent;
    margin: 3px 0 0;
    }
	#navbar .menu-item a{
    background-color: white;
    margin: 3px 0 0;
    }
    .nav-menu li a {
    margin: 0 auto !important;
    display:block;
    width:75% !important;
    }
     .nav-menu li {
    text-align:center;
    }
    .toggled-on .nav-menu li > ul {
        margin-left:0;
    }
    .nav-menu .sub-menu, .nav-menu .children {
        border: 0;
    }
    .menu-item-has-children > a:after  { 
        content: ' ▾';
    }  
    .sub-menu a {
        font-weight: normal
    }
    .sub-menu .sub-menu a {
        font-style: italic
    }
    .toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover {
    background-color: #db572f !important;
    color: #fff;
    }
    .menu-toggle {
        font: bold 20px "Source Sans Pro", Helvetica, sans-serif;
    background-repeat:no-repeat;
    }
    .menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:focus,
	.menu-toggle:active {
		background: none;
		border: none;
		color: #141412;
		padding: 0 0 0 10px;
	}

	.site-title
	{
	font-size:30px;
	max-width:270px;
	}

	.entry-title
	{
	font-size:20px;
	}
	#site-navigation, .ccontainer{
		min-height: 135px;
		margin: 0 auto;
		-webkit-text-size-adjust: 100%;
	}
	.site-header .home-link {
		 text-align: center;
		 max-height:170px !important;
		 min-height:70px !important;
	}
	#headbk{
		min-height:92px;
		margin: 0 auto;
		display:block;
	}
	#pagesL0{
		margin-top:-25px;
	} 
	#langleft{
		font-size:80%;
	} 
	#pagesL{
		margin-top: 1.8em !important;
	}
	
}

@media (max-width: 599px) {
	#langSel, .ccontainer, #overlay {
	max-width:599px !important;
	}
	.site-title	{
	font-size:20px;
	}
}

@media (max-width: 359px) {
.site-header {
    background-size: 768px auto !important;
    }
.site-title {
	font-size:15px;
	}
}
@media (max-width: 330px) {
.site-header {
    background-size: 768px auto !important;
    height: 100px;
    }
.site-title {
	font-size:18px;
	}
#headbk {
    min-height: 42px;
    max-height: 42px;
    }
.site-header .home-link {
    text-align: center;
    max-height: 170px !important;
    min-height: 30px !important;
}
}
input[type="search"] {
    width: 0;
}
.search-form {
    position: absolute;
    right: 20px;
    top: 1px;
}

@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)
{
	.search-field {
		background-image: url(images/search-icon-2x.png);
	}
}

.search-field {
	background-color: transparent;
	background-image: url(images/search-icon.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	border: none;
	cursor: pointer;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 1px;
}

.search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 230px;
}

#pagesL0{
    width:100%;
    text-align: center;
    }
#pagesL{
    padding-left: 20px;
    margin: 0 auto;
    display: table;
    max-width:1157px;
    width:100%;
    text-align: left;
    color: lightgrey;
    }
#pagesL a{
    color: lightgray;
    text-align: left;
}
#h12{
    width:100%;
     text-align: center ; 
    }
h2.site-description {
    font: 30px;
    font-style:normal;
    margin: 0;
    font-family: Helvetica;
    font-weight: bold;
    color: lightgray;
    padding: 0 0 0 60px;
    display: inline;
    }
h1.site-title{
    display:inline;
    max-width:270px;
    font-family: Helvetica;
    color:#ffffff;
    }
	
#page #article .entry-header{
    padding: 1em 0 0 50px;
	margin-top: 1em;
    }
#page .entry-header{
    max-width:none;
    max-width:1157px;
    padding: 0 0 0 50px;
	margin-top: 1em;
    }
.nav-menu li a {
    padding: 6px 20px;
    font-size:100%;
}
#site-navigation{
    min-height: 25px;
}
.site-header .search-field {
    height: 22px;
    }
.entry-header{
    margin-bottom:0;
}
.hentry {
    padding: 10px 0;
}
.entry-header  {
    text-align:center;
    background-color: #F7F5E7;
}
.entry-header h1  {
    font-size:24px;
}
.entry-header h1, .entry-header .entry-dttime  {
    display: inline;
    vertical-align: bottom;
    margin:0px;
}
.entry-dttime {
    font-size:20px;
    color: lightgray;
    line-height: 1.5;
}

.entry-header, .entry-content, .entry-summary, .entry-meta {
    margin: 0 auto;
    max-width: 1157px;
    width: 100%;
    padding-left:20px;
}
.home .entry-content {
	padding-left: 0px;
}
#primary table a{
   line-height: 1.2;
}

.current-menu-item > a, .nav-menu .current-page-ancestor > a {
    color: #BC360A;
    font-style: italic;
}
/* audio player slider container */
 .hentry .mejs-container .mejs-controls {
    background: none repeat scroll 0 0 #D3D3D3;
}
/* javascript for captcha */
.realperson-challenge {
	display: block;
	color: #000;
}
.realperson-text {
	font-family: "Courier New",monospace;
	font-size: 6px;
	font-weight: bold;
	letter-spacing: -1px;
	line-height: 3px;
}
.realperson-regen {
	padding-top: 4px;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
}
.realperson-disabled {
	opacity: 0.5;
	filter: Alpha(Opacity=50);
}
.realperson-disabled .realperson-regen {
	cursor: default;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	background: #d94412; /* Old browsers */
	background: -webkit-linear-gradient(top, #d94412 0%, #e05d22 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #d94412 0%, #e05d22 100%); /* W3C */
	border: none;
	border-top: 3px solid #b93207;
    padding:3px;
}

.site-header .search-field {
	background-image: url(images/search-icon-2w.png);
}

#ccontainer {
  position: relative;
  height: 100%;
  margin:0 auto;
}
#ccontainer canvas, #overlay {
  position: absolute;
  max-width: 100% !important;
  width: 100%;
  }
canvas {
  border: 0px solid white;
}

#filenames {
	display: none;
}
