/*
Theme Name: MY FOLIO
Theme URI: http://www.madeinebor.com
Version: 1.1.2
Description: My Folio - An advanced, grid based photography theme
Author: Tom Rhodes
Author URI: http://www.madeinebor.com
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: white, custom-background, threaded-comments, translation-ready, custom-menu
*/


/*--WORDPRESS STYLES--*/
.sticky {}/*--STICKY STYLING IS HANDLES VIA JQUERY--*/
.bypostauthor img.avatar {}/*--HANDLED IN STYLES.PHP--*/
img.alignleft, img.aligncenter, img.alignright, img.alignnone { margin-bottom: 15px; margin-top: 15px; }
img.alignnone { display: block; }
img.alignleft { float: left; margin-right: 30px; }
img.alignright { float: right; margin-left: 30px; }
img.aligncenter { display: block; margin-right: auto; margin-left: auto; text-align: center; }
.wp-caption, .gallery-caption { margin: 40px 0; max-width: 100%; text-align: center; color: #999; padding: 0 40px; }
.wp-caption-text, .gallery-caption-text { margin: 6px 0; font-style: italic; font-size: 95%; line-height: 120%; }
.aligncenter { text-align: center }


/* =Clearfix
--------------------------------------------------------------------------------------------------------*/
.clear { clear: both; }
.clearfix:after { content: "."; display:block; height:0; clear:both; visibility:hidden; }/* ----- clear fix for floats ----- */
.clearfix { display:inline-block; }
* html .clearfix { height:1%; }/* hides clearfix from IE-mac */
.clearfix { display:block; }/* end hide from IE-mac */
.alignleft { float:left; }
.alignright { float:right; }
.aligncenter { margin:auto; display:block; }
.centered { text-align:center; }
/* End Clearfix
--------------------------------------------------------------------------------------------------------*/
.white-bottom h2{
min-height:75px;
}
#check { position: absolute; top: -1px; left: 0; opacity: 0; height: 1px !important; padding: 0 !important; }
#search-icon { width: 12px; height: 15px; display: inline-block; background: url(images/search-icon.png) no-repeat; margin: 41px 18px 0 0; cursor: pointer; }
#options #searchform { float: right; display: inline-block; position: absolute; top: 25px; padding-left: 0; display: none; }
#options #searchform input { padding-left: 20px; }

h1#logo a, #options li a:hover{
	color:#666 !important;
}
#options {
	position:relative;
}
#options li a {
/*color: #fff !important;*/
}
#options li {
	position:relative;
}
#options ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	/*top: 38px;*/
	right: 0;
	float: left;
	width: 180px;
	z-index: 99999;
	padding-top: 0px !important;
	margin-right: 0px!important;
}
#options ul ul li {
	min-width: 180px;
}
#options ul ul ul {
	left: 100%;
	top: 0;
}
#options ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
/*#options li:hover > a,
#options ul ul :hover > a {
	background: #333;
	color: #fff;
}*/
#options ul li:hover > ul {
	display: block;
}
#options ul li.current_page_item > a,
#options ul li.current-menu-ancestor > a,
#options ul li.current-menu-item > a,
#options ul li.current-menu-parent > a,
#options ul li.current-page-ancestor > a,
#options ul li.current_page_parent > a
 {
	color:#000 !important;
	border-bottom:solid 2px #666;
}
* html #options ul li.current_page_item a,
* html #options ul li.current-menu-ancestor a,
* html #options ul li.current-menu-item a,
* html #options ul li.current-menu-parent a,
* html #options ul li.current-page-ancestor a,
* html #options ul li a:hover {
	color:#000 !important;
	border-bottom:solid 2px #666;
	
}

h1#logo, h1#logo a {
max-width: 290px !important;
font-size: 22px; 
font-family:'Josefin Sans', sans-serif!important;
font-weight:bold!important;
z-index:1000!important;
}
h1#logo span.normaleUp {
max-width: 290px !important;
font: 12px 'Josefin Sans', sans-serif;
color:#666 !important;
font-style:italic;
}
h1#logo span.grigetto-new, #options li a {
color:#666 !important;
}

#wrapper, footer {
background: #000!important;
}
body{
	font-family: 'Open Sans', Arial, Helvetica, sans-serif!important;
}
.titoletto_font {
	font-family:'Josefin Sans', sans-serif!important;
	padding-top:0!important;
}
.fancybox-skin {
	background: #fff!important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
.fancybox-title-float-wrap {
	left: 0%!important;
	/*right:100%!important;*/
}
.fancybox-title-float-wrap .child{
	margin-right: 0!important;
	padding: 2px 0px!important;
	
	}
	.riformatto-title h3{
		font-size: 1.2em !important;
		/*color:#CCC !important;*/	
		/*color:#666 !important;*/
		margin: 0px 0px 5px 0px!important;
		border-bottom: 1px solid #CCC!important;
	}
	.riformatto-title p{
		/*color:#CCC !important;
		color:#666 !important;*/
		font-style:normal;
		text-align:justify;
		padding: 10px 0 0 0!important;
	}
	.contact h3 {
		color:#fff!important;
		padding-left:0!important;
		margin-left:0!important
	}
	.contact-paragraph p{
		padding:0!important;
		font-style:normal!important;
	}
	/*.contact-paragraph p a{
		color:#fff!important;
	}
	.contact-paragraph p a:hover {
		color: #2b2b2b!important;
	}*/
	.contact-paragraph {
		margin:15px 0 15px 0!important;
	}
	.blog-preview .white-bottom h2 {
		font-size:1.2em;
		font-family: 'Open Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
	}
	.blog-preview .white-bottom p {
		font-style:normal!important;
	}
	.type-post .the-content p {
		text-align:justify;	
	}
	
	.paragrafo-eng, .riformatto-title p.paragrafo-eng {
		color: #666!important;
		margin-top:32px;
	}
.paragrafo-itaabout {
		
		margin-top:32px;
	}
	div.mr_social_sharing_wrapper{
		margin:14px 40px 0 40px!important;
		padding: 14px 0px 0 0px!important;
		border-top: 1px solid #2b2b2b!important;
		width:auto!important;
	}
	@media only screen and (max-width: 480px) {
		h1#logo a { font-size: 13px!important;  }
	}
	.icons.bubble{
		display:none;
	}
	.portfolio-link-wrap span {
		display:none;
	}
	

#wrapper,footer, body.custom-background,.element{
background: #fff!important;
}
h1#logo a{
color: #666 !important;
}
h1#logo span.grigetto-new{
color: #a1a1a1 !important;
}
#options ul li a:hover{
/*color:#fff !important;*/
}
.fancybox-overlay,.fancybox-title-float-wrap .child {
background: rgba(255,255,255,1)!important;
}
.images.works_images{
	width:100%!important;
}
.col1-1 {
	border-top: 1px solid #CCC!important;
}
.col2-3 p{
	padding-right:0px!important;
	margin-right:0px!important;
}
.element .col1-3,.element .col2-3 {
	width:50%!important;
}
.element .col2-3 {
overflow: visible!important;
min-height:1354px;
}
.fancybox-title {
	background-color:#fff;
	color:#666;
	text-align:center;
}
.col1-1 {
 border-top:none!important;
}
/*.page-id-128 h3{
	border:none;
}*/
.share span {
	min-width:60px;
	width:60px;	
}
.share{
	margin-top:20px;	
}
.blog .isotope-item {
	border:#ccc solid 1px;
}
.blog .isotope-item.col1-3 {
	margin:10px;
	width:298px;
}

.stButton_gradient.stHBubble, .stArrow{
	display:none!important;	
}
.stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices{
	display:block !important;
	white-space:normal !important;
}

.stButton {
	margin:0 5px 5px 5px !important;	
}
.st_twitter_hcount .stButton {
	margin: 0px 7px 5px 5px!important;	
}
#options li a {
	padding: 5px 0px!important;

}
#options li {
	padding: 0px 17px!important;

}
#options li a {
	border-bottom:solid 2px #fff;
}
#options li a:hover {
	background:none;
	border-bottom:solid 2px #666;
	color:#000 !important;
}
.social li.instagram {
  background: url(images/bg-instagram.png) no-repeat;
  background-size: 20px 20px !important;
  background-position:0px 4px;
  margin: 0px 0px 0px 9px;
  padding-top:0px;
}
ul.social .instagram a{
 
  width:20px;
  height:24px
}
.contact h3{
	margin-top:0px;
	padding-top:0px;
} 
.mail-contact {
	color:#666;
}
.mail-contact a{
	color:#a1a1a1;
}

.page-id-587 .the-title{
display:none;
}
.page-id-587 .the-content a span{


}
.page-id-587 .the-content a:hover{
padding-bottom:2px;

border-bottom:#666666 solid 1px;
}


.page-id-587 .the-content a{
color:#a1a1a1;
}
.page-id-587 .the-content a span {
color:#666;
}
.page-id-587 .col1-1.element{
padding:0;
}
.page-id-587 .fancybox-wrap.fancybox-desktop.fancybox-type-iframe.fancybox-opened, .page-id-587 .fancybox-wrap.fancybox-desktop.fancybox-type-iframe.fancybox-opened .fancybox-inner{
width:70%!important;
margin:0 auto;
}
.page-id-587 .fancybox-overlay.fancybox-overlay-fixed, .page-id-587 .fancybox-skin, .page-id-587 .fancybox-outer{
	background-color:#cccccc!important
}
@media only screen and (max-width: 767px){
.nav-bar {
  background-color: #666!important;
}
#options ul li.current_page_item > a, #options ul li.current-menu-ancestor > a, #options ul li.current-menu-item > a, #options ul li.current-menu-parent > a, #options ul li.current-page-ancestor > a, #options ul li.current_page_parent > a {
  
  border-bottom: solid 1px #a1a1a1;
}

#nav-button{
padding: 26px 10px 30px 30px!important;
margin-right: 0px!important;
}
#options li {
  padding: 0px 0px!important;
}
#options li a {
  border-bottom: 1px solid #a1a1a1!important;
  width: 100%!important;
 
}
#options li a:hover {
	
	border-bottom:solid 1px #666!important;
	
}
}