/*
 Theme Name: Morganlefay
 Theme URI: http://morganlefay.it
 Description: Custom Theme for Morgan Lefay Portfolio using WPfolio
 Author: Fabrizio Caso
 Author URI: http://www.fabriziocaso.com
 Version: 1.0
 .
 General comments/License Statement if any.
 .
 */
 
body {
    font-family: Georgia, "Times New Roman", Times, serif;
    background: url(./images/background.jpg);

}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, Times, sans-serif;
}

h1 {
    font-size: 32px;
}

h2 {
    color: #666666;
}

h3 {
    color: #666666;
}

h4 {
    color: #ABABAB;
}

.headertext {
    visibility: visible;
}

.headertext h1 a {
    color: #666666;
}
.headertext h1 a:hover {
    opacity:1;
}

.container {
    background-color: #FFFFFF;
    color: #000000;
}

.container p {
    color: #000000;
}

a:active {
    color: #666666;
}

a:hover {
    color: #000000;
}

#content {
    font-family: Georgia, Times, sans-serif;
}

.title {
    font-family: Georgia, Times, sans-serif;
}

.nav, .widgettitle {
    font-family: Georgia, Times, sans-serif;
    text-transform: none;
}

.nav a {
    color: #666666;
}

.nav a:active {
    font-weight: bold;
    color: #333333;
}

.nav a:hover {
    color: white;
    background-color: #990033;
}

div.notable-post {
    color: #000000;
}

div.notable-post h3 a, link {
    color: #666666;
}

div.notable-post a {
    color: #ABABAB;
}

div.notable-post a:hover {
    color: #666666;
}

#sidebar h2.widgettitle {
    color: #ABABAB;
}

#content {
    color: #000000;
}

#links {
    color: #666666;
}

#links h1, h2 {
    color: #666666;
}

#links ul {
    color: #ABABAB;
}

#links ul li {
    color: #ABABAB;
}

#links ul li ul {
    color: #ABABAB;
}

#links a {
    color: #ABABAB;
}

#links a:hover {
    color: #000000;
}

div.prevnext {
    text-transform: none;
}

div.prevnext a:hover {
    background-color: #666666;
}

.container { 
	margin-top : 30px;
	width: 960px;
	margin: 0px auto;
	text-align: center;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 0px;
}

#content {
	font-weight : normal;
	text-align : left;
	line-height: 1.4em;
	font-size: 12px;
	clear: both;
	padding: 0;
	margin: 30px 30px 5px;
}

/* @group htags */

h1,h2,h3,h4,h5,h6,form,fieldset {
	/* font-family: ($WPFolio_headline_font)  */
	margin:0;
	padding:0;
}

.low {
	display:none;
}

#content h2, #content h3 {
	font-weight: normal;
	letter-spacing: .1em;
	padding-top: 0;
}

h2.pagetitle {
	text-transform: uppercase;
	text-align: center;
}
/* @end */

/* @group links */
a  {     
	color : #545454;
	text-decoration : none;
	font-weight : bold;
}
/* @end */

/* @group header */
div#header    {
	padding: 1.5em 30px .5em;
	max-height:150px;
	min-height: 50px;
	overflow: hidden;
}

.headertext {  
   	overflow: hidden;
	text-align: left;
	padding: 0;
	margin: 0;
	
}

.headertext h1 a { 
	font-weight: normal; 
	font-style: normal;  
	}

.headertext h1 a:hover { 
	opacity: 0.25;
	}

#header h4{
	padding-top: .15em;
	font-weight: normal;
	font-style: normal;}
/* @end */

/* @group .entry styles */

div.entry {
	padding : 0px;
	font-size : 11px;
	text-align : center; 
	clear:both;
	margin: 0px auto 20px;
}

div.entry.notblog p {
	text-align: left;
}

.entrycat {
	margin-top : 0px;
	margin-bottom : 0px;
	margin-left : auto;
	margin-right : auto;
	padding : 0px;
	font-size : 11px;
	font-weight : normal;
	line-height : 16px;
	text-align : center;
	}
.entrycat a {
	text-align: center; 
	padding: 10px;
	font-weight: bold;
}

/* @end */

/* @group images */
.entry img {
	margin : 0 0 0px;
	padding : 8px;
	border : 1px solid #c0c0c0;
	}

.entrycat img {
	margin : 3px 3px 3px 3px;
	padding : 5px;
	border : 1px solid #c0c0c0;
	margin-bottom: 2px;
	}
	
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	font-style: italic;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.img-frame { 
	width: 25%; 
	min-width: 220px; 
	height:225px; 
	float: left; 
	display: inline; 
	margin-top: 10px; 
	}
.img-container { 
	text-align:center; 
	margin-right:auto; 
	margin-left: auto; 
	display: inline-table; 
	}
.img-frame-caption { 
	width:60%; 
	margin-left:auto; 
	margin-right:auto;
	}
.img-frame-caption a {
	font-weight: normal;
	font-style: normal;
	padding: 0;
}

.page p img {
	padding: 0;
	border-style: none;
	margin-top: 0;
	margin-bottom: 0;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.alignright,img.alignright{
float:right;
	margin-right: 0;
	margin-left: 1em;
	margin-bottom: 0;
}

.alignleft,img.alignleft{
float:left;
	margin-right: 1em;
	margin-left: 0;
	margin-bottom: 0;
}

.aligncenter, img.aligncenter{
display:block;
text-align:center;
margin: 1em auto; /*this might need to be removed*/
}

.notable .alignnone{
	/* alignnone defaults to center for artworks, but not for blog */
}
.entry .alignnone {
	display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
	}
/* @end */

/* @group prev/next navigation */
.prevnext {
	text-decoration : none;
	padding : 3px;
	text-align : left;
	font-size: 11px;
	margin: 0px 30px 30px;
}
.prevnext a, link  {  
	text-decoration : none;
	font-weight : normal;
	padding : 3px;
	}
.prevnext a:active  { 
	color : #FFFFFF;
	text-decoration : none;
	font-weight : normal;
	padding : 3px;
	}
.prevnext a:hover  {  
	/* background-color: ($WPFolio_highlight_color) */
	color : #ffffff;
	text-decoration : none;
	font-weight : normal;
	padding : 3px;
	}

div.prevnext_left {
	float: left;
}

div.prevnext_right {
	float: right;
}

div.prevnext_left :before {
	content: "← ";
	font-size: 1.2em;
}

div.prevnext_right :after {
	content: " →";
	font-size: 1.2em;
}
/* @end */

/* @group navbar */
div.nav .widgettitle  { 
	display: none; 
	padding: 0em;
	}
.nav {
	text-decoration : none;
	font-weight : bold;
	padding: 0 30px;
	margin: 0;
	font-size: 12px;
}

.nav ul, .widgettitle ul { 
	float:left;
	margin: 0;
	padding: 0;
}

.nav li, widgettitle li { 
	list-style: none; 
	display: inline;
	margin: 0;
	padding: 0;
}
.nav a, link   {  
	color : #545454;
	text-decoration : none;
	font-weight : normal;
	margin-right: 2em;
}
.nav a:active  {  
	text-decoration : none;
	font-weight : normal;
	opacity: 0.25;
}
.nav a:hover  {  
	text-decoration : none;
	font-weight : normal;
	opacity: 0.75;
	}

div.nav li.current_page_item a, div.nav li.current-cat a {
	font-weight: bold;
	text-transform: uppercase;
}
/* @end */

/* @group sidebar */

#sidebar { 
	/* color: ($WPFolio_highlight_color) */
	font-size : 12px;
	font-weight : normal;
	text-align : left;
	list-style:none;
	width: 240px;
	float: right;
	margin-top: 20px;
	line-height: 1.5em;
}

#sidebar h2.widgettitle {
	padding: 0;
	font-size: 12px;
	margin-bottom: .5em;
	text-align: center;
	font-weight: normal;
	margin-top: 1.5em;
	text-transform: uppercase;
}
#sidebar ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
#sidebar ul li {
	margin-left: 0;
	padding-left: 0;
	margin-bottom: .5em;
}
#sidebar a {
	font-weight: normal;
	font-style: normal;
} 
#sidebar a:hover {
	opacity: 0.75;
	}

#sidebar form {
	padding-top: 1em;
	padding-bottom: 1em;
}

#sidebar #searchform div label.screen-reader-text {
	display: none;
}

#sidebar .widget_calendar table#wp-calendar {
	margin-right: auto;
	margin-left: auto;
	width: 240px;
	text-align: center;
}

/* @end */

/* @group comments */
#comments{
	margin-top: 1em;
}
.comment-body {
	border-bottom : 1px solid #E8E8E8;
	text-align : justify;
	margin-bottom : 10px;
	padding : 10px;
	}
/* @end */

/* @group footer styles */

.footer {
	padding: 5px 30px 20px;
	text-align : left;
	font-size : 11px; clear: both;
	/* background-color: #E0E0E0; */
	/*color: ($WPFolio_second_color) */
}
	
.footer a {
	font-weight: normal;
}

.footer a:hover {
	font-weight: normal;
	opacity: 0.75;
}

	
.footer .left {
float: left;
}

.footer .right {
float: right;
}

.footer .right img, .footer .left img {
	vertical-align: text-top;
	}

/* @end */

/* @group blog styles */

div.notable {
	width: 600px;
	float: left;
}

div.notable-post {
	/*border: 1px solid #c0c0c0;*/
	padding: 0;
	margin: 20px 0 3em;
}

h2.post-title a{
	text-align: left;
	font-size: 1.2em;
	font-weight: normal;
	font-style: normal;
	padding: 0;
	margin: 0;
}
.notable-post h2 {
	padding: 0;
	margin-top: 0px;
	line-height: 1.2em;
}

.notable-post h3 {
	padding: 0px;
	margin-top: 0px;
	line-height: 1.2em;
	margin-bottom: .5em;
}

div.notable-post h3 a, link {
	font-weight: normal;
	font-style: normal;
}

div.notable-post h4 {
	margin-bottom: 1em;
	font-weight: normal;
	font-style: normal;
}

div.notable-post p {
	margin-bottom: 1em;
	margin-top: 0;
}

div.notable-post a { 
	}
div.notable-post a:hover {
	opacity: 0.75;
	}

/* @end */

/* @group Resume/CV styles - selectors repeated to cover every upper/lower case option of resume and cv  */
div.RESUME ul, div.resume ul,div.Resume ul,div.CV ul,div.cv ul{
	vertical-align: 1em;
	padding: 0;
	margin-top: .9em;
}
div.RESUME ul li, div.resume ul li, div.Resume ul li, div.CV ul li, div.cv ul li {
	list-style: none;
	vertical-align: -1.5em;
	padding: 0;
	font-weight: bold;
	font-style: italic;
	font-size: 1em;
	line-height: 0;
}

div.RESUME ul li ul li, div.resume ul li ul li, div.Resume ul li ul li, div.CV ul li ul li,.cv ul li ul li  {
	font-size: 1em;
	font-weight: normal;
	bottom: 1.8em;
	position: relative;
	vertical-align: 0em;
	font-style: normal;
	padding: 0;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 6em;
	line-height: 1.3em;
}
div.RESUME h3, div.resume h3, div.Resume h3, div.CV h3, div.cv h3 {
	margin-bottom: 1em;
	font-size: 1.6em;
}

/* @end */

/* @group gallery */

.gallery {
	margin: auto;
}
.gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-caption {
	margin-left: 0;
}

/* @end */


.post-bottom-title {  
	margin-top : 5px;
	margin-bottom : 0px;
	margin-left : 30px;
	margin-right : 30px;
	text-align : center;
	font-size : 11px;
}

.Page.not.found p {
	font-size: 1.5em;
	}

code {    
	color : #8B1D1D;
	font-family: "Courier New", Courier, mono;
}

.info{     
	margin-top : 0px;
	margin-bottom : 5px;
	margin-left : 10px;
	margin-right : 10px;
	padding : 5px;
	font-size : 12px;
	font-weight : normal;
	text-align : justify;
	}

div.search-result img {
	float: left;
	margin-right: 2em;
	margin-bottom: 1em;
}

.clear-both {
	clear: both;
}


/* ends default css*/ 


.wdpajax-error{
	border:1px solid #f9d9c9;
	padding:5px;
	color:#ff3311;
}
.wdpajax-success{
	border:1px solid #339933;
	padding:5px;
	color:#339933;
}

label.error{
	float:none !important;
	padding-left:5px;
	color:#ff3311;
}

#respond{
	display: none;
	}

.current-menu-item{
text-transform: uppercase;
font-weight: bold;
}
.post-divider {
    border-bottom-color: #CCCCCC;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    clear: both;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.img-frame-tags {
    margin-left: auto;
    margin-right: auto;
    max-height: 30px;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 60%;
}

.img-frame-tags a {
    font-style: normal;
    font-weight: normal;
    text-transform: lowercase;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

.img-frame-caption a {
	color: #000000;
	font-weight: bolder;
	font-style: normal;
	padding: 0;
}

.img-frame-caption a:hover {
	text-decoration: underline;
}
