/* @override 
	http://www.hotelteti.com/style.css?v=6
*/

/*general*/
@font-face {
	font-family: 'Century Gothic';
	src: url('fonts/century.eot');
	src: url('fonts/century.woff') format('woff'), url('fonts/century.ttf') format('truetype'), url('fonts/century.svg#CG') format('svg');
}
html,body{
	padding: 0;
	margin: 0;
}
html{
	overflow-y: scroll;
}
body {
	font-family: 'Century Gothic';
  -webkit-transition-property: background, color;
	-webkit-transition-duration: .5s;
	-webkit-transition-timing-function: ease-in-out;
}
body.dark{
	background: #222;
	color: white;
}

/*body*/
header,
footer,
#content,
.ad{
	min-width: 970px;
}
#content,
header,
#tools ul{
	max-width: 900px;
	/*actually defined by the min-width, this way it wraps better*/
	margin: 0 auto;
}
header, footer{
	display: block;
	overflow: hidden;
	text-align: center;
	clear: both;
	position: relative;
}
header .logo{
	display: block;
	background: url(/sprite.gif) no-repeat left top;
	position:absolute;
	height:93px;
	width:60px;
	left: 50%;
	top:0;
	margin-left: -400px;
}

header h1{
	display: block;
	margin: 0 auto;
	background: url(/sprite.gif) no-repeat right bottom;
	width: 375px;
	height: 100px;
	text-indent: -1000em;
}

/*nav*/
nav{
	float: left;
	width: 170px;
	font-size: 1.3em;
	text-align: right;
}
nav ul{
	list-style-type: none;
	padding: 0;
	margin: 13px 25px 0 0;
}
nav li{
	padding: 0 0 15px;
}
nav a{
	color: inherit;
	outline: none;
}
nav a[href]:hover,
nav a:focus
{
	text-decoration: underline;
}
strong,
header p{
	color: #1e78ff;
}
nav a:not([href]){/*needs to be out for ie*/
	color: #1e78ff;
}
nav ul ul{
	width: 100%;
	margin: 0;
	font-size: .7em;
	overflow: hidden;
}
nav ul ul li{
	padding: 0;
}
nav ul ul a{
	display: none;
}
nav ul ul a:focus,
.pricing nav ul ul a{
	display: block;
}

/*article*/
.pricing article{
	width: 780px
}
article{
	display: block;
	float: left;
	width: 330px;
	margin: 11px 0;
	height: 100%;
	line-height: 1.4em;
	//-webkit-transition: all 1s ease-in-out;
}
article p{
	margin-top: 0;
}

/*photos*/
.photo #photos{
	width: 780px;
}
#photos {
	float: right;
	overflow: hidden;
	list-style-type: none;
	padding: 10px;
	margin: 0;
	width: 450px;
	color: rgba(0,0,0,0.73);
	//-webkit-transition: all 1s ease-in-out;
}
#photos li{
	float: left;
	margin: 10px;
	position: relative;
	-webkit-box-shadow: 0 0 7px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 7px rgba(0,0,0,0.5);
}
#photos a{
	display: block;
	outline: solid 1px white;
	font-size: 1px;
	color: white;
	//opacity: .5;
}
#photos a.selected{
	//opacity: 1;
}
/*#photos a:hover,
#photos a:focus{
	outline: solid 1px #1e78ff;
}*/
#content.photo #photos a{
	outline: none;
	cursor: default;
}
#photos img{
	border: none;
	display: block;/*to avoid stupid gaps*/
	min-width: 130px;
	min-height: 81px;
}
#photos h3{
	font-size: 16px;
	padding: 10px;
	margin: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.6);
	color: white;
	z-index: 3;
}
#photos li:hover h3{
	background: black;
}

/*footer*/
footer{
	border-top: solid #1e78ff;
	padding: 16px;
}
footer a,
article a{
	color: inherit;
	border-bottom: solid 1px #1e78ff;
}
footer a:hover,
footer a:focus,
article a:hover,
article a:focus
{
	color: #1e78ff;
	outline: none;
}

/* pricing */
table, table thead th {
	border-bottom: solid 1px #1e78ff;
}
table{
	margin-bottom: 1em;
	border-collapse : collapse; 
	padding : 0; 
}
table thead th{
	font-size: 1.1em;
}
table td{
	text-align: center;
}
table th{
	padding: 0 .5em;
}
dl{
	margin: 0;
}
dt{
	margin-top: .5em;
}
dd{
	margin-left: 1em;
}
/*extra*/
strong{
	font-weight: bold;
}
a{
	text-decoration: none;	
	outline: none;
}/*
a:focus{
	outline: solid 3px red !important;
}*/
h4,h3{
	margin-bottom: 0;
}
.vcard>div>div,
.vcard>div>span,
.vcard>div>a{
	margin-left: 1em;
}
.vcard>div{
	margin-bottom: 1em;
}
.vcard h3{
	margin-top: 4px;
}
section{
	margin-top: 16px;
	border-top: solid #1e78ff;
}
section a{
	font-size: .6em;
}
/*404 page*/
.error > *{
	min-width: 700px;
}
.error .logo{
	display: none;
}
.error article{
	float: none;
	width: 700px;
	margin: 0 auto;
	text-align: center;
}
.error nav{
	float: none;
	width: 100%;
	text-align: left;
	overflow: hidden;
}
.error ul{
	position: relative;
	float: left;
	left: 50%;
	margin: 0;
}
.error li{
	position: relative;
	float: left;
	right: 50%;
	padding: 20px 15px 25px;
}
.error nav a{
	color: inherit;
	border-bottom: solid 1px #1e78ff;
}
.error nav a:hover,
.error nav a:focus{
	color: #1e78ff;
	text-decoration: none;
}
/*tools menu*/
#tools {
	position:absolute;
	width: 100%;
	height: 0;
	top: 0;
	overflow: visible;
	color: black;
}
#tools ul {
	position: fixed;
	min-width: 934px;
	padding: 0 18px;
	list-style-type: none;
}
#tools li{
	float: right;
	margin-left: 5px;
	
	cursor: pointer;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
#tools a:hover,
#tools a:focus{
	margin-top: -7px;
}
#tools a{
	text-align: center;
	display: block;
	/*text-indent: -1000em;*/
	line-height:49px;
	padding: 3px;
	color: black;
	height: 32px;
	min-width: 140px;
	margin-top: -19px;
	/*background-image: url(/sprite.png);
	background-repeat: no-repeat;*/
	background-color:#FFF;
	border-color: #444;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border-style: solid;
	border-width: 1px;
  -webkit-transition: margin .3s ease-in-out;
}
#tools .switch{
	background-position: left bottom;
}
#tools .javascript{
	background-position: right bottom;
}
iframe{
	border: none;
	overflow:hidden;
	width:300px;
	height:70px;
}
/*ads*/
.ad{
	background: #1e78ff;
	background: -webkit-gradient(linear, right bottom, right top, color-stop(0, #1e78ff), color-stop(1, #accdff));
	background: -moz-linear-gradient(right bottom, #accdff, #edf4ff);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#accdff', endColorstr='#1e78ff');
	overflow: hidden;
	color: white;
}
.ad h1{
	text-align: center;
	margin: 1em 0;
}
.ad .video{
	height: 385px;
	padding: 8px;
	-webkit-border-radius:8px;
	margin: 0 auto;
	background: white;
	width: 640px;
}
.video *{
	margin: 0;
	padding: 0;
}
.ad .cover{
	position: absolute;
	width: 640px;
	height: 360px;
	margin: 0 auto;
}