/*
	Name: Smashing HTML5
	Date: July 2009
	Description: Sample layout for HTML5 and CSS3 goodness.
	Version: 1.0
	Author: Enrique Ramírez
	Autor URI: http://enrique-ramirez.com
*/

/* Imports */
@import url("reset.css");
@import url("global-forms.css");

/***** Global *****/
/* Body */
	body {
		background: #fbfbfb url(../images/bg.png) repeat-x;
		color: #666;
		font-size: 87.5%; /* Base font size: 14px */
		font-family: "Georgia", "Times New Roman", Times, serif;
		line-height: 1.5;
		margin: 0;
		padding: 0;
		text-align: left;
	}

/* Headings */
h1 {font-size: 1.571em}	/* 22px */
h2 {font-size: 1.571em}	/* 22px */
h3 {font-size: 1.429em}	/* 20px */
h4 {font-size: 1.286em}	/* 18px */
h5 {font-size: 1.143em}	/* 16px */
h6 {font-size: 1em}	/* 14px */

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .2em;
}

/* Anchors */
a {outline: 0; white-space: nowrap;}
a img {border: 0px; text-decoration: none;}
a:link, a:visited {
	color: #00a3d8;
	padding: 0 1px;
	text-decoration: none;
}
a:hover, a:active {
	color: #00a3d8;
	text-decoration: underline;
}

/* Paragraphs */
p {margin-bottom: 1em;}
* p:last-child {margin-bottom: 0;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

small { font-size: 90%; }


::-moz-selection {background: #F6CF74; color: #fff;}
::selection {background: #F6CF74; color: #fff;}

/* Lists */
ul {
	/*list-style: outside disc;*/
	list-style: inside none;
	margin: 1em 0 1.5em 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
}

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

/* Quotes */
blockquote {font-style: italic; font-size: 120%; margin-bottom: .5em;}
blockquote:before {content: "„"; color: #aaa; font-size: 500%; float: left; line-height: 0.2em; margin-left: -30px; margin-top: -20px; }
blockquote:after { content: "”"; color: #aaa; font-size: 500%; float: right; line-height: 0.2em; margin-top: 0.4em; position: relative; clear: both; }

h2 blockquote {font-style: italic; font-size: 100%; margin-bottom: 0; padding-top: 5px;  }
h2>blockquote:before { color: #e8e8e8; margin-top: -60px;  margin-left: 0px; margin-right: -60px;  }
h2>blockquote:after {content: " "; clear: both; }

cite {}



q {}

/* Tables */
table {margin: .5em auto 1.5em auto; width: 98%;}

	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}

	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}

	tbody .alt td {}
	tbody .alt th {}

	/* Tfoot */
	tfoot th {}
	tfoot td {}
	
#mbody
{
	width: 990px;
	margin: 0 auto;
}


#menu
{
	list-style-type: none;
     list-style-position:outside;
     position: relative;
     overflow: hidden;
     padding: 0;
     width: 780px;
     margin: 0 auto;
}

#menu ol
{
     margin: 0 auto;
     padding: 0;
}

#menu li
{
	display: block;
	height: 44px;
	overflow: hidden;
    padding: 0;
    cursor: pointer;
    float: left;
    margin: 0;
}

#menuB1 a, #menuB2 a, #menuB3 a, #menuB4 a, #menuB5 a, #menuB6 a
{
	display: block;
	background: url(../images/menu.png) repeat-x;
	height: 44px;
	text-indent:-9999px;
	outline:none;
}

#menuB1 a { background-position: 0 0; width: 95px; }
#menuB1 a.active, #menuB1 a:hover { background-position: 0 -80px; }

#menuB2 a { background-position: -96px 0; width: 185px; }
#menuB2 a.active, #menuB2 a:hover { background-position: -96px -80px; }

#menuB3 a { background-position: -281px 0; width: 170px; }
#menuB3 a.active, #menuB3 a:hover { background-position: -281px -80px; }

#menuB4 a { background-position: -451px 0; width: 145px; }
#menuB4 a.active, #menuB4 a:hover { background-position: -451px -80px; }

#menuB5 a { background-position: -596px 0; width: 75px; }
#menuB5 a.active, #menuB5 a:hover { background-position: -596px -80px; }

#menuB6 a { background-position: -671px 0; width: 85px; }
#menuB6 a.active, #menuB6 a:hover { background-position: -671px -80px; }


#header
{
	height: 130px;
	background: url(../images/logo.png) no-repeat center center;
	margin: 20px 0 30px;
}


.columns2
{
	overflow: hidden;
	height: auto;
	
}
* .columns-2:last-child
{
	margin-bottom: 0;
	margin-right:0;
}

.columns-2
{
	width: 480px;
	float:left;
	margin-right:30px;
	*margin-right: 15px;
	overflow: hidden;
}



.quotes h2, .quotes h1
{
	color: #f17db1;
	font-size: 340%;
	line-height: 0.9;
	margin-bottom: 0.2em;
	letter-spacing:-0.04em;
}

.quotes p
{
	font-size: 180%;
	line-height: 1.2;
}

.no-padding
{
	padding: 0 !important;
}

.alt h2
{
	color: #00a3d8;
	font-size: 240%;
	line-height: 1.1;
}

.alt p
{
	text-align: right;
}

.text h2
{
	font-size: 120%;
	color: #00a3d8;
}

.text p
{
	text-align: justify;
}

.bigger h2
{
	font-size: 220%;
	color: #f17db1;
}

.bigger li, .bigger p
{
	font-size: 120%;
	text-align: justify;
	
}

p.bigger  
{
	font-size: 120%;
}


.space
{
	height: 30px;
	clear: both;
	
}

.line
{
	margin: 0 0 30px;
	padding-top: 30px;
	*padding-top: 10px;
	border-bottom: solid 1px #00a3d8;
	clear: both;
}

.line h2
{
	margin-bottom: 0;
}

.clear
{
	clear: both;
}

.booksBack
{
	background: url(../images/books.png) no-repeat right center;
	height: 190px;
	overflow:visible !important;
	padding-top: 10px;
}

.stairsBack
{
	background: url(../images/stairs.png) no-repeat right center;
	height: 190px;
	overflow:visible !important;
	padding-top: 10px;
}

.justify
{
	text-align: justify;
}

.tel
{
	font-size: 150%;
}

.fn
{
	font-size: 230%;
	margin: 0;
}

.icon
{
	vertical-align: middle;
	margin: -5px 0 5px;
}

#footer
{
	font-family: Trebuchet, Tahoma, Arial, sans-serif;
	padding-bottom: 30px;
}

#footer h3
{
	font-weight: bold;
	margin-bottom: 0.2em;
}

#footer .box
{
	width: 50%;
	float: left;
}

#simplemodal-container
{
	font-family: Trebuchet, Tahoma, Arial, sans-serif;
}

a.modalClose
{
	background-color: #FFF;
	padding: 10px 20px;
}

.frame
{
	background-color: #FFF;
	padding: 20px;
}

.bigger li
{
	min-height: 70px;
	margin-bottom: 15px;
	text-indent: 0;
}

.bigNumber
{
	font-style: italic; 
	font-weight: bold;
	font-size: 450%;
	vertical-align: top;
	line-height: 0.5;
	color: #AAA;
	display: inline-block;
	float: left;
	margin-right: 10px;
	min-width: 40px;
	*margin-top: -25px;
	*line-height: 1.1;
}
a.nextBtn
{
	background-color: #00a3d8;
	display: inline-block;
	vertical-align: middle;
	float:right;
	padding: 3px 5px;
	color: #FFFFFF;
	font-size: 80%;
	margin-top: 10px;
	*margin-top: -20px;
	font-style:italic;
	
	_background: none;
	_color: #00a3d8;
}

a.nextBtn:hover
{
	background: none;
	color: #00a3d8;
	font-weight: bold;
	_font-weight: normal;
}



.center70
{
	margin: 0 auto;
	width:70%;
}

.caps
{
	font-size: 370%;
	float:left;
	line-height: 0.7em;
	color: #f17db1;
	margin-right: 5px;
	height: 0.8em;	
}

p.smallTitle
{
	text-align: right;
	font-size: 115%;
	margin: 0;
	line-height: 1;
}

.vcard p
{
	text-align: right;	
}

.vcard .box
{
	width: 210px;
	display:inline-block;
	line-height: 64px;
}



ul.linki
{
	margin: 0;
}
.linki li
{
	min-height: 0;
	padding: 10px;
	margin: 0 0 5px;
	text-align: justify;
}

.linki li:hover
{
	background-color: #EEE;
}

.center
{
	text-align: center;
}

.frame
{
	padding: 10px;
	border: solid 1px #DDD;
}

p.ref { color: #AAA; font-size: 90%; font-style: italic; text-align: right; }
p.ref>em { color: #00a3d8; }

.quotes p.ref { font-size: 180%; }
