/*
 Theme Name:   GianAngelo Pistoia
 Theme URI:    http://gianangelopistoia.eu
 Description:  Tema basato su Kriesi Angular
 Author:       Belder Interactive
 Author URI:   http://belder.com
 Template:     angular
 Version:      1.0.0
*/

/*@import url("../angular/style.css");*/

/* =Theme customization starts here
-------------------------------------------------------------- */
.logo img { max-width: 360px; }

@media only screen and (max-width: 480px) {
	.logo img { max-width: 90%; }
}


/*.avia-button .avia-download {
    background: url("http://www.gianangelopistoia.eu/wp-content/uploads/2013/12/downicon.png") no-repeat scroll left center rgba(0, 0, 0, 0);
    padding: 2px 10px 3px 29px;
}*/
.avia-button{
	color: #fff !important;
}

.avia-button.xl { font-size: 16px !important; line-height: 50px !important; padding: 0 30px !important; box-sizing: border-box; width: 100%; }
.avia-button.large { width: 100%; box-sizing: border-box; }
/*#footer, #footer div {
    margin-top: 30px;
}*/
#searchsubmit {background-color: #5F8EB3;}
#searchsubmit:hover {background-color: #8BBBE0;}

#js_sort_items {opacity: 1 !important;}
#js_sort_items span {display: none !important;}
#js_sort_items a {
	display: inline-block;
	background-color: #8BBBE0;
	color: white !important;
	font-size: 16px;
	padding: 5px 10px;
	margin: 0 0.3em 0.3em 0;
}
#js_sort_items a.active_sort { background-color: #5F8EB3; }
.relThumbHeading {font-size: 14px !important;}
.flag-text {font-size: 16px !important;}

h1 {
	-webkit-hyphens: manual;  
    -moz-hyphens: manual;  
    hyphens: manual;  
}
.post_nav a {font-size: 16px;}
#privacy-link {float: right;}

.ajax_form h3 {display: none;}
.ajax_form label { font-size: 13px !important; }
.ajax_form input[type="submit"] { font-size: 15px; padding: 15px 30px;}
.ajax_form p.error label { color: #D21111;}
.ajax_form p.valid label { color: #44A600;}
.ajax_form .error .text_input, .ajax_form .error .text_area, .ajax_form .error select { border: 1px solid #D21111;}
.ajax_form .valid .text_input, .ajax_form .valid .text_area, .ajax_form  .valid select { border: 1px solid #44A600;}


.pagination span { font-size: 16px !important; line-height: auto !important; }
#top .pagination .current,
#top .pagination .inactive {
	display: inline-block !important;
	background-color: #8BBBE0;
	color: white !important;
	font-size: 16px !important;
	line-height: auto !important;
	padding: 5px 10px !important;
	margin: 0 0.3em 0.3em 0 !important;
	border: none;
}
#top .pagination .current { background-color: #5F8EB3 !important; }

#top .portfolio-title { font-size: 16px; padding:23px 10px 12px 30px !important; }
h1 .title-span { top: 59%;}
.portfolio-single-post-title { color: #8BBBE0; }

.entry-content p { font-size: 16px; margin: 0 0 1em; }

#top .portfolio-meta-list { font-size: 16px !important; }

#top .gallery .gallery-item {  margin: 0 !important; height: 116px !important; width: 116px !important; }
body.page-id-1225#top .gallery .gallery-item,
body.page-id-1584#top .gallery .gallery-item,
body.page-id-1883#top .gallery .gallery-item
 {  margin: 0 !important; height: auto !important; width: 230px !important; }
 
.btn-three-col { width: 32%; display: inline-block; box-sizing: border-box; text-align: center;}
@media only screen and (min-width: 768px) and (max-width: 989px) {
	.btn-three-col { width: 48%;}
}
.btn-three-col+br { display: none; }

.btn-two-col { width: 49%; display: inline-block; box-sizing: border-box; text-align: center;}
@media only screen and (min-width: 768px) and (max-width: 989px) {
	.btn-two-col { width: 48%;}
}
.btn-two-col+br { display: none; }

/* Pagina privacy */
.page-id-533 .entry-content li { font-size: 16px; }

/* Messori - screenshots */
.page-id-1327 #main .gallery .gallery-item { margin-right: 1em !important; border: 1px solid; }

/* NASA - screenshots */
body.page-id-1860#top .gallery dl + br,
.page-id-3404 #main .gallery dl + br {
   margin-top: 13em;
}