/* Reset.css */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, h7, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
/* End reset */


/**
 * Styles start here
 */
 
body { 
	color: #000080;
	font: 16px/28px Georgia, 'Times New Roman', Times, serif;
	
	/* CSS3 gradient background pattern @credits http://leaverou.me/demos/css3-patterns.html */
	background-color: #eee; /* Change this to change both stribe colors */
	
	background-image: -webkit-gradient(linear, 0 100%, 100% 0,
							color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent),
							color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)),
							color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent),
							to(transparent)); /* Old webkit syntax */
	background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
							transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
							transparent 75%, transparent); /* New webkit syntax */					
	background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
							transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
							transparent 75%, transparent); /* Firefox */
	background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
							transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
							transparent 75%, transparent); /* Opera */
	background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%,
							transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%,
							transparent 75%, transparent); /* WC3 */
	background-size: 16px 16px;
}

	/* Browsers who don't support gradients */
	.no-cssgradients body {
		background-image: url(images/bg.png);
		background-repeat: repeat;
		background-attachment: fixed;
	}

/* Always force a scrollbar in non-IE 
	Remove iOS text size adjust without disabling user zoom: www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

#wrapper {
	width: 1000px;
	margin: 0 auto;
}

.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}

/**
 * Typography and default HTML elements
 */

a {
	color: #4169E1;
	text-decoration: none;
	-webkit-transition: all 100ms linear;
	/*-moz-transition: all 100ms linear;*/
	transition: all 100ms linear;
}

a:hover {
	color: #FFE4B5;
	/* text-decoration: underline; */
	text-shadow: 0 1px 0 #4169E1;
}

a:active { outline: none; }

p, dl, hr, h1, h2, h3,
ol, ul, dd, pre, table, fieldset {
	margin-bottom: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6, h7 {
	font-family: 'Droid Serif', sans-serif;
	text-shadow: 0 1px 0 #fff;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 26px;
	letter-spacing: -1px;
}

.post h3 {
	margin: 30px 0 20px;
	font-style: italic;
	font-weight: bold;
}

h4 {
	font-size: 21px;
	margin-bottom: 15px;
}

.post h4 {
	margin: 10px 0 5px;
}

h5 {
	font-size: 18px;
}

.post h5 {
	margin: 5px 0 2px;
}

h6 {
	font-weight: bold;
	font-size: 16px;
}

.post h6 {
	margin: 2px 0 2px;
	color: green;
	line-height: 1.5em;
}

h7 {
	font-size: 15px;
	margin: 1px 0 1px;
}

.post p {
	line-height: 0.5em;
	font-weight: normal;
	/*margin: 20px 0 30px;*/
	/*font-style: italic;*/

}

/* Lists */
ol, ul {
	margin-left: 40px;	
}

ol {
	list-style: decimal;
}

ul {
	list-style: square;
}

ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}

ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

	/* Remove margins for navigation lists */
	nav ul, nav li { margin: 0; list-style: none; list-style-image: none; }

/* Code */
pre, code, kbd, samp { font-family: monospace, sans-serif; }

pre {
	background: #464646;
	border: solid #121212;
	border-width: 2px 0 2px 0;
	border-radius: 5px;
	color: #fff;
	padding: 20px;
	white-space: pre; white-space: pre-wrap; word-wrap: break-word;
	/*position: relative;*/
	/*text-shadow: 0px 1px 0px #333;*/
	
}

	/* This is removed for now because of a strange Chrome bug with text-shadow and position: relative; */
	/* Usage: <pre rel="CSS">...</pre>, <pre rel="PHP">...</pre> */
	/*pre:after {
		content: attr(rel);
		color: #F83D87;
		font: bold 16px 'Droid Serif', Georgia, serif;
		position: absolute;
		bottom: 10px; right: 15px;
	}*/

code {
	background: #f6dde7;
	font-size: 14px;
	padding: 3px;
	border-radius: 3px;
}

pre code {
	background: none;
	font-size: 16px;
}

/* Quotes */
blockquote {
	background: url(images/quote.png) no-repeat left top;
	color: #424242;
	font: italic 18px/32px 'Droid Serif', Georgia, serif;
	padding: 33px 30px 0;
	margin: 40px 20px 20px;
	text-shadow: 0 1px 0 #fff;
}

blockquote p { margin: 0; }

q { font-style: italic; }

	/* Cite after <blockquote> */
	blockquote + p {
		margin-left: 20px;	
	}
	
	blockquote + p,
	blockquote + cite,
	blockquote + p cite {
		font: 18px Garamond, 'Droid Serif', Georgia, serif;
	}
	
/* Tables */
table {
	border: 1px solid #e7e7e7;
	border-collapse: collapse; border-spacing: 0;
	font-size: 14px;
	width: 100%;
	text-align: left;
}

	/* th */
	tr th,
	thead th {
		background: #f3f9fc;
		border-left: 1px solid #e9f2f7;
		color: #444;
		font-size: 15px;
		font-weight: bold;
		padding: 9px 24px;
		-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
		-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
		box-shadow: inset 0 0 10px rgba(0, 0, 0, .04);
	}

	/* td */
	tr td {
		background: #fafafa;
		border: 1px solid #e7e7e7;
		padding: 6px 24px;
	}
	
	td { vertical-align: top; }
	
	tr:nth-child(2n) td {
		background: #f7f7f7;
	}
	
	tr:hover td {
		background: #fff;
	}
	
	td, td img { vertical-align: top; }
	
	/* tfoot */
	tfoot td {
		color: #777;
		font-size: 11px;
		text-transform: uppercase;	
	}
	
	tfoot th {
		color: #444;
		font-size: 12px;
		text-transform: uppercase;	
	}

	/* Table caption */
	table caption {
		background: #ffffee;
		border: 1px solid #ffffc6;
		font-size: 16px;
		margin-bottom: 5px;
		padding: 10px;
		border-radius: 5px;
	}

/* Other elements */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

small { font-size: 85%; }
b, strong, th { font-weight: bold; }

ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

hr {
	display: block;
	height: 0px;
	border: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	margin: 20px 0;
	padding: 0;
	width: 960px;
}

/* These selection declarations have to be separate
   Also: blue! */
::-moz-selection{ background: #10B6E8; color: #fff; text-shadow: none; }
::selection { background: #10B6E8; color: #fff; text-shadow: none; }

/**
 * Header
 */

#header {
	padding: 12px 4px 12px;
}

#site-title {
	/* color: #1e1e1e; */
	color:#000080;
	font: bold 56px 'Droid Serif', sans-serif;
	float: left;
	letter-spacing: -3px;
	text-shadow: 0 1px 0 #fff;
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	transition: all 200ms linear;
	
	/* Gain the benefits from GPU acceleration */
	-webkit-transform: translateZ(0);
	/*-moz-transform: translateZ(0);*/
	transform: translateZ(0);
}

#site-title:hover {
	background: none;
	text-shadow: 0 1px 0 #fff;
	
	/* Scale the site title on hover */
	-webkit-transform: scale(1.1) translateZ(0);
	/*-moz-transform: scale(1.1) translateZ(0);*/
	transform: scale(1.1) translateZ(0);
}

#site-description {
	font: normal 18px 'Droid Serif', sans-serif;
	float: right;
	padding-top: 32px;
}

/**
 * Content
 */
 
#main { 
	background: rgba(204, 204, 204, .4);
	border-radius: 5px 5px 10px 10px;
	width: 960px;
	padding: 10px 20px 20px 20px;


	-webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.4), 0px 0px 15px rgba(204, 204, 204, 0.5);
	-moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.4), 0px 0px 15px rgba(204, 204, 204, 0.5);
	box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.4), 0px 0px 15px rgba(204, 204, 204, 0.5);


}


	/* No support for rgba */
	.no-rgba #main {
		background: url(images/content_bg.png) repeat;
	}

#main:hover {
	background: rgba(159, 0, 195, .4);
	border-radius: 5px 5px 10px 10px;
	width: 960px;
	padding: 10px 20px 20px 20px;


	-webkit-box-shadow: 0px 0px 0px 1px rgba(212, 123, 123, 0.4), 0px 0px 15px rgba(228, 64, 64, 0.5);
	-moz-box-shadow: 0px 0px 0px 1px rgba(212, 123, 123, 0.4), 0px 0px 15px rgba(228, 64, 64, 0.5);
	box-shadow: 0px 0px 0px 1px rgba(212, 123, 123, 0.4), 0px 0px 15px rgba(228, 64, 64, 0.5);

}

#content {
	float: left;
	width: 63%;
}

#sidebar {
	float: right;
	width: 37%;
}


.fondomail {
	position: relative;
	allowtransparency:true;
	frameborder:0;
	width: 284px;
	height: 30px;
	z-index: 3;
	margin: 0px 20px -10px -9px;
}


/**
 * Navigation
 */
 
#menu {
	margin: -20px 0 40px 20px;
}

#menu ul {
	list-style: none;
}

#menu li {
	float: left;
	margin: 0 20px 0 0;
	position: relative;
}

#menu a {
color:#1E90FF;
	background: #f3f3f3; /* Fallback */
	background: -moz-linear-gradient(top, #f3f3f3 0%, #ececec 100%); /* FF 3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#ececec)); /* Chrome, Safari 4+ */
	background: -webkit-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* Chrome 10+, Safari 5.1+ */
	background: -o-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* IE10+ */
	background: linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* W3C */
	
	border: 1px solid;
	border-color: #fff #c9c9c9 #c9c9c9 #fff;
	border-radius: 5px;
	display: block;
	font: 14px 'Droid Serif', sans-serif;
	padding: 14px 20px;
	margin-bottom: 5px;
	text-shadow: 0 1px 0 #fff;
}

#menu a:active {
	-webkit-box-shadow: inset 1px 1px 5px #ccc;
	-moz-box-shadow: inset 1px 1px 5px #ccc;	
	box-shadow: inset 1px 1px 5px #ccc;
}

#menu a:hover {
	color:#1E90FF;
	border-radius: 10px 0 10px 0;
	opacity: 0.75;
}

/* Current nav, buttons, more-link */
#menu .current > a,
.btn,
.more-link,
input[type=submit],
legend {
	background: #1E90FF;  /* Fallback */
	background: -moz-linear-gradient(top, #1E90FF 0%, #1D8CF8 100%); /* FF 3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1E90FF), color-stop(100%,#1D8CF8)); /* Chrome, Safari 4+ */
	background: -webkit-linear-gradient(top, #1E90FF 0%,#1D8CF8 100%); /* Chrome 10+, Safari 5.1+ */
	background: -o-linear-gradient(top, #1E90FF 0%,#1D8CF8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #1E90FF 0%,#1D8CF8 100%); /* IE10+ */
	background: linear-gradient(top, #1E90FF 0%,#1D8CF8 100%); /* W3C */
	

	color: #fff;
	border-color: transparent;
	border-radius: 10px 0 10px 0;
	font-weight: bold;
	padding: 14px 20px;
	text-shadow: 0 1px 0 #1461AC;
	-webkit-transition: all 100ms linear;
	/*-moz-transition: all 100ms linear;*/
	transition: all 100ms linear;
}

#menu .current > a:hover,
.btn:hover,
.more-link:hover,
input[type=submit]:hover {
	border-radius: 0 10px 0 10px;
	color: #fff;
	opacity: 1;
}

	/* Level 2 */
	#menu ul ul {
		display: none;
		min-width: 150px;
		position: absolute;
		top: 100%; left: 0;
		z-index: 100;
		-webkit-box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
		-moz-box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
		box-shadow: 0px 0px 6px rgba(0,0,0, 0.3);
	}
	
	#menu li:hover > ul { display: block;  }
	
	#menu ul ul li {
		float: none;
		margin: 0;
	}
	
	#menu ul ul li a {
		border-radius: 0 !important;
		margin-bottom: 0;
	}
	
	#menu ul ul li a:hover {
		opacity: 1;
	}

	
/**
 * Post
 */
 
.post {
	padding: 10px 0 20px;
	/*position: relative;*/
}

.post:first-of-type {
	padding-top: 0;	
}

/* Post title */
.post .entry-title {
	margin-bottom: 20px;
}

.post .entry-title a {
	color: #333;
	display: block;
	font-size: 38px;
	font-weight: bold;
	letter-spacing: -1px;
	-webkit-transition: color 150ms ease-in-out;
	/*-moz-transition: color 150ms ease-in-out;*/
	transition: color 150ms ease-in-out;
}

.post .entry-title a:hover { 
	color: #ac0649;
}

.post ul.events {
background:yellow;
	/*width: 960px;*/
	width: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0 0 10px 0;
}
.post ul.events li {
	-webkit-border-radius: 11px;
	-moz-border-radius: 11px;
	border-radius: 11px;
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 1s linear;
	transition: all 1s linear;
	background: #eee;
	border: 1px solid #ddd;
	color: #707070;
	/*font-size: 1.2em;*/
	font-weight: bold;
	margin: 10px 10px 10px 10px;
	padding: 5px 5px 10px 5px;
	position: relative;
	text-align: left;
	/* font-family: Times New Roman,Times,serif;*/
}
.post ul.events li:first-letter {
	font-size: 30px;
}
.post ul.events li:hover {
	background: #707070;
	border: 1px solid #ddd;
	color: #eee;
}
.post ul.events li author {
	font-size: 0.7em;
}
.post ul.events li status {
	font-size: 0.7em;
	font-weight: lighter;
	font-style: italic;
	padding-left: 15px;
}
.post ul.events li status a {
}
.post ul.events li status a:hover {
	text-decoration:undeline;
	color:#6BFF26;
}


.post excel {
	font-size: 1em;
	font-weight: bold;
	text-align: right;
	padding-right: 5px;
}

.post fondomail {
	allowtransparency:true;
	frameborder:0;
	width: 270px;
	height: 30px;
	z-index: 3;
	margin: 0px 20px -12px 0px;
}


/* Post meta */
.post-meta {
	font: 14px 'Droid Serif', sans-serif;
	margin: 40px 0 -20px;
	
	/* CSS3 Flexible Box Model */
	display: -webkit-box;
	display: -moz-box;
	display: box;
	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	box-orient: horizontal;
}

.post-meta p {
	background: #f3f3f3; /* Fallback */
	background: -moz-linear-gradient(top, #f3f3f3 0%, #ececec 100%); /* FF 3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#ececec)); /* Chrome, Safari 4+ */
	background: -webkit-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* Chrome 10+, Safari 5.1+ */
	background: -o-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* IE10+ */
	background: linear-gradient(top, #f3f3f3 0%,#ececec 100%); /* W3C */
	
	border: 1px solid;
	border-color: #fff #c9c9c9 #c9c9c9 #fff;
	border-radius: 5px;
	line-height: 1.8;
	margin: 0;
	padding: 14px 10px;
	text-shadow: 0 1px 0 #fff;
	
	/* 2:1 ratio */
	-webkit-box-flex: 2;
	-moz-box-flex: 2;
	box-flex: 2;
}

.more-link {
	display: inline-block;
	padding: 16px 12px;
	margin-left: 40px;
	
	/* 2:1 ratio */
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	box-flex: 1;
}

.more-link:hover {
	color: #fff;
	text-shadow: none;
}

	/* No support for CSS3 Flexible Box Model */
	.no-flexbox .post-meta p {
		display: inline-block;
		max-width: 480px;
	}
	
	.no-flexbox .more-link {
		float: right;
	}
	
/* Post thumbnail and images */
figure { 
	background: #f4f4f4;
	border: 2px solid #cecdcd;
	border-radius: 3px 5px 5px 5px;
	float: left;
	padding: 0px;
	text-align: center;
	-webkit-transition: border 200ms ease;
	/*-moz-transition: border 200ms ease;*/
	transition: border 200ms ease;
}

figure:hover {
	border: 2px solid #1E90FF;
}

figure,
figure.alignleft  {
	margin: 0 20px 20px 0;
}

figure.alignright {
	margin: 0 0 20px 20px;
}

figure {
	margin-left: -40px;	
}

figcaption {
	margin: 10px 0;
	font: 14px 'Droid Serif', Georgia, serif;
	color: #555;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
}

	/* Thumbnail rotation */
	/*.thumbnail,
	.post:nth-of-type(2n) .thumbnail:hover {
		-webkit-transform: rotate(0.45deg); 
		-moz-transform: rotate(0.45deg); 
		transform: rotate(0.45deg); 
	}
	
	.thumbnail:hover,
	.post:nth-of-type(2n) .thumbnail {
		-webkit-transform: rotate(-0.45deg);
		-moz-transform: rotate(-0.45deg);
		transform: rotate(-0.45deg);
	}*/

/**
 * Sidebar
 */

#sidebar {}

.widget {
	border-top: 1px solid rgba(255, 255, 255, 0.6);
	border-bottom: 1px solid #ccc;
	padding: 30px 0;
}

.widget:first-child {
	border-top: none;
	padding-top: 0;
}

.widget:last-child {
	border-bottom: none;
}

	/* Lists in widgets */
	.widget li {
		line-height: 35px;
	}
	
	.widget li a { 
		color: #333;
		-webkit-transition: margin-left 300ms linear;
		/*-moz-transition: margin-left 300ms linear;*/
		transition: margin-left 300ms linear;
	}
	
	.widget li a:hover {
		color: #1461AC;
		margin-left: 10px;
	}

/*
 * Footer
 */
 
#footer {
	color: #555;
	padding: 40px 20px;
	text-shadow: 1px 1px 0px #fff;
}

#footer a {
	/* font: 18px 'Droid Serif', Georgia, serif;*/
}


#footer-right {
	/* font: normal 18px 'Droid Serif', sans-serif; */
	float: right;
	/* padding-top: 32px; */
}

#footer-left {
	/* font: normal 18px 'Droid Serif', sans-serif; */
	float: left;
	/* padding-top: 32px; */
}


/**
 * Forms
 */
 
	/* 1) Make inputs and buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
	   2) WebKit browsers add a 2px margin outside the chrome of form elements. 
		  Firefox adds a 1px margin above and below textareas 
	   3) Align to baseline */
	button, input, select, textarea { width: auto; overflow: visible; margin: 0; vertical-align: baseline; outline: none; }

	/* 1) Remove default scrollbar in IE: www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/
   	   2) Align to text-top */
	textarea { overflow: auto; vertical-align: text-top; }
	
	/* Hand cursor on clickable input elements */
	label[for], input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
	
	/* Remove extra padding and inner border in Firefox */
	input::-moz-focus-inner,
	button::-moz-focus-inner { border: 0; padding: 0; }
	
	input[type="button"],
	input[type="checkbox"],
	input[type="radio"],
	input[type="submit"],
	select {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	input[type="text"],
	input[type="password"],
	textarea {
		-webkit-appearance: textfield;
		-moz-box-sizing: content-box;
		-webkit-box-sizing: content-box;
		box-sizing: content-box;
	}
	
button, input, select, textarea, label {
	font: 14px 'Droid Serif', Georgia, serif;	
}

label {
	display: block;
	font-weight: bold;
	margin: 0 0 7px 10px;
}

fieldset {
	background: rgba(204, 204, 204, 0.2);
	border: 1px solid #c9c9c9;
	border-radius: 5px;
	padding: 20px;
	-webkit-box-shadow: inset 0px 0px 1px 1px rgba(255, 255, 255, 0.7);
	-moz-box-shadow: inset 0px 0px 1px 1px rgba(255, 255, 255, 0.7);
	box-shadow: inset 0px 0px 1px 1px rgba(255, 255, 255, 0.7);
}

legend {
	font: bold 14px 'Droid Serif', Georgia, serif;
	padding: 10px 12px;	
}

/* Input fields */
input,
textarea {
	background: #fff;
	border: none;
	border-radius: 20px;
	color: #777;
	padding: 10px 15px;
	-webkit-box-shadow: 0px 1px 1px #bbb;
	-moz-box-shadow: 0px 1px 1px #bbb;
	box-shadow: 0px 1px 1px #bbb;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus {
	color: #333;
	-webkit-box-shadow: 0px 1px 1px #ccc, inset 1px 2px 1px rgba(250, 79, 170, 0.3);
	-moz-box-shadow: 0px 1px 1px #ccc, inset 1px 2px 1px rgba(250, 79, 170, 0.3);
	box-shadow: 0px 1px 1px #ccc, inset 1px 2px 1px rgba(250, 79, 170, 0.3);
}

textarea {
	border-radius: 10px;
}

input[type="checkbox"],
input[type="radio"],
select {
	margin-left: 10px;
}

/* Submit */
input[type="submit"] {
	color: #fff;
}

input[type="submit"]:hover {
	text-shadow: 0 1px 0 #1461AC;
}

/* Search inputs */
input[type="search"] {
	background: #fff url(images/search.png) no-repeat 10px center;
	padding-left: 25px;
	-webkit-appearance: none;
}

input[type="search"]::-webkit-search-results-button {
	-webkit-appearance: none;
}

.searchform input[type="search"] {
	padding-right: 0;
	max-width: 200px;
}

.searchform input[type="submit"] {
	padding: 10px 12px;
	float: right;
}

/**
 * Misc
 */
 
.alignleft { float: left; }
.alignright { float: right; }
.clear { clear: both; }
.sep { padding: 0 5px; }

.hide { display: none; }

.success {
	background: url(images/accepted.png) no-repeat 10px center;
	background-color: rgb(231, 247, 211);
	background-color: rgba(231, 247, 211, 0.5);
	border: 1px solid #6c3;
	border-radius: 5px;
	padding: 20px 0 20px 80px;
}

.error {
	background: url(images/cancel.png) no-repeat 10px center;
	background-color: rgb(255, 235, 232);
	background-color: rgba(255, 235, 232, 0.5);
	border: 1px solid #C00;
	border-radius: 5px;
	color: #C00;
	padding: 20px 0 20px 80px;
}

.warning {
	background: #fffbbc;
	border: 1px solid #E6DB55;
	padding: 20px;
	border-radius: 5px;
}

div.warning { margin-bottom: 20px; }

/**
 * Media queries for responsive design.
 * These follow after, and will override, the primary styles
 * The closing /mediaquery comment is required by respond.js min/max-width Media Query polyfill
 */

@media only screen
and (max-width : 320px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 450%;
	height: 470%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 450%;
	height: 470%;
	min-height:100%;
	z-index: -3;
}
}

@media only screen
and (min-width : 321px)
and (max-width : 640px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}

}

@media only screen
and (min-width : 641px)
and (max-width : 800px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}

}

@media only screen
and (min-width : 801px)
and (max-width : 1024px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}

}

@media only screen
and (min-width : 1025px)
and (max-width : 1280px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}

}

@media only screen
and (min-width : 1281px)
and (max-width : 1366px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 120%;
	min-height:100%;
	z-index: -3;
}

}

@media only screen
and (min-width : 1367px)
and (max-width : 1680px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}

}


@media only screen
and (min-width : 1681px)
and (max-width : 1920px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
}

@media only screen
and (min-width : 1921px)
and (max-width : 2560px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}

}

@media only screen
and (min-width : 2561px)
and (max-width : 3840px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
}

@media only screen
and (min-width : 3841px) {
/* Styles */
.backgroundStyle {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
.backgroundOthers2 {
	position: absolute;
	frameborder:0;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height:100%;
	z-index: -3;
}
}

/*
/* iPhone 4 ----------- * /
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles * /
}
*/

/**
 * Agenda
 */

.resum-agenda-index{margin:0.83em 0.1em 0.83em 0;text-align:left;border-bottom:1px dotted #000;padding-bottom:0em; min-height: 4.83em; clear: both;}
.resum-agenda-asignatura{margin:0 0.1em 0.83em 0;text-align:left;border-bottom:2px solid #000;padding-bottom:0em; min-height: 5.83em; clear: both;}
.resum-agenda-last{margin:0 0.1em 0.83em 0;text-align:left;border-bottom:4px solid #000;padding-bottom:0em; min-height: 0.3em; line-height: 0.3em; clear: both;}

.resum-agenda{
	margin:0.83em 0;
	text-align:left;
	border-bottom:1px dotted #000;
	padding-bottom:0.83em;
	min-height: 5.83em;
	position:relative;
	float:left;
	width: 98%;
	}
.resum-agenda-doble{margin:0.83em 0;text-align:left;padding-bottom:0.83em; min-height: 5.83em; }
/*
.resum-agenda-last{   
	float: left;
    margin: 0 0 0.83em 0;
    min-height: 5.83em;
    text-align: left;
    width: 98%;
	border-bottom:4px solid #000;
	clear: both;
}
*/
.data-doble {width:5.83em; float:left;display:inline;}

/* p span.resaltar{font-style:italic;font-weight:bold;color:#FF0000;}*/
p span.resaltar{text-decoration:underline;color:#0000CD;}
p span.resaltar2{font-size:0.80em;color:#0000CD;}
a span.resaltar3{font-size:0.90em;padding-left:8em;color:#7FFFD4;}
h3 span.especial{font-weight:bold;color:#0000CD;}
h3 span.especial2{font-style:italic;font-size:1.3em;font-weight:bold;color:#FF0000;}
h3 span.especial3{font-style:italic;font-size:1.3em;font-weight:bold;color:#4B0082;line-height:1.2em;}
h3 span.especial4{font-size:0.85em;color:#4B0082;font-weight:normal;}

p.data{height: 5.83em; margin:0 1em 0 0;float:left;display:inline;padding:0;}
p.data span.mes{font-size:0.85em;color:#FFFAFA;}
p.data span.dia{font-size:2.8em;line-height:1.0em;color:#FF1493;}
p.data span.anyo{font-size:1.85em;color:#B22222;}
p.data span.semestre{font-size:2.8em;line-height:1.0em;color:#8B008B;}
.resum-agenda-index p {margin-bottom:0.1em;line-height:1.3em;} 
.resum-agenda-index h3 {margin-bottom:0.2em;font-size:1.1em;line-height:1.1em;}
.resum-agenda-index a {color:#000000;}
.resum-agenda-index a:hover {color:#556B2F;}
.resum-agenda-asignatura p {margin-bottom:0.1em;line-height:1.3em;color:#FFD700;} 
.resum-agenda-asignatura h3 {margin-bottom:0.2em;font-size:1.0em;line-height:1.1em;color:#ECF6CE;text-shadow: 0 1px 0 #000000;}

.evento-izquierda p.data{width: 6em;}

.resum-agenda p, .resum-agenda-asignatura, .resum-agenda-doble, .resum-agenda-index, .resum-agenda-last p{font-size: 0.95em;color:#000000;}

#mycustomscroll { /* percentage width without the fix*/ margin: 0.83em 0 0 0; width: 100%; height: 20.50em; overflow: auto; /* IE overflow fix, position must be relative or absolute*/ position: relative; }
#bloc-texto #mycustomscroll { height: 39.80em; }

.scrollgeneric { line-height: 1px; font-size: 1px; position: absolute; top: 0; left: 0; }
.vscrollerbase { width: 5px; background-color: black; }
.vscrollerbar { width: 5px; background-color: #a9b8c0; }
.hscrollerbase { height: 5px; background-color: white; }
.hscrollerbar { height: 5px; background-color: black; }
.scrollerjogbox { width: 5px; height: 5px; top: auto; left: auto; bottom: 0px; right: 0px; background-color: gray; }

.destacados-agenda{text-align: left;overflow: hidden}
.destacados-agenda a {

    line-height: 1em;
    text-decoration: none;
}
.i1:hover a {color: #fff;}
.i2:hover a {color:#000;}
.i3:hover a {color:#000;}

.i1 a {color: #fff;}
.i2 a {color:#000;}
.i3 a {color:#000;}

.destacados-agenda h3 {padding:5px 5px 2px 5px; font-size: 1.4em; line-height: 1em; font-weight: bold;color: #FFFFFF !important;}
.destacados-agenda p {padding:0 5px 5px 5px; font-size: 0.9em; line-height: 1em;}
.destacados-agenda .i1 p{font-weight: bold;}

.i1 {float:left;display:inline;width:9.17em; min-height: 6.5em; margin:0.83em 5px -10px 0; background: #364b5c; color:#fff;padding-bottom:10px}
.i2 {float:left;display:inline;width:9.17em; min-height: 6.5em; margin:0.83em 5px -10px 0;  background: #ed2b08; color:#0b0000;padding-bottom:10px}
.i3 {float:left;display:inline;width:9.17em; min-height: 6.5em; margin:0.83em 0 -10px;  background: #e6971e; color:#0b0000;padding-bottom:10px}
